/* ============================================================
   E.I-RELOCATION — Design System
   Brand Manual v1.0 · UI/UX Pro Max "Trust & Authority"
   Navy #172D47 · Rojo #CB2223 · Blanco #FFFFFD · Blanco frío #EEF2F7
   Tipografía: Inter (font-display: swap)
   ============================================================ */

/* Inter Variable — auto-hospedada (un solo woff2 cubre los pesos 100-900). Reemplaza el CDN de Google Fonts. */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/assets/fonts/InterVariable.woff2") format("woff2-variations"),
       url("/assets/fonts/InterVariable.woff2") format("woff2");
  unicode-range: U+0000-024F, U+0259, U+1E00-1EFF, U+2000-206F, U+2074,
                 U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF,
                 U+FFFD;
}


/* ---------- Tokens ---------- */
:root {
  /* Color */
  --navy:        #172D47;
  --navy-700:    #1e3a5c;
  --navy-600:    #2a4a72;
  --navy-080:    rgba(23, 45, 71, 0.80);
  --navy-040:    rgba(23, 45, 71, 0.40);
  --red:         #CB2223;
  --red-700:     #a91b1c;
  --red-bright:  #ff6b6c;          /* SOLO acento rojo sobre navy — versión legible (WCAG AA) del rojo de marca */
  --white:       #FFFFFD;
  --cool:        #EEF2F7;
  --cool-200:    #E3E9F1;

  --ink:         #172D47;          /* body text on light */
  --ink-soft:    #4a5b71;          /* secondary text on light */
  --ink-mute:    #54617a;          /* tertiary / captions — AA (>=4.5:1) sobre blanco y blanco frío */
  --on-navy:     #FFFFFD;
  --on-navy-soft:rgba(255, 255, 253, 0.72);
  --on-navy-mute:rgba(255, 255, 253, 0.52);

  /* Type */
  --font: "Inter", "Manrope", "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;

  /* Spacing scale (8pt rhythm) */
  --s-1: 0.25rem; --s-2: 0.5rem; --s-3: 0.75rem; --s-4: 1rem;
  --s-5: 1.5rem; --s-6: 2rem; --s-7: 3rem; --s-8: 4rem;
  --s-9: 6rem; --s-10: 8rem;

  /* Radii */
  --r-sm: 8px; --r-md: 12px; --r-lg: 16px; --r-xl: 22px; --r-pill: 999px;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(23, 45, 71, 0.06);
  --shadow:    0 4px 20px rgba(23, 45, 71, 0.08);
  --shadow-md: 0 10px 34px rgba(23, 45, 71, 0.12);
  --shadow-lg: 0 24px 60px rgba(23, 45, 71, 0.18);

  /* Layout */
  --maxw: 1200px;
  --gutter: clamp(1.25rem, 5vw, 3rem);

  /* Motion */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --t-fast: 150ms;
  --t: 240ms;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--font);
  font-size: clamp(1rem, 0.96rem + 0.2vw, 1.125rem);
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, picture { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul { list-style: none; padding: 0; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; border-radius: 4px; }
/* Anillo de foco claro sobre fondos navy (contraste ≥3:1, WCAG 2.4.11) */
.hero :focus-visible, .on-navy :focus-visible, .section--navy :focus-visible, .cta-band :focus-visible, .chat-panel__head :focus-visible { outline-color: var(--white); }
::selection { background: var(--red); color: var(--white); }

/* ---------- Typography ---------- */
h1, h2, h3, h4 { line-height: 1.1; letter-spacing: -0.02em; color: var(--ink); font-weight: 800; }
h1 { font-size: clamp(2.25rem, 1.4rem + 4.2vw, 4.5rem); font-weight: 900; letter-spacing: -0.03em; }
h2 { font-size: clamp(1.9rem, 1.3rem + 2.6vw, 3rem); font-weight: 800; }
h3 { font-size: clamp(1.25rem, 1.05rem + 0.9vw, 1.6rem); font-weight: 700; letter-spacing: -0.015em; }
h4 { font-size: 1.125rem; font-weight: 700; letter-spacing: -0.01em; }
p { color: var(--ink-soft); }
strong { color: var(--ink); font-weight: 700; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--red);
}
.eyebrow::before {
  content: ""; width: 22px; height: 2px; background: var(--red); border-radius: 2px;
}
.eyebrow.is-light { color: var(--red-bright); }
.eyebrow.is-light::before { background: var(--red); }

.lead { font-size: clamp(1.06rem, 1rem + 0.4vw, 1.3rem); color: var(--ink-soft); line-height: 1.55; }
.on-navy { color: var(--on-navy); }
.on-navy p, .on-navy .lead { color: var(--on-navy-soft); }
.on-navy h1, .on-navy h2, .on-navy h3, .on-navy h4 { color: var(--on-navy); }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: 880px; }
.section { padding-block: clamp(3.5rem, 2.5rem + 6vw, 7rem); }
.section--tight { padding-block: clamp(2.5rem, 2rem + 3vw, 4.5rem); }
.section--navy { background: var(--navy); }
.section--cool { background: var(--cool); }
.section-head { max-width: 760px; margin-bottom: clamp(2rem, 1.5rem + 2vw, 3.25rem); }
.section-head .eyebrow { margin-bottom: 1rem; }
.section-head p { margin-top: 1rem; }
.text-center { text-align: center; }
.center-head { margin-inline: auto; }
.grid { display: grid; gap: clamp(1rem, 0.6rem + 1.5vw, 1.75rem); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.divider { height: 1px; background: var(--cool-200); border: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  font-weight: 600; font-size: 0.98rem; line-height: 1;
  padding: 0.95rem 1.5rem; border-radius: var(--r-pill);
  transition: transform var(--t-fast) var(--ease), background var(--t) var(--ease),
              box-shadow var(--t) var(--ease), color var(--t) var(--ease), border-color var(--t) var(--ease);
  white-space: nowrap; cursor: pointer;
}
.btn svg { width: 18px; height: 18px; }
.btn--primary { background: var(--red); color: var(--white); box-shadow: 0 6px 18px rgba(203,34,35,0.28); }
.btn--primary:hover { background: var(--red-700); transform: translateY(-2px); box-shadow: 0 10px 26px rgba(203,34,35,0.34); }
.btn--ghost { background: transparent; color: var(--navy); border: 1.5px solid var(--cool-200); }
.btn--ghost:hover { border-color: var(--navy); background: var(--cool); transform: translateY(-2px); }
.btn--ghost-light { background: transparent; color: var(--on-navy); border: 1.5px solid rgba(255,255,253,0.32); }
.btn--ghost-light:hover { border-color: var(--white); background: rgba(255,255,253,0.08); transform: translateY(-2px); }
.btn--wa { background: transparent; color: var(--navy); border: 1.5px solid var(--cool-200); }
.btn--wa:hover { border-color: #25d366; color: #128c3e; background: #f0fbf4; transform: translateY(-2px); }
.btn--lg { padding: 1.1rem 2rem; font-size: 1.05rem; }
.btn--block { width: 100%; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 0.45rem; font-weight: 600;
  color: var(--navy); transition: gap var(--t) var(--ease), color var(--t) var(--ease);
}
.link-arrow svg { width: 16px; height: 16px; transition: transform var(--t) var(--ease); }
.link-arrow:hover { color: var(--red); }
.link-arrow:hover svg { transform: translateX(4px); }
.on-navy .link-arrow { color: var(--on-navy); }
.on-navy .link-arrow:hover { color: #ff8a8b; }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,253,0.82); backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color var(--t), box-shadow var(--t);
}
.header.is-scrolled { border-bottom-color: var(--cool-200); box-shadow: var(--shadow-sm); }
.skip-link { position: absolute; left: -9999px; top: 0; z-index: 1000; background: var(--navy); color: var(--white); padding: 0.7rem 1.1rem; border-radius: 0 0 var(--r-sm) 0; font-weight: 600; text-decoration: none; }
.skip-link:focus { left: 0; }
.header__inner { display: flex; align-items: center; gap: 1.5rem; height: 72px; }
.brand { display: flex; align-items: center; gap: 0.65rem; margin-right: auto; font-weight: 800; letter-spacing: -0.02em; color: var(--navy); }
.brand img { width: 38px; height: 38px; flex: none; }
.brand__name { font-size: 1.02rem; white-space: nowrap; }
.brand__name b { color: var(--navy); }
.nav { display: flex; align-items: center; gap: 0.3rem; margin-left: auto; }
.nav a {
  font-size: 0.94rem; font-weight: 500; color: var(--ink-soft); padding: 0.5rem 0.8rem;
  border-radius: var(--r-sm); transition: color var(--t), background var(--t);
}
.nav a:hover { color: var(--navy); background: var(--cool); }
.nav a[aria-current="page"] { color: var(--navy); font-weight: 600; }
.drawer__panel nav a[aria-current="page"] { color: var(--red); }
.header__actions { display: flex; align-items: center; gap: 0.6rem; margin-left: 0.5rem; }
.lang {
  display: inline-flex; align-items: center; gap: 0.15rem; border: 1px solid var(--cool-200);
  border-radius: var(--r-pill); padding: 0.3rem; background: var(--white);
}
.lang button, .lang a { font-size: 0.78rem; font-weight: 600; color: var(--ink-mute); padding: 0.42rem 0.62rem; border-radius: var(--r-pill); transition: all var(--t); text-decoration: none; }
.lang button[aria-current="page"], .lang a[aria-current="page"] { background: var(--navy); color: var(--white); }
.lang button:hover:not([aria-current="page"]), .lang a:hover:not([aria-current="page"]) { color: var(--navy); }
.burger { display: none; width: 44px; height: 44px; align-items: center; justify-content: center; border-radius: var(--r-sm); color: var(--navy); }
.burger:hover { background: var(--cool); }
.burger svg { width: 26px; height: 26px; }
.drawer__head button svg { width: 24px; height: 24px; }

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--navy); color: var(--on-navy); overflow: hidden; isolation: isolate; }
.hero__bg { position: absolute; inset: 0; z-index: -2; }
.hero__grid {
  position: absolute; inset: 0; z-index: -2; opacity: 0.5;
  background-image:
    linear-gradient(rgba(255,255,253,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,253,0.05) 1px, transparent 1px);
  background-size: 54px 54px;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 70% 30%, #000 30%, transparent 75%);
          mask-image: radial-gradient(ellipse 80% 70% at 70% 30%, #000 30%, transparent 75%);
}
.hero__glow {
  position: absolute; z-index: -2; width: 60vw; height: 60vw; max-width: 760px; max-height: 760px;
  top: -18%; right: -12%; border-radius: 50%;
  background: radial-gradient(circle, rgba(203,34,35,0.20) 0%, transparent 62%);
  filter: blur(8px);
}
.hero__ridge { position: absolute; left: 0; right: 0; bottom: -1px; z-index: -1; width: 100%; height: auto; aspect-ratio: 1440 / 220; opacity: 0.55; }
.hero__inner { padding-block: clamp(3rem, 2rem + 7vw, 6.5rem) clamp(4rem, 3rem + 7vw, 7.5rem); max-width: 820px; }
.hero h1 { margin: 1.1rem 0 0; color: var(--on-navy); }
.hero .eyebrow { color: var(--red-bright); }
.hero__sub { margin-top: 1.5rem; max-width: 620px; font-size: clamp(1.08rem, 1rem + 0.5vw, 1.32rem); color: var(--on-navy-soft); }
.hero__cta { margin-top: 2.25rem; display: flex; flex-wrap: wrap; gap: 0.85rem; }
.hero__trust { margin-top: 2.5rem; display: flex; flex-wrap: wrap; gap: 1.4rem 2rem; align-items: center; }
.hero__trust-item { display: flex; align-items: center; gap: 0.55rem; font-size: 0.9rem; color: var(--on-navy-soft); font-weight: 500; }
.hero__trust-item svg { width: 18px; height: 18px; color: var(--red-bright); flex: none; }

/* ---------- Cards ---------- */
.card {
  background: var(--white); border: 1px solid var(--cool-200); border-radius: var(--r-md);
  padding: clamp(1.5rem, 1.2rem + 1vw, 2rem); box-shadow: var(--shadow-sm);
  transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease), border-color var(--t) var(--ease);
  height: 100%;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--cool); }
.card__icon {
  width: 48px; height: 48px; border-radius: var(--r-sm); display: grid; place-items: center;
  background: var(--cool); color: var(--navy); margin-bottom: 1.1rem;
}
.card__icon svg { width: 24px; height: 24px; }
.card h3 { margin-bottom: 0.6rem; }
.card h3.card-subh { font-size: 1.06rem; font-weight: 700; letter-spacing: -0.01em; margin-bottom: 0.25rem; }
.card p { font-size: 0.98rem; }
.card--problem .card__icon { background: rgba(203,34,35,0.08); color: var(--red); }

/* Service cards */
.svc {
  display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--cool-200);
  border-radius: var(--r-lg); padding: clamp(1.5rem, 1.2rem + 1vw, 2.1rem); box-shadow: var(--shadow-sm);
  transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease), border-color var(--t);
  height: 100%; position: relative;
}
.svc:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.svc__tag { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--red); }
.svc h3 { margin: 0.6rem 0 0.8rem; }
.svc p { font-size: 0.97rem; flex: 1; }
.svc__meta { display: flex; gap: 1rem; margin: 1.1rem 0; flex-wrap: wrap; }
.svc__meta span { display: inline-flex; align-items: center; gap: 0.4rem; font-size: 0.84rem; color: var(--ink-mute); font-weight: 500; }
.svc__meta svg { width: 15px; height: 15px; color: var(--navy-600); }
.svc .link-arrow { margin-top: auto; }

/* ---------- Steps / Timeline ---------- */
.steps { display: grid; gap: 1rem; }
.step {
  display: grid; grid-template-columns: auto 1fr; gap: 1.25rem; align-items: start;
  padding: 1.4rem 1.5rem; background: var(--white); border: 1px solid var(--cool-200);
  border-radius: var(--r-md); transition: border-color var(--t), box-shadow var(--t), transform var(--t);
}
.step:hover { border-color: var(--navy); box-shadow: var(--shadow); transform: translateX(4px); }
.step__num {
  width: 44px; height: 44px; border-radius: var(--r-pill); display: grid; place-items: center;
  background: var(--navy); color: var(--white); font-weight: 800; font-size: 1.05rem; flex: none;
}
.step h3 { font-size: 1.15rem; margin-bottom: 0.3rem; }
.step p { font-size: 0.95rem; }

/* ---------- Partner grid ---------- */
.areas { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--cool-200); border: 1px solid var(--cool-200); border-radius: var(--r-lg); overflow: hidden; }
.area { background: var(--white); padding: 1.6rem 1.5rem; display: flex; gap: 0.9rem; align-items: flex-start; transition: background var(--t); }
.area:hover { background: var(--cool); }
.area svg { width: 22px; height: 22px; color: var(--red); flex: none; margin-top: 2px; }
.area h3 { font-size: 1.02rem; font-weight: 700; letter-spacing: -0.01em; margin-bottom: 0.2rem; }
.area p { font-size: 0.88rem; color: var(--ink-mute); }

/* ---------- Fiscal feature (navy block) ---------- */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 1rem + 4vw, 4rem); align-items: center; }
.feature__list { display: grid; gap: 0.85rem; }
.feature__item { display: flex; gap: 0.8rem; align-items: flex-start; }
.feature__item svg { width: 20px; height: 20px; color: var(--red-bright); flex: none; margin-top: 3px; }
.feature__item span { color: var(--on-navy-soft); font-size: 0.98rem; }
.stat-card { background: rgba(255,255,253,0.06); border: 1px solid rgba(255,255,253,0.14); border-radius: var(--r-lg); padding: 2rem; }
.stat-card__big { font-size: clamp(3rem, 2rem + 5vw, 4.5rem); font-weight: 900; letter-spacing: -0.04em; color: var(--white); line-height: 1; }
.stat-card__big b { color: var(--red-bright); }
.stat-card p { margin-top: 0.8rem; color: var(--on-navy-soft); }

/* ---------- Comparison table ---------- */
.table-wrap { overflow-x: auto; border-radius: var(--r-lg); border: 1px solid var(--cool-200); box-shadow: var(--shadow-sm); -webkit-overflow-scrolling: touch; }
table.compare { width: 100%; border-collapse: collapse; min-width: 640px; background: var(--white); }
.compare th, .compare td { padding: 1rem 1.1rem; text-align: left; border-bottom: 1px solid var(--cool); font-size: 0.95rem; }
.compare thead th { background: var(--navy); color: var(--white); font-weight: 600; font-size: 0.9rem; position: sticky; top: 0; }
.compare thead th:first-child { border-top-left-radius: var(--r-lg); }
.compare thead th:last-child { border-top-right-radius: var(--r-lg); }
.compare th.is-us { background: var(--red); }
.compare tbody th { font-weight: 600; color: var(--ink); position: sticky; left: 0; background: var(--white); z-index: 1; }
.compare td { color: var(--ink-soft); text-align: center; }
.compare td.is-us { background: rgba(203,34,35,0.04); font-weight: 600; color: var(--navy); }
.compare tbody tr:hover td, .compare tbody tr:hover th { background: var(--cool); }
.compare tbody tr:hover td.is-us { background: rgba(203,34,35,0.08); }
.yes { color: #1a8a4a; font-weight: 700; }
.no  { color: var(--ink-mute); }

/* ---------- Accordion (FAQ) ---------- */
.faq { display: grid; gap: 0.75rem; }
.acc { border: 1px solid var(--cool-200); border-radius: var(--r-md); background: var(--white); overflow: hidden; transition: box-shadow var(--t), border-color var(--t); }
.acc[open] { box-shadow: var(--shadow); border-color: var(--cool); }
.acc summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding: 1.2rem 1.4rem; font-weight: 600; color: var(--navy); font-size: 1.02rem;
}
.acc summary::-webkit-details-marker { display: none; }
.acc summary .pm { width: 26px; height: 26px; flex: none; position: relative; transition: transform var(--t) var(--ease); color: var(--red); }
.acc[open] summary .pm { transform: rotate(45deg); }
.acc__body { padding: 0 1.4rem 1.3rem; color: var(--ink-soft); font-size: 0.97rem; }
.acc__body a { color: var(--red); font-weight: 600; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; background: var(--navy); color: var(--on-navy); border-radius: var(--r-xl); padding: clamp(2.5rem, 2rem + 4vw, 4.5rem); overflow: hidden; isolation: isolate; }
.cta-band__grid { position: absolute; inset: 0; z-index: -1; opacity: 0.4;
  background-image: linear-gradient(rgba(255,255,253,0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,253,0.05) 1px, transparent 1px);
  background-size: 46px 46px;
  -webkit-mask-image: radial-gradient(ellipse 70% 90% at 80% 20%, #000, transparent 70%);
          mask-image: radial-gradient(ellipse 70% 90% at 80% 20%, #000, transparent 70%);
}
.cta-band h2 { max-width: 16ch; color: var(--on-navy); }
.cta-band p { margin-top: 1rem; max-width: 52ch; color: var(--on-navy-soft); }
.cta-band .hero__cta { margin-top: 2rem; }

/* ---------- Testimonials placeholder ---------- */
.placeholder-note {
  display: flex; gap: 0.9rem; align-items: flex-start; padding: 1.5rem 1.75rem;
  background: var(--cool); border: 1px dashed var(--cool-200); border-radius: var(--r-md); color: var(--ink-soft); font-size: 0.96rem;
}
.placeholder-note svg { width: 22px; height: 22px; color: var(--navy-600); flex: none; margin-top: 1px; }

/* ---------- Footer ---------- */
.footer { background: var(--navy); color: var(--on-navy); padding-block: clamp(3rem, 2rem + 4vw, 4.5rem) 2rem; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 2.5rem; }
.footer__brand img { width: 42px; height: 42px; }
.footer__brand p { margin-top: 1rem; color: var(--on-navy-soft); font-size: 0.95rem; max-width: 26ch; }
.footer__social { display: flex; gap: 0.6rem; margin-top: 1.5rem; }
.footer__social a { width: 40px; height: 40px; border-radius: var(--r-sm); display: grid; place-items: center; background: rgba(255,255,253,0.07); color: var(--on-navy); transition: background var(--t), transform var(--t); }
.footer__social a:hover { background: var(--red); transform: translateY(-2px); }
.footer__social svg { width: 19px; height: 19px; }
.footer h3 { color: var(--on-navy); font-size: 0.82rem; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 1.1rem; font-weight: 700; }
.footer__col a, .footer__col li { display: block; color: var(--on-navy-soft); font-size: 0.94rem; padding: 0.32rem 0; transition: color var(--t); }
.footer__col a:hover { color: var(--white); }
.footer__contact a { color: var(--on-navy-soft); }
.footer__bottom { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,253,0.12); display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; color: var(--on-navy-mute); font-size: 0.85rem; }

/* ---------- Mobile sticky CTA ---------- */
.mobile-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; display: none;
  padding: 0.7rem var(--gutter) calc(0.7rem + env(safe-area-inset-bottom));
  background: rgba(255,255,253,0.92); backdrop-filter: blur(12px); border-top: 1px solid var(--cool-200);
}
.mobile-cta .btn { width: 100%; }

/* ---------- Chatbot bubble ---------- */
.chat-fab {
  position: fixed; right: clamp(1rem, 3vw, 1.75rem); bottom: clamp(1rem, 3vw, 1.75rem); z-index: 48;
  width: 60px; height: 60px; border-radius: var(--r-pill); background: var(--navy); color: var(--white);
  display: grid; place-items: center; box-shadow: var(--shadow-lg);
  transition: transform var(--t) var(--ease), background var(--t);
}
.chat-fab:hover { transform: scale(1.06); background: var(--navy-700); }
.chat-fab svg { width: 26px; height: 26px; }
.chat-fab__dot { position: absolute; top: 4px; right: 4px; width: 13px; height: 13px; border-radius: 50%; background: var(--red); border: 2px solid var(--navy); }
.chat-panel {
  position: fixed; right: clamp(1rem, 3vw, 1.75rem); bottom: clamp(5.5rem, 3vw + 4rem, 6.5rem); z-index: 49;
  width: min(380px, calc(100vw - 2rem)); height: min(560px, calc(100vh - 8rem));
  background: var(--white); border-radius: var(--r-lg); box-shadow: var(--shadow-lg); overflow: hidden;
  display: flex; flex-direction: column; transform-origin: bottom right;
  opacity: 0; transform: translateY(12px) scale(0.96); pointer-events: none; visibility: hidden;
  transition: opacity var(--t) var(--ease), transform var(--t) var(--ease), visibility var(--t) var(--ease);
}
.chat-panel.is-open { opacity: 1; transform: translateY(0) scale(1); pointer-events: auto; visibility: visible; }
.chat-panel__head { background: var(--navy); color: var(--white); padding: 1.1rem 1.25rem; display: flex; gap: 0.8rem; align-items: center; }
.chat-panel__head img { width: 34px; height: 34px; border-radius: 50%; background: var(--white); padding: 3px; }
.chat-panel__head .nm { font-weight: 700; font-size: 0.95rem; }
.chat-panel__head .st { font-size: 0.78rem; color: var(--on-navy-soft); display: flex; align-items: center; gap: 0.35rem; }
.chat-panel__head .st::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #2bd66a; }
.chat-panel__head button { margin-left: auto; color: var(--on-navy-soft); width: 40px; height: 40px; border-radius: var(--r-sm); display: grid; place-items: center; }
.chat-panel__head button:hover { background: rgba(255,255,253,0.1); color: var(--white); }
.chat-body { flex: 1; padding: 1.25rem; overflow-y: auto; background: var(--cool); display: flex; flex-direction: column; gap: 0.75rem; }
.bubble { max-width: 80%; padding: 0.75rem 1rem; border-radius: var(--r-md); font-size: 0.92rem; line-height: 1.45; }
.bubble--bot { background: var(--white); border: 1px solid var(--cool-200); color: var(--ink); border-bottom-left-radius: 4px; align-self: flex-start; }
.bubble--user { background: var(--navy); color: var(--white); border-bottom-right-radius: 4px; align-self: flex-end; }
.chat-quick { display: flex; flex-wrap: wrap; gap: 0.4rem; padding: 0 1.25rem 0.5rem; background: var(--cool); }
.chat-quick button { font-size: 0.82rem; font-weight: 500; color: var(--navy); border: 1px solid var(--cool-200); background: var(--white); padding: 0.6rem 0.9rem; border-radius: var(--r-pill); transition: all var(--t); }
.chat-quick button:hover { background: var(--navy); color: var(--white); border-color: var(--navy); }
.chat-input { display: flex; gap: 0.5rem; padding: 0.85rem 1rem calc(0.85rem + env(safe-area-inset-bottom)); border-top: 1px solid var(--cool-200); background: var(--white); }
.chat-input input { flex: 1; border: 1px solid var(--cool-200); border-radius: var(--r-pill); padding: 0.65rem 1rem; font: inherit; font-size: 0.9rem; color: var(--ink); }
.chat-input input:focus { border-color: var(--navy); }
.chat-input input:focus-visible { outline: 3px solid var(--red); outline-offset: 2px; border-color: var(--navy); }
.chat-input button { width: 44px; height: 44px; border-radius: 50%; background: var(--red); color: var(--white); display: grid; place-items: center; flex: none; }
.chat-input button:hover { background: var(--red-700); }
.chat-input svg { width: 18px; height: 18px; }

/* ---------- Reveal animation (más refinada, estilo editorial) ---------- */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity 0.85s var(--ease), transform 0.85s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
/* Encabezados que suben desde una máscara al entrar en vista */
.section-head h2, .section-head .lead { clip-path: inset(-12% -12% 100% -12%); transition: clip-path 0.9s var(--ease) 0.06s; }
.section-head.in h2 { clip-path: inset(-12% -12% -12% -12%); }
.section-head.in .lead { clip-path: inset(-12% -12% -12% -12%); transition-delay: 0.16s; }

.reveal--left { transform: translateX(-34px); }
.reveal--right { transform: translateX(34px); }
.reveal--scale { transform: translateY(26px) scale(0.96); }

/* ---------- Flight-path scroll progress (España → Suiza) ---------- */
.scroll-flight { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 60; background: rgba(23,45,71,0.10); pointer-events: none; }
.scroll-flight__fill { position: absolute; inset: 0 auto 0 0; width: 0; background: linear-gradient(90deg, var(--navy), var(--red)); border-radius: 0 2px 2px 0; }
.scroll-flight__plane { position: absolute; top: 50%; left: 0; transform: translate(-50%, -50%); color: var(--red); will-change: left; }
.scroll-flight__plane svg { width: 17px; height: 17px; transform: rotate(90deg); filter: drop-shadow(0 1px 3px rgba(23,45,71,0.35)); }

/* ---------- Hero parallax layers ---------- */
/* will-change lo activa/desactiva el JS solo mientras el hero está en la zona de scroll (evita fuga de memoria del compositor) */

/* ---------- Journey (Cómo funciona) ---------- */
.journey { position: relative; display: grid; gap: 1.1rem; }
.journey__rail { position: absolute; left: 29px; top: 22px; bottom: 22px; width: 3px; background: var(--cool-200); border-radius: 3px; overflow: hidden; }
.journey__fill { position: absolute; left: 0; top: 0; width: 100%; height: 0; background: linear-gradient(180deg, var(--red), var(--red-700)); border-radius: 3px; }
.journey__step { display: grid; grid-template-columns: 60px 1fr; gap: 1.1rem; align-items: stretch; }
.journey__num { position: relative; z-index: 1; width: 44px; height: 44px; margin-left: 8px; border-radius: var(--r-pill); display: grid; place-items: center; background: var(--white); border: 3px solid var(--cool-200); color: var(--ink-mute); font-weight: 800; font-size: 1.02rem; transition: background var(--t) var(--ease), color var(--t) var(--ease), border-color var(--t) var(--ease), box-shadow var(--t) var(--ease), transform var(--t) var(--ease); }
.journey__num.is-active { background: var(--red); border-color: var(--red); color: var(--white); box-shadow: 0 6px 16px rgba(203,34,35,0.32); transform: scale(1.06); }
.journey__card { background: var(--white); border: 1px solid var(--cool-200); border-radius: var(--r-md); padding: 1.25rem 1.4rem; box-shadow: var(--shadow-sm); transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease); }
.journey__step:hover .journey__card { transform: translateX(4px); box-shadow: var(--shadow); }
.journey__tag { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--red); }
.journey__card h3 { font-size: 1.15rem; margin: 0.3rem 0 0.3rem; }
.journey__card p { font-size: 0.95rem; }
.journey__plane { position: absolute; left: 30px; top: 22px; z-index: 2; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--navy); color: var(--white); box-shadow: 0 6px 18px rgba(23,45,71,0.45); transform: translate(-50%, -50%); pointer-events: none; will-change: top; }
.journey__plane svg { width: 15px; height: 15px; transform: rotate(180deg); }

/* ---------- Assistant section + chat preview ---------- */
.assistant { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(2rem, 1rem + 4vw, 4rem); align-items: center; }
.assistant__points { display: grid; gap: 0.7rem; margin-top: 1.75rem; }
.assistant__points span { display: flex; gap: 0.7rem; align-items: flex-start; color: var(--on-navy-soft); font-size: 0.98rem; }
.assistant__points svg { width: 19px; height: 19px; color: var(--red-bright); flex: none; margin-top: 2px; }
.chat-preview { background: var(--white); border-radius: var(--r-lg); box-shadow: var(--shadow-lg); overflow: hidden; max-width: 420px; margin-inline: auto; transform: rotate(-1deg); }
.chat-preview__head { display: flex; align-items: center; gap: 0.7rem; padding: 0.9rem 1.1rem; background: var(--navy); }
.chat-preview__head img { width: 32px; height: 32px; border-radius: 50%; background: var(--white); padding: 3px; }
.chat-preview__head .nm { color: var(--white); font-weight: 700; font-size: 0.9rem; }
.chat-preview__head .st { color: var(--on-navy-soft); font-size: 0.74rem; display: flex; align-items: center; gap: 0.35rem; }
.chat-preview__head .st::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #2bd66a; }
.chat-preview__body { padding: 1.1rem; background: var(--cool); display: flex; flex-direction: column; gap: 0.6rem; }
.chat-preview__body .bubble { max-width: 85%; padding: 0.65rem 0.9rem; border-radius: var(--r-md); font-size: 0.88rem; line-height: 1.4; }
.chat-preview__body .bubble--bot { background: var(--white); border: 1px solid var(--cool-200); color: var(--ink); border-bottom-left-radius: 4px; align-self: flex-start; }
.chat-preview__body .bubble--user { background: var(--navy); color: var(--white); border-bottom-right-radius: 4px; align-self: flex-end; }
.chat-preview__chips { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.chat-preview__chips span { font-size: 0.78rem; font-weight: 600; color: var(--navy); background: var(--white); border: 1px solid var(--cool-200); border-radius: var(--r-pill); padding: 0.35rem 0.7rem; }
.chat-preview__chips span.is-cta { background: var(--red); color: var(--white); border-color: var(--red); }

/* ---------- Chatbot: options, CTA, typing, FAB icon, nudge ---------- */
.chat-options { display: flex; flex-direction: column; gap: 0.5rem; padding: 0 1.1rem 0.5rem; background: var(--cool); }
.chat-options:empty { display: none; }
.chat-opt { text-align: left; font-size: 0.9rem; font-weight: 600; color: var(--navy); background: var(--white); border: 1px solid var(--cool-200); border-radius: var(--r-md); padding: 0.7rem 0.95rem; transition: background var(--t), color var(--t), border-color var(--t), transform var(--t); }
.chat-opt:hover { background: var(--navy); color: var(--white); border-color: var(--navy); transform: translateY(-1px); }
.chat-opt--ghost { background: transparent; border-color: transparent; color: var(--ink-mute); font-weight: 500; text-align: center; padding: 0.45rem; }
.chat-opt--ghost:hover { background: transparent; color: var(--navy); transform: none; }
.chat-opt:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }

/* Lead capture form (en el chat) */
.chat-lead { display: flex; flex-direction: column; gap: 0.5rem; padding: 0.7rem; background: var(--white); border: 1px solid var(--cool-200); border-radius: var(--r-md); }
.chat-lead input[type="text"], .chat-lead input[type="email"] { border: 1px solid var(--cool-200); border-radius: var(--r-sm); padding: 0.65rem 0.85rem; font: inherit; font-size: 0.92rem; color: var(--ink); }
.chat-lead input:focus-visible { outline: 3px solid var(--red); outline-offset: 2px; border-color: var(--navy); }
.chat-lead__consent { display: flex; gap: 0.55rem; align-items: flex-start; font-size: 0.8rem; color: var(--ink-soft); line-height: 1.35; cursor: pointer; }
.chat-lead__consent input { margin-top: 2px; flex: none; width: 16px; height: 16px; accent-color: var(--red); }
.chat-lead__consent a { color: var(--red); font-weight: 600; }
.chat-lead__err { color: var(--red-700); font-size: 0.82rem; font-weight: 600; margin: 0; }
.chat-cta { display: flex; flex-direction: column; gap: 0.5rem; padding: 0.6rem; background: var(--white); border: 1px solid var(--cool-200); border-radius: var(--r-md); }
.chat-cta__wa { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; font-weight: 600; font-size: 0.9rem; color: #128c3e; background: #f0fbf4; border: 1px solid #cdeed7; border-radius: var(--r-pill); padding: 0.7rem 1rem; transition: background var(--t); }
.chat-cta__wa:hover { background: #e2f6e9; }
.chat-cta__wa svg { width: 17px; height: 17px; }
.bubble--in { animation: bubbleIn 0.32s var(--ease) both; }
@keyframes bubbleIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.bubble--typing { display: inline-flex; gap: 4px; align-items: center; padding: 0.85rem 1rem; }
.bubble--typing span { width: 7px; height: 7px; border-radius: 50%; background: var(--ink-mute); opacity: 0.5; animation: typing 1.1s infinite ease-in-out; }
.bubble--typing span:nth-child(2) { animation-delay: 0.18s; }
.bubble--typing span:nth-child(3) { animation-delay: 0.36s; }
@keyframes typing { 0%, 60%, 100% { transform: translateY(0); opacity: 0.4; } 30% { transform: translateY(-4px); opacity: 0.9; } }
.chat-fab__close { display: none; }
.chat-fab.is-open .chat-fab__open { display: none; }
.chat-fab.is-open .chat-fab__close { display: block; }
.chat-fab.is-open .chat-fab__dot { display: none; }
.chat-nudge { position: fixed; right: calc(clamp(1rem, 3vw, 1.75rem) + 72px); bottom: calc(clamp(1rem, 3vw, 1.75rem) + 12px); z-index: 47; background: var(--white); border: 1px solid var(--cool-200); border-radius: var(--r-md); box-shadow: var(--shadow-md); padding: 0.75rem 2.1rem 0.75rem 1rem; max-width: 230px; cursor: pointer; opacity: 0; transform: translateY(8px) scale(0.96); transform-origin: bottom right; transition: opacity var(--t) var(--ease), transform var(--t) var(--ease); }
.chat-nudge.in { opacity: 1; transform: none; }
.chat-nudge p { color: var(--navy); font-size: 0.9rem; font-weight: 600; margin: 0; }
.chat-nudge::after { content: ""; position: absolute; right: 26px; bottom: -7px; width: 14px; height: 14px; background: var(--white); border-right: 1px solid var(--cool-200); border-bottom: 1px solid var(--cool-200); transform: rotate(45deg); }
.chat-nudge__close { position: absolute; top: 6px; right: 6px; width: 24px; height: 24px; display: grid; place-items: center; border-radius: 50%; color: var(--ink-mute); }
.chat-nudge__close:hover { background: var(--cool); color: var(--navy); }
.chat-nudge__close svg { width: 14px; height: 14px; }

/* ---------- Mobile nav drawer ---------- */
.drawer { position: fixed; inset: 0; z-index: 60; display: none; }
.drawer.is-open { display: block; }
.drawer__scrim { position: absolute; inset: 0; background: var(--navy-080); backdrop-filter: blur(2px); }
.drawer__panel {
  position: absolute; top: 0; right: 0; height: 100%; width: min(86vw, 360px); background: var(--white);
  padding: 1.25rem var(--gutter) 2rem; display: flex; flex-direction: column; gap: 0.25rem;
  box-shadow: var(--shadow-lg); transform: translateX(100%); transition: transform var(--t) var(--ease);
}
.drawer.is-open .drawer__panel { transform: none; }
.drawer__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1rem; }
.drawer__head button { width: 44px; height: 44px; border-radius: var(--r-sm); color: var(--navy); display: grid; place-items: center; }
.drawer__panel nav { display: flex; flex-direction: column; }
.drawer__panel nav a { display: block; padding: 0.85rem 0.5rem; font-size: 1.05rem; font-weight: 500; color: var(--navy); border-bottom: 1px solid var(--cool); }
.drawer__panel nav a:hover { color: var(--red); }
.drawer__panel .btn { margin-top: 1.25rem; }

/* ============================================================
   Transición "vuelo" entre secciones / páginas
   ============================================================ */
.page-transition { position: fixed; inset: 0; z-index: 200; pointer-events: none; }
.page-transition__panel {
  position: absolute; inset: 0; background: var(--navy); color: var(--on-navy);
  display: grid; place-items: center; overflow: hidden;
  transform: translateY(100%); transition: transform 0.42s var(--ease);
}
.page-transition.is-cover .page-transition__panel { transform: translateY(0); }
.page-transition.is-cover.is-reveal .page-transition__panel { transform: translateY(-100%); }
.pt__grid {
  position: absolute; inset: 0; opacity: 0.5;
  background-image: linear-gradient(rgba(255,255,253,0.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,253,0.06) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 45%, #000 30%, transparent 75%);
          mask-image: radial-gradient(ellipse 70% 60% at 50% 45%, #000 30%, transparent 75%);
}
.pt__route { position: relative; display: flex; align-items: center; gap: 0.9rem; opacity: 0; transform: translateY(8px); }
.page-transition.is-cover .pt__route { animation: ptIn 0.4s var(--ease) 0.12s forwards; }
.pt__dot { font-size: 0.82rem; font-weight: 800; letter-spacing: 0.12em; color: var(--on-navy-soft); }
.pt__line { position: relative; width: clamp(150px, 32vw, 280px); height: 2px; border-radius: 2px;
  background-image: linear-gradient(90deg, rgba(255,255,253,0.3) 0 6px, transparent 6px 12px); background-size: 12px 2px; }
.pt__trail { position: absolute; left: 0; top: 0; height: 100%; width: 0; background: var(--red); border-radius: 2px; }
.page-transition.is-cover .pt__trail { animation: ptTrail 0.5s var(--ease) 0.15s forwards; }
.pt__plane { position: absolute; top: 50%; left: 0; transform: translate(-50%, -50%); color: var(--white); }
.pt__plane svg { width: 22px; height: 22px; transform: rotate(90deg); filter: drop-shadow(0 2px 6px rgba(0,0,0,0.35)); }
.page-transition.is-cover .pt__plane { animation: ptPlane 0.5s var(--ease) 0.15s forwards; }
.pt__label { position: absolute; bottom: 22%; font-size: 0.95rem; color: var(--on-navy-soft); opacity: 0; }
.pt__label b { color: var(--white); font-weight: 700; }
.page-transition.is-cover .pt__label { animation: ptIn 0.4s var(--ease) 0.2s forwards; }
@keyframes ptIn { to { opacity: 1; transform: none; } }
@keyframes ptTrail { from { width: 0; } to { width: 100%; } }
@keyframes ptPlane { from { left: 0; } to { left: 100%; } }
/* Llegada a una página nueva: el panel ya cubre y se desliza fuera (sin reanimar el avión) */
.page-transition.is-arrive .page-transition__panel { transform: translateY(0); }
.page-transition.is-arrive.is-reveal .page-transition__panel { transform: translateY(-100%); }
.page-transition.pt-noanim .page-transition__panel { transition: none; }

/* ============================================================
   Componentes de páginas internas
   ============================================================ */
.page-hero { position: relative; background: var(--navy); color: var(--on-navy); overflow: hidden; isolation: isolate; }
.page-hero__grid { position: absolute; inset: 0; z-index: -1; opacity: 0.5;
  background-image: linear-gradient(rgba(255,255,253,0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,253,0.05) 1px, transparent 1px);
  background-size: 54px 54px;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 75% 25%, #000 30%, transparent 78%);
          mask-image: radial-gradient(ellipse 80% 70% at 75% 25%, #000 30%, transparent 78%); }
.page-hero__inner { padding-block: clamp(2.5rem, 1.8rem + 4vw, 4.5rem) clamp(2.75rem, 2rem + 4vw, 4.5rem); max-width: 840px; }
.page-hero h1 { color: var(--on-navy); margin-top: 0.9rem; font-size: clamp(2rem, 1.4rem + 3vw, 3.4rem); }
.page-hero .eyebrow { color: var(--red-bright); }
.page-hero__sub { margin-top: 1.2rem; max-width: 660px; color: var(--on-navy-soft); font-size: clamp(1.05rem, 1rem + 0.4vw, 1.25rem); }
.page-hero__cta { margin-top: 1.75rem; display: flex; flex-wrap: wrap; gap: 0.8rem; }
.crumbs { display: flex; gap: 0.5rem; align-items: center; font-size: 0.84rem; color: var(--on-navy-soft); }
.crumbs a { color: var(--on-navy-soft); } .crumbs a:hover { color: var(--white); }
.crumbs span { opacity: 0.45; }

.inclist { display: grid; gap: 0.7rem; }
.inclist .inc { display: flex; gap: 0.7rem; align-items: flex-start; color: var(--ink-soft); font-size: 0.98rem; }
.inclist .inc svg { width: 19px; height: 19px; color: #1a8a4a; flex: none; margin-top: 2px; }
.on-navy .inclist .inc { color: var(--on-navy-soft); }
.on-navy .inclist .inc svg { color: var(--red-bright); }

.levels { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem, 0.6rem + 1.5vw, 1.75rem); align-items: stretch; }
.level { position: relative; background: var(--white); border: 1px solid var(--cool-200); border-radius: var(--r-lg); padding: clamp(1.5rem, 1.2rem + 1vw, 2rem); box-shadow: var(--shadow-sm); height: 100%; display: flex; flex-direction: column; transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease); }
.level:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.level.is-featured { border-color: var(--red); box-shadow: var(--shadow-md); }
.level__badge { position: absolute; top: -12px; left: 1.5rem; background: var(--red); color: #fff; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; padding: 0.32rem 0.7rem; border-radius: var(--r-pill); }
.level__name { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--red); }
.level h3 { margin: 0.4rem 0 0.7rem; }
.level > p { font-size: 0.96rem; }
.level .inclist { margin-top: 1.1rem; }

.form { display: grid; gap: 1rem; }
.form__row { display: grid; gap: 1rem; grid-template-columns: 1fr 1fr; }
.field { display: flex; flex-direction: column; gap: 0.4rem; }
.field label { font-size: 0.88rem; font-weight: 600; color: var(--ink); }
.field input, .field select, .field textarea { border: 1px solid var(--cool-200); border-radius: var(--r-sm); padding: 0.75rem 0.9rem; font: inherit; font-size: 0.96rem; color: var(--ink); background: var(--white); }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 3px solid var(--red); outline-offset: 2px; border-color: var(--navy); }
.field textarea { resize: vertical; min-height: 130px; }
.form__consent { display: flex; gap: 0.6rem; align-items: flex-start; font-size: 0.85rem; color: var(--ink-soft); line-height: 1.4; }
.form__consent input { margin-top: 3px; width: 17px; height: 17px; accent-color: var(--red); flex: none; }
.form__consent a { color: var(--red); font-weight: 600; }
.form__note { font-size: 0.85rem; color: var(--ink-mute); }

.embed { border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--cool-200); box-shadow: var(--shadow-sm); background: var(--white); }
.embed iframe { width: 100%; height: 700px; border: 0; display: block; }
.cal-embed { width: 100%; min-height: 620px; }
.cal-embed iframe { width: 100% !important; }
.cal-placeholder { display: grid; place-items: center; align-content: center; gap: 1.1rem; text-align: center; min-height: 620px; padding: 2.5rem 1.5rem; background: var(--cool); border: 1px solid var(--cool-200); border-radius: var(--r-md); }
.cal-placeholder svg { width: 46px; height: 46px; color: var(--navy); }
.cal-placeholder small { color: var(--ink-mute); font-size: 0.82rem; max-width: 44ch; line-height: 1.5; }

.prose { max-width: 760px; }
.prose h2 { font-size: clamp(1.35rem, 1.2rem + 0.9vw, 1.8rem); margin-top: 2.25rem; margin-bottom: 0.7rem; }
.prose h3 { font-size: 1.18rem; margin-top: 1.5rem; margin-bottom: 0.45rem; }
.prose p { margin-bottom: 1rem; color: var(--ink-soft); }
.prose ul { display: grid; gap: 0.5rem; margin: 0 0 1.2rem; padding-left: 1.15rem; }
.prose li { color: var(--ink-soft); }
.prose a { color: var(--red); font-weight: 600; }
.prose .updated { color: var(--ink-mute); font-size: 0.9rem; }

.team { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem, 0.6rem + 1.5vw, 1.75rem); }
.member { background: var(--white); border: 1px solid var(--cool-200); border-radius: var(--r-lg); padding: 1.75rem; box-shadow: var(--shadow-sm); }
.member__avatar { width: 64px; height: 64px; border-radius: var(--r-md); display: grid; place-items: center; background: var(--navy); color: #fff; font-weight: 800; font-size: 1.4rem; letter-spacing: -0.02em; margin-bottom: 1.1rem; }
.member__role { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--red); }
.member h3 { margin: 0.3rem 0 0.2rem; }
.member__meta { font-size: 0.85rem; color: var(--ink-mute); margin-bottom: 0.7rem; }
.member p { font-size: 0.95rem; }

@media (max-width: 900px) { .levels { grid-template-columns: 1fr; } .team { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .form__row { grid-template-columns: 1fr; } }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 980px) {
  .nav { display: none; }
  .header__actions .lang { display: none; }
  .burger { display: grid; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .areas { grid-template-columns: 1fr 1fr; }
  .feature { grid-template-columns: 1fr; }
  .assistant { grid-template-columns: 1fr; }
  .assistant .reveal--right { order: -1; }
}
@media (max-width: 600px) {
  .header__actions > .btn--primary { display: none; }
  .header__inner { gap: 0.75rem; }
}
@media (max-width: 680px) {
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .areas { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 2rem 1.5rem; }
  .footer__brand { grid-column: 1 / -1; }
  .mobile-cta { display: block; }
  .chat-fab { bottom: calc(5.75rem + env(safe-area-inset-bottom)); }
  body { padding-bottom: 4.5rem; }
  .hero__cta .btn { flex: 1; }
  .footer__bottom { flex-direction: column; }
  .chat-nudge { display: none; }
  .chat-preview { transform: none; max-width: 100%; }
}
@media (max-width: 420px) {
  .footer__grid { grid-template-columns: 1fr; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; }
  .reveal, .reveal--left, .reveal--right, .reveal--scale { opacity: 1 !important; transform: none !important; }
  .hero__grid, .hero__glow, .hero__ridge, .hero__inner { transform: none !important; opacity: 1 !important; }
  .scroll-flight__plane { display: none; }
  .bubble--typing span { animation: none !important; }
  .journey__num.is-active { transform: none !important; }
  .section-head h2, .section-head .lead { clip-path: none !important; }
  .cursor { display: none !important; }
}
