/* ============================================================
   components.css — UI components
   Organic Gradient Resort Editorial
   ============================================================ */

/* ---------- Top legal / 18+ strip ---------- */
.disclosure {
  background: var(--ink);
  color: var(--bg);
  font-family: var(--font-sans);
  font-size: var(--fs-cap);
  letter-spacing: 0.04em;
}
.disclosure .row {
  width: var(--maxw); margin-inline: auto;
  padding: 7px 16px;
  display: flex; align-items: center; justify-content: center; gap: 10px;
  flex-wrap: wrap; text-align: center;
}
.disclosure a { color: var(--accent-soft); text-decoration: underline; text-underline-offset: 2px; }
.disclosure a:hover { color: #fff; }
.disclosure .sep { opacity: 0.4; }

/* ---------- Site header ---------- */
.site-header { position: sticky; top: 0; z-index: 90; background: rgba(255, 248, 239, 0.86); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--border); }
.site-header .bar {
  width: var(--maxw); margin-inline: auto;
  padding: 14px 16px;
  display: flex; align-items: center; gap: 18px;
}
.brand { display: inline-flex; align-items: center; gap: 12px; font-family: var(--font-sans); }
.brand .mark { width: 38px; height: 38px; border-radius: 50%; background: var(--grad-sunset); display: grid; place-items: center; color: var(--on-accent); box-shadow: var(--shadow-warm); flex: none; }
.brand .mark svg { width: 22px; height: 22px; }
.brand .name { display: block; font-family: var(--font-display); font-size: 1.18rem; font-weight: 600; color: var(--ink); line-height: 1.05; letter-spacing: var(--track-tight); }
.brand .tag { display: block; font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-faint); font-weight: 500; }

.anchor-strip { display: none; gap: 4px; margin-inline: auto; font-family: var(--font-sans); font-size: 0.9rem; }
.anchor-strip a { padding: 7px 11px; border-radius: var(--r-pill); color: var(--text-muted); font-weight: 500; transition: color var(--dur) var(--ease), background var(--dur) var(--ease); }
.anchor-strip a:hover, .anchor-strip a.is-active { color: var(--accent-ink); background: var(--accent-tint); }
@media (min-width: 1024px) { .anchor-strip { display: flex; } }

.header-actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.age-badge { display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border-radius: var(--r-pill); border: 1px solid var(--accent-line); background: var(--accent-tint); color: var(--accent-ink); font-family: var(--font-sans); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.04em; }
.menu-btn { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--border-strong); color: var(--ink); }
.menu-btn svg { width: 22px; height: 22px; }
@media (min-width: 1024px) { .menu-btn { display: none; } }

.mobile-menu { display: none; flex-direction: column; padding: 8px 16px 18px; gap: 2px; border-top: 1px solid var(--border); font-family: var(--font-sans); }
.mobile-menu.open { display: flex; }
.mobile-menu a { padding: 11px 8px; color: var(--ink); border-radius: var(--r-sm); font-weight: 500; }
.mobile-menu a:hover { background: var(--accent-tint); color: var(--accent-ink); }
.mobile-menu .mm-cta { margin-top: 8px; }
@media (min-width: 1024px) { .mobile-menu { display: none !important; } }

/* ---------- Map-first hero ---------- */
.map-hero {
  position: relative;
  min-height: 88vh;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: 1fr;
  overflow: hidden;
  background: var(--grad-warm);
}
.map-canvas { grid-column: 1 / -1; grid-row: 1; position: relative; min-height: 88vh; }
.map-canvas svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.map-sea-layer { fill: url(#seaGrad); }
.map-land-layer { fill: #EFE2CC; }
.map-land-layer-2 { fill: #E4D3B6; }
.map-path { fill: none; stroke: #C66A3D; stroke-width: 2; stroke-dasharray: 5 6; stroke-linecap: round; opacity: 0.7; }
.map-contour { fill: none; stroke: rgba(123,174,157,0.30); stroke-width: 1.2; }
.map-label { font-family: var(--font-sans); font-size: 13px; fill: #5A645C; letter-spacing: 0.06em; text-transform: uppercase; }
.map-label.sea { fill: #4F7E6E; }
.map-pin { transform-box: fill-box; transform-origin: center; }
.map-pin .pulse { fill: rgba(198,106,61,0.25); animation: pinpulse 2.6s var(--ease-soft) infinite; transform-origin: center; transform-box: fill-box; }
@keyframes pinpulse { 0% { transform: scale(0.6); opacity: 0.8; } 100% { transform: scale(2.4); opacity: 0; } }
.map-pin .dot { fill: #C66A3D; }
.map-pin .stem { stroke: #C66A3D; stroke-width: 2.4; }
.map-pin .ring { fill: #fff; stroke: #C66A3D; stroke-width: 2; }

.hero-card {
  grid-column: 2 / 7;
  grid-row: 1;
  align-self: center;
  z-index: 2;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-2);
  padding: clamp(22px, 3vw, 40px);
  max-width: 540px;
}
.hero-card .eyebrow { margin-bottom: 14px; }
.hero-card h1 { margin-bottom: 14px; }
.hero-card .deck { color: var(--text-muted); font-size: 1.1rem; line-height: 1.6; margin-bottom: 20px; }
.hero-card .hero-meta { display: flex; flex-wrap: wrap; gap: 18px 26px; margin-bottom: 24px; font-family: var(--font-sans); font-size: 0.85rem; color: var(--text-muted); }
.hero-card .hero-meta b { display: block; color: var(--ink); font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; font-weight: 700; margin-bottom: 2px; }
.hero-card .hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-card .hero-note { margin-top: 18px; font-family: var(--font-sans); font-size: 0.78rem; color: var(--text-faint); }

.hero-compass {
  position: absolute; right: clamp(16px, 4vw, 56px); top: clamp(16px, 4vw, 48px);
  z-index: 2; width: 64px; height: 64px; border-radius: 50%;
  background: rgba(255,255,255,0.8); border: 1px solid var(--border-strong);
  display: grid; place-items: center; font-family: var(--font-sans); font-size: 0.7rem; font-weight: 700; color: var(--accent-ink);
  box-shadow: var(--shadow-1);
}
.hero-compass .n { position: absolute; top: 6px; }
.hero-compass .s { position: absolute; bottom: 6px; color: var(--text-faint); }
.hero-compass .arrow { width: 4px; height: 26px; background: linear-gradient(to bottom, var(--accent) 50%, var(--sea) 50%); border-radius: 2px; }

@media (max-width: 900px) {
  .map-hero { min-height: auto; grid-template-rows: auto 1fr; }
  .map-canvas { min-height: 46vh; grid-row: 1; }
  .hero-card { grid-column: 1 / -1; grid-row: 2; align-self: stretch; margin: 0 16px 16px; max-width: none; }
  .hero-compass { width: 52px; height: 52px; right: 16px; top: 16px; }
}

/* ---------- Arrival facts ---------- */
.arrival { background: var(--surface-sunk); }
.arrival-grid { display: grid; grid-template-columns: 1fr; gap: var(--s-4); }
@media (min-width: 720px) { .arrival-grid { grid-template-columns: repeat(3, 1fr); } }
.arrival-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: var(--s-5); box-shadow: var(--shadow-1); }
.arrival-card .ic { width: 40px; height: 40px; border-radius: 50%; background: var(--accent-tint); display: grid; place-items: center; color: var(--accent-ink); margin-bottom: 14px; }
.arrival-card .ic svg { width: 22px; height: 22px; }
.arrival-card h3 { font-size: 1.15rem; margin-bottom: 6px; }
.arrival-card p { color: var(--text-muted); font-size: 0.98rem; font-family: var(--font-sans); }
.arrival-card .dist { font-family: var(--font-display); font-size: 1.6rem; color: var(--accent-ink); font-weight: 600; }
.arrival-card .dist small { font-family: var(--font-sans); font-size: 0.8rem; color: var(--text-faint); font-weight: 500; letter-spacing: 0.04em; }

/* ---------- Property intro split ---------- */
.split-text h2 { margin-bottom: 14px; }
.split-text p { color: var(--text-muted); }
.split-media { position: relative; }
.split-media img { width: 100%; border-radius: var(--r-xl); box-shadow: var(--shadow-2); }
.split-media .organic-mask img { border-radius: var(--r-blob); }
.split-media .cap { margin-top: 12px; font-family: var(--font-sans); font-size: 0.82rem; color: var(--text-faint); font-style: italic; }
.split-media .badge-float { position: absolute; left: -10px; top: 24px; background: var(--surface); border: 1px solid var(--border-strong); border-radius: var(--r-pill); padding: 8px 14px; font-family: var(--font-sans); font-size: 0.78rem; font-weight: 700; color: var(--accent-ink); box-shadow: var(--shadow-1); letter-spacing: 0.04em; }

/* ---------- Feature panel (casino / spa) ---------- */
.feature-panel { position: relative; border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--shadow-2); border: 1px solid var(--border); background: var(--surface); }
.feature-panel .fp-media { position: relative; min-height: 320px; }
.feature-panel .fp-media img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.feature-panel .fp-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(38,49,43,0.05) 0%, rgba(38,49,43,0.55) 100%); }
.feature-panel .fp-chip { position: absolute; top: 16px; left: 16px; }
.feature-panel .fp-body { padding: clamp(20px, 3vw, 34px); }
.feature-panel .fp-body h2 { margin-bottom: 12px; }
.feature-panel .fp-body p { color: var(--text-muted); }
.floor-highlights { display: grid; grid-template-columns: 1fr; gap: var(--s-3); margin-top: 22px; }
@media (min-width: 720px) { .floor-highlights { grid-template-columns: 1fr 1fr; } }
.floor-highlights li { display: flex; gap: 12px; align-items: flex-start; padding: 14px; border: 1px solid var(--border); border-radius: var(--r-md); background: var(--surface-2); }
.floor-highlights .fh-ic { width: 34px; height: 34px; border-radius: 50%; background: var(--accent-tint); color: var(--accent-ink); display: grid; place-items: center; flex: none; }
.floor-highlights .fh-ic svg { width: 18px; height: 18px; }
.floor-highlights h4 { font-family: var(--font-sans); font-size: 0.95rem; font-weight: 700; color: var(--ink); margin: 0 0 2px; }
.floor-highlights p { font-size: 0.86rem; color: var(--text-muted); margin: 0; font-family: var(--font-sans); }

/* ---------- Room cards ---------- */
.room-grid { display: grid; grid-template-columns: 1fr; gap: var(--s-5); }
@media (min-width: 720px) { .room-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .room-grid { grid-template-columns: repeat(3, 1fr); } }
.room-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-1); transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease); display: flex; flex-direction: column; }
.room-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-2); }
.room-card .rc-media { position: relative; aspect-ratio: 4/3; overflow: hidden; }
.room-card .rc-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 600ms var(--ease-soft); }
.room-card:hover .rc-media img { transform: scale(1.04); }
.room-card .rc-tag { position: absolute; top: 12px; left: 12px; }
.room-card .rc-body { padding: var(--s-5); display: flex; flex-direction: column; gap: 8px; flex: 1; }
.room-card .rc-body h3 { font-size: 1.3rem; }
.room-card .rc-body p { color: var(--text-muted); font-size: 0.95rem; font-family: var(--font-sans); }
.room-card .rc-feats { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; padding-top: 10px; }
.room-card .rc-feats span { font-family: var(--font-sans); font-size: 0.76rem; color: var(--text-muted); background: var(--surface-2); padding: 4px 10px; border-radius: var(--r-pill); border: 1px solid var(--border); }
.room-card .rc-from { font-family: var(--font-sans); font-size: 0.78rem; color: var(--text-faint); }
.room-card .rc-from b { color: var(--accent-ink); font-size: 1.05rem; font-family: var(--font-display); font-weight: 600; }

/* ---------- Dining strip ---------- */
.dining-strip { display: grid; grid-template-columns: 1fr; gap: var(--s-5); }
@media (min-width: 860px) { .dining-strip { grid-template-columns: repeat(3, 1fr); } }
.dine-card { position: relative; border-radius: var(--r-lg); overflow: hidden; min-height: 360px; box-shadow: var(--shadow-1); border: 1px solid var(--border); }
.dine-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.dine-card .dine-grad { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(38,49,43,0.0) 35%, rgba(38,49,43,0.78) 100%); }
.dine-card .dine-body { position: absolute; inset: auto 0 0 0; padding: 22px; color: #fff; }
.dine-card .dine-body h3 { color: #fff; font-size: 1.4rem; }
.dine-card .dine-body p { color: rgba(255,255,255,0.88); font-family: var(--font-sans); font-size: 0.9rem; }
.dine-card .dine-tag { position: absolute; top: 14px; right: 14px; }

/* ---------- Spa block (feature) ---------- */
.spa-block { background: var(--grad-warm); border-radius: var(--r-xl); overflow: hidden; border: 1px solid var(--border); box-shadow: var(--shadow-2); }
.spa-block .spa-grid { display: grid; grid-template-columns: 1fr; gap: 0; }
@media (min-width: 860px) { .spa-block .spa-grid { grid-template-columns: 1.1fr 1fr; } }
.spa-block .spa-media { position: relative; min-height: 340px; }
.spa-block .spa-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.spa-block .spa-body { padding: clamp(24px, 4vw, 48px); }
.spa-block .spa-body h2 { margin-bottom: 12px; }
.spa-block .spa-body p { color: var(--text-muted); }
.spa-list { display: grid; grid-template-columns: 1fr; gap: var(--s-3); margin-top: 22px; }
@media (min-width: 560px) { .spa-list { grid-template-columns: 1fr 1fr; } }
.spa-list li { display: flex; gap: 12px; align-items: flex-start; }
.spa-list .sl-ic { width: 36px; height: 36px; border-radius: 50%; background: var(--sea-tint); color: var(--sea-ink); display: grid; place-items: center; flex: none; }
.spa-list .sl-ic svg { width: 18px; height: 18px; }
.spa-list h4 { font-family: var(--font-sans); font-size: 0.95rem; font-weight: 700; color: var(--ink); margin: 0 0 2px; }
.spa-list p { font-size: 0.86rem; color: var(--text-muted); margin: 0; font-family: var(--font-sans); }

/* ---------- Gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (min-width: 760px) { .gallery { grid-template-columns: repeat(4, 1fr); } }
.gallery-item { position: relative; border-radius: var(--r-md); overflow: hidden; cursor: pointer; border: 1px solid var(--border); box-shadow: var(--shadow-1); }
.gallery-item.tall { grid-row: span 2; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 1/1; transition: transform 500ms var(--ease-soft); }
.gallery-item.tall img { aspect-ratio: 1/2; }
.gallery-item:hover img { transform: scale(1.05); }
.gallery-item .gcap { position: absolute; left: 0; right: 0; bottom: 0; padding: 14px 12px 10px; color: #fff; font-family: var(--font-sans); font-size: 0.78rem; background: linear-gradient(180deg, transparent, rgba(38,49,43,0.78)); opacity: 0; transition: opacity var(--dur) var(--ease); }
.gallery-item:hover .gcap, .gallery-item:focus-visible .gcap { opacity: 1; }
@media (max-width: 540px) { .gallery-item.tall { grid-row: auto; } .gallery-item.tall img { aspect-ratio: 1/1; } }

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 300; display: none; background: rgba(20, 26, 23, 0.92); backdrop-filter: blur(4px); }
.lightbox.open { display: grid; place-items: center; }
.lightbox figure { margin: 0; max-width: min(1100px, 92vw); text-align: center; }
.lightbox img { max-height: 82vh; max-width: 100%; border-radius: var(--r-md); box-shadow: var(--shadow-2); }
.lightbox figcaption { color: #FBEFE0; font-family: var(--font-sans); font-size: 0.9rem; margin-top: 14px; }
.lightbox .lb-close, .lightbox .lb-prev, .lightbox .lb-next { position: absolute; background: rgba(255,255,255,0.12); color: #fff; border: 1px solid rgba(255,255,255,0.2); border-radius: 50%; width: 48px; height: 48px; display: grid; place-items: center; font-size: 1.3rem; transition: background var(--dur) var(--ease); }
.lightbox .lb-close:hover, .lightbox .lb-prev:hover, .lightbox .lb-next:hover { background: var(--accent); }
.lightbox .lb-close { top: 24px; right: 24px; }
.lightbox .lb-prev { left: 18px; top: 50%; transform: translateY(-50%); }
.lightbox .lb-next { right: 18px; top: 50%; transform: translateY(-50%); }

/* ---------- FAQ accordion ---------- */
.faq { display: grid; gap: 12px; }
.faq-item { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-md); box-shadow: var(--shadow-1); overflow: hidden; }
.faq-item summary { list-style: none; cursor: pointer; padding: 18px 20px; display: flex; align-items: center; justify-content: space-between; gap: 16px; font-family: var(--font-display); font-size: 1.18rem; font-weight: 600; color: var(--ink); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .chev { flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--accent-tint); color: var(--accent-ink); display: grid; place-items: center; transition: transform var(--dur) var(--ease); font-size: 1.1rem; }
.faq-item[open] summary .chev { transform: rotate(45deg); }
.faq-item .faq-a { padding: 0 20px 20px; color: var(--text-muted); font-family: var(--font-sans); font-size: 0.98rem; line-height: 1.65; }

/* ---------- Enquiry form ---------- */
.enquiry { background: var(--surface-sunk); }
.enquiry-wrap { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-xl); box-shadow: var(--shadow-2); overflow: hidden; }
.enquiry-grid { display: grid; grid-template-columns: 1fr; }
@media (min-width: 900px) { .enquiry-grid { grid-template-columns: 1fr 1.3fr; } }
.enquiry-aside { background: var(--grad-warm); padding: clamp(24px, 4vw, 44px); }
.enquiry-aside h2 { margin-bottom: 12px; }
.enquiry-aside p { color: var(--text-muted); }
.enquiry-aside .ea-list { margin-top: 22px; display: grid; gap: 14px; }
.enquiry-aside .ea-list li { display: flex; gap: 12px; align-items: flex-start; font-family: var(--font-sans); font-size: 0.92rem; color: var(--text); }
.enquiry-aside .ea-list .ea-ic { width: 30px; height: 30px; border-radius: 50%; background: var(--surface); color: var(--accent-ink); display: grid; place-items: center; flex: none; }
.enquiry-aside .ea-list .ea-ic svg { width: 16px; height: 16px; }
.enquiry-form { padding: clamp(24px, 4vw, 44px); }
.enquiry-form .field { margin-bottom: 18px; }
.enquiry-form .row2 { display: grid; grid-template-columns: 1fr; gap: 18px; }
@media (min-width: 560px) { .enquiry-form .row2 { grid-template-columns: 1fr 1fr; } }
.enquiry-form label { display: block; font-family: var(--font-sans); font-size: 0.82rem; font-weight: 700; color: var(--ink); margin-bottom: 6px; letter-spacing: 0.02em; }
.enquiry-form label .req { color: var(--accent-ink); }
.enquiry-form input, .enquiry-form select, .enquiry-form textarea { width: 100%; padding: 12px 14px; border: 1px solid var(--border-strong); border-radius: var(--r-md); background: var(--bg); color: var(--ink); font-family: var(--font-sans); font-size: 0.98rem; transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease); }
.enquiry-form input:focus, .enquiry-form select:focus, .enquiry-form textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-tint); outline: none; }
.enquiry-form textarea { min-height: 110px; resize: vertical; }
.enquiry-form .checks { display: grid; grid-template-columns: 1fr; gap: 8px; }
@media (min-width: 560px) { .enquiry-form .checks { grid-template-columns: 1fr 1fr; } }
.enquiry-form .check { display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px; border: 1px solid var(--border); border-radius: var(--r-md); background: var(--surface-2); font-family: var(--font-sans); font-size: 0.9rem; cursor: pointer; }
.enquiry-form .check input { width: auto; margin-top: 3px; }
.enquiry-form .consent { font-family: var(--font-sans); font-size: 0.84rem; color: var(--text-muted); }
.enquiry-form .notice { background: var(--accent-tint); border: 1px solid var(--accent-line); border-radius: var(--r-md); padding: 12px 14px; font-family: var(--font-sans); font-size: 0.84rem; color: var(--accent-ink); margin-bottom: 18px; }
.enquiry-form .notice b { font-weight: 700; }

/* ---------- Responsible-gambling panel ---------- */
.rg-panel { background: var(--ink); color: var(--bg); border-radius: var(--r-xl); padding: clamp(24px, 4vw, 44px); box-shadow: var(--shadow-2); }
.rg-panel h2 { color: #fff; }
.rg-panel h2 em { color: var(--accent-soft); }
.rg-panel p { color: rgba(255,248,239,0.82); font-family: var(--font-sans); }
.rg-grid { display: grid; grid-template-columns: 1fr; gap: 14px; margin-top: 22px; }
@media (min-width: 760px) { .rg-grid { grid-template-columns: repeat(4, 1fr); } }
.rg-card { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.12); border-radius: var(--r-md); padding: 18px; }
.rg-card .rg-ic { width: 38px; height: 38px; border-radius: 50%; background: var(--accent); color: #fff; display: grid; place-items: center; margin-bottom: 12px; }
.rg-card .rg-ic svg { width: 20px; height: 20px; }
.rg-card h4 { font-family: var(--font-sans); font-size: 0.95rem; font-weight: 700; color: #fff; margin: 0 0 4px; }
.rg-card p { font-size: 0.84rem; color: rgba(255,248,239,0.74); margin: 0 0 8px; }
.rg-card a { color: var(--accent-soft); font-family: var(--font-sans); font-size: 0.82rem; text-decoration: underline; text-underline-offset: 2px; }
.rg-panel .rg-foot { margin-top: 20px; display: flex; flex-wrap: wrap; gap: 10px 18px; align-items: center; font-family: var(--font-sans); font-size: 0.82rem; color: rgba(255,248,239,0.7); }
.rg-panel .rg-foot a { color: var(--accent-soft); }

/* ---------- Cookie banner ---------- */
.cookie { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 250; max-width: 520px; margin-inline: auto; background: var(--surface); border: 1px solid var(--border-strong); border-radius: var(--r-lg); box-shadow: var(--shadow-2); padding: 18px 20px; transform: translateY(140%); opacity: 0; transition: transform 400ms var(--ease), opacity 400ms var(--ease); }
.cookie.show { transform: translateY(0); opacity: 1; }
.cookie p { font-family: var(--font-sans); font-size: 0.86rem; color: var(--text-muted); margin: 0 0 14px; }
.cookie p a { color: var(--accent-ink); text-decoration: underline; }
.cookie .ck-actions { display: flex; gap: 10px; flex-wrap: wrap; }
@media (max-width: 540px) { .cookie { left: 12px; right: 12px; bottom: 12px; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--bg); padding-block: var(--s-8) var(--s-6); margin-top: var(--s-9); }
.site-footer .foot-grid { width: var(--maxw); margin-inline: auto; padding-inline: 16px; display: grid; grid-template-columns: 1fr; gap: var(--s-6); }
@media (min-width: 760px) { .site-footer .foot-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.site-footer h4 { font-family: var(--font-sans); font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent-soft); margin-bottom: 14px; font-weight: 700; }
.site-footer .foot-brand .name { font-family: var(--font-display); font-size: 1.5rem; color: #fff; margin-bottom: 8px; }
.site-footer .foot-brand p { color: rgba(255,248,239,0.7); font-family: var(--font-sans); font-size: 0.9rem; max-width: 38ch; }
.site-footer ul li { margin-bottom: 8px; }
.site-footer ul a { color: rgba(255,248,239,0.78); font-family: var(--font-sans); font-size: 0.9rem; transition: color var(--dur) var(--ease); }
.site-footer ul a:hover { color: var(--accent-soft); }
.site-footer .foot-legal { width: var(--maxw); margin: var(--s-6) auto 0; padding: 18px 16px 0; border-top: 1px solid rgba(255,255,255,0.12); display: flex; flex-wrap: wrap; gap: 10px 18px; align-items: center; justify-content: space-between; font-family: var(--font-sans); font-size: 0.8rem; color: rgba(255,248,239,0.6); }
.site-footer .foot-legal a { color: rgba(255,248,239,0.78); }
.site-footer .foot-legal .ai-disc { display: flex; align-items: center; gap: 8px; }
.site-footer .foot-legal .ai-disc .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.site-footer .age-badge { border-color: rgba(255,255,255,0.25); background: rgba(255,255,255,0.06); color: var(--accent-soft); }

/* ---------- Subpage hero ---------- */
.sub-hero { position: relative; min-height: 46vh; display: grid; align-items: end; overflow: hidden; border-bottom: 1px solid var(--border); }
.sub-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.sub-hero .sh-grad { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(38,49,43,0.15) 0%, rgba(38,49,43,0.62) 100%); }
.sub-hero .sh-inner { position: relative; width: var(--maxw); margin-inline: auto; padding: 0 16px 38px; color: #fff; }
.sub-hero .sh-inner .eyebrow { color: var(--accent-soft); }
.sub-hero .sh-inner .eyebrow::before { background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 26 10'><path d='M1 5 C 6 1, 9 9, 13 5 S 20 1, 25 5' fill='none' stroke='%23E0936A' stroke-width='1.6' stroke-linecap='round'/></svg>"); }
.sub-hero .sh-inner h1 { color: #fff; margin-top: 10px; max-width: 18ch; }
.sub-hero .sh-inner p { color: rgba(255,255,255,0.9); font-family: var(--font-sans); max-width: 60ch; margin-top: 10px; }

/* ---------- Mini CTA ---------- */
.mini-cta { background: var(--grad-warm); border-radius: var(--r-xl); padding: clamp(24px, 4vw, 44px); border: 1px solid var(--border); display: flex; flex-wrap: wrap; gap: 18px; align-items: center; justify-content: space-between; box-shadow: var(--shadow-1); }
.mini-cta h3 { margin: 0; }
.mini-cta p { margin: 4px 0 0; color: var(--text-muted); font-family: var(--font-sans); }

/* ---------- Legal page prose ---------- */
.legal { max-width: 760px; margin-inline: auto; }
.legal h1 { margin-bottom: 8px; }
.legal .updated { font-family: var(--font-sans); font-size: 0.84rem; color: var(--text-faint); margin-bottom: var(--s-6); }
.legal h2 { font-size: 1.5rem; margin: var(--s-6) 0 var(--s-3); }
.legal h3 { font-family: var(--font-sans); font-size: 1.05rem; font-weight: 700; margin: var(--s-5) 0 var(--s-2); color: var(--ink); }
.legal p, .legal li { font-family: var(--font-body); color: var(--text); }
.legal ul.bullets { list-style: none; padding: 0; }
.legal ul.bullets li { position: relative; padding-left: 22px; margin-bottom: 10px; }
.legal ul.bullets li::before { content: ""; position: absolute; left: 0; top: 0.6em; width: 12px; height: 2px; border-radius: 2px; background: var(--accent); }
.legal a.link { color: var(--accent-ink); }
.legal .callout { background: var(--accent-tint); border: 1px solid var(--accent-line); border-radius: var(--r-md); padding: 16px 18px; margin: var(--s-5) 0; font-family: var(--font-sans); font-size: 0.92rem; color: var(--accent-ink); }

/* ---------- Thanks page ---------- */
.thanks { text-align: center; padding-block: var(--s-10); }
.thanks .mark { width: 84px; height: 84px; border-radius: 50%; background: var(--grad-sunset); margin: 0 auto var(--s-5); display: grid; place-items: center; color: #fff; box-shadow: var(--shadow-warm); }
.thanks .mark svg { width: 42px; height: 42px; }
.thanks h1 { margin-bottom: 14px; }
.thanks p { color: var(--text-muted); max-width: 56ch; margin-inline: auto; }
