@font-face { font-family: "Cormorant"; src: url("fonts/CormorantGaramond.woff2") format("woff2"); font-weight: 300 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Cormorant"; src: url("fonts/CormorantGaramond-Italic.woff2") format("woff2"); font-weight: 300 700; font-style: italic; font-display: swap; }
@font-face { font-family: "Jost"; src: url("fonts/Jost.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }

:root {
  --crema: #f4ede2; --crema-claro: #fbf7f0; --tinta: #1d2a2e; --tinta-suave: #4f5b5e;
  --bronce: #9a7a4e; --bronce-claro: #c6a875; --linea: #ddd1bd;
  --mar: #12333b; --mar-2: #1f4e5a; --agua: #3f8f9c; --agua-clara: #9fd0cf; --espuma: #e6f1ee;
  --wa: #25d366;
  --ease: cubic-bezier(.2,.75,.2,1);
  --ease-out: cubic-bezier(.16,1,.3,1);
  --wrap: 1200px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: "Jost", system-ui, sans-serif; font-weight: 380; color: var(--tinta);
  background: var(--crema); font-size: 17px; line-height: 1.55; overflow-x: hidden;
  font-variant-numeric: lining-nums; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3 { font-family: "Cormorant", Georgia, serif; font-weight: 500; line-height: 1.04; margin: 0; letter-spacing: -.01em; font-variant-numeric: lining-nums; }
h1 em, h2 em, h3 em { font-style: italic; color: var(--bronce); font-weight: 500; }
.kicker { font-size: 12px; letter-spacing: .24em; text-transform: uppercase; color: var(--bronce); font-weight: 500; margin: 0 0 14px; }
.wrap { width: min(var(--wrap), 100% - 40px); margin-inline: auto; }
:focus-visible { outline: 2px solid var(--agua); outline-offset: 3px; }

/* ---------- curtain (intro) ---------- */
.curtain { position: fixed; inset: 0; z-index: 100; background: var(--mar); color: var(--crema-claro);
  display: grid; place-items: center; pointer-events: none;
  animation: curtain-up 1.15s var(--ease-out) .55s forwards; }
.curtain-word { font-family: "Cormorant", serif; font-size: clamp(42px, 9vw, 110px); letter-spacing: .14em; font-weight: 400;
  animation: word-in .7s var(--ease-out) both; }
.curtain-wave { position: absolute; left: 0; right: 0; top: 100%; width: 100%; height: 90px; fill: var(--mar); }
@keyframes curtain-up { to { transform: translateY(calc(-100% - 100px)); } }
@keyframes word-in { from { opacity: 0; letter-spacing: .5em; filter: blur(6px); } }

/* ---------- top bar ---------- */
.horizon { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 60; background: transparent; }
.horizon span { display: block; height: 100%; width: 100%; transform-origin: 0 50%; transform: scaleX(var(--p, 0));
  background: linear-gradient(90deg, var(--bronce-claro), var(--agua)); }
.top { position: fixed; top: 0; left: 0; right: 0; z-index: 50; display: flex; align-items: center; justify-content: space-between;
  padding: 16px clamp(16px, 4vw, 48px); transition: background .4s, padding .4s, box-shadow .4s; }
.top.solid { background: rgba(251, 247, 240, .86); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); padding-block: 10px; box-shadow: 0 1px 0 var(--linea); }
.brand { text-decoration: none; display: flex; flex-direction: column; line-height: 1; }
.brand-n { font-family: "Cormorant", serif; font-size: 26px; letter-spacing: .16em; text-transform: uppercase; font-weight: 500; }
.brand-s { font-size: 9.5px; letter-spacing: .3em; text-transform: uppercase; color: var(--bronce); margin-top: 4px; }
.nav { display: flex; gap: clamp(14px, 2.4vw, 32px); }
.nav a { text-decoration: none; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; position: relative; padding: 4px 0; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--bronce);
  transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease); }
.nav a:hover::after, .nav a.on::after { transform: scaleX(1); transform-origin: left; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; border: 1px solid transparent; border-radius: 999px;
  padding: 13px 22px; font-size: 14.5px; letter-spacing: .04em; font-weight: 450; position: relative; overflow: hidden; isolation: isolate;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), color .35s, background .35s, border-color .35s; white-space: nowrap; background: none; }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; transform: translateY(102%);
  transition: transform .5s var(--ease); }
.btn:hover { transform: translateY(-2px); }
.btn:hover::before { transform: translateY(0); }
.btn-sea { background: var(--mar); color: var(--crema-claro); }
.btn-sea::before { background: var(--agua); }
.btn-sea .arr { display: inline-block; animation: bob 1.8s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(4px); } }
.btn-wa { background: var(--wa); color: #0b3d22; font-weight: 500; }
.btn-wa::before { background: #1ebe5b; }
.btn-wa:hover { box-shadow: 0 10px 30px -10px rgba(37, 211, 102, .7); }
.btn-line { border-color: var(--linea); color: var(--tinta); }
.btn-line::before { background: var(--tinta); }
.btn-line:hover { color: var(--crema-claro); border-color: var(--tinta); }
.btn-big { font-size: 17px; padding: 18px 30px; }
.btn-big svg { width: 22px; height: 22px; }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100svh; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); align-items: center;
  gap: clamp(20px, 4vw, 70px); padding: 110px clamp(20px, 5vw, 80px) 150px; overflow: hidden;
  background: radial-gradient(120% 80% at 80% 10%, #fffdf8 0%, var(--crema-claro) 40%, var(--crema) 100%); }
.hero-text { position: relative; z-index: 2; max-width: 680px; }
.hero h1 { font-size: clamp(40px, 5.6vw, 86px); }
.hero h1 .ln { display: block; }
.hero h1 em.ln { margin-top: .12em; font-size: .78em; }
.hero-lede { font-size: clamp(16.5px, 1.25vw, 19px); max-width: 520px; margin: 26px 0 0; color: var(--tinta-suave); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-stats { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 8px clamp(18px, 3vw, 44px); margin: 38px 0 0; padding-top: 22px; border-top: 1px solid var(--linea); }
.hero-stats div { margin: 0; }
.hero-stats dt { font-size: 10.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--tinta-suave); }
.hero-stats dd { margin: 4px 0 0; font-size: clamp(18px, 1.7vw, 24px); font-weight: 450; }
[data-count] { font-variant-numeric: tabular-nums; }

.rise { animation: rise 1.1s var(--ease-out) both; animation-delay: calc(var(--d, 0s) + 1.05s); }
@keyframes rise { from { opacity: 0; transform: translateY(28px); filter: blur(4px); } }

.hero-arches { position: relative; z-index: 1; height: min(78vh, 680px); display: flex; align-items: center; justify-content: center; gap: clamp(10px, 1.6vw, 22px);
  perspective: 1200px; }
.arch { margin: 0; position: relative; flex: none; width: clamp(130px, 14vw, 270px); aspect-ratio: 3 / 4.6;
  transform: translate3d(var(--mx, 0), var(--my, 0), 0); transition: transform .9s var(--ease-out);
  animation: arch-in 1.4s var(--ease-out) both; }
.arch.a1 { width: clamp(170px, 19vw, 370px); z-index: 2; animation-delay: 1.15s; }
.arch.a0 { animation-delay: 1.3s; margin-top: 90px; }
.arch.a2 { animation-delay: 1.45s; margin-top: -90px; }
@keyframes arch-in { from { opacity: 0; transform: translateY(80px) scale(.94); clip-path: inset(100% 0 0 0 round 999px 999px 0 0); }
  to { clip-path: inset(0 0 0 0 round 999px 999px 0 0); } }
.arch-in { position: absolute; inset: 0; border-radius: 999px 999px 14px 14px; overflow: hidden; background: var(--linea);
  box-shadow: 0 40px 70px -40px rgba(18, 51, 59, .55), 0 0 0 1px rgba(154, 122, 78, .25); }
.arch-in img { width: 100%; height: 100%; object-fit: cover; animation: drift 18s ease-in-out infinite alternate; transform-origin: 50% 60%; }
.a0 .arch-in img { animation-duration: 22s; }
.a2 .arch-in img { animation-duration: 20s; animation-direction: alternate-reverse; }
@keyframes drift { from { transform: scale(1.02) translateY(0); } to { transform: scale(1.09) translateY(-2.5%); } }
.arch::after { content: ""; position: absolute; inset: -10px; border: 1px solid rgba(154, 122, 78, .45); border-radius: 999px 999px 20px 20px; pointer-events: none;
  animation: line-in 1.6s var(--ease-out) both; animation-delay: inherit; }
@keyframes line-in { from { opacity: 0; transform: scale(1.06); } }
.arch figcaption { position: absolute; left: 0; right: 0; bottom: -28px; text-align: center; font-size: 10px; letter-spacing: .26em; color: var(--bronce); }
.caustic { position: absolute; inset: -20%; pointer-events: none; mix-blend-mode: soft-light; opacity: .55;
  background:
    radial-gradient(closest-side, rgba(255,255,255,.9), transparent) 0 0 / 46px 34px,
    radial-gradient(closest-side, rgba(255,255,255,.7), transparent) 13px 21px / 62px 44px,
    radial-gradient(closest-side, rgba(255,255,255,.6), transparent) 31px 7px / 38px 52px;
  filter: blur(3px); animation: caustic 9s linear infinite; }
.a1 .caustic { opacity: .7; }
@keyframes caustic { to { background-position: 46px 68px, -49px 109px, 69px -97px; } }
.sun-disc { position: absolute; width: clamp(140px, 16vw, 260px); right: 6%; top: 4%; z-index: 0;
  animation: sun 14s ease-in-out infinite alternate; }
.sun-disc circle { fill: #f1d9ae; opacity: .55; }
@keyframes sun { to { transform: translate(-30px, 24px); } }

.waves { position: absolute; left: 0; right: 0; bottom: -1px; height: 120px; overflow: hidden; z-index: 3; pointer-events: none; }
.wv { position: absolute; bottom: 0; left: 0; width: 200%; height: 100%; }
.wv1 { fill: rgba(63, 143, 156, .22); animation: waves 16s linear infinite; }
.wv2 { fill: rgba(31, 78, 90, .30); animation: waves 11s linear infinite reverse; }
.wv3 { fill: var(--mar); animation: waves 22s linear infinite; }
@keyframes waves { to { transform: translateX(-50%); } }

/* ---------- reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity 1s var(--ease-out), transform 1.1s var(--ease-out); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- sections ---------- */
section { position: relative; }
.sec-head { margin-bottom: clamp(30px, 4vw, 56px); max-width: 760px; }
.sec-head h2 { font-size: clamp(34px, 4.4vw, 64px); }
.sea-band { background: var(--mar); color: var(--crema-claro); padding: clamp(50px, 7vw, 100px) 0 clamp(60px, 8vw, 110px); overflow: hidden; }
.sea-band::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background: radial-gradient(60% 40% at 15% 10%, rgba(63,143,156,.45), transparent 70%), radial-gradient(50% 40% at 90% 60%, rgba(63,143,156,.28), transparent 70%); }
.sea-band .kicker { color: var(--bronce-claro); }
.sea-band h2 em, .sea-band h3 em { color: var(--bronce-claro); }

/* featured */
.feat { position: relative; padding: clamp(30px, 4vw, 50px) 0; border-top: 1px solid rgba(230, 241, 238, .16); }
.feat + .feat { margin-top: clamp(20px, 3vw, 40px); }
.feat-head h3 { font-size: clamp(32px, 4vw, 58px); max-width: 900px; }
.feat .kicker .no { display: inline-block; font-family: "Cormorant", serif; font-size: 22px; letter-spacing: 0; margin-right: 8px; color: var(--crema-claro); }
.feat-body { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.3fr); gap: clamp(24px, 4vw, 60px); margin-top: clamp(24px, 3vw, 40px); align-items: start; }
.feat:nth-of-type(even) .feat-body { grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.9fr); }
.feat:nth-of-type(even) .feat-text { order: 2; }
.price { font-family: "Cormorant", serif; font-size: clamp(40px, 4.4vw, 62px); line-height: 1; margin: 0 0 18px; font-weight: 500; white-space: nowrap; }
.price .cur { font-size: .7em; margin-right: 2px; color: var(--bronce-claro); vertical-align: .14em; }
.price .num { font-variant-numeric: lining-nums tabular-nums; }
.card .price .cur { color: var(--bronce); }
.lede { margin: 0 0 20px; max-width: 520px; }
.sea-band .lede { color: rgba(251, 247, 240, .86); }
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0 0 22px; border-top: 1px solid rgba(230,241,238,.2); }
.facts div { padding: 12px 10px 12px 0; border-bottom: 1px solid rgba(230,241,238,.2); }
.facts dt { font-size: 10.5px; letter-spacing: .18em; text-transform: uppercase; opacity: .7; }
.facts dd { margin: 3px 0 0; font-size: 18px; font-weight: 450; }
.perks { list-style: none; padding: 0; margin: 0 0 26px; display: flex; flex-wrap: wrap; gap: 8px; }
.perks li { display: flex; align-items: center; gap: 8px; padding: 6px 14px 6px 8px; border-radius: 999px; font-size: 13.5px;
  background: rgba(230, 241, 238, .08); border: 1px solid rgba(230, 241, 238, .18); transition: background .3s, transform .3s var(--ease); }
.perks li:hover { background: rgba(159, 208, 207, .2); transform: translateY(-2px); }
.card .perks li { background: var(--crema-claro); border-color: var(--linea); }
.card .perks li:hover { background: var(--espuma); }
.actions { display: flex; flex-wrap: wrap; gap: 10px; }
.sea-band .btn-line { color: var(--crema-claro); border-color: rgba(230, 241, 238, .35); }
.sea-band .btn-line::before { background: var(--crema-claro); }
.sea-band .btn-line:hover { color: var(--mar); }

/* animated icons */
.ic { width: 26px; height: 26px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; color: var(--agua-clara); overflow: visible; }
.card .ic { color: var(--agua); }
.ic-pool .w1, .ic-sea .w1 { animation: wave-x 2.4s ease-in-out infinite; }
.ic-pool .w2, .ic-sea .w2 { animation: wave-x 2.4s ease-in-out infinite reverse; }
@keyframes wave-x { 50% { transform: translateX(-4px); } }
.ic-sea .sun { fill: currentColor; stroke: none; opacity: .5; animation: sun-bob 3s ease-in-out infinite; }
@keyframes sun-bob { 50% { transform: translateY(3px); } }
.ic-gym .bar { animation: lift 2s var(--ease) infinite; transform-box: fill-box; }
@keyframes lift { 0%, 100% { transform: translateY(5px); } 45%, 60% { transform: translateY(-6px); } }
.ic-palm .fronds { transform-origin: 20px 16px; animation: sway 3.2s ease-in-out infinite; }
@keyframes sway { 50% { transform: rotate(7deg); } }
.ic-palm .fronds path { fill: currentColor; stroke: none; opacity: .8; }
.ic-spa .s1, .ic-spa .s2, .ic-spa .s3 { animation: steam 2.4s ease-in-out infinite; }
.ic-spa .s2 { animation-delay: .4s; } .ic-spa .s3 { animation-delay: .8s; }
@keyframes steam { 0% { opacity: 0; transform: translateY(4px); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(-6px); } }
.ic-run .dot { fill: currentColor; stroke: none; offset-path: path("M5 22 a15 9 0 1 0 30 0 a15 9 0 1 0 -30 0"); offset-rotate: 0deg; animation: run 2.6s linear infinite; }
@keyframes run { from { offset-distance: 0%; } to { offset-distance: 100%; } }
.ic-golf .flag { fill: currentColor; stroke: none; transform-origin: 14px 11px; animation: flag 1.4s ease-in-out infinite; }
@keyframes flag { 50% { transform: scaleX(.78) skewY(4deg); } }
.ic-sun .rays { transform-origin: 20px 20px; animation: spin 9s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* gallery strip */
.feat-gal { min-width: 0; }
.g-strip { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 14px; cursor: grab;
  scrollbar-width: thin; scrollbar-color: rgba(159,208,207,.5) transparent; overscroll-behavior-x: contain; }
.g-strip.dragging { cursor: grabbing; scroll-snap-type: none; }
.g-strip.dragging .g-item { pointer-events: none; }
.g-item { flex: none; height: clamp(300px, 36vw, 470px); aspect-ratio: var(--ar); max-width: 86vw; scroll-snap-align: start; padding: 0; border: 0;
  border-radius: 6px; overflow: hidden; position: relative; background: var(--mar-2); }
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out), filter .6s; transform: scale(1.001); }
.g-item:hover img { transform: scale(1.05); }
.g-item::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 60%, rgba(18,51,59,.35)); opacity: 0; transition: opacity .5s; }
.g-item:hover::after { opacity: 1; }
.g-hint { font-size: 12.5px; letter-spacing: .08em; opacity: .7; margin: 6px 0 0; }
.g-hint span { display: inline-block; animation: nudge 2.2s ease-in-out infinite; }
@keyframes nudge { 50% { transform: translateX(6px); } }

.inline-cta { margin: clamp(30px, 4vw, 50px) 0 0; max-width: 760px; font-size: 18px; color: rgba(251,247,240,.88); padding-top: 26px; border-top: 1px solid rgba(230,241,238,.16); }
.inline-cta a { color: var(--agua-clara); text-underline-offset: 4px; text-decoration-thickness: 1px; }
.inline-cta a:hover { color: #fff; }

/* more: cards */
.more { padding: clamp(60px, 8vw, 120px) 0; background: linear-gradient(180deg, var(--crema-claro), var(--crema)); }
.cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(26px, 3.4vw, 48px) clamp(20px, 3vw, 40px); }
.card { display: flex; flex-direction: column; min-width: 0; }
@media (min-width: 1081px) { .card:nth-child(even) { transform: translateY(70px); } .card:nth-child(even).reveal:not(.in) { transform: translateY(110px); } .more { padding-bottom: 190px; } }
.card-ph { position: relative; display: block; padding: 0; border: 0; border-radius: 180px 180px 8px 8px; overflow: hidden; aspect-ratio: 4 / 3.3;
  background: var(--linea); --mx: 50%; --my: 50%; }
.card-ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease-out); }
.card-ph .ph1 { clip-path: circle(0% at var(--mx) var(--my)); transition: clip-path .9s var(--ease-out), transform 1.4s var(--ease-out); }
.card-ph:hover .ph1, .card-ph.peek .ph1 { clip-path: circle(150% at var(--mx) var(--my)); }
.card-ph:hover img { transform: scale(1.04); }
.card-ph::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(240px circle at var(--mx) var(--my), rgba(255,255,255,.28), transparent 60%); opacity: 0; transition: opacity .5s; }
.card-ph:hover::after { opacity: 1; }
.tide { position: absolute; left: -10%; right: -10%; bottom: -2px; height: 26px; pointer-events: none; opacity: .9;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 26'%3E%3Cpath fill='%23fbf7f0' d='M0 14c25 0 25-10 50-10s25 10 50 10 25-10 50-10 25 10 50 10v12H0z'/%3E%3C/svg%3E") repeat-x 0 100% / 200px 26px;
  animation: tide 7s linear infinite; }
@keyframes tide { to { background-position: 200px 100%; } }
.card-count { position: absolute; left: 50%; bottom: 34px; transform: translateX(-50%); background: rgba(251,247,240,.92); color: var(--tinta); font-size: 11.5px;
  letter-spacing: .16em; text-transform: uppercase; padding: 6px 14px; border-radius: 999px; transition: transform .4s var(--ease); }
.card-ph:hover .card-count { transform: translateX(-50%) translateY(-4px); }
.card-body { padding: 26px 4px 0; }
.card h3 { font-size: clamp(28px, 2.7vw, 40px); margin-bottom: 14px; }
.card .price { font-size: clamp(34px, 3.2vw, 46px); margin-bottom: 8px; }
.specs { margin: 0 0 14px; font-size: 14.5px; letter-spacing: .03em; color: var(--tinta-suave); }
.card .lede { font-size: 16px; color: var(--tinta-suave); }

/* compare */
.compare { background: var(--crema); padding: clamp(60px, 8vw, 110px) 0; border-top: 1px solid var(--linea); }
.sorter { display: inline-flex; flex-wrap: wrap; gap: 6px; padding: 6px; border-radius: 999px; background: var(--crema-claro); border: 1px solid var(--linea); margin-bottom: 26px; position: relative; }
.sorter button { border: 0; background: none; padding: 10px 18px; border-radius: 999px; font-size: 14px; letter-spacing: .04em; position: relative; z-index: 1; transition: color .35s; }
.sorter button.on { color: var(--crema-claro); }
.sorter .pill { position: absolute; z-index: 0; top: 0; left: 0; border-radius: 999px; background: var(--mar);
  transition: transform .55s var(--ease-out), width .55s var(--ease-out); }
.rows { list-style: none; margin: 0; padding: 0; position: relative; }
.row { display: grid; grid-template-columns: 74px minmax(0, 1fr) minmax(0, 1.5fr); gap: 18px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--linea);
  cursor: pointer; transition: background .3s; position: relative; }
.row:first-child { border-top: 1px solid var(--linea); }
.row:hover { background: var(--crema-claro); }
.row-ph { width: 74px; height: 58px; border-radius: 30px 30px 4px 4px; overflow: hidden; }
.row-ph img { width: 100%; height: 100%; object-fit: cover; }
.row-name { min-width: 0; }
.row-name b { display: block; font-family: "Cormorant", serif; font-size: 22px; font-weight: 600; line-height: 1.1; }
.row-name span { font-size: 12.5px; letter-spacing: .06em; color: var(--tinta-suave); }
.row-bar { position: relative; height: 44px; border-radius: 6px; background: var(--crema-claro); overflow: hidden; border: 1px solid var(--linea); }
.row-fill { position: absolute; inset: 0 auto 0 0; width: 0; background: linear-gradient(90deg, var(--mar-2), var(--agua)); transition: width 1.1s var(--ease-out); }
.row-fill::after { content: ""; position: absolute; top: -6px; bottom: -6px; right: -10px; width: 20px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 40'%3E%3Cpath fill='%233f8f9c' d='M0 0h6c8 5-8 10 0 15s-8 10 0 15 -8 10 0 10H0z'/%3E%3C/svg%3E") repeat-y 0 0 / 20px 40px;
  animation: lap 2s linear infinite; }
@keyframes lap { to { background-position: 0 40px; } }
.row-val { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); font-size: 15.5px; font-weight: 500; color: var(--crema-claro); white-space: nowrap;
  font-variant-numeric: tabular-nums; text-shadow: 0 1px 2px rgba(0,0,0,.25); }
.row-val.dark { color: var(--tinta); text-shadow: none; }
.fine { font-size: 13.5px; color: var(--tinta-suave); margin: 18px 0 0; max-width: 700px; }

/* map */
.mapsec { padding: clamp(60px, 8vw, 110px) 0; background: var(--crema-claro); border-top: 1px solid var(--linea); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.chip { border: 1px solid var(--linea); background: var(--crema); border-radius: 999px; padding: 9px 16px 9px 12px; font-size: 13.5px; display: inline-flex; align-items: center; gap: 8px;
  transition: background .35s, color .35s, border-color .35s, transform .35s var(--ease); }
.chip:hover { transform: translateY(-2px); border-color: var(--bronce); }
.chip .pin { width: 14px; height: 18px; fill: var(--bronce); transition: transform .5s var(--ease); }
.chip.on { background: var(--mar); color: var(--crema-claro); border-color: var(--mar); }
.chip.on .pin { fill: var(--agua-clara); animation: drop .7s var(--ease-out); }
@keyframes drop { 0% { transform: translateY(-14px); opacity: 0; } 60% { transform: translateY(2px); opacity: 1; } 100% { transform: none; } }
.map-frame { position: relative; height: clamp(320px, 52vh, 520px); border-radius: 28px; overflow: hidden; background: var(--espuma); border: 1px solid var(--linea); }
.map-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; transition: opacity .6s; }
.map-frame iframe.fade { opacity: 0; }
.map-ph { position: absolute; inset: 0; display: grid; place-items: center; color: var(--tinta-suave); font-size: 14px; }
.map-note { font-size: 14.5px; color: var(--tinta-suave); margin: 16px 0 6px; min-height: 1.5em; }
.map-open { font-size: 14.5px; color: var(--bronce); text-underline-offset: 4px; }

/* karin */
.karin { padding: clamp(60px, 8vw, 110px) 0; background: var(--crema); border-top: 1px solid var(--linea); }
.karin-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(30px, 5vw, 80px); align-items: center; }
.karin h2 { font-size: clamp(34px, 4vw, 58px); margin-bottom: 20px; }
.karin p { max-width: 540px; }
.badge { display: inline-block; font-size: 11.5px; letter-spacing: .2em; text-transform: uppercase; border: 1px solid var(--bronce); color: var(--bronce); padding: 8px 14px; border-radius: 999px; }
.quote { margin: 0; padding: clamp(28px, 4vw, 50px); border-radius: 200px 200px 10px 10px; background: var(--mar); color: var(--crema-claro); position: relative; overflow: hidden; }
.quote p { font-family: "Cormorant", serif; font-style: italic; font-size: clamp(24px, 2.4vw, 34px); line-height: 1.2; margin: 50px 0 22px; }
.quote footer { font-size: 13px; letter-spacing: .08em; color: var(--agua-clara); }
.quote::before { content: ""; position: absolute; left: -10%; right: -10%; bottom: -30px; height: 80px; opacity: .25;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 40'%3E%3Cpath fill='%239fd0cf' d='M0 20c25 0 25-14 50-14s25 14 50 14 25-14 50-14 25 14 50 14v20H0z'/%3E%3C/svg%3E") repeat-x 0 0 / 200px 40px;
  animation: tide 9s linear infinite; }

/* contact */
.contact { padding: clamp(70px, 9vw, 130px) 0; background: var(--mar); color: var(--crema-claro); overflow: hidden; text-align: center; }
.contact::before { content: ""; position: absolute; inset: 0; opacity: .6; pointer-events: none;
  background: radial-gradient(50% 60% at 50% 110%, rgba(63,143,156,.6), transparent 70%); animation: breathe 6s ease-in-out infinite alternate; }
@keyframes breathe { to { opacity: .25; } }
.contact-in { position: relative; display: flex; flex-direction: column; align-items: center; }
.contact .kicker { color: var(--bronce-claro); }
.contact h2 { font-size: clamp(40px, 5.6vw, 84px); }
.contact h2 em { color: var(--bronce-claro); }
.contact-lede { max-width: 560px; margin: 22px auto 30px; color: rgba(251,247,240,.86); }
.contact-list { list-style: none; padding: 0; margin: 36px 0 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 28px; font-size: 15px; }
.contact-list a { text-decoration: none; border-bottom: 1px solid rgba(230,241,238,.3); padding-bottom: 2px; transition: border-color .3s, color .3s; }
.contact-list a:hover { color: var(--agua-clara); border-color: var(--agua-clara); }

.foot { background: #0d262c; color: rgba(251,247,240,.7); padding: 40px 0 110px; font-size: 13.5px; }
.foot .brand-n { color: var(--crema-claro); font-size: 22px; margin: 0 0 12px; }
.foot a { color: var(--agua-clara); }
.foot p { margin: 0 0 8px; max-width: 760px; }

/* floating WhatsApp */
.wa-float { position: fixed; right: max(18px, env(safe-area-inset-right)); bottom: max(18px, env(safe-area-inset-bottom)); z-index: 70; width: 62px; height: 62px; border-radius: 50%;
  background: var(--wa); color: #fff; display: grid; place-items: center; text-decoration: none; box-shadow: 0 14px 34px -10px rgba(13, 38, 44, .55);
  transition: transform .45s var(--ease); animation: wa-in .9s var(--ease-out) 2s both; }
.wa-float svg { width: 32px; height: 32px; position: relative; z-index: 1; }
.wa-float:hover { transform: scale(1.08) rotate(-6deg); }
.wa-float .ring { position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--wa); animation: ring 2.8s ease-out infinite; }
.wa-float .r2 { animation-delay: 1.4s; }
@keyframes ring { from { transform: scale(1); opacity: .8; } to { transform: scale(1.9); opacity: 0; } }
@keyframes wa-in { from { transform: translateY(120px) scale(.6); opacity: 0; } }
.wa-tip { position: absolute; right: 74px; top: 50%; transform: translate(10px, -50%); opacity: 0; pointer-events: none; white-space: nowrap;
  background: var(--crema-claro); color: var(--tinta); font-size: 13.5px; padding: 9px 14px; border-radius: 999px; box-shadow: 0 10px 30px -12px rgba(13,38,44,.45);
  transition: opacity .45s, transform .45s var(--ease); }
.wa-float.show-tip .wa-tip, .wa-float:hover .wa-tip { opacity: 1; transform: translate(0, -50%); }

/* click ripple */
.ripple { position: fixed; z-index: 90; width: 16px; height: 16px; margin: -8px 0 0 -8px; border-radius: 50%; pointer-events: none;
  border: 1.5px solid var(--agua); animation: rip .9s var(--ease-out) forwards; }
.ripple.r2 { animation-delay: .12s; border-color: var(--bronce-claro); }
@keyframes rip { from { transform: scale(.3); opacity: .9; } to { transform: scale(5.5); opacity: 0; } }

/* lightbox */
.lb { border: 0; padding: 0; margin: 0; width: 100vw; height: 100vh; max-width: 100vw; max-height: 100vh; background: rgba(9, 28, 33, .94); color: var(--crema-claro); overflow: hidden; }
.lb[open] { display: grid; place-items: center; animation: lb-in .5s var(--ease-out); }
.lb::backdrop { background: transparent; }
@keyframes lb-in { from { opacity: 0; } }
.lb-stage { position: relative; display: grid; place-items: center; width: 100%; height: calc(100% - 90px); }
.lb-stage img { grid-area: 1 / 1; width: auto; height: auto; max-width: min(92vw, 1600px); max-height: calc(100vh - 140px); border-radius: 6px;
  transition: opacity .55s var(--ease-out), transform .7s var(--ease-out), clip-path .8s var(--ease-out); }
.lb-stage img.out { opacity: 0; transform: scale(.97); }
.lb-stage img.enter { clip-path: inset(0 0 0 100% round 6px); }
.lb-cap { position: absolute; left: 0; right: 0; bottom: 22px; text-align: center; font-size: 14px; margin: 0; padding: 0 70px; }
.lb-cap #lbn { color: var(--agua-clara); margin-left: 8px; font-variant-numeric: tabular-nums; }
.lb button { position: absolute; border: 1px solid rgba(230,241,238,.3); background: rgba(9,28,33,.4); color: var(--crema-claro); width: 50px; height: 50px; border-radius: 50%;
  font-size: 28px; line-height: 1; display: grid; place-items: center; transition: background .3s, transform .3s var(--ease); }
.lb button:hover { background: var(--agua); transform: scale(1.06); }
.lb-x { top: 18px; right: 18px; }
.lb-prev { left: 18px; top: 50%; margin-top: -25px; }
.lb-next { right: 18px; top: 50%; margin-top: -25px; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .hero { grid-template-columns: minmax(0, 1fr); padding-top: 96px; min-height: auto; }
  .hero-arches { order: -1; height: auto; padding: 10px 0 40px; }
  .hero-text { max-width: 700px; }
  .feat-body, .feat:nth-of-type(even) .feat-body { grid-template-columns: 1fr; }
  .feat:nth-of-type(even) .feat-text { order: 0; }
  .feat-gal { order: -1; }
  .g-item { height: clamp(260px, 52vw, 440px); }
}
@media (max-width: 760px) {
  body { font-size: 16.5px; }
  .nav { display: none; }
  .hero { padding: 84px 20px 120px; gap: 6px; }
  .arch { width: 25vw; }
  .arch.a1 { width: 36vw; }
  .arch.a0 { margin-top: 50px; }
  .arch.a2 { margin-top: -50px; }
  .arch figcaption { display: none; }
  .hero-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px 12px; }
  .hero-stats dd { font-size: 17px; }
  .cards { grid-template-columns: 1fr; }
  .card .lede { display: none; }
  .card-ph { border-radius: 120px 120px 8px 8px; }
  .karin-in { grid-template-columns: 1fr; }
  .row { grid-template-columns: 56px minmax(0, 1fr); gap: 6px 14px; }
  .row-ph { width: 56px; height: 46px; grid-row: span 2; }
  .row-bar { height: 36px; }
  .sorter { display: grid; grid-template-columns: 1fr 1fr; border-radius: 22px; width: 100%; }
  .sorter button { padding: 10px 8px; }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lb-prev, .lb-next { top: auto; bottom: 60px; margin: 0; }
  .lb-cap { bottom: 16px; padding: 0 16px; }
  .lb-stage { height: calc(100% - 150px); }
  .lb-stage img { max-height: calc(100vh - 220px); }
}
@media (max-width: 380px) {
  .hero h1 { font-size: 36px; }
  .btn { padding: 12px 18px; font-size: 14px; }
  .hero-stats dt { font-size: 9.5px; letter-spacing: .14em; }
  .hero-stats dd { font-size: 15.5px; }
  .brand-s { letter-spacing: .2em; }
  .actions .btn { white-space: normal; }
}
@media (hover: none) { .card-ph .ph1 { transition-duration: 1.2s; } }
/* El encargo pide que lo animado se vea animado también con prefers-reduced-motion: no se apaga nada. */

img.lz:not([src]) { opacity: 0; }
img.lz { transition: opacity .8s; }
