/* RE Solicitud — estilos del formulario.
   Aislado bajo .re-form para que se vea igual con cualquier tema. */

@font-face {
	font-family: 'Exo 2';
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url('../fonts/exo-2-latin-400-normal.woff2') format('woff2');
}
@font-face {
	font-family: 'Exo 2';
	font-style: normal;
	font-weight: 500;
	font-display: swap;
	src: url('../fonts/exo-2-latin-500-normal.woff2') format('woff2');
}
@font-face {
	font-family: 'Exo 2';
	font-style: normal;
	font-weight: 600;
	font-display: swap;
	src: url('../fonts/exo-2-latin-600-normal.woff2') format('woff2');
}
@font-face {
	font-family: 'Exo 2';
	font-style: normal;
	font-weight: 700;
	font-display: swap;
	src: url('../fonts/exo-2-latin-700-normal.woff2') format('woff2');
}
@font-face {
	font-family: 'Exo 2';
	font-style: normal;
	font-weight: 800;
	font-display: swap;
	src: url('../fonts/exo-2-latin-800-normal.woff2') format('woff2');
}

/* --- Reset local --- */
.re-form,
.re-form * {
	margin: 0;
	padding: 0;
	border: 0;
	box-sizing: border-box;
	font-family: 'Exo 2', system-ui, -apple-system, sans-serif;
	font-size: 17px;
	font-weight: 400;
	line-height: 1.5;
	color: #111111;
	background: transparent;
	border-radius: 0;
	list-style: none;
	text-transform: none;
	letter-spacing: normal;
	box-shadow: none;
	text-shadow: none;
}

.re-form [hidden] { display: none !important; }

.re-form {
	max-width: 640px;
	margin: 0 auto;
	padding: 24px 20px 48px;
	background: #ffffff;
}

.re-form a {
	color: #111111;
	text-decoration: underline;
	text-decoration-color: #E0352B;
	text-underline-offset: 2px;
}

.re-form strong { font-weight: 700; }

/* --- Cabecera --- */
.re-cabecera { margin-bottom: 28px; }
.re-logo {
	display: block;
	width: 200px;
	max-width: 60%;
	height: auto;
	margin-bottom: 24px;
}
.re-titulo {
	font-size: 30px;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	line-height: 1.15;
}
.re-subtitulo {
	margin-top: 6px;
	color: #8A8F98;
}

/* --- Barra de progreso --- */
.re-progreso {
	display: flex;
	gap: 6px;
	margin-bottom: 32px;
}
.re-progreso-paso {
	flex: 1;
	border-top: 4px solid #E6E7E9;
	padding-top: 8px;
}
.re-progreso-paso.re-activo { border-top-color: #E0352B; }
.re-progreso-paso.re-hecho { border-top-color: #111111; }
.re-progreso-num {
	display: inline-block;
	font-weight: 800;
	font-size: 13px;
	color: #8A8F98;
	margin-right: 4px;
}
.re-progreso-etiqueta {
	font-size: 13px;
	font-weight: 600;
	color: #8A8F98;
}
.re-progreso-paso.re-activo .re-progreso-num,
.re-progreso-paso.re-activo .re-progreso-etiqueta { color: #111111; }

/* --- Pasos y campos --- */
.re-paso { display: none; }
.re-paso.re-paso-visible { display: block; }

.re-paso-titulo {
	display: block;
	font-size: 22px;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	margin-bottom: 24px;
	padding: 0;
}
.re-paso-titulo::before {
	content: '»';
	color: #E0352B;
	margin-right: 8px;
}

.re-campo { margin-bottom: 24px; }
.re-campo-corto { max-width: 140px; }

.re-etiqueta {
	display: block;
	font-weight: 600;
	margin-bottom: 8px;
}
.re-opcional {
	font-weight: 400;
	color: #8A8F98;
	font-size: 14px;
}
.re-microcopy {
	font-size: 14px;
	color: #8A8F98;
	margin-top: 6px;
}

.re-input {
	display: block;
	width: 100%;
	min-height: 48px;
	padding: 10px 14px;
	border: 1px solid #111111;
	background: #ffffff;
	border-radius: 2px;
	appearance: none;
	-webkit-appearance: none;
}
.re-input:focus {
	outline: 2px solid #E0352B;
	outline-offset: -1px;
	border-color: #E0352B;
}
.re-textarea { min-height: 96px; resize: vertical; }

/* Campo con error */
.re-campo.re-con-error .re-input,
.re-campo.re-con-error .re-opcion { border-color: #E0352B; }
.re-mensaje-error {
	display: block;
	color: #E0352B;
	font-size: 14px;
	font-weight: 600;
	margin-top: 6px;
}

/* --- Opciones tipo tarjeta (radios y checkboxes) --- */
.re-opciones {
	display: flex;
	flex-direction: column;
	gap: 8px;
}
.re-opcion {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	min-height: 48px;
	padding: 12px 14px;
	border: 1px solid #111111;
	border-radius: 2px;
	cursor: pointer;
	background: #ffffff;
}
.re-opcion:hover { background: #F7F7F8; }
.re-opcion input {
	position: absolute;
	opacity: 0;
	width: 1px;
	height: 1px;
}
.re-opcion-caja {
	flex: 0 0 auto;
	width: 20px;
	height: 20px;
	margin-top: 2px;
	border: 1px solid #111111;
	border-radius: 2px;
	background: #ffffff;
	position: relative;
}
.re-opcion input:checked + .re-opcion-caja { border-color: #E0352B; }
.re-opcion input:checked + .re-opcion-caja::after {
	content: '';
	position: absolute;
	inset: 3px;
	background: #E0352B;
}
.re-opcion input:focus-visible ~ .re-opcion-texto { text-decoration: underline; }
.re-opcion:has(input:checked) {
	border-color: #E0352B;
	background: #F7F7F8;
}
.re-opcion-texto { flex: 1; }
.re-opcion-suelta { align-items: flex-start; }

/* --- Tarjetas de plan --- */
.re-planes { margin-bottom: 28px; }
.re-plan {
	background: #F7F7F8;
	border: 1px solid #111111;
	border-radius: 2px;
	padding: 20px;
	margin-bottom: 12px;
}
.re-plan-nombre {
	font-size: 18px;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	line-height: 1.25;
}
.re-plan-nombre::before {
	content: '»';
	color: #E0352B;
	margin-right: 6px;
}
.re-plan-desc {
	margin-top: 8px;
	font-size: 15px;
}
.re-plan-precio {
	margin-top: 12px;
	font-size: 19px;
	font-weight: 700;
}
.re-plan-precio-sep { color: #E0352B; font-weight: 800; }
.re-plan-plazas {
	margin-top: 4px;
	font-size: 14px;
	font-weight: 600;
	color: #8A8F98;
}
.re-plan-oscuro { background: #111111; border-color: #111111; }
.re-plan-oscuro .re-plan-nombre,
.re-plan-oscuro .re-plan-desc,
.re-plan-oscuro .re-plan-precio { color: #ffffff; }
.re-plan-oscuro .re-plan-plazas { color: #E0352B; }
.re-plan-pdf { margin-top: 4px; }
.re-plan-pdf a { font-weight: 600; }

/* --- Botones --- */
.re-botonera {
	display: flex;
	gap: 12px;
	margin-top: 32px;
}
.re-boton {
	min-height: 52px;
	padding: 14px 28px;
	font-size: 16px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	border-radius: 2px;
	cursor: pointer;
	appearance: none;
	-webkit-appearance: none;
}
.re-boton-principal {
	flex: 1;
	background: #E0352B;
	color: #ffffff;
}
.re-boton-principal:hover { background: #c52d24; }
.re-boton-principal:disabled {
	background: #8A8F98;
	cursor: wait;
}
.re-boton-secundario {
	background: #ffffff;
	color: #111111;
	border: 1px solid #111111;
}
.re-boton-secundario:hover { background: #F7F7F8; }
.re-boton:focus-visible { outline: 2px solid #111111; outline-offset: 2px; }

.re-error-global {
	margin-top: 16px;
	padding: 12px 14px;
	border: 1px solid #E0352B;
	color: #E0352B;
	font-weight: 600;
	font-size: 15px;
}
.re-error-global a { color: #E0352B; }

/* --- Honeypot: invisible para humanos --- */
.re-hp {
	position: absolute !important;
	left: -9999px !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

/* --- Turnstile --- */
.re-form .cf-turnstile { margin-bottom: 8px; }

/* --- Página de gracias --- */
.re-gracias {
	padding: 32px 0;
	text-align: left;
}
.re-gracias-logo {
	width: 56px;
	height: auto;
	margin-bottom: 24px;
	display: block;
}
.re-gracias-titulo {
	font-size: 26px;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	line-height: 1.2;
	margin-bottom: 16px;
}
.re-gracias p { margin-bottom: 12px; }
.re-gracias-cierre {
	margin-top: 28px;
	font-weight: 700;
	color: #E0352B;
}

/* --- Escritorio --- */
@media (min-width: 640px) {
	.re-form,
	.re-form * { font-size: 16px; }
	.re-form { padding: 40px 24px 64px; }
	.re-titulo { font-size: 34px; }
	.re-paso-titulo { font-size: 24px; }
	.re-plan-nombre { font-size: 19px; }
	.re-plan-precio { font-size: 20px; }
	.re-microcopy, .re-progreso-etiqueta, .re-progreso-num, .re-mensaje-error, .re-plan-plazas { font-size: 14px; }
	.re-opcional { font-size: 14px; }
	.re-plan-desc { font-size: 15px; }
	.re-gracias-titulo { font-size: 28px; }
}
