/* Franja de la portada, con los colores del sitio */
.rt-pres-franja{
	background: linear-gradient(135deg, #031b4e 0%, #0b3a7a 55%, #1D9BD8 100%);
	padding: 26px 20px;
}
.rt-pres-franja-int{
	max-width: 1140px;
	margin: 0 auto;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 22px;
	flex-wrap: wrap;
}
.rt-pres-titulo{
	margin: 0;
	color: #fff;
	font-family: Poppins, system-ui, sans-serif;
	font-size: 21px;
	font-weight: 600;
	line-height: 1.25;
}
.rt-pres-sub{
	margin: 4px 0 0;
	color: #b9dcf3;
	font-size: 14px;
}
.rt-pres-abrir{
	padding: 14px 30px;
	border: 0;
	border-radius: 30px;
	background: #fff;
	color: #0b3a7a;
	font-family: Poppins, system-ui, sans-serif;
	font-size: 15px;
	font-weight: 600;
	cursor: pointer;
	transition: transform .18s ease, box-shadow .18s ease;
}
.rt-pres-abrir:hover{
	transform: translateY(-2px);
	box-shadow: 0 10px 24px rgba(0,0,0,.25);
}

/* Ventana */
body.rt-pres-abierto{ overflow: hidden }
.rt-pres-modal{
	position: fixed;
	inset: 0;
	z-index: 100001;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 24px 16px;
}
.rt-pres-modal[hidden]{ display: none }
.rt-pres-fondo{
	position: absolute;
	inset: 0;
	background: rgba(3,27,78,.62);
	backdrop-filter: blur(3px);
}
.rt-pres-caja{
	position: relative;
	display: flex;
	flex-direction: column;
	width: min(680px, 100%);
	max-height: min(740px, 92vh);
	background: #fff;
	border-radius: 16px;
	overflow: hidden;
	box-shadow: 0 26px 70px rgba(3,27,78,.4);
	animation: rtPresEntra .24s ease;
}
@keyframes rtPresEntra{ from{opacity:0;transform:translateY(14px) scale(.98)} to{opacity:1;transform:none} }
@media (prefers-reduced-motion: reduce){
	.rt-pres-caja{ animation: none }
	.rt-pres-abrir:hover{ transform: none }
}

.rt-pres-cab{
	position: relative;
	padding: 22px 56px 20px 26px;
	background: #031b4e;
	color: #fff;
	flex: 0 0 auto;
}
.rt-pres-paso-n{
	display: block;
	min-height: 14px;
	color: #7fd0f5;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: .09em;
	text-transform: uppercase;
}
.rt-pres-paso-titulo{
	margin: 4px 0 0;
	color: #fff;
	font-family: Poppins, system-ui, sans-serif;
	font-size: 19px;
	font-weight: 600;
	line-height: 1.25;
}
.rt-pres-cerrar{
	position: absolute; top: 14px; right: 14px;
	width: 34px; height: 34px;
	border: 0; border-radius: 50%;
	background: rgba(255,255,255,.12);
	color: #fff; font-size: 22px; line-height: 1; cursor: pointer;
}
.rt-pres-cerrar:hover{ background: rgba(255,255,255,.22) }
.rt-pres-progreso{
	position: absolute; left: 0; right: 0; bottom: 0;
	height: 4px; background: rgba(255,255,255,.16);
}
.rt-pres-progreso i{
	display: block; height: 100%; width: 10%;
	background: linear-gradient(90deg, #1D9BD8, #7fd0f5);
	transition: width .3s ease;
}

.rt-pres-cuerpo{
	flex: 1 1 auto;
	overflow-y: auto;
	padding: 24px 26px 10px;
	-webkit-overflow-scrolling: touch;
}
.rt-pres-intro{ margin: 0 0 18px; color: #5a6b85; font-size: 14px; line-height: 1.5 }
.rt-pres-campo{ display: block; margin-bottom: 16px }
.rt-pres-campo span{
	display: block; margin-bottom: 6px;
	color: #14325f; font-size: 13px; font-weight: 600;
}
.rt-pres-campo input{
	width: 100%;
	padding: 12px 14px;
	border: 1px solid #d7e2ef;
	border-radius: 9px;
	font-family: inherit; font-size: 15px;
	box-sizing: border-box;
}
.rt-pres-campo input:focus{ border-color: #1D9BD8; outline: 2px solid #d5ecfa }
.rt-pres-error{ margin: 6px 0 0; color: #a02222; font-size: 13px; min-height: 18px }

.rt-pres-hola{
	margin: 0 0 18px; padding: 11px 14px;
	background: #f2f8fd; border-left: 3px solid #1D9BD8; border-radius: 0 8px 8px 0;
	color: #14325f; font-size: 14px;
}
.rt-pres-q{ padding: 0 0 18px; margin: 0 0 18px; border-bottom: 1px solid #eef1f5 }
.rt-pres-q:last-child{ border-bottom: 0 }
.rt-pres-q-lab{
	display: block; margin-bottom: 10px;
	color: #14325f; font-size: 15px; font-weight: 500; line-height: 1.45;
}
.rt-pres-ops{ display: flex; flex-wrap: wrap; gap: 8px }
.rt-pres-op{
	display: inline-flex; align-items: center; gap: 7px;
	padding: 9px 15px;
	border: 1px solid #d7e2ef; border-radius: 24px;
	color: #43556f; font-size: 14px; cursor: pointer;
	transition: border-color .15s ease, background .15s ease;
}
.rt-pres-op:hover{ border-color: #1D9BD8; background: #f4fbff }
.rt-pres-op:has(input:checked){
	border-color: #1D9BD8; background: #e8f5fd; color: #0b3a7a; font-weight: 600;
}
.rt-pres-txt{
	width: 100%; padding: 11px 13px;
	border: 1px solid #d7e2ef; border-radius: 9px;
	font-family: inherit; font-size: 14px; resize: vertical; box-sizing: border-box;
}
.rt-pres-txt:focus{ border-color: #1D9BD8; outline: 2px solid #d5ecfa }
.rt-pres-q.rt-pres-falta .rt-pres-q-lab{ color: #a02222 }
.rt-pres-q.rt-pres-falta .rt-pres-op{ border-color: #e3a0a0 }

/* Final */
.rt-pres-ok{ text-align: center; padding: 22px 10px 30px }
.rt-pres-tick{
	width: 62px; height: 62px; margin: 0 auto 16px;
	border-radius: 50%;
	background: #e8f7ed; color: #1a6b2c;
	font-size: 32px; line-height: 62px;
}
.rt-pres-ok h4{
	margin: 0 0 6px; color: #031b4e;
	font-family: Poppins, system-ui, sans-serif; font-size: 22px; font-weight: 600;
}
.rt-pres-final-txt{ margin: 0 0 22px; color: #5a6b85; font-size: 14px }
.rt-pres-descargar{
	display: inline-block;
	padding: 14px 32px; border-radius: 30px;
	background: linear-gradient(135deg, #2C54A1, #1D9BD8);
	color: #fff !important; font-family: Poppins, system-ui, sans-serif;
	font-size: 15px; font-weight: 600; text-decoration: none;
}
.rt-pres-descargar:hover{ box-shadow: 0 10px 22px rgba(29,155,216,.32) }

.rt-pres-pie{
	display: flex; align-items: center; gap: 14px;
	padding: 16px 26px;
	border-top: 1px solid #eef1f5; background: #fbfdff;
	flex: 0 0 auto;
}
.rt-pres-atras, .rt-pres-siguiente{
	padding: 11px 26px; border-radius: 26px;
	font-family: Poppins, system-ui, sans-serif; font-size: 14px; font-weight: 600; cursor: pointer;
}
.rt-pres-atras{ border: 1px solid #cfdcea; background: #fff; color: #43556f }
.rt-pres-atras[hidden], .rt-pres-siguiente[hidden]{ display: none }
.rt-pres-siguiente{
	margin-left: auto; border: 0;
	background: linear-gradient(135deg, #2C54A1, #1D9BD8); color: #fff;
}
.rt-pres-siguiente:disabled{ background: #c7d3e2; cursor: wait }
.rt-pres-aviso{ color: #a02222; font-size: 13px; flex: 1 1 auto }

@media (max-width: 600px){
	.rt-pres-franja-int{ flex-direction: column; align-items: flex-start }
	.rt-pres-abrir{ width: 100% }
	.rt-pres-modal{ padding: 0 }
	.rt-pres-caja{ width: 100%; height: 100%; max-height: 100%; border-radius: 0 }
	.rt-pres-cab{ padding: 18px 50px 18px 18px }
	.rt-pres-cuerpo{ padding: 18px 18px 6px }
	.rt-pres-pie{ padding: 12px 18px }
}