/* =========================================================
   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: 190px;
	height: auto;
}

/* =========================================================
   Contenido principal (2 columnas)
   ========================================================= */
.teaser__content {
	flex: 1;
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(320px, 460px);
	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: 460px;
	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);
}

.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);
}

.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;
}

.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) {
	.countdown {
		gap: 12px;
	}

	.countdown__item {
		min-width: 52px;
	}

	.countdown__value {
		font-size: 2rem;
	}

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

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

	.teaser__logo {
		width: 150px;
	}
}
