/* =========================================================
   VAULT — landing teaser (pre-lanzamiento)
   Tokens replicados de projects/vault/theme (design.md)
   ========================================================= */
:root {
	--color-dark: #2E383A;
	--color-light-gray: #D9D9D9;
	--color-white: #FFFFFF;
	--color-placeholder: #AEAEAE;
	--accent-start: #8B6348;
	--accent-end: #EDBC84;
	--accent-gradient: linear-gradient(135deg, var(--accent-start), var(--accent-end));

	--font-heading: 'Julius Sans One', sans-serif;
	--font-body: 'Oxygen', sans-serif;

	--radius-btn: 10px;
	--radius-card: 40px;

	--container-wide: 1330px;
	--gutter: 24px;
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}
	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		transition-duration: 0.01ms !important;
	}
}

body {
	margin: 0;
	font-family: var(--font-body);
	font-weight: 300;
	color: var(--color-white);
	background: var(--color-dark);
	line-height: 1.5;
	-webkit-font-smoothing: antialiased;
}

a {
	color: inherit;
}

/* =========================================================
   Hero / pantalla única
   ========================================================= */
.teaser {
	position: relative;
	min-height: 100svh;
	display: flex;
	flex-direction: column;
	overflow: hidden;
}

.teaser__bg {
	position: absolute;
	inset: 0;
	z-index: 0;
}

.teaser__bg img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: 62% 32%;
}

.teaser__bg::before {
	content: '';
	position: absolute;
	inset: 0;
	background:
		linear-gradient(90deg, rgba(46, 56, 58, 0.78) 0%, rgba(46, 56, 58, 0.68) 32%, rgba(46, 56, 58, 0.3) 62%, rgba(46, 56, 58, 0.5) 100%),
		linear-gradient(180deg, rgba(46, 56, 58, 0.25) 0%, rgba(46, 56, 58, 0) 30%, rgba(46, 56, 58, 0.55) 100%);
}

.teaser__inner {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	flex: 1;
	max-width: var(--container-wide);
	width: 100%;
	margin-inline: auto;
	padding-inline: var(--gutter);
}

/* =========================================================
   Header
   ========================================================= */
.teaser__header {
	padding-block: 32px 24px;
}

.teaser__logo {
	display: block;
	width: 240px;
	height: auto;
}

/* =========================================================
   Contenido principal (2 columnas)
   ========================================================= */
.teaser__content {
	flex: 1;
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(320px, 520px);
	gap: 48px;
	align-items: center;
	padding-block: 32px 64px;
}

.teaser__copy {
	max-width: 620px;
}

.teaser__eyebrow {
	font-family: var(--font-body);
	font-weight: 700;
	font-size: 1.05rem;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	margin: 0 0 20px;
}

.teaser__title {
	font-family: var(--font-heading);
	font-weight: 400;
	font-size: clamp(2.1rem, 4vw, 3.375rem);
	line-height: 1.12;
	text-transform: uppercase;
	margin: 0 0 24px;
}

.teaser__subtitle {
	font-family: var(--font-body);
	font-weight: 300;
	font-size: 1.5rem;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	margin: 0 0 40px;
}

/* Cuenta atrás */
.countdown {
	display: flex;
	gap: 24px;
	margin: 0 0 40px;
	padding: 0;
	list-style: none;
}

.countdown__item {
	text-align: center;
	min-width: 64px;
}

.countdown__value {
	display: block;
	font-family: var(--font-heading);
	font-weight: 400;
	font-size: 2.7rem;
	line-height: 1;
	font-variant-numeric: tabular-nums;
}

.countdown__label {
	display: block;
	font-family: var(--font-body);
	font-weight: 300;
	font-size: 0.95rem;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	margin-top: 8px;
	color: var(--color-light-gray);
}

.countdown__sep {
	font-family: var(--font-heading);
	font-size: 2.7rem;
	line-height: 1;
	align-self: flex-start;
	opacity: 0.5;
}

.teaser__date {
	font-family: var(--font-body);
	font-weight: 300;
	font-size: 1.5rem;
	letter-spacing: 0.5em;
	margin: 0;
}

/* =========================================================
   Tarjeta de formulario (cristal)
   ========================================================= */
.teaser__form-wrap {
	display: flex;
	justify-content: center;
}

.teaser-card {
	width: 100%;
	max-width: 520px;
	padding: 34px 26px;
	border-radius: var(--radius-card);
	background: rgba(46, 56, 58, 0.55);
	-webkit-backdrop-filter: blur(20px) saturate(140%);
	backdrop-filter: blur(20px) saturate(140%);
	border: 1px solid rgba(255, 255, 255, 0.12);
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}

.teaser-card__title {
	font-family: var(--font-heading);
	font-weight: 400;
	font-size: 1.5rem;
	text-transform: uppercase;
	text-align: center;
	margin: 0 0 12px;
}

.teaser-card__intro {
	font-family: var(--font-body);
	font-weight: 300;
	font-size: 0.95rem;
	text-align: center;
	line-height: 1.5;
	margin: 0 0 28px;
	color: var(--color-light-gray);
}

/* Nombre + Apellidos
   Por defecto (móvil y tablet) van uno debajo del otro, igual que el resto
   de campos. Sólo a partir de 961px —escritorio— se colocan en la misma
   línea. El corte coincide con el breakpoint de 960px que ya usa la landing. */
.teaser-row {
	display: grid;
	grid-template-columns: 1fr;
}

.teaser-row .teaser-field {
	min-width: 0;
}

@media (min-width: 961px) {
	.teaser-row {
		grid-template-columns: 1fr 1fr;
		column-gap: 16px;
	}
}

.teaser-field {
	margin-bottom: 20px;
}

.teaser-field label {
	display: block;
	font-family: var(--font-body);
	font-weight: 300;
	font-size: 0.8125rem;
	letter-spacing: 0.3em;
	text-transform: uppercase;
	margin-bottom: 10px;
}

.teaser-field input[type="text"],
.teaser-field input[type="email"],
.teaser-field input[type="tel"] {
	width: 100%;
	padding: 0 0 10px;
	background: transparent;
	border: none;
	border-bottom: 0.5px solid var(--color-white);
	color: var(--color-white);
	font-family: var(--font-body);
	font-weight: 300;
	font-size: 1rem;
}

.teaser-field input::placeholder {
	color: var(--color-placeholder);
}

.teaser-field input:focus {
	outline: none;
	border-bottom-color: var(--accent-end);
}

/* =========================================================
   Cómo quiere ser contactado (WhatsApp / Email)
   Pastillas de selección única: solo se puede elegir una, y es obligatoria.
   Sin :has() para que funcione también en navegadores antiguos.
   ========================================================= */
.teaser-canal {
	border: 0;
	padding: 0;
	margin: 0 0 20px;
	min-width: 0;
}

.teaser-canal legend {
	display: block;
	padding: 0;
	font-family: var(--font-body);
	font-weight: 300;
	font-size: 0.8125rem;
	letter-spacing: 0.3em;
	text-transform: uppercase;
	margin-bottom: 12px;
}

.teaser-canal__ops {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 10px;
}

.canal-op {
	display: block;
	min-width: 0;
	cursor: pointer;
}

/* El checkbox real se oculta pero sigue siendo accesible por teclado */
.canal-op input[type="radio"] {
	position: absolute;
	width: 1px;
	height: 1px;
	opacity: 0;
	pointer-events: none;
}

.canal-op__box {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 12px 10px;
	border: 0.5px solid var(--color-light-gray);
	border-radius: var(--radius-btn);
	color: var(--color-light-gray);
	font-family: var(--font-body);
	font-weight: 300;
	font-size: 0.9375rem;
	line-height: 1;
	transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.canal-op__box svg {
	width: 16px;
	height: 16px;
	flex: 0 0 16px;
}

.canal-op:hover .canal-op__box {
	border-color: var(--accent-end);
	color: var(--color-white);
}

.canal-op input[type="radio"]:checked + .canal-op__box {
	background: var(--accent-gradient);
	border-color: transparent;
	color: var(--color-dark);
	font-weight: 400;
}

.canal-op input[type="radio"]:focus-visible + .canal-op__box {
	outline: 2px solid var(--accent-end);
	outline-offset: 2px;
}

@media (max-width: 380px) {
	.teaser-canal__ops {
		grid-template-columns: 1fr;
	}
}
.teaser-checks {
	margin-bottom: 24px;
}

.teaser-check {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	font-size: 0.8125rem;
	font-weight: 300;
	line-height: 1.4;
	margin-bottom: 10px;
}

/* Línea "Acepto las políticas de privacidad": al lado de la casilla */
.teaser-check--privacy > span {
	flex: 1 1 0;
	min-width: 0;
}

/* Texto legal de protección de datos: va al lado de la casilla, en letra
   pequeña y con su propio scroll si el navegador lo necesita. */
.teaser-check--privacy p {
	/* Ocupa toda la anchura para caer debajo de la casilla de aceptación */
	flex: 1 1 100%;
	min-width: 0;
	margin: 12px 0 0;
	font-size: 0.6875rem;
	line-height: 1.55;
	color: var(--color-placeholder);
}

.teaser-check--privacy p strong {
	font-weight: 700;
	color: var(--color-light-gray);
}

.teaser-check--privacy p a {
	color: inherit;
	text-decoration: underline;
	text-underline-offset: 2px;
	word-break: break-word;
}

.teaser-check--privacy p a:hover,
.teaser-check--privacy p a:focus-visible {
	color: var(--accent-end);
}
.teaser-check--privacy {
    display: flex;
    flex-direction: row !important;
    flex-wrap: wrap !important;
}

.teaser-check input[type="checkbox"] {
	appearance: none;
	-webkit-appearance: none;
	width: 15px;
	height: 15px;
	flex: 0 0 15px;
	margin: 1px 0 0;
	border: 0.5px solid var(--color-light-gray);
	border-radius: 3px;
	background: transparent;
	cursor: pointer;
	position: relative;
}

.teaser-check input[type="checkbox"]:checked {
	background: var(--accent-gradient);
	border-color: transparent;
}

.teaser-check input[type="checkbox"]:checked::after {
	content: '';
	position: absolute;
	left: 4px;
	top: 1px;
	width: 4px;
	height: 8px;
	border: solid var(--color-dark);
	border-width: 0 1.5px 1.5px 0;
	transform: rotate(45deg);
}

.teaser-check a {
	text-decoration: underline;
	text-underline-offset: 2px;
}

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	width: 100%;
	padding: 15px 20px;
	border-radius: var(--radius-btn);
	background: transparent;
	border: 0.5px solid var(--color-light-gray);
	color: var(--color-light-gray);
	font-family: var(--font-body);
	font-weight: 300;
	font-size: 1rem;
	letter-spacing: 0.02em;
	cursor: pointer;
	transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn:hover,
.btn:focus-visible {
	background: var(--accent-gradient);
	border-color: transparent;
	color: var(--color-white);
}

.btn .icon {
	width: 15px;
	height: 15px;
	flex: 0 0 15px;
}

.teaser-card__feedback {
	display: none;
	margin-top: 18px;
	padding: 14px 16px;
	border-radius: 10px;
	background: rgba(255, 255, 255, 0.08);
	font-size: 0.875rem;
	text-align: center;
}

.teaser-card__feedback.is-visible {
	display: block;
}

.teaser-card__feedback.is-error {
	background: rgba(197, 34, 31, 0.25);
}

/* honeypot anti-spam: fuera de pantalla, invisible para usuarios reales */
.hp {
	position: absolute !important;
	left: -9999px !important;
	width: 1px;
	height: 1px;
	opacity: 0;
	overflow: hidden;
}

/* =========================================================
   Footer
   ========================================================= */
.teaser__footer {
	padding-block: 20px 28px;
	text-align: center;
	font-size: 0.8125rem;
	font-weight: 300;
	line-height: 1.7;
	color: var(--color-light-gray);
}

.teaser__footer a {
	text-decoration: underline;
	text-underline-offset: 2px;
}

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 960px) {
	/* La foto deja de cubrir toda la sección (evita el zoom extremo al apilarse
	   el contenido) y se queda como cabecera con fundido al color de fondo */
	.teaser__bg {
		inset: 0 0 auto;
		height: 100svh;
	}

	.teaser__bg img {
		object-position: 38% 30%;
	}

	.teaser__bg::before {
		background:
			linear-gradient(180deg, rgba(46, 56, 58, 0.6) 0%, rgba(46, 56, 58, 0.38) 32%, rgba(46, 56, 58, 0.72) 64%, var(--color-dark) 94%);
	}

	.teaser__content {
		grid-template-columns: 1fr;
		gap: 40px;
		padding-block: 24px 48px;
	}

	.teaser__copy {
		max-width: none;
	}

	.teaser__form-wrap {
		justify-content: stretch;
	}

	.teaser-card {
		max-width: none;
	}
}

@media (max-width: 560px) {
	/* En móvil el hero se compacta: antetítulo y subtítulo más pequeños y la
	   cuenta atrás se oculta para que el formulario entre antes en pantalla.
	   De 561px en adelante (tablet y escritorio) todo sigue igual. */
	.teaser__eyebrow {
		font-size: 0.8rem;
		letter-spacing: 0.16em;
		margin-bottom: 12px;
	}

	.teaser__subtitle {
		font-size: 1rem;
		margin-bottom: 24px;
	}

	.countdown {
		display: none;
	}

	.teaser__date {
		letter-spacing: 0.3em;
		font-size: 1.15rem;
	}

	.teaser-card {
		padding: 28px 20px;
	}

	.teaser__logo {
		width: 150px;
	}
}

/* =========================================================
   Pop-up de confirmación del registro
   Sustituye al recuadro verde de "Gracias" que salía debajo
   del botón. Los errores se siguen mostrando ahí.
   ========================================================= */
.modal-ok[hidden] {
	display: none !important;
}

.modal-ok {
	position: fixed;
	inset: 0;
	z-index: 100;
	display: grid;
	place-items: center;
	padding: 20px;
}

.modal-ok__fondo {
	position: absolute;
	inset: 0;
	background: rgba(15, 20, 21, 0.72);
	-webkit-backdrop-filter: blur(6px);
	backdrop-filter: blur(6px);
	animation: modal-ok-aparecer 0.25s ease both;
}

.modal-ok__caja {
	position: relative;
	width: 100%;
	max-width: 440px;
	padding: 44px 34px 34px;
	border-radius: var(--radius-card);
	background: rgba(46, 56, 58, 0.92);
	-webkit-backdrop-filter: blur(24px) saturate(140%);
	backdrop-filter: blur(24px) saturate(140%);
	border: 1px solid rgba(237, 188, 132, 0.32);
	box-shadow: 0 30px 90px rgba(0, 0, 0, 0.55);
	text-align: center;
	animation: modal-ok-subir 0.32s cubic-bezier(0.16, 0.84, 0.44, 1) both;
}

.modal-ok__marca {
	width: 62px;
	height: 62px;
	margin: 0 auto 22px;
	border-radius: 50%;
	background: var(--accent-gradient);
	display: grid;
	place-items: center;
	box-shadow: 0 8px 26px rgba(237, 188, 132, 0.28);
}

.modal-ok__marca svg {
	width: 28px;
	height: 28px;
}

.modal-ok__marca path {
	stroke-dasharray: 30;
	stroke-dashoffset: 30;
	animation: modal-ok-trazar 0.45s 0.18s ease forwards;
}

.modal-ok__titulo {
	font-family: var(--font-heading);
	font-weight: 400;
	font-size: 1.6rem;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	margin: 0 0 12px;
	color: var(--color-white);
}

.modal-ok__texto {
	font-family: var(--font-body);
	font-weight: 300;
	font-size: 1rem;
	line-height: 1.55;
	color: var(--color-light-gray);
	margin: 0 0 28px;
}

.modal-ok__cerrar {
	width: 100%;
}

.modal-ok__aspa {
	position: absolute;
	top: 18px;
	right: 20px;
	width: 34px;
	height: 34px;
	display: grid;
	place-items: center;
	background: transparent;
	border: 0;
	border-radius: 50%;
	color: var(--color-placeholder);
	cursor: pointer;
	font-size: 1.25rem;
	line-height: 1;
	transition: color 0.2s ease, background 0.2s ease;
}

.modal-ok__aspa:hover,
.modal-ok__aspa:focus-visible {
	color: var(--color-white);
	background: rgba(255, 255, 255, 0.08);
}

@keyframes modal-ok-aparecer {
	from { opacity: 0; }
	to   { opacity: 1; }
}

@keyframes modal-ok-subir {
	from { opacity: 0; transform: translateY(18px) scale(0.97); }
	to   { opacity: 1; transform: none; }
}

@keyframes modal-ok-trazar {
	to { stroke-dashoffset: 0; }
}

@media (prefers-reduced-motion: reduce) {
	.modal-ok__fondo,
	.modal-ok__caja,
	.modal-ok__marca path {
		animation: none;
	}

	.modal-ok__marca path {
		stroke-dashoffset: 0;
	}
}

@media (max-width: 560px) {
	.modal-ok__caja {
		padding: 38px 24px 28px;
	}
}

/* =========================================================
   Enlace "Política de privacidad"
   Es un <button> para poder abrir el pop-up sin navegar a
   ninguna parte, pero se ve y se comporta como un enlace.
   ========================================================= */
.enlace-priv {
	display: inline;
	padding: 0;
	margin: 0;
	background: none;
	border: 0;
	color: inherit;
	font: inherit;
	text-align: left;
	text-decoration: underline;
	text-underline-offset: 2px;
	cursor: pointer;
}

.enlace-priv:hover,
.enlace-priv:focus-visible {
	color: var(--accent-end);
}

/* =========================================================
   Pop-up de la política de privacidad
   ========================================================= */
.modal-priv[hidden] {
	display: none !important;
}

.modal-priv {
	position: fixed;
	inset: 0;
	z-index: 110;
	display: grid;
	place-items: center;
	padding: 20px;
}

.modal-priv__fondo {
	position: absolute;
	inset: 0;
	background: rgba(15, 20, 21, 0.72);
	-webkit-backdrop-filter: blur(6px);
	backdrop-filter: blur(6px);
	animation: modal-ok-aparecer 0.25s ease both;
}

.modal-priv__caja {
	position: relative;
	display: flex;
	flex-direction: column;
	width: 100%;
	max-width: 560px;
	max-height: min(80vh, 640px);
	padding: 38px 30px 30px;
	border-radius: var(--radius-card);
	background: rgba(46, 56, 58, 0.94);
	-webkit-backdrop-filter: blur(24px) saturate(140%);
	backdrop-filter: blur(24px) saturate(140%);
	border: 1px solid rgba(237, 188, 132, 0.32);
	box-shadow: 0 30px 90px rgba(0, 0, 0, 0.55);
	animation: modal-ok-subir 0.32s cubic-bezier(0.16, 0.84, 0.44, 1) both;
}

.modal-priv__titulo {
	font-family: var(--font-heading);
	font-weight: 400;
	font-size: 1.35rem;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: var(--color-white);
	margin: 0 0 20px;
	padding-right: 34px;
}

.modal-priv__cuerpo {
	flex: 1 1 auto;
	overflow-y: auto;
	margin-bottom: 24px;
	padding-right: 6px;
}

.modal-priv__cuerpo:focus-visible {
	outline: 2px solid var(--accent-end);
	outline-offset: 4px;
}

.modal-priv__cuerpo p {
	margin: 0;
	font-family: var(--font-body);
	font-weight: 300;
	font-size: 0.8125rem;
	line-height: 1.65;
	color: var(--color-light-gray);
}

.modal-priv__cuerpo strong {
	font-weight: 700;
	color: var(--color-white);
}

.modal-priv__cuerpo a {
	color: inherit;
	text-decoration: underline;
	text-underline-offset: 2px;
	word-break: break-word;
}

.modal-priv__cuerpo a:hover,
.modal-priv__cuerpo a:focus-visible {
	color: var(--accent-end);
}

.modal-priv__cerrar {
	flex: 0 0 auto;
	width: 100%;
}

.modal-priv__aspa {
	position: absolute;
	top: 16px;
	right: 18px;
	width: 34px;
	height: 34px;
	display: grid;
	place-items: center;
	background: transparent;
	border: 0;
	border-radius: 50%;
	color: var(--color-placeholder);
	cursor: pointer;
	font-size: 1.25rem;
	line-height: 1;
	transition: color 0.2s ease, background 0.2s ease;
}

.modal-priv__aspa:hover,
.modal-priv__aspa:focus-visible {
	color: var(--color-white);
	background: rgba(255, 255, 255, 0.08);
}

@media (prefers-reduced-motion: reduce) {
	.modal-priv__fondo,
	.modal-priv__caja {
		animation: none;
	}
}

@media (max-width: 560px) {
	.modal-priv__caja {
		padding: 34px 20px 24px;
		max-height: 86vh;
	}
}

/* Enlace "Síguenos en Instagram" dentro de la tarjeta del formulario. */
.ig-link {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	width: fit-content;
	margin: 0 auto 6px;
	color: var(--color-white);
	font-weight: 400;
	text-decoration: none;
	border-bottom: 1px solid rgba(237, 188, 132, 0.55);
	padding-bottom: 1px;
	transition: color 0.2s ease, border-color 0.2s ease;
}

.ig-link:hover,
.ig-link:focus-visible {
	color: var(--accent-end);
	border-bottom-color: var(--accent-end);
}

.teaser-card__intro-b {
	display: block;
}

.ig-link__icono {
	width: 17px;
	height: 17px;
	flex-shrink: 0;
}
