/* ==========================================================================
   Zona Libre de Falcón — Hoja de estilos
   Colores tomados del logotipo: azul marino + dorado
   ========================================================================== */

:root {
  --navy-950: #08112A;
  --navy-900: #0B1530;
  --navy-800: #121F45;
  --navy-700: #1B2B5B;
  --navy-600: #25397A;
  --navy-500: #34509B;
  --gold-700: #8F6A22;
  --gold-600: #A97F2C;
  --gold-500: #C49A3F;
  --gold-400: #D8B463;
  --gold-300: #E9CF8C;
  --gold-grad: linear-gradient(120deg, #EBD08A 0%, #C49A3F 48%, #A47A2B 100%);
  --gold-text: linear-gradient(120deg, #C9A04A 0%, #A97F2C 55%, #8F6A22 100%);
  --gold-text-light: linear-gradient(120deg, #F3DDA0 0%, #D8B463 60%, #C49A3F 100%);

  --ink: #141C38;
  --muted: #59627F;
  --line: #E2E6EF;
  --bg: #FFFFFF;
  --bg-soft: #F3F5F9;
  --bg-warm: #FAF7F0;

  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(16, 24, 48, .06), 0 2px 8px rgba(16, 24, 48, .05);
  --shadow: 0 12px 32px rgba(16, 24, 48, .10);
  --shadow-lg: 0 28px 64px rgba(16, 24, 48, .20);

  --font-head: 'Montserrat', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --container: 1240px;
  --header-h: 84px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 {
  font-family: var(--font-head);
  line-height: 1.15;
  margin: 0 0 .5em;
  color: var(--navy-700);
  letter-spacing: -.01em;
  text-wrap: balance;
}
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }
button { font: inherit; }
:focus-visible { outline: 3px solid var(--gold-400); outline-offset: 3px; border-radius: 4px; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 24px; }

.icon {
  width: 22px; height: 22px; flex-shrink: 0;
  fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round;
}

.skip-link {
  position: absolute; left: -9999px; top: 8px; z-index: 1000;
  background: var(--navy-700); color: #fff; padding: 10px 16px; border-radius: var(--radius-sm);
}
.skip-link:focus { left: 16px; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- Tipografía ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-head); font-weight: 700; font-size: .78rem;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--gold-600); margin: 0 0 18px;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--gold-grad); border-radius: 2px; }
.eyebrow--light { color: var(--gold-300); }

.text-gold {
  background: var(--gold-text);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
.section--navy .text-gold, .page-hero .text-gold, .cta-band .text-gold, .banner .text-gold { background-image: var(--gold-text-light); }

.display { font-size: clamp(2.5rem, 5.4vw, 4.6rem); font-weight: 800; line-height: 1.04; letter-spacing: -.03em; }
.h2 { font-size: clamp(2rem, 3.6vw, 3.1rem); font-weight: 800; letter-spacing: -.025em; line-height: 1.1; }
.lead { font-size: clamp(1.05rem, 1.35vw, 1.2rem); color: var(--muted); max-width: 60ch; }
.muted { color: var(--muted); }
.note { font-size: .88rem; color: var(--muted); }
.req { color: var(--gold-600); }
.text-link { color: var(--navy-500); text-decoration: underline; text-underline-offset: 3px; }
.text-link:hover { color: var(--navy-700); }
.mt-sm { margin-top: 12px; }
.mt-md { margin-top: 24px; }
.mt-lg { margin-top: 48px; }
.pt-0 { padding-top: 0; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 24px; border-radius: 6px; border: 2px solid transparent;
  font-family: var(--font-head); font-weight: 700; font-size: .8rem;
  letter-spacing: .09em; text-transform: uppercase; line-height: 1.2;
  cursor: pointer; white-space: nowrap;
  transition: transform .2s var(--ease), box-shadow .2s, background-color .2s, color .2s, border-color .2s;
}
.btn .icon { width: 18px; height: 18px; transition: transform .2s var(--ease); }
.btn:hover .icon { transform: translateX(3px); }
.btn--lg { padding: 17px 30px; font-size: .84rem; }
.btn--gold { background: var(--gold-grad); color: var(--navy-900); box-shadow: 0 8px 22px rgba(196, 154, 63, .32); }
.btn--gold:hover { transform: translateY(-2px); box-shadow: 0 14px 28px rgba(196, 154, 63, .42); }
.btn--navy { background: var(--navy-700); color: #fff; }
.btn--navy:hover { background: var(--navy-600); transform: translateY(-2px); }
.btn--outline { border-color: var(--navy-700); color: var(--navy-700); }
.btn--outline:hover { background: var(--navy-700); color: #fff; }
.btn--light { border-color: rgba(255, 255, 255, .45); color: #fff; }
.btn--light:hover { background: #fff; color: var(--navy-800); border-color: #fff; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-head); font-weight: 700; font-size: .8rem;
  letter-spacing: .09em; text-transform: uppercase; color: var(--navy-700);
}
.link-arrow .icon { width: 18px; height: 18px; color: var(--gold-500); transition: transform .2s var(--ease); }
.link-arrow:hover .icon { transform: translateX(4px); }
.link-arrow--light { color: var(--gold-300); }
.link-arrow--light .icon { color: var(--gold-300); }

/* ---------- Barra superior ---------- */
.topbar { background: var(--navy-900); color: rgba(255, 255, 255, .75); font-size: .8rem; }
.topbar__inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 40px; }
.topbar__tag { margin: 0; display: flex; align-items: center; gap: 8px; }
.topbar .icon { width: 15px; height: 15px; color: var(--gold-400); }
.topbar__links { display: flex; align-items: center; gap: 26px; }
.topbar__links a { display: inline-flex; align-items: center; gap: 7px; transition: color .2s; }
.topbar__links a:hover { color: var(--gold-300); }
.topbar__lang {
  font-family: var(--font-head); font-weight: 700; font-size: .7rem; letter-spacing: .1em;
  border: 1px solid rgba(255, 255, 255, .25); border-radius: 4px; padding: 2px 8px;
}

/* ---------- Encabezado ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: #fff; border-bottom: 1px solid transparent;
  transition: box-shadow .3s, border-color .3s;
}
.site-header.is-scrolled { box-shadow: 0 8px 28px rgba(16, 24, 48, .08); border-color: var(--line); }
.navbar { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: var(--header-h); }

.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand img { height: 54px; width: auto; }
.brand__text { display: flex; flex-direction: column; font-family: var(--font-head); line-height: 1; text-transform: uppercase; }
.brand__text strong { font-weight: 800; font-size: 1.12rem; letter-spacing: .05em; color: var(--navy-700); }
.brand__text span {
  font-weight: 700; font-size: .74rem; letter-spacing: .26em; line-height: 1.5; margin-top: 1px;
  background: var(--gold-text); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.brand--light .brand__text strong { color: #fff; }
.brand--light .brand__text span { background-image: var(--gold-text-light); }

.nav { display: flex; align-items: center; }
.nav__list { display: flex; align-items: center; gap: 2px; }
.nav__list a {
  position: relative; display: block; padding: 10px 13px; border-radius: 6px;
  font-family: var(--font-head); font-weight: 600; font-size: .86rem; color: var(--navy-700);
  white-space: nowrap; transition: color .2s;
}
.nav__list a::after {
  content: ""; position: absolute; left: 13px; right: 13px; bottom: 3px; height: 2px;
  background: var(--gold-grad); border-radius: 2px;
  transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease);
}
.nav__list a:hover::after, .nav__list a[aria-current="page"]::after { transform: scaleX(1); }
.nav__list a[aria-current="page"] { color: var(--navy-900); }
.nav__cta { display: none; }

.nav-toggle {
  display: none; width: 46px; height: 46px; border-radius: 8px;
  border: 1px solid var(--line); background: #fff; color: var(--navy-700);
  align-items: center; justify-content: center; cursor: pointer;
}
.nav-toggle .icon { width: 24px; height: 24px; }
.nav-toggle .icon--close { display: none; }
.nav-open .nav-toggle .icon--open { display: none; }
.nav-open .nav-toggle .icon--close { display: block; }

@media (max-width: 1180px) {
  .navbar__cta { display: none; }
}
@media (max-width: 1040px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    position: fixed; left: 0; right: 0; bottom: 0; top: var(--nav-top, 124px);
    flex-direction: column; align-items: stretch; gap: 24px;
    background: #fff; padding: 24px 24px 40px; overflow-y: auto;
    border-top: 1px solid var(--line);
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .25s, transform .25s var(--ease), visibility .25s;
  }
  .nav-open .nav { opacity: 1; visibility: visible; transform: none; }
  .nav-open { overflow: hidden; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__list a { padding: 18px 4px; font-size: 1.1rem; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav__list a::after { left: 4px; right: auto; width: 40px; bottom: -1px; }
  .nav__cta { display: inline-flex; align-self: flex-start; }
}

/* ---------- Secciones ---------- */
.section { padding: clamp(72px, 9vw, 120px) 0; }
.section--tight { padding: clamp(40px, 5vw, 64px) 0; }
.section--soft { background: var(--bg-soft); }
.section--warm { background: var(--bg-warm); }
.section--navy {
  background:
    radial-gradient(900px 520px at 88% 12%, rgba(52, 80, 155, .45), transparent 62%),
    radial-gradient(700px 420px at 0% 100%, rgba(196, 154, 63, .10), transparent 60%),
    linear-gradient(160deg, var(--navy-800), var(--navy-950));
  color: rgba(255, 255, 255, .8);
}
.section--navy h2, .section--navy h3 { color: #fff; }
.section--navy .eyebrow { color: var(--gold-300); }

.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px 48px; flex-wrap: wrap; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head h2 { margin: 0; max-width: 18ch; }
.section-head p { margin: 0; max-width: 54ch; color: var(--muted); }
.section-head--center { flex-direction: column; align-items: center; text-align: center; }
.section-head--center h2 { max-width: 22ch; }

/* ---------- Portada (hero) ---------- */
.hero { position: relative; padding: clamp(48px, 6vw, 80px) 0 32px; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0 0 auto auto; width: 55%; height: 100%;
  background: radial-gradient(closest-side, rgba(52, 80, 155, .07), transparent);
  pointer-events: none;
}
.hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(40px, 5vw, 72px); align-items: center; }
.hero__title { margin-bottom: 24px; }
.hero__lead { margin-bottom: 0; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero__modes { display: flex; flex-wrap: wrap; gap: 12px 26px; margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--line); }
.hero__modes li { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: .92rem; color: var(--navy-700); }
.hero__modes .icon { width: 36px; height: 36px; padding: 8px; border-radius: 50%; background: var(--bg-soft); color: var(--gold-600); }

.hero__media { position: relative; aspect-ratio: 1 / 1.02; }
.hero__ring {
  position: absolute; top: -4%; right: -9%; width: 104%; aspect-ratio: 1; border-radius: 50%;
  background: conic-gradient(from 210deg, transparent 0 8%, #EBD08A 18%, #C49A3F 40%, #A47A2B 58%, transparent 72%);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 4px), #000 calc(100% - 3px));
          mask: radial-gradient(farthest-side, transparent calc(100% - 4px), #000 calc(100% - 3px));
  pointer-events: none;
}
.hero__img { position: absolute; overflow: hidden; background: var(--bg-soft); }
.hero__img img { width: 100%; height: 100%; object-fit: cover; }
.hero__img--main { right: 0; top: 5%; width: 84%; height: 76%; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.hero__img--sub { left: 0; bottom: 2%; width: 44%; height: 36%; border-radius: var(--radius); border: 6px solid #fff; box-shadow: var(--shadow); }
.hero__badge {
  position: absolute; right: 4%; bottom: 4%; max-width: 230px;
  background: var(--navy-800); color: rgba(255, 255, 255, .85);
  border-radius: var(--radius); padding: 18px 22px; box-shadow: var(--shadow-lg); font-size: .88rem; line-height: 1.4;
}
.hero__badge strong {
  display: block; font-family: var(--font-head); font-weight: 800; font-size: 2rem; line-height: 1.1; margin-bottom: 4px;
  background: var(--gold-text-light); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero__chip {
  position: absolute; left: 6%; top: 10%;
  display: flex; align-items: center; gap: 12px;
  background: #fff; border-radius: 999px; padding: 10px 18px 10px 10px; box-shadow: var(--shadow);
  font-size: .82rem; line-height: 1.3; color: var(--muted);
}
.hero__chip strong { display: block; color: var(--navy-700); font-family: var(--font-head); font-size: .88rem; }
.hero__chip .icon { width: 40px; height: 40px; padding: 9px; border-radius: 50%; background: var(--gold-grad); color: var(--navy-900); }

/* ---------- Banner panorámico ---------- */
.banner__inner {
  position: relative; display: flex; align-items: flex-end; min-height: clamp(320px, 38vw, 460px);
  border-radius: var(--radius-lg); overflow: hidden; color: #fff; isolation: isolate;
}
.banner__inner > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.banner__inner::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(8, 17, 42, .9) 0%, rgba(8, 17, 42, .6) 45%, rgba(8, 17, 42, .05) 100%);
}
.banner__content { padding: clamp(28px, 5vw, 56px); max-width: 660px; }
.banner__content h2 { color: #fff; font-size: clamp(1.6rem, 3vw, 2.4rem); }
.banner__content p { color: rgba(255, 255, 255, .82); margin: 0; }

/* ---------- Introducción + cifras ---------- */
.intro__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.intro__grid h2 { margin: 0; }
.intro__text p { color: var(--muted); font-size: 1.06rem; }
.intro__text p:last-child { margin: 0; }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: clamp(48px, 6vw, 80px); border-top: 1px solid var(--line); }
.stat { padding: 34px 28px 6px; border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat__num {
  display: flex; align-items: baseline; gap: 2px; margin-bottom: 14px;
  font-family: var(--font-head); font-weight: 800; font-size: clamp(2.8rem, 4.6vw, 4rem); line-height: 1; color: var(--navy-700); letter-spacing: -.03em;
}
.stat__affix { font-size: .5em; letter-spacing: 0; background: var(--gold-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat__label { display: block; color: var(--muted); font-size: .95rem; max-width: 24ch; }

/* ---------- Marcas establecidas ---------- */
.brands { padding: clamp(48px, 6vw, 72px) 0; border-top: 1px solid var(--line); overflow: hidden; }
.brands__title {
  text-align: center; margin: 0 0 30px;
  font-size: .82rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--muted);
}
.brands__track { --gap: 64px; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 24px var(--gap); }
.brands__viewport.is-marquee {
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
/* En carrusel el espacio va como margen de cada logo para que el bucle no dé saltos */
.is-marquee .brands__track { flex-wrap: nowrap; justify-content: flex-start; width: max-content; gap: 0; animation: marquee var(--marquee-dur, 40s) linear infinite; }
.is-marquee .brand-logo { margin-right: var(--gap); }
.is-marquee:hover .brands__track { animation-play-state: paused; }
.brands__viewport + .brands__viewport { margin-top: 36px; }
.brands__viewport--reverse .brands__track { animation-direction: reverse; }
/* Logos sueltos, sin recuadro; --w (en el HTML) equilibra el tamaño visual de cada uno */
.brand-logo { flex: 0 0 auto; display: flex; align-items: center; justify-content: center; height: 84px; }
.brand-logo img { display: block; width: var(--w, 130px); height: auto; max-width: none; transition: transform .3s var(--ease); }
.brand-logo:hover img { transform: scale(1.06); }
.brand-logo--tile img { border-radius: 8px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Beneficios en columnas ---------- */
.perks { display: grid; grid-template-columns: repeat(3, 1fr); background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); overflow: hidden; }
.perk { padding: clamp(32px, 4vw, 48px) clamp(24px, 3vw, 40px); border-left: 1px solid var(--line); }
.perk:first-child { border-left: 0; }
.perk__icon {
  width: 76px; height: 76px; margin: 0 auto 22px; border-radius: 50%; display: grid; place-items: center;
  background: var(--gold-grad); color: var(--navy-900); box-shadow: 0 10px 24px rgba(196, 154, 63, .3);
}
.perk--navy .perk__icon { background: linear-gradient(150deg, var(--navy-600), var(--navy-900)); color: var(--gold-300); box-shadow: 0 10px 24px rgba(16, 24, 48, .25); }
.perk__icon .icon { width: 34px; height: 34px; }
.perk h3 { text-align: center; font-size: clamp(1.6rem, 2.3vw, 2rem); font-weight: 800; line-height: 1.12; margin-bottom: 28px; }
.perk h3 span { display: block; }
.perk ul { display: grid; gap: 14px; }
.perk li { display: flex; gap: 12px; align-items: flex-start; font-size: .97rem; color: var(--ink); }
.perk li .icon { width: 21px; height: 21px; color: var(--gold-600); margin-top: 1px; }

/* ---------- Pasos ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.step {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 34px 32px 36px; transition: transform .35s var(--ease), box-shadow .35s;
}
.step:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.step__top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 40px; }
.step__num {
  font-family: var(--font-head); font-weight: 800; font-size: .85rem; letter-spacing: .06em;
  background: var(--gold-grad); color: var(--navy-900); border-radius: 6px; padding: 6px 11px;
}
.step__icon { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: var(--bg-soft); color: var(--navy-700); }
.step__icon .icon { width: 28px; height: 28px; }
.step h3 { font-size: 1.5rem; margin-bottom: 12px; }
.step p { color: var(--muted); margin: 0; }
.steps__foot { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; margin-top: 36px; }
.steps__foot p { margin: 0; }

/* ---------- Beneficios (rejilla) ---------- */
.features { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.feature { padding: 36px 30px 38px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); transition: background-color .3s; }
.feature:hover { background: var(--bg-soft); }
.feature__icon {
  width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 22px;
  background: linear-gradient(135deg, rgba(196, 154, 63, .18), rgba(196, 154, 63, .05)); color: var(--gold-600);
}
.feature__icon .icon { width: 26px; height: 26px; }
.feature h3 { font-size: 1.12rem; margin-bottom: 10px; }
.feature p { color: var(--muted); font-size: .95rem; margin: 0; }

/* ---------- Pestañas de sectores ---------- */
.tabs__list { display: flex; gap: 32px; border-bottom: 1px solid var(--line); margin-bottom: 44px; overflow-x: auto; scrollbar-width: none; }
.tabs__list::-webkit-scrollbar { display: none; }
.tabs__tab {
  position: relative; flex-shrink: 0; padding: 16px 2px; border: 0; background: none; cursor: pointer;
  font-family: var(--font-head); font-weight: 700; font-size: 1rem; color: var(--muted); transition: color .2s;
}
.tabs__tab:hover { color: var(--navy-700); }
.tabs__tab[aria-selected="true"] { color: var(--navy-700); }
.tabs__tab::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; border-radius: 3px;
  background: var(--gold-grad); transform: scaleX(0); transition: transform .3s var(--ease);
}
.tabs__tab[aria-selected="true"]::after { transform: scaleX(1); }
.tab-panel { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.tab-panel + .tab-panel { margin-top: 64px; }
.js .tab-panel + .tab-panel { margin-top: 0; }
.js .tab-panel:not(.is-active) { display: none; }
.tab-panel.is-active { animation: fadeUp .5s var(--ease); }
.tab-panel__media { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 3.3; box-shadow: var(--shadow); }
.tab-panel__media img { width: 100%; height: 100%; object-fit: cover; }
.tab-panel__intro { font-size: 1.08rem; color: var(--muted); margin-bottom: 30px; }
.tab-panel h3 { font-size: clamp(1.5rem, 2.4vw, 2rem); }
.minis { display: grid; grid-template-columns: 1fr 1fr; gap: 26px 28px; }
.mini { display: flex; gap: 14px; }
.mini .icon { width: 42px; height: 42px; padding: 10px; border-radius: 12px; background: #fff; color: var(--gold-600); box-shadow: var(--shadow-sm); }
.mini h4 { font-size: 1rem; margin: 4px 0 6px; }
.mini p { font-size: .92rem; color: var(--muted); margin: 0; }

@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* ---------- Bloques divididos (imagen + texto) ---------- */
.split { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(36px, 6vw, 88px); align-items: center; }
.split + .split { margin-top: clamp(64px, 8vw, 110px); }
.split--reverse .split__media { order: 2; }
.split__media { position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 5 / 4; box-shadow: var(--shadow); }
.split__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.split:hover .split__media img { transform: scale(1.04); }
.split__tag {
  position: absolute; left: 20px; top: 20px; display: inline-flex; align-items: center; gap: 8px;
  background: rgba(8, 17, 42, .8); color: #fff; padding: 8px 14px; border-radius: 999px;
  font-family: var(--font-head); font-weight: 700; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase;
}
.split__tag .icon { width: 16px; height: 16px; color: var(--gold-300); }
.split__body h2, .split__body h3 { font-size: clamp(1.8rem, 3vw, 2.5rem); }
.split__body > p { color: var(--muted); font-size: 1.05rem; }

.checklist { display: grid; gap: 12px; margin: 26px 0 32px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; }
.checklist .icon { width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: var(--gold-grad); color: var(--navy-900); stroke-width: 3; margin-top: 2px; }
.section--navy .checklist li { color: rgba(255, 255, 255, .85); }

/* ---------- Mapa de conectividad ---------- */
.connect { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(36px, 5vw, 72px); align-items: center; }
.connect__text > p { font-size: 1.06rem; }
.route-map svg { width: 100%; height: auto; display: block; }
.route-map figcaption { margin-top: 10px; font-size: .78rem; color: rgba(255, 255, 255, .5); text-align: right; }
.rm-sea { font-family: var(--font-head); font-weight: 700; font-size: 22px; letter-spacing: .5em; fill: #fff; fill-opacity: .08; }
.rm-arcs path { stroke-width: 1.6; stroke-dasharray: 4 6; animation: dash 3s linear infinite; }
.rm-arc--long { stroke-width: 2; }
.rm-nodes circle { fill: #fff; }
.rm-labels text { font-family: var(--font-head); font-weight: 700; font-size: 10.5px; letter-spacing: .12em; fill: #fff; fill-opacity: .85; }
.rm-sub { font-family: var(--font-body); font-size: 9.5px; fill: #fff; fill-opacity: .55; letter-spacing: .02em; }
.rm-hub-label { font-family: var(--font-head); font-weight: 800; font-size: 14px; letter-spacing: .2em; fill: #E9CF8C; }
.rm-pulse { transform-origin: 400px 352px; animation: pulse 2.6s ease-out infinite; }
@keyframes dash { to { stroke-dashoffset: -40; } }
@keyframes pulse { 0% { transform: scale(.5); opacity: 1; } 100% { transform: scale(1.6); opacity: 0; } }

/* ---------- Cita institucional ---------- */
.quote { max-width: 940px; margin: 0 auto; text-align: center; }
.quote__mark { width: 56px; height: 56px; margin: 0 auto 26px; color: var(--gold-500); stroke-width: 1.4; }
.quote blockquote { margin: 0; font-family: var(--font-head); font-weight: 600; font-size: clamp(1.35rem, 2.6vw, 2.1rem); line-height: 1.38; color: var(--navy-700); letter-spacing: -.01em; }
.quote figcaption { margin-top: 28px; font-family: var(--font-head); font-weight: 700; font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-600); }

/* ---------- Tarjetas ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.card {
  display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-lg); overflow: hidden; transition: transform .35s var(--ease), box-shadow .35s;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.card__media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--bg-soft); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.card:hover .card__media img { transform: scale(1.05); }
.card__body { display: flex; flex-direction: column; flex: 1; padding: 26px 26px 30px; }
.card__body h3 { font-size: 1.2rem; line-height: 1.3; margin-bottom: 12px; }
.card__body p { color: var(--muted); font-size: .95rem; }
.card__body .link-arrow { margin-top: auto; }
.tag {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 12px;
  font-family: var(--font-head); font-weight: 700; font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-600);
}
.tag span { color: var(--muted); font-weight: 600; letter-spacing: .06em; text-transform: none; font-family: var(--font-body); font-size: .8rem; }

/* ---------- Franja de llamada a la acción ---------- */
.cta-band {
  position: relative; overflow: hidden; isolation: isolate;
  display: grid; grid-template-columns: 1.4fr auto; gap: 32px 48px; align-items: center;
  padding: clamp(40px, 6vw, 76px); border-radius: var(--radius-lg);
  background: radial-gradient(600px 300px at 100% 0%, rgba(52, 80, 155, .55), transparent 70%), linear-gradient(135deg, var(--navy-700), var(--navy-950));
  color: rgba(255, 255, 255, .8);
}
.cta-band::before {
  content: ""; position: absolute; z-index: -1; right: -120px; bottom: -220px; width: 460px; aspect-ratio: 1; border-radius: 50%;
  background: conic-gradient(from 160deg, transparent 0 10%, #EBD08A 25%, #C49A3F 45%, transparent 65%);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 2px));
          mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 2px));
  opacity: .8;
}
.cta-band h2 { color: #fff; font-size: clamp(1.8rem, 3.2vw, 2.6rem); max-width: 20ch; }
.cta-band p { margin: 0; max-width: 56ch; }
.cta-band__actions { display: flex; flex-direction: column; gap: 14px; }

/* ---------- Encabezado de páginas internas ---------- */
.page-hero {
  position: relative; isolation: isolate; overflow: hidden; color: rgba(255, 255, 255, .85);
  padding: clamp(80px, 10vw, 140px) 0 clamp(64px, 8vw, 110px); background: var(--navy-800);
}
.page-hero__bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(8, 17, 42, .94) 0%, rgba(8, 17, 42, .74) 50%, rgba(8, 17, 42, .3) 100%);
}
.page-hero::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: var(--gold-grad);
}
.page-hero h1 { color: #fff; font-size: clamp(2.3rem, 4.8vw, 4rem); font-weight: 800; letter-spacing: -.025em; max-width: 18ch; margin-bottom: 20px; }
.page-hero .lead { color: rgba(255, 255, 255, .82); }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 26px; font-size: .85rem; color: rgba(255, 255, 255, .65); }
.breadcrumb a:hover { color: var(--gold-300); }
.breadcrumb [aria-current] { color: #fff; }

/* ---------- Quiénes somos / misión ---------- */
.about { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(36px, 6vw, 88px); align-items: center; }
.about__text p { color: var(--muted); font-size: 1.05rem; }
.about__logo {
  position: relative; display: grid; place-items: center; padding: clamp(28px, 4vw, 48px);
  background: #fff; border-radius: var(--radius-lg); border: 1px solid var(--line); box-shadow: var(--shadow);
}
.about__logo img { width: 100%; max-width: 380px; }
.pillars { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: clamp(48px, 6vw, 72px); }
.pillar { padding: 34px; border-radius: var(--radius-lg); background: var(--bg-soft); }
.pillar--navy { background: linear-gradient(150deg, var(--navy-700), var(--navy-900)); color: rgba(255, 255, 255, .82); }
.pillar--navy h3 { color: #fff; }
.pillar .icon { width: 48px; height: 48px; padding: 11px; border-radius: 12px; background: var(--gold-grad); color: var(--navy-900); margin-bottom: 20px; }
.pillar h3 { font-size: 1.35rem; }
.pillar p { margin: 0; }

.benefits { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.benefit { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px 28px; border-top: 4px solid var(--gold-500); }
.benefit h3 { display: flex; align-items: center; gap: 12px; font-size: 1.15rem; margin-bottom: 18px; }
.benefit h3 .icon { color: var(--gold-600); width: 26px; height: 26px; }
.benefit ul { display: grid; gap: 10px; }
.benefit li { position: relative; padding-left: 18px; font-size: .94rem; color: var(--muted); }
.benefit li::before { content: ""; position: absolute; left: 0; top: .62em; width: 7px; height: 7px; border-radius: 2px; background: var(--gold-400); transform: rotate(45deg); }

.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 26px 32px; margin-top: 30px; }
.split__body .facts { grid-template-columns: 1fr; gap: 20px; }
.fact { display: flex; gap: 16px; }
.fact .icon { width: 46px; height: 46px; padding: 11px; border-radius: 12px; background: var(--bg-soft); color: var(--gold-600); }
.fact h3 { font-size: 1.02rem; margin: 2px 0 6px; }
.fact p { font-size: .93rem; color: var(--muted); margin: 0; }

.values { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.value { text-align: center; padding: 32px 20px; border-radius: var(--radius-lg); background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); transition: background-color .3s, transform .3s var(--ease); }
.value:hover { background: rgba(255, 255, 255, .09); transform: translateY(-4px); }
.value .icon { width: 30px; height: 30px; color: var(--gold-300); margin: 0 auto 16px; }
.value h3 { font-size: 1.05rem; margin-bottom: 8px; }
.value p { font-size: .88rem; margin: 0; color: rgba(255, 255, 255, .7); }

.legal { display: grid; grid-template-columns: auto 1fr auto; gap: 28px 36px; align-items: center; padding: clamp(28px, 4vw, 44px); border-radius: var(--radius-lg); background: var(--bg-warm); border: 1px solid #EFE6D2; }
.legal > .icon { width: 64px; height: 64px; padding: 15px; border-radius: 16px; background: #fff; color: var(--gold-600); box-shadow: var(--shadow-sm); }
.legal h2 { font-size: 1.5rem; margin-bottom: 8px; }
.legal p { margin: 0; color: var(--muted); }

/* ---------- Línea de tiempo del proceso ---------- */
.process { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(36px, 6vw, 96px); align-items: start; }
.process__intro { position: sticky; top: calc(var(--header-h) + 32px); }
.process__intro p { color: var(--muted); }
.timeline__item { position: relative; display: grid; grid-template-columns: 72px 1fr; gap: 26px; padding-bottom: 44px; }
.timeline__item::before { content: ""; position: absolute; left: 35px; top: 76px; bottom: 6px; width: 2px; background: linear-gradient(var(--gold-400), var(--line)); }
.timeline__item:last-child { padding-bottom: 0; }
.timeline__item:last-child::before { display: none; }
.timeline__num {
  width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center;
  background: #fff; border: 2px solid var(--gold-400); box-shadow: var(--shadow-sm);
  font-family: var(--font-head); font-weight: 800; font-size: 1.3rem; color: var(--navy-700);
}
.timeline__body { padding-top: 12px; }
.timeline__body h3 { font-size: 1.3rem; margin-bottom: 8px; }
.timeline__body p { color: var(--muted); margin: 0; }

.plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.plan { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 32px 28px; transition: transform .35s var(--ease), box-shadow .35s, border-color .35s; }
.plan:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.plan > .icon { width: 56px; height: 56px; padding: 14px; border-radius: 14px; background: linear-gradient(150deg, var(--navy-700), var(--navy-900)); color: var(--gold-300); margin-bottom: 22px; }
.plan h3 { font-size: 1.22rem; margin-bottom: 10px; }
.plan > p { color: var(--muted); font-size: .94rem; }
.plan__label { font-family: var(--font-head); font-weight: 700; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-600); margin: 8px 0 12px; }
.plan ul { display: grid; gap: 8px; }
.plan li { display: flex; gap: 10px; font-size: .92rem; color: var(--ink); }
.plan li .icon { width: 18px; height: 18px; color: var(--gold-500); stroke-width: 2.5; margin-top: 3px; }

.reqs { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(36px, 6vw, 80px); align-items: start; }
.reqs__list { display: grid; gap: 0; counter-reset: req; margin: 26px 0 20px; border-top: 1px solid var(--line); }
.reqs__list li { counter-increment: req; display: flex; gap: 18px; align-items: baseline; padding: 16px 0; border-bottom: 1px solid var(--line); }
.reqs__list li::before { content: counter(req, decimal-leading-zero); font-family: var(--font-head); font-weight: 800; font-size: .85rem; color: var(--gold-600); min-width: 26px; }
.spaces { display: grid; gap: 16px; }
.space { display: flex; gap: 18px; align-items: center; padding: 22px 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); transition: border-color .3s, box-shadow .3s; }
.space:hover { border-color: var(--gold-400); box-shadow: var(--shadow-sm); }
.space .icon { width: 50px; height: 50px; padding: 12px; border-radius: 12px; background: var(--bg-soft); color: var(--navy-700); }
.space h3 { font-size: 1.05rem; margin: 0 0 4px; }
.space p { margin: 0; font-size: .92rem; color: var(--muted); }

/* ---------- Preguntas frecuentes ---------- */
.faq { max-width: 920px; margin: 0 auto; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 24px 0;
  cursor: pointer; list-style: none; font-family: var(--font-head); font-weight: 700; font-size: 1.08rem; color: var(--navy-700);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--navy-500); }
.faq__icon { width: 38px; height: 38px; border-radius: 50%; border: 1.5px solid var(--line); display: grid; place-items: center; flex-shrink: 0; transition: transform .3s var(--ease), background-color .3s, border-color .3s; }
.faq__icon .icon { width: 18px; height: 18px; }
.faq details[open] .faq__icon { transform: rotate(45deg); background: var(--gold-grad); border-color: transparent; color: var(--navy-900); }
.faq__answer { padding: 0 64px 26px 0; color: var(--muted); }
.faq__answer p:last-child { margin: 0; }

/* ---------- Sectores (página) ---------- */
.sectors { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.sector { display: flex; flex-direction: column; background: #fff; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); transition: transform .35s var(--ease), box-shadow .35s; }
.sector:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.sector__media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.sector__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.sector:hover .sector__media img { transform: scale(1.05); }
.sector__icon { position: absolute; left: 24px; bottom: -26px; width: 56px; height: 56px; padding: 14px; border-radius: 14px; background: var(--gold-grad); color: var(--navy-900); box-shadow: var(--shadow); }
.sector__body { padding: 44px 26px 30px; display: flex; flex-direction: column; flex: 1; }
.sector__body h2 { font-size: 1.3rem; margin-bottom: 10px; }
.sector__body > p { color: var(--muted); font-size: .95rem; }
.sector__body .plan__label { margin-top: auto; padding-top: 6px; }
.sector ul { display: grid; gap: 8px; }
.sector li { display: flex; gap: 10px; font-size: .92rem; }
.sector li .icon { width: 18px; height: 18px; color: var(--gold-500); stroke-width: 2.5; margin-top: 3px; }

/* ---------- Infraestructura ---------- */
.modes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.mode { position: relative; min-height: 440px; border-radius: var(--radius-lg); overflow: hidden; isolation: isolate; display: flex; align-items: flex-end; color: rgba(255, 255, 255, .85); }
.mode > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1s var(--ease); }
.mode:hover > img { transform: scale(1.05); }
.mode::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(8, 17, 42, .05) 20%, rgba(8, 17, 42, .92) 85%); }
.mode__body { padding: 30px; }
.mode__body .icon { width: 48px; height: 48px; padding: 11px; border-radius: 12px; background: var(--gold-grad); color: var(--navy-900); margin-bottom: 18px; }
.mode__body h3 { color: #fff; font-size: 1.45rem; margin-bottom: 8px; }
.mode__body p { margin: 0; font-size: .95rem; }

.facilities { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.services { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.service { display: inline-flex; align-items: center; gap: 10px; padding: 12px 20px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-weight: 600; font-size: .92rem; color: var(--navy-700); }
.service .icon { width: 20px; height: 20px; color: var(--gold-600); }

/* ---------- Perspectivas ---------- */
.featured { display: grid; grid-template-columns: 1.15fr 1fr; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; margin-bottom: 40px; }
.featured__media { min-height: 340px; }
.featured__media img { width: 100%; height: 100%; object-fit: cover; }
.featured__body { padding: clamp(28px, 4vw, 52px); display: flex; flex-direction: column; justify-content: center; }
.featured__body h2 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); }
.featured__body p { color: var(--muted); }
.newsletter { display: grid; grid-template-columns: 1fr 1fr; gap: 32px 56px; align-items: center; }
.newsletter h2 { margin-bottom: 10px; }
.newsletter__form { display: flex; gap: 12px; }
.newsletter__form input { flex: 1; min-width: 0; }

/* ---------- Formularios ---------- */
.contact { display: grid; grid-template-columns: 1.35fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(26px, 4vw, 48px); box-shadow: var(--shadow); }
.form-card h2 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 28px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field--full { grid-column: 1 / -1; }
.field label { font-weight: 600; font-size: .88rem; color: var(--navy-700); }
.field label span { color: var(--gold-600); }
input[type="text"], input[type="email"], input[type="tel"], select, textarea {
  width: 100%; font: inherit; font-size: .98rem; color: var(--ink);
  padding: 13px 16px; border: 1.5px solid var(--line); border-radius: var(--radius-sm); background: #fff;
  transition: border-color .2s, box-shadow .2s;
}
select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%231B2B5B' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 44px; }
textarea { min-height: 150px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--gold-500); box-shadow: 0 0 0 4px rgba(196, 154, 63, .16); }
.field.is-invalid input, .field.is-invalid select, .field.is-invalid textarea { border-color: #C2413A; }
.field__error { font-size: .82rem; color: #B3261E; display: none; }
.field.is-invalid .field__error { display: block; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: .9rem; color: var(--muted); }
.check.is-invalid { color: #B3261E; }
.check input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--navy-700); flex-shrink: 0; }
.form-actions { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; margin-top: 8px; }
.hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.alert { display: none; padding: 14px 18px; border-radius: var(--radius-sm); margin-top: 22px; font-size: .94rem; }
.alert.is-visible { display: block; }
.alert--error { background: #FDEEEE; color: #8A1C1C; border: 1px solid #F3C4C4; }

.contact-info { display: grid; gap: 16px; }
.info-card { display: flex; gap: 18px; padding: 24px; border-radius: var(--radius); background: var(--bg-soft); }
.info-card > .icon { width: 48px; height: 48px; padding: 12px; border-radius: 12px; background: #fff; color: var(--gold-600); box-shadow: var(--shadow-sm); }
.info-card h3 { font-size: 1rem; margin: 2px 0 4px; }
.info-card p { margin: 0; color: var(--muted); font-size: .95rem; }
.info-card a:hover { color: var(--navy-500); text-decoration: underline; }
.info-card > div { min-width: 0; }
.info-card a, .footer__contact a { overflow-wrap: anywhere; }
.info-card--navy { background: linear-gradient(150deg, var(--navy-700), var(--navy-900)); color: rgba(255, 255, 255, .8); }
.info-card--navy h3 { color: #fff; }
.info-card--navy p { color: rgba(255, 255, 255, .78); }
.map { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-sm); line-height: 0; }
.map iframe { width: 100%; height: 440px; border: 0; }

/* ---------- Página de mensaje (gracias / 404) ---------- */
.message { min-height: 60vh; display: grid; place-items: center; text-align: center; padding: clamp(72px, 10vw, 140px) 0; background: radial-gradient(700px 400px at 50% 0%, rgba(196, 154, 63, .10), transparent 70%); }
.message__icon { width: 88px; height: 88px; margin: 0 auto 28px; padding: 22px; border-radius: 50%; background: var(--gold-grad); color: var(--navy-900); stroke-width: 2.5; box-shadow: 0 12px 30px rgba(196, 154, 63, .35); }
.message__code { font-family: var(--font-head); font-weight: 800; font-size: clamp(5rem, 14vw, 9rem); line-height: 1; margin-bottom: 8px; background: var(--gold-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.message h1 { font-size: clamp(2rem, 4vw, 3rem); }
.message p { color: var(--muted); max-width: 52ch; margin-inline: auto; }
.message__actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 30px; }

/* ---------- Pie de página ---------- */
.site-footer { background: var(--navy-950); color: rgba(255, 255, 255, .68); font-size: .94rem; padding-top: clamp(56px, 7vw, 88px); }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.35fr; gap: 40px; padding-bottom: 56px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.footer__brand .brand { margin-bottom: 22px; }
.footer__brand .brand img { height: 62px; }
.footer__brand p { max-width: 36ch; }
.footer__title { font-size: .78rem; letter-spacing: .18em; text-transform: uppercase; color: #fff; margin-bottom: 20px; }
.footer__links { display: grid; gap: 12px; }
.footer__links a, .footer__contact a { transition: color .2s; }
.footer__links a:hover, .footer__contact a:hover { color: var(--gold-300); }
.footer__contact { display: grid; gap: 16px; }
.footer__contact li { display: flex; gap: 12px; align-items: flex-start; }
.footer__contact .icon { width: 18px; height: 18px; color: var(--gold-400); margin-top: 3px; }
.social { display: flex; gap: 10px; margin-top: 24px; }
.social a { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(255, 255, 255, .18); transition: background-color .2s, color .2s, border-color .2s; }
.social a:hover { background: var(--gold-grad); color: var(--navy-900); border-color: transparent; }
.social .icon { width: 18px; height: 18px; }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding: 24px; font-size: .84rem; color: rgba(255, 255, 255, .5); }
.footer__bottom p { margin: 0; }

/* ---------- Botones flotantes ---------- */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 90; width: 58px; height: 58px; border-radius: 50%;
  display: grid; place-items: center; background: #25D366; color: #fff; box-shadow: 0 10px 26px rgba(0, 0, 0, .22);
  transition: transform .2s var(--ease);
}
.wa-float:hover { transform: scale(1.07); }
.wa-float .icon { width: 30px; height: 30px; }
.to-top {
  position: fixed; right: 27px; bottom: 92px; z-index: 90; width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center; border: 0; cursor: pointer; background: var(--navy-700); color: #fff; box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity .3s, transform .3s var(--ease), visibility .3s, background-color .2s;
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--navy-600); }

/* ---------- Animaciones al desplazarse ---------- */
/* Se anima "translate" (no "transform") para no interferir con los efectos hover de tarjetas */
.js .reveal {
  opacity: 0; translate: 0 26px;
  transition: opacity .9s var(--ease) var(--d, 0s), translate .9s var(--ease) var(--d, 0s),
              transform .35s var(--ease), box-shadow .35s, border-color .35s, background-color .3s;
}
.js .reveal.is-visible { opacity: 1; translate: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js .reveal { opacity: 1; translate: none; }
}

/* ==========================================================================
   Adaptación a pantallas
   ========================================================================== */
@media (max-width: 1100px) {
  .features { grid-template-columns: repeat(2, 1fr); }
  .benefits, .plans { grid-template-columns: repeat(2, 1fr); }
  .values { grid-template-columns: repeat(3, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .hero__grid, .intro__grid, .tab-panel, .split, .connect, .about, .process, .reqs, .contact, .newsletter, .featured { grid-template-columns: minmax(0, 1fr); }
  .hero__media { max-width: 560px; width: 100%; margin-inline: auto; }
  .split--reverse .split__media { order: 0; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-left: 0; padding-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
  .steps, .cards, .sectors, .modes { grid-template-columns: 1fr 1fr; }
  .perks { grid-template-columns: 1fr; }
  .perk { border-left: 0; border-top: 1px solid var(--line); }
  .perk:first-child { border-top: 0; }
  .facilities { grid-template-columns: 1fr 1fr; }
  .process__intro { position: static; }
  .cta-band { grid-template-columns: 1fr; }
  .cta-band__actions { flex-direction: row; flex-wrap: wrap; }
  .legal { grid-template-columns: auto 1fr; }
  .legal .btn { grid-column: 1 / -1; justify-self: start; }
  .featured__media { min-height: 260px; }
}

@media (max-width: 640px) {
  :root { --header-h: 72px; }
  .container { padding-inline: 16px; }
  .topbar__tag { display: none; }
  .topbar__inner { justify-content: center; }
  .topbar__links a:not(.topbar__phone) { display: none; }
  .brand img { height: 44px; }
  .brand__text strong { font-size: .98rem; }
  .brand__text span { font-size: .66rem; }
  .hero__badge { max-width: 190px; padding: 14px 16px; font-size: .8rem; }
  .hero__badge strong { font-size: 1.6rem; }
  .hero__chip { display: none; }
  .hero__actions .btn { flex: 1 1 100%; }
  .btn { white-space: normal; text-align: center; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat { padding: 26px 14px 4px; }
  .steps, .cards, .sectors, .modes, .features, .benefits, .plans, .values, .facilities, .minis, .facts, .pillars, .form-grid { grid-template-columns: 1fr; }
  .tabs__list { gap: 22px; }
  .mode { min-height: 380px; }
  .brands__track { --gap: 44px; }
  .brands__viewport + .brands__viewport { margin-top: 28px; }
  .brand-logo { height: 66px; }
  .brand-logo img { width: calc(var(--w, 130px) * .78); }
  .faq__answer { padding-right: 0; }
  .newsletter__form { flex-direction: column; }
  .footer__grid { grid-template-columns: 1fr; gap: 32px; }
  .footer__bottom { padding-inline: 16px; }
  .legal { grid-template-columns: 1fr; }
  .map iframe { height: 340px; }
}
