/* RahejaExoticaPositano.com: "Lagoon". Ocean navy, turquoise and sea-glass, champagne-gold accents.
   Text always sits on solid colour, never directly on photography. */

@font-face { font-family: "Fraunces"; src: url(fonts/fraunces-latin.woff2) format("woff2"); font-weight: 400 700; font-display: swap; }
@font-face { font-family: "Manrope"; src: url(fonts/manrope-latin.woff2) format("woff2"); font-weight: 400 800; font-display: swap; }

:root {
  --abyss: #04263d;
  --navy: #073552;
  --deep: #08495f;
  --ocean: #0b6a80;
  --turq: #2fc8c0;
  --turq-hi: #5fdcd4;
  --aqua: #a9e7e2;
  --foam: #e9f7f5;
  --sand: #f8f5ef;
  --white: #fff;
  --ink: #0b2a3d;
  --muted: #42606f;
  --line: #cfe3e2;
  --gold: #d2b06a;
  --gold-ink: #85631e;
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --r: 22px;
  --wrap: 1200px;
  --bar: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--bar) + 12px); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--sand); color: var(--ink); font: 400 1.0625rem/1.65 var(--sans); overflow-x: clip; }
img { display: block; max-width: 100%; height: auto; }
picture { display: contents; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.08; margin: 0; letter-spacing: -0.01em; font-optical-sizing: auto; }
h1 em, h2 em { font-style: italic; font-weight: 500; }
p { margin: 0 0 1em; }
.wrap { width: min(var(--wrap), 100% - 2 * clamp(16px, 5vw, 80px)); margin-inline: auto; }
.wrap.narrow { --wrap: 860px; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--white); color: var(--ink); padding: 10px 16px; border-radius: 8px; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--turq); outline-offset: 3px; }

.sand { background: var(--sand); }
.foam { background: var(--foam); }
.deep { background: var(--deep); }
.water { color: var(--white); position: relative; isolation: isolate; }
.water:not(.deep) { background: linear-gradient(160deg, var(--abyss) 0%, var(--navy) 55%, var(--deep) 100%); }

/* Water-light shimmer: soft turquoise caustics drifting behind (never on top of) text */
.water::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: hidden;
  background:
    radial-gradient(40% 30% at 20% 30%, rgba(47, 200, 192, .16), transparent 70%),
    radial-gradient(35% 28% at 80% 70%, rgba(95, 220, 212, .12), transparent 70%),
    radial-gradient(30% 22% at 60% 15%, rgba(210, 176, 106, .07), transparent 70%);
  background-size: 140% 140%;
  animation: drift 22s ease-in-out infinite alternate;
  -webkit-mask: linear-gradient(transparent, #000 160px); mask: linear-gradient(transparent, #000 160px);
}
@keyframes drift { from { background-position: 0% 0%; } to { background-position: 100% 100%; } }

/* ── Type helpers ── */
.eyebrow { font: 700 .78rem/1.2 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--ocean); margin-bottom: 18px; display: flex; align-items: center; gap: 12px; }
.eyebrow::before { content: ""; width: 34px; height: 2px; background: currentColor; border-radius: 2px; }
.eyebrow.gold { color: var(--gold); }
h2 { font-size: clamp(2.1rem, 4.4vw, 3.6rem); margin-bottom: 20px; }
h2 em { color: var(--ocean); }
.water h2 em, .water h1 em { color: var(--turq-hi); }
.sub { font-size: clamp(1.5rem, 2.4vw, 2rem); margin: 64px 0 24px; }
.fine { font-size: .875rem; color: var(--muted); margin-top: 18px; }
.fine.light { color: #b9d3da; }
.head { max-width: 720px; margin-bottom: 44px; }
.head p:last-child { color: var(--muted); font-size: 1.125rem; }

/* ── Buttons ── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; padding: 0 26px; border-radius: 999px; font: 700 .975rem/1 var(--sans); text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: background .25s, color .25s, border-color .25s, transform .25s; }
.btn:hover { transform: translateY(-2px); }
.btn.turq { background: var(--turq); color: var(--abyss); }
.btn.turq:hover { background: var(--turq-hi); }
.btn.ghost { border-color: rgba(255, 255, 255, .7); color: var(--white); }
.btn.ghost:hover { background: var(--white); color: var(--abyss); }
.btn.navy { background: var(--abyss); color: var(--white); }
.btn.navy:hover { background: var(--ocean); }
.btn.sm { min-height: 42px; padding: 0 20px; font-size: .9rem; }
.btn.full { width: 100%; }

/* ── Header ── */
.bar { position: fixed; inset: 0 0 auto; z-index: 50; background: rgba(4, 38, 61, .96); color: var(--white); backdrop-filter: blur(10px); }
.bar-in { height: var(--bar); display: flex; align-items: center; gap: 28px; padding-inline: clamp(16px, 5vw, 80px); }
.mark { display: flex; align-items: center; gap: 12px; text-decoration: none; font: 500 1.6rem/1 var(--serif); }
.mark small { display: block; font: 700 .64rem/1 var(--sans); letter-spacing: .24em; text-transform: uppercase; color: var(--gold); margin-bottom: 5px; }
.mark-ico { width: 34px; height: 34px; fill: none; stroke: var(--turq); stroke-width: 2.4; stroke-linecap: round; }
.mark-ico .g { stroke: var(--gold); stroke-width: 2; }
.nav { display: flex; gap: 26px; margin-left: auto; }
.nav a { text-decoration: none; font-weight: 500; font-size: .95rem; color: #dbeef0; padding: 6px 0; border-bottom: 2px solid transparent; }
.nav a:hover, .nav a.on { color: var(--white); border-color: var(--turq); }
.bar-tel { text-decoration: none; font-weight: 700; font-size: .95rem; color: var(--white); }
.nav-btn { display: none; margin-left: auto; background: none; border: 2px solid rgba(255, 255, 255, .6); border-radius: 999px; padding: 8px 18px; font-weight: 700; cursor: pointer; }
.tide { height: 3px; background: rgba(255, 255, 255, .08); }
.tide i { display: block; height: 100%; width: 100%; transform-origin: left; transform: scaleX(var(--p, 0)); background: linear-gradient(90deg, var(--turq), var(--gold)); }
.drawer { display: grid; gap: 4px; padding: 12px 16px 24px; background: var(--abyss); }
.drawer[hidden] { display: none; }
.drawer a:not(.btn) { text-decoration: none; padding: 14px 4px; font: 500 1.35rem/1.2 var(--serif); border-bottom: 1px solid rgba(255, 255, 255, .1); }
.drawer .btn { margin-top: 16px; }
.drawer .drawer-tel { font: 700 1rem var(--sans) !important; text-align: center; border: 0 !important; }

/* ── Hero ── */
.hero { display: grid; grid-template-columns: minmax(0, 44fr) minmax(0, 56fr); min-height: max(640px, 100svh); padding-top: var(--bar); background: var(--abyss); }
.hero-panel { display: flex; flex-direction: column; justify-content: center; padding: 64px clamp(16px, 5vw, 80px); }
.hero-panel.water { background: linear-gradient(170deg, var(--abyss), var(--navy)); }
.hero h1 { font-size: clamp(2.7rem, 4.6vw, 4.6rem); margin-bottom: 24px; }
.hero h1 em { display: block; }
.lede { font-size: 1.15rem; color: #d8eaee; max-width: 34em; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin: 14px 0 44px; }
.hero-facts { display: grid; gap: 0; margin: 0; max-width: 460px; border-top: 1px solid rgba(255, 255, 255, .16); }
.hero-facts div { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 12px 0; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.hero-facts dt { font-size: .74rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.hero-facts dd { margin: 0; font-weight: 600; font-size: 1rem; text-align: right; }
.hero-photo { margin: 0; position: relative; overflow: hidden; }
.hero-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 74% 60%; animation: swell 26s ease-in-out infinite alternate; }
@keyframes swell { from { transform: scale(1.02); } to { transform: scale(1.08) translateX(1.5%); } }
.hero-photo figcaption, .glance-photo figcaption { position: absolute; right: 14px; bottom: 54px; background: rgba(4, 38, 61, .82); color: #e2f1f2; font-size: .75rem; padding: 6px 12px; border-radius: 999px; }

/* ── Wave divider: the site's signature. Two masked layers drift at different speeds. ── */
.wave { position: relative; height: 64px; margin-top: -1px; background: var(--from); overflow: hidden; }
.wave::before, .wave::after {
  content: ""; position: absolute; inset: 0; background: var(--to);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 60' preserveAspectRatio='none'%3E%3Cpath d='M0 30C100 10 200 10 300 30S500 50 600 30 800 10 900 30 1100 50 1200 30V60H0Z'/%3E%3C/svg%3E") 0 0 / 1200px 100% repeat-x;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 60' preserveAspectRatio='none'%3E%3Cpath d='M0 30C100 10 200 10 300 30S500 50 600 30 800 10 900 30 1100 50 1200 30V60H0Z'/%3E%3C/svg%3E") 0 0 / 1200px 100% repeat-x;
  animation: tide 18s linear infinite;
}
.wave::before { background: var(--turq); opacity: .5; top: -14px; animation-duration: 26s; animation-direction: reverse; }
@keyframes tide { to { -webkit-mask-position: 1200px 0; mask-position: 1200px 0; } }
.hero + .wave, .wave.over { margin-top: -48px; background: transparent; z-index: 2; }

/* ── Glance ── */
.glance { padding: 56px 0 96px; }
.glance-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.glance-copy > p:not(.eyebrow) { font-size: 1.125rem; color: var(--muted); }
.status-pill { display: inline-flex; align-items: center; gap: 10px; background: var(--white); border: 1px solid var(--line); border-radius: 999px; padding: 10px 18px; font-size: .95rem !important; color: var(--ink) !important; margin-top: 8px; }
.status-pill .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--turq); box-shadow: 0 0 0 0 rgba(47, 200, 192, .6); animation: ping 2.4s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 10px rgba(47, 200, 192, 0); } 100% { box-shadow: 0 0 0 0 rgba(47, 200, 192, 0); } }
.glance-photo { margin: 0; position: relative; border-radius: var(--r); overflow: hidden; box-shadow: 0 30px 60px -30px rgba(4, 38, 61, .45); }
.glance-photo figcaption { bottom: 14px; }
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin: 0; }
.facts div { background: var(--white); border-radius: 16px; padding: 22px 22px 18px; border-top: 4px solid var(--turq); box-shadow: 0 1px 0 var(--line); }
.facts dt { font-size: .74rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-ink); }
.facts dd { margin: 8px 0 6px; font: 500 1.3rem/1.2 var(--serif); }
.facts p { margin: 0; font-size: .9rem; color: var(--muted); }
.facts a { color: var(--ocean); font-weight: 700; }

/* ── Horizon band ── */
.horizon { padding: 0 0 88px; }
.horizon-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(24px, 3vw, 40px); align-items: center; }
.horizon-photo { margin: 0; border-radius: var(--r); overflow: hidden; box-shadow: 0 30px 60px -30px rgba(4, 38, 61, .45); }
.horizon-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: 50% 45%; }
.horizon-card { position: relative; z-index: 1; padding: 40px 40px 30px; border-radius: var(--r); background: linear-gradient(160deg, var(--abyss), var(--navy)); box-shadow: 0 30px 60px -20px rgba(4, 38, 61, .5); }
.horizon-text { color: #d8eaee; font-size: 1.05rem; margin: 18px 0 0; }
.quote { font: 500 clamp(1.8rem, 3vw, 2.6rem)/1.12 var(--serif); margin: 0; }

/* ── Residences ── */
.residences { padding: 64px 0 104px; }
.plans { background: var(--white); border-radius: calc(var(--r) + 6px); padding: clamp(16px, 3vw, 32px); box-shadow: 0 30px 70px -40px rgba(4, 38, 61, .35); }
.plan-tabs { display: inline-flex; flex-wrap: wrap; gap: 6px; padding: 6px; background: var(--foam); border-radius: 999px; margin-bottom: 26px; }
.plan-tabs button { border: 0; background: transparent; border-radius: 999px; padding: 12px 22px; cursor: pointer; display: flex; gap: 8px; align-items: baseline; color: var(--muted); transition: background .25s, color .25s; }
.plan-tabs button b { font-weight: 700; color: var(--ink); }
.plan-tabs button[aria-selected="true"] { background: var(--abyss); color: var(--aqua); }
.plan-tabs button[aria-selected="true"] b { color: var(--white); }
.plan { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: clamp(20px, 4vw, 48px); align-items: center; }
.plan[hidden] { display: none; }
.plan-img { position: relative; border: 1px solid var(--line); border-radius: 16px; background: var(--white); padding: 10px; cursor: zoom-in; }
.zoom { position: absolute; right: 16px; bottom: 16px; background: var(--abyss); color: var(--white); font-size: .82rem; font-weight: 700; padding: 8px 14px; border-radius: 999px; }
.plan-info h3 { font-size: clamp(2rem, 3vw, 2.6rem); margin-bottom: 14px; }
.plan-info h3 span { display: block; font: 700 .8rem/1.4 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--gold-ink); margin-top: 8px; }
.floors { display: inline-block; background: var(--foam); color: var(--deep); font-weight: 700; padding: 8px 14px; border-radius: 10px; }
.plan-info p:last-child { color: var(--muted); }
.compare { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; counter-reset: c; }
.compare li { counter-increment: c; background: var(--white); border-radius: 16px; padding: 22px; display: grid; gap: 6px; }
.compare li::before { content: counter(c); width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--turq); color: var(--abyss); font-weight: 800; margin-bottom: 8px; }
.compare b { font: 500 1.25rem/1.2 var(--serif); }
.compare span { font-size: .95rem; color: var(--muted); }

/* ── Gallery ── */
.life { padding: 64px 0 104px; }
.gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.g { position: relative; border: 0; padding: 0; background: var(--white); border-radius: 18px; overflow: hidden; cursor: zoom-in; display: flex; flex-direction: column; text-align: left; }
.g img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .9s cubic-bezier(.2, .7, .2, 1); }
.g:hover img { transform: scale(1.05); }
.g-cap { display: block; padding: 14px 18px 16px; font: 500 1.08rem/1.25 var(--serif); background: var(--white); position: relative; z-index: 1; }

/* ── Location ── */
.location { padding: 56px 0 96px; }
.loc-head { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(24px, 5vw, 72px); align-items: end; margin-bottom: clamp(28px, 4vw, 44px); }
.loc-head h2 { margin-bottom: 0; }
.location .loc-lede { color: #d8eaee; font-size: 1.1rem; margin: 0; padding-left: clamp(0px, 2vw, 28px); border-left: 2px solid rgba(95, 220, 212, .45); }
.map { position: relative; display: block; width: 100%; border: 1px solid rgba(95, 220, 212, .35); padding: 0; background: var(--abyss); border-radius: var(--r); overflow: hidden; cursor: zoom-in; text-align: left; box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .6); }
.map img { width: 100%; aspect-ratio: 5 / 2; object-fit: cover; transition: transform .8s cubic-bezier(.2, .7, .2, 1); }
.map:hover img, .map:focus-visible img { transform: scale(1.03); }
.map-zoom { position: absolute; top: 16px; right: 16px; display: inline-flex; align-items: center; gap: 8px; background: var(--white); color: var(--abyss); font-weight: 700; font-size: .9rem; padding: 9px 16px 9px 12px; border-radius: 999px; box-shadow: 0 8px 20px -8px rgba(0, 0, 0, .5); }
.map-zoom svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.map-cap { display: flex; justify-content: space-between; align-items: baseline; gap: 6px 20px; flex-wrap: wrap; padding: 16px 22px; background: var(--abyss); border-top: 1px solid rgba(95, 220, 212, .25); }
.map-cap b { font: 500 1.15rem/1.3 var(--serif); color: var(--white); }
.map-cap span { color: #b9d3da; font-size: .85rem; }
.routes { list-style: none; padding: 0; margin: clamp(20px, 3vw, 32px) 0 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.routes li { background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); border-radius: 18px; padding: 22px 22px 24px; }
.routes svg { width: 46px; height: 46px; padding: 11px; border-radius: 50%; background: rgba(47, 200, 192, .16); fill: none; stroke: var(--turq-hi); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 18px; }
.routes b { display: block; font: 500 1.25rem/1.2 var(--serif); color: var(--white); margin-bottom: 6px; }
.routes span { color: #c9e0e5; }
.loc-foot { display: flex; justify-content: space-between; align-items: center; gap: 16px 32px; margin-top: clamp(28px, 4vw, 40px); padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .14); }
.loc-foot .fine { margin: 0; max-width: 560px; }
.loc-foot .btn { flex-shrink: 0; }

/* ── Cost sheet ── */
.price { padding: 56px 0 104px; }
.sheet { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.sheet li { background: var(--white); border-radius: 18px; padding: 26px 26px 22px; border: 1px solid var(--line); transition: border-color .3s, transform .3s; }
.sheet li:hover { border-color: var(--turq); transform: translateY(-3px); }
.sheet .n { display: block; font: 600 1rem/1 var(--serif); color: var(--gold-ink); margin-bottom: 18px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.sheet b { display: block; font: 500 1.35rem/1.2 var(--serif); margin-bottom: 6px; }
.sheet p { margin: 0; color: var(--muted); font-size: .95rem; }
.allin { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 20px; align-items: center; justify-content: space-between; background: var(--foam); border: 1px solid var(--line); border-radius: 18px; padding: 22px 28px; }
.allin span { display: block; font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-ink); }
.allin b { font: 500 1.9rem/1.2 var(--serif); }

/* ── Visit ── */
.visit { padding: 56px 0 104px; }
.visit-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.visit-copy > p:not(.eyebrow) { color: #d8eaee; font-size: 1.125rem; }
.contact { list-style: none; padding: 0; margin: 32px 0 0; display: grid; gap: 12px; max-width: 380px; }
.contact a { display: flex; justify-content: space-between; align-items: center; gap: 16px; text-decoration: none; font-weight: 700; padding: 16px 20px; border-radius: 14px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .16); transition: background .25s; }
.contact a:hover { background: rgba(255, 255, 255, .14); }
.contact span { color: var(--gold); font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; }
.lead-form { background: var(--white); color: var(--ink); border-radius: calc(var(--r) + 4px); padding: clamp(24px, 3.5vw, 40px); display: grid; gap: 16px; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .5); }
.lead-form h3 { font-size: 1.8rem; margin-bottom: 4px; }
.lead-form label { display: grid; gap: 6px; align-content: start; font-weight: 600; font-size: .95rem; }
.lead-form small { font-weight: 400; color: var(--muted); }
.lead-form input:not([type=radio]), .lead-form select { font: 400 1rem var(--sans); color: var(--ink); min-height: 50px; padding: 0 16px; border: 1.5px solid #b9cfd2; border-radius: 12px; background: var(--white); width: 100%; }
.lead-form input:focus, .lead-form select:focus { border-color: var(--ocean); outline: 3px solid rgba(47, 200, 192, .35); outline-offset: 0; }
.lead-form input[aria-invalid="true"] { border-color: #c0392b; }
.lead-form fieldset { border: 0; padding: 0; margin: 0; }
.lead-form legend { font-weight: 600; font-size: .95rem; margin-bottom: 8px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips label { display: block; }
.chips input { position: absolute; opacity: 0; pointer-events: none; }
.chips span { display: inline-block; padding: 10px 16px; border-radius: 999px; border: 1.5px solid #b9cfd2; font-weight: 600; font-size: .92rem; cursor: pointer; transition: all .2s; }
.chips input:checked + span { background: var(--abyss); border-color: var(--abyss); color: var(--white); }
.chips input:focus-visible + span { outline: 3px solid var(--turq); outline-offset: 2px; }
.visit-time[hidden] { display: none; }
.hp { position: absolute; left: -9999px; }
.note { margin: 0; font-weight: 600; font-size: .95rem; }
.note:empty { display: none; }
.note.ok { color: #0b6a52; }
.note.warn { color: #b03a2e; }
.lead-form .fine { margin: 0; }

/* ── FAQ ── */
.faq-sec { padding: 96px 0 88px; }
.faq-sec h2 { text-align: center; margin-bottom: 40px; }
.faq { display: grid; gap: 12px; }
.faq details { background: var(--white); border-radius: 16px; border: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 60px 20px 24px; font: 500 1.2rem/1.35 var(--serif); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 20px; top: 50%; translate: 0 -50%; width: 30px; height: 30px; border-radius: 50%; background: var(--foam); color: var(--deep); display: grid; place-items: center; font: 600 1.2rem/1 var(--sans); transition: rotate .3s; }
.faq details[open] summary::after { rotate: 45deg; background: var(--turq); color: var(--abyss); }
.faq details p { padding: 0 24px 22px; margin: 0; color: var(--muted); }

/* ── Footer ── */
.foot { padding: 40px 0 120px; }
.foot-top { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 32px; padding-bottom: 28px; border-bottom: 1px solid rgba(255, 255, 255, .14); }
.foot-top .mark { margin-right: auto; }
.foot-top > a:not(.mark) { color: #d8eaee; font-weight: 600; text-decoration: none; }
.foot-top > a:not(.mark):hover { color: var(--turq-hi); }
.legal { font-size: .85rem; color: #b9d3da; margin-top: 24px; max-width: 980px; }

/* ── Floating WhatsApp ── */
.float-wa { position: fixed; right: 18px; bottom: 18px; z-index: 40; display: flex; align-items: center; gap: 8px; background: var(--turq); color: var(--abyss); text-decoration: none; font-weight: 800; padding: 12px 20px 12px 14px; border-radius: 999px; box-shadow: 0 14px 30px -10px rgba(4, 38, 61, .6); opacity: 0; translate: 0 20px; pointer-events: none; transition: opacity .3s, translate .3s; }
.float-wa.show { opacity: 1; translate: 0 0; pointer-events: auto; }
.float-wa svg { width: 24px; height: 24px; fill: currentColor; }

/* ── Viewer ── */
.viewer { width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: var(--abyss); color: var(--white); overscroll-behavior: contain; }
.viewer[open] { display: grid; grid-template-rows: 1fr auto; }
.viewer::backdrop { background: var(--abyss); }
.viewer form { display: contents; }
.v-stage { grid-row: 1; display: grid; place-items: center; padding: 64px 72px 8px; min-height: 0; }
.v-stage img { max-width: 100%; max-height: calc(100dvh - 140px); object-fit: contain; border-radius: 10px; opacity: 0; transition: opacity .3s; background: var(--white); }
.v-stage img.in { opacity: 1; }
.v-cap { grid-row: 2; display: flex; flex-wrap: wrap; gap: 6px 16px; justify-content: center; align-items: baseline; padding: 12px 16px 22px; margin: 0; }
.v-cap b { font: 500 1.2rem var(--serif); }
.v-cap span { color: #b9d3da; font-size: .85rem; }
.v-count { font-style: normal; color: var(--aqua); font-weight: 700; font-size: .9rem; }
.v-close, .v-nav { position: absolute; z-index: 2; width: 50px; height: 50px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .12); color: var(--white); font-size: 1.8rem; line-height: 1; cursor: pointer; }
.v-close:hover, .v-nav:hover { background: var(--turq); color: var(--abyss); }
.v-close { top: 14px; right: 14px; }
.v-nav { top: 50%; translate: 0 -50%; }
.v-nav[hidden] { display: none; }
.prev { left: 14px; }
.next { right: 14px; }

/* ── Reveal ── */
.js [data-reveal] { opacity: 0; translate: 0 28px; transition: opacity .8s ease, translate .8s cubic-bezier(.2, .7, .2, 1); transition-delay: var(--d, 0s); }
.js [data-reveal].in { opacity: 1; translate: 0 0; }

/* ── Responsive ── */
@media (max-width: 1100px) {
  .nav { display: none; }
  .nav-btn { display: inline-block; }
  .bar-tel { display: none; }
  .bar-in > .btn { margin-left: auto; }
  .bar-in > .btn + .nav-btn { margin-left: 0; }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .compare { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 899px) {
  :root { --bar: 64px; }
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero-photo { order: -1; aspect-ratio: 4 / 3; }
  .hero-photo figcaption { bottom: 12px; }
  .hero-panel { padding: 36px clamp(16px, 5vw, 80px) 80px; }
  .glance-grid, .loc-head, .visit-grid, .plan { grid-template-columns: 1fr; }
  .loc-head { align-items: start; }
  .routes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .glance-photo { order: -1; }
  .sheet { grid-template-columns: 1fr 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; gap: 12px; }
  .horizon-grid { grid-template-columns: 1fr; }
  .horizon-card { padding: 30px 26px 22px; }
  .wave { height: 44px; }
  .hero + .wave { margin-top: -34px; }
}
@media (max-width: 600px) {
  .hero-photo figcaption, .glance-photo figcaption { right: 8px; bottom: 8px; font-size: .7rem; padding: 4px 10px; }
  body { font-size: 1rem; }
  .bar-in { gap: 10px; }
  .mark { font-size: 1.35rem; }
  .mark-ico { width: 28px; height: 28px; }
  .bar-in > .btn { display: none; }
  .nav-btn { margin-left: auto !important; }
  .facts, .compare, .sheet { grid-template-columns: 1fr; }
  .g-cap { padding: 10px 12px 12px; font-size: .95rem; }
  .plan-tabs { display: flex; flex-wrap: nowrap; width: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .plan-tabs::-webkit-scrollbar { display: none; }
  .plan-tabs button { flex: none; white-space: nowrap; scroll-snap-align: start; padding: 10px 14px; }
  .routes { grid-template-columns: 1fr; gap: 10px; }
  .routes li { display: grid; grid-template-columns: 46px 1fr; column-gap: 16px; align-items: center; padding: 16px 18px; }
  .routes svg { grid-row: span 2; margin: 0; }
  .routes b { margin-bottom: 2px; font-size: 1.15rem; }
  .map img { aspect-ratio: 16 / 10; object-position: 55% 50%; }
  .map-zoom { top: 10px; right: 10px; padding: 7px 12px 7px 10px; font-size: .82rem; }
  .map-cap { padding: 12px 16px; }
  .loc-foot { flex-direction: column; align-items: flex-start; }
  .allin { padding: 20px; }
  .allin .btn { width: 100%; }
  .v-stage { padding: 64px 8px 8px; }
  .v-stage img { max-height: calc(100dvh - 190px); }
  .v-nav { top: auto; bottom: 18px; translate: none; width: 46px; height: 46px; font-size: 1.6rem; }
  .v-cap { flex-direction: column; align-items: center; text-align: center; gap: 4px; padding: 14px 58px 20px; min-height: 82px; justify-content: center; }
  .v-cap b { font-size: 1.05rem; line-height: 1.25; }
  .v-cap span { font-size: .76rem; }
  .float-wa span { display: none; }
  .float-wa { padding: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}
