/* ==========================================================
   Creative Monk × Goa Hospitality — landing page
   Visual-first: full-bleed photography, glass UI, clay accents.
   ========================================================== */

:root {
  --cream: #F7F1E7;
  --paper: #FCFAF6;
  --sand: #EADFCC;
  --ink: #0F1B2D;
  --ink-deep: #0A1320;
  --ink-2: #33415A;
  --ink-3: #6B7487;
  --sea: #0D3A40;
  --clay: #E35D2B;
  --clay-dk: #C44A1D;
  --sun: #F2B44B;
  --line: rgba(15, 27, 45, .12);
  --line-light: rgba(247, 241, 231, .18);

  --f-display: "Fraunces", Georgia, "Times New Roman", serif;
  --f-body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;

  --r: 18px;
  --r-lg: 28px;
  --shell: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --sec: clamp(72px, 10vw, 128px);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0; font-family: var(--f-body); font-size: 17px; line-height: 1.6;
  color: var(--ink); background: var(--cream);
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { margin: 0; text-wrap: balance; }
p, li, summary { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; }
:focus-visible { outline: 2px solid var(--clay); outline-offset: 3px; border-radius: 4px; }

.shell { width: 100%; max-width: var(--shell); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--sec) 0; position: relative; }

/* ---------- Type ---------- */
.display {
  font-family: var(--f-display); font-weight: 400; font-variation-settings: "opsz" 144;
  font-size: clamp(2.6rem, 6.4vw, 5.6rem); line-height: 1.02; letter-spacing: -.025em;
}
.display em, .h2 em { font-style: italic; font-weight: 400; }
.display--light, .h2--light { color: var(--cream); }
.h2 {
  font-family: var(--f-display); font-weight: 400; font-variation-settings: "opsz" 144;
  font-size: clamp(2rem, 4.4vw, 3.5rem); line-height: 1.06; letter-spacing: -.02em;
}
.clay { color: var(--clay); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 22px;
  font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--clay);
}
.eyebrow--light { color: var(--sun); }
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--clay); box-shadow: 0 0 0 5px rgba(227, 93, 43, .25); animation: dot 2s infinite; }
@keyframes dot { 50% { box-shadow: 0 0 0 9px rgba(227, 93, 43, 0); } }
.lede { font-size: clamp(1.05rem, 1.4vw, 1.2rem); color: var(--ink-2); max-width: 33em; margin-top: 24px; }
.lede--light { color: rgba(247, 241, 231, .86); }

.section__head { max-width: 760px; margin-bottom: clamp(40px, 6vw, 64px); }
.section__head--split { max-width: none; display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; align-items: end; }
.section__note { color: var(--ink-2); max-width: 30em; }
.section__note--light { color: rgba(247, 241, 231, .78); }

/* ---------- Buttons ---------- */
.btn {
  --bg: transparent; --fg: var(--ink); --bd: transparent;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 24px; border-radius: 999px; border: 1.5px solid var(--bd);
  background: var(--bg); color: var(--fg); font: 700 .95rem/1 var(--f-body);
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .25s var(--ease), background .25s, color .25s, border-color .25s, box-shadow .25s;
}
.btn:hover { transform: translateY(-2px); }
.btn--sm { padding: 10px 18px; font-size: .85rem; }
.btn--lg { padding: 18px 30px; font-size: 1rem; }
.btn--block { width: 100%; }
.btn--clay { --bg: var(--clay); --fg: #fff; box-shadow: 0 10px 24px -10px rgba(227, 93, 43, .7); }
.btn--clay:hover { --bg: var(--clay-dk); }
.btn--line { --bd: var(--ink); }
.btn--line:hover { --bg: var(--ink); --fg: var(--cream); }
.btn--glass {
  --bg: rgba(255, 255, 255, .12); --fg: var(--cream); --bd: rgba(255, 255, 255, .35);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.btn--glass:hover { --bg: rgba(255, 255, 255, .22); }
.btn--shine { position: relative; overflow: hidden; isolation: isolate; }
.btn--shine::after {
  content: ""; position: absolute; top: -20%; bottom: -20%; left: -60%; width: 40%; z-index: -1;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .45), transparent);
  transform: skewX(-20deg); animation: shine 4.5s ease-in-out infinite;
}
@keyframes shine { 0%, 65% { left: -60%; } 100% { left: 130%; } }

/* ---------- Progress ---------- */
.progress { position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 70; pointer-events: none; }
.progress span { display: block; height: 100%; background: linear-gradient(90deg, var(--sun), var(--clay)); transform-origin: 0 50%; transform: scaleX(0); }

/* ---------- Nav (transparent over hero, cream once scrolled) ---------- */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 50; transition: background .35s, box-shadow .35s; }
.nav.is-solid { background: rgba(10, 19, 32, .94); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 1px 0 rgba(255, 255, 255, .06); }
.nav.is-scrolled { background: rgba(247, 241, 231, .9); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--line); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 76px; }
.nav__brand { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.logo { height: 34px; width: auto; }
.logo--on-light { display: none; }
.nav.is-scrolled .logo--on-dark { display: none; }
.nav.is-scrolled .logo--on-light { display: block; }
.nav__tag {
  font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; white-space: nowrap;
  color: var(--cream); padding: 6px 10px; border: 1px solid rgba(255, 255, 255, .3); border-radius: 999px;
}
.nav.is-scrolled .nav__tag { color: var(--sea); border-color: var(--line); }
.nav__links { display: flex; gap: 28px; font-size: .92rem; font-weight: 600; white-space: nowrap; }
.nav__links a { text-decoration: none; color: rgba(247, 241, 231, .85); transition: color .2s; }
.nav.is-scrolled .nav__links a { color: var(--ink-2); }
.nav__links a:hover, .nav.is-scrolled .nav__links a:hover { color: var(--clay); }
.nav__cta { display: flex; gap: 8px; }
.nav.is-scrolled .nav__wa { --fg: var(--ink); --bd: var(--line); --bg: transparent; }

/* ---------- Reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.is-in, .no-io .reveal { opacity: 1; transform: none; }
.is-swapping { animation: swapIn .55s var(--ease); }
@keyframes swapIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.swap { display: inline-block; }
.bump { animation: bump .35s var(--ease); }
@keyframes bump { 50% { transform: scale(1.05); } }

/* ==========================================================
   HERO — full-bleed photo, swaps with persona
   ========================================================== */
.hero {
  position: relative; overflow: hidden; color: var(--cream); background: var(--ink-deep);
  min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end;
  padding: 130px 0 clamp(70px, 9vw, 110px);
}
.hero__bg { position: absolute; inset: 0; overflow: hidden; }
.hero__layer {
  position: absolute; inset: 0; background-size: cover; background-position: center;
  opacity: 0; transform: scale(1.1); transition: opacity 1.2s var(--ease);
}
.hero__layer.is-active { opacity: 1; animation: kenburns 22s ease-out forwards; }
@keyframes kenburns { from { transform: scale(1.12); } to { transform: scale(1); } }
.hero__layer--default { background-image: url("images/og-image.jpg"); }
.hero__shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(10, 19, 32, .9) 0%, rgba(10, 19, 32, .62) 42%, rgba(10, 19, 32, .12) 78%),
    linear-gradient(0deg, rgba(10, 19, 32, .75) 0%, transparent 45%),
    linear-gradient(180deg, rgba(10, 19, 32, .55) 0%, transparent 22%);
}
.hero h1, .hero .lede { text-shadow: 0 2px 24px rgba(0, 0, 0, .35); }
.hero__inner { position: relative; display: grid; grid-template-columns: 1.25fr .75fr; gap: 40px; align-items: end; }
.hero__inner > * { min-width: 0; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero__actions--center { justify-content: center; }

.persona { margin-top: 30px; }
.persona__label { font-size: .78rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--sun); margin-bottom: 12px; }
.persona__label span { text-transform: none; letter-spacing: 0; font-weight: 500; color: rgba(247, 241, 231, .6); margin-left: 6px; }
.persona__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.pchip {
  font: 600 .9rem/1 var(--f-body); color: var(--cream); cursor: pointer;
  padding: 11px 17px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .3);
  background: rgba(255, 255, 255, .1); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  transition: background .25s, color .25s, border-color .25s, transform .25s var(--ease);
}
.pchip:hover { background: rgba(255, 255, 255, .2); transform: translateY(-2px); }
.pchip[aria-pressed="true"] { background: var(--cream); border-color: var(--cream); color: var(--ink); }

.hero__float { position: relative; height: 340px; }
.gcard {
  position: absolute; display: flex; align-items: center; gap: 12px;
  padding: 12px 18px 12px 12px; border-radius: 16px; color: var(--ink);
  background: rgba(252, 250, 246, .92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 24px 50px -20px rgba(0, 0, 0, .55); font-size: .85rem; line-height: 1.25;
  transition: opacity .45s var(--ease), transform .45s var(--ease);
}
.gcard strong { display: block; font-weight: 800; }
.gcard small { color: var(--ink-3); font-size: .78rem; }
.gcard__icon { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; background: #F1E4E1; color: #C8546B; font-size: 1.05rem; flex: none; }
.gcard__icon--clay { background: var(--clay); color: #fff; }
.gcard--likes { top: 8%; left: 6%; opacity: .8; animation: bob 6s ease-in-out infinite; }
.gcard--tick { bottom: 10%; right: 0; }
.gcard--tick::before {
  content: ""; position: absolute; top: -5px; right: -5px; width: 12px; height: 12px; border-radius: 50%;
  background: #2FBF71; animation: ping 1.8s infinite;
}
.gcard--tick.is-out { opacity: 0; transform: translateY(16px) scale(.96); }
@keyframes bob { 50% { transform: translateY(-10px); } }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(47, 191, 113, .6); } 70%, 100% { box-shadow: 0 0 0 10px rgba(47, 191, 113, 0); } }

.hero__scroll {
  position: absolute; left: 50%; bottom: 24px; margin-left: -13px; width: 26px; height: 42px;
  border: 2px solid rgba(255, 255, 255, .5); border-radius: 14px;
}
.hero__scroll span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--cream); animation: scrollDot 1.8s infinite; }
@keyframes scrollDot { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* ==========================================================
   PHOTO REEL
   ========================================================== */
.reel { background: var(--ink-deep); padding: 34px 0 40px; overflow: hidden; }
.reel__track { display: flex; gap: 18px; width: max-content; animation: reel 70s linear infinite; }
.reel:hover .reel__track { animation-play-state: paused; }
@keyframes reel { to { transform: translateX(-50%); } }
.reel__item {
  position: relative; margin: 0; height: 300px; aspect-ratio: 3 / 4; flex: none;
  border-radius: 20px; overflow: hidden; transform: rotate(-1.4deg);
  box-shadow: 0 24px 40px -24px rgba(0, 0, 0, .8);
  transition: transform .5s var(--ease);
}
.reel__item:nth-child(even) { transform: rotate(1.4deg) translateY(10px); }
.reel__item--wide { aspect-ratio: 4 / 3; }
.reel__item:hover { transform: rotate(0) scale(1.03); }
.reel__item img { width: 100%; height: 100%; object-fit: cover; }
.reel__item figcaption {
  position: absolute; left: 12px; bottom: 12px; padding: 7px 12px; border-radius: 999px;
  background: rgba(10, 19, 32, .55); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  color: var(--cream); font-size: .78rem; font-weight: 700;
}

/* ==========================================================
   LIKES vs BOOKINGS
   ========================================================== */
.likes { background: var(--paper); overflow: hidden; }
.likes__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 7vw, 100px); align-items: center; }
.likes__grid > * { min-width: 0; }
.likes__stage { display: flex; flex-direction: column; align-items: center; position: relative; }
.likes__stage::before {
  content: ""; position: absolute; width: 420px; height: 420px; top: 40px; border-radius: 50%;
  background: radial-gradient(circle, rgba(242, 180, 75, .35), transparent 65%); z-index: 0;
}
.phone {
  position: relative; z-index: 1; width: 300px; max-width: 100%; padding: 36px 0 16px;
  border-radius: 42px; background: #fff; border: 10px solid #111;
  box-shadow: 0 50px 90px -40px rgba(15, 27, 45, .65); overflow: hidden;
}
.phone__notch { position: absolute; top: 8px; left: 50%; width: 90px; height: 20px; margin-left: -45px; border-radius: 12px; background: #111; }
.phone__top { display: flex; align-items: center; gap: 10px; padding: 0 14px 10px; line-height: 1.2; }
.phone__top strong { display: block; font-size: .82rem; }
.phone__top small { font-size: .7rem; color: var(--ink-3); }
.phone__avatar { width: 32px; height: 32px; border-radius: 50%; flex: none; padding: 2px; background: conic-gradient(var(--sun), var(--clay), #C8546B, var(--sun)); }
.phone__avatar::after { content: ""; display: block; width: 100%; height: 100%; border-radius: 50%; border: 2px solid #fff; background: var(--sea); }
.phone__dots { margin-left: auto; color: var(--ink-3); letter-spacing: 1px; }
.phone__post { position: relative; aspect-ratio: 4 / 5; overflow: hidden; }
.phone__post img { width: 100%; height: 100%; object-fit: cover; }
.phone__heart {
  position: absolute; top: 50%; left: 50%; font-size: 5rem; color: #fff; line-height: 1;
  transform: translate(-50%, -50%) scale(0); text-shadow: 0 6px 24px rgba(0, 0, 0, .35); pointer-events: none;
}
.phone__heart.pop { animation: heartPop .9s var(--ease); }
@keyframes heartPop { 0% { transform: translate(-50%, -50%) scale(0); opacity: 1; } 40% { transform: translate(-50%, -50%) scale(1.1); } 70% { transform: translate(-50%, -50%) scale(.95); opacity: 1; } 100% { transform: translate(-50%, -50%) scale(1); opacity: 0; } }
.phone__actions { display: flex; gap: 14px; padding: 10px 14px 2px; font-size: 1.15rem; color: var(--ink); }
.phone__actions span:first-child { color: #E0245E; }
.phone__likes { padding: 0 14px; font-size: .82rem; }
.phone__meter {
  display: flex; align-items: center; justify-content: space-between; margin: 12px 14px 0; padding: 10px 14px;
  border-radius: 14px; background: #F3EEE6; font-size: .8rem; font-weight: 700; color: var(--ink-2);
  transition: background .4s, color .4s;
}
.phone__meter strong { font-family: var(--f-display); font-size: 1.6rem; line-height: 1; color: var(--ink); transition: color .4s; }
.phone[data-mode="on"] .phone__meter { background: var(--clay); color: #fff; }
.phone[data-mode="on"] .phone__meter strong { color: #fff; }
.phone__toasts { position: absolute; left: 10px; right: 10px; top: 76px; display: flex; flex-direction: column; gap: 8px; pointer-events: none; }
.toast {
  display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 14px;
  background: rgba(252, 250, 246, .95); box-shadow: 0 14px 30px -14px rgba(0, 0, 0, .55);
  font-size: .76rem; line-height: 1.25; animation: toastIn .5s var(--ease);
}
.toast b { display: block; font-size: .8rem; }
.toast small { color: var(--ink-3); }
.toast i { font-style: normal; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 9px; background: var(--clay); color: #fff; flex: none; }
.toast.is-leaving { opacity: 0; transform: translateY(-8px); transition: all .4s; }
@keyframes toastIn { from { opacity: 0; transform: translateY(-14px) scale(.95); } to { opacity: 1; transform: none; } }

.switch { position: relative; z-index: 1; display: flex; align-items: center; gap: 12px; margin-top: 28px; }
.switch__label { font-size: .9rem; font-weight: 700; color: var(--ink-3); transition: color .3s; white-space: nowrap; }
.switch__label.is-on { color: var(--ink); }
.switch__label[data-side="on"].is-on { color: var(--clay); }
.switch__btn { position: relative; width: 66px; height: 36px; border-radius: 99px; border: 0; cursor: pointer; background: #D8D2C8; transition: background .3s; flex: none; }
.switch__btn span { position: absolute; top: 4px; left: 4px; width: 28px; height: 28px; border-radius: 50%; background: #fff; box-shadow: 0 3px 8px rgba(0, 0, 0, .25); transition: transform .35s var(--ease); }
.switch__btn[aria-checked="true"] { background: var(--clay); }
.switch__btn[aria-checked="true"] span { transform: translateX(30px); }
.likes__caption { position: relative; z-index: 1; margin-top: 10px; font-size: .75rem; color: var(--ink-3); }

.pains { margin-top: 30px; border-top: 1px solid var(--line); }
.pains li { display: flex; gap: 18px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.pains__icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--cream); border: 1px solid var(--line); flex: none; }
.pains__icon svg { width: 24px; height: 24px; fill: none; stroke: var(--clay); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.pains h3 { font-size: 1.08rem; font-weight: 800; margin-bottom: 4px; }
.pains p { color: var(--ink-2); font-size: .95rem; }

/* ==========================================================
   WHO — expanding photo panels
   ========================================================== */
.who { background: var(--cream); }
.panels { display: flex; gap: 12px; height: 560px; }
.panel {
  position: relative; flex: 1; min-width: 0; border-radius: 24px; overflow: hidden;
  color: var(--cream); text-decoration: none; cursor: pointer;
  transition: flex .75s var(--ease), height .6s var(--ease);
  box-shadow: 0 30px 60px -40px rgba(15, 27, 45, .6);
}
.panel img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); transition: transform 1.2s var(--ease); }
.panel::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(10, 19, 32, .88) 0%, rgba(10, 19, 32, .25) 50%, rgba(10, 19, 32, .15) 100%);
  transition: background .6s;
}
.panel.is-open { flex: 4.2; }
.panel.is-open img { transform: scale(1); }
.panel__tab {
  position: absolute; left: 50%; bottom: 26px; z-index: 2; white-space: nowrap;
  writing-mode: vertical-rl; transform: translateX(-50%) rotate(180deg);
  font-family: var(--f-display); font-size: 1.3rem; transition: opacity .3s;
}
.panel.is-open .panel__tab { opacity: 0; }
.panel__body {
  position: absolute; left: 30px; bottom: 30px; z-index: 2; width: min(420px, calc(100% - 60px)); min-width: 300px;
  opacity: 0; transform: translateY(24px); transition: opacity .4s, transform .5s var(--ease);
  pointer-events: none;
}
.panel.is-open .panel__body { opacity: 1; transform: none; transition-delay: .25s; pointer-events: auto; }
.panel__goal {
  display: inline-block; padding: 6px 12px; border-radius: 999px; margin-bottom: 14px;
  background: rgba(242, 180, 75, .2); border: 1px solid rgba(242, 180, 75, .45); color: var(--sun);
  font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase;
}
.panel h3 { font-family: var(--f-display); font-weight: 400; font-size: clamp(1.7rem, 2.6vw, 2.3rem); line-height: 1.08; margin-bottom: 10px; }
.panel p { color: rgba(247, 241, 231, .85); font-size: .98rem; }
.panel__cta {
  display: inline-flex; margin-top: 18px; padding: 11px 18px; border-radius: 999px;
  background: var(--clay); color: #fff; font-weight: 700; font-size: .88rem;
  transition: background .25s;
}
.panel:hover .panel__cta { background: var(--clay-dk); }

/* ==========================================================
   BEFORE / AFTER
   ========================================================== */
.split-sec { background: var(--ink); color: var(--cream); overflow: hidden; }
.split-sec__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.split-sec__grid > * { min-width: 0; }
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 30px; margin-top: 36px; }
.ticks li { position: relative; padding-left: 32px; margin: 10px 0; }
.ticks li::before {
  content: "✓"; position: absolute; left: 0; top: 2px; width: 20px; height: 20px; border-radius: 50%;
  display: grid; place-items: center; font-size: .7rem; font-weight: 800; background: var(--clay); color: #fff;
}
.ticks--x li { color: rgba(247, 241, 231, .55); }
.ticks--x li::before { content: "✕"; background: rgba(247, 241, 231, .14); color: rgba(247, 241, 231, .7); }
.ticks--light li { color: var(--cream); }

.ba {
  position: relative; aspect-ratio: 1 / 1; width: 100%; max-width: 560px; margin: 0 auto;
  border-radius: var(--r-lg); overflow: hidden; user-select: none; -webkit-user-select: none;
  box-shadow: 0 50px 90px -50px rgba(0, 0, 0, .9); background: #1B2840;
  cursor: ew-resize; touch-action: pan-y; -webkit-tap-highlight-color: transparent;
}
.ba__layer { position: absolute; inset: 0; isolation: isolate; }
.ba__layer img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; -webkit-user-drag: none; }
.ba__after { z-index: 1; }
.ba__before { z-index: 2; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ba__tag {
  position: absolute; top: 16px; left: 16px; z-index: 3; padding: 8px 14px; border-radius: 999px;
  font-size: .72rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase;
  background: rgba(15, 27, 45, .75); color: rgba(247, 241, 231, .9);
}
.ba__tag--after { left: auto; right: 16px; background: var(--clay); color: #fff; }
.ba__handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px; z-index: 4; background: var(--cream); pointer-events: none; }
.ba__handle span {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center;
  background: var(--cream); color: var(--ink); font-weight: 800; letter-spacing: 2px; box-shadow: 0 10px 30px -6px rgba(0, 0, 0, .5);
}
/* the range stays for keyboard users; pointer dragging is handled on .ba itself */
input[type="range"].ba__range { position: absolute; inset: 0; z-index: 5; width: 100%; height: 100%; margin: 0; opacity: 0; pointer-events: none; background: none; }
.ba:focus-within .ba__handle span { outline: 2px solid var(--clay); outline-offset: 3px; }
.ba__hint { text-align: center; margin-top: 16px; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: rgba(247, 241, 231, .5); }

/* ==========================================================
   SERVICES — image switcher
   ========================================================== */
.services { background: var(--cream); }
.sw { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 80px); align-items: start; }
.sw > * { min-width: 0; }
.sw__stage {
  position: sticky; top: 100px; aspect-ratio: 4 / 5; border-radius: var(--r-lg); overflow: hidden;
  background: var(--sand); box-shadow: 0 50px 90px -50px rgba(15, 27, 45, .6);
}
.sw__shot { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity .8s var(--ease); }
.sw__shot.is-active { opacity: 1; z-index: 1; }
.sw__shot img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 6s ease-out; }
.sw__shot.is-active img { transform: scale(1); }
.ui {
  position: absolute; z-index: 2; left: 20px; bottom: 20px; color: var(--ink);
  background: rgba(252, 250, 246, .94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-radius: 16px; box-shadow: 0 20px 40px -18px rgba(0, 0, 0, .6); font-size: .85rem; font-weight: 700;
  opacity: 0; transform: translateY(14px); transition: opacity .5s .35s, transform .6s .35s var(--ease);
}
.sw__shot.is-active .ui { opacity: 1; transform: none; }
.ui--post { display: flex; align-items: center; gap: 10px; padding: 12px 16px; }
.ui__dot { width: 9px; height: 9px; border-radius: 50%; background: #2FBF71; }
.ui--rec { top: 20px; bottom: auto; display: flex; align-items: center; gap: 8px; padding: 9px 14px; background: rgba(10, 19, 32, .7); color: #fff; letter-spacing: .12em; font-size: .75rem; }
.ui__rec { width: 10px; height: 10px; border-radius: 50%; background: #FF3B30; animation: blink 1.2s infinite; }
@keyframes blink { 50% { opacity: .2; } }
.ui--ad { width: min(280px, calc(100% - 40px)); padding: 14px 16px; }
.ui--ad small { display: block; font-size: .7rem; color: var(--ink-3); font-weight: 600; }
.ui--ad strong { display: block; font-family: var(--f-display); font-weight: 500; font-size: 1.15rem; margin: 4px 0 12px; line-height: 1.2; }
.ui__btn { display: inline-flex; padding: 9px 14px; border-radius: 10px; background: var(--clay); color: #fff; font-size: .8rem; }
.ui--brand { display: flex; flex-wrap: wrap; gap: 6px; padding: 10px; right: 20px; }
.ui--brand span { padding: 7px 12px; border-radius: 999px; background: var(--cream); border: 1px solid var(--line); font-size: .78rem; }
.ui--book { display: flex; align-items: center; gap: 12px; padding: 12px; right: 20px; }
.ui--book div { flex: 1; padding: 6px 10px; border-radius: 10px; background: var(--cream); line-height: 1.2; }
.ui--book small { display: block; font-size: .66rem; color: var(--ink-3); font-weight: 600; }
.ui--maps { display: flex; gap: 6px; padding: 10px; }
.ui--maps span { padding: 8px 12px; border-radius: 999px; background: var(--cream); font-size: .78rem; white-space: nowrap; }

.sw__list { border-top: 1px solid var(--line); }
.sw__item {
  position: relative; display: flex; gap: 18px; width: 100%; padding: 22px 4px; text-align: left;
  border: 0; border-bottom: 1px solid var(--line); background: none; cursor: pointer; color: var(--ink);
}
.sw__n { font-family: var(--f-display); font-style: italic; font-size: 1.3rem; color: var(--clay); line-height: 1.3; flex: none; width: 34px; }
.sw__t strong { display: block; font-family: var(--f-display); font-weight: 500; font-size: clamp(1.25rem, 1.9vw, 1.6rem); line-height: 1.2; opacity: .5; transition: opacity .3s; }
.sw__t small { display: block; max-height: 0; overflow: hidden; opacity: 0; font-size: .95rem; color: var(--ink-2); transition: max-height .5s var(--ease), opacity .4s, margin .4s; }
.sw__item:hover .sw__t strong, .sw__item.is-active .sw__t strong { opacity: 1; }
.sw__item.is-active .sw__t small { max-height: 120px; opacity: 1; margin-top: 8px; }
.sw__bar { position: absolute; left: 0; bottom: -1px; height: 2px; width: 0; background: var(--clay); }
.sw__item.is-active .sw__bar { width: 100%; }
.sw.is-auto .sw__item.is-active .sw__bar { animation: swbar 5s linear; }
@keyframes swbar { from { width: 0; } to { width: 100%; } }

/* ==========================================================
   CALCULATOR
   ========================================================== */
.calc { background: var(--ink); color: var(--cream); overflow: hidden; }
.calc__bg { position: absolute; inset: 0; background: url("images/final-dinner.jpg") center / cover; opacity: .16; }
.calc__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, var(--ink) 0%, transparent 30%, transparent 70%, var(--ink) 100%); }
.calc .shell { position: relative; }
.calc__card {
  background: var(--paper); color: var(--ink); border-radius: var(--r-lg);
  padding: clamp(16px, 3vw, 34px); box-shadow: 0 50px 90px -50px rgba(0, 0, 0, .8);
}
.tabs { display: inline-flex; gap: 4px; padding: 5px; border-radius: 999px; background: var(--cream); border: 1px solid var(--line); margin-bottom: 28px; max-width: 100%; }
.tab { font: 700 .88rem/1.2 var(--f-body); color: var(--ink-2); cursor: pointer; padding: 11px 20px; border-radius: 999px; border: 0; background: transparent; white-space: nowrap; transition: background .25s, color .25s; }
.tab.is-active { background: var(--ink); color: var(--cream); }
.t-short { display: none; }
.calc__body { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(24px, 4vw, 56px); align-items: stretch; }
.calc__body > * { min-width: 0; }
.calc__body[hidden] { display: none; }
.calc__inputs { display: flex; flex-direction: column; gap: 24px; padding: 6px 4px; }
.range { display: block; }
.range__top { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 12px; font-weight: 600; color: var(--ink-2); font-size: .95rem; }
.range output { font-family: var(--f-display); font-size: 1.35rem; color: var(--ink); white-space: nowrap; }
input[type="range"] {
  --p: 50%; -webkit-appearance: none; appearance: none; width: 100%; height: 6px; margin: 0; border-radius: 99px; cursor: pointer;
  background: linear-gradient(90deg, var(--clay) 0 var(--p), rgba(15, 27, 45, .12) var(--p) 100%);
}
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; border-radius: 50%; background: #fff; border: 2px solid var(--clay); box-shadow: 0 4px 12px -2px rgba(227, 93, 43, .5); }
input[type="range"]::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 2px solid var(--clay); }
input[type="range"].calc__shift { margin: 14px 0 22px; background: linear-gradient(90deg, var(--sun) 0 var(--p), rgba(247, 241, 231, .18) var(--p) 100%); }
input[type="range"].calc__shift::-webkit-slider-thumb { border-color: var(--sun); }
.calc__hint { font-size: .92rem; color: var(--ink-2); background: var(--cream); border-radius: 12px; padding: 14px 16px; }
.calc__result {
  display: flex; flex-direction: column; border-radius: var(--r); padding: clamp(22px, 3vw, 34px); color: var(--cream);
  background: radial-gradient(500px 300px at 100% 0%, rgba(227, 93, 43, .3), transparent 60%), var(--ink);
}
.calc__kicker { font-size: .92rem; color: rgba(247, 241, 231, .75); }
.calc__kicker output { color: var(--sun); font-weight: 800; }
.calc__big { font-family: var(--f-display); font-size: clamp(2.2rem, 4.4vw, 3.3rem); line-height: 1.05; margin: 6px 0 2px; letter-spacing: -.02em; }
.calc__big span { display: inline-block; }
.calc__big small { font-family: var(--f-body); font-size: .9rem; color: rgba(247, 241, 231, .6); margin-left: 8px; letter-spacing: 0; }
.calc__big--clay span { color: var(--clay); }
.calc__divider { height: 1px; background: var(--line-light); margin: 18px 0; }
.calc__result .btn { margin-top: auto; }
.calc__body[data-panel="dine"] .calc__result .btn { margin-top: 22px; }
.calc__fine { margin-top: 12px; font-size: .75rem; color: rgba(247, 241, 231, .5); text-align: center; }

/* ==========================================================
   QUIZ
   ========================================================== */
.score { background: var(--paper); }
.score__grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(32px, 6vw, 90px); align-items: center; }
.score__grid > * { min-width: 0; }
.score__intro .section__note { margin-top: 22px; }
.score__pics { display: flex; margin-top: 36px; padding-left: 10px; }
.score__pics img {
  width: 130px; height: 170px; object-fit: cover; border-radius: 16px; border: 5px solid #fff;
  box-shadow: 0 20px 40px -20px rgba(15, 27, 45, .5); transform: rotate(-6deg); margin-left: -18px;
  transition: transform .4s var(--ease);
}
.score__pics img:nth-child(2) { transform: rotate(3deg) translateY(-12px); z-index: 1; }
.score__pics img:nth-child(3) { transform: rotate(8deg); }
.score__pics:hover img { transform: rotate(0) translateY(-6px); }
.quiz {
  position: relative; min-height: 440px; border-radius: var(--r-lg); padding: clamp(22px, 4vw, 44px);
  background: var(--cream); border: 1px solid var(--line); box-shadow: 0 40px 80px -50px rgba(15, 27, 45, .4);
}
.quiz__bar { height: 4px; border-radius: 9px; background: rgba(15, 27, 45, .08); overflow: hidden; }
.quiz__bar span { display: block; height: 100%; width: 0; background: var(--clay); transition: width .5s var(--ease); }
.quiz__count { margin: 16px 0 8px; font-size: .78rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--clay); }
.quiz__q { font-family: var(--f-display); font-weight: 400; font-size: clamp(1.4rem, 2.4vw, 1.95rem); line-height: 1.2; text-wrap: pretty; }
.quiz__opts { display: grid; gap: 10px; margin-top: 24px; }
.qopt {
  display: flex; align-items: center; gap: 14px; width: 100%; text-align: left; cursor: pointer;
  font: 600 1rem/1.3 var(--f-body); color: var(--ink); padding: 15px 18px; border-radius: 14px; background: #fff; border: 1.5px solid var(--line);
  transition: border-color .2s, transform .2s var(--ease), background .2s, color .2s;
}
.qopt:hover { border-color: var(--clay); transform: translateX(4px); }
.qopt.is-picked { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.qopt__key { flex: none; width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; font-size: .8rem; font-weight: 800; background: var(--cream); color: var(--ink-2); border: 1px solid var(--line); }
.qopt.is-picked .qopt__key { background: var(--clay); color: #fff; border-color: var(--clay); }
.quiz__result { text-align: center; animation: swapIn .6s var(--ease); }
.gauge { position: relative; width: 220px; margin: 0 auto; }
.gauge svg { width: 100%; overflow: visible; display: block; }
.gauge path { fill: none; stroke-width: 10; stroke-linecap: round; }
.gauge__track { stroke: rgba(15, 27, 45, .1); }
.gauge__fill { stroke: var(--clay); stroke-dasharray: 100; stroke-dashoffset: 100; transition: stroke-dashoffset 1.4s var(--ease); }
.gauge__num { position: absolute; left: 0; right: 0; bottom: -4px; font-family: var(--f-display); font-size: 3.2rem; line-height: 1; }
.gauge__num small { font-size: 1rem; color: var(--ink-3); font-family: var(--f-body); }
.quiz__verdict { font-family: var(--f-display); font-weight: 500; font-size: 1.7rem; margin: 18px 0 6px; }
.quiz__summary { color: var(--ink-2); max-width: 30em; margin: 0 auto; }
.quiz__gaps { text-align: left; margin: 22px auto 0; max-width: 32em; display: grid; gap: 8px; }
.quiz__gaps li { position: relative; padding: 12px 14px 12px 44px; background: #fff; border-radius: 12px; border: 1px solid var(--line); font-size: .93rem; color: var(--ink-2); }
.quiz__gaps li::before { content: "!"; position: absolute; left: 14px; top: 12px; width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; font-size: .72rem; font-weight: 800; background: rgba(227, 93, 43, .14); color: var(--clay); }
.quiz__gaps li strong { color: var(--ink); }
.quiz__actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 26px; }

/* ==========================================================
   CALENDAR
   ========================================================== */
.calendar { background: radial-gradient(900px 400px at 100% 0%, rgba(242, 180, 75, .14), transparent 60%), var(--sea); color: var(--cream); }
.cal { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.cal__item {
  position: relative; padding: 28px 26px 32px; border-radius: var(--r);
  background: rgba(247, 241, 231, .06); border: 1px solid var(--line-light);
  transition: background .3s, transform .35s var(--ease);
}
.cal__item:hover { background: rgba(247, 241, 231, .1); transform: translateY(-4px); }
.cal__icon { width: 44px; height: 44px; fill: none; stroke: var(--sun); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 18px; }
.cal__months { display: inline-block; font-size: .75rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--sun); border: 1px solid var(--line-light); padding: 6px 12px; border-radius: 999px; }
.cal__item h3 { font-family: var(--f-display); font-weight: 500; font-size: 1.6rem; margin: 18px 0 10px; }
.cal__item p { font-size: .95rem; color: rgba(247, 241, 231, .78); }
.cal__item.is-now { background: var(--clay); border-color: var(--clay); box-shadow: 0 30px 60px -30px rgba(227, 93, 43, .8); }
.cal__item.is-now:hover { background: var(--clay-dk); }
.cal__item.is-now .cal__icon { stroke: #fff; }
.cal__item.is-now .cal__months { color: #fff; border-color: rgba(255, 255, 255, .4); }
.cal__item.is-now p { color: rgba(255, 255, 255, .92); }
.cal__item.is-now::after {
  content: "We are here"; position: absolute; top: -12px; right: 18px; padding: 6px 10px; border-radius: 999px;
  font-size: .7rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; background: var(--sun); color: var(--ink);
}
.cal__item.is-next { border-style: dashed; border-color: var(--sun); }
.countdown {
  margin-top: 16px; display: flex; align-items: center; gap: 14px; padding: 12px 16px; border-radius: 14px;
  background: rgba(247, 241, 231, .08); border: 1px solid var(--line-light); font-size: .92rem; line-height: 1.4; color: var(--cream);
}
.countdown[hidden] { display: none; }
.countdown strong { font-family: var(--f-display); font-size: 2.2rem; font-weight: 500; color: var(--sun); line-height: 1; flex: none; }

/* ==========================================================
   PROCESS
   ========================================================== */
.process { background: var(--paper); }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); position: relative; }
.steps::before { content: ""; position: absolute; top: 27px; left: 28px; right: 12%; border-top: 1.5px dashed rgba(227, 93, 43, .5); }
.step { position: relative; padding-right: 28px; }
.step__n { position: relative; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--cream); border: 1.5px solid var(--clay); color: var(--clay); font-family: var(--f-display); font-size: 1.4rem; }
.step h3 { font-size: 1.12rem; font-weight: 800; margin: 24px 0 8px; }
.step p { color: var(--ink-2); font-size: .95rem; }

/* ==========================================================
   AUDIT FORM
   ========================================================== */
.audit { background: var(--ink); color: var(--cream); overflow: hidden; }
.audit__bg { position: absolute; inset: 0; background: url("images/seg-villa.jpg") center / cover; opacity: .12; }
.audit__bg::after { content: ""; position: absolute; inset: 0; background: radial-gradient(900px 500px at 0% 0%, rgba(227, 93, 43, .25), transparent 60%), linear-gradient(90deg, var(--ink) 20%, transparent); }
.audit__grid { position: relative; display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 6vw, 90px); align-items: start; }
.audit__grid > * { min-width: 0; }
.audit__lede { color: rgba(247, 241, 231, .8); margin: 22px 0 28px; max-width: 30em; }
.audit__alt { margin-top: 30px; color: rgba(247, 241, 231, .7); font-size: .95rem; }
.audit__alt a { color: var(--sun); font-weight: 700; white-space: nowrap; }
.audit__note { margin-top: 26px; padding: 16px 18px; border-radius: 14px; background: rgba(242, 180, 75, .12); border: 1px solid rgba(242, 180, 75, .35); color: var(--cream); font-size: .92rem; }
.audit__note[hidden] { display: none; }
.audit__note strong { color: var(--sun); }

.form { position: relative; background: var(--paper); color: var(--ink); padding: clamp(22px, 4vw, 42px); border-radius: var(--r-lg); box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .7); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: block; margin-bottom: 16px; }
.field > span { display: block; font-size: .8rem; font-weight: 700; color: var(--ink-2); margin-bottom: 7px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 15px; font: 500 1rem/1.4 var(--f-body); color: var(--ink);
  background: #fff; border: 1.5px solid var(--line); border-radius: 12px; -webkit-appearance: none; appearance: none;
  transition: border-color .2s, box-shadow .2s;
}
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%230F1B2D' stroke-width='1.6' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 15px center; padding-right: 40px;
}
.field textarea { resize: vertical; min-height: 80px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--clay); box-shadow: 0 0 0 4px rgba(227, 93, 43, .14); }
.field.is-invalid input { border-color: #C2362B; }
.form__captcha { margin: 4px 0 16px; }
.form__status { min-height: 1.4em; margin-top: 12px; font-size: .9rem; font-weight: 600; color: #C2362B; }
.form__fine { font-size: .78rem; color: var(--ink-3); }
.form__nav { display: flex; gap: 10px; margin-top: 6px; }
.form__nav .btn--clay { flex: 1; }
.form__nav [hidden] { display: none; }
.btn__spinner { display: none; width: 18px; height: 18px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .4); border-top-color: #fff; animation: spin .8s linear infinite; }
.btn.is-loading .btn__spinner { display: inline-block; }
.btn.is-loading { pointer-events: none; opacity: .85; }
@keyframes spin { to { transform: rotate(360deg); } }
.form__done { position: absolute; inset: 0; border-radius: inherit; background: var(--paper); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 14px; padding: 40px; }
.form__done[hidden] { display: none; }
.form__done-icon { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--clay); color: #fff; font-size: 1.8rem; font-weight: 800; }
.form__done h3 { font-family: var(--f-display); font-weight: 500; font-size: 2rem; }
.form__done p { color: var(--ink-2); max-width: 24em; }

.steps-ind { display: flex; align-items: center; margin-bottom: 26px; }
.steps-ind i { flex: 1; height: 2px; background: var(--line); margin: 0 8px; position: relative; overflow: hidden; }
.steps-ind i.is-on::after { content: ""; position: absolute; inset: 0; background: var(--clay); transform-origin: 0 50%; animation: fillx .5s var(--ease) forwards; }
@keyframes fillx { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.steps-ind__dot { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; flex: none; font-size: .85rem; font-weight: 800; color: var(--ink-3); border: 1.5px solid var(--line); background: #fff; transition: background .3s, color .3s, border-color .3s; }
.steps-ind__dot.is-on { background: var(--clay); border-color: var(--clay); color: #fff; }
.fstep { border: 0; margin: 0; padding: 0; min-width: 0; }
.fstep[hidden] { display: none; }
.fstep.is-active { animation: swapIn .45s var(--ease); }
.fstep__title { font-family: var(--f-display); font-size: clamp(1.5rem, 2.4vw, 1.9rem); line-height: 1.15; padding: 0; margin-bottom: 18px; }
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 20px; }
.tiles--2 { grid-template-columns: repeat(2, 1fr); }
.tile { position: relative; cursor: pointer; }
.tile input { position: absolute; opacity: 0; pointer-events: none; }
.tile span {
  display: flex; align-items: center; justify-content: center; text-align: center; min-height: 62px; height: 100%;
  padding: 12px 10px; border-radius: 14px; background: #fff; border: 1.5px solid var(--line);
  font-weight: 700; font-size: .92rem; line-height: 1.25; color: var(--ink-2);
  transition: border-color .2s, background .2s, color .2s, transform .2s var(--ease);
}
.tile:hover span { border-color: var(--clay); transform: translateY(-2px); }
.tile input:checked + span { background: var(--ink); border-color: var(--ink); color: var(--cream); }
.tile input:focus-visible + span { outline: 2px solid var(--clay); outline-offset: 2px; }
.tiles.is-invalid .tile span { border-color: #C2362B; }

/* ==========================================================
   FAQ, FINAL, FOOTER
   ========================================================== */
.faq { background: var(--cream); }
.faq__grid { display: grid; grid-template-columns: .7fr 1.3fr; gap: clamp(32px, 6vw, 90px); }
.faq__grid > * { min-width: 0; }
.faq__list { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; position: relative; padding: 24px 48px 24px 0; font-family: var(--f-display); font-size: clamp(1.12rem, 1.6vw, 1.35rem); line-height: 1.3; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-family: var(--f-body); font-size: 1.6rem; color: var(--clay); transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { padding: 0 48px 26px 0; color: var(--ink-2); }

.final { position: relative; overflow: hidden; color: var(--cream); padding: clamp(120px, 15vw, 200px) 0; text-align: center; background: var(--ink); }
.final__bg { position: absolute; inset: 0; background: url("images/final-dinner.jpg") center / cover; }
.final__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 19, 32, .5), rgba(10, 19, 32, .82)); }
.final__inner { position: relative; }

.footer { background: var(--ink-deep); color: rgba(247, 241, 231, .7); padding: 56px 0 100px; font-size: .9rem; }
.footer__inner { display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; }
.footer__inner img { height: 34px; width: auto; margin-bottom: 4px; }
.footer__links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 26px; }
.footer__links a { text-decoration: none; color: var(--cream); }
.footer__links a:hover { color: var(--clay); }
.footer small { color: rgba(247, 241, 231, .45); }

/* ---------- Floating WhatsApp, mobile bar, nudge ---------- */
.wa-float { position: fixed; right: 22px; bottom: 22px; z-index: 65; display: flex; align-items: flex-end; gap: 12px; }
.wa-float__btn { position: relative; width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; flex: none; background: #25D366; color: #fff; box-shadow: 0 14px 30px -10px rgba(37, 211, 102, .7); transition: transform .25s var(--ease); }
.wa-float__btn:hover { transform: scale(1.08); }
.wa-float__btn::before { content: ""; position: absolute; inset: 0; border-radius: 50%; animation: waPulse 2.4s infinite; }
@keyframes waPulse { 0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, .5); } 70%, 100% { box-shadow: 0 0 0 16px rgba(37, 211, 102, 0); } }
.wa-float__bubble { position: relative; max-width: 240px; padding: 14px 32px 14px 16px; border-radius: 16px 16px 4px 16px; background: var(--paper); box-shadow: 0 18px 40px -16px rgba(15, 27, 45, .45); font-size: .85rem; line-height: 1.35; animation: swapIn .5s var(--ease); }
.wa-float__bubble[hidden] { display: none; }
.wa-float__bubble strong { display: block; margin-bottom: 2px; }
.wa-float__bubble span { color: var(--ink-2); }
.wa-float__x { position: absolute; top: 6px; right: 8px; border: 0; background: none; font-size: 1.1rem; color: var(--ink-3); cursor: pointer; }

.mbar {
  display: none; position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 60; gap: 8px; padding: 8px; border-radius: 999px;
  background: rgba(252, 250, 246, .94); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 16px 40px -16px rgba(15, 27, 45, .5); transform: translateY(140%); transition: transform .4s var(--ease);
}
.mbar.is-visible { transform: none; }
.mbar .btn { flex: 1; }

.nudge { width: min(480px, calc(100% - 32px)); border: 0; padding: 38px 32px 30px; border-radius: var(--r-lg); background: var(--paper); color: var(--ink); box-shadow: 0 50px 100px -30px rgba(0, 0, 0, .6); }
.nudge[open] { animation: swapIn .45s var(--ease); }
.nudge::backdrop { background: rgba(15, 27, 45, .6); backdrop-filter: blur(4px); }
.nudge__x { position: absolute; top: 12px; right: 14px; border: 0; background: none; font-size: 1.6rem; line-height: 1; color: var(--ink-3); cursor: pointer; }
.nudge__title { font-family: var(--f-display); font-weight: 400; font-size: 1.9rem; line-height: 1.12; }
.nudge__title em { font-style: italic; }
.nudge__text { color: var(--ink-2); margin: 14px 0 24px; }
.nudge__actions { display: grid; gap: 10px; }
.nudge__actions .btn { white-space: normal; text-align: center; }

/* ==========================================================
   ONE BUSINESS TYPE SELECTED (by #hash or chip tap)
   ========================================================== */
.has-persona .pchip:not([aria-pressed="true"]) { display: none; }
.has-persona .persona__chips { display: flex; }
.has-persona .persona__label span { display: none; }
.pchip[aria-pressed="true"]::after { content: "✕"; margin-left: 10px; font-size: .75em; opacity: .55; }
.has-persona .tabs { display: none; }

/* ==========================================================
   RESPONSIVE (kept last so it always wins)
   ========================================================== */
@media (max-width: 1100px) {
  .nav__links { display: none; }
  .cal { grid-template-columns: repeat(2, 1fr); }
  .compare { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  .hero__inner, .likes__grid, .split-sec__grid, .sw, .calc__body, .score__grid, .audit__grid, .faq__grid, .section__head--split { grid-template-columns: 1fr; }
  /* phone/tablet hero: clear photo window on top, copy on solid ink below */
  .hero { justify-content: flex-start; padding: 0 0 52px; min-height: 0; }
  .hero__bg { bottom: auto; height: 54vh; height: 54svh; min-height: 360px; }
  .hero__layer--default { background-image: url("images/hero-resort.jpg"); background-position: center 62%; }
  .hero__layer { background-position: center 60%; }
  .hero__shade {
    bottom: auto; height: 54vh; height: 54svh; min-height: 360px;
    background: linear-gradient(180deg, rgba(10, 19, 32, .55) 0%, rgba(10, 19, 32, 0) 18%, rgba(10, 19, 32, 0) 38%, rgba(10, 19, 32, .18) 50%, rgba(10, 19, 32, .45) 62%, rgba(10, 19, 32, .72) 74%, rgba(10, 19, 32, .9) 86%, var(--ink-deep) 100%);
  }
  .hero__inner { gap: 0; }
  .hero__float {
    order: -1; height: calc(54vh - 150px); height: calc(54svh - 150px); min-height: 220px;
    display: flex; align-items: flex-end; justify-content: flex-start; padding-bottom: 6px;
  }
  .gcard { position: relative; inset: auto; }
  .gcard--likes { display: none; }
  .gcard--tick { font-size: .8rem; padding: 10px 16px 10px 10px; }
  .gcard--tick .gcard__icon { width: 34px; height: 34px; }
  .hero__copy { padding-top: 16px; }
  .hero__scroll { display: none; }
  .likes__stage { order: 2; }
  .sw__stage { position: relative; top: 0; aspect-ratio: 4 / 3; }
  .steps { grid-template-columns: 1fr 1fr; gap: 40px 24px; }
  .steps::before { display: none; }
  .score__pics { display: none; }
}

@media (max-width: 760px) {
  .panels { flex-direction: column; height: auto; gap: 10px; }
  .panel { flex: none; height: 96px; }
  .panel.is-open { flex: none; height: 440px; }
  .panel__tab { writing-mode: horizontal-tb; left: 22px; top: 50%; bottom: auto; transform: translateY(-50%); font-size: 1.35rem; }
  .panel__tab::after { content: " +"; color: var(--sun); }
  .panel__body { left: 20px; right: 20px; bottom: 22px; width: auto; min-width: 0; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .nav__inner { height: 64px; }
  .logo { height: 28px; }
  .nav__tag, .nav__wa { display: none; }
  .hero .eyebrow { font-size: .7rem; letter-spacing: .14em; margin-bottom: 16px; }
  .hero .lede { font-size: 1rem; margin-top: 18px; }
  .persona { margin-top: 24px; }
  .hero__actions .btn { flex: 1 1 100%; }
  .persona__label span { display: block; margin: 4px 0 0; }
  html:not(.has-persona) .persona__chips { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .has-persona .pchip { padding: 11px 20px; }
  .pchip { padding: 11px 6px; font-size: .82rem; text-align: center; white-space: nowrap; }
  .reel { padding: 22px 0 28px; }
  .reel__item { height: 210px; border-radius: 16px; }
  .phone { width: 280px; }
  .switch__label { font-size: .82rem; }
  .likes__stage::before { width: 320px; height: 320px; }
  .pains li { gap: 14px; padding: 16px 0; }
  .pains__icon { width: 42px; height: 42px; }
  .ba__tag { font-size: .62rem; padding: 6px 10px; top: 12px; left: 12px; }
  .ba__tag--after { left: auto; right: 12px; }
  .ui { left: 14px; bottom: 14px; }
  .ui--brand, .ui--book { right: 14px; }
  .sw__item { padding: 18px 2px; gap: 14px; }
  .tabs { display: flex; width: 100%; }
  .tab { flex: 1; padding: 12px 8px; font-size: .85rem; }
  .t-long { display: none; }
  .t-short { display: inline; }
  .calc__result .btn { padding: 15px 14px; font-size: .9rem; }
  .cal { grid-template-columns: 1fr; }
  .cal__item.is-now { margin-top: 8px; }
  .steps { grid-template-columns: 1fr; gap: 26px; }
  .step { display: grid; grid-template-columns: 48px 1fr; column-gap: 16px; padding-right: 0; }
  .step__n { width: 48px; height: 48px; font-size: 1.2rem; grid-row: span 2; }
  .step h3 { margin: 2px 0 4px; }
  .form__row { grid-template-columns: 1fr; gap: 0; }
  .tiles { grid-template-columns: 1fr 1fr; }
  .quiz { min-height: 0; }
  .faq summary { padding-right: 40px; }
  .faq details p { padding-right: 0; }
  .wa-float { display: none; }
  .mbar { display: flex; }
  .nudge { padding: 34px 22px 24px; }
  .nudge__title { font-size: 1.6rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
  .hero__layer.is-active { transform: none; }
}
