/* Solvae House v2. Brand palette "Lagoon, sunlight and warm shell"; layout patterns: framed photo hero,
   floating pill nav, glass cards, marquee, bento grid, photo rail, numbered steps, oversized footer wordmark. */
@font-face { font-family: "Marcellus"; src: url("/fonts/marcellus-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "DM Sans"; src: url("/fonts/dm-sans-var.woff2") format("woff2"); font-weight: 100 1000; font-display: swap; }

:root {
  --lagoon: #0E4A55;
  --deep: #0A3740;
  --deeper: #072A31;
  --gold: #F4B23E;
  --gold-hover: #FFC15A;
  --glow: #FDF0D5;
  --shell: #F7F3EC;
  --white: #FFFFFF;
  --sand: #E6DED2;
  --ink: #16262B;
  --drift: #566A70;
  --mist: #E4EFEE;
  --palm: #2F7D6B;
  --coral: #C2532E;

  --serif: "Marcellus", Georgia, "Times New Roman", serif;
  --sans: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --r-xl: 32px;
  --r-lg: 24px;
  --r-md: 16px;
  --shadow: 0 1px 2px rgba(22,38,43,.05), 0 18px 40px -18px rgba(22,38,43,.22);
  --ease: cubic-bezier(.22,.8,.24,1);
  --gutter: 16px;
}
@media (min-width: 720px) { :root { --gutter: 32px; } }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--shell); color: var(--ink); font-family: var(--sans); font-size: 1.0625rem; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--lagoon); text-underline-offset: 3px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; color: var(--lagoon); line-height: 1.08; margin: 0 0 .5em; letter-spacing: -.01em; }
h2 { font-size: clamp(2.1rem, 4.4vw, 3.6rem); }
h3 { font-size: 1.35rem; line-height: 1.2; }
p { margin: 0 0 1em; }
svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }

.wrap { width: min(1240px, 100% - 2 * var(--gutter)); margin-inline: auto; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 200; background: var(--gold); color: var(--ink); padding: 10px 16px; border-radius: 999px; font-weight: 600; }
.skip:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }

.accent { color: var(--gold); }
.accent-teal { color: var(--palm); }
.muted { color: var(--drift); }
.muted-light { color: rgba(247,243,236,.72); }
.small { font-size: .875rem; }
.center { text-align: center; }

.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--drift); margin-bottom: 1.1em; }
.eyebrow span { display: inline-grid; place-items: center; min-width: 34px; height: 24px; padding: 0 8px; border-radius: 999px; border: 1px solid currentColor; font-size: .72rem; letter-spacing: .04em; }
.eyebrow-light { color: rgba(247,243,236,.75); }

/* Glass surface, used sparingly so scrolling stays smooth */
.glass { background: rgba(255,255,255,.72); border: 1px solid rgba(255,255,255,.6); -webkit-backdrop-filter: blur(14px) saturate(1.4); backdrop-filter: blur(14px) saturate(1.4); box-shadow: 0 10px 30px -12px rgba(7,42,49,.35); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55em; padding: .85em 1.5em; border-radius: 999px; border: 1.5px solid transparent; font: 600 1rem/1.2 var(--sans); text-decoration: none; cursor: pointer; white-space: nowrap; transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease); }
.btn .arrow { display: inline-block; transition: transform .3s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }
.btn:active { transform: scale(.98); }
.btn-lg { padding: 1.05em 1.9em; font-size: 1.05rem; }
.btn-block { width: 100%; }
.btn-gold { background: var(--gold); color: var(--ink); box-shadow: 0 8px 20px -10px rgba(244,178,62,.9); }
.btn-gold:hover { background: var(--gold-hover); color: var(--ink); }
.btn-outline { border-color: var(--sand); color: var(--ink); background: var(--white); }
.btn-outline:hover { border-color: var(--lagoon); background: var(--lagoon); color: var(--white); }

/* ---------- Floating pill nav ---------- */
.nav-shell { position: fixed; top: 14px; left: 0; right: 0; z-index: 60; pointer-events: none; }
.nav-pill {
  pointer-events: auto; width: min(1240px, 100% - 2 * var(--gutter) - 24px); margin-inline: auto;
  display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 8px 8px 8px 22px;
  border-radius: 999px; background: rgba(255,255,255,.82); border: 1px solid rgba(255,255,255,.7);
  -webkit-backdrop-filter: blur(16px) saturate(1.5); backdrop-filter: blur(16px) saturate(1.5);
  box-shadow: 0 12px 30px -14px rgba(7,42,49,.4); transition: background-color .3s var(--ease), box-shadow .3s var(--ease);
}
.is-scrolled .nav-pill { background: rgba(255,255,255,.94); box-shadow: 0 14px 34px -14px rgba(7,42,49,.45); }
.brand img { height: 38px; width: auto; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a:not(.btn) { color: var(--ink); text-decoration: none; font-weight: 500; font-size: .97rem; padding: 10px 14px; border-radius: 999px; transition: background-color .2s var(--ease), color .2s var(--ease); }
.nav a:not(.btn):hover { background: var(--mist); }
.nav a.is-current { background: var(--lagoon); color: var(--white); }
.nav-cta { margin-left: 8px; padding: .75em 1.3em; }
.menu-btn { display: none; width: 46px; height: 46px; border: 0; border-radius: 50%; background: var(--lagoon); cursor: pointer; padding: 0; place-items: center; }
.bars, .bars::before, .bars::after { display: block; width: 18px; height: 2px; background: var(--white); border-radius: 2px; transition: transform .25s var(--ease), background-color .2s; }
.bars { position: relative; }
.bars::before, .bars::after { content: ""; position: absolute; left: 0; }
.bars::before { top: -6px; } .bars::after { top: 6px; }
.menu-btn[aria-expanded="true"] .bars { background: transparent; }
.menu-btn[aria-expanded="true"] .bars::before { transform: translateY(6px) rotate(45deg); }
.menu-btn[aria-expanded="true"] .bars::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 980px) {
  .brand img { height: 32px; }
  .nav-pill { padding: 6px 6px 6px 18px; }
  .menu-btn { display: grid; }
  .nav {
    position: absolute; top: calc(100% + 10px); left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 2px;
    background: var(--white); border-radius: var(--r-lg); padding: 10px; box-shadow: 0 24px 50px -20px rgba(7,42,49,.45);
    transform: translateY(-6px) scale(.98); transform-origin: top; opacity: 0; visibility: hidden;
    transition: transform .25s var(--ease), opacity .2s var(--ease), visibility 0s .25s;
  }
  .nav.is-open { transform: none; opacity: 1; visibility: visible; transition: transform .25s var(--ease), opacity .2s var(--ease); }
  .nav a:not(.btn) { padding: 14px 16px; font-size: 1.05rem; }
  .nav-cta { margin: 6px 0 0; padding: 1em; }
}

/* ---------- Hero ---------- */
.hero { padding: 10px; }
.hero-frame { position: relative; min-height: max(640px, min(100svh - 20px, 900px)); border-radius: var(--r-xl); overflow: hidden; isolation: isolate; display: flex; align-items: flex-end; background: var(--deep); }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 38%; z-index: -2; transform: scale(1.06); animation: heroIn 1.6s var(--ease) forwards; }
@keyframes heroIn { to { transform: scale(1); } }
.hero-shade { position: absolute; inset: 0; z-index: -1; background:
  linear-gradient(180deg, rgba(7,42,49,.35) 0%, rgba(7,42,49,0) 26%),
  linear-gradient(0deg, rgba(7,42,49,.92) 0%, rgba(7,42,49,.6) 30%, rgba(7,42,49,0) 62%); }
.hero-content { width: 100%; padding: 0 clamp(20px, 4vw, 56px) clamp(22px, 3.5vw, 44px); color: var(--shell); }
.kicker { text-shadow: 0 1px 12px rgba(7,42,49,.55); display: inline-flex; align-items: center; gap: 10px; font-size: .85rem; font-weight: 600; letter-spacing: .04em; color: rgba(247,243,236,.92); margin-bottom: 18px; }
.kicker-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 5px rgba(244,178,62,.25); }
.hero h1 { color: var(--shell); font-size: clamp(2.8rem, 7.4vw, 6.4rem); line-height: .98; max-width: 11.5em; margin-bottom: .28em; text-wrap: balance; }
.hero-lead { font-size: clamp(1.02rem, 1.4vw, 1.2rem); color: rgba(247,243,236,.85); max-width: 36em; margin-bottom: 28px; }

.chip-float { position: absolute; top: 96px; left: clamp(20px, 4vw, 56px); display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px; border-radius: 999px; font-weight: 600; font-size: .92rem; color: var(--ink); }
.pulse { position: relative; width: 9px; height: 9px; border-radius: 50%; background: var(--palm); }
.pulse::after { content: ""; position: absolute; inset: -5px; border-radius: 50%; border: 2px solid var(--palm); opacity: 0; animation: pulse 2.4s var(--ease) infinite; }
@keyframes pulse { 0% { transform: scale(.6); opacity: .8; } 100% { transform: scale(1.6); opacity: 0; } }
.card-float { position: absolute; top: 96px; right: clamp(20px, 4vw, 56px); padding: 16px 18px; border-radius: var(--r-md); color: var(--ink); min-width: 230px; }
.cf-label { font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--drift); margin: 0 0 10px; }
.cf-stats { list-style: none; margin: 0; padding: 0; display: flex; gap: 18px; }
.cf-stats li { display: grid; }
.cf-stats strong { font-family: var(--serif); font-weight: 400; font-size: 2rem; line-height: 1; color: var(--lagoon); }
.cf-stats span { font-size: .8rem; color: var(--drift); }

.quick-book { display: grid; grid-template-columns: 1.2fr 1fr 1fr .7fr auto; align-items: center; gap: 4px; padding: 8px; border-radius: 999px; max-width: 980px; color: var(--ink); }
.qb-field { display: grid; gap: 2px; padding: 6px 18px; border-radius: 999px; cursor: pointer; transition: background-color .2s var(--ease); min-width: 0; }
.qb-field + .qb-field { border-left: 1px solid rgba(22,38,43,.1); }
.qb-field:hover { background: rgba(255,255,255,.7); }
.qb-field span { font-size: .7rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--drift); }
.qb-field select, .qb-field input { appearance: none; border: 0; background: transparent; font: 600 1rem/1.3 var(--sans); color: var(--ink); padding: 0; width: 100%; min-width: 0; cursor: pointer; }
.qb-field select:focus, .qb-field input:focus { outline: none; }
.qb-field:focus-within { background: var(--white); box-shadow: 0 0 0 2px var(--gold); }
.qb-go { padding: 1em 1.6em; }

@media (max-width: 980px) {
  .card-float { display: none; }
  .quick-book { grid-template-columns: 1fr 1fr; border-radius: var(--r-lg); padding: 10px; gap: 6px; }
  .qb-field { border-radius: var(--r-md); background: rgba(255,255,255,.55); padding: 8px 14px; }
  .qb-field + .qb-field { border-left: 0; }
  .qb-go { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .hero { padding: 6px; }
  .hero-frame { border-radius: var(--r-lg); min-height: 0; padding-top: 220px; }
  .hero-img { object-position: 42% 30%; }
  .hero-shade { background: linear-gradient(180deg, rgba(7,42,49,.3) 0%, rgba(7,42,49,0) 20%), linear-gradient(0deg, rgba(7,42,49,.96) 0%, rgba(7,42,49,.8) 50%, rgba(7,42,49,.35) 72%, rgba(7,42,49,0) 90%); }
  .chip-float { top: 84px; left: 14px; font-size: .82rem; padding: 8px 12px; }
  .hero-content { padding: 0 14px 14px; }
  .kicker { font-size: .78rem; }
}

/* ---------- Marquee ---------- */
.marquee { overflow: hidden; padding: 22px 0; border-bottom: 1px solid var(--sand); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; width: max-content; animation: marquee 38s linear infinite; will-change: transform; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee ul { display: flex; list-style: none; margin: 0; padding: 0; }
.marquee li { display: flex; align-items: center; gap: 28px; padding-right: 28px; font-family: var(--serif); font-size: clamp(1.3rem, 2.2vw, 1.8rem); color: var(--lagoon); white-space: nowrap; }
.marquee li::after { content: ""; width: 12px; height: 12px; border-radius: 50%; background: var(--gold); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Intro: short copy + compact numbers ---------- */
.intro { padding: clamp(64px, 8vw, 110px) 0 clamp(24px, 3vw, 40px); }
.intro-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.intro-copy h2 { font-size: clamp(1.9rem, 3.2vw, 2.8rem); line-height: 1.1; max-width: 14em; margin-bottom: 16px; }
.intro-copy p:last-child { color: var(--drift); font-size: 1.06rem; max-width: 34em; margin: 0; }
.intro-stats { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.intro-stats li { background: var(--white); border: 1px solid var(--sand); border-radius: var(--r-md); padding: 18px 20px; display: flex; align-items: center; gap: 14px; }
.intro-stats strong { font-family: var(--serif); font-weight: 400; font-size: 2.3rem; line-height: 1; color: var(--lagoon); white-space: nowrap; }
.intro-stats small { font-size: .42em; margin-left: .12em; color: var(--gold); letter-spacing: .04em; }
.intro-stats span { color: var(--drift); font-size: .9rem; line-height: 1.35; }
.intro + .section { padding-top: clamp(40px, 5vw, 64px); }
@media (max-width: 860px) { .intro-grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 420px) { .intro-stats li { padding: 14px; gap: 10px; } .intro-stats strong { font-size: 1.9rem; } .intro-stats span { font-size: .82rem; } }

/* ---------- Sections ---------- */
.section { position: relative; padding: clamp(72px, 10vw, 132px) 0; }
.section-white { background: var(--white); }
.section-dark { background: var(--deeper); color: var(--shell); overflow: hidden; }
.section-dark h2 { color: var(--shell); }
.section-head { max-width: 720px; margin-bottom: clamp(32px, 4vw, 52px); }
.split-head { max-width: none; display: grid; grid-template-columns: 1.3fr 1fr; gap: 32px 64px; align-items: end; }
.split-head h2, .split-head p { margin-bottom: 0; }
@media (max-width: 860px) { .split-head { grid-template-columns: 1fr; } }
.glow { position: absolute; width: 720px; height: 720px; right: -220px; top: -260px; border-radius: 50%; background: radial-gradient(circle, rgba(244,178,62,.22), rgba(244,178,62,0) 65%); pointer-events: none; }

/* ---------- Bento ---------- */
.bento { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: 150px; gap: 14px; }
.tile { position: relative; margin: 0; border-radius: var(--r-lg); overflow: hidden; }
.tile-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.tile-photo:hover img { transform: scale(1.05); }
.tag { position: absolute; left: 14px; bottom: 14px; padding: 8px 14px; border-radius: 999px; font-size: .88rem; font-weight: 600; color: var(--ink); }
.t-living { grid-column: span 7; grid-row: span 4; }
.t-amen { grid-column: span 5; grid-row: span 2; }
.t-kitchen { grid-column: span 5; grid-row: span 2; }
.t-bed { grid-column: span 4; grid-row: span 2; }
.t-quote { grid-column: span 4; grid-row: span 2; }
.t-patio { grid-column: span 4; grid-row: span 2; }
.tile-gold { background: var(--gold); color: var(--ink); padding: 28px; display: flex; flex-direction: column; justify-content: flex-end; }
.tile-gold svg { width: 34px; height: 34px; margin-bottom: auto; }
.tile-gold .tile-big { font-family: var(--serif); font-size: clamp(1.8rem, 2.8vw, 2.5rem); line-height: 1.05; margin-bottom: .35em; }
.tile-gold p:last-child { margin: 0; max-width: 28em; }
.tile-dark { background: var(--lagoon); color: var(--shell); padding: 28px; display: flex; flex-direction: column; justify-content: space-between; }
.quote { font-family: var(--serif); font-size: clamp(1.25rem, 1.7vw, 1.5rem); line-height: 1.3; margin: 0; }
.mini-list { list-style: none; margin: 16px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.mini-list li { padding: 6px 12px; border-radius: 999px; background: rgba(255,255,255,.1); font-size: .85rem; }
@media (max-width: 980px) {
  .bento { grid-template-columns: repeat(6, 1fr); grid-auto-rows: 130px; }
  .t-living { grid-column: span 6; grid-row: span 3; }
  .t-amen, .t-kitchen, .t-bed, .t-quote, .t-patio { grid-column: span 3; grid-row: span 2; }
  .t-patio { grid-column: span 6; }
}
@media (max-width: 600px) {
  .bento { grid-template-columns: 1fr 1fr; grid-auto-rows: minmax(120px, auto); gap: 10px; }
  .t-living { grid-column: span 2; grid-row: span 2; }
  .t-amen, .t-quote { grid-column: span 2; grid-row: auto; }
  .t-kitchen, .t-bed { grid-column: span 1; grid-row: span 2; }
  .t-patio { grid-column: span 2; grid-row: span 2; }
  .tile-gold, .tile-dark { padding: 22px; }
  .tile-gold svg { margin-bottom: 18px; }
}

/* ---------- Stays ---------- */
.stay-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.stay-card { display: flex; flex-direction: column; background: var(--shell); border-radius: var(--r-xl); padding: 10px; transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.stay-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.stay-featured { background: var(--lagoon); color: var(--shell); }
.stay-featured h3, .stay-featured .price strong { color: var(--shell); }
.stay-featured .stay-meta, .stay-featured .price { color: rgba(247,243,236,.7); }
.stay-img { position: relative; aspect-ratio: 4 / 3; border-radius: calc(var(--r-xl) - 8px); overflow: hidden; }
.stay-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.stay-card:hover .stay-img img { transform: scale(1.05); }
.stay-flag { position: absolute; top: 12px; left: 12px; padding: 7px 13px; border-radius: 999px; font-size: .82rem; font-weight: 700; color: var(--ink); }
.stay-body { display: flex; flex-direction: column; flex: 1; padding: 20px 16px 14px; }
.stay-top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.stay-top h3 { margin: 0; font-size: 1.6rem; }
.price { margin: 0; color: var(--drift); font-size: .9rem; white-space: nowrap; }
.price strong { font-size: 1.55rem; color: var(--ink); font-weight: 700; margin-right: 2px; }
.stay-meta { color: var(--drift); font-size: .92rem; font-weight: 500; margin: 6px 0 14px; }
.stay-body > p:not(.stay-meta) { flex: 1; }
.stay-body .btn { margin-top: 8px; }
@media (max-width: 980px) { .stay-grid { grid-template-columns: 1fr; max-width: 560px; } }
.stay-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: none; }
.stay-grid-2 .stay-img { aspect-ratio: 16 / 10; }
@media (max-width: 760px) { .stay-grid-2 { grid-template-columns: minmax(0, 1fr); } }

/* Extras (paid add-ons) */
.extras { margin-top: clamp(28px, 4vw, 44px); }
.extras-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 20px; margin-bottom: 14px; }
.extras-head h3 { font-size: 1.5rem; margin: 0; }
.extras-head p { margin: 0; font-size: .92rem; }
.extras-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.extras-list li { display: flex; align-items: center; gap: 12px; padding: 16px 18px; border: 1px solid var(--sand); border-radius: var(--r-md); background: var(--shell); }
.extras-list svg { flex: none; width: 22px; height: 22px; fill: none; stroke: var(--lagoon); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.extras-list div { display: grid; gap: 2px; min-width: 0; flex: 1; }
.extras-list strong { font-weight: 600; color: var(--ink); }
.extras-list span { font-size: .84rem; color: var(--drift); line-height: 1.35; }
.extras-list b { flex: none; font-weight: 700; color: var(--lagoon); font-size: .95rem; white-space: nowrap; }
.extras-list small { font-weight: 500; color: var(--drift); }
@media (max-width: 900px) { .extras-list { grid-template-columns: minmax(0, 1fr); } }

/* Extras checkboxes in the booking form */
.book-card .extras-pick { border: 0; padding: 0; margin: 2px 0 12px; min-width: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.book-card .extras-pick legend { float: left; width: 100%; font-size: .74rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--drift); margin: 0 0 6px; padding: 0; }
.book-card .extras-pick label { display: inline-flex; align-items: center; gap: 8px; padding: 8px 13px; border-radius: 999px; background: var(--shell); border: 1.5px solid transparent; font: 500 .88rem/1.2 var(--sans); color: var(--ink); cursor: pointer; transition: border-color .2s var(--ease), background-color .2s var(--ease); }
.book-card .extras-pick label:hover { border-color: var(--sand); }
.book-card .extras-pick label:has(input:checked) { background: var(--white); border-color: var(--lagoon); }
.book-card .extras-pick input { appearance: auto; flex: none; width: 16px; height: 16px; min-height: 0; margin: 0; padding: 0; border: 0; accent-color: var(--lagoon); cursor: pointer; }
.book-copy .now { color: var(--gold); }

/* ---------- Amenities ---------- */
.amenities { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; position: relative; }
.amenities li { display: flex; align-items: center; gap: 14px; padding: 20px; border-radius: var(--r-md); background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.08); font-weight: 500; transition: background-color .3s var(--ease), border-color .3s var(--ease); }
.amenities li:hover { background: rgba(255,255,255,.09); border-color: rgba(244,178,62,.4); }
.amenities svg { color: var(--gold); }
@media (max-width: 980px) { .amenities { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .amenities li { padding: 14px 12px; gap: 10px; font-size: .9rem; } }

/* ---------- Gallery rail ---------- */
.gallery-head { max-width: none; display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 24px; }
.gallery-head h2 { margin: 0; }
.rail-nav { display: flex; gap: 10px; }
.round-btn { width: 54px; height: 54px; border-radius: 50%; border: 1.5px solid var(--sand); background: var(--white); color: var(--ink); font-size: 1.2rem; cursor: pointer; transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease); }
.round-btn:hover { background: var(--lagoon); color: var(--white); border-color: var(--lagoon); }
.filters { display: flex; gap: 8px; margin-bottom: 28px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
.filters::-webkit-scrollbar { display: none; }
.chip-filter { display: inline-flex; align-items: center; gap: 8px; border: 1.5px solid var(--sand); background: var(--white); color: var(--ink); font: 500 .95rem/1.2 var(--sans); padding: .65em 1.15em; border-radius: 999px; cursor: pointer; white-space: nowrap; transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease); }
.chip-filter:hover { border-color: var(--lagoon); }
.chip-filter.is-active { background: var(--ink); border-color: var(--ink); color: var(--white); }
.count { font-size: .78rem; padding: 1px 7px; border-radius: 999px; background: rgba(255,255,255,.18); }
.rail {
  list-style: none; margin: 0; display: flex; gap: 14px; overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scroll-padding-inline: max(var(--gutter), (100% - 1240px) / 2);
  padding: 0 max(var(--gutter), (100% - 1240px) / 2) 8px; scrollbar-width: none; cursor: grab;
}
.rail::-webkit-scrollbar { display: none; }
.rail.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.rail.is-dragging a { pointer-events: none; }
.rail li { flex: none; scroll-snap-align: start; height: clamp(280px, 32vw, 440px); }
.rail li.is-hidden { display: none; }
.rail a { display: block; height: 100%; border-radius: var(--r-lg); overflow: hidden; background: var(--sand); }
.rail img { height: 100%; width: auto; max-width: none; object-fit: cover; transition: transform .9s var(--ease); -webkit-user-drag: none; user-select: none; }
.rail a:hover img { transform: scale(1.04); }
.rail-progress { height: 3px; background: var(--sand); border-radius: 3px; margin-top: 26px; overflow: hidden; }
.rail-progress span { display: block; height: 100%; width: 20%; background: var(--lagoon); border-radius: 3px; transform-origin: left; transition: width .2s linear, transform .2s linear; }
@media (max-width: 600px) { .rail-nav { display: none; } .rail li { height: 54vw; } }

/* ---------- Location ---------- */
.loc-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(36px, 6vw, 84px); align-items: center; }
.loc-media { position: relative; border-radius: var(--r-xl); overflow: hidden; aspect-ratio: 4 / 4.6; }
.loc-media img { width: 100%; height: 100%; object-fit: cover; }
.loc-card { position: absolute; left: 14px; right: 14px; bottom: 14px; display: flex; gap: 14px; align-items: center; padding: 16px 18px; border-radius: var(--r-md); color: var(--ink); }
.loc-card svg { width: 28px; height: 28px; color: var(--lagoon); }
.loc-card p { margin: 0; font-size: .92rem; color: var(--drift); }
.loc-card .lc-title { color: var(--ink); font-weight: 700; font-size: 1rem; }
.places { list-style: none; padding: 0; margin: 28px 0 0; border-top: 1px solid var(--sand); }
.places li { display: grid; grid-template-columns: 44px 1fr auto; gap: 16px; align-items: start; padding: 18px 0; border-bottom: 1px solid var(--sand); transition: padding-left .3s var(--ease); }
.places li:hover { padding-left: 6px; }
.places .num { font-family: var(--serif); color: var(--gold); font-size: 1.2rem; line-height: 1.5; }
.places h3 { font-family: var(--sans); font-weight: 600; font-size: 1.05rem; color: var(--ink); margin: 0 0 .15em; }
.places p { margin: 0; color: var(--drift); font-size: .94rem; }
.dist { font-size: .85rem; font-weight: 600; color: var(--lagoon); background: var(--mist); padding: 5px 11px; border-radius: 999px; white-space: nowrap; }
@media (max-width: 900px) { .loc-grid { grid-template-columns: 1fr; } .loc-media { aspect-ratio: 4 / 3; } }
@media (max-width: 480px) { .places li { grid-template-columns: 34px 1fr; } .dist { grid-column: 2; justify-self: start; } }

/* ---------- Steps ---------- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.step { background: var(--white); border-radius: var(--r-xl); padding: 30px; min-height: 260px; display: flex; flex-direction: column; border: 1px solid var(--sand); transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.step:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.step-num { font-family: var(--serif); font-size: 3.4rem; line-height: 1; color: var(--lagoon); margin-bottom: auto; }
.step h3 { margin: 28px 0 8px; }
.step p { margin: 0; color: var(--drift); }
.step-gold { background: var(--gold); border-color: var(--gold); }
.step-gold .step-num, .step-gold h3 { color: var(--ink); }
.step-gold p { color: rgba(22,38,43,.78); }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr; } .step { min-height: 0; } .step h3 { margin-top: 20px; } }

/* ---------- Details + FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(36px, 6vw, 88px); align-items: start; }
@media (max-width: 900px) { .faq-grid { grid-template-columns: 1fr; } }
.times { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 8px 0 30px; }
.times div { background: var(--shell); border-radius: var(--r-md); padding: 18px 20px; }
.times dt { font-size: .74rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--drift); }
.times dd { margin: 6px 0 0; font-family: var(--serif); font-size: 1.5rem; color: var(--lagoon); }
.rules-title { font-size: 1.3rem; }
.ticks { list-style: none; padding: 0; margin: 1em 0 0; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 32px; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .3em; width: 20px; height: 20px; border-radius: 50%; background: var(--mist) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230E4A55' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 12px no-repeat; }
.faq { display: grid; gap: 10px; }
.faq details { background: var(--shell); border-radius: var(--r-md); padding: 0 22px; transition: background-color .25s var(--ease); }
.faq details[open] { background: var(--mist); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 0; font-weight: 600; font-size: 1.05rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--white); color: var(--lagoon); font-size: 1.3rem; font-weight: 400; transition: transform .3s var(--ease), background-color .3s var(--ease), color .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); background: var(--lagoon); color: var(--white); }
.faq details p { color: var(--drift); margin: -6px 0 20px; padding-right: 40px; }

/* ---------- Book ---------- */
.book { position: relative; z-index: 1; overflow: hidden; background: var(--lagoon); color: var(--shell); padding: clamp(72px, 10vw, 132px) 0; margin: 10px; border-radius: var(--r-xl); }
.glow-book { left: -260px; right: auto; top: auto; bottom: -360px; }
.book h2 { color: var(--shell); }
.book-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 460px; gap: clamp(36px, 6vw, 88px); align-items: center; }
.book-copy > p { color: rgba(247,243,236,.85); max-width: 32em; }
.contact-list { list-style: none; padding: 0; margin: 30px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.contact-pill { display: inline-flex; align-items: center; gap: 10px; padding: 12px 18px; border-radius: 999px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.15); color: var(--shell); text-decoration: none; font-weight: 600; transition: background-color .2s var(--ease), border-color .2s var(--ease); }
.contact-pill:hover { background: rgba(255,255,255,.14); border-color: var(--gold); color: var(--shell); }
.contact-pill svg { color: var(--gold); }
.book-card { background: var(--white); color: var(--ink); border-radius: var(--r-xl); padding: 26px; box-shadow: 0 40px 80px -30px rgba(0,0,0,.5); }
.book-card-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.from { margin: 0; color: var(--drift); }
.from strong { font-size: 2.1rem; color: var(--ink); }
.chip-live { display: inline-flex; align-items: center; gap: 9px; padding: 7px 13px; border-radius: 999px; background: var(--mist); color: var(--palm); font-weight: 700; font-size: .85rem; }
.field { display: grid; gap: 5px; margin-bottom: 11px; min-width: 0; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field label { font-size: .74rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--drift); }
.optional { text-transform: none; letter-spacing: 0; font-weight: 500; }
.field input, .field select, .field textarea { width: 100%; font: 500 1rem/1.3 var(--sans); color: var(--ink); background: var(--shell); border: 1.5px solid transparent; border-radius: var(--r-md); padding: 11px 14px; min-height: 46px; transition: border-color .2s var(--ease), background-color .2s var(--ease); }
.field select { appearance: none; background: var(--shell) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230E4A55' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") right 14px center / 16px no-repeat; padding-right: 40px; }
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--lagoon); background-color: var(--white); }
.field input[aria-invalid="true"] { border-color: var(--coral); }
.estimate { margin: 4px 0 14px; padding: 13px 15px; border-radius: var(--r-md); background: var(--glow); font-weight: 600; }
.estimate:empty, .form-error:empty { display: none; }
.form-error { color: var(--coral); font-weight: 600; margin: 0 0 12px; }
.book-card .small { margin: 12px 0 0; }
@media (max-width: 980px) { .book-grid { grid-template-columns: minmax(0, 1fr); } .book-card { max-width: 560px; } }
@media (max-width: 560px) { .book { margin: 6px; border-radius: var(--r-lg); } }
@media (max-width: 420px) { .book-card { padding: 22px 18px; border-radius: var(--r-lg); } .field-row { grid-template-columns: 1fr; gap: 0; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--deeper); color: rgba(247,243,236,.75); padding: 64px 0 0; margin-top: -40px; padding-top: 104px; overflow: hidden; font-size: .95rem; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; align-items: start; }
.footer-mark { width: 72px; height: auto; margin-bottom: 16px; }
.site-footer nav { display: grid; gap: 8px; }
.site-footer a { color: var(--shell); text-decoration: none; }
.site-footer a:hover { color: var(--gold); }
.copy { color: rgba(247,243,236,.5); }
.wordmark { font-family: var(--serif); font-size: clamp(3rem, 13.4vw, 14rem); line-height: .8; letter-spacing: -.02em; text-align: center; white-space: nowrap; margin: 48px 0 0; transform: translateY(.12em);
  background: linear-gradient(180deg, rgba(247,243,236,.22), rgba(247,243,236,.02)); -webkit-background-clip: text; background-clip: text; color: transparent; }
@media (max-width: 760px) { .footer-top { grid-template-columns: 1fr; } }

/* ---------- Floating WhatsApp ---------- */
.wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 40; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: var(--gold); color: var(--ink); box-shadow: 0 14px 28px -8px rgba(7,42,49,.55); transition: transform .3s var(--ease), opacity .3s var(--ease); }
.wa-float:hover { transform: scale(1.07); color: var(--ink); }
.wa-float svg { width: 26px; height: 26px; }
.wa-float.is-away { opacity: 0; transform: scale(.7); pointer-events: none; }

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 90; background: rgba(7,24,28,.95); display: grid; grid-template-columns: 72px 1fr 72px; align-items: center; opacity: 0; transition: opacity .3s var(--ease); }
.lightbox[hidden] { display: none; }
.lightbox.is-open { opacity: 1; }
.lightbox figure { margin: 0; grid-column: 2; display: grid; justify-items: center; gap: 14px; }
.lightbox img { max-height: 82vh; max-height: 82dvh; width: auto; border-radius: var(--r-md); }
.lightbox figcaption { color: var(--shell); font-size: .95rem; text-align: center; }
.lightbox button { background: rgba(255,255,255,.1); color: var(--white); border: 0; width: 52px; height: 52px; border-radius: 50%; font-size: 2rem; line-height: 1; cursor: pointer; justify-self: center; transition: background-color .2s; }
.lightbox button:hover { background: rgba(255,255,255,.22); }
.lb-prev { grid-column: 1; } .lb-next { grid-column: 3; }
.lb-close { position: absolute; top: 16px; right: 16px; }
@media (max-width: 640px) {
  .lightbox { grid-template-columns: 1fr; }
  .lightbox figure { grid-column: 1; padding: 0 8px; }
  .lb-prev, .lb-next { position: absolute; bottom: 22px; }
  .lb-prev { left: calc(50% - 64px); } .lb-next { right: calc(50% - 64px); }
}

/* ---------- Date buttons (open the picker) ---------- */
.date-btn { appearance: none; border: 0; background: transparent; font: 600 1rem/1.3 var(--sans); color: var(--ink); padding: 0; width: 100%; text-align: left; cursor: pointer; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.date-btn.is-empty { color: var(--drift); font-weight: 500; }
.qb-field .date-btn:focus-visible { outline: none; }
.field .field-date { background: var(--shell) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230E4A55' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='18' rx='2'/%3E%3Cpath d='M16 2v4M8 2v4M3 10h18'/%3E%3C/svg%3E") right 13px center / 17px no-repeat; border: 1.5px solid transparent; border-radius: var(--r-md); padding: 11px 38px 11px 14px; min-height: 46px; font-weight: 500; transition: border-color .2s var(--ease), background-color .2s var(--ease); }
.field .field-date:hover { border-color: var(--sand); }
.field .field-date:focus-visible { outline: none; border-color: var(--lagoon); background-color: var(--white); }
.field .field-date[aria-invalid="true"] { border-color: var(--coral); }

/* ---------- Calendar grid (picker + admin) ---------- */
.cal-month { min-width: 0; }
.cal-title { font-family: var(--serif); font-size: 1.2rem; color: var(--ink); text-align: center; margin: 0 0 10px; }
.cal-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 3px 0; }
.cal-wd { font-size: .72rem; font-weight: 700; letter-spacing: .06em; color: var(--drift); text-align: center; padding: 4px 0 6px; }
.cal-day { position: relative; height: 42px; border: 0; background: transparent; border-radius: 999px; font: 600 .95rem/1 var(--sans); color: var(--ink); cursor: pointer; transition: background-color .15s var(--ease), color .15s var(--ease); }
.cal-day:hover:not(:disabled) { background: var(--mist); }
.cal-day:focus-visible { outline: 2px solid var(--gold); outline-offset: -2px; }
.cal-day:disabled { color: rgba(86,106,112,.38); cursor: default; }
.cal-day.is-today::after { content: ""; position: absolute; left: 50%; bottom: 5px; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: var(--gold); }
.cal-day.is-booked { color: rgba(86,106,112,.6); text-decoration: line-through; text-decoration-thickness: 1.5px; background: repeating-linear-gradient(135deg, transparent 0 5px, rgba(194,83,46,.1) 5px 7px); border-radius: 0; }
.cal-day.in-range, .cal-day.in-preview { background: var(--mist); border-radius: 0; }
.cal-day.is-start, .cal-day.is-end { background: var(--lagoon); color: var(--white); border-radius: 999px; text-decoration: none; }
.cal-day.is-start:hover, .cal-day.is-end:hover { background: var(--deep); }

/* ---------- Date-range picker dialog ---------- */
.dp { position: fixed; inset: 0; z-index: 95; display: grid; place-items: center; padding: 16px; opacity: 0; transition: opacity .2s var(--ease); }
.dp[hidden] { display: none; }
.dp.is-open { opacity: 1; }
.dp-backdrop { position: absolute; inset: 0; background: rgba(7,24,28,.55); }
.dp-panel { position: relative; width: min(760px, 100%); max-height: calc(100dvh - 32px); overflow: auto; background: var(--white); border-radius: var(--r-lg); padding: 22px 24px 18px; box-shadow: 0 40px 90px -30px rgba(0,0,0,.6); transform: translateY(12px); transition: transform .25s var(--ease); }
.dp.is-open .dp-panel { transform: none; }
.dp-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; margin: 0 48px 16px 0; }
.dp-title { font-family: var(--serif); font-size: 1.45rem; color: var(--ink); margin: 0 0 4px; }
.dp-legend { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; font-size: .82rem; color: var(--drift); margin: 0; }
.dp-key { display: inline-block; width: 14px; height: 14px; border-radius: 4px; }
.dp-key-free { border: 1.5px solid var(--sand); }
.dp-key-booked { margin-left: 10px; background: repeating-linear-gradient(135deg, var(--shell) 0 3px, rgba(194,83,46,.4) 3px 5px); }
.dp-nav { display: flex; gap: 8px; }
.dp-nav .round-btn { width: 40px; height: 40px; font-size: 1rem; }
.dp-nav .round-btn:disabled { opacity: .35; pointer-events: none; }
.dp-months { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 28px; }
.dp-foot { display: flex; align-items: center; gap: 12px; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--sand); }
.dp-summary { flex: 1; margin: 0; font-weight: 600; color: var(--ink); font-size: .95rem; }
.dp-clear { border: 0; background: none; font: 600 .95rem var(--sans); color: var(--drift); text-decoration: underline; cursor: pointer; padding: 6px 2px; }
.dp-done { padding: .75em 1.6em; }
.dp-x { position: absolute; top: 14px; right: 14px; width: 38px; height: 38px; border-radius: 50%; border: 0; background: var(--shell); color: var(--ink); font-size: 1.4rem; line-height: 1; cursor: pointer; }
.dp-x:hover { background: var(--sand); }
html.dp-lock { overflow: hidden; }
@media (max-width: 560px) {
  .dp { padding: 0; place-items: end stretch; }
  .dp-panel { width: 100%; border-radius: var(--r-lg) var(--r-lg) 0 0; padding: 18px 16px 16px; max-height: 92dvh; }
  .dp-head { margin-right: 44px; flex-wrap: wrap; }
  .dp-title { font-size: 1.25rem; }
  .dp-foot { flex-wrap: wrap; }
  .dp-summary { order: -1; flex-basis: 100%; }
  .dp-done { margin-left: auto; }
}

/* ---------- Admin: availability ---------- */
.admin-body { background: var(--shell); min-height: 100vh; min-height: 100dvh; }
.admin-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 0; }
.admin-top img { height: 40px; width: auto; }
.admin-main { padding: 12px 0 64px; }
.admin-card { background: var(--white); border-radius: var(--r-lg); padding: clamp(20px, 3vw, 32px); box-shadow: 0 20px 60px -40px rgba(7,42,49,.45); }
.admin-login { max-width: 420px; margin: 8vh auto 0; }
.admin-login h1, .admin-head h1 { font-size: clamp(1.7rem, 3vw, 2.3rem); margin-bottom: 8px; }
.admin-login .btn { margin-top: 4px; }
.admin-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 14px 24px; margin-bottom: 18px; }
.admin-head p { margin: 0; color: var(--drift); max-width: 46em; }
.admin-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin-bottom: 18px; }
.seg { display: inline-flex; background: var(--shell); border-radius: 999px; padding: 4px; }
.seg button { border: 0; background: transparent; font: 600 .92rem var(--sans); color: var(--drift); padding: 9px 16px; border-radius: 999px; cursor: pointer; }
.seg button[aria-pressed="true"] { background: var(--lagoon); color: var(--white); }
.mode-hint { margin: 0; font-size: .9rem; color: var(--drift); }
.save-state { font-size: .9rem; font-weight: 600; color: var(--palm); margin-left: auto; }
.save-state.is-error { color: var(--coral); }
.admin-cal { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 28px; user-select: none; }
.admin-cal .cal-day.is-booked { color: var(--white); text-decoration: none; background: var(--coral); border-radius: 0; }
.admin-cal .cal-day.is-booked:hover { background: #a9461f; }
.admin-cal .cal-day.is-booked:disabled { background: rgba(194,83,46,.35); }
.admin-cal .cal-day.is-pending { background: var(--gold); color: var(--ink); border-radius: 999px; }
.admin-nav { display: flex; gap: 8px; }
.admin-nav .round-btn { width: 42px; height: 42px; font-size: 1rem; }
.admin-nav .round-btn:disabled { opacity: .35; pointer-events: none; }
.admin-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.admin-list li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px; border: 1px solid var(--sand); border-radius: var(--r-md); }
.admin-list li span { color: var(--drift); font-size: .9rem; }
.admin-list button { border: 0; background: none; color: var(--coral); font: 600 .9rem var(--sans); cursor: pointer; text-decoration: underline; padding: 4px; white-space: nowrap; flex-shrink: 0; }
.admin-nav, .seg { user-select: none; -webkit-user-select: none; }
@media (max-width: 480px) { .admin-list li { flex-wrap: wrap; padding: 12px 14px; } .admin-list li > div { flex: 1 1 100%; } .admin-list button { padding: 2px 0; } }
.admin-empty { color: var(--drift); margin: 0; }
.admin-section { margin-top: 28px; }
.admin-section h2 { font-size: 1.35rem; margin-bottom: 12px; }
.admin-legend { display: flex; flex-wrap: wrap; gap: 16px; font-size: .88rem; color: var(--drift); margin: 0 0 14px; }
.admin-legend span::before { content: ""; display: inline-block; width: 14px; height: 14px; border-radius: 4px; margin-right: 6px; vertical-align: -2px; }
.admin-legend .k-free::before { border: 1.5px solid var(--sand); }
.admin-legend .k-booked::before { background: var(--coral); }
.btn-plain { border: 1.5px solid var(--sand); background: var(--white); color: var(--ink); }
.btn-plain:hover { border-color: var(--lagoon); }

/* ---------- Reveal (transform + opacity only) ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- 404 ---------- */
.notfound { min-height: 100vh; min-height: 100dvh; display: grid; place-items: center; text-align: center; background: var(--lagoon); color: var(--shell); padding: 24px; }
.notfound h1 { color: var(--shell); font-size: clamp(2.4rem, 6vw, 4.2rem); }
.notfound-logo { height: 56px; width: auto; margin: 0 auto 32px; }
.notfound .lead { margin-inline: auto; color: rgba(247,243,236,.85); }
.notfound .btn { margin-top: 12px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
  .marquee-track { animation: none; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ---------- Plain pages: sign and pay, booking confirmation, agreement ---------- */
.plain-body { background: var(--shell); min-height: 100vh; min-height: 100dvh; }
.plain-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 0; }
.plain-top img { height: 40px; width: auto; }
.plain-main { padding: 8px 0 72px; }
.plain-card { background: var(--white); border-radius: var(--r-lg); padding: clamp(20px, 3.2vw, 36px); box-shadow: 0 20px 60px -40px rgba(7,42,49,.45); }
.plain-h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); margin: 0 0 10px; }
.plain-lead { color: var(--drift); max-width: 46em; margin: 0 0 24px; }
.plain-msg { max-width: 640px; }
.plain-msg h2 { font-size: 1.5rem; margin: 0 0 8px; }
.plain-msg p { color: var(--drift); margin: 0 0 18px; }
.steps-mini { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 14px; font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.steps-mini span { padding: 6px 12px; border-radius: 999px; background: var(--white); color: var(--drift); }
.steps-mini .is-on { background: var(--lagoon); color: var(--white); }

.sign-layout { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 24px; align-items: start; }
.sign-layout > .agreement { order: -1; }
.sum { position: sticky; top: 20px; padding: 24px; }
.sum-title { font-family: var(--serif); font-size: 1.35rem; margin: 0 0 12px; color: var(--ink); }
.sum-list { margin: 0; display: grid; gap: 0; }
.sum-list > div { display: flex; justify-content: space-between; gap: 14px; padding: 9px 0; border-bottom: 1px solid var(--sand); font-size: .95rem; }
.sum-list dt { color: var(--drift); }
.sum-list dd { margin: 0; font-weight: 600; text-align: right; color: var(--ink); }
.sum-total { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 14px 0 6px; }
.sum-total span { font-weight: 600; }
.sum-total strong { font-family: var(--serif); font-size: 1.8rem; font-weight: 400; color: var(--lagoon); }
.sum-note { font-size: .85rem; color: var(--drift); margin: 0 0 12px; }
.sum-later { font-size: .9rem; color: var(--drift); margin: 0 0 10px; }
.pay-choice { border: 0; padding: 0; margin: 16px 0 4px; display: grid; gap: 8px; }
.pay-choice legend { font-weight: 600; font-size: .95rem; padding: 0; margin-bottom: 8px; }
.pay-opt { display: flex; gap: 10px; align-items: flex-start; padding: 11px 12px; border: 1.5px solid var(--sand); border-radius: 12px; cursor: pointer; transition: border-color .15s, background-color .15s; }
.pay-opt:has(input:checked) { border-color: var(--lagoon); background: rgba(14, 74, 85, .05); }
.pay-opt input { width: 18px; height: 18px; margin: 2px 0 0; flex: none; accent-color: var(--lagoon); }
.pay-opt span { display: grid; gap: 2px; }
.pay-opt strong { font-size: .97rem; }
.pay-opt strong b { color: var(--lagoon); margin-left: 4px; }
.pay-opt small { color: var(--drift); font-size: .85rem; }
.balance-box { margin: 18px 0 0; padding: 16px; border: 1.5px solid var(--gold); border-radius: 14px; background: rgba(244, 178, 62, .1); }
.balance-box p { margin: 0 0 12px; }
.balance-box .form-error { margin: 10px 0 0; }
.sum-edit { font-weight: 600; font-size: .92rem; color: var(--lagoon); }

/* The agreement itself */
.k-doc { color: var(--ink); line-height: 1.6; font-size: .98rem; }
.k-head { text-align: center; padding-bottom: 18px; margin-bottom: 18px; border-bottom: 2px solid var(--gold); }
.k-property { font-family: var(--serif); font-size: 1.9rem; color: var(--lagoon); margin: 0; letter-spacing: .04em; }
.k-title { font-family: var(--sans); font-size: .92rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--drift); margin: 6px 0 0; }
.k-intro { margin: 0 0 6px; }
.k-sec { margin-top: 24px; break-inside: avoid-page; }
.k-sec h3 { font-family: var(--sans); font-size: .9rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--white); background: var(--lagoon); border-radius: 10px; padding: 9px 14px; margin: 0 0 12px; }
.k-sec p { margin: 0 0 10px; }
.k-sec ol, .k-sec ul { margin: 0 0 10px; padding-left: 1.4em; display: grid; gap: 6px; }
.k-details { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 24px; }
.k-details > div { display: grid; grid-template-columns: 11em minmax(0, 1fr); gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--sand); }
.k-details dt { color: var(--drift); font-size: .9rem; }
.k-details dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; }
.k-details .is-blank dd { border-bottom: 1px solid var(--ink); min-height: 1.4em; }
.k-sig-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 14px; }
.k-sig { border: 1px solid var(--sand); border-radius: var(--r-md); padding: 16px; min-width: 0; }
.k-sig-who { font-weight: 700; font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--drift); margin: 0 0 8px; }
.k-sig-img { height: 110px; border-bottom: 1.5px solid var(--ink); display: flex; align-items: flex-end; justify-content: flex-start; }
.k-sig-img img { max-height: 104px; max-width: 100%; }
.k-sig-mgmt span { font-family: var(--serif); font-size: 1.5rem; color: var(--lagoon); padding-bottom: 8px; }
.k-sig-lines { margin: 10px 0 0; display: grid; gap: 6px; }
.k-sig-lines > div { display: grid; grid-template-columns: 8.5em minmax(0, 1fr); gap: 8px; font-size: .92rem; }
.k-sig-lines dt { color: var(--drift); }
.k-sig-lines dd { margin: 0; font-weight: 600; border-bottom: 1px solid var(--sand); min-height: 1.4em; }
.k-sig-note { font-size: .82rem; color: var(--drift); margin: 10px 0 0 !important; }
.k-closing { margin-top: 26px !important; padding: 16px 18px; background: var(--shell); border-left: 3px solid var(--gold); border-radius: 0 12px 12px 0; }
.k-version { font-size: .78rem; color: var(--drift); text-align: right; margin: 10px 0 0; }

/* Signing */
.sign-form .field { margin-bottom: 14px; }
.label-like { font-size: .74rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--drift); }
.field-hint { font-size: .85rem; color: var(--drift); margin: 2px 0 0; }
.sig-pad { position: relative; height: 170px; border-radius: var(--r-md); background: var(--shell); border: 1.5px dashed var(--sand); }
.sig-pad canvas { position: absolute; inset: 0; width: 100%; height: 100%; touch-action: none; cursor: crosshair; border-radius: inherit; }
.sig-line { position: absolute; left: 18px; right: 18px; bottom: 36px; border-top: 1.5px solid rgba(22,38,43,.35); padding-top: 4px; font-size: .75rem; color: var(--drift); pointer-events: none; }
.sig-clear { position: absolute; top: 8px; right: 8px; border: 0; background: var(--white); border-radius: 999px; padding: 6px 12px; font: 600 .85rem var(--sans); color: var(--drift); cursor: pointer; box-shadow: 0 1px 3px rgba(0,0,0,.08); }
.sig-clear:hover { color: var(--ink); }
.agree { display: flex; gap: 10px; align-items: flex-start; margin: 4px 0 14px; font-size: .95rem; cursor: pointer; }
.agree input { width: 20px; height: 20px; margin: 2px 0 0; flex: none; accent-color: var(--lagoon); }
.secure-note { display: flex; gap: 8px; align-items: center; justify-content: center; font-size: .85rem; color: var(--drift); margin: 12px 0 0; text-align: center; }
.secure-note svg { width: 16px; height: 16px; fill: var(--palm); flex: none; }
.btn:disabled { opacity: .7; cursor: progress; }

/* Booking status */
.status { max-width: 760px; text-align: left; }
.status-icon { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; font-size: 1.6rem; font-weight: 700; margin: 0 0 14px; background: var(--mist); color: var(--lagoon); }
.status-icon:empty { display: none; }
.status[data-kind="ok"] .status-icon { background: var(--palm); color: var(--white); }
.status[data-kind="bad"] .status-icon { background: #F6E1D9; color: var(--coral); }
.status .sum-list { max-width: 520px; margin-bottom: 20px; }
.status-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.status-actions:empty { display: none; }
#signed { margin-top: 24px; }
.signed-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 20px; }
.signed-head h2 { font-size: 1.5rem; margin: 0; }
.rules-more { margin: 16px 0 0; }
.rules-more a { font-weight: 600; color: var(--lagoon); }

@media (max-width: 960px) {
  .sign-layout { grid-template-columns: minmax(0, 1fr); }
  .sign-layout > .agreement { order: 0; }
  .sum { position: static; }
}
@media (max-width: 640px) {
  .k-details, .k-sig-grid { grid-template-columns: minmax(0, 1fr); }
  .k-details > div { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .k-property { font-size: 1.6rem; }
  .plain-top img { height: 34px; }
}

@media print {
  .no-print, .plain-top, .steps-mini, .wa-float { display: none !important; }
  .plain-body { background: #fff; }
  .plain-main { padding: 0; }
  .wrap { width: 100%; }
  .plain-card { box-shadow: none; padding: 0; border-radius: 0; }
  .k-doc { font-size: 10.5pt; }
  .k-sec h3 { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .k-sign, .k-sig { break-inside: avoid; }
}
.bk-list li > div { min-width: 0; }
.bk-list li a { color: var(--lagoon); font-weight: 600; white-space: nowrap; }
.bk-badge { display: inline-block; font-style: normal; font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 3px 9px; border-radius: 999px; margin: 0 8px 4px 0; background: var(--shell); color: var(--drift); vertical-align: 1px; }
.bk.is-paid .bk-badge { background: var(--palm); color: var(--white); }
.bk-badge.is-owing { background: var(--gold); color: var(--ink); }
.bk-badge.is-full { background: var(--shell); color: var(--palm); }
.bk-side { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.btn-sm { padding: 7px 12px; font-size: .85rem; min-height: 0; }
.bk.is-pending .bk-badge { background: var(--glow); color: #8a5a00; }
.bk.is-cancelled, .bk.is-expired, .bk.is-failed { opacity: .65; }
.sum-links { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 0; }
#sign-form { scroll-margin-top: 24px; }
