/* =====================================================================
   VSL Landing — "Frosted glass cathedral at midnight"
   Built on DESIGN.md (AuthKit system). Near-black midnight canvas with
   frosted-glass surfaces, a faint blueprint grid, a conic spotlight halo,
   luminous blue-white type and a single violet CTA accent.
   ===================================================================== */

/* --- Tipografías alojadas localmente (subconjunto latino) — sin peticiones externas --- */
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/inter-400.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 500; font-display: swap; src: url('../fonts/inter-500.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 600; font-display: swap; src: url('../fonts/inter-600.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 700; font-display: swap; src: url('../fonts/inter-700.woff2') format('woff2'); }
@font-face { font-family: 'Space Grotesk'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/spacegrotesk-400.woff2') format('woff2'); }
@font-face { font-family: 'Space Grotesk'; font-style: normal; font-weight: 500; font-display: swap; src: url('../fonts/spacegrotesk-500.woff2') format('woff2'); }
@font-face { font-family: 'Space Grotesk'; font-style: normal; font-weight: 600; font-display: swap; src: url('../fonts/spacegrotesk-600.woff2') format('woff2'); }
@font-face { font-family: 'JetBrains Mono'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/jetbrainsmono-400.woff2') format('woff2'); }

:root {
	/* Colors — DESIGN.md tokens */
	--midnight: #05060f;
	--midnight-2: #080a17;
	--steel: #2f343e;
	--fog: #9da7ba;
	--moon: #c7d3ea;
	--frost: #d1e4fa;
	--ice: #d8ecf8;
	--white: #ffffff;
	--violet: #663af3;
	--violet-2: #7d55f6;
	--blueprint: #b6d9fc;

	--hairline: rgba(186, 215, 247, 0.12);
	--hairline-strong: rgba(186, 215, 247, 0.24);
	--glass-fill: rgba(186, 214, 247, 0.03);
	--glass-fill-2: rgba(199, 211, 234, 0.06);
	--luminous: rgba(199, 211, 234, 0.12);

	--error: #f2836a;
	--ok: #67e0b0;

	/* Typography */
	--font-body: 'Inter', ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
	--font-display: 'Space Grotesk', 'Inter', ui-sans-serif, system-ui, sans-serif;
	--font-mono: 'JetBrains Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;

	/* Layout */
	--page-max: 1200px;

	/* Radius */
	--r-card: 16px;
	--r-input: 8px;
	--r-pill: 999px;

	/* Elevation */
	--elev-card: inset 0 1px 1px rgba(216, 236, 248, 0.20), inset 0 24px 48px rgba(168, 216, 245, 0.06), 0 16px 40px rgba(0, 0, 0, 0.45);
	--elev-soft: inset 0 1px 1px rgba(199, 211, 234, 0.12), 0 20px 48px rgba(4, 5, 12, 0.6);
	--glow-violet: 0 0 0 1px rgba(102, 58, 243, 0.35), 0 12px 40px rgba(102, 58, 243, 0.35);
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
	margin: 0;
	font-family: var(--font-body);
	font-weight: 400;
	font-size: 16px;
	line-height: 1.5;
	letter-spacing: -0.01em;
	color: var(--frost);
	background: var(--midnight);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	min-height: 100vh;
	display: flex;
	flex-direction: column;
	overflow-x: hidden;
}

/* ------------------------------------------------ Ambient background layers */
.bg {
	position: fixed;
	inset: 0;
	z-index: -2;
	pointer-events: none;
	background:
		radial-gradient(1200px 700px at 50% -10%, rgba(102, 58, 243, 0.14), transparent 60%),
		radial-gradient(900px 600px at 85% 15%, rgba(39, 90, 180, 0.12), transparent 55%),
		var(--midnight);
}
/* Optional generated abstraction, layered very subtly under the grid */
.bg::after {
	content: "";
	position: absolute;
	inset: 0;
	background-image: var(--bg-image, none);
	background-size: cover;
	background-position: center;
	opacity: 0.28;
	mix-blend-mode: screen;
	-webkit-mask-image: radial-gradient(120% 90% at 50% 0%, #000 45%, transparent 100%);
	mask-image: radial-gradient(120% 90% at 50% 0%, #000 45%, transparent 100%);
}
.bg__grid {
	position: absolute;
	inset: 0;
	background-image:
		linear-gradient(to right, rgba(186, 215, 247, 0.05) 1px, transparent 1px),
		linear-gradient(to bottom, rgba(186, 215, 247, 0.05) 1px, transparent 1px);
	background-size: 88px 88px;
	-webkit-mask-image: radial-gradient(115% 100% at 50% 0%, #000 40%, transparent 88%);
	mask-image: radial-gradient(115% 100% at 50% 0%, #000 40%, transparent 88%);
}
.bg__halo {
	position: absolute;
	top: -6%;
	left: 50%;
	width: 900px;
	height: 520px;
	transform: translateX(-50%);
	background: conic-gradient(from 90deg at 50% 50%, transparent 42%, rgba(124, 145, 182, 0.28) 49%, rgba(124, 145, 182, 0.5) 50%, rgba(124, 145, 182, 0.28) 51%, transparent 58%);
	-webkit-mask-image: radial-gradient(60% 100% at 50% 0%, #000, transparent 75%);
	mask-image: radial-gradient(60% 100% at 50% 0%, #000, transparent 75%);
	opacity: 0.7;
	filter: blur(2px);
}

/* --------------------------------------------------------- Top navigation */
.topbar { width: 100%; position: relative; z-index: 3; }
.topbar__inner {
	max-width: var(--page-max);
	margin: 0 auto;
	padding: 20px 32px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
}

.wordmark {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	text-decoration: none;
	color: var(--ice);
}
.wordmark__logo { display: block; height: 34px; width: auto; filter: drop-shadow(0 4px 16px rgba(120, 150, 220, 0.35)); }
.wordmark__text {
	font-family: var(--font-display);
	font-weight: 500;
	font-size: 20px;
	letter-spacing: 0.01em;
	color: var(--ice);
}
.wordmark__flag { width: 22px; height: 16px; border-radius: 3px; object-fit: cover; display: block; opacity: 0.9; }

/* Ghost pill button */
.pill {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	height: 40px;
	padding: 0 18px;
	border: 0;
	border-radius: var(--r-pill);
	background: var(--glass-fill-2);
	box-shadow: inset 0 0 0 1px var(--hairline);
	color: var(--white);
	font-family: var(--font-body);
	font-size: 14px;
	font-weight: 500;
	letter-spacing: -0.01em;
	text-decoration: none;
	cursor: pointer;
	transition: background 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}
.pill:hover { background: var(--luminous); box-shadow: inset 0 0 0 1px var(--hairline-strong); }
.pill:active { transform: translateY(1px); }
.pill--solid {
	background: var(--violet);
	box-shadow: var(--glow-violet);
	color: var(--white);
}
.pill--solid:hover { background: var(--violet-2); }

/* ----------------------------------------------------------------- main */
.main {
	flex: 1;
	width: 100%;
	max-width: var(--page-max);
	margin: 0 auto;
	padding: 24px 32px 120px;
	display: flex;
	flex-direction: column;
	align-items: center;
}

/* Hero eyebrow + headline stack */
.hero-head {
	text-align: center;
	max-width: 680px;
	margin: 8px auto 32px;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 18px;
}
.eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	font-family: var(--font-mono);
	font-size: 13px;
	font-weight: 400;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--moon);
}
.eyebrow::before,
.eyebrow::after {
	content: "";
	width: 46px;
	height: 1px;
	background: linear-gradient(90deg, transparent, var(--hairline-strong), transparent);
}
.hero-title {
	margin: 0;
	font-family: var(--font-display);
	font-weight: 500;
	font-size: clamp(34px, 6vw, 54px);
	line-height: 1.08;
	letter-spacing: -0.01em;
	background: linear-gradient(0deg, #98c0ef 0%, #d8ecf8 70%);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}
.hero-sub {
	margin: 0;
	max-width: 560px;
	font-size: 17px;
	line-height: 1.55;
	color: var(--moon);
}

/* Contenedor único: vídeo + formulario */
.stage {
	width: 100%;
	max-width: 560px;
	margin: 0 auto;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 28px;
}

/* Cinematic Video Plate — vertical (4:5) VSL video */
.video {
	position: relative;
	width: 100%;
	max-width: 560px;
	max-height: 82vh;
	aspect-ratio: 4 / 5;
	background: #000;
	border-radius: var(--r-card);
	box-shadow: var(--elev-card);
	overflow: hidden;
}
.video::after {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: inherit;
	box-shadow: inset 0 0 0 1px var(--hairline);
	pointer-events: none;
	z-index: 7;
}
.video__el {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	display: block;
	object-fit: contain;
	background: #000;
}
.video__overlay {
	position: absolute;
	inset: 0;
	z-index: 6;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 18px;
	cursor: pointer;
	background: radial-gradient(120% 120% at 50% 45%, rgba(5, 6, 15, 0.35), rgba(5, 6, 15, 0.72));
	transition: opacity 0.3s ease, visibility 0.3s ease;
	-webkit-tap-highlight-color: transparent;
}
.video__overlay.is-hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.video__play {
	width: 64px;
	height: 64px;
	border-radius: 50%;
	background: rgba(102, 58, 243, 0.85);
	box-shadow: 0 0 0 1px rgba(216, 236, 248, 0.25), 0 10px 40px rgba(102, 58, 243, 0.5);
	display: flex;
	align-items: center;
	justify-content: center;
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.video__overlay:hover .video__play { transform: scale(1.06); box-shadow: 0 0 0 1px rgba(216, 236, 248, 0.4), 0 12px 48px rgba(102, 58, 243, 0.65); }
.video__play svg { fill: #fff; margin-left: 3px; }
.video__hint { color: #fff; text-align: center; }
.video__hint b { display: block; font-size: 16px; font-weight: 600; letter-spacing: -0.01em; }
.video__hint span { display: block; font-size: 14px; color: rgba(215, 228, 250, 0.72); margin-top: 4px; }

/* Caption under the video */
.caption {
	margin: 0;
	max-width: 520px;
	text-align: center;
	font-size: 15px;
	font-weight: 500;
	color: var(--moon);
}

/* ----------------------------------------------------------------- form */
.form-card {
	position: relative;
	width: 100%;
	max-width: 520px;
	margin: 0 auto;
	background: linear-gradient(180deg, rgba(20, 24, 42, 0.72), rgba(8, 10, 23, 0.82));
	backdrop-filter: blur(14px);
	-webkit-backdrop-filter: blur(14px);
	border-radius: var(--r-card);
	box-shadow: var(--elev-card);
	padding: 32px;
}
.form-card::after {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: inherit;
	box-shadow: inset 0 0 0 1px var(--hairline);
	pointer-events: none;
}
.form-card__title {
	text-align: center;
	font-family: var(--font-display);
	font-size: 26px;
	font-weight: 500;
	line-height: 1.15;
	letter-spacing: -0.01em;
	margin: 0 0 6px;
	color: var(--ice);
}
.form-card__sub {
	text-align: center;
	font-size: 15px;
	font-weight: 400;
	color: var(--moon);
	margin: 0 0 26px;
}

/* Distintivo informativo bajo el título del formulario */
.form-badge {
	display: block;
	width: fit-content;
	margin: 0 auto 22px;
	padding: 6px 14px;
	border-radius: var(--r-pill);
	background: var(--glass-fill-2);
	box-shadow: inset 0 0 0 1px var(--hairline);
	font-family: var(--font-mono);
	font-size: 12px;
	font-weight: 400;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--moon);
}

.field { margin-bottom: 18px; }
.field__label {
	display: block;
	font-size: 13px;
	font-weight: 500;
	letter-spacing: 0.01em;
	color: var(--moon);
	margin: 0 0 8px;
}
.field__input {
	width: 100%;
	padding: 13px 16px;
	font-family: inherit;
	font-size: 16px;
	font-weight: 400;
	letter-spacing: -0.01em;
	color: var(--white);
	background: rgba(199, 211, 234, 0.06);
	border: 0;
	border-radius: var(--r-input);
	box-shadow: inset 0 0 0 1px var(--hairline);
	outline: none;
	transition: box-shadow 0.18s ease, background 0.18s ease;
}
.field__input::placeholder { color: rgba(199, 211, 234, 0.5); }
.field__input:focus { box-shadow: inset 0 0 0 1px var(--hairline-strong), 0 0 0 3px rgba(102, 58, 243, 0.18); background: rgba(199, 211, 234, 0.09); }

/* Grupo de teléfono con prefijo +34 */
.phone-group {
	display: flex;
	align-items: stretch;
	width: 100%;
	border-radius: var(--r-input);
	background: rgba(199, 211, 234, 0.06);
	box-shadow: inset 0 0 0 1px var(--hairline);
	overflow: hidden;
	transition: box-shadow 0.18s ease;
}
.phone-group:focus-within { box-shadow: inset 0 0 0 1px var(--hairline-strong), 0 0 0 3px rgba(102, 58, 243, 0.18); }
.phone-prefix {
	display: flex;
	align-items: center;
	gap: 7px;
	padding: 0 13px;
	box-shadow: inset -1px 0 0 var(--hairline);
	font-size: 15px;
	font-weight: 500;
	white-space: nowrap;
	color: var(--frost);
}
.phone-flag { width: 22px; height: 16px; border-radius: 2px; object-fit: cover; display: block; }
.phone-group .field__input { background: transparent; box-shadow: none; border-radius: 0; flex: 1; min-width: 0; }
.phone-group .field__input:focus { box-shadow: none; background: transparent; }

/* Mensajes de validación */
.field__msg {
	display: none;
	margin: 8px 0 0;
	font-size: 13px;
	font-weight: 500;
	line-height: 1.35;
	color: var(--error);
}
.field.has-error .field__msg { display: block; }
.field.has-error .field__input,
.field.has-error .phone-group { box-shadow: inset 0 0 0 1px var(--error); }
.field.is-valid .field__input,
.field.is-valid .phone-group { box-shadow: inset 0 0 0 1px rgba(103, 224, 176, 0.5); }

/* Submit — solid violet CTA */
.btn-submit {
	width: 100%;
	height: 50px;
	margin-top: 8px;
	border: 0;
	border-radius: var(--r-pill);
	background: var(--violet);
	box-shadow: var(--glow-violet);
	color: var(--white);
	font-family: var(--font-body);
	font-size: 16px;
	font-weight: 600;
	letter-spacing: -0.01em;
	cursor: pointer;
	transition: background 0.18s ease, transform 0.15s ease, box-shadow 0.2s ease;
}
.btn-submit:hover { background: var(--violet-2); box-shadow: 0 0 0 1px rgba(102, 58, 243, 0.5), 0 16px 48px rgba(102, 58, 243, 0.5); }
.btn-submit:active { transform: translateY(1px); }

/* Casilla de consentimiento (RGPD) */
.consent {
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 10px;
	align-items: start;
	margin: 4px 0 18px;
	cursor: pointer;
}
.consent__box {
	width: 18px;
	height: 18px;
	margin: 2px 0 0;
	flex-shrink: 0;
	accent-color: var(--violet);
	cursor: pointer;
}
.consent__text {
	font-size: 13px;
	font-weight: 400;
	line-height: 1.45;
	color: var(--fog);
}
.consent__text a { color: var(--frost); text-decoration: underline; text-underline-offset: 2px; text-decoration-color: var(--hairline-strong); }
.consent__msg { grid-column: 1 / -1; margin: 0; }
.consent.has-error .consent__msg { display: block; }
.consent.has-error .consent__box { outline: 2px solid var(--error); outline-offset: 1px; border-radius: 3px; }

.disclaimer {
	text-align: center;
	font-size: 13px;
	font-weight: 400;
	line-height: 1.45;
	color: var(--fog);
	margin: 18px 0 0;
}

/* honeypot */
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; overflow: hidden; }

/* --------------------------------------------------- Trust / feature strip */
.trust {
	width: 100%;
	max-width: 560px;
	margin: 36px auto 0;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 12px;
}
.trust__item {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 10px;
	padding: 18px 12px;
	text-align: center;
	border-radius: var(--r-card);
	background: var(--glass-fill);
	box-shadow: inset 0 0 0 1px var(--hairline);
}
.trust__icon {
	width: 40px; height: 40px;
	display: flex; align-items: center; justify-content: center;
	border-radius: 9999px;
	background: rgba(186, 214, 247, 0.06);
	box-shadow: inset 0 0 0 1px var(--hairline);
	color: var(--frost);
}
.trust__icon svg { fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.trust__label { font-size: 13px; font-weight: 500; color: var(--moon); line-height: 1.3; }

/* ------------------------------------------- pantalla de agradecimiento */
.thanks-card {
	position: relative;
	width: 100%;
	max-width: 540px;
	margin: 64px auto 0;
	padding: 40px 32px;
	background: linear-gradient(180deg, rgba(20, 24, 42, 0.72), rgba(8, 10, 23, 0.82));
	backdrop-filter: blur(14px);
	-webkit-backdrop-filter: blur(14px);
	border-radius: var(--r-card);
	box-shadow: var(--elev-card);
	text-align: center;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 18px;
}
.thanks-card::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px var(--hairline); pointer-events: none; }
.thanks-card__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 72px;
	height: 72px;
	border-radius: 9999px;
	background: rgba(103, 224, 176, 0.10);
	box-shadow: inset 0 0 0 1px rgba(103, 224, 176, 0.4), 0 0 40px rgba(103, 224, 176, 0.2);
	color: var(--ok);
}
.thanks-card__icon svg { fill: none; stroke: currentColor; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.thanks-card__title {
	font-family: var(--font-display);
	font-size: 26px;
	font-weight: 500;
	letter-spacing: -0.01em;
	line-height: 1.15;
	margin: 0;
	color: var(--ice);
}
.thanks-card__text { font-size: 16px; line-height: 1.55; color: var(--moon); margin: 0; }
.thanks-card__hint { font-size: 14px; line-height: 1.5; color: var(--fog); margin: 0; }
.thanks-card .pill { margin-top: 8px; }

/* --------------------------------------------------------------- footer */
.footer {
	width: 100%;
	margin-top: auto;
	position: relative;
	z-index: 2;
	box-shadow: inset 0 1px 0 var(--hairline);
}
.footer__inner {
	max-width: var(--page-max);
	margin: 0 auto;
	padding: 72px 32px 40px;
}
.footer__top {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	justify-content: space-between;
	gap: 32px;
	padding-bottom: 32px;
	box-shadow: inset 0 -1px 0 var(--hairline);
}
.footer__brand { max-width: 34ch; display: flex; flex-direction: column; gap: 12px; }
.footer__brand-head { display: inline-flex; align-items: center; gap: 12px; }
.footer__brand-logo { height: 32px; width: auto; }
.footer__brand-name {
	font-family: var(--font-display);
	font-size: 22px;
	font-weight: 500;
	letter-spacing: -0.01em;
	line-height: 1.1;
	color: var(--ice);
}
.footer__brand-tagline { margin: 0; font-size: 15px; font-weight: 400; color: var(--fog); line-height: 1.5; }
.footer__nav ul { list-style: none; display: flex; flex-wrap: wrap; gap: 12px 28px; padding: 0; margin: 0; }
.footer__nav a {
	color: var(--moon);
	text-decoration: none;
	font-size: 15px;
	font-weight: 400;
	letter-spacing: -0.01em;
	transition: color 0.18s ease;
}
.footer__nav a:hover { color: var(--white); }

.footer__body {
	display: grid;
	grid-template-columns: minmax(280px, 460px) 1fr;
	gap: 24px;
	padding: 32px 0;
}
.company {
	position: relative;
	padding: 26px;
	border-radius: var(--r-card);
	background: var(--glass-fill);
	box-shadow: inset 0 0 0 1px var(--hairline);
	text-align: left;
	align-self: start;
}
.company__name {
	display: block;
	font-family: var(--font-display);
	font-size: 18px;
	font-weight: 500;
	letter-spacing: -0.01em;
	line-height: 1.25;
	color: var(--frost);
	padding-bottom: 16px;
	margin-bottom: 16px;
	box-shadow: inset 0 -1px 0 var(--hairline);
}
.company__grid { margin: 0; display: grid; gap: 14px; }
.company__row { display: grid; grid-template-columns: 104px 1fr; gap: 16px; align-items: baseline; }
.company__row dt {
	font-family: var(--font-mono);
	font-size: 11px;
	font-weight: 400;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--fog);
}
.company__row dd { margin: 0; font-size: 15px; font-weight: 400; color: var(--frost); word-break: break-word; }
.company__row dd a { color: var(--frost); text-decoration: none; box-shadow: inset 0 -1px 0 var(--hairline-strong); transition: color 0.18s ease; }
.company__row dd a:hover { color: var(--white); }

.footer__notes { display: grid; gap: 16px; align-content: start; }
.note {
	padding: 24px;
	border-radius: var(--r-card);
	background: var(--glass-fill);
	box-shadow: inset 0 0 0 1px var(--hairline);
	text-align: left;
}
.note__title {
	display: block;
	font-size: 15px;
	font-weight: 600;
	letter-spacing: -0.01em;
	color: var(--frost);
	margin-bottom: 8px;
}
.note__text { margin: 0; font-size: 14px; font-weight: 400; line-height: 1.55; color: var(--fog); }
.footer__cnmv-link {
	display: inline-flex;
	align-items: center;
	margin-top: 14px;
	padding: 9px 16px;
	border-radius: var(--r-pill);
	background: var(--glass-fill-2);
	box-shadow: inset 0 0 0 1px var(--hairline);
	color: var(--frost);
	font-weight: 500;
	font-size: 14px;
	text-decoration: none;
	transition: background 0.18s ease, box-shadow 0.18s ease;
}
.footer__cnmv-link:hover { background: var(--luminous); box-shadow: inset 0 0 0 1px var(--hairline-strong); }

.footer__risk {
	margin: 28px 0 0;
	padding-top: 24px;
	box-shadow: inset 0 1px 0 var(--hairline);
	font-size: 12px;
	font-weight: 400;
	line-height: 1.6;
	color: var(--fog);
}

.footer__bottom {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: space-between;
	gap: 6px 16px;
	padding-top: 28px;
}
.footer__bottom .copyright { margin: 0; font-size: 14px; font-weight: 500; color: var(--moon); }
.footer__rights { margin: 0; font-size: 14px; font-weight: 400; color: var(--fog); }

/* ------------------------------------------------- aviso de cookies */
.cookie-banner {
	position: fixed;
	left: 16px;
	right: 16px;
	bottom: 16px;
	z-index: 60;
	display: none;
	gap: 16px;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	max-width: var(--page-max);
	margin: 0 auto;
	padding: 18px 20px;
	background: linear-gradient(180deg, rgba(20, 24, 42, 0.9), rgba(8, 10, 23, 0.94));
	backdrop-filter: blur(16px);
	-webkit-backdrop-filter: blur(16px);
	border-radius: var(--r-card);
	box-shadow: var(--elev-card);
}
.cookie-banner::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px var(--hairline); pointer-events: none; }
.cookie-banner.is-visible { display: flex; }
.cookie-banner__text { flex: 1 1 320px; margin: 0; font-size: 14px; font-weight: 400; line-height: 1.5; color: var(--moon); }
.cookie-banner__text a { color: var(--frost); text-decoration: underline; text-underline-offset: 2px; text-decoration-color: var(--hairline-strong); }
.cookie-banner__actions { display: flex; gap: 12px; flex-shrink: 0; }
.cookie-btn {
	font-family: inherit;
	font-size: 14px;
	font-weight: 600;
	letter-spacing: -0.01em;
	color: var(--white);
	background: var(--violet);
	box-shadow: var(--glow-violet);
	border: 0;
	padding: 11px 22px;
	border-radius: var(--r-pill);
	cursor: pointer;
	transition: background 0.18s ease;
}
.cookie-btn:hover { background: var(--violet-2); }
.cookie-btn--ghost { color: var(--frost); background: var(--glass-fill-2); box-shadow: inset 0 0 0 1px var(--hairline); }
.cookie-btn--ghost:hover { background: var(--luminous); }
@media screen and (max-width: 640px) {
	.cookie-banner__actions { flex: 1 1 100%; }
	.cookie-btn { flex: 1; }
}

/* ------------------------------------------------- modal de contacto */
.modal {
	position: fixed;
	inset: 0;
	z-index: 50;
	display: none;
	align-items: center;
	justify-content: center;
	padding: 16px;
	background: rgba(3, 4, 10, 0.72);
	backdrop-filter: blur(4px);
	-webkit-backdrop-filter: blur(4px);
	-webkit-tap-highlight-color: transparent;
}
.modal.is-open { display: flex; }
.modal__dialog { position: relative; width: 100%; max-width: 480px; max-height: 92vh; overflow-y: auto; margin: 0; }
.modal__dialog .form-card { padding-top: 48px; }
.modal__close {
	position: absolute;
	top: 14px;
	right: 14px;
	z-index: 2;
	width: 36px;
	height: 36px;
	display: flex;
	align-items: center;
	justify-content: center;
	border: 0;
	border-radius: 50%;
	background: var(--glass-fill-2);
	box-shadow: inset 0 0 0 1px var(--hairline);
	color: var(--frost);
	font-size: 18px;
	line-height: 1;
	cursor: pointer;
	transition: background 0.18s ease, color 0.18s ease;
}
.modal__close:hover { background: var(--luminous); color: var(--white); }

/* ----------------------------------------------------------- responsive */
@media (max-width: 640px) {
	.topbar__inner { padding: 16px; }
	.main { padding: 12px 16px 96px; }
	.hero-head { margin-bottom: 24px; }
	.stage { gap: 20px; max-width: 460px; }
	.video { max-height: 74vh; }
	.form-card { padding: 26px 20px; }
	.trust { grid-template-columns: 1fr; gap: 10px; margin-top: 24px; }
	.trust__item { flex-direction: row; justify-content: flex-start; text-align: left; }
	.footer__inner { padding: 48px 16px 32px; }
	.footer__top { flex-direction: column; gap: 20px; padding-bottom: 24px; }
	.footer__brand { max-width: none; }
	.footer__body { grid-template-columns: 1fr; gap: 16px; padding: 24px 0; }
	.company { padding: 20px; }
	.company__row { grid-template-columns: 1fr; gap: 2px; }
	.note { padding: 20px; }
}
@media (min-width: 641px) and (max-width: 960px) {
	.footer__body { grid-template-columns: 1fr; }
	.footer__notes { grid-template-columns: 1fr 1fr; }
}
