/* =========================================================================
   Depa de Playa — Costa Sur 360
   Paleta y tono según Manual de Marca: Deep Ocean Blue · Naples Yellow · Teal
   ========================================================================= */
:root {
  --navy: #00325e;
  --navy-2: #00223f;
  --navy-3: #0a3f6e;
  --teal: #00a9c3;
  --teal-soft: #d6f1f5;
  --sun: #fca510;
  --sun-soft: #ffe7bd;
  --paper: #fbf8f2;
  --sand: #f4ecdf;
  --sand-2: #eadcc5;
  --ink: #0d2136;
  --muted: #56677a;
  --line: rgba(0, 50, 94, .12);
  --line-light: rgba(255, 255, 255, .18);

  --f-display: "Cormorant Garamond", "Times New Roman", serif;
  --f-body: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius: 22px;
  --radius-lg: 36px;
  --shadow: 0 20px 50px -24px rgba(0, 34, 63, .35);
  --ease: cubic-bezier(.22, 1, .36, 1);
  --gutter: clamp(18px, 4vw, 56px);
  --max: 1280px;
  --header-h: 104px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--sun); color: var(--navy-2); }

.container { width: min(100% - var(--gutter) * 2, var(--max)); margin-inline: auto; }
.section { padding-block: clamp(80px, 11vw, 150px); position: relative; }
.section--sand { background: var(--sand); }
.section--navy { background: var(--navy); color: #eaf3fa; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Typography ---------- */
h1, h2, h3, h4, .stat__n, .card__price, .step__n, .portal__num { font-variant-numeric: lining-nums; }
h1, h2, h3, h4 { font-family: var(--f-display); font-weight: 500; line-height: 1.02; letter-spacing: -.01em; margin: 0; }
h1 { font-size: clamp(3rem, 8.2vw, 7.4rem); }
h2 { font-size: clamp(2.4rem, 5.4vw, 4.6rem); }
h3 { font-size: clamp(1.6rem, 2.4vw, 2.1rem); }
em, .italic { font-style: italic; }
h1 em, h2 em, h3 em { color: var(--teal); font-weight: 500; }
.section--navy h2 em, .hero h1 em, .page-hero h1 em { color: var(--sun); }
p { margin: 0 0 1em; }
.lead { font-size: clamp(1.1rem, 1.5vw, 1.3rem); color: var(--muted); max-width: 58ch; }
.section--navy .lead { color: rgba(234, 243, 250, .78); }

.eyebrow {
  display: inline-flex; align-items: center; gap: .7em;
  font-size: .78rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase;
  color: var(--teal); margin-bottom: 1.4rem;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--sun); border-radius: 2px; }
.section--navy .eyebrow { color: var(--sun); }
.section--navy .eyebrow::before { background: var(--teal); }

.head { display: grid; gap: 1.2rem; margin-bottom: clamp(40px, 6vw, 80px); }
.head--split { grid-template-columns: 1.2fr 1fr; align-items: end; gap: 3rem; }
.head--center { text-align: center; justify-items: center; }
.head--center .lead { margin-inline: auto; }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--navy); --fg: #fff;
  position: relative; display: inline-flex; align-items: center; gap: .7em;
  padding: 1em 1.6em; border-radius: 999px; border: 0;
  background: var(--bg); color: var(--fg);
  font-weight: 700; font-size: .95rem; letter-spacing: .01em;
  overflow: hidden; isolation: isolate;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), color .3s;
}
.btn::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--sun); transform: translateY(101%); border-radius: inherit;
  transition: transform .5s var(--ease);
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -12px rgba(0, 34, 63, .45); color: var(--navy-2); }
.btn:hover::after { transform: translateY(0); }
.btn svg { width: 1.1em; height: 1.1em; flex: none; transition: transform .4s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn--sun { --bg: var(--sun); --fg: var(--navy-2); }
.btn--sun::after { background: #fff; }
.btn--teal { --bg: var(--teal); --fg: #fff; }
.btn--ghost { --bg: transparent; --fg: var(--navy); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn--ghost-light { --bg: rgba(255, 255, 255, .08); --fg: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .4); backdrop-filter: blur(8px); }
.btn--wa { --bg: #1fa855; --fg: #fff; }
.btn--sm { padding: .7em 1.15em; font-size: .85rem; }
.btn--block { width: 100%; justify-content: center; }

.link-arrow { display: inline-flex; align-items: center; gap: .5em; font-weight: 700; color: var(--navy); border-bottom: 1.5px solid var(--sun); padding-bottom: 2px; }
.link-arrow svg { width: 1em; transition: transform .35s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- Splash ---------- */
.splash {
  position: fixed; inset: 0; z-index: 200; display: grid; place-items: center;
  background: var(--navy);
  animation: splashSafety .01s 4.5s forwards;
  transition: opacity .8s var(--ease), visibility .8s;
}
.splash.is-out { opacity: 0; visibility: hidden; pointer-events: none; }
.no-splash .splash { display: none; }
@keyframes splashSafety { to { opacity: 0; visibility: hidden; pointer-events: none; } }
.splash__mark { width: min(240px, 52vw); position: relative; }
.splash__sun { animation: sunRise 1.6s var(--ease) both; transform-origin: 50% 100%; }
.splash__waves path { stroke-dasharray: 400; stroke-dashoffset: 400; animation: drawWave 1.4s .3s var(--ease) forwards; }
.splash__waves path:nth-child(2) { animation-delay: .5s; }
.splash__waves path:nth-child(3) { animation-delay: .7s; }
.splash__word { margin-top: 18px; text-align: center; color: #fff; font-family: var(--f-display); font-style: italic; font-size: 1.15rem; letter-spacing: .08em; opacity: 0; animation: fadeUp .9s .9s var(--ease) forwards; }
@keyframes sunRise { from { transform: translateY(40%) scale(.85); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes drawWave { to { stroke-dashoffset: 0; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

/* ---------- Header ---------- */
.header {
  position: fixed; inset: 0 0 auto; z-index: 100; height: var(--header-h);
  display: flex; align-items: center;
  transition: background .5s var(--ease), box-shadow .5s, transform .5s var(--ease), height .4s;
}
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; width: min(100% - var(--gutter) * 2, 1400px); margin-inline: auto; }
.header__logo { display: flex; align-items: center; height: 86px; transition: height .4s var(--ease); }
.header__logo img { height: 100%; width: auto; }
.header__logo .logo-dark, .header--over:not(.is-solid) .header__logo .logo-dark { display: none; }
.header:not(.header--over) .header__logo .logo-dark, .header.is-solid .header__logo .logo-dark { display: block; }
.header.is-solid .header__logo .logo-light { display: none; }
.header.is-solid .header__logo { height: 62px; }
.header.is-solid { background: rgba(251, 248, 242, .9); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--line); --header-h: 80px; }
.header.is-hidden { transform: translateY(-100%); }

.nav { display: flex; align-items: center; gap: clamp(1rem, 2.2vw, 2.2rem); }
.nav a { position: relative; font-weight: 500; font-size: .95rem; color: var(--navy); padding: .4em 0; }
.header--over .nav a { color: #fff; }
.header.is-solid .nav a { color: var(--navy); }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--sun); transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease); }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.header .btn { --bg: var(--sun); --fg: var(--navy-2); }
.header .btn::after { background: #fff; }

.burger { display: none; width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--navy); position: relative; }
.burger span { position: absolute; left: 14px; right: 14px; height: 2px; background: #fff; border-radius: 2px; transition: transform .4s var(--ease), opacity .3s; }
.burger span:nth-child(1) { top: 18px; } .burger span:nth-child(2) { top: 26px; }
.menu-open .burger span:nth-child(1) { transform: translateY(4px) rotate(45deg); }
.menu-open .burger span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }

.drawer {
  position: fixed; inset: 0; z-index: 90; background: var(--navy); color: #fff;
  display: flex; flex-direction: column; justify-content: center; padding: 100px var(--gutter) 40px;
  clip-path: circle(0 at calc(100% - 44px) 40px); transition: clip-path .8s var(--ease); visibility: hidden;
}
.menu-open .drawer { clip-path: circle(150% at calc(100% - 44px) 40px); visibility: visible; }
.drawer a.drawer__link { font-family: var(--f-display); font-size: clamp(2.2rem, 9vw, 3.4rem); line-height: 1.15; display: block; opacity: 0; transform: translateY(20px); transition: opacity .5s, transform .6s var(--ease); }
.menu-open .drawer a.drawer__link { opacity: 1; transform: none; }
.menu-open .drawer a.drawer__link:nth-child(2) { transition-delay: .06s; }
.menu-open .drawer a.drawer__link:nth-child(3) { transition-delay: .12s; }
.menu-open .drawer a.drawer__link:nth-child(4) { transition-delay: .18s; }
.menu-open .drawer a.drawer__link:nth-child(5) { transition-delay: .24s; }
.drawer a.drawer__link em { color: var(--sun); }
.drawer__foot { margin-top: 40px; display: grid; gap: 14px; color: rgba(255, 255, 255, .7); font-size: .95rem; }
.menu-open { overflow: hidden; }

/* ---------- Hero (home) ---------- */
.hero {
  position: relative; min-height: 100svh; display: flex; align-items: flex-end;
  color: #fff; overflow: hidden; background: var(--navy-2);
}
.hero__media { position: absolute; inset: -6% 0 0; z-index: 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; animation: kenburns 22s ease-in-out infinite alternate; }
@keyframes kenburns { from { transform: scale(1.04); } to { transform: scale(1.14) translate(-1.5%, -1%); } }
.hero__tint { position: absolute; inset: 0; z-index: 1; background:
  linear-gradient(180deg, rgba(0, 34, 63, .55) 0%, rgba(0, 34, 63, .05) 35%, rgba(0, 34, 63, .35) 62%, rgba(0, 34, 63, .92) 100%),
  radial-gradient(60% 50% at 70% 55%, rgba(252, 165, 16, .25), transparent 70%); }
.hero__glow { position: absolute; z-index: 1; width: 46vmax; height: 46vmax; right: -8vmax; top: 18%; border-radius: 50%;
  background: radial-gradient(circle, rgba(252, 165, 16, .45), rgba(252, 165, 16, 0) 60%); filter: blur(10px); mix-blend-mode: screen; animation: breathe 7s ease-in-out infinite; }
@keyframes breathe { 50% { transform: scale(1.12); opacity: .75; } }
.hero__inner { position: relative; z-index: 3; width: min(100% - var(--gutter) * 2, 1400px); margin-inline: auto; padding-bottom: clamp(120px, 16vh, 190px); padding-top: 140px; }
.hero__kicker { display: inline-flex; align-items: center; gap: .7em; padding: .55em 1.1em; border-radius: 999px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .25); backdrop-filter: blur(10px); font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; font-weight: 500; margin-bottom: 1.6rem; }
.hero h1 { max-width: 13ch; text-shadow: 0 4px 40px rgba(0, 20, 40, .35); }
.hero__bottom { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 2rem; margin-top: 2.2rem; }
.hero__text { max-width: 44ch; font-size: clamp(1.02rem, 1.3vw, 1.18rem); color: rgba(255, 255, 255, .88); margin: 0; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .8rem; }
.hero__scroll { position: absolute; z-index: 3; left: 50%; bottom: 96px; transform: translateX(-50%); width: 26px; height: 42px; border: 1.5px solid rgba(255, 255, 255, .55); border-radius: 20px; }
.hero__scroll::after { content: ""; position: absolute; left: 50%; top: 8px; width: 3px; height: 8px; margin-left: -1.5px; border-radius: 2px; background: #fff; animation: scrollDot 1.8s infinite; }
@keyframes scrollDot { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* Waves at the bottom of heroes */
.waves { position: absolute; left: 0; right: 0; bottom: -1px; z-index: 2; height: clamp(70px, 9vw, 130px); pointer-events: none; }
.waves svg { position: absolute; bottom: 0; width: 200%; height: 100%; }
.waves .w1 { animation: waveMove 16s linear infinite; opacity: .35; }
.waves .w2 { animation: waveMove 11s linear infinite reverse; opacity: .55; }
.waves .w3 { animation: waveMove 22s linear infinite; }
@keyframes waveMove { to { transform: translateX(-50%); } }

/* Split-line reveal for headings */
.split-line { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.split-line > span { display: inline-block; transform: translateY(105%); transition: transform 1.2s var(--ease); }
.is-ready .split-line > span { transform: none; }
.split-line:nth-child(2) > span { transition-delay: .12s; }
.split-line:nth-child(3) > span { transition-delay: .24s; }
.hero-fade { opacity: 0; transform: translateY(18px); transition: opacity 1s .45s, transform 1.1s .45s var(--ease); }
.is-ready .hero-fade { opacity: 1; transform: none; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { position: relative; min-height: 78svh; display: flex; align-items: flex-end; color: #fff; overflow: hidden; background: var(--navy-2); }
.page-hero .hero__media img { animation-duration: 28s; }
.page-hero .hero__tint { background: linear-gradient(180deg, rgba(0, 34, 63, .6) 0%, rgba(0, 34, 63, .4) 40%, rgba(0, 34, 63, .92) 100%), linear-gradient(90deg, rgba(0, 34, 63, .6), rgba(0, 34, 63, 0) 75%); }
.page-hero .hero__inner { padding-bottom: clamp(110px, 14vh, 170px); }
.page-hero h1 { font-size: clamp(2.8rem, 7vw, 6.2rem); max-width: 14ch; }
.crumbs { display: flex; gap: .6em; font-size: .85rem; letter-spacing: .06em; color: rgba(255, 255, 255, .75); margin-bottom: 1.2rem; }
.crumbs a:hover { color: var(--sun); }

/* ---------- Business lines (service cards) ---------- */
.lines { padding-bottom: clamp(70px, 9vw, 120px); }
.lines__head { max-width: 900px; margin: 0 auto clamp(48px, 6vw, 80px); text-align: center; display: grid; justify-items: center; gap: 1.4rem; }
.lines__brand { display: flex; flex-direction: column; align-items: center; gap: .9rem; }
.lines__brand img { width: 74px; height: auto; }
.lines__brand span { font-size: .76rem; font-weight: 700; letter-spacing: .32em; text-transform: uppercase; color: var(--navy); padding-inline: 1.4em; position: relative; }
.lines__brand span::before, .lines__brand span::after { content: ""; position: absolute; top: 50%; width: 40px; height: 1px; background: var(--sand-2); }
.lines__brand span::before { right: 100%; } .lines__brand span::after { left: 100%; }
.lines__head h2 { color: var(--navy); font-size: clamp(2.2rem, 4.2vw, 3.6rem); line-height: 1.08; text-wrap: balance; }
.lines__head .lead { margin: 0 auto; }

.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 2.2vw, 30px); }
.service { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: 0 18px 40px -32px rgba(0, 34, 63, .45); transition: box-shadow .5s var(--ease), transform .5s var(--ease); }
.service:hover { transform: translateY(-4px); box-shadow: 0 28px 56px -32px rgba(0, 34, 63, .55); }
.service__media { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; }
.service__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.service:hover .service__media img { transform: scale(1.05); }
.service__num { position: absolute; left: 18px; top: 18px; min-width: 46px; height: 46px; padding: 0 10px; border-radius: 23px; background: rgba(251, 248, 242, .95); color: var(--navy); display: grid; place-items: center; font-family: var(--f-display); font-size: 1.3rem; font-weight: 600; font-variant-numeric: lining-nums; }
.service__body { position: relative; flex: 1; display: flex; flex-direction: column; gap: 1rem; padding: 46px clamp(22px, 2.4vw, 32px) clamp(24px, 2.6vw, 34px); border-top: 3px solid var(--sun); }
.service:nth-child(2) .service__body { border-top-color: var(--teal); }
.service:nth-child(3) .service__body { border-top-color: var(--navy); }
.service__icon { position: absolute; top: -32px; left: clamp(22px, 2.4vw, 32px); width: 62px; height: 62px; border-radius: 50%; background: var(--navy); color: var(--sun); display: grid; place-items: center; box-shadow: 0 0 0 5px #fff; }
.service__icon svg { width: 28px; height: 28px; }
.service h3 { font-size: clamp(1.7rem, 2.2vw, 2rem); color: var(--navy); line-height: 1.08; }
.service p { margin: 0; color: var(--muted); font-size: .98rem; }
.service__list { list-style: none; margin: 0 0 .6rem; padding: 0; display: grid; gap: .55rem; }
.service__list li { display: flex; gap: .6em; align-items: flex-start; font-size: .94rem; color: var(--ink); }
.service__list svg { flex: none; width: 20px; height: 20px; color: var(--teal); margin-top: 1px; }
.service .btn { margin-top: auto; }

/* ---------- Beaches ribbon ---------- */
.marquee { overflow: hidden; background: var(--paper); padding: 30px 0; border-block: 1px solid var(--line); -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee__track { display: flex; align-items: center; width: max-content; animation: marquee 70s linear infinite; }
.marquee__track span { position: relative; font-family: var(--f-display); font-style: italic; font-size: clamp(1.35rem, 2.2vw, 1.9rem); color: var(--navy); white-space: nowrap; padding-inline: 1.7em; }
.marquee__track span::after { content: ""; position: absolute; right: -13px; top: 50%; width: 26px; height: 10px; margin-top: -4px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 26 10' fill='none' stroke='%2300a9c3' stroke-width='1.6' stroke-linecap='round'%3E%3Cpath d='M1 5c3-4 5-4 8 0s5 4 8 0 5-4 8 0'/%3E%3C/svg%3E") no-repeat center / contain; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Coast map ---------- */
.coast { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(30px, 6vw, 90px); align-items: center; }
.coast__map { position: relative; border-radius: var(--radius-lg); background: linear-gradient(160deg, #0a3f6e, var(--navy-2)); padding: 0; box-shadow: var(--shadow); overflow: hidden; }
.coast__map::before { content: ""; position: absolute; inset: 0; background: radial-gradient(70% 60% at 0% 100%, rgba(0, 169, 195, .35), transparent 60%), radial-gradient(40% 40% at 100% 0%, rgba(252, 165, 16, .22), transparent 70%); }
.coast__map svg { position: relative; width: 100%; height: auto; display: block; overflow: visible; }
.coast__shore { fill: none; stroke: var(--sand-2); stroke-width: 3; stroke-linecap: round; }
.coast__sea { fill: rgba(0, 169, 195, .14); }
.coast__route { fill: none; stroke: var(--sun); stroke-width: 2.5; stroke-dasharray: 6 8; }
.coast__pin circle.core { fill: var(--sun); stroke: var(--navy-2); stroke-width: 2; }
.coast__pin text { fill: #fff; font-family: var(--f-body); font-size: 17px; font-weight: 500; letter-spacing: .02em; }
.coast__pin text.sub { fill: rgba(255, 255, 255, .55); font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; }
.coast__label { fill: rgba(255, 255, 255, .35); font-family: var(--f-display); font-style: italic; font-size: 22px; }
.beach-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: .2rem 2rem; margin: 2rem 0 2.4rem; padding: 0; list-style: none; }
.beach-list li { display: flex; align-items: center; gap: .7em; padding: .7em 0; border-bottom: 1px solid var(--line); font-weight: 500; color: var(--navy); }
.beach-list li::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--teal); flex: none; }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line-light); }
.stat { padding: 2.2rem 1.4rem 0 0; }
.stat + .stat { padding-left: 1.4rem; border-left: 1px solid var(--line-light); }
.stat__n { font-family: var(--f-display); font-size: clamp(3rem, 5.6vw, 4.8rem); line-height: 1; color: var(--sun); }
.stat__l { color: rgba(234, 243, 250, .75); font-size: .95rem; margin-top: .5rem; }

/* ---------- Horizontal gallery ---------- */
.hscroll { position: relative; overflow: hidden; background: var(--paper); }
.hscroll__pin { min-height: 100svh; display: flex; flex-direction: column; justify-content: center; padding-block: 90px 60px; }
.hscroll__track { display: flex; gap: clamp(16px, 2vw, 28px); padding-left: var(--gutter); width: max-content; will-change: transform; }
.hscroll__intro { width: min(420px, 80vw); flex: none; display: flex; flex-direction: column; justify-content: center; padding-right: 2rem; }
.shot { position: relative; flex: none; width: clamp(260px, 30vw, 440px); aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden; margin: 0; }
.shot:nth-child(odd) { margin-top: 6vh; }
.shot--wide { width: clamp(320px, 46vw, 680px); aspect-ratio: 4 / 3; }
.shot img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.shot:hover img { transform: scale(1.06); }
.shot figcaption { position: absolute; left: 16px; bottom: 16px; padding: .45em .9em; border-radius: 999px; background: rgba(251, 248, 242, .92); color: var(--navy); font-size: .8rem; font-weight: 700; letter-spacing: .04em; }

/* ---------- Feature / steps / cards ---------- */
.why { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.why__item { background: var(--paper); padding: clamp(26px, 3vw, 44px); transition: background .5s; }
.why__item:hover { background: #fff; }
.why__icon { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: var(--teal-soft); color: var(--navy); margin-bottom: 1.4rem; }
.why__icon svg { width: 26px; height: 26px; }
.why__item h3 { font-size: 1.6rem; color: var(--navy); margin-bottom: .6rem; }
.why__item p { color: var(--muted); margin: 0; font-size: .98rem; }

.steps { counter-reset: step; display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(16px, 2vw, 28px); position: relative; }
.steps::before { content: ""; position: absolute; top: 31px; left: 32px; right: 32px; height: 2px; background: repeating-linear-gradient(90deg, var(--sun) 0 8px, transparent 8px 16px); opacity: .7; }
.step { position: relative; }
.step__n { counter-increment: step; width: 64px; height: 64px; border-radius: 50%; background: var(--navy); color: var(--sun); display: grid; place-items: center; font-family: var(--f-display); font-size: 1.7rem; font-style: italic; margin-bottom: 1.4rem; position: relative; box-shadow: 0 0 0 8px var(--paper); }
.section--sand .step__n { box-shadow: 0 0 0 8px var(--sand); }
.step__n::before { content: "0" counter(step); }
.step h3 { font-size: 1.5rem; color: var(--navy); margin-bottom: .5rem; }
.step p { color: var(--muted); font-size: .97rem; margin: 0; }

.checklist { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 2.4rem; }
.checklist li { display: flex; gap: .9em; padding: 1.05em 0; border-bottom: 1px solid var(--line); align-items: flex-start; }
.checklist li svg { flex: none; width: 22px; height: 22px; color: var(--teal); margin-top: 2px; }
.section--navy .checklist li { border-color: var(--line-light); }
.section--navy .checklist li svg { color: var(--sun); }
.checklist strong { display: block; color: var(--navy); font-weight: 700; }
.section--navy .checklist strong { color: #fff; }
.checklist span { color: var(--muted); font-size: .95rem; }
.section--navy .checklist span { color: rgba(234, 243, 250, .7); }

/* split media block */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 6vw, 100px); align-items: center; }
.split--rev .split__media { order: 2; }
.split__media { position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 5; box-shadow: var(--shadow); }
.split__media img { width: 100%; height: 115%; object-fit: cover; }
.split__badge { position: absolute; right: 18px; bottom: 18px; background: var(--paper); color: var(--navy); border-radius: 18px; padding: 14px 18px; display: flex; gap: 12px; align-items: center; font-weight: 700; font-size: .9rem; box-shadow: var(--shadow); }
.split__badge img { width: 54px; height: auto; }

/* ---------- Tabs (alquiler) ---------- */
.paths { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 2vw, 28px); }
.path { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 440px; border-radius: var(--radius-lg); overflow: hidden; color: #fff; padding: clamp(26px, 3.4vw, 48px); isolation: isolate; text-align: left; border: 0; background: var(--navy); }
.path img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.path::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0, 34, 63, .1), rgba(0, 34, 63, .88)); transition: background .6s; }
.path:hover img { transform: scale(1.06); }
.path__tag { align-self: flex-start; margin-bottom: auto; padding: .45em 1em; border-radius: 999px; background: var(--sun); color: var(--navy-2); font-weight: 700; font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; }
.path h3 { font-size: clamp(2.2rem, 4vw, 3.4rem); margin-bottom: .6rem; }
.path h3 em { color: var(--sun); }
.path p { color: rgba(255, 255, 255, .85); max-width: 40ch; }
.path .link-arrow { color: #fff; }

/* ---------- Property cards ---------- */
.filters { display: flex; flex-wrap: wrap; gap: .6rem; margin-bottom: 2.4rem; }
.chip { border: 1.5px solid var(--line); background: transparent; color: var(--navy); padding: .6em 1.2em; border-radius: 999px; font-weight: 500; font-size: .92rem; transition: all .35s var(--ease); }
.chip:hover { border-color: var(--navy); }
.chip.is-active { background: var(--navy); border-color: var(--navy); color: #fff; }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 2.2vw, 30px); }
.cards--2 { grid-template-columns: repeat(2, 1fr); }
.card { position: relative; display: flex; flex-direction: column; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: 0 1px 0 var(--line), 0 18px 40px -30px rgba(0, 34, 63, .5); transition: transform .6s var(--ease), box-shadow .6s var(--ease); transform-style: preserve-3d; }
.card:hover { box-shadow: 0 1px 0 var(--line), 0 30px 60px -30px rgba(0, 34, 63, .55); }
.card__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.card:hover .card__media img { transform: scale(1.07); }
.card__place { position: absolute; left: 14px; top: 14px; display: inline-flex; align-items: center; gap: .4em; padding: .45em .9em; border-radius: 999px; background: rgba(251, 248, 242, .94); color: var(--navy); font-weight: 700; font-size: .78rem; }
.card__place svg { width: 13px; height: 13px; color: var(--teal); }
.card__demo { position: absolute; right: 14px; top: 14px; padding: .35em .8em; border-radius: 999px; background: var(--sun); color: var(--navy-2); font-weight: 700; font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; }
.card__body { padding: 22px 22px 24px; display: flex; flex-direction: column; gap: .9rem; flex: 1; }
.card__type { font-size: .76rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--teal); }
.card h3 { font-size: 1.75rem; color: var(--navy); }
.card__price { font-family: var(--f-display); font-size: 1.6rem; color: var(--navy); font-weight: 600; }
.card__ask { align-self: flex-start; display: inline-flex; align-items: center; gap: .5em; padding: .5em 1em; border-radius: 999px; background: var(--sand); color: var(--navy); font-weight: 700; font-size: .88rem; transition: background .3s, color .3s; }
.card__ask svg { width: 17px; height: 17px; color: #1fa855; transition: color .3s; }
.card__ask:hover { background: var(--navy); color: #fff; }
.card__ask:hover svg { color: var(--sun); }
.specs { display: flex; flex-wrap: wrap; gap: .5rem 1.1rem; color: var(--muted); font-size: .9rem; padding: 0; margin: 0; list-style: none; }
.specs li { display: inline-flex; align-items: center; gap: .4em; }
.specs svg { width: 17px; height: 17px; color: var(--navy); }
.tags { display: flex; flex-wrap: wrap; gap: .4rem; padding: 0; margin: 0; list-style: none; }
.tags li { padding: .35em .8em; border-radius: 999px; background: var(--sand); color: var(--navy); font-size: .8rem; font-weight: 500; }
.card__actions { margin-top: auto; display: flex; gap: .6rem; flex-wrap: wrap; padding-top: .4rem; }
.card[hidden] { display: none; }
.cards-empty { padding: 3rem; text-align: center; color: var(--muted); grid-column: 1 / -1; }

/* ---------- Modal (property detail) ---------- */
.modal { position: fixed; inset: 0; z-index: 150; display: grid; place-items: center; padding: 20px; visibility: hidden; opacity: 0; transition: opacity .4s, visibility .4s; }
.modal.is-open { visibility: visible; opacity: 1; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(0, 25, 48, .72); backdrop-filter: blur(6px); }
.modal__panel { position: relative; width: min(1040px, 100%); max-height: calc(100svh - 40px); overflow: auto; background: var(--paper); border-radius: var(--radius-lg); display: grid; grid-template-columns: 1.15fr 1fr; transform: translateY(30px) scale(.98); transition: transform .6s var(--ease); }
.modal.is-open .modal__panel { transform: none; }
.modal__gallery { position: relative; background: var(--navy-2); min-height: 360px; }
.modal__gallery img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .6s; }
.modal__gallery img.is-on { opacity: 1; }
.modal__dots { position: absolute; left: 0; right: 0; bottom: 16px; display: flex; justify-content: center; gap: 8px; z-index: 2; }
.modal__dots button { width: 10px; height: 10px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .5); padding: 0; transition: width .4s var(--ease), background .3s; }
.modal__dots button.is-on { width: 28px; border-radius: 6px; background: var(--sun); }
.modal__nav { position: absolute; top: 50%; z-index: 2; width: 44px; height: 44px; margin-top: -22px; border-radius: 50%; border: 0; background: rgba(251, 248, 242, .9); color: var(--navy); display: grid; place-items: center; }
.modal__nav svg { width: 18px; }
.modal__nav--prev { left: 14px; } .modal__nav--next { right: 14px; }
.modal__body { padding: clamp(24px, 3.4vw, 46px); display: flex; flex-direction: column; gap: 1.1rem; }
.modal__body h3 { font-size: clamp(2rem, 3vw, 2.6rem); color: var(--navy); }
.modal__close { position: absolute; top: 14px; right: 14px; z-index: 3; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--navy); color: #fff; display: grid; place-items: center; }
.modal__close svg { width: 18px; }
.modal__table { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.modal__table div { background: #fff; padding: 12px 14px; }
.modal__table dt { font-size: .74rem; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); }
.modal__table dd { margin: 0; font-weight: 700; color: var(--navy); }

/* ---------- Building types (administración) ---------- */
.types { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(14px, 1.8vw, 24px); }
.type { position: relative; border-radius: var(--radius); padding: 28px 24px 26px; background: #fff; box-shadow: 0 1px 0 var(--line); overflow: hidden; transition: transform .6s var(--ease), background .5s, color .5s; }
.type::after { content: ""; position: absolute; right: -40px; bottom: -40px; width: 120px; height: 120px; border-radius: 50%; background: var(--sun-soft); transition: transform .8s var(--ease); }
.type:hover { background: var(--navy); color: #fff; transform: translateY(-6px); }
.type:hover::after { transform: scale(3.2); background: var(--navy-3); }
.type > * { position: relative; z-index: 1; }
.type svg { width: 34px; height: 34px; color: var(--teal); margin-bottom: 1.6rem; }
.type h3 { font-size: 1.55rem; margin-bottom: .4rem; color: inherit; }
.type p { font-size: .94rem; margin: 0; color: var(--muted); transition: color .5s; }
.type:hover p { color: rgba(255, 255, 255, .75); }

.audience { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(16px, 2vw, 28px); }
.audience__card { border-radius: var(--radius-lg); padding: clamp(28px, 3.6vw, 52px); background: var(--navy-3); border: 1px solid var(--line-light); }
.audience__card h3 { color: #fff; margin-bottom: 1rem; }
.audience__card h3 em { color: var(--sun); }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; border-radius: var(--radius-lg); background: var(--navy); color: #fff; padding: clamp(40px, 6vw, 90px); display: grid; grid-template-columns: 1.4fr 1fr; gap: 2rem; align-items: center; }
.cta-band img.cta-band__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .32; z-index: 0; }
.cta-band::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, var(--navy) 30%, rgba(0, 50, 94, .4)); }
.cta-band > *:not(img) { position: relative; z-index: 2; }
.cta-band h2 { font-size: clamp(2.2rem, 4.4vw, 3.8rem); }
.cta-band h2 em { color: var(--sun); }
.cta-band .lead { color: rgba(234, 243, 250, .82); }
.cta-band .eyebrow { color: var(--sun); }
.cta-band .eyebrow::before { background: var(--teal); }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: .8rem; justify-content: flex-end; }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(30px, 6vw, 90px); align-items: start; }
.contact__list { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; gap: 4px; }
.contact__list a, .contact__list div { display: flex; align-items: center; gap: 1rem; padding: 1.05rem 0; border-bottom: 1px solid var(--line-light); transition: padding .4s var(--ease), color .3s; }
.contact__list a:hover { padding-left: .6rem; color: var(--sun); }
.contact__ico { width: 46px; height: 46px; border-radius: 50%; background: rgba(255, 255, 255, .08); display: grid; place-items: center; flex: none; }
.contact__ico svg { width: 20px; height: 20px; color: var(--sun); }
.contact__list small { display: block; font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: rgba(234, 243, 250, .55); }
.socials { display: flex; gap: .6rem; margin-top: 1.6rem; }
.socials a { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line-light); display: grid; place-items: center; transition: background .3s, border-color .3s, transform .4s var(--ease); }
.socials a:hover { background: var(--sun); border-color: var(--sun); color: var(--navy-2); transform: translateY(-3px); }
.socials svg { width: 19px; height: 19px; }

.form { background: var(--paper); color: var(--ink); border-radius: var(--radius-lg); padding: clamp(24px, 3.4vw, 46px); display: grid; gap: 1rem; box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .5); }
.form h3 { color: var(--navy); font-size: 2rem; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { position: relative; display: grid; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink);
  padding: 1.45rem 1rem .55rem; border-radius: 14px; border: 1.5px solid var(--line); background: #fff;
  transition: border-color .3s, box-shadow .3s; appearance: none; -webkit-appearance: none;
}
.field textarea { min-height: 110px; resize: vertical; }
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300325e' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; padding-right: 40px; }
.field label { position: absolute; left: 1rem; top: .5rem; font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); pointer-events: none; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 4px rgba(0, 169, 195, .15); }
.form__note { font-size: .82rem; color: var(--muted); margin: 0; text-align: center; }
.form__ok { display: none; align-items: center; gap: .8rem; padding: 1rem 1.2rem; border-radius: 14px; background: var(--teal-soft); color: var(--navy); font-weight: 500; }
.form.is-sent .form__ok { display: flex; }
.form__ok svg { width: 26px; height: 26px; flex: none; }
.form__ok path { stroke-dasharray: 40; stroke-dashoffset: 40; }
.form.is-sent .form__ok path { animation: drawWave .8s .1s var(--ease) forwards; }

/* ---------- Footer ---------- */
.footer { background: var(--navy-2); color: rgba(234, 243, 250, .75); padding: 70px 0 30px; position: relative; overflow: hidden; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2rem; padding-bottom: 50px; border-bottom: 1px solid var(--line-light); }
.footer__brand img { width: 150px; height: auto; margin-bottom: 1.4rem; }
.footer h4 { font-family: var(--f-body); font-size: .78rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--sun); margin-bottom: 1.1rem; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; }
.footer a:hover { color: #fff; }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; padding-top: 26px; font-size: .85rem; }
.footer__giant { display: block; width: min(520px, 76%); height: auto; margin: 56px auto 6px; filter: brightness(0) invert(1); opacity: .07; user-select: none; pointer-events: none; }

/* ---------- Floating WhatsApp ---------- */
.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 80; display: flex; align-items: center; gap: .6rem; padding: 12px; border-radius: 999px; background: #1fa855; color: #fff; box-shadow: 0 14px 30px -10px rgba(31, 168, 85, .6); transition: transform .5s var(--ease), padding .5s var(--ease); }
.wa-float svg { width: 30px; height: 30px; }
.wa-float span { max-width: 0; overflow: hidden; white-space: nowrap; font-weight: 700; font-size: .92rem; transition: max-width .6s var(--ease); }
.wa-float:hover span { max-width: 180px; padding-right: 6px; }

/* ---------- Reveal (scroll) ---------- */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity 1s var(--ease), transform 1.1s var(--ease); transition-delay: var(--d, 0s); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal[data-split] { opacity: 1; transform: none; }
.reveal-img { clip-path: inset(12% 12% 12% 12% round var(--radius-lg)); transition: clip-path 1.4s var(--ease); }
.reveal-img.is-in { clip-path: inset(0 0 0 0 round var(--radius-lg)); }
.no-js .reveal { opacity: 1; transform: none; }
.no-js .reveal-img { clip-path: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .types { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 2.6rem; }
  .steps::before { display: none; }
}
@media (max-width: 900px) {
  :root { --header-h: 84px; }
  .nav, .header .btn--desk { display: none; }
  .burger { display: block; }
  .intro, .coast, .split, .contact, .head--split, .cta-band { grid-template-columns: 1fr; }
  .split--rev .split__media { order: 0; }
  .split__media { aspect-ratio: 4 / 3; }
  .services { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; }
  .header__logo { height: 66px; }
  .header.is-solid .header__logo { height: 52px; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(3) { border-left: 0; padding-left: 0; }
  .why { grid-template-columns: 1fr; }
  .paths, .audience { grid-template-columns: 1fr; }
  .path { min-height: 380px; }
  .modal__panel { grid-template-columns: 1fr; }
  .modal__gallery { min-height: 280px; }
  .cta-band__actions { justify-content: flex-start; }
  .hscroll__pin { min-height: 0; padding-block: 80px; }
  .hscroll__track { width: auto; overflow-x: auto; scroll-snap-type: x mandatory; padding-right: var(--gutter); scrollbar-width: none; }
  .hscroll__track::-webkit-scrollbar { display: none; }
  .shot { scroll-snap-align: start; width: 78vw; }
  .shot--wide { width: 86vw; }
  .shot:nth-child(odd) { margin-top: 0; }
  .hscroll__intro { width: 80vw; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .cards, .cards--2, .types, .checklist, .beach-list, .form__row, .steps { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .hero__actions .btn { flex: 1 1 auto; justify-content: center; }
  .hero__scroll { display: none; }
  .wa-float { right: 14px; bottom: 14px; }
  .modal { padding: 0; align-items: end; }
  .modal__panel { border-radius: 26px 26px 0 0; max-height: 92svh; }
}

/* ---------- Coast actions ---------- */
.coast__actions { display: flex; flex-wrap: wrap; gap: .8rem; }

/* ---------- Beaches page ---------- */
.beaches-intro { padding-bottom: clamp(30px, 4vw, 50px); }
.beach-index { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(12px, 1.4vw, 18px); }
.beach-tile { position: relative; display: block; aspect-ratio: 4 / 5; border-radius: 22px; overflow: hidden; color: #fff; isolation: isolate; background: var(--navy-2); }
.beach-tile img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.beach-tile::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0, 25, 48, .45) 0%, rgba(0, 25, 48, .05) 32%, rgba(0, 25, 48, .1) 45%, rgba(0, 25, 48, .85)); transition: background .5s; }
.beach-tile:hover img { transform: scale(1.07); }
.beach-tile:hover::before { background: linear-gradient(180deg, rgba(0, 25, 48, .2) 10%, rgba(0, 25, 48, .9)); }
.beach-tile__n { position: absolute; top: 18px; left: 20px; font-family: var(--f-display); font-style: italic; font-size: 1.7rem; line-height: 1; color: var(--sun); font-variant-numeric: lining-nums; text-shadow: 0 2px 14px rgba(0, 20, 40, .5); }
.beach-tile__txt { position: absolute; left: 20px; right: 64px; bottom: 20px; display: grid; gap: .2rem; }
.beach-tile__txt strong { font-family: var(--f-display); font-weight: 500; font-size: clamp(1.35rem, 1.9vw, 1.75rem); line-height: 1.05; }
.beach-tile__txt small { font-size: .78rem; color: rgba(255, 255, 255, .78); letter-spacing: .02em; }
.beach-tile__go { position: absolute; right: 18px; bottom: 20px; width: 38px; height: 38px; border-radius: 50%; background: rgba(251, 248, 242, .95); color: var(--navy); display: grid; place-items: center; transition: background .3s, transform .4s var(--ease); }
.beach-tile__go svg { width: 16px; height: 16px; }
.beach-tile:hover .beach-tile__go { background: var(--sun); transform: translateX(3px); }

/* Sticky beach route */
.beach-nav { position: sticky; top: 0; z-index: 40; background: rgba(251, 248, 242, .96); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); transition: top .5s var(--ease); }
body:has(.header.is-solid:not(.is-hidden)) .beach-nav { top: 80px; }
.beach-nav__track { position: relative; display: flex; justify-content: space-between; gap: 1.6rem; overflow-x: auto; scrollbar-width: none; width: min(100% - var(--gutter) * 2, var(--max)); margin-inline: auto; padding: 16px 0 14px; }
.beach-nav__track::-webkit-scrollbar { display: none; }
.beach-nav__track::before { content: ""; position: absolute; left: 6px; right: 6px; top: 26px; height: 1px; background: repeating-linear-gradient(90deg, var(--sand-2) 0 6px, transparent 6px 11px); }
.beach-nav a { position: relative; flex: none; display: flex; flex-direction: column; align-items: flex-start; gap: .55rem; padding-top: 0; font-size: .86rem; font-weight: 500; color: var(--muted); white-space: nowrap; transition: color .35s; }
.beach-nav a::before { content: ""; width: 11px; height: 11px; border-radius: 50%; background: var(--paper); box-shadow: 0 0 0 1.5px var(--sand-2); transition: background .35s, box-shadow .35s, transform .35s var(--ease); }
.beach-nav__n { position: absolute; left: 18px; top: -3px; font-family: var(--f-display); font-style: italic; font-size: .95rem; color: var(--teal); font-variant-numeric: lining-nums; }
.beach-nav a:hover { color: var(--navy); }
.beach-nav a:hover::before { box-shadow: 0 0 0 1.5px var(--teal); }
.beach-nav a.is-active { color: var(--navy); font-weight: 700; }
.beach-nav a.is-active::before { background: var(--sun); box-shadow: 0 0 0 4px rgba(252, 165, 16, .25); transform: scale(1.15); }

.beach { padding-block: clamp(70px, 9vw, 130px); scroll-margin-top: 120px; }
.beach:nth-child(even) { background: var(--sand); }
.beach__grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(30px, 6vw, 96px); align-items: start; }
.beach:nth-child(even) .beach__media { order: 2; }
.beach__media { position: sticky; top: 130px; margin: 0; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 5; box-shadow: var(--shadow); }
.beach__media img { width: 100%; height: 100%; object-fit: cover; }
.beach__media figcaption { position: absolute; inset: auto 0 0; display: flex; align-items: flex-end; justify-content: space-between; padding: 26px 28px; color: #fff; background: linear-gradient(180deg, transparent, rgba(0, 25, 48, .75)); }
.beach__no { font-family: var(--f-display); font-style: italic; font-size: clamp(3.4rem, 6vw, 5.4rem); line-height: .8; font-variant-numeric: lining-nums; }
.beach__place { display: inline-flex; align-items: center; gap: .4em; padding: .5em 1em; border-radius: 999px; background: rgba(251, 248, 242, .94); color: var(--navy); font-size: .82rem; font-weight: 700; }
.beach__place svg { width: 14px; height: 14px; color: var(--teal); }
.beach__text h2 { color: var(--navy); margin-bottom: 1.2rem; }
.beach__demo { position: static; margin-left: .6rem; letter-spacing: .1em; }
.biz-head { display: flex; align-items: center; gap: 1rem; margin: 2.6rem 0 .6rem; }
.biz-head span { font-size: .76rem; font-weight: 700; letter-spacing: .24em; text-transform: uppercase; color: var(--navy); white-space: nowrap; }
.biz-head::after { content: ""; flex: 1; height: 1px; background: var(--sand-2); order: 2; }
.biz-head img { order: 3; width: 40px; height: auto; }
.biz-list { list-style: none; margin: 0; padding: 0; }
.biz { display: grid; grid-template-columns: 54px 1fr auto; gap: 1.1rem; align-items: center; padding: 1.25rem 0; border-bottom: 1px solid var(--line); transition: padding .4s var(--ease); }
.biz:hover { padding-left: .5rem; }
.biz__n { font-family: var(--f-display); font-style: italic; font-size: 1.9rem; color: var(--teal); font-variant-numeric: lining-nums; line-height: 1; }
.biz__cat { display: block; font-size: .7rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--sun); filter: brightness(.85); margin-bottom: .2rem; }
.biz h4 { font-family: var(--f-display); font-size: 1.45rem; font-weight: 600; color: var(--navy); margin: 0 0 .15rem; line-height: 1.1; }
.biz p { margin: 0; font-size: .92rem; color: var(--muted); }
.biz__links { display: flex; gap: .4rem; }
.biz__go { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; color: var(--navy); transition: background .3s, color .3s, border-color .3s; }
.biz__go svg { width: 17px; height: 17px; }
.biz__go:hover { background: var(--navy); border-color: var(--navy); color: #fff; }

/* ---------- Testimonials ---------- */
.testis { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 2.4vw, 34px); }
.testi { margin: 0; display: flex; flex-direction: column; gap: 1.2rem; }
.testi__media { position: relative; aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden; background: var(--navy-2); box-shadow: var(--shadow); }
.testi__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.testi__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 25, 48, .05) 40%, rgba(0, 25, 48, .82)); pointer-events: none; }
.testi:hover .testi__media img { transform: scale(1.05); }
.testi__play { position: absolute; z-index: 2; left: 50%; top: 46%; width: 78px; height: 78px; margin: -39px 0 0 -39px; border-radius: 50%; border: 0; background: rgba(251, 248, 242, .95); color: var(--navy); display: grid; place-items: center; box-shadow: 0 0 0 10px rgba(251, 248, 242, .22); transition: transform .5s var(--ease), background .3s, box-shadow .5s var(--ease); }
.testi__play svg { width: 30px; height: 30px; margin-left: 4px; }
.testi__play:hover { transform: scale(1.08); background: var(--sun); box-shadow: 0 0 0 16px rgba(252, 165, 16, .25); }
.testi__soon { position: absolute; z-index: 2; left: 50%; top: 46%; transform: translate(-50%, -50%); padding: .55em 1.1em; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .55); color: #fff; font-size: .8rem; font-weight: 700; letter-spacing: .08em; backdrop-filter: blur(6px); white-space: nowrap; }
.testi .card__demo { z-index: 2; }
.testi__who { position: absolute; z-index: 2; left: 22px; right: 22px; bottom: 20px; color: #fff; }
.testi__who strong { display: block; font-family: var(--f-display); font-size: 1.5rem; font-weight: 500; }
.testi__who span { font-size: .84rem; color: rgba(255, 255, 255, .78); }
.testi__quote { margin: 0; padding-left: 1.1rem; border-left: 2px solid var(--sun); font-family: var(--f-display); font-style: italic; font-size: 1.22rem; line-height: 1.4; color: var(--navy); }

.vmodal { position: fixed; inset: 0; z-index: 160; display: grid; place-items: center; padding: 20px; visibility: hidden; opacity: 0; transition: opacity .4s, visibility .4s; }
.vmodal.is-open { visibility: visible; opacity: 1; }
.vmodal__backdrop { position: absolute; inset: 0; background: rgba(0, 20, 40, .86); }
.vmodal__inner { position: relative; width: min(960px, 100%); }
.vmodal__box { aspect-ratio: 16 / 9; max-height: 82svh; margin: 0 auto; border-radius: 20px; overflow: hidden; background: #000; }
.vmodal__box video, .vmodal__box iframe { width: 100%; height: 100%; border: 0; display: block; object-fit: contain; background: #000; }
.vmodal__close { top: -56px; right: 0; background: var(--paper); color: var(--navy); }

/* ---------- Legal pages ---------- */
.legal-page { padding-top: var(--header-h); }
.legal__wrap { max-width: 920px; }
.legal__head { margin-bottom: 2.6rem; }
.legal__head h1 { font-size: clamp(2.8rem, 6vw, 4.8rem); color: var(--navy); margin-bottom: 1rem; }
.legal__head h1 em { color: var(--teal); }
.crumbs--dark { color: var(--muted); }
.crumbs--dark a:hover { color: var(--teal); }
.tabs { display: inline-flex; gap: 4px; padding: 5px; border-radius: 999px; background: var(--sand); margin-bottom: 2.4rem; max-width: 100%; overflow-x: auto; }
.tab { border: 0; background: transparent; padding: .8em 1.4em; border-radius: 999px; font-weight: 700; font-size: .95rem; color: var(--navy); white-space: nowrap; transition: background .35s, color .35s, box-shadow .35s; }
.tab[aria-selected="true"] { background: var(--navy); color: #fff; box-shadow: 0 8px 20px -10px rgba(0, 34, 63, .6); }
.doc { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(26px, 4vw, 56px); }
.doc h2 { font-size: clamp(1.5rem, 2.2vw, 1.9rem); color: var(--navy); margin: 2rem 0 .6rem; }
.doc h2:first-of-type { margin-top: 1rem; }
.doc p, .doc li { color: #2e4258; }
.doc ul { padding-left: 1.2rem; margin: 0 0 1em; }
.doc li { margin-bottom: .4em; }
.doc__date { font-size: .85rem; color: var(--muted); }
mark.fill { background: var(--sun-soft); color: var(--navy-2); padding: 0 .3em; border-radius: 4px; }

.alert-band { display: flex; align-items: center; gap: clamp(18px, 3vw, 36px); padding: clamp(24px, 3.4vw, 42px); border-radius: var(--radius); background: var(--navy); color: #fff; margin-bottom: clamp(44px, 6vw, 70px); }
.alert-band img { width: clamp(64px, 8vw, 90px); height: auto; flex: none; }
.alert-band p { margin: 0; font-size: clamp(1.05rem, 1.6vw, 1.3rem); color: rgba(255, 255, 255, .85); }
.alert-band strong { display: block; font-family: var(--f-display); font-weight: 500; font-size: clamp(1.6rem, 2.8vw, 2.3rem); line-height: 1.12; color: #fff; margin-bottom: .4rem; }
.code__title, .report h2 { color: var(--navy); margin-bottom: 1.4rem; font-size: clamp(2rem, 3.6vw, 3rem); }
.pledges { list-style: none; padding: 0; margin: 0 0 clamp(50px, 7vw, 90px); display: grid; grid-template-columns: 1fr 1fr; gap: 0 2.4rem; }
.pledge { display: flex; gap: 1.1rem; padding: 1.4rem 0; border-bottom: 1px solid var(--line); }
.pledge__n { font-family: var(--f-display); font-style: italic; font-size: 2rem; color: var(--teal); line-height: 1; font-variant-numeric: lining-nums; min-width: 44px; }
.pledge h3 { font-size: 1.45rem; color: var(--navy); margin-bottom: .3rem; }
.pledge p { margin: 0; color: var(--muted); font-size: .95rem; }
.report__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.report__item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: grid; gap: .8rem; }
.report__n { font-family: var(--f-display); font-size: 2.8rem; line-height: 1; color: var(--navy); font-variant-numeric: lining-nums; }
.report__n svg { width: 38px; height: 38px; color: var(--teal); }
.report__item p { margin: 0; color: var(--muted); font-size: .94rem; }
.report__item strong { display: block; color: var(--navy); }
.report__item a { color: var(--teal); font-weight: 700; }

/* ---------- Footer legal links ---------- */
.footer__legal { display: flex; flex-wrap: wrap; gap: .4rem 1.4rem; }
.footer__legal a { color: rgba(234, 243, 250, .75); }

@media (max-width: 900px) {
  .beach__grid { grid-template-columns: 1fr; }
  .beach:nth-child(even) .beach__media { order: 0; }
  .beach__media { position: relative; top: 0; aspect-ratio: 4 / 3; }
  .testis { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; }
  .pledges, .report__grid { grid-template-columns: 1fr; }
  body:has(.header.is-solid:not(.is-hidden)) .beach-nav { top: 66px; }
  .header.is-solid { --header-h: 66px; }
  .beach-index { grid-template-columns: repeat(2, 1fr); }
  .beach-nav__track { justify-content: flex-start; }
}
@media (max-width: 640px) {
  .biz { grid-template-columns: 40px 1fr; }
  .biz__links { grid-column: 2; }
  .alert-band { flex-direction: column; align-items: flex-start; }
  .tab { padding: .75em 1.1em; font-size: .88rem; }
}

/* ---------- Header: pages without photo hero + 6-item nav ---------- */
.header:not(.header--over) .header__logo .logo-light { display: none; }
.nav a { white-space: nowrap; }
@media (max-width: 1180px) {
  .nav { gap: 1.2rem; }
  .nav a[href="#contacto"] { display: none; }
}
@media (max-width: 1040px) and (min-width: 901px) {
  .nav a { font-size: .88rem; }
  .header .btn--desk { padding: .65em 1em; }
}
@media (max-width: 640px) {
  .beach-index { gap: 10px; }
  .beach-tile { aspect-ratio: 3 / 4; border-radius: 18px; }
  .beach-tile__go { display: none; }
  .beach-tile__n { top: 12px; left: 14px; font-size: 1.35rem; }
  .beach-tile__txt { left: 14px; right: 12px; bottom: 14px; }
  .beach-tile__txt strong { font-size: 1.2rem; }
  .beach-tile__txt small { font-size: .7rem; }
}
