/* Tipografías alojadas en el tema (Montserrat y Figtree, licencia libre OFL) */
@font-face { font-family: "Montserrat"; src: url("../fonts/montserrat-var.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Figtree"; src: url("../fonts/figtree-var.woff2") format("woff2"); font-weight: 300 900; font-style: normal; font-display: swap; }

/* ==========================================================================
   ZONNA — Sistema de diseño
   Fuente de verdad: Manual de Marca 2026 (BNV Studio) + web actual.
   Todo parte de variables: en WordPress pasan a theme.json / Customizer.
   ========================================================================== */

:root {
  /* Paleta del manual de marca */
  --ink: #002d42;        /* azul noche — fondo principal oscuro */
  --ink-2: #1c415b;      /* azul acero oscuro */
  --steel: #7597a0;      /* verde-azulado grisáceo */
  --mist: #92a0ab;       /* gris azulado */
  --paper: #e8eeee;      /* fondo claro */
  --white: #ffffff;
  /* Acento heredado de la web actual (CTAs y detalles) */
  --blue: #0197f5;
  --blue-d: #0074bd;
  --blue-l: #3db7ff;

  --text: #0e2431;
  --muted: #4f6672;
  --line: rgba(0, 45, 66, .14);
  --line-inv: rgba(255, 255, 255, .18);

  --font-title: "Montserrat", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-text: "Degular", "Figtree", "Segoe UI", system-ui, -apple-system, sans-serif;

  --container: 1200px;
  --gutter: clamp(20px, 4vw, 40px);
  --section: clamp(72px, 9vw, 132px);
  --radius: 20px;
  --radius-lg: 32px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --header-h: 76px;
}

/* ---------- Reset base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 12px); }
body { overflow-x: clip; margin: 0; font-family: var(--font-text); font-weight: 300; font-size: 1.0625rem; line-height: 1.65; color: var(--text); background: var(--white); -webkit-font-smoothing: antialiased; }
img, svg, video { max-width: 100%; display: block; }
img { height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--font-title); font-weight: 600; line-height: 1.12; letter-spacing: -.015em; margin: 0 0 .5em; text-wrap: balance; }
p { margin: 0 0 1em; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }
strong { font-weight: 600; }
:focus-visible { outline: 3px solid var(--blue-l); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; z-index: 200; }
.skip:focus { left: 12px; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); border: 0; white-space: nowrap; }

.container { width: min(100% - var(--gutter) * 2, var(--container)); margin-inline: auto; }
.section { padding-block: var(--section); position: relative; }
.section--paper { background: var(--paper); }
.section--ink { background: var(--ink); color: #fff; }
.section--ink-2 { background: var(--ink-2); color: #fff; }

/* ---------- Tipografía editorial ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: 12px; font-family: var(--font-title); font-weight: 500; font-size: .75rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-2); margin-bottom: 18px; }
.eyebrow::after { /* los dos puntos de la “Ö” de la marca */
  content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--blue); box-shadow: 12px 0 0 var(--blue-l);
  margin-right: 12px;
}
.section--ink .eyebrow, .section--ink-2 .eyebrow, .page-hero .eyebrow, .vhero .eyebrow, .phero .eyebrow, .cta-form .eyebrow { color: var(--mist); }
.h2 { font-size: clamp(1.9rem, 3.6vw, 3rem); }
.lead { font-size: clamp(1.1rem, 1.5vw, 1.3rem); color: var(--muted); max-width: 60ch; }
.section--ink .lead, .section--ink-2 .lead, .page-hero .lead, .phero .lead { color: rgba(255, 255, 255, .78); }
.section-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 64px); }
.section-head--row { max-width: none; display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }

/* ---------- Botones ---------- */
.btn { --bg: var(--blue); --fg: #fff; display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 15px 28px; border-radius: 999px; border: 1.5px solid var(--bg); background: var(--bg); color: var(--fg); font-family: var(--font-title); font-weight: 600; font-size: .8125rem; letter-spacing: .08em; text-transform: uppercase; text-decoration: none; transition: transform .3s var(--ease), background .3s, color .3s, border-color .3s, box-shadow .3s; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 28px -10px rgba(1, 151, 245, .7); background: var(--blue-d); border-color: var(--blue-d); }
.btn svg { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn--ghost { --bg: transparent; --fg: #fff; border-color: rgba(255, 255, 255, .45); }
.btn--ghost:hover { background: #fff; color: var(--ink); border-color: #fff; box-shadow: none; }
.btn--dark { --bg: var(--ink); }
.btn--dark:hover { background: var(--ink-2); border-color: var(--ink-2); box-shadow: 0 10px 28px -10px rgba(0, 45, 66, .6); }
.btn--white { --bg: #fff; --fg: var(--ink); }
.btn--white:hover { background: var(--paper); border-color: var(--paper); color: var(--ink); box-shadow: none; }
.btn--outline { --bg: transparent; --fg: var(--ink); border-color: var(--ink); }
.btn--outline:hover { background: var(--ink); color: #fff; border-color: var(--ink); box-shadow: none; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-title); font-weight: 600; font-size: .8125rem; letter-spacing: .08em; text-transform: uppercase; text-decoration: none; color: var(--blue-d); }
.link-arrow svg { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.link-arrow:hover svg { transform: translateX(5px); }

/* ---------- Header ---------- */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header-h); transition: background .35s, box-shadow .35s, height .35s; color: #fff; }
.site-header__in { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: block; width: 150px; flex: none; }
.brand img { width: 100%; }
.brand .logo-dark { display: none; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav__list { display: flex; align-items: center; gap: 2px; }
.nav__link { display: inline-flex; align-items: center; gap: 6px; padding: 10px 14px; border-radius: 999px; font-family: var(--font-title); font-weight: 500; font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; text-decoration: none; background: none; border: 0; transition: background .25s, color .25s; }
.nav__link:hover, .nav__link[aria-current="page"] { background: rgba(255, 255, 255, .14); }
.nav__link svg { width: 10px; height: 10px; transition: transform .25s; }
.has-sub { position: relative; }
.sub { position: absolute; top: calc(100% + 8px); left: 0; min-width: 270px; background: #fff; color: var(--text); border-radius: 18px; padding: 10px; box-shadow: 0 24px 60px -20px rgba(0, 45, 66, .45); opacity: 0; visibility: hidden; transform: translateY(8px); transition: all .25s var(--ease); }
.has-sub:hover .sub, .has-sub:focus-within .sub, .has-sub.is-open .sub { opacity: 1; visibility: visible; transform: none; }
.has-sub:hover > .nav__link svg, .has-sub.is-open > .nav__link svg { transform: rotate(180deg); }
.sub a { display: flex; flex-direction: column; padding: 10px 14px; border-radius: 12px; text-decoration: none; font-family: var(--font-title); font-weight: 600; font-size: .9rem; }
.sub a small { font-family: var(--font-text); font-weight: 300; font-size: .78rem; color: var(--muted); letter-spacing: .02em; }
.sub a:hover { background: var(--paper); }
.nav .btn { padding: 11px 20px; font-size: .72rem; margin-left: 8px; }
.menu-toggle { display: none; width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, .4); background: transparent; position: relative; }
.menu-toggle span { position: absolute; left: 13px; right: 13px; height: 2px; background: currentColor; border-radius: 2px; transition: transform .3s var(--ease), opacity .2s; }
.menu-toggle span:nth-child(1) { top: 17px; } .menu-toggle span:nth-child(2) { top: 22px; } .menu-toggle span:nth-child(3) { top: 27px; }
.menu-open .menu-toggle span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.menu-open .menu-toggle span:nth-child(2) { opacity: 0; }
.menu-open .menu-toggle span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

/* Header sólido (scroll o páginas sin hero oscuro) */
.site-header.is-solid { background: rgba(255, 255, 255, .94); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); color: var(--ink); box-shadow: 0 1px 0 var(--line); --header-h: 68px; height: 68px; }
.site-header.is-solid .logo-light { display: none; }
.site-header.is-solid .logo-dark { display: block; }
.site-header.is-solid .nav__link:hover, .site-header.is-solid .nav__link[aria-current="page"] { background: var(--paper); }
.site-header.is-solid .menu-toggle { border-color: var(--line); }

/* ---------- Hero (home) ---------- */
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- Page hero (internas) ---------- */
.page-hero { position: relative; background: var(--ink); color: #fff; padding: calc(var(--header-h) + clamp(56px, 8vw, 110px)) 0 clamp(56px, 8vw, 100px); overflow: hidden; isolation: isolate; }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(700px 420px at 90% 0%, rgba(28, 65, 91, .95), transparent 70%), radial-gradient(500px 300px at 0% 100%, rgba(1, 151, 245, .12), transparent 70%); }
.page-hero h1 { font-size: clamp(2.4rem, 5.2vw, 4.4rem); letter-spacing: -.03em; max-width: 16ch; }
.page-hero .lead { max-width: 56ch; }
.page-hero__ring { position: absolute; right: -80px; bottom: -120px; width: 460px; height: 250px; border: 40px solid rgba(117, 151, 160, .16); border-radius: 130px; z-index: -1; }
.page-hero__ring::before { content: ""; position: absolute; top: -78px; left: 70px; width: 22px; height: 22px; border-radius: 50%; background: rgba(117, 151, 160, .28); box-shadow: 52px 0 0 rgba(117, 151, 160, .28); }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: .82rem; color: var(--mist); margin-bottom: 26px; }
.crumbs a { text-decoration: none; } .crumbs a:hover { color: #fff; }
.crumbs li + li::before { content: "/"; margin-right: 8px; opacity: .5; }
.page-hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }

/* ---------- 4 ejes ---------- */
.ejes { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.eje { position: relative; padding: 36px 28px 40px 0; border-right: 1px solid var(--line); margin-right: 28px; transition: transform .4s var(--ease); }
.eje:last-child { border: 0; margin: 0; }
.eje::before { content: ""; position: absolute; top: -1px; left: 0; width: 0; height: 3px; background: var(--blue); transition: width .5s var(--ease); }
.eje:hover::before { width: calc(100% - 28px); }
.eje__n { font-family: var(--font-title); font-weight: 500; font-size: .75rem; letter-spacing: .14em; color: var(--steel); }
.eje__ico { width: 56px; height: 56px; margin: 22px 0 24px; color: var(--ink-2); }
.eje__ico svg { width: 100%; height: 100%; stroke-width: 1.4; transition: transform .5s var(--ease), color .3s; }
.eje:hover .eje__ico svg { transform: translateY(-4px); color: var(--blue-d); }
.eje h3 { font-size: 1.25rem; margin-bottom: 10px; }
.eje p { color: var(--muted); font-size: .98rem; margin: 0; }
.ticks { display: flex; flex-wrap: wrap; gap: 10px; margin-top: clamp(32px, 4vw, 52px); }
.tick { display: inline-flex; align-items: center; gap: 10px; padding: 11px 20px 11px 16px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-family: var(--font-title); font-weight: 500; font-size: .82rem; }
.tick svg { width: 16px; height: 16px; color: var(--blue); flex: none; }

/* ---------- Carruseles ---------- */
.carousel { position: relative; margin-inline: calc(50% - 50vw); }
.carousel__track { display: flex; gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; --pad: max(var(--gutter), calc((100vw - var(--container)) / 2)); padding: 4px var(--pad) 24px; scroll-padding-inline: var(--pad); -webkit-overflow-scrolling: touch; }
.carousel__track::-webkit-scrollbar { display: none; }
.carousel__track.is-drag { scroll-snap-type: none; cursor: grabbing; }
.carousel__nav { display: flex; gap: 10px; }
.cbtn { width: 52px; height: 52px; border-radius: 50%; border: 1.5px solid var(--ink); background: transparent; display: grid; place-items: center; transition: background .25s, color .25s, opacity .25s, border-color .25s; }
.cbtn svg { width: 18px; height: 18px; }
.cbtn:hover:not(:disabled) { background: var(--ink); color: #fff; }
.cbtn:disabled { opacity: .3; cursor: default; }
.section--ink .cbtn, .section--ink-2 .cbtn { border-color: rgba(255, 255, 255, .5); }
.section--ink .cbtn:hover:not(:disabled), .section--ink-2 .cbtn:hover:not(:disabled) { background: #fff; color: var(--ink); }

/* Cards de parque */
.park { flex: 0 0 min(78vw, 340px); scroll-snap-align: start; position: relative; border-radius: var(--radius-lg); overflow: hidden; background: var(--ink); color: #fff; aspect-ratio: 3 / 4; text-decoration: none; display: block; isolation: isolate; }
.park img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); z-index: -2; }
.park::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0, 45, 66, 0) 38%, rgba(0, 45, 66, .92)); transition: background .4s; }
.park:hover img { transform: scale(1.07); }
.park__body { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px; }
.park__loc { display: inline-flex; align-items: center; gap: 7px; font-family: var(--font-title); font-size: .7rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--blue-l); margin-bottom: 8px; }
.park__loc svg { width: 13px; height: 13px; }
.park h3 { font-size: 1.5rem; margin: 0 0 14px; }
.park__more { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-title); font-weight: 600; font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; opacity: .0; transform: translateY(8px); transition: all .4s var(--ease); }
.park__more svg { width: 15px; height: 15px; }
.park:hover .park__more, .park:focus-visible .park__more { opacity: 1; transform: none; }
.park--next { background: linear-gradient(160deg, var(--blue-d), var(--ink-2) 75%); display: flex; flex-direction: column; justify-content: space-between; padding: 30px; }
.park--next::after { display: none; }
.park--next .park__tag { align-self: flex-start; font-family: var(--font-title); font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; padding: 7px 14px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .45); }
.park--next h3 { font-size: 1.9rem; }
.park--next p { color: rgba(255, 255, 255, .8); font-size: .95rem; }
.park--next .park__ring { width: 140px; height: 76px; border: 14px solid rgba(255, 255, 255, .18); border-radius: 40px; margin-bottom: 20px; position: relative; }
.park--next .park__ring::before { content: ""; position: absolute; top: -34px; left: 24px; width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, .35); box-shadow: 22px 0 0 rgba(255, 255, 255, .35); }
.park--next .park__body { position: static; padding: 0; }
.park--next .park__more { opacity: 1; transform: none; }
/* Tarjeta final (otro proyecto, link externo): “en voz baja” — sin foto ni degradé, solo contorno; un poco más angosta que las demás y de su misma altura */
.park--aux { flex-basis: min(64vw, 270px); aspect-ratio: auto; align-self: stretch; background: transparent; color: var(--ink); border: 1.5px solid rgba(0, 45, 66, .22); display: flex; flex-direction: column; justify-content: space-between; padding: 30px; transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .3s, background-color .3s; }
.park--aux::after { display: none; }
.park--aux:hover, .park--aux:focus-visible { transform: translateY(-4px); background: #fff; border-color: rgba(0, 45, 66, .5); box-shadow: 0 16px 26px -20px rgba(0, 45, 66, .55); }
.park--aux .park__tag { align-self: flex-start; font-family: var(--font-title); font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; padding: 7px 14px; border-radius: 999px; border: 1px solid rgba(0, 45, 66, .22); color: var(--ink-2); }
.park--aux .park__body { position: static; padding: 0; }
.park--aux .park__lockers { display: grid; grid-template-columns: repeat(3, 34px); gap: 8px; margin-bottom: 24px; }
.park--aux .park__lockers i { display: block; height: 28px; border: 2px solid rgba(0, 45, 66, .16); border-radius: 8px; }
.park--aux h3 { font-size: 1.9rem; margin: 0 0 10px; color: var(--ink); }
.park--aux p { margin: 0 0 24px; color: var(--muted); font-size: .95rem; }
.park--aux .park__btn { display: inline-flex; align-items: center; gap: 10px; padding: 13px 24px; border-radius: 999px; border: 1.5px solid var(--ink); font-family: var(--font-title); font-weight: 600; font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; transition: background .25s, color .25s; }
.park--aux .park__btn svg { width: 15px; height: 15px; transition: transform .3s var(--ease); }
.park--aux:hover .park__btn, .park--aux:focus-visible .park__btn { background: var(--ink); color: #fff; }
.park--aux:hover .park__btn svg, .park--aux:focus-visible .park__btn svg { transform: translate(2px, -2px); }

/* ---------- Marcas (marquee) ---------- */
.brands { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.brands__track { display: flex; gap: 20px; width: max-content; opacity: 0; animation: marquee var(--dur, 42s) linear infinite, brands-in .4s ease 2.4s forwards; transition: opacity .5s; }
.brands__track.is-built { opacity: 1; }
.brands:hover .brands__track { animation-play-state: paused; }
.brand-logo { flex: none; width: 190px; height: 92px; border-radius: 20px; background: #fff; border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; text-align: center; padding: 20px 26px; overflow: hidden; font-family: var(--font-title); font-weight: 600; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--mist); }
.brand-logo img { display: block; width: auto; height: auto; max-width: 100%; max-height: 52px; object-fit: contain; filter: grayscale(1); opacity: .75; transition: .3s; }
.brand-logo:hover img { filter: none; opacity: 1; }
@keyframes marquee { to { transform: translateX(var(--shift, calc(-50% - 10px))); } }
@keyframes brands-in { to { opacity: 1; } }   /* red de seguridad: si el JS no llegara a armar la cinta, se muestra igual */

/* ---------- Testimonios ---------- */
.tslides { position: relative; display: grid; }
.tslide { grid-area: 1 / 1; opacity: 0; visibility: hidden; transform: translateY(14px); transition: opacity .5s, transform .6s var(--ease), visibility .5s; }
.tslide.is-active { opacity: 1; visibility: visible; transform: none; }
.tslide blockquote { margin: 0 0 28px; font-family: var(--font-title); font-weight: 500; font-size: clamp(1.15rem, 1.9vw, 1.55rem); line-height: 1.45; letter-spacing: -.01em; }
.tslide blockquote::before { content: "“"; display: block; font-size: 5rem; line-height: .6; color: var(--blue-l); margin-bottom: 14px; }
.tslide figcaption b { display: block; font-family: var(--font-title); font-size: 1.05rem; }
.tslide figcaption span { color: var(--mist); font-size: .9rem; }
.tfoot { display: flex; align-items: center; justify-content: space-between; margin-top: 36px; gap: 16px; }
.dots { display: flex; gap: 8px; }
.dot { width: 10px; height: 10px; padding: 0; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .3); transition: .3s; }
.dot.is-active { background: var(--blue-l); width: 28px; border-radius: 6px; }

/* Casos de éxito */
.cases { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.case { background: #fff; border-radius: var(--radius-lg); padding: clamp(28px, 3.4vw, 44px); border: 1px solid var(--line); display: flex; flex-direction: column; transition: transform .4s var(--ease), box-shadow .4s; }
.case:hover { transform: translateY(-4px); box-shadow: 0 30px 60px -34px rgba(0, 45, 66, .35); }
.case__top { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 26px; }
.case__tag { font-family: var(--font-title); font-weight: 600; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--blue-d); }
.case__logo { height: 44px; min-width: 120px; border-radius: 12px; background: var(--paper); display: grid; place-items: center; font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--mist); font-family: var(--font-title); padding: 0 16px; }
.case h3 { font-size: 1.4rem; margin-bottom: 14px; }
.case p { color: var(--muted); font-size: .98rem; }
.case__more { max-height: 7.5em; overflow: hidden; position: relative; transition: max-height .6s var(--ease); }
.case__more::after { content: ""; position: absolute; inset: auto 0 0 0; height: 3em; background: linear-gradient(transparent, #fff); transition: opacity .3s; }
.case.is-open .case__more { max-height: 40em; }
.case.is-open .case__more::after { opacity: 0; }
.case__toggle { margin-top: 18px; align-self: flex-start; background: none; border: 0; padding: 0; }

/* ---------- Mapa ---------- */
.mapsec { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.bignum { font-family: var(--font-title); font-weight: 600; font-size: clamp(3.4rem, 8vw, 6.4rem); letter-spacing: -.04em; line-height: 1; margin: 6px 0 12px; }
.bignum sup { font-size: .4em; vertical-align: super; letter-spacing: 0; margin-left: 4px; color: var(--blue-l); }
.maplist { margin-top: 28px; display: grid; gap: 4px; }
.maplist a, .maplist button { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; text-align: left; padding: 14px 18px; border-radius: 14px; background: transparent; border: 1px solid transparent; color: #fff; text-decoration: none; font-family: var(--font-title); font-weight: 500; font-size: .95rem; transition: all .25s; }
.maplist a small { font-family: var(--font-text); font-weight: 300; color: var(--mist); font-size: .8rem; }
.maplist li:hover > *, .maplist li.is-active > * { background: rgba(255, 255, 255, .08); border-color: var(--line-inv); }
.map-frame { position: relative; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line-inv); box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .6); background: var(--ink-2); }
#map { height: clamp(380px, 46vw, 560px); width: 100%; background: #cfd9dc; }
.map-frame .leaflet-tile-pane { filter: grayscale(.85) contrast(.95) brightness(1.02) sepia(.12) hue-rotate(160deg); }
.map-frame .leaflet-popup-content-wrapper { border-radius: 16px; padding: 4px; box-shadow: 0 20px 40px -14px rgba(0, 0, 0, .45); }
.map-frame .leaflet-popup-content { margin: 14px 16px; font-family: var(--font-text); }
.map-frame .leaflet-popup-content b { font-family: var(--font-title); font-weight: 600; display: block; margin-bottom: 2px; color: var(--ink); }
.map-frame .leaflet-popup-content a { color: var(--blue-d); font-family: var(--font-title); font-weight: 600; font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; text-decoration: none; }
.pin { width: 38px; height: 38px; border-radius: 50% 50% 50% 4px; background: var(--blue); transform: rotate(-45deg); border: 3px solid #fff; box-shadow: 0 8px 18px rgba(0, 45, 66, .4); display: grid; place-items: center; transition: transform .3s var(--ease), background .3s; }
.pin::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: #fff; }
.pin.is-on, .pin:hover { background: var(--ink); transform: rotate(-45deg) scale(1.15); }
.map-fallback { padding: 28px; color: var(--ink); }

/* ---------- Pasos ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: s; position: relative; }
.step { position: relative; padding: 30px 26px 32px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); transition: transform .4s var(--ease), box-shadow .4s; }
.step:hover { transform: translateY(-5px); box-shadow: 0 28px 50px -32px rgba(0, 45, 66, .4); }
.step__n { font-family: var(--font-title); font-weight: 600; font-size: 3.2rem; line-height: 1; letter-spacing: -.04em; color: transparent; -webkit-text-stroke: 1.5px var(--steel); margin-bottom: 18px; display: block; }
.step h3 { font-size: 1.1rem; }
.step p { color: var(--muted); font-size: .95rem; margin: 0; }
.steps-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: clamp(32px, 4vw, 48px); }

/* ---------- Banda CTA ---------- */
.cta-band { position: relative; overflow: hidden; background: linear-gradient(120deg, var(--ink) 20%, var(--blue-d) 140%); color: #fff; border-radius: var(--radius-lg); padding: clamp(40px, 6vw, 84px); display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: center; isolation: isolate; }
.cta-band::before { content: ""; position: absolute; right: -60px; top: -60px; width: 340px; height: 190px; border: 30px solid rgba(255, 255, 255, .07); border-radius: 100px; z-index: -1; }
.cta-band h2 { font-size: clamp(1.8rem, 3.6vw, 3rem); margin-bottom: 10px; max-width: 20ch; }
.cta-band p { margin: 0; color: rgba(255, 255, 255, .8); max-width: 48ch; }

/* ---------- Empresa ---------- */
.about { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 6vw, 100px); align-items: start; }
.about h2 { font-size: clamp(2.2rem, 4.5vw, 3.6rem); letter-spacing: -.03em; }
.about .big { font-family: var(--font-title); font-weight: 500; font-size: clamp(1.2rem, 1.9vw, 1.5rem); line-height: 1.4; color: var(--ink); }
.mvv { display: grid; gap: 0; }
.mvv__item { display: grid; grid-template-columns: 150px 1fr; gap: 24px; padding: 30px 0; border-top: 1px solid var(--line); }
.mvv__item:last-child { border-bottom: 1px solid var(--line); }
.mvv__item h3 { font-size: 1.3rem; margin: 0; display: flex; align-items: flex-start; gap: 10px; flex-direction: column; }
.mvv__item h3::after { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--blue); box-shadow: 12px 0 0 var(--blue-l); }
.mvv__item p { margin: 0; color: var(--muted); }
.split { display: grid; grid-template-columns: 1fr 1fr; background: var(--blue-d); border-radius: var(--radius-lg); overflow: hidden; color: #fff; }
.split__img img { width: 100%; height: 100%; object-fit: cover; min-height: 320px; }
.split__txt { padding: clamp(32px, 5vw, 72px); align-self: center; }
.split__txt h2 { font-size: clamp(1.7rem, 3vw, 2.5rem); }
.split__txt p { color: rgba(255, 255, 255, .85); }

/* ---------- Ficha de parque ---------- */
.park-intro { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 6vw, 90px); align-items: start; }
.feat { display: grid; gap: 4px; }
.feat li { display: flex; gap: 14px; align-items: flex-start; padding: 16px 0; border-bottom: 1px solid var(--line); font-family: var(--font-title); font-weight: 500; font-size: .98rem; }
.feat li:first-child { border-top: 1px solid var(--line); }
.feat svg { width: 22px; height: 22px; color: var(--blue); flex: none; margin-top: 1px; }
.naves { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.nave { background: #fff; border-radius: var(--radius-lg); border: 1px solid var(--line); overflow: hidden; display: flex; flex-direction: column; transition: transform .4s var(--ease), box-shadow .4s; }
.nave:hover { transform: translateY(-5px); box-shadow: 0 30px 60px -34px rgba(0, 45, 66, .4); }
.nave__img { position: relative; aspect-ratio: 16 / 10; background: var(--paper); }
.nave__img img { width: 100%; height: 100%; object-fit: cover; }
.nave__img .ph { height: 100%; display: grid; place-items: center; background: repeating-linear-gradient(135deg, var(--paper) 0 14px, #dde6e6 14px 28px); color: var(--steel); font-family: var(--font-title); font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; }
.nave__status { position: absolute; top: 14px; left: 14px; padding: 6px 14px; border-radius: 999px; background: #fff; font-family: var(--font-title); font-weight: 600; font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--blue-d); }
.nave__body { padding: 24px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.nave h3 { font-size: 1.25rem; }
.nave dl { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 16px; margin: 6px 0 22px; }
.nave dt { font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--steel); font-family: var(--font-title); font-weight: 500; }
.nave dd { margin: 0; font-family: var(--font-title); font-weight: 600; font-size: .95rem; color: var(--ink); }
.nave dd.pending { color: var(--mist); font-weight: 500; }
.nave .btn { margin-top: auto; }
.small-map { height: 380px; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); }
.small-map .leaflet-tile-pane { filter: grayscale(.85) contrast(.95) sepia(.12) hue-rotate(160deg); }

/* ---------- Contacto ---------- */
.contact { display: grid; grid-template-columns: 1.35fr .65fr; gap: clamp(32px, 5vw, 80px); align-items: start; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 28px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field--full { grid-column: 1 / -1; }
.field label { font-family: var(--font-title); font-weight: 600; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); }
.field label i { color: var(--blue); font-style: normal; }
.field input, .field select, .field textarea { font: inherit; font-weight: 400; font-size: 1rem; color: var(--text); background: transparent; border: 0; border-bottom: 1.5px solid var(--mist); border-radius: 0; padding: 10px 2px 12px; outline: 0; transition: border-color .25s, box-shadow .25s; width: 100%; appearance: none; -webkit-appearance: none; }
.field select { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%23002d42' stroke-width='1.6'%3E%3Cpath d='m1 1 5 5 5-5'/%3E%3C/svg%3E") no-repeat right 4px center; padding-right: 28px; }
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--blue); box-shadow: 0 1.5px 0 var(--blue); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: #c2410c; }
.field .err { display: none; font-size: .8rem; color: #c2410c; font-weight: 400; }
.field.has-error .err { display: block; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: .88rem; color: var(--muted); }
.check input { margin-top: 4px; width: 18px; height: 18px; accent-color: var(--blue-d); flex: none; }
.check a { color: var(--blue-d); }
.hp { position: absolute; left: -9999px; }
.form__foot { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 18px; align-items: center; }
.form__foot small { color: var(--muted); font-size: .82rem; }
.form-ok { display: none; border-radius: var(--radius); background: var(--paper); padding: 40px; text-align: left; }
.form-ok.is-on { display: block; }
.form-ok h3 { font-size: 1.6rem; }
.form.is-sent { display: none; }
.info-card { background: var(--ink); color: #fff; border-radius: var(--radius-lg); padding: clamp(28px, 3vw, 40px); position: sticky; top: calc(var(--header-h) + 24px); }
.info-card h3 { font-size: 1.25rem; margin-bottom: 22px; }
.info-card li { display: flex; gap: 14px; padding: 14px 0; border-top: 1px solid var(--line-inv); font-size: .98rem; align-items: flex-start; }
.info-card li svg { width: 20px; height: 20px; flex: none; color: var(--blue-l); margin-top: 3px; }
.info-card a { text-decoration: none; } .info-card a:hover { text-decoration: underline; }
.info-card small { display: block; color: var(--mist); font-size: .82rem; }
.info-card .btn { width: 100%; margin-top: 22px; }

/* FAQ */
.faq { max-width: 860px; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 24px 48px 24px 0; font-family: var(--font-title); font-weight: 600; font-size: 1.1rem; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 12px; height: 12px; margin-top: -9px; border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: rotate(45deg); transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -3px; }
.faq details p { color: var(--muted); padding: 0 48px 26px 0; margin: 0; }

/* ---------- Legal ---------- */
.legal { max-width: 780px; }
.legal h2 { font-size: 1.4rem; margin-top: 2.2em; }
.legal ul { list-style: disc; padding-left: 1.3em; margin-bottom: 1em; }
.legal li { margin-bottom: .4em; }
.legal a { color: var(--blue-d); }

/* ---------- Footer ---------- */
.site-footer { background: #121a1f; color: #fff; padding: clamp(56px, 7vw, 96px) 0 28px; }
.footer__grid { display: grid; grid-template-columns: 1.3fr .8fr .9fr 1fr; gap: clamp(28px, 4vw, 56px); }
.site-footer h2 { font-size: 1rem; letter-spacing: 0; margin-bottom: 18px; }
.footer__tel { display: inline-flex; align-items: center; gap: 12px; font-family: var(--font-title); font-weight: 500; font-size: 1.5rem; text-decoration: none; letter-spacing: -.01em; }
.footer__tel svg { width: 22px; height: 22px; color: var(--blue-l); }
.footer__muted { color: var(--mist); font-size: .88rem; }
.site-footer li { margin-bottom: 10px; }
.site-footer li a { text-decoration: none; font-size: .9rem; color: rgba(255, 255, 255, .85); }
.site-footer li a:hover { color: var(--blue-l); }
.social { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line-inv); transition: .25s; margin-top: 6px; }
.social:hover { background: var(--blue); border-color: var(--blue); }
.social svg { width: 18px; height: 18px; }
.footer__bottom { margin-top: clamp(40px, 6vw, 72px); padding-top: 24px; border-top: 1px solid var(--line-inv); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: .82rem; color: var(--mist); }
.footer__bottom a { text-decoration: none; } .footer__bottom a:hover { color: #fff; }

/* ---------- Flotantes ---------- */
.fab { position: fixed; right: 20px; bottom: 20px; z-index: 90; display: flex; flex-direction: column; gap: 12px; align-items: center; }
.fab a, .fab button { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; border: 0; box-shadow: 0 14px 30px -10px rgba(0, 0, 0, .5); transition: transform .3s var(--ease); }
.fab a:hover, .fab button:hover { transform: scale(1.08); }
.fab .wa { background: #25d366; color: #fff; } .fab .wa svg { width: 28px; height: 28px; }
.fab .up { width: 44px; height: 44px; background: #fff; color: var(--ink); opacity: 0; visibility: hidden; transition: .3s; }
.fab .up.is-on { opacity: 1; visibility: visible; }
.fab .up svg { width: 18px; height: 18px; }

/* Dialog video */
dialog.vdialog { border: 0; padding: 0; background: transparent; width: min(92vw, 400px); max-width: none; overflow: visible; }
dialog.vdialog::backdrop { background: rgba(0, 20, 30, .82); backdrop-filter: blur(4px); }
.vdialog__box { position: relative; height: min(80vh, 760px); border-radius: 20px; overflow: hidden; background: #000; display: grid; place-items: center; color: #fff; text-align: center; }
.vdialog__box iframe, .vdialog__box video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.vdialog__ph { padding: 32px; max-width: 46ch; }
.vdialog__close { position: absolute; top: -52px; right: 0; width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, .6); background: transparent; color: #fff; font-size: 1.4rem; line-height: 1; }

/* ---------- Reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .ejes { grid-template-columns: repeat(2, 1fr); }
  .eje:nth-child(2) { border-right: 0; margin-right: 0; }
  .eje { border-bottom: 1px solid var(--line); }
  .eje:nth-child(n+3) { border-bottom: 0; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .naves { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .menu-toggle { display: block; }
  .nav { position: fixed; inset: 0; background: var(--ink); color: #fff; flex-direction: column; align-items: stretch; justify-content: flex-start; padding: calc(var(--header-h) + 24px) var(--gutter) 40px; gap: 20px; overflow-y: auto; opacity: 0; visibility: hidden; transform: translateY(-12px); transition: all .35s var(--ease); z-index: -1; }
  .menu-open .nav { opacity: 1; visibility: visible; transform: none; }
  .menu-open .site-header { color: #fff; background: var(--ink); box-shadow: none; }
  .menu-open .site-header .logo-light { display: block; } .menu-open .site-header .logo-dark { display: none; }
  .menu-open .menu-toggle { border-color: rgba(255, 255, 255, .4); }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__link { font-size: 1.05rem; padding: 18px 0; border-radius: 0; border-bottom: 1px solid var(--line-inv); justify-content: space-between; width: 100%; }
  .nav__link:hover { background: none; }
  .sub { position: static; opacity: 1; visibility: visible; transform: none; background: transparent; color: #fff; box-shadow: none; padding: 0 0 0 4px; max-height: 0; overflow: hidden; transition: max-height .4s var(--ease); min-width: 0; }
  .has-sub.is-open .sub { max-height: 460px; }
  .sub a small { color: var(--mist); } .sub a:hover { background: rgba(255, 255, 255, .06); }
  .nav .btn { margin: 8px 0 0; padding: 16px; }
  .mapsec, .about, .park-intro, .contact { grid-template-columns: 1fr; }
  .cases { grid-template-columns: 1fr; }
  .cta-band { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; }
  .info-card { position: static; }
  .mvv__item { grid-template-columns: 1fr; gap: 12px; }
}
@media (max-width: 620px) {
  body { font-size: 1rem; }
  .ejes { grid-template-columns: 1fr; }
  .eje { border-right: 0; margin-right: 0; border-bottom: 1px solid var(--line) !important; padding-right: 0; }
  .eje:last-child { border-bottom: 0 !important; }
  .steps, .naves { grid-template-columns: 1fr; }
  .form { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .brand { width: 128px; }
}
@media (prefers-reduced-motion: reduce) {
  .brands__track { animation-duration: 120s; }
  html { scroll-behavior: auto; }
  .park--aux, .park--aux .park__btn svg { transition: none; }
  .park--aux:hover, .park--aux:focus-visible { transform: none; }
}

/* ---------- Iconos (sprite SVG) ---------- */
.i { fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; display: inline-block; flex: none; }
.i--fill { fill: currentColor; stroke: none; }
.small-map #map { height: 380px; }
.nav__link .i { width: 10px; height: 10px; stroke-width: 2.4; }


/* ==========================================================================
   HERO CON VIDEO + PASTILLAS DE DATOS (inicio)
   El video y su imagen de portada se cargan desde WordPress (ver README).
   ========================================================================== */
.vhero { position: relative; display: flex; flex-direction: column; min-height: 100vh; min-height: 100svh; background: var(--ink); color: #fff; overflow: hidden; isolation: isolate; }
.vhero__media { position: absolute; inset: 0; z-index: -1; background: radial-gradient(900px 600px at 80% 20%, var(--ink-2), transparent 70%), var(--ink); }
.vhero__poster { position: absolute; inset: 0; display: block; }
.vhero__poster img, .vhero__media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.vhero__media video { opacity: 0; transition: opacity 1.4s var(--ease); }
.vhero__media.is-playing video { opacity: 1; }
.vhero__shade { position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(0, 45, 66, .62) 0, rgba(0, 45, 66, 0) 24%),
    linear-gradient(90deg, rgba(0, 45, 66, .88) 0%, rgba(0, 45, 66, .56) 46%, rgba(0, 45, 66, .16) 100%),
    linear-gradient(0deg, rgba(0, 45, 66, .8) 0, rgba(0, 45, 66, 0) 40%); }
.vhero__main { flex: 1; display: flex; align-items: center; padding-top: calc(var(--header-h) + clamp(12px, 4vh, 56px)); padding-bottom: clamp(16px, 4vh, 48px); }
.vhero__text { max-width: 760px; }
.vhero h1 { font-size: clamp(2.4rem, min(6vw, 10.5vh), 5.2rem); letter-spacing: -.03em; margin-bottom: clamp(14px, 2.6vh, 26px); }
.vhero h1 em { display: block; font-style: normal; color: var(--blue-l); }
.vhero .lead { color: rgba(255, 255, 255, .86); margin-bottom: clamp(22px, 4.4vh, 38px); max-width: 52ch; }
.vhero .eyebrow { margin-bottom: clamp(12px, 2.4vh, 18px); }

/* Pastillas de datos sobre el video */
.vhero__stats { position: relative; padding-bottom: clamp(18px, 4vh, 40px); }
.pills { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.pill { position: relative; display: flex; align-items: center; gap: 14px; min-width: 0; padding: 14px 22px 14px 14px; border-radius: 999px; overflow: hidden;
  background: rgba(0, 45, 66, .74); border: 1px solid rgba(255, 255, 255, .2);
  box-shadow: 0 24px 40px -26px rgba(0, 0, 0, .7), inset 0 1px 0 rgba(255, 255, 255, .22);
  transition: transform .45s var(--ease), border-color .3s, box-shadow .3s; }
@supports ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .pill { background: linear-gradient(135deg, rgba(255, 255, 255, .17), rgba(255, 255, 255, .05)); -webkit-backdrop-filter: blur(16px) saturate(1.3); backdrop-filter: blur(16px) saturate(1.3); }
}
.pill::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .22) 50%, transparent 70%); transform: translateX(-120%); transition: transform .9s var(--ease); }
.pill:hover { transform: translateY(-5px); border-color: rgba(61, 183, 255, .75); box-shadow: 0 30px 46px -26px rgba(0, 0, 0, .75), inset 0 1px 0 rgba(255, 255, 255, .3); }
.pill:hover::before { transform: translateX(120%); }
.pill__ico { flex: none; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: rgba(61, 183, 255, .16); border: 1px solid rgba(61, 183, 255, .42); color: var(--blue-l); transition: background .3s, color .3s, transform .5s var(--ease); }
.pill:hover .pill__ico { background: var(--blue); color: #fff; transform: rotate(-8deg) scale(1.06); }
.pill__ico .i { width: 24px; height: 24px; }
.pill b { display: block; font-family: var(--font-title); font-weight: 600; font-size: clamp(1.3rem, 1.75vw, 1.7rem); line-height: 1; letter-spacing: -.02em; white-space: nowrap; }
.pill b small { font-size: .52em; font-weight: 500; letter-spacing: 0; color: var(--blue-l); }
.pill__lbl { display: block; margin-top: 6px; font-size: .8rem; line-height: 1.25; color: rgba(255, 255, 255, .76); }

/* Pausa del video (accesibilidad) */
.vhero__toggle { position: absolute; right: 0; top: -58px; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(255, 255, 255, .4); background: rgba(0, 45, 66, .4); color: #fff; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); transition: background .3s, color .3s; }
.vhero__toggle:hover { background: #fff; color: var(--ink); }
.vhero__toggle .i { width: 16px; height: 16px; }
.vhero__toggle .i-play { display: none; }
.vhero__toggle.is-paused .i-pause { display: none; }
.vhero__toggle.is-paused .i-play { display: block; }

/* Entrada escalonada (y red de seguridad si el JS no arranca) */
.js .vhero .rise, .js .phero .rise { opacity: 0; transform: translateY(22px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: calc(.15s + var(--i, 0) * .1s); }
.js.is-ready .vhero .rise, .js.is-ready .phero .rise { opacity: 1; transform: none; }
@keyframes rise-failsafe { to { opacity: 1; transform: none; } }
html.js:not(.is-ready) .reveal, html.js:not(.is-ready) .vhero .rise, html.js:not(.is-ready) .phero .rise { animation: rise-failsafe .01s 5s forwards; }

/* ==========================================================================
   BLOQUE FINAL DE LA HOME: título + formulario de contacto
   ========================================================================== */
.cta-form { position: relative; overflow: hidden; isolation: isolate; border-radius: var(--radius-lg); background: linear-gradient(120deg, var(--ink) 20%, var(--blue-d) 150%); color: #fff; padding: clamp(26px, 5vw, 72px); display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.cta-form::before { content: ""; position: absolute; right: -70px; top: -70px; width: 340px; height: 190px; border: 30px solid rgba(255, 255, 255, .07); border-radius: 100px; z-index: -1; }
.cta-form h2 { font-size: clamp(1.8rem, 3.1vw, 2.7rem); margin-bottom: 14px; }
.cta-form__intro p { color: rgba(255, 255, 255, .82); max-width: 42ch; }
.cta-form__list { margin: 28px 0 26px; }
.cta-form__list li { display: flex; gap: 14px; align-items: center; padding: 14px 0; border-top: 1px solid var(--line-inv); }
.cta-form__list li:last-child { border-bottom: 1px solid var(--line-inv); }
.cta-form__list .i { width: 20px; height: 20px; color: var(--blue-l); }
.cta-form__list a { text-decoration: none; }
.cta-form__list a:hover { text-decoration: underline; }
.cta-form__card { background: #fff; color: var(--text); border-radius: 28px; padding: clamp(22px, 3vw, 40px); box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .6); }
.cta-form__card .form { gap: 18px 22px; }
.cta-form__card .form-ok { padding: 8px 0; background: transparent; }

@media (max-width: 1080px) {
  .pills { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .vhero__shade { background: linear-gradient(180deg, rgba(0, 45, 66, .66) 0%, rgba(0, 45, 66, .46) 42%, rgba(0, 45, 66, .86) 100%); }
  .cta-form { grid-template-columns: 1fr; gap: 24px; }
  .cta-form__list, .cta-form__intro > .btn { display: none; }   /* el formulario queda más cerca en tablet/celular */
}
@media (max-width: 620px) {
  .pills { gap: 10px; }
  .pill { gap: 8px; padding: 10px 12px 10px 10px; border-radius: 22px; }
  .pill__ico { width: 34px; height: 34px; }
  .pill__ico .i { width: 17px; height: 17px; }
  .pill b { font-size: clamp(.9rem, 4.2vw, 1.1rem); }
  .pill__lbl { font-size: .68rem; margin-top: 3px; }
  .vhero__toggle { top: -52px; width: 38px; height: 38px; }
  .cta-form { padding: 22px 16px 16px; }
  .cta-form__card { padding: 20px 16px; border-radius: 22px; }
}

/* Pastillas de igual alto + WhatsApp flotante oculto mientras el hero está a la vista */
.pills > li { display: flex; }
.pills > li > .pill { flex: 1; }
.fab .wa { transition: transform .3s var(--ease), opacity .3s, visibility .3s; }
.fab .wa.is-hidden { opacity: 0; visibility: hidden; transform: scale(.85); }
@media (max-height: 700px) and (max-width: 620px) {
  .vhero .eyebrow { display: none; }
  .vhero .lead { font-size: .95rem; line-height: 1.5; }
}


/* ==========================================================================
   TESTIMONIOS: video VERTICAL (Reel de Instagram) + cita
   Cada testimonio (CPT en WordPress) trae su propio video: URL del Reel + portada 9:16.
   ========================================================================== */
.tslide { display: grid; grid-template-columns: minmax(0, 340px) minmax(0, 1fr); gap: clamp(32px, 7vw, 110px); align-items: center; }
.tslide--novideo { grid-template-columns: minmax(0, 760px); }
.tquote { margin: 0; }
.tvideo { position: relative; width: 100%; max-width: 340px; }
.tvideo::before { content: ""; position: absolute; top: -26px; left: 30px; width: 12px; height: 12px; border-radius: 50%; background: var(--blue-l); box-shadow: 26px 0 0 var(--blue-l); }
.vcard { position: relative; display: block; width: 100%; aspect-ratio: 9 / 16; padding: 0; border: 0; border-radius: 32px; overflow: hidden; background: var(--ink-2); isolation: isolate; box-shadow: 0 40px 80px -34px rgba(0, 0, 0, .75), 0 0 0 1px rgba(255, 255, 255, .12); }
.vcard img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.vcard:hover img { transform: scale(1.05); }
.vcard::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 45, 66, .38) 0, transparent 22%, transparent 55%, rgba(0, 45, 66, .74)); }
.vcard__ig { position: absolute; z-index: 2; top: 16px; left: 16px; display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px 7px 10px; border-radius: 999px; background: rgba(0, 45, 66, .5); border: 1px solid rgba(255, 255, 255, .28); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); font-family: var(--font-title); font-weight: 600; font-size: .66rem; letter-spacing: .12em; text-transform: uppercase; color: #fff; }
.vcard__ig .i { width: 15px; height: 15px; }
.vcard__cap { position: absolute; z-index: 2; left: 20px; right: 20px; bottom: 18px; text-align: left; font-family: var(--font-title); font-weight: 500; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: #fff; }
.play { position: absolute; z-index: 2; left: 50%; top: 50%; width: 76px; height: 76px; margin: -38px 0 0 -38px; border-radius: 50%; background: rgba(255, 255, 255, .95); color: var(--ink); display: grid; place-items: center; transition: transform .4s var(--ease), background .3s; }
.play::before { content: ""; position: absolute; inset: -12px; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, .5); animation: pulse 2.4s ease-out infinite; }
.play svg { width: 26px; height: 26px; margin-left: 4px; }
.vcard:hover .play { transform: scale(1.08); background: #fff; }
@keyframes pulse { 0% { transform: scale(.92); opacity: 1; } 100% { transform: scale(1.35); opacity: 0; } }
.vdialog__ig { display: block; text-align: center; margin-top: 14px; color: #fff; font-family: var(--font-title); font-weight: 600; font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; text-decoration: none; }
.vdialog__ig:hover { text-decoration: underline; }

/* ==========================================================================
   BANNER DE PARQUE: imagen completa a todo el ancho (sin marco redondeado)
   La imagen se carga desde WordPress (campo "Imagen del banner", 1920 × 1080).
   ========================================================================== */
.phero { position: relative; display: flex; align-items: flex-end; min-height: clamp(540px, 80svh, 800px); padding: calc(var(--header-h) + 40px) 0 clamp(96px, 10vw, 140px); background: var(--ink); color: #fff; overflow: hidden; isolation: isolate; }
.phero__media { position: absolute; inset: 0; z-index: -1; }
.phero__media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 2.4s var(--ease); }
.is-ready .phero__media img { transform: none; }
.phero__shade { position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(0, 45, 66, .62) 0, rgba(0, 45, 66, 0) 26%),
    linear-gradient(90deg, rgba(0, 45, 66, .88) 0%, rgba(0, 45, 66, .55) 48%, rgba(0, 45, 66, .12) 100%),
    linear-gradient(0deg, rgba(0, 45, 66, .74) 0, rgba(0, 45, 66, 0) 46%); }
.phero__in { position: relative; }
.phero h1 { font-size: clamp(2.4rem, min(5.6vw, 9.5vh), 4.6rem); letter-spacing: -.03em; max-width: 16ch; }
.phero .lead { max-width: 52ch; color: rgba(255, 255, 255, .86); }

@media (max-width: 900px) {
  .tslide { grid-template-columns: 1fr; gap: 40px; }
  .tvideo { max-width: 300px; margin-inline: auto; }
  .phero { min-height: clamp(520px, 78svh, 720px); }
  .phero__shade { background: linear-gradient(180deg, rgba(0, 45, 66, .66) 0%, rgba(0, 45, 66, .5) 45%, rgba(0, 45, 66, .88) 100%); }
}

/* Ajustes finos */
.phero .crumbs { color: rgba(255, 255, 255, .8); }
.tslides { padding-top: 26px; }


/* ==========================================================================
   AJUSTES PARA WORDPRESS
   ========================================================================== */
/* Barra de administración (solo se ve estando logueado): no tapa el menú */
body.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { body.admin-bar .site-header { top: 46px; } }
body.admin-bar .nav { padding-top: calc(var(--header-h) + 56px); }
@media (min-width: 901px) { body.admin-bar .nav { padding-top: 0; } }

/* Galería de parque: se adapta a la cantidad de fotos que cargue el cliente */

/* Casos de éxito: logo y mensaje del CEO (opcionales) */
.case__logo--img { background: transparent; padding: 0; min-width: 0; height: 44px; }
.case__logo--img img { height: 44px; width: auto; max-width: 160px; object-fit: contain; }
.case__ceo { margin: 18px 0 0; padding: 4px 0 4px 18px; border-left: 3px solid var(--blue); }
.case__ceo p { margin: 0 0 6px; font-family: var(--font-title); font-weight: 500; font-size: .98rem; color: var(--ink); }
.case__ceo footer { font-size: .85rem; color: var(--muted); }
.vdialog__ph { padding: 32px; max-width: 34ch; }


/* ==========================================================================
   FICHA RÁPIDA (recuadros debajo del banner de cada parque)
   Cantidad variable de recuadros: las columnas se calculan en la plantilla (--cols) y el último recuadro
   completa la fila si queda incompleta (--span).
   ========================================================================== */
.ficha { display: grid; grid-template-columns: repeat(var(--cols, 4), minmax(0, 1fr)); gap: 1px; background: #dbe2e4; border: 1px solid #dbe2e4; border-radius: var(--radius); overflow: hidden; margin: -54px 0 0; position: relative; z-index: 3; box-shadow: 0 30px 60px -36px rgba(0, 45, 66, .35); }
.ficha--n1 { max-width: 420px; }
.ficha--n2 { max-width: 760px; }
.ficha--n3 { max-width: 1000px; }
.ficha > div { background: #fff; padding: 26px 28px; min-width: 0; }
.ficha > div:last-child { grid-column: span var(--span, 1); }
.ficha dt { font-family: var(--font-title); font-weight: 500; font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--steel); margin-bottom: 6px; }
.ficha dd { margin: 0; font-family: var(--font-title); font-weight: 600; font-size: 1.15rem; color: var(--ink); overflow-wrap: anywhere; }
.phero--noficha { padding-bottom: clamp(56px, 7vw, 90px); }
@media (max-width: 900px) {
  .ficha { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: -40px; max-width: none; }
  .ficha > div:last-child { grid-column: auto; }
  .ficha > div:last-child:nth-child(odd) { grid-column: 1 / -1; }
}
@media (max-width: 620px) { .ficha > div { padding: 20px 18px; } .ficha dd { font-size: 1.02rem; } }

/* ==========================================================================
   MAPAS: contexto de apilamiento propio.
   Leaflet usa z-index altos (hasta 1000) en sus capas y controles; sin este aislamiento el mapa se pintaba por encima
   del menú fijo y del submenú de parques al hacer scroll.
   ========================================================================== */
.map-frame, .small-map { isolation: isolate; }
.map-frame #map, .small-map #map { position: relative; z-index: 0; }


/* ==========================================================================
   v1.2 — MARCAS: logos blancos (se muestran oscuros para que se vean sobre la tarjeta blanca)
   ========================================================================== */
.brand-logo.is-light img { filter: invert(1) grayscale(1); }
.brand-logo.is-light:hover img { filter: invert(1); }

/* ==========================================================================
   v1.2 — GALERÍA DEL PARQUE: hasta 8 fotos (la 1.ª grande, ocupando 2 filas) y "+N" en la última
   ========================================================================== */
.gallery { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-auto-rows: 220px; gap: 16px; }
.gallery figure { margin: 0; border-radius: var(--radius); overflow: hidden; position: relative; background: var(--ink-2); }
.gallery figure:first-child { grid-row: span 2; }
.gallery figure > a { display: block; position: relative; width: 100%; height: 100%; cursor: zoom-in; }
.gallery figure > a:focus-visible { outline: 3px solid var(--blue); outline-offset: -3px; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.gallery figure:hover img { transform: scale(1.06); }
.gallery--n1 { grid-template-columns: 1fr; grid-auto-rows: 460px; }
.gallery--n1 figure:first-child { grid-row: auto; }
.gallery--n2 { grid-template-columns: 1fr 1fr; grid-auto-rows: 340px; }
.gallery--n2 figure:first-child { grid-row: auto; }
.gallery--n3 { grid-template-columns: 2fr 1fr; }
.gallery--n4 { grid-template-columns: 1fr 1fr; grid-auto-rows: 260px; }
.gallery--n4 figure:first-child { grid-row: auto; }
.gallery--n6 figure:last-child { grid-column: 1 / -1; }      /* sin huecos: la última completa la fila */
.gallery--n7 figure:last-child { grid-column: span 2; }
.gallery__more { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(0, 116, 189, .62); color: #fff; font-family: var(--font-title); font-weight: 600; font-size: clamp(1.9rem, 3.4vw, 2.9rem); letter-spacing: .01em; text-shadow: 0 2px 18px rgba(0, 45, 66, .45); transition: background .4s var(--ease); }
.gallery figure.has-more:hover .gallery__more { background: rgba(0, 116, 189, .46); }
@media (max-width: 900px) {
  .gallery, .gallery--n1, .gallery--n2, .gallery--n3, .gallery--n4 { grid-template-columns: 1fr 1fr; grid-template-rows: 240px; grid-auto-rows: 170px; }
  .gallery figure:first-child { grid-column: 1 / -1; grid-row: auto; }
  .gallery--n6 figure:last-child, .gallery--n7 figure:last-child { grid-column: auto; }
  .gallery figure:last-child:nth-child(even) { grid-column: 1 / -1; }      /* sin huecos en celular */
}

/* ==========================================================================
   v1.2 — TARJETA DE NAVE: datos libres, etiquetas y fotos
   ========================================================================== */
.nave__img img { transition: transform .9s var(--ease); }
.nave__img:hover img { transform: scale(1.05); }
.nave__img { overflow: hidden; }
.nave__status { z-index: 1; }
.nave__count { position: absolute; right: 12px; bottom: 12px; display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: rgba(0, 28, 42, .72); color: #fff; font-family: var(--font-title); font-weight: 600; font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; backdrop-filter: blur(4px); }
.nave__count .i { width: 15px; height: 15px; }
.nave__sub { margin: -4px 0 14px; color: var(--muted); font-size: .92rem; }
.nave dl > div.is-wide { grid-column: 1 / -1; }
.nave dd { overflow-wrap: anywhere; }
.nave__tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 22px; padding: 0; list-style: none; }
.nave__tags li { padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line); background: var(--paper); color: var(--ink-2); font-family: var(--font-title); font-weight: 500; font-size: .76rem; line-height: 1.2; }

/* ==========================================================================
   v1.2 — VISOR DE IMÁGENES (lightbox)
   ========================================================================== */
html.lb-open { overflow: hidden; scrollbar-gutter: stable; }
dialog.lightbox { position: fixed; inset: 0; width: 100vw; height: 100vh; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(0, 20, 30, .97); color: #fff; overflow: hidden; }
dialog.lightbox[open] { display: grid; grid-template-columns: 76px minmax(0, 1fr) 76px; grid-template-rows: 64px minmax(0, 1fr) 28px; animation: lb-in .25s var(--ease); }
dialog.lightbox::backdrop { background: transparent; }
.lightbox__top { grid-column: 1 / -1; grid-row: 1; display: flex; align-items: center; justify-content: space-between; padding: 0 clamp(14px, 3vw, 28px); }
.lightbox__count { font-family: var(--font-title); font-weight: 600; font-size: .8rem; letter-spacing: .16em; color: rgba(255, 255, 255, .85); }
.lightbox__close, .lightbox__nav { width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, .55); background: rgba(0, 20, 30, .4); color: #fff; display: grid; place-items: center; cursor: pointer; padding: 0; transition: background .25s, border-color .25s; }
.lightbox__close:hover, .lightbox__nav:hover { background: var(--blue-d); border-color: var(--blue-d); }
.lightbox__close:focus-visible, .lightbox__nav:focus-visible { outline: 3px solid var(--blue-l); outline-offset: 2px; }
.lightbox__nav { grid-row: 2; align-self: center; justify-self: center; }
.lightbox__nav--prev { grid-column: 1; }
.lightbox__nav--next { grid-column: 3; }
.lightbox__nav[hidden] { display: none; }
.lightbox__stage { grid-column: 2; grid-row: 2; margin: 0; min-height: 0; position: relative; display: grid; place-items: center; touch-action: pan-y; }
.lightbox__img { max-width: 100%; max-height: calc(100vh - 120px); max-height: calc(100dvh - 120px); width: auto; height: auto; object-fit: contain; border-radius: 6px; box-shadow: 0 30px 80px -30px rgba(0, 0, 0, .8); transition: opacity .25s; user-select: none; -webkit-user-drag: none; }
.lightbox__stage.is-loading .lightbox__img { opacity: 0; }
.lightbox__stage.is-loading::after { content: ""; position: absolute; width: 34px; height: 34px; border-radius: 50%; border: 3px solid rgba(255, 255, 255, .22); border-top-color: #fff; animation: lb-spin .8s linear infinite; }
.lightbox__cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 10px 14px; text-align: center; font-size: .88rem; color: rgba(255, 255, 255, .85); background: linear-gradient(transparent, rgba(0, 20, 30, .7)); }
.lightbox__cap[hidden] { display: none; }
.lightbox__media { display: block; width: min(100%, calc((100vh - 120px) * var(--arn, 1.7778))); width: min(100%, calc((100dvh - 120px) * var(--arn, 1.7778))); max-width: 100%; max-height: calc(100vh - 120px); max-height: calc(100dvh - 120px); aspect-ratio: var(--ar, 16 / 9); height: auto; border: 0; border-radius: 6px; background: #000; box-shadow: 0 30px 80px -30px rgba(0, 0, 0, .8); }
.lightbox__stage.has-media .lightbox__cap { display: none; }
@keyframes lb-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes lb-spin { to { transform: rotate(360deg); } }
@media (max-width: 700px) {
  dialog.lightbox[open] { grid-template-columns: minmax(0, 1fr); grid-template-rows: 56px minmax(0, 1fr) 76px; }
  .lightbox__stage { grid-column: 1; padding: 0 10px; }
  .lightbox__img { max-height: calc(100vh - 140px); max-height: calc(100dvh - 140px); }
  .lightbox__media { width: min(100%, calc((100vh - 140px) * var(--arn, 1.7778))); width: min(100%, calc((100dvh - 140px) * var(--arn, 1.7778))); max-height: calc(100vh - 140px); max-height: calc(100dvh - 140px); }
  .lightbox__nav { grid-column: 1; grid-row: 3; align-self: center; }
  .lightbox__nav--prev { justify-self: start; margin-left: 22px; }
  .lightbox__nav--next { justify-self: end; margin-right: 22px; }
}

/* ==========================================================================
   v1.3 — BANNER: tercer botón "Naves disponibles"
   ========================================================================== */
@media (max-width: 560px) {
  .hero__cta { gap: 12px; }
  .hero__cta .btn { flex: 1 1 100%; padding: 14px 22px; }
  .vhero__main { padding-bottom: 66px; }      /* deja lugar para el botón de pausa del video, que ya no queda debajo de los 3 botones */
}

/* ==========================================================================
   v1.3 — PÁGINA "ALQUILER DE NAVES"
   ========================================================================== */
.nfilter { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin: 0 0 clamp(26px, 4vw, 40px); }
.nfilter__label { font-family: var(--font-title); font-weight: 600; font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); }
.nfilter__chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { display: inline-flex; align-items: center; padding: 10px 20px; border-radius: 999px; border: 1px solid transparent; background: #fff; color: var(--ink); font-family: var(--font-title); font-weight: 500; font-size: .8rem; line-height: 1.2; text-decoration: none; white-space: nowrap; transition: background .25s, color .25s, border-color .25s, transform .25s var(--ease); }
.chip:hover { border-color: var(--blue); transform: translateY(-1px); }
.chip[aria-current="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.chip:focus-visible { outline-offset: 2px; }
.naves__none { max-width: 680px; padding: clamp(28px, 5vw, 52px); border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); }
.naves__none h3 { font-size: clamp(1.3rem, 2.4vw, 1.7rem); }
.naves__none p { margin: 0; color: var(--muted); max-width: 52ch; }
.cta-band__btns { display: flex; flex-wrap: wrap; gap: 14px; }

/* tarjeta: el parque arriba del nombre y toda la tarjeta abre la ventana de detalle */
.nave { position: relative; }
.nave__park { display: flex; align-items: center; gap: 6px; margin: 0 0 8px; font-family: var(--font-title); font-weight: 600; font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--blue-d); }
.nave__park .i { width: 14px; height: 14px; }
.nave__open { display: inline; margin: 0; padding: 0; border: 0; background: none; color: inherit; font: inherit; letter-spacing: inherit; text-align: left; text-wrap: balance; cursor: pointer; transition: color .25s; }
.nave__open::after { content: ""; position: absolute; inset: 0; z-index: 1; cursor: pointer; }          /* el botón del título se estira sobre toda la tarjeta */
.nave__open:focus-visible { outline: none; }
.nave__open:focus-visible::after { outline: 3px solid var(--blue-l); outline-offset: -3px; border-radius: var(--radius-lg); }
.nave:hover .nave__open { color: var(--blue-d); }
.nave:hover .nave__img img { transform: scale(1.05); }
.nave .btn { position: relative; z-index: 2; }                                                          /* "Consultar" sigue siendo un enlace propio */

@media (max-width: 620px) {
  .nfilter { flex-direction: column; align-items: flex-start; gap: 10px; }
  .nfilter__chips { flex-wrap: nowrap; width: calc(100% + var(--gutter) * 2); margin-inline: calc(var(--gutter) * -1); padding: 2px var(--gutter) 6px; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .nfilter__chips::-webkit-scrollbar { display: none; }
  .chip { flex: none; }
}
@media (max-width: 520px) { .cta-band__btns .btn { flex: 1 1 100%; } }

/* ==========================================================================
   v1.3 — VENTANA DE DETALLE DE LA NAVE
   Escritorio: fotos y planos a la izquierda, datos a la derecha. Celular: pantalla completa, todo apilado y botón fijo abajo.
   ========================================================================== */
html.nm-open { overflow: hidden; scrollbar-gutter: stable; }
dialog.navemodal { position: fixed; inset: 0; margin: auto; width: min(1120px, calc(100vw - 48px)); max-width: none; height: min(660px, calc(100vh - 48px)); height: min(660px, calc(100dvh - 48px)); max-height: none; padding: 0; border: 0; border-radius: var(--radius-lg); background: #fff; color: var(--text); overflow: hidden; box-shadow: 0 60px 140px -40px rgba(0, 20, 30, .65); }
dialog.navemodal[open] { display: block; animation: nm-in .32s var(--ease); }
dialog.navemodal::backdrop { background: rgba(0, 20, 30, .74); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); animation: lb-in .25s var(--ease); }
@keyframes nm-in { from { opacity: 0; transform: translateY(18px) scale(.985); } to { opacity: 1; transform: none; } }
.navemodal__body { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); height: 100%; }
.navemodal__close { position: absolute; top: 14px; right: 14px; z-index: 6; width: 44px; height: 44px; display: grid; place-items: center; padding: 0; border-radius: 50%; border: 1.5px solid var(--line); background: #fff; color: var(--ink); transition: background .25s, color .25s, border-color .25s; }
.navemodal__close:hover { background: var(--ink); border-color: var(--ink); color: #fff; }

/* visor de fotos y planos */
.nm__viewer { display: flex; flex-direction: column; min-width: 0; min-height: 0; background: var(--ink); }
.nm__stage { position: relative; flex: 1 1 auto; min-height: 0; overflow: hidden; background: var(--ink-2); touch-action: pan-y; }
.nm__zoom { position: absolute; inset: 0; display: block; width: 100%; height: 100%; margin: 0; padding: 0; border: 0; background: none; cursor: zoom-in; }
.nm__zoom:focus-visible { outline: 3px solid var(--blue-l); outline-offset: -3px; border-radius: 0; }
.nm__img { width: 100%; height: 100%; object-fit: cover; transition: opacity .25s; user-select: none; -webkit-user-drag: none; }
.nm__viewer.is-plan .nm__stage { background: #f3f6f6; }
.nm__viewer.is-plan .nm__img { object-fit: contain; padding: 14px; }
.nm__stage.is-loading .nm__img { opacity: 0; }
.nm__stage.is-loading::after { content: ""; position: absolute; top: 50%; left: 50%; width: 34px; height: 34px; margin: -17px 0 0 -17px; border-radius: 50%; border: 3px solid rgba(255, 255, 255, .25); border-top-color: #fff; animation: lb-spin .8s linear infinite; pointer-events: none; }
.nm__viewer.is-plan .nm__stage.is-loading::after { border-color: rgba(0, 45, 66, .15); border-top-color: var(--ink); }
.nm__tabs { position: absolute; top: 14px; left: 14px; z-index: 3; display: inline-flex; padding: 4px; border-radius: 999px; background: rgba(0, 28, 42, .74); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.nm__tabs button { padding: 8px 15px; border: 0; border-radius: 999px; background: none; color: #fff; font-family: var(--font-title); font-weight: 600; font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; transition: background .25s, color .25s; }
.nm__tabs button span { margin-left: 4px; opacity: .65; }
.nm__tabs button[aria-pressed="true"] { background: #fff; color: var(--ink); }
.nm__tabs button:focus-visible { outline-offset: 1px; }
.nm__nav { position: absolute; top: 50%; z-index: 3; width: 44px; height: 44px; margin-top: -22px; display: grid; place-items: center; padding: 0; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, .6); background: rgba(0, 28, 42, .55); color: #fff; backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); transition: background .25s, border-color .25s; }
.nm__nav:hover { background: var(--blue-d); border-color: var(--blue-d); }
.nm__nav:focus-visible { outline-color: var(--blue-l); outline-offset: 2px; }
.nm__nav--prev { left: 14px; }
.nm__nav--next { right: 14px; }
.nm__count, .nm__hint { position: absolute; bottom: 14px; z-index: 3; display: inline-flex; align-items: center; gap: 7px; padding: 6px 13px; border-radius: 999px; background: rgba(0, 28, 42, .74); color: #fff; font-family: var(--font-title); font-weight: 600; font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; pointer-events: none; }
.nm__count { right: 14px; }
.nm__count:empty { display: none; }
.nm__hint { left: 14px; opacity: 0; transition: opacity .3s; }
.nm__stage:hover .nm__hint, .nm__zoom:focus-visible ~ .nm__hint { opacity: 1; }
@media (hover: none) { .nm__hint { opacity: 1; } }
.nm__thumbs { position: relative; flex: none; display: flex; gap: 8px; padding: 12px 14px; overflow-x: auto; scroll-behavior: smooth; scrollbar-width: thin; scrollbar-color: rgba(255, 255, 255, .3) transparent; background: var(--ink); }
.nm__thumbs li { flex: none; }
.nm__thumbs button { display: block; width: 78px; height: 56px; padding: 0; border: 2px solid transparent; border-radius: 10px; overflow: hidden; background: var(--ink-2); opacity: .6; transition: opacity .25s, border-color .25s; }
.nm__thumbs button:hover { opacity: 1; }
.nm__thumbs button[aria-current="true"] { opacity: 1; border-color: var(--blue-l); }
.nm__thumbs button:focus-visible { outline-color: var(--blue-l); outline-offset: 1px; }
.nm__thumbs img { width: 100%; height: 100%; object-fit: cover; }
.nm__viewer--empty { align-items: center; justify-content: center; background: repeating-linear-gradient(135deg, var(--paper) 0 14px, #dde6e6 14px 28px); }
.nm__ph { max-width: 30ch; padding: 32px; text-align: center; font-family: var(--font-title); font-weight: 500; font-size: .74rem; letter-spacing: .12em; line-height: 1.7; text-transform: uppercase; color: var(--steel); }

/* información */
.nm__info { display: flex; flex-direction: column; min-width: 0; min-height: 0; background: #fff; }
.nm__main { flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 38px 36px 26px;
  background: linear-gradient(#fff 30%, rgba(255, 255, 255, 0)) center top / 100% 36px no-repeat local, linear-gradient(rgba(255, 255, 255, 0), #fff 70%) center bottom / 100% 36px no-repeat local,
              radial-gradient(farthest-side at 50% 0, rgba(0, 45, 66, .16), rgba(0, 45, 66, 0)) center top / 100% 12px no-repeat scroll, radial-gradient(farthest-side at 50% 100%, rgba(0, 45, 66, .16), rgba(0, 45, 66, 0)) center bottom / 100% 12px no-repeat scroll, #fff; }   /* sombra arriba/abajo solo cuando hay más contenido para ver */
.nm__park { display: flex; align-items: center; gap: 6px; margin: 0 0 10px; font-family: var(--font-title); font-weight: 600; font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--blue-d); }
.nm__park .i { width: 15px; height: 15px; }
.nm__title { margin: 0 0 6px; padding-right: 44px; font-size: clamp(1.55rem, 2.6vw, 2.1rem); letter-spacing: -.02em; }
.nm__sub { margin: 0 0 20px; color: var(--muted); }
.nm__desc { margin: 18px 0 0; font-size: 1rem; }
.nm__desc p { margin: 0 0 .85em; }
.nm__data { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 20px; margin: 22px 0 0; padding: 20px 0 0; border-top: 1px solid var(--line); }
.nm__data > div.is-wide { grid-column: 1 / -1; }
.nm__data dt { font-family: var(--font-title); font-weight: 500; font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--steel); }
.nm__data dd { margin: 0; font-family: var(--font-title); font-weight: 600; font-size: .98rem; color: var(--ink); overflow-wrap: anywhere; }
.nm__info .nave__tags { margin: 22px 0 0; }
.nm__parklink { margin-top: 22px; }
.nm__cta { flex: none; display: flex; align-items: center; gap: 12px; padding: 18px 36px 24px; border-top: 1px solid var(--line); background: #fff; }
.nm__cta .btn { flex: 1 1 auto; padding-inline: 20px; text-align: center; }
.nm__wa { flex: none; width: 54px; height: 54px; display: grid; place-items: center; border-radius: 50%; background: #25d366; color: #fff; box-shadow: 0 12px 26px -12px rgba(18, 140, 70, .8); transition: transform .3s var(--ease), box-shadow .3s; }
.nm__wa:hover { transform: scale(1.07); box-shadow: 0 14px 30px -10px rgba(18, 140, 70, .9); }
.nm__wa svg { width: 27px; height: 27px; }

@media (max-width: 860px) {
  dialog.navemodal { width: 100vw; height: 100vh; height: 100dvh; border-radius: 0; }
  .navemodal__body { display: flex; flex-direction: column; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }
  .nm__viewer { flex: none; }
  .navemodal__close { top: calc(10px + env(safe-area-inset-top, 0px)); right: 10px; border-color: rgba(255, 255, 255, .45); background: rgba(0, 28, 42, .74); color: #fff; }
  .navemodal__close:hover { background: var(--blue-d); border-color: var(--blue-d); }
  .nm__stage { flex: none; aspect-ratio: 4 / 3; max-height: 62vh; max-height: 62dvh; }
  .nm__tabs { top: calc(12px + env(safe-area-inset-top, 0px)); }
  .nm__viewer--empty { min-height: 190px; }
  .nm__info { display: contents; }                                 /* así el botón fijo de abajo queda pegado al borde aunque el texto sea corto o la pantalla baja */
  .nm__main { flex: 1 0 auto; overflow: visible; padding: 24px 20px 22px; background: #fff; }
  .nm__title { padding-right: 0; }
  .nm__cta { position: sticky; bottom: 0; z-index: 4; flex: none; padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px)); box-shadow: 0 -14px 30px -20px rgba(0, 45, 66, .4); }
}
@media (max-width: 420px) { .nm__data { gap: 12px 14px; } .nm__thumbs button { width: 68px; height: 50px; } }

/* ==========================================================================
   v1.3 — GALERÍA DEL PARQUE: videos
   ========================================================================== */
.gallery figure.is-video > a { background: var(--ink); cursor: pointer; }
.gallery figure.is-video img.is-broken { visibility: hidden; }
.gallery__ph { position: absolute; inset: 0; background: radial-gradient(120% 90% at 85% 0%, var(--ink-2), transparent 70%), linear-gradient(140deg, var(--ink), #00202f); }
.gallery__play { position: absolute; top: 50%; left: 50%; width: clamp(54px, 5vw, 70px); height: clamp(54px, 5vw, 70px); margin: calc(clamp(54px, 5vw, 70px) / -2) 0 0 calc(clamp(54px, 5vw, 70px) / -2); display: grid; place-items: center; border-radius: 50%; background: rgba(255, 255, 255, .94); color: var(--ink); box-shadow: 0 14px 40px -12px rgba(0, 20, 30, .7); transition: transform .4s var(--ease), background .3s, color .3s; }
.gallery__play .i { width: 36%; height: 36%; margin-left: 6%; }
.gallery figure.is-video:hover .gallery__play, .gallery figure.is-video > a:focus-visible .gallery__play { transform: scale(1.1); background: var(--blue); color: #fff; }
.gallery__dur { position: absolute; left: 12px; bottom: 12px; padding: 4px 11px; border-radius: 999px; background: rgba(0, 28, 42, .78); color: #fff; font-family: var(--font-title); font-weight: 600; font-size: .72rem; letter-spacing: .06em; font-variant-numeric: tabular-nums; }
@media (prefers-reduced-motion: reduce) { dialog.lightbox[open], dialog.navemodal[open], dialog.navemodal::backdrop { animation: none; } .lightbox__img, .gallery img, .nave__img img, .nm__img, .gallery__play { transition: none; } }
