/* ==========================================================================
   Don Manager · Home
   Sistema: ink (oscuro) + frost (claro) + un único acento azul
   ========================================================================== */

:root {
  --ink-950: #050506;
  --ink-900: #0a0a0a;
  --ink-850: #0e0f11;
  --ink-800: #131417;
  --ink-700: #1a1a1a;
  --ink-600: #26282d;

  --text: #f5f6fa;
  --text-2: #a8adb7;
  --text-3: #8a909c;
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.18);

  --frost-50: #f5f6fa;
  --frost-100: #eceff5;
  --frost-200: #d8dfe7;
  --frost-text: #0a0a0a;
  --frost-text-2: #4b5160;

  --blue: #4a90d9;
  --blue-300: #8dbcee;
  --blue-700: #1e63bf;
  --amber: #b98a2e;
  --navy: #0a1523;

  --font-display: "Inter Tight", "Inter Tight Fallback", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-body: "Inter", "Inter Fallback", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-mono: "Geist Mono", "Geist Mono Fallback", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;

  --wrap: 1280px;
  --gutter: clamp(20px, 4vw, 48px);
  --section: clamp(84px, 11vw, 168px);
  --radius: 4px;
  --radius-lg: 8px;
  --header: 84px;

  --ease: cubic-bezier(0.2, 0.7, 0.1, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

/* Fuentes de reserva con métricas ajustadas: el texto no salta cuando llega la fuente web */
@font-face {
  font-family: "Inter Tight Fallback"; src: local("Arial Bold"), local("Arial-BoldMT"), local("Arial");
  font-weight: 600 800; size-adjust: 98%; ascent-override: 98.9%; descent-override: 24.6%; line-gap-override: 0%;
}
@font-face {
  font-family: "Inter Fallback"; src: local("Arial"), local("ArialMT");
  size-adjust: 107%; ascent-override: 90.2%; descent-override: 22.5%; line-gap-override: 0%;
}
@font-face { font-family: "Geist Mono Fallback"; src: local("Consolas"), local("Menlo"), local("Courier New"); size-adjust: 109%; }

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header) + 12px);
  background: var(--ink-900);
}

body {
  margin: 0;
  background: var(--ink-900);
  color: var(--text-2);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg, picture, canvas { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
p { margin: 0; }

h1, h2, h3 {
  margin: 0;
  color: var(--text);
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.04;
  text-wrap: balance;
}
.reg { font-size: 0.42em; vertical-align: 0.95em; line-height: 0; letter-spacing: 0; margin-left: 0.03em; font-weight: 600; }
h1 em, h2 em, .hero__tagline em { font-style: normal; color: var(--blue); }

h2 { font-size: clamp(2rem, 4.3vw, 3.6rem); }
h3 { font-size: clamp(1.25rem, 1.6vw, 1.45rem); letter-spacing: -0.012em; line-height: 1.18; }

:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 2px; }
::selection { background: var(--blue); color: #fff; }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.mono { font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; }

.skip-link {
  position: fixed; top: 12px; left: 12px; z-index: 100;
  padding: 10px 16px; background: var(--text); color: var(--ink-900);
  border-radius: var(--radius); font-weight: 600; transform: translateY(-200%);
}
.skip-link:focus { transform: none; }

.icon {
  width: 1.25em; height: 1.25em; flex: none;
  fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}
.icon--ring {
  width: 46px; height: 46px; padding: 12px;
  border: 1px solid var(--line-strong); border-radius: 50%;
  color: var(--text); stroke-width: 2.1;
}

/* ---------- capas fijas: retícula, alas de fondo y lienzo 3D ---------- */
.backdrop { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.backdrop__grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: calc(100% / 12) 100%, 100% 96px;
  -webkit-mask-image: radial-gradient(ellipse 85% 75% at 60% 40%, #000 0%, transparent 78%);
          mask-image: radial-gradient(ellipse 85% 75% at 60% 40%, #000 0%, transparent 78%);
}
.backdrop__wing { position: absolute; color: var(--ink-700); opacity: 0.55; }
.backdrop__wing--a { width: 120vmax; height: 100vmax; left: -46vmax; bottom: -58vmax; }
.backdrop__wing--b { width: 70vmax; height: 58vmax; left: -34vmax; bottom: -40vmax; color: #101012; opacity: 0.9; }

.scene {
  position: fixed; inset: 0; z-index: 1;
  width: 100%; height: 100%;
  pointer-events: none; opacity: 0;
}

.scroll-progress {
  position: fixed; top: 0; left: 0; z-index: 60;
  width: 100%; height: 2px; background: var(--blue);
  transform: scaleX(0); transform-origin: 0 50%;
}

main, .site-footer { position: relative; z-index: 2; }

/* ---------- revelado con difuminado ---------- */
.js [data-reveal] {
  opacity: 0;
  filter: blur(12px);
  transform: translate3d(0, 18px, 0);
  transition:
    opacity 0.9s var(--ease-out),
    filter 0.9s var(--ease-out),
    transform 0.9s var(--ease-out);
  transition-delay: calc(var(--i, 0) * 85ms);
  will-change: opacity, filter, transform;
}
.js [data-reveal].is-in { opacity: 1; filter: none; transform: none; will-change: auto; }

[data-enter] {
  animation: enter 0.9s var(--ease-out) both;
  animation-delay: calc(var(--i, 0) * 85ms);
}
@keyframes enter {
  from { opacity: 0; filter: blur(12px); transform: translate3d(0, 18px, 0); }
  to { opacity: 1; filter: none; transform: none; }
}

/* ---------- botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 54px; padding: 0 26px;
  border: 1px solid transparent; border-radius: var(--radius);
  font-family: var(--font-body); font-size: 0.98rem; font-weight: 600; letter-spacing: -0.005em;
  white-space: nowrap; cursor: pointer;
  transition: background-color 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease), transform 0.3s var(--ease);
}
.btn .icon { transition: transform 0.3s var(--ease); }
.btn:hover .icon:last-child { transform: translateX(4px); }
.btn--sm { min-height: 42px; padding: 0 18px; font-size: 0.9rem; }

.btn--primary { background: var(--text); color: var(--ink-900); }
.btn--primary:hover { background: var(--blue-700); color: #fff; }

.btn--ghost { border-color: var(--line-strong); color: var(--text); background: rgba(255, 255, 255, 0.02); }
.btn--ghost:hover { border-color: var(--text); background: rgba(255, 255, 255, 0.06); }

/* ---------- vidrio ---------- */
.glass {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.03));
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  -webkit-backdrop-filter: blur(22px) saturate(140%);
          backdrop-filter: blur(22px) saturate(140%);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.12) inset, 0 30px 60px -30px rgba(0, 0, 0, 0.7);
}

/* ---------- cabecera ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  height: var(--header);
  border-bottom: 1px solid transparent;
  transition: border-color 0.4s var(--ease), height 0.4s var(--ease);
}
.site-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(10, 10, 10, 0.94);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
          backdrop-filter: blur(18px) saturate(150%);
  opacity: 0; transition: opacity 0.4s var(--ease);
}
.site-header.is-scrolled { --header: 68px; border-bottom-color: var(--line); }
.site-header.is-scrolled::before, .menu-open .site-header::before { opacity: 1; }
.site-header__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.site-header__actions { display: flex; align-items: center; gap: 18px; flex: none; }

.brand { display: inline-flex; align-items: center; flex: 0 1 178px; min-width: 128px; color: var(--text); transition: flex-basis 0.4s var(--ease); }
.brand__logo { width: 100%; height: auto; }
.site-header.is-scrolled .brand { flex-basis: 156px; }
.site-footer .brand { width: 228px; max-width: 100%; }

.site-nav { display: flex; align-items: center; gap: clamp(16px, 2.2vw, 34px); }
.site-nav a {
  position: relative; padding: 8px 0; white-space: nowrap;
  color: var(--text-2); font-size: 0.92rem; font-weight: 500;
  transition: color 0.25s var(--ease);
}
.site-nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px;
  background: var(--blue); transform: scaleX(0); transform-origin: 0 50%;
  transition: transform 0.35s var(--ease);
}
.site-nav__cta { display: none; }
.site-nav a:hover, .site-nav a[aria-current] { color: var(--text); }
.site-nav a:hover::after, .site-nav a[aria-current]::after { transform: scaleX(1); }

.lang { display: inline-flex; align-items: center; gap: 0; color: var(--text-3); font-family: var(--font-mono); font-size: 0.8rem; letter-spacing: 0.08em; }
.lang button {
  min-width: 44px; min-height: 44px; padding: 6px 4px; border: 0; background: none; color: var(--text-3); cursor: pointer;
  transition: color 0.25s var(--ease);
}
.lang button:hover { color: var(--text); }
.lang button[aria-pressed="true"] { color: var(--text); text-decoration: underline; text-decoration-color: var(--blue); text-decoration-thickness: 2px; text-underline-offset: 8px; }

.nav-toggle {
  display: none; width: 44px; height: 44px; padding: 0;
  border: 1px solid var(--line-strong); border-radius: var(--radius); background: none; cursor: pointer;
  position: relative;
}
.nav-toggle span {
  position: absolute; left: 12px; right: 12px; height: 2px; background: var(--text);
  transition: transform 0.35s var(--ease), top 0.35s var(--ease);
}
.nav-toggle span:nth-child(1) { top: 17px; }
.nav-toggle span:nth-child(2) { top: 25px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { top: 21px; transform: rotate(-45deg); }

/* ---------- etiquetas ---------- */
.eyebrow, .kicker {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--text-2);
}
.kicker > span:first-child { color: var(--blue); }
.kicker > span:first-child::after { content: ""; display: inline-block; width: 28px; height: 1px; margin-left: 12px; vertical-align: middle; background: var(--line-strong); }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 4px rgba(74, 144, 217, 0.18); }

/* ---------- hero ---------- */
.hero {
  position: relative;
  min-height: 100vh; min-height: 100svh;
  padding-top: calc(var(--header) + clamp(32px, 6vh, 80px));
  display: flex; flex-direction: column; justify-content: space-between;
}
.hero__grid {
  flex: 1;
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px;
  align-items: center;
}
.hero__copy { grid-column: 1 / span 7; grid-row: 1; position: relative; z-index: 2; }
.hero__stage { grid-column: 8 / span 5; grid-row: 1; position: relative; align-self: stretch; min-height: 420px; }

.hero__title {
  margin-top: 26px;
  font-size: clamp(2.5rem, min(4.7vw, 8.8vh), 4.3rem);
  font-weight: 800; letter-spacing: -0.032em; line-height: 1;
}
.hero__title .line { display: block; }
.hero__lead { max-width: 56ch; margin-top: 30px; font-size: clamp(1.02rem, 1.25vw, 1.2rem); color: var(--text-2); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 38px; }
.hero__tagline {
  margin-top: 34px; padding-top: 22px; max-width: 30ch;
  border-top: 1px solid var(--line);
  font-family: var(--font-display); font-weight: 600; font-size: 1.12rem; letter-spacing: -0.012em; line-height: 1.25;
  color: var(--text);
}

.hero__poster {
  display: none; position: absolute; top: 50%; right: -8%; width: min(118%, 640px); max-width: none; height: auto;
  transform: translateY(-52%);
}
.no-webgl .hero__poster { display: block; }
img[data-poster]:not([src]) { display: none !important; }
.finale__poster { display: none; position: absolute; z-index: -1; top: 6%; left: 50%; width: min(70%, 520px); height: auto; transform: translateX(-50%); opacity: 0.5; }
.no-webgl .finale__poster { display: block; }

.hud-tag {
  position: absolute; display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--text-2);
}
.hud-tag span { color: var(--blue); }
.hud-tag::before { content: ""; width: 34px; height: 1px; background: var(--line-strong); }
.hud-tag--a { top: 6%; right: 0; }
.hud-tag--b { bottom: 20%; left: 0; }
.hud-tag--c { bottom: 5%; right: 4%; }

.hero__hud {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding-block: 22px; margin-top: clamp(28px, 5vh, 64px);
  border-top: 1px solid var(--line);
  font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--text-3);
}
.hero__hud b { color: var(--text); font-weight: 500; }
.hero__hud-scroll { display: inline-flex; align-items: center; gap: 12px; }
.hero__hud-scroll i { position: relative; width: 1px; height: 28px; background: var(--line-strong); overflow: hidden; }
.hero__hud-scroll i::after { content: ""; position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: var(--blue); animation: drip 2.2s var(--ease) 2; }
@keyframes drip { to { top: 110%; } }

/* ---------- franja de confianza ---------- */
.trust { background: var(--ink-850); border-block: 1px solid var(--line); }
.trust__layout {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(24px, 4vw, 64px); align-items: center;
  padding-block: clamp(36px, 5vw, 72px);
}
/* Foto del equipo en grande: sin marco, se funde con el fondo por los cuatro bordes */
.trust__photo { grid-column: 1 / span 7; position: relative; margin: 0 0 0 -4%; }
.trust__photo picture {
  display: block; aspect-ratio: 3 / 2; overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 15%, #000 90%, transparent 100%), linear-gradient(to bottom, transparent 0%, #000 22%, #000 80%, transparent 100%);
          mask-image: linear-gradient(to right, transparent 0%, #000 15%, #000 90%, transparent 100%), linear-gradient(to bottom, transparent 0%, #000 22%, #000 80%, transparent 100%);
  -webkit-mask-composite: source-in;
          mask-composite: intersect;
}
.trust__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.trust__photo figcaption {
  position: absolute; left: 9%; bottom: 7%;
  display: flex; flex-direction: column; gap: 4px; padding: 12px 16px;
  background: linear-gradient(180deg, rgba(10, 10, 10, 0.84), rgba(10, 10, 10, 0.74));
}
.trust__photo figcaption strong { color: var(--text); font-family: var(--font-body); font-weight: 600; font-size: 1rem; letter-spacing: -0.005em; }
.trust__photo figcaption .mono { color: var(--blue-300); }

.trust__grid { grid-column: 8 / span 5; display: grid; grid-template-columns: minmax(0, 1fr); }
.trust__item {
  display: flex; align-items: center; gap: 16px;
  padding: 30px clamp(14px, 2vw, 28px);
  border-left: 1px solid var(--line);
}
.trust__item { border-left: 0; padding-left: 0; padding-block: 22px; }
.trust__item + .trust__item { border-top: 1px solid var(--line); }
.trust__item p { display: flex; flex-direction: column; gap: 2px; line-height: 1.3; }
.trust__item strong { color: var(--text); font-family: var(--font-body); font-weight: 600; font-size: 0.98rem; letter-spacing: -0.005em; }
.trust__item span { color: var(--text-3); font-size: 0.85rem; }
.trust__badge { flex: none; width: 112px; padding: 10px 12px; background: var(--frost-50); border-radius: var(--radius); }

/* ---------- secciones ---------- */
.section { position: relative; padding-block: var(--section); background: var(--ink-900); }
.section--raised { background: var(--ink-850); border-block: 1px solid var(--line); }
.section__head { max-width: 860px; margin-bottom: clamp(44px, 6vw, 84px); }
.section__head h2, .formats__copy h2, .inspection__copy h2, .instructor__copy h2, .finale__copy h2 { margin-top: 22px; }
.section__lead { max-width: 60ch; margin-top: 24px; font-size: clamp(1.02rem, 1.2vw, 1.16rem); }

.section--frost { background: var(--frost-50); color: var(--frost-text-2); }
.section--frost h2, .section--frost h3 { color: var(--frost-text); }
.section--frost h2 em { color: var(--blue-700); }
.section--frost .kicker { color: var(--frost-text-2); }
.section--frost .kicker > span:first-child { color: var(--blue-700); }
.section--frost .kicker > span:first-child::after { background: var(--frost-200); }
.section--frost .icon--ring { color: var(--frost-text); border-color: #c3ccd8; }
.section--frost a { color: var(--blue-700); text-decoration: underline; text-underline-offset: 3px; }

.fineprint { margin-top: 24px; font-size: 0.82rem; color: var(--text-3); }
.fineprint--center { text-align: center; margin-top: 40px; }

/* ---------- tarjetas de programas ---------- */
.cards { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.card {
  --mx: 50%; --my: 0%;
  position: relative; grid-column: span 3;
  display: flex; flex-direction: column;
  padding: clamp(24px, 2.4vw, 36px);
  background: var(--ink-900);
  overflow: hidden; isolation: isolate;
  transition: background-color 0.4s var(--ease);
}
.card--feature { grid-column: span 6; min-height: 360px; background: var(--ink-850); }
.card::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(420px circle at var(--mx) var(--my), rgba(74, 144, 217, 0.2), transparent 62%);
  opacity: 0; transition: opacity 0.45s var(--ease);
}
.card::after {
  content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 2px;
  background: var(--blue); transform: scaleX(0); transform-origin: 0 50%;
  transition: transform 0.6s var(--ease-out);
}
.card:hover::before { opacity: 1; }
.card:hover::after { transform: scaleX(1); }

.card__top { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: clamp(36px, 5vw, 76px); }
.card__n { font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.1em; color: var(--blue); }
.card h3 { max-width: 22ch; }
.card--feature h3 { font-size: clamp(1.5rem, 2.3vw, 2.1rem); letter-spacing: -0.025em; line-height: 1.08; }
.card p { margin-top: 14px; font-size: 0.96rem; max-width: 52ch; }
.card__link {
  display: inline-flex; align-items: center; gap: 10px; margin-top: auto; padding-top: 28px;
  color: var(--text); font-family: var(--font-body); font-weight: 600; font-size: 0.94rem;
}
.card__link .icon { color: var(--blue); transition: transform 0.3s var(--ease); }
.card__link:hover .icon { transform: translate(3px, -3px); }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.chips li {
  padding: 6px 12px; border: 1px solid var(--line-strong); border-radius: var(--radius);
  font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-2);
}

/* ---------- pasos ---------- */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); counter-reset: step; }
.step { position: relative; padding-top: 34px; border-top: 1px solid var(--line-strong); }
.step::before { content: ""; position: absolute; top: -1px; left: 0; width: 56px; height: 1px; background: var(--blue); }
.step__n {
  display: block; margin-bottom: 40px;
  font-family: var(--font-display); font-weight: 800; font-size: clamp(3rem, 6vw, 5.2rem); letter-spacing: -0.06em; line-height: 0.85;
  color: transparent; -webkit-text-stroke: 1px var(--line-strong);
}
.step p { margin-top: 12px; font-size: 0.98rem; max-width: 40ch; }

/* ---------- formatos + fotografía con difuminado ---------- */
.formats__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(24px, 4vw, 64px); align-items: center; }
.formats__copy { grid-column: 1 / span 6; }
.formats .photo { grid-column: 7 / span 6; }

.options { display: grid; gap: 0; margin-top: 40px; border-top: 1px solid var(--frost-200); }
.option { display: flex; gap: 20px; padding: 24px 0; border-bottom: 1px solid var(--frost-200); }
.option p { margin-top: 6px; font-size: 0.96rem; max-width: 48ch; }

.photo { position: relative; margin: 0; }
.photo__frame {
  position: relative; overflow: hidden; aspect-ratio: 4 / 5; border-radius: var(--radius-lg);
  -webkit-mask-image: linear-gradient(to bottom, #000 80%, transparent 100%), linear-gradient(to right, transparent 0%, #000 14%);
          mask-image: linear-gradient(to bottom, #000 80%, transparent 100%), linear-gradient(to right, transparent 0%, #000 14%);
  -webkit-mask-composite: source-in;
          mask-composite: intersect;
}
.photo__frame picture, .photo__frame img { width: 100%; height: 100%; }
.photo__frame img { object-fit: cover; object-position: 50% 64%; }
.photo__frame picture { transform: scale(calc(1.12 - var(--p, 0) * 0.12)); }
.photo__frame .photo__blur {
  position: absolute; inset: -6%; width: 112%; height: 112%; max-width: none;
  filter: blur(18px) saturate(0.6);
  opacity: calc(1 - var(--p, 0));
}
.photo__veil {
  position: absolute; inset: 0;
  background: linear-gradient(200deg, transparent 62%, rgba(245, 246, 250, 0.4) 100%);
}
.photo__caption {
  position: absolute; left: -6%; bottom: 12%;
  display: flex; flex-direction: column; gap: 6px;
  padding: 18px 22px; min-width: 250px;
  background: linear-gradient(180deg, rgba(10, 10, 10, 0.88), rgba(10, 10, 10, 0.8));
  color: var(--text-2);
}
.photo__caption strong { color: var(--text); font-family: var(--font-body); font-weight: 600; font-size: 1.05rem; letter-spacing: -0.005em; }
.photo__caption .mono { color: var(--blue-300); }

/* ---------- simulación de inspección ---------- */
.inspection__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(24px, 4vw, 64px); align-items: center; }
.inspection .panel { grid-column: 1 / span 5; }
.inspection__copy { grid-column: 7 / span 6; }

.panel {
  position: relative; padding: 8px;
  border: 1px solid var(--line-strong); border-radius: var(--radius-lg);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.015));
  box-shadow: 0 60px 90px -50px rgba(74, 144, 217, 0.45), 0 1px 0 rgba(255, 255, 255, 0.12) inset;
  transform: perspective(1500px) rotateY(9deg) rotateX(3deg);
  transform-origin: 0 50%;
}
.js .panel[data-reveal] { transform: perspective(1500px) rotateY(22deg) rotateX(6deg) translate3d(0, 18px, 0); }
.js .panel[data-reveal].is-in { transform: perspective(1500px) rotateY(9deg) rotateX(3deg); }
.panel__bar { display: flex; justify-content: space-between; align-items: center; padding: 14px 16px; color: var(--text-2); }
.panel__live { display: inline-flex; align-items: center; gap: 8px; color: var(--blue-300); }
.panel__live i { width: 6px; height: 6px; border-radius: 50%; background: var(--blue); animation: pulse 1.8s ease-in-out 2; }
@keyframes pulse { 50% { opacity: 0.25; } }
.panel__list { border-radius: var(--radius); overflow: hidden; background: var(--ink-950); }
.panel__list li {
  display: flex; align-items: center; gap: 14px; padding: 18px 18px;
  border-bottom: 1px solid var(--line); color: var(--text); font-size: 0.98rem;
}
.panel__list li:last-child { border-bottom: 0; }
.panel__list li > .icon { color: var(--text-3); }
.panel__list li > span { flex: 1; }
.panel__list b { display: inline-flex; align-items: center; justify-content: center; font-weight: 500; }
.panel__list b.ok { width: 26px; height: 26px; border-radius: 50%; background: rgba(74, 144, 217, 0.16); color: var(--blue-300); }
.panel__list b.ok .icon { width: 14px; height: 14px; stroke-width: 2.6; }
.panel__list b.todo {
  padding: 4px 10px; border: 1px solid rgba(185, 138, 46, 0.55); border-radius: var(--radius);
  font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; color: #e0b861;
}
.panel__foot { padding: 12px 16px 8px; color: var(--text-3); }

.ticks { display: grid; gap: 14px; margin-top: 34px; }
.ticks li { display: flex; gap: 14px; align-items: flex-start; color: var(--text); }
.ticks .icon { margin-top: 3px; color: var(--blue); stroke-width: 2.4; }
.ticks--sm { gap: 10px; margin-top: 22px; font-size: 0.94rem; }
.inspection__copy .btn { margin-top: 30px; }

/* ---------- instructor y equipo ---------- */
.instructor__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(24px, 4vw, 64px); align-items: center; }
.instructor__copy { grid-column: 1 / span 6; }
.instructor__copy > p { margin-top: 26px; max-width: 58ch; }
.team { grid-column: 8 / span 5; }
.team__frame { position: relative; }
.team__photo { aspect-ratio: 4 / 5; }
.team__tick { position: absolute; z-index: 3; width: 22px; height: 22px; border: 0 solid var(--blue); pointer-events: none; }
.team__tick--tl { top: -8px; left: -8px; border-top-width: 2px; border-left-width: 2px; }
.team__tick--br { right: -8px; bottom: -8px; border-right-width: 2px; border-bottom-width: 2px; }
.team__meta { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 20px; color: var(--text-2); }
.team__meta span::before { content: ""; display: inline-block; width: 6px; height: 6px; margin-right: 10px; border-radius: 50%; background: var(--blue); vertical-align: middle; }

.quote { margin: 38px 0 0; padding-left: 24px; border-left: 2px solid var(--blue); }
.quote p { color: var(--text); font-family: var(--font-display); font-weight: 600; font-size: clamp(1.3rem, 2vw, 1.8rem); letter-spacing: -0.022em; line-height: 1.2; }
.quote footer { display: flex; flex-direction: column; gap: 4px; margin-top: 18px; }
.quote footer strong { color: var(--text); font-family: var(--font-body); font-weight: 600; }
.quote footer span { color: var(--text-3); font-size: 0.88rem; }

.portrait { position: relative; margin: 0; overflow: hidden; border-radius: var(--radius-lg); background: var(--ink-800); border: 1px solid var(--line); }
.portrait picture { display: block; width: 100%; height: 100%; }
.portrait img {
  width: 100%; height: 100%; object-fit: cover; object-position: 60% 30%;
  transform: scale(calc(1.08 - var(--p, 0) * 0.08));
}
.portrait::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  -webkit-backdrop-filter: blur(16px) grayscale(1); backdrop-filter: blur(16px) grayscale(1);
  opacity: calc(1 - var(--p, 0));
}
.portrait__veil, .portrait figcaption { z-index: 2; }
.portrait__veil {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to top, rgba(10, 10, 10, 0.72) 0%, rgba(10, 10, 10, 0) 34%);
}
.portrait figcaption {
  position: absolute; left: 14px; bottom: 14px; max-width: calc(100% - 28px);
  display: flex; flex-direction: column; gap: 4px; padding: 14px 18px;
  background: linear-gradient(180deg, rgba(10, 10, 10, 0.84), rgba(10, 10, 10, 0.74));
}
.portrait figcaption strong { color: var(--text); font-family: var(--font-body); font-weight: 600; font-size: 1.02rem; letter-spacing: -0.005em; }
.portrait figcaption .mono { color: var(--blue-300); }


/* ---------- software ---------- */
.products { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.product {
  position: relative; display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 12px; align-items: center;
  min-height: 440px; padding: clamp(26px, 3vw, 44px);
  border-radius: var(--radius-lg); border: 1px solid var(--line-strong);
  overflow: hidden; color: rgba(255, 255, 255, 0.94);
}
.product--tablepilot { background: radial-gradient(120% 120% at 100% 0%, #173053 0%, #0d1d33 38%, var(--navy) 100%); }
.product--stockos { background: radial-gradient(120% 120% at 100% 0%, #9a7224 0%, #6b4911 36%, #2a1c07 100%); }
.product h3 { color: #fff; font-size: clamp(1.4rem, 2vw, 1.85rem); letter-spacing: -0.025em; }
.product p { margin-top: 12px; font-size: 0.95rem; }
.product__brand { margin: 0 0 28px; }
.product__brand img { width: auto; height: 92px; }
.product--stockos .product__brand img { height: 56px; }
.product .ticks { color: #fff; }
.product .ticks li { color: rgba(255, 255, 255, 0.92); }
.product .ticks .icon { color: #fff; }
.product .card__link { padding-top: 26px; color: #fff; }
.product .card__link .icon { color: #fff; }

.device {
  position: relative; width: 130%; aspect-ratio: 4 / 3; padding: 10px;
  border-radius: 18px; background: linear-gradient(145deg, #2b2d33, #0b0b0d);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.14) inset, -30px 50px 70px -30px rgba(0, 0, 0, 0.75);
  transform: perspective(1400px) rotateY(-24deg) rotateX(10deg) rotateZ(2deg);
  transform-origin: 0 50%;
  transition: transform 0.9s var(--ease-out);
}
.product:hover .device { transform: perspective(1400px) rotateY(-14deg) rotateX(6deg) rotateZ(1deg); }
.device__screen { height: 100%; padding: 14px; border-radius: 10px; background: #07080a; overflow: hidden; display: flex; flex-direction: column; gap: 12px; }
.ui-bar { display: flex; justify-content: space-between; color: rgba(255, 255, 255, 0.6); }
.ui-bar .mono { font-size: 0.62rem; }

.floor { flex: 1; display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; align-content: center; }
.floor .t { aspect-ratio: 1; border: 1px solid rgba(255, 255, 255, 0.2); border-radius: 4px; }
.floor .t--r { border-radius: 50%; }
.floor .t--w { aspect-ratio: 2 / 1; align-self: center; }
.floor .t.on { background: rgba(74, 144, 217, 0.85); border-color: transparent; box-shadow: 0 0 18px rgba(74, 144, 217, 0.55); }

.bars { flex: 1; display: flex; align-items: flex-end; gap: 9px; padding-top: 8px; border-bottom: 1px solid rgba(255, 255, 255, 0.2); }
.bars span { flex: 1; height: calc(var(--v) * 100%); border-radius: 2px 2px 0 0; background: linear-gradient(to top, rgba(185, 138, 46, 0.35), #e0b861); }
.bars span.low { background: linear-gradient(to top, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.5)); }

/* ---------- FAQ ---------- */
.faq__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(24px, 4vw, 64px); align-items: start; }
.faq .section__head { grid-column: 1 / span 5; margin-bottom: 0; position: sticky; top: calc(var(--header) + 32px); }
.faq__list { grid-column: 7 / span 6; border-top: 1px solid var(--frost-200); }
.faq details { border-bottom: 1px solid var(--frost-200); }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 26px 0; cursor: pointer; list-style: none;
  color: var(--frost-text); font-family: var(--font-body); font-weight: 600; font-size: clamp(1.02rem, 1.3vw, 1.18rem); letter-spacing: -0.01em; line-height: 1.3;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { width: 22px; height: 22px; color: var(--blue-700); transition: transform 0.4s var(--ease); }
.faq details[open] summary .icon { transform: rotate(45deg); }
.faq details p { padding: 0 48px 28px 0; max-width: 62ch; }

/* ---------- cierre y contacto ---------- */
.finale { background: transparent; padding-bottom: clamp(84px, 10vw, 140px); }
.finale::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(to bottom, var(--ink-900) 0%, rgba(10, 10, 10, 0) 22%, rgba(10, 10, 10, 0) 70%, var(--ink-950) 100%);
}
.finale__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(24px, 4vw, 64px); align-items: center; }
.finale__copy { grid-column: 1 / span 5; }
.finale__copy h2 { font-size: clamp(2.4rem, 5vw, 4.2rem); letter-spacing: -0.03em; }
.form { grid-column: 7 / span 6; }

.contact-list { display: grid; gap: 6px; margin-top: 40px; }
.contact-list li { display: flex; align-items: center; gap: 16px; color: var(--text); font-family: var(--font-body); font-weight: 600; font-size: 1.05rem; letter-spacing: -0.005em; }
.contact-list a { display: inline-block; padding: 10px 0; transition: color 0.25s var(--ease); }
.contact-list a:hover { color: var(--blue-300); }

.form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; padding: clamp(22px, 3vw, 40px); }
/* el panel del formulario es más opaco: el ala se ve detrás como un brillo, sin quitar contraste a las etiquetas */
.form.glass { background: linear-gradient(180deg, rgba(16, 17, 20, 0.84), rgba(10, 10, 10, 0.78)); }
.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; margin: 0; padding: 0; border: 0; }
.field--full { grid-column: 1 / -1; }
.field label, .field legend {
  padding: 0; font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-2);
}
.field legend { margin-bottom: 8px; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px;
  border: 1px solid var(--line-strong); border-radius: var(--radius);
  background: rgba(5, 5, 6, 0.55); color: var(--text);
  transition: border-color 0.25s var(--ease), background-color 0.25s var(--ease);
}
.field textarea { resize: vertical; min-height: 96px; }
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--text-2) 50%), linear-gradient(135deg, var(--text-2) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%; background-size: 5px 5px; background-repeat: no-repeat; }
.field select option { background: var(--ink-800); color: var(--text); }
.field input:hover, .field select:hover, .field textarea:hover { border-color: rgba(255, 255, 255, 0.34); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); background: rgba(5, 5, 6, 0.8); box-shadow: 0 0 0 3px rgba(74, 144, 217, 0.22); }

.seg { flex-direction: row; flex-wrap: wrap; gap: 10px; }
.seg legend { float: left; width: 100%; }
.seg label { position: relative; letter-spacing: 0; text-transform: none; font-family: var(--font-body); font-size: 0.95rem; cursor: pointer; }
.seg input { position: absolute; opacity: 0; width: 1px; height: 1px; min-height: 0; padding: 0; }
.seg span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 20px; border: 1px solid var(--line-strong); border-radius: var(--radius); color: var(--text-2); transition: all 0.25s var(--ease); }
.seg input:checked + span { border-color: var(--blue); background: rgba(74, 144, 217, 0.16); color: var(--text); }
.seg input:focus-visible + span { outline: 2px solid var(--blue); outline-offset: 3px; }

.form__foot { flex-direction: row; align-items: center; flex-wrap: wrap; gap: 18px; margin-top: 6px; }
.form-status { font-size: 0.88rem; color: var(--blue-300); }
.form-note { margin-left: auto; font-size: 0.82rem; color: var(--text-3); }
.field:has(> [required]) > label::after { content: " *"; color: var(--blue-300); }

/* ---------- pie ---------- */
.site-footer { background: var(--ink-950); border-top: 1px solid var(--line); padding-top: clamp(56px, 7vw, 96px); font-size: 0.93rem; }
.site-footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 0.8fr 1.1fr; gap: clamp(24px, 4vw, 64px); padding-bottom: clamp(48px, 6vw, 80px); }
.site-footer__brand .mono { margin-top: 16px; color: var(--text-3); letter-spacing: 0.16em; }
.site-footer__label { margin-bottom: 18px; color: var(--text-3); font-family: var(--font-mono); font-weight: 400; font-size: 0.75rem; letter-spacing: 0.1em; line-height: 1.4; text-transform: uppercase; }
.site-footer nav a, .site-footer__grid > div > a, .site-footer__grid > div > span { display: block; padding: 5px 0; color: var(--text-2); transition: color 0.25s var(--ease); }
.site-footer nav a:hover, .site-footer__grid > div > a:hover { color: var(--text); }
.site-footer__legal {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px;
  padding-block: 26px; border-top: 1px solid var(--line);
  color: var(--text-3); font-size: 0.8rem;
}
.site-footer__legal a:hover { color: var(--text); }

/* ==========================================================================
   Adaptación
   ========================================================================== */
@media (max-width: 68.75em) {
  .card { grid-column: span 6; }
  .card--feature { grid-column: span 6; }
  .products { grid-template-columns: 1fr; }
  .device { max-width: 440px; }
}

@media (max-width: 68.75em) {
  :root { --header: 64px; }
  .nav-toggle { display: block; }
  html:not(.js) .nav-toggle { display: none; }
  .site-header .btn--sm { display: none; }
  .site-nav {
    position: fixed; inset: var(--header) 0 0 0; z-index: 40;
    flex-direction: column; align-items: flex-start; justify-content: flex-start; gap: 0;
    padding: 24px var(--gutter) 40px;
    background: rgba(10, 10, 10, 0.94);
    -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px);
    opacity: 0; visibility: hidden; transform: translateY(-12px);
    transition: opacity 0.35s var(--ease), transform 0.35s var(--ease), visibility 0.35s;
    overflow-y: auto;
  }
  .menu-open .site-nav { opacity: 1; visibility: visible; transform: none; }
  .menu-open { overflow: hidden; }
  .site-nav a { width: 100%; padding: 20px 0; border-bottom: 1px solid var(--line); font-family: var(--font-display); font-size: 1.6rem; font-weight: 600; letter-spacing: -0.03em; color: var(--text); }
  .site-nav a::after { display: none; }
  .site-nav__cta { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; width: 100%; margin-top: 32px; }
  .site-nav .site-nav__cta .btn { white-space: normal; min-width: 0; text-align: center; }
  .site-nav .site-nav__cta .btn {
    width: 100%; padding: 0 26px; border-bottom: 1px solid transparent;
    font-family: var(--font-body); font-size: 0.98rem; font-weight: 600; letter-spacing: -0.005em;
  }
  .site-nav .site-nav__cta .btn--primary { color: var(--ink-900); }
  .site-nav .site-nav__cta .btn--ghost { border: 1px solid var(--line-strong); }
  .menu-open .site-header::before { background: var(--ink-900); }
}

@media (max-width: 60em) {
  .hero__copy { grid-column: 1 / -1; grid-row: auto; padding-top: 30vh; display: flex; flex-direction: column; align-items: flex-start; }
  .hero__copy::before {
    content: ""; position: absolute; z-index: -1;
    inset: 0 calc(var(--gutter) * -1) -40px;
    background: linear-gradient(to bottom, rgba(10, 10, 10, 0) 18vh, rgba(10, 10, 10, 0.94) 29vh);
  }
  .finale__poster { opacity: 0.16; }
  .hero__copy .eyebrow { order: 1; }
  .hero__title { order: 2; }
  .hero__cta { order: 3; margin-top: 28px; width: 100%; }
  .hero__lead { order: 4; margin-top: 28px; }
  .hero__tagline { order: 5; }
  .trust__layout { gap: 8px; padding-block: 28px 12px; }
  .trust__photo { grid-column: 1 / -1; justify-self: center; width: min(calc(100% + var(--gutter) * 1.2), calc(76vh * 4 / 3)); margin: 0; }
  .trust__photo picture { aspect-ratio: 4 / 3; }
  .trust__photo figcaption { left: 8%; bottom: 9%; }
  .trust__grid { grid-column: 1 / -1; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(20px, 4vw, 40px); }
  .trust__item:nth-child(2) { border-top: 0; }
  .hero__stage { display: none; }
  .no-webgl .hero__copy { padding-top: 0; }
  .no-webgl .hero__stage { display: block; grid-column: 1 / -1; grid-row: 1; min-height: 34vh; }
  .no-webgl .hero__poster { right: 50%; width: min(86%, 420px); transform: translate(50%, -50%); }
  .no-webgl .hud-tag { display: none; }
  .hero__hud span:nth-child(2) { display: none; }

  .formats__copy, .formats .photo,
  .inspection .panel, .inspection__copy,
  .instructor__copy, .team,
  .faq .section__head, .faq__list,
  .finale__copy, .form { grid-column: 1 / -1; }
  .faq .section__head { position: static; }
  .inspection .panel { order: 2; transform: none; }
  .js .panel[data-reveal], .js .panel[data-reveal].is-in { transform: none; }
  .photo__frame { aspect-ratio: 4 / 3; }
  .photo__frame img { object-position: 50% 72%; }
  .team { max-width: min(30rem, calc(76vh * 0.8)); }
  .formats .photo { width: 100%; max-width: calc(76vh * 4 / 3); }
  .photo__caption { position: relative; left: auto; bottom: auto; width: fit-content; max-width: calc(100% - 24px); margin: -40px 12px 0; }
  .team__tick--tl { top: -6px; left: -6px; }
  .team__tick--br { right: -6px; bottom: -6px; }
  .steps { grid-template-columns: 1fr; }
  .step__n { margin-bottom: 20px; }
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 40em) {
  body { font-size: 1rem; }
  .card, .card--feature { grid-column: 1 / -1; min-height: 0; }
  .trust__grid { grid-template-columns: minmax(0, 1fr); }
  .trust__item:nth-child(2) { border-top: 1px solid var(--line); }
  .hero__cta .btn { width: 100%; min-height: 54px; padding: 10px 18px; white-space: normal; text-align: center; }
  .trust__photo figcaption { position: relative; left: auto; bottom: auto; width: fit-content; max-width: calc(100% - var(--gutter) * 1.2 - 24px); margin: -30px calc(var(--gutter) * 0.6 + 12px) 0; }
  .photo__frame { aspect-ratio: 1 / 1; }
  .formats .photo { max-width: 76vh; }
  .product { grid-template-columns: 1fr; min-height: 0; }
  .device { width: 100%; margin-top: 20px; transform: perspective(1200px) rotateX(14deg); transform-origin: 50% 100%; }
  .product:hover .device { transform: perspective(1200px) rotateX(8deg); }
  .form { grid-template-columns: 1fr; }
  .site-footer__grid { grid-template-columns: 1fr; }
  .site-footer nav a, .site-footer__grid > div > a, .site-footer__grid > div > span { padding: 10px 0; }
  .faq details p { padding-right: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; transition-delay: 0ms !important; }
  .js [data-reveal] { opacity: 1; filter: none; transform: none; }
  [data-enter] { animation: none; }
  .js .panel[data-reveal] { transform: perspective(1500px) rotateY(9deg) rotateX(3deg); }
}

@media print {
  .scene, .backdrop, .site-header, .scroll-progress { display: none; }
  body { background: #fff; color: #000; }
  .js [data-reveal], [data-enter] { opacity: 1 !important; filter: none !important; transform: none !important; animation: none !important; }
  .section, .section--raised, .trust, .site-footer, .finale::before { background: #fff !important; }
  h1, h2, h3, p, li, dd, dt b, a, strong, span { color: #000 !important; }
  .photo__blur, .portrait::before { display: none; }
}

/* ==========================================================================
   Bloques anadidos tras la investigacion de keywords
   ========================================================================== */

/* ---------- a quien capacitamos ---------- */
.sectors {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(20px, 4vw, 64px); align-items: center;
  margin-top: clamp(40px, 5vw, 72px); padding-top: clamp(28px, 3vw, 44px); border-top: 1px solid var(--line);
}
.sectors__title { font-size: clamp(1.15rem, 1.6vw, 1.45rem); max-width: 26ch; }
.sectors ul { display: flex; flex-wrap: wrap; gap: 10px; }
.sectors li {
  padding: 12px 20px; border: 1px solid var(--line-strong); border-radius: var(--radius);
  color: var(--text); font-family: var(--font-body); font-weight: 600; font-size: 0.95rem; letter-spacing: -0.005em;
}

/* ---------- requisitos de Florida ---------- */
.specs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.spec {
  position: relative; padding: clamp(24px, 3vw, 44px);
  border: 1px solid var(--line-strong); border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.01));
}
.spec::before, .spec::after { content: ""; position: absolute; width: 14px; height: 14px; border: 0 solid var(--blue); }
.spec::before { top: -1px; left: -1px; border-top-width: 2px; border-left-width: 2px; }
.spec::after { right: -1px; bottom: -1px; border-right-width: 2px; border-bottom-width: 2px; }
.spec__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 20px; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.spec__head h3 { font-size: clamp(1.3rem, 1.9vw, 1.7rem); letter-spacing: -0.022em; }
.spec__head .mono { color: var(--blue-300); }
.spec dl { margin: 0; }
.spec dl > div { display: grid; grid-template-columns: 124px minmax(0, 1fr); gap: 20px; align-items: center; padding: 24px 0; border-bottom: 1px solid var(--line); }
.spec dl > div:last-child { border-bottom: 0; padding-bottom: 0; }
.spec dt { display: flex; flex-direction: column; gap: 4px; }
.spec dt b { color: var(--text); font-family: var(--font-display); font-weight: 800; font-size: clamp(2.6rem, 4.4vw, 3.8rem); letter-spacing: -0.06em; line-height: 0.9; }
.spec dt span { font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-3); }
.spec dd { margin: 0; font-size: 0.98rem; }
.fineprint__src { display: block; margin-top: 8px; }
.fineprint a { color: var(--text-2); text-decoration: underline; text-underline-offset: 3px; }
.fineprint a:hover { color: var(--text); }

/* ---------- area de servicio ---------- */
.area { margin-top: 36px; padding-top: 28px; border-top: 1px solid var(--line); }
.finale__copy .area__title { margin-top: 0; font-family: var(--font-body); font-weight: 600; font-size: 1.05rem; letter-spacing: -0.005em; line-height: 1.35; }
.area__title .reg { font-size: 0.6em; vertical-align: 0.5em; }
.area p { margin-top: 8px; font-size: 0.95rem; max-width: 46ch; }

.faq summary h3 { font: inherit; letter-spacing: inherit; color: inherit; margin: 0; text-wrap: pretty; }

@media (max-width: 60em) {
  .sectors, .specs { grid-template-columns: 1fr; }
}
@media (max-width: 40em) {
  .spec dl > div { grid-template-columns: 92px minmax(0, 1fr); gap: 14px; }
}

/* ---------- español: titulares más largos ---------- */

/* ---------- texto ampliado: nada ensancha la página ---------- */
h1, h2, h3 { overflow-wrap: break-word; }
.contact-list li, .site-footer__grid > * { min-width: 0; }
.contact-list a, .site-footer a, .faq a { overflow-wrap: anywhere; }
@media (max-width: 40em) {
  .btn { min-height: 54px; padding-block: 10px; white-space: normal; text-align: center; }
  .btn--sm { min-height: 42px; }
}
@media (max-width: 60em) {
  .hero__copy > * { min-width: 0; }
  .hero__title { max-width: 100%; }
}
.panel__list li { flex-wrap: wrap; }
.panel__list li > span { min-width: 0; }

/* ---------- página legal ---------- */
.legal { padding-top: calc(var(--header) + clamp(56px, 8vw, 110px)); }
.legal .section__head { margin-bottom: clamp(36px, 5vw, 64px); }
.legal h1 { margin-top: 22px; font-size: clamp(2.2rem, 4.6vw, 3.8rem); letter-spacing: -0.03em; }
.legal__draft { display: inline-block; margin-top: 22px; padding: 8px 14px; border: 1px solid rgba(185, 138, 46, 0.55); border-radius: var(--radius); color: #e0b861; }
.legal__body { max-width: 70ch; }
.legal__body h2 { margin-top: 56px; padding-top: 28px; border-top: 1px solid var(--line); font-size: clamp(1.4rem, 2.2vw, 1.85rem); }
.legal__body h2:first-child { margin-top: 0; }
.legal__body h3 { margin-top: 28px; font-family: var(--font-body); font-weight: 600; font-size: 1.05rem; letter-spacing: -0.005em; }
.legal__body p { margin-top: 14px; }
.legal__body ul { margin-top: 14px; display: grid; gap: 10px; }
.legal__body li { position: relative; padding-left: 22px; }
.legal__body li::before { content: ""; position: absolute; left: 0; top: 0.72em; width: 8px; height: 1px; background: var(--blue); }
.legal__body a { color: var(--text); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--blue); }
.legal__body a:hover { color: var(--blue-300); }

/* ---------- aviso de privacidad del formulario ---------- */
.form-consent { grid-column: 1 / -1; margin-top: -4px; font-size: 0.84rem; color: var(--text-2); }
.form-consent a { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }
.form-consent a:hover { color: var(--blue-300); }

/* pantallas muy estrechas o texto muy ampliado: la cabecera cede espacio */
@media (max-width: 24em) {
  .site-header__inner { gap: 10px; }
  .site-header__actions { gap: 8px; }
  .brand { min-width: 96px; }
}
.spec dd, .spec__head h3 { overflow-wrap: anywhere; }
