/* Landing youtube.talent-land.es — tokens del design system de Talent Land España + estilos de la landing (diseño v2). Las fuentes se sirven desde assets/fonts. */
/* ============================================================
   Talent Land España — Colores y tipografía
   Fuente de verdad: web talent-land.es (repo te-talentland/
   talent-land-atlas-es, bloque @theme de src/styles/global.css
   + patrones de src/components/*.astro). Tailwind CSS 4 + Astro 7.
   ============================================================ */

/* ---- Fuentes (self-hosted, subsets latin + latin-ext, SIL OFL) ---- */

@font-face {
  font-family: "Unbounded";
  src: url("../assets/fonts/unbounded-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Unbounded";
  src: url("../assets/fonts/unbounded-800.woff2") format("woff2");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../assets/fonts/inter-var.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Space Grotesk";
  src: url("../assets/fonts/space-grotesk-var.woff2") format("woff2");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: dark;

  /* ============================================================
     COLOR — Marca (acento verde neón)
     ============================================================ */
  --color-brand-300: #c3f28a;   /* verde claro, hovers suaves */
  --color-brand-400: #b4ef63;   /* hover del acento */
  --color-brand-500: #9ee837;   /* ACENTO PRINCIPAL: CTAs, iconos, selección */
  --color-brand-600: #82cc1e;   /* acento presionado */
  --color-brand-700: #669e18;   /* acento oscuro, texto sobre claro */

  /* ============================================================
     COLOR — Ink (superficies del tema oscuro)
     ============================================================ */
  --color-ink-950: #000000;     /* fondo base de página */
  --color-ink-900: #08080f;     /* superficie elevada 1 (secciones alternas, tarjetas) */
  --color-ink-800: #12121c;     /* superficie elevada 2 (tarjetas, campos) */
  --color-ink-700: #1e1f2b;     /* bordes sólidos, superficie 3 */
  --color-announce: #0b1508;    /* barra de anuncio de la cabecera (verde muy oscuro) */

  /* ============================================================
     COLOR — Neutros sobre oscuro (blanco con opacidad, patrón dominante)
     ============================================================ */
  --white: #ffffff;
  --white-90: rgba(255, 255, 255, 0.9);
  --white-70: rgba(255, 255, 255, 0.7);
  --white-55: rgba(255, 255, 255, 0.55);
  --white-40: rgba(255, 255, 255, 0.4);
  --white-25: rgba(255, 255, 255, 0.25);
  --white-10: rgba(255, 255, 255, 0.1);
  --white-05: rgba(255, 255, 255, 0.05);
  --black-80: rgba(0, 0, 0, 0.8);
  --black-40: rgba(0, 0, 0, 0.4);
  --black-30: rgba(0, 0, 0, 0.3);

  /* Acento con alfa */
  --brand-15: rgba(158, 232, 55, 0.15);   /* fondos de icono, chips suaves */
  --brand-20: rgba(158, 232, 55, 0.2);    /* halos difuminados de fondo */
  --brand-25: rgba(158, 232, 55, 0.25);   /* borde de la barra de anuncio */
  --brand-50: rgba(158, 232, 55, 0.5);    /* sombra-resplandor */

  /* Semánticos de estado (Tailwind, tal como los usa la web) */
  --color-error: #ef4444;
  --color-error-soft: rgba(239, 68, 68, 0.15);

  /* ============================================================
     ROLES SEMÁNTICOS
     ============================================================ */
  --bg: var(--color-ink-950);
  --bg-elevated: var(--color-ink-900);
  --bg-card: var(--color-ink-900);
  --bg-field: var(--color-ink-800);
  --border: var(--white-10);
  --border-strong: var(--white-25);
  --fg: var(--white);
  --fg-2: var(--white-70);
  --fg-3: var(--white-55);
  --fg-4: var(--white-40);
  --accent: var(--color-brand-500);
  --accent-hover: var(--color-brand-400);
  --accent-pressed: var(--color-brand-600);
  --accent-on: #000000;                  /* texto sobre acento: siempre negro */
  --accent-soft: var(--brand-15);

  /* ============================================================
     TIPOGRAFÍA — Familias (tres roles, sin más)
     ============================================================ */
  --font-display: "Unbounded", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; /* titulares, voz de marca */
  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;         /* texto corrido y UI */
  --font-tech: "Space Grotesk", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; /* numerales, chips, etiquetas técnicas */
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;

  /* ============================================================
     TIPOGRAFÍA — Escala (Tailwind, tal como la usa la web)
     ============================================================ */
  --text-xs: 0.75rem;    /* 12  etiquetas técnicas */
  --text-sm: 0.875rem;   /* 14  botones, texto secundario */
  --text-base: 1rem;     /* 16  cuerpo */
  --text-lg: 1.125rem;   /* 18  lede */
  --text-xl: 1.25rem;    /* 20  h3 */
  --text-2xl: 1.5rem;    /* 24  h2 móvil */
  --text-3xl: 1.875rem;  /* 30  h2 escritorio */
  --text-4xl: 2.25rem;   /* 36  titular de sección grande */
  --text-5xl: 3rem;      /* 48  h1 móvil */
  --text-6xl: 3.75rem;   /* 60  h1 escritorio */
  --text-7xl: 4.5rem;    /* 72  h1 XL */
  --text-8xl: 6rem;      /* 96 */

  --leading-tight: 1.25;
  --leading-snug: 1.375;
  --leading-relaxed: 1.625;
  --tracking-tight: -0.025em;
  --tracking-wide: 0.025em;
  --tracking-wider: 0.05em;
  --tracking-widest: 0.1em;
  --tracking-label: 0.12em;   /* etiquetas técnicas en mayúsculas */
  --tracking-badge: 0.25em;   /* insignia "Talento IA first" */

  /* ============================================================
     FORMA — Radios, sombras, resplandores
     ============================================================ */
  --radius-md: 0.375rem;   /* 6  detalles pequeños */
  --radius-lg: 0.5rem;     /* 8  BOTONES */
  --radius-xl: 0.75rem;    /* 12 cajas de icono, tiles de countdown */
  --radius-2xl: 1rem;      /* 16 TARJETAS, acordeones, tablas */
  --radius-3xl: 1.5rem;    /* 24 secciones destacadas */
  --radius-full: 9999px;   /* chips, píldoras, avatares */

  --shadow-glow: 0 0 80px -30px var(--brand-50);         /* contenedor de entradas */
  --glow-blur: 120px;                                    /* halo de fondo bg-brand-500/20 blur-[120px] */
  --scrim-hero-x: linear-gradient(to right, rgba(0,0,0,0.8), rgba(0,0,0,0.35), rgba(0,0,0,0.1));
  --scrim-hero-y: linear-gradient(to top, var(--color-ink-950), transparent, rgba(0,0,0,0.25));
  --scrim-card: linear-gradient(to top, var(--color-ink-900), rgba(8,8,15,0.3), transparent);

  /* ============================================================
     LAYOUT
     ============================================================ */
  --container-7xl: 80rem;   /* 1280  contenedor de sección */
  --container-3xl: 48rem;   /* 768   bloques centrados (tabla de entradas) */
  --container-xl: 36rem;    /* 576   nav inferior móvil */
  --section-y: 5rem;        /* 80    ritmo vertical (py-20) */
  --gutter: 1.25rem;        /* 20    px-5 móvil */
  --gutter-sm: 2rem;        /* 32    sm:px-8 */
  --header-h: 73px;
  --scroll-padding: 6.5rem; /* anuncio + navbar sticky */
}

/* Tema claro: existe en la web (data-theme="light"), pero el sistema es
   oscuro por diseño. No forzar otro fondo salvo intención explícita. */
[data-theme="light"] {
  color-scheme: light;
  --bg: #fafafa;
  --bg-elevated: #ffffff;
  --bg-card: #ffffff;
  --bg-field: #ffffff;
  --border: #e5e5e5;
  --border-strong: #d4d4d4;
  --fg: #171717;
  --fg-2: #404040;
  --fg-3: #737373;
  --fg-4: #a3a3a3;
  --accent-soft: rgba(158, 232, 55, 0.2);
}

/* ============================================================
   ESTILOS SEMÁNTICOS — clases de uso directo
   ============================================================ */

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-sans);
  font-size: var(--text-base);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
::selection { background: var(--color-brand-500); color: #000; }
a { color: var(--accent); }
a:hover { color: var(--accent-hover); }

/* Titulares */
.tl-h1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(var(--text-5xl), 5vw, var(--text-7xl));
  line-height: 0.95;
  letter-spacing: var(--tracking-tight);
  color: var(--fg);
  text-wrap: balance;
}
.tl-h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(var(--text-2xl), 3vw, var(--text-3xl));
  line-height: var(--leading-tight);
  color: var(--fg);
  text-wrap: balance;
}
.tl-h2-xl { font-size: var(--text-4xl); font-weight: 800; letter-spacing: var(--tracking-tight); }
.tl-h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-xl);
  line-height: 1.4;
  color: var(--fg);
}
.tl-accent { color: var(--accent); }

/* Etiqueta técnica (eyebrow): Space Grotesk, mayúsculas, tracking amplio */
.tl-eyebrow {
  font-family: var(--font-tech);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
  color: var(--accent);
}

/* Cuerpo */
.tl-lede { font-size: var(--text-lg); line-height: var(--leading-relaxed); color: var(--fg-2); max-width: 60ch; }
.tl-p { font-size: var(--text-base); line-height: var(--leading-relaxed); color: var(--fg-2); }
.tl-small { font-size: var(--text-sm); color: var(--fg-3); }
.tl-num { font-family: var(--font-tech); font-weight: 700; font-variant-numeric: tabular-nums; }

/* Botones */
.tl-btn,
.tl-btn-outline,
.tl-btn-disabled {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  box-sizing: border-box; padding: 12px 24px; border-radius: var(--radius-lg);
  font-family: var(--font-sans); font-size: var(--text-sm); font-weight: 700; line-height: 20px;
  text-decoration: none; cursor: pointer; transition: background-color .15s ease, border-color .15s ease;
  border: 1px solid transparent;
}
.tl-btn { background: var(--accent); color: var(--accent-on); }
.tl-btn:hover { background: var(--accent-hover); color: var(--accent-on); }
.tl-btn:active { background: var(--accent-pressed); }
.tl-btn-outline { background: var(--black-30); color: var(--fg); border-color: var(--border-strong); backdrop-filter: blur(4px); }
.tl-btn-outline:hover { background: var(--white-10); color: var(--fg); }
.tl-btn-disabled { background: var(--color-ink-700); color: var(--fg-4); cursor: not-allowed; }
.tl-btn-lg { padding: 14px 28px; }
.tl-btn-block { width: 100%; }

/* Chips y píldoras */
.tl-chip,
.tl-chip-outline,
.tl-chip-soft,
.tl-pill {
  display: inline-flex; align-items: center; gap: 6px;
  border-radius: var(--radius-full);
  font-family: var(--font-tech); font-size: var(--text-xs); font-weight: 600;
  padding: 6px 14px; line-height: 1.2;
}
.tl-chip { background: var(--accent); color: var(--accent-on); font-weight: 700; }
.tl-chip-outline { border: 1px solid var(--accent); color: var(--accent); }
.tl-chip-soft { background: var(--accent-soft); color: var(--color-brand-400); text-transform: uppercase; letter-spacing: var(--tracking-label); padding: 4px 12px; }
.tl-pill { border: 1px solid var(--border); background: var(--black-40); color: var(--white-90); font-family: var(--font-sans); font-size: var(--text-sm); font-weight: 400; backdrop-filter: blur(4px); }
.tl-badge {
  display: inline-block; border-radius: var(--radius-full); background: var(--black-80);
  padding: 6px 14px; font-size: var(--text-xs); font-weight: 600; text-transform: uppercase;
  letter-spacing: var(--tracking-badge); color: var(--fg-3); backdrop-filter: blur(4px);
}

/* Tarjetas y contenedores */
.tl-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-2xl); }
.tl-card-pad { padding: 24px; }
.tl-icon-box {
  display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0;
  width: 40px; height: 40px; border-radius: var(--radius-xl); background: var(--accent-soft); color: var(--accent);
}
.tl-tile {
  display: flex; flex-direction: column; align-items: center; min-width: 64px;
  padding: 12px; border-radius: var(--radius-xl); border: 1px solid var(--border); background: var(--black-80); backdrop-filter: blur(4px);
}
.tl-tile .tl-num { font-size: var(--text-2xl); color: var(--fg); }
.tl-tile .tl-tile-label { margin-top: 4px; font-size: 9px; text-transform: uppercase; letter-spacing: var(--tracking-wider); color: var(--fg-3); }

/* Formularios (campos sobre oscuro) */
.tl-label { display: block; font-size: var(--text-sm); font-weight: 600; color: var(--fg-2); margin-bottom: 6px; }
.tl-input,
.tl-select {
  width: 100%; box-sizing: border-box; min-height: 48px;
  padding: 12px 14px; border-radius: var(--radius-lg);
  background: var(--bg-field); color: var(--fg);
  border: 1px solid var(--border-strong);
  font-family: var(--font-sans); font-size: var(--text-base);
}
.tl-input::placeholder { color: var(--fg-4); }
.tl-input:focus, .tl-select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--brand-15); }
.tl-input[aria-invalid="true"] { border-color: var(--color-error); }
.tl-field-error { font-size: var(--text-sm); color: var(--color-error); margin-top: 6px; }
.tl-checkbox { width: 20px; height: 20px; accent-color: var(--accent); }

/* Acordeón (FAQ) */
.tl-accordion { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-2xl); }
.tl-accordion summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 24px; font-weight: 600; color: var(--fg); cursor: pointer; list-style: none;
}
.tl-accordion summary::-webkit-details-marker { display: none; }
.tl-accordion .tl-accordion-body { padding: 0 24px 20px; color: var(--fg-2); font-size: var(--text-sm); line-height: var(--leading-relaxed); }

/* Superficies de sección */
.tl-section { padding: var(--section-y) 0; background: var(--bg); }
.tl-section-alt { padding: var(--section-y) 0; background: var(--bg-elevated); }
.tl-container { max-width: var(--container-7xl); margin: 0 auto; padding: 0 var(--gutter); }

/* Barra de anuncio + cabecera */
.tl-announce {
  display: flex; align-items: center; gap: 8px; padding: 8px 12px;
  background: var(--color-announce); border-bottom: 1px solid var(--brand-25);
  color: var(--white-90); font-size: var(--text-sm);
}
.tl-announce a { color: var(--accent); font-weight: 600; }
.tl-header { background: rgba(0,0,0,0.9); border-bottom: 1px solid var(--white-05); backdrop-filter: blur(8px); }
.tl-header-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 20px; max-width: var(--container-7xl); margin: 0 auto; }
.tl-nav-link { color: var(--fg-2); font-size: var(--text-sm); font-weight: 500; text-decoration: none; }
.tl-nav-link:hover { color: var(--fg); }


/* ===== Landing ===== */
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
html, body { margin: 0; background: var(--bg); color: var(--fg); }
a { color: var(--accent); }
a:hover { color: var(--accent-hover); }
.pg { font-family: var(--font-sans); background: var(--bg); color: var(--fg); overflow-x: clip; --sy: clamp(3rem, 6vw + 1rem, 5rem); }
.wrap { max-width: var(--container-7xl); margin: 0 auto; padding: 0 var(--gutter-sm); box-sizing: border-box; }
.salto { position: absolute; left: -9999px; top: 8px; z-index: 40; background: var(--accent); color: #000; padding: 8px 12px; border-radius: var(--radius-lg); font-weight: 700; }
.salto:focus-visible { left: 12px; }
.foco:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.ph { display: flex; align-items: center; justify-content: center; text-align: center; padding: 8px; box-sizing: border-box; background: repeating-linear-gradient(135deg, var(--color-ink-800) 0 8px, var(--color-ink-700) 8px 16px); color: var(--fg-3); font-family: var(--font-mono); font-size: var(--text-xs); border-radius: var(--radius-lg); }
.ico { flex: none; width: 16px; height: 16px; }

/* Anuncio + cabecera */
.anuncio { display: flex; align-items: center; justify-content: center; gap: 8px; height: 36px; padding: 0 12px; box-sizing: border-box; background: var(--color-announce); border-bottom: 1px solid var(--brand-25); color: var(--white-90); font-size: var(--text-sm); white-space: nowrap; overflow: hidden; }
.anuncio-l { color: var(--accent); font-weight: 600; text-decoration: none; }
.anuncio-l:hover { text-decoration: underline; }
.hd { position: sticky; top: 0; z-index: 20; background: rgba(0,0,0,0.9); border-bottom: 1px solid var(--white-05); backdrop-filter: blur(8px); }
.hd-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: var(--header-h); box-sizing: border-box; }
.logo { height: 32px; width: auto; display: block; }
.logo-a { display: inline-flex; border-radius: var(--radius-md); }
.hd-links { display: flex; gap: 28px; }
.hd-link { color: var(--fg-2); font-size: 15px; font-weight: 500; text-decoration: none; }
.hd-link:hover { color: var(--fg); }

/* Hero */
.hero { position: relative; min-height: clamp(640px, 44vw, 860px); display: flex; align-items: center; overflow: hidden; background: var(--color-ink-950); }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 15%; }
.hero-sx { position: absolute; inset: 0; background: linear-gradient(to right, rgba(0,0,0,0.88) 0%, rgba(0,0,0,0.55) 45%, rgba(0,0,0,0.4) 68%, rgba(0,0,0,0.88) 100%); }
.hero-sy { position: absolute; inset: 0; background: var(--scrim-hero-y); }
.hero-in { position: relative; padding-top: 72px; padding-bottom: 64px; display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr); gap: 48px; align-items: start; }
.pills { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; margin: 0; padding: 0; }
.pill { display: inline-flex; align-items: center; gap: 8px; }
.hero-h1 { margin: 22px 0 0; text-transform: uppercase; font-size: clamp(2.5rem, 1rem + 4.4vw, 4.5rem); line-height: 0.95; text-wrap: balance; max-width: 15ch; }
.hero-sub { margin: 20px 0 0; max-width: 42ch; font-size: var(--text-lg); line-height: var(--leading-relaxed); color: var(--white-90); text-shadow: 0 1px 12px rgba(0,0,0,0.6); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-nota { margin: 16px 0 0; font-size: var(--text-sm); color: var(--fg-2); display: flex; flex-wrap: wrap; gap: 6px 18px; list-style: none; padding: 0; }
.hero-nota-it { display: inline-flex; align-items: center; gap: 8px; }
.cuenta { margin-top: 30px; display: grid; gap: 10px; justify-items: start; }
.tiles { display: flex; gap: 8px; }
.tile-num { font-size: var(--text-2xl); }

.aliado { display: grid; gap: 14px; padding: 22px 24px; box-sizing: border-box; border-radius: var(--radius-2xl); border: 1px solid var(--border); background: var(--black-80); }
.aliado-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.aliado-k { font-family: var(--font-tech); font-size: var(--text-xs); letter-spacing: var(--tracking-label); text-transform: uppercase; color: var(--fg-3); }
.aliado-logo { height: 32px; width: auto; display: block; }
.aliado-n { font-family: var(--font-display); font-weight: 700; font-size: var(--text-xl); margin: 0; }
.aliado-l { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.aliado-it { display: flex; align-items: center; gap: 10px; font-size: var(--text-sm); color: var(--fg-2); }
.aliado-ic { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 28px; height: 28px; border-radius: var(--radius-md); background: var(--accent-soft); color: var(--accent); }
.aliado-p { margin: 0; font-size: var(--text-sm); color: var(--fg-3); line-height: 1.5; }
.aliado-movil { display: none; }

/* Solicitud */
.sol { padding: var(--sy) 0; background: var(--bg); }
.sol-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 48px; align-items: start; }
.sec-h2 { margin: 12px 0 0; font-size: clamp(1.5rem, 1rem + 1.6vw, 2.25rem); line-height: 1.15; }
.sol-p { margin: 14px 0 0; max-width: 40ch; }
.como { margin: 28px 0 0; }
.como-t { margin: 0 0 14px; font-family: var(--font-tech); font-size: var(--text-xs); letter-spacing: var(--tracking-label); text-transform: uppercase; color: var(--fg-3); }
.pasos { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; counter-reset: paso; }
.paso { display: flex; gap: 14px; align-items: flex-start; }
.paso-n { flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); font-family: var(--font-tech); font-weight: 700; font-size: var(--text-xs); display: inline-flex; align-items: center; justify-content: center; }
.paso-t { font-weight: 600; }
.paso-d { font-size: var(--text-sm); color: var(--fg-3); margin-top: 2px; }

.form { position: relative; background: var(--bg-elevated); border: 1px solid var(--border); border-radius: var(--radius-2xl); padding: 28px; box-sizing: border-box; display: grid; gap: 18px; box-shadow: var(--shadow-glow); }
.form-h { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 12px; }
.form-t { font-family: var(--font-display); font-weight: 700; font-size: var(--text-lg); margin: 0; }
.form-leyenda { margin: 0; font-size: var(--text-sm); color: var(--fg-3); }
.fs { border: 0; padding: 0; margin: 0; display: grid; gap: 18px; min-width: 0; }
.fs-t { padding: 0; margin: 0 0 2px; font-family: var(--font-tech); font-size: var(--text-xs); letter-spacing: var(--tracking-label); text-transform: uppercase; color: var(--accent); }
.fs-t-op { color: var(--fg-3); }
.g2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.campo { display: flex; flex-direction: column; justify-content: flex-end; min-width: 0; }
.campo-tel { grid-column: 1 / -1; }
.req { color: var(--accent); }
.opt { font-weight: 400; color: var(--fg-3); font-size: var(--text-xs); margin-left: 4px; white-space: nowrap; }
.ayuda { margin: 6px 0 0; font-size: var(--text-xs); color: var(--fg-3); }
.ta { min-height: 120px; resize: vertical; line-height: 1.5; font-family: var(--font-sans); }
.tel { display: grid; grid-template-columns: minmax(150px, max-content) minmax(0, 1fr); gap: 8px; }
.in { border-color: var(--white-40); }
.in::placeholder { color: var(--fg-3); }
.chk { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 12px; align-items: start; font-size: var(--text-sm); color: var(--fg-2); line-height: 1.5; min-height: 32px; padding: 4px 0; }
.chk-in { margin: 2px 0 0; appearance: none; width: 20px; height: 20px; border: 1px solid var(--white-40); border-radius: var(--radius-md); background: var(--bg-field); display: inline-grid; place-content: center; cursor: pointer; }
.chk-in::before { content: ""; width: 10px; height: 10px; border-radius: 2px; background: #000; transform: scale(0); }
.chk-in:checked { background: var(--accent); border-color: var(--accent); }
.chk-in:checked::before { transform: scale(1); }
.chk-a { color: var(--accent); }
.form-nota { text-align: center; font-size: var(--text-sm); color: var(--fg-3); margin: 0; }
.estado { margin: 0; text-align: center; font-size: var(--text-sm); color: var(--fg-2); min-height: 0; }

/* Motivos */
.ben { padding: var(--sy) 0; background: var(--bg-elevated); }
.sec-hd { max-width: 60ch; }
.ben-grid { margin-top: 40px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.ben-card { display: grid; grid-template-rows: auto 1fr; overflow: hidden; }
.ben-img { display: block; width: 100%; height: 120px; object-fit: cover; }
.ben-body { padding: 20px 24px 24px; display: grid; gap: 8px; align-content: start; }
.ben-t { margin: 0; font-size: var(--text-lg); }
.ben-d { margin: 0; font-size: var(--text-sm); }

/* Qué es */
.que { padding: var(--sy) 0; background: var(--bg); }
.que-p { margin: 16px 0 0; }
.que-grid { margin-top: 40px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.que-card { position: relative; overflow: hidden; min-height: 300px; display: flex; align-items: flex-end; }
.que-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.que-sc { position: absolute; inset: 0; background: linear-gradient(to top, var(--color-ink-900) 30%, rgba(8,8,15,0.55) 60%, transparent); }
.que-cap { position: relative; padding: 24px; display: grid; gap: 6px; }
.que-t { margin: 0; font-size: clamp(1.0625rem, 0.7rem + 0.9vw, 1.25rem); overflow-wrap: anywhere; }
.que-d { margin: 0; font-size: var(--text-sm); color: var(--fg-2); }
.cierre { margin-top: 40px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px; padding: 24px 28px; box-sizing: border-box; }
.cierre-t { margin: 0; font-size: var(--text-xl); }
.cierre-d { margin: 4px 0 0; font-size: var(--text-sm); color: var(--fg-3); }

/* Pie */
.ft { padding: 44px 0 28px; border-top: 1px solid var(--white-05); background: var(--color-ink-950); }
.ft-top { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 20px 32px; }
.ft-tag { margin: 12px 0 0; font-size: var(--text-sm); color: var(--fg-3); max-width: 40ch; line-height: 1.6; }
.ft-links { display: flex; align-items: center; gap: 12px; font-size: var(--text-sm); }
.ft-link { color: var(--fg-2); text-decoration: none; }
.ft-link:hover { color: var(--accent); }
.ft-sep { color: var(--fg-4); }
.ft-bot { margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--white-10); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; font-size: var(--text-sm); color: var(--fg-3); }

/* Barra CTA móvil */
.barra { display: none; }
.barra[hidden] { display: none !important; }
[hidden] { display: none !important; }
.estado:empty { display: none; }
.estado-error { color: #ff7b7b; }
.estado-ok { color: var(--accent); }
.in[aria-invalid="true"] { border-color: #ff7b7b; }
.err { margin: 6px 0 0; font-size: var(--text-xs); color: #ff7b7b; }
.err:empty { display: none; }
.exito { display: grid; gap: 12px; padding: 32px 28px; box-sizing: border-box; text-align: center; background: var(--bg-elevated); border: 1px solid var(--border); border-radius: var(--radius-2xl); }
.exito-ic { width: 56px; height: 56px; margin: 0 auto; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; background: var(--accent-soft); color: var(--accent); }
.exito-t { margin: 0; font-size: var(--text-xl); }
.exito-p { margin: 0; color: var(--fg-2); }
.trampa { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Portátil y tablet apaisada */
@media (max-width: 1100px) {
  .que-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .que-card { min-height: 260px; }
}
@media (max-width: 1023px) {
  .hero-in { grid-template-columns: 1fr; gap: 32px; }
  .hero-img { object-position: 22% 20%; }
  .aliado { max-width: 520px; }
  .sol-grid { grid-template-columns: 1fr; gap: 32px; }
  .ben-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
/* Móvil grande y tablet vertical */
@media (max-width: 767px) {
  .wrap { padding: 0 var(--gutter); }
  .hd-links { display: none; }
  .hd-cta { display: none; }
  .hero { min-height: 0; }
  .hero-img { object-position: 72% 30%; }
  .hero-sy { background: linear-gradient(to top, var(--color-ink-950) 0%, rgba(0,0,0,0.72) 55%, rgba(0,0,0,0.45) 100%); }
  .hero-in { padding-top: 48px; padding-bottom: 40px; }
  .hero-h1 { max-width: none; }
  .hero-cta .tl-btn, .hero-cta .tl-btn-outline { flex: 1 1 100%; }
  .aliado { grid-template-columns: 1fr; padding: 14px 16px; max-width: none; gap: 8px; }
  .aliado-p, .aliado-l { display: none; }
  .aliado-movil { display: block; color: var(--fg-2); }
  .aliado-n { font-size: var(--text-lg); }
  .anuncio { height: auto; min-height: 36px; padding: 6px 12px; white-space: normal; text-align: center; flex-wrap: wrap; gap: 4px 8px; line-height: 1.3; }
  .g2 { grid-template-columns: 1fr; }
  .form { padding: 20px; box-shadow: none; }
  .ben-grid { grid-template-columns: 1fr; }
  .que-grid { grid-template-columns: 1fr; }
  .que-card { min-height: 220px; }
  .cierre { flex-direction: column; align-items: flex-start; }
  .cierre-b { width: 100%; }
  .ft-top, .ft-bot { flex-direction: column; align-items: flex-start; }
  .barra { display: block; position: fixed; inset: auto 0 0 0; z-index: 30; padding: 10px 20px calc(10px + env(safe-area-inset-bottom)); background: rgba(0,0,0,0.92); border-top: 1px solid var(--white-05); backdrop-filter: blur(8px); }
  .pg { padding-bottom: 72px; }
}
@media (min-width: 480px) and (max-width: 767px) {
  .que-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 640px) and (max-width: 767px) {
  .g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ben-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 479px) {
  .hd-row { height: 60px; }
  .logo { height: 26px; }
  .anuncio { font-size: 13px; }
  .tiles { gap: 6px; }
}
@media (max-height: 500px) and (orientation: landscape) {
  .hd-row { height: 56px; }
  .hero-in { padding-top: 24px; padding-bottom: 28px; gap: 20px; }
  .hero-h1 { font-size: 2.25rem; }
  .hero-sub, .cuenta { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
        
