/* ============================================================================
   Lagan Valley Detailing — styles.css
   Premium dark / glossy detailing-studio look. Mobile-first.
   COLORS LIVE HERE ONLY (CSS custom properties in :root) — rebrand = edit these.
   Headline font is self-hosted (assets/fonts/archivo-latin-500-900.woff2),
   no external font CDNs — fully offline-safe.
   ============================================================================ */

@font-face {
  font-family: "Archivo";
  src: url("../assets/fonts/archivo-latin-500-900.woff2") format("woff2");
  font-weight: 500 900;
  font-style: normal;
  font-display: swap;
}

:root {
  /* ---- Brand colors (single source) ---- */
  --bg: #0a0d10;              /* page background          */
  --bg-soft: #0e1217;         /* section alt background   */
  --panel: #12161d;           /* deep panel               */
  --surface: #181e26;         /* card surface             */
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.16);
  --text: #e9edf2;            /* primary text             */
  --muted: #9aa7b3;           /* secondary text           */
  --accent: #e2b36b;          /* champagne gold           */
  --accent-strong: #f0c985;
  --accent-deep: #c8943f;

  /* ---- Layout ---- */
  --container: 1080px;
  --radius: 18px;
  --radius-sm: 12px;
  --nav-h: 64px;

  /* ---- Type ---- */
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-display: "Archivo", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  /* Shared easing for every interaction (ease-out-quint) */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; }
body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img { max-width: 100%; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-strong); }
h1, h2, h3 { line-height: 1.2; margin: 0 0 0.5em; letter-spacing: -0.01em; font-family: var(--font-display); }
p { margin: 0 0 1em; }

::selection { background: rgba(226, 179, 107, 0.32); color: #fff; }
h1, h2, h3 { text-wrap: balance; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding-left: clamp(1rem, 4vw, 2rem);
  padding-right: clamp(1rem, 4vw, 2rem);
}

section[id] { scroll-margin-top: calc(var(--nav-h) + 12px); }

.section { padding-block: clamp(3.5rem, 8vw, 6rem); }

.section-head { max-width: 720px; margin-bottom: clamp(2rem, 5vw, 3rem); }
.section-head h2 { font-size: clamp(1.8rem, 4.5vw, 2.6rem); }
.section-sub { color: var(--muted); font-size: 1.05rem; margin: 0; }

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent);
  margin: 0 0 0.75rem;
}

/* ---------- Focus (keyboard) ---------- */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8rem 1.6rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.2;
  text-align: center;
  border: 1px solid transparent;
  cursor: pointer;
  transition:
    transform 0.2s var(--ease-out),
    box-shadow 0.2s var(--ease-out),
    border-color 0.2s var(--ease-out),
    color 0.2s var(--ease-out),
    background-color 0.2s var(--ease-out);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(0.99); }

.btn--gold {
  background: linear-gradient(180deg, var(--accent-strong), var(--accent-deep));
  color: #171310;
  box-shadow: 0 8px 24px rgba(226, 179, 107, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.4);
}
.btn--gold:hover { color: #171310; box-shadow: 0 12px 34px rgba(226, 179, 107, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.4); }

.btn--ghost {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--line-strong);
  color: var(--text);
}
.btn--ghost:hover { border-color: var(--accent); color: var(--accent-strong); background: rgba(255, 255, 255, 0.07); }

.btn--sm { padding: 0.5rem 1.1rem; font-size: 0.9rem; }
.btn--block { width: 100%; }

/* ---------- Nav ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-h);
  background: rgba(10, 13, 16, 0.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: var(--nav-h); }
.nav-brand { display: inline-flex; align-items: center; gap: 0.6rem; color: var(--text); }
.nav-brand:hover { color: var(--text); }
.nav-brand-logo {
  display: block;
  height: 40px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.45));
  transition: transform 0.25s var(--ease-out), filter 0.25s var(--ease-out);
}
.nav-brand:hover .nav-brand-logo {
  transform: scale(1.05);
  filter: drop-shadow(0 3px 10px rgba(0, 0, 0, 0.5)) drop-shadow(0 0 14px rgba(226, 179, 107, 0.3));
}
@media (max-width: 380px) {
  .nav-brand-logo { height: 34px; }
}

/* Right-side actions: persistent Book Now (mobile) + hamburger */
.nav-actions { display: flex; align-items: center; gap: 0.6rem; }
.nav-book { display: inline-flex; }

.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px; height: 44px;
  background: transparent;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  cursor: pointer;
  padding: 0 10px;
  transition: border-color 0.2s var(--ease-out), background-color 0.2s var(--ease-out);
}
.nav-toggle:hover { border-color: rgba(226, 179, 107, 0.5); background: rgba(255, 255, 255, 0.04); }
.nav-toggle span { display: block; height: 2px; border-radius: 2px; background: var(--text); transition: transform 0.22s var(--ease-out), opacity 0.22s var(--ease-out); }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu: fade/rise open instead of a hard display toggle */
.nav-links {
  display: flex;
  visibility: hidden;
  opacity: 0;
  transform: translateY(-6px);
  pointer-events: none;
  position: absolute;
  top: var(--nav-h);
  left: 0; right: 0;
  flex-direction: column;
  gap: 0.25rem;
  padding: 0.75rem clamp(1rem, 4vw, 2rem) 1.25rem;
  background: rgba(10, 13, 16, 0.97);
  border-bottom: 1px solid var(--line);
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s;
}
.nav-links.open {
  visibility: visible;
  opacity: 1;
  transform: none;
  pointer-events: auto;
}
.nav-links a {
  color: var(--text);
  padding: 0.7rem 0.5rem;
  border-radius: 8px;
  font-weight: 600;
  transition: color 0.2s var(--ease-out), background-color 0.2s var(--ease-out);
}
.nav-links a:hover { color: var(--accent-strong); background: rgba(255, 255, 255, 0.04); }
.nav-cta { display: none; margin-top: 0.5rem; justify-content: center; }

/* ---------- Hero: split copy + image ---------- */
.hero {
  position: relative;
  padding: calc(var(--nav-h) + clamp(2.75rem, 7vw, 4.75rem)) 0 clamp(3rem, 7vw, 5rem);
  overflow: hidden;
  text-align: left;
  background:
    radial-gradient(60% 45% at 12% -5%, rgba(226, 179, 107, 0.14), transparent 70%),
    radial-gradient(90% 60% at 50% 110%, rgba(24, 30, 38, 0.9), transparent 70%),
    var(--bg);
}
.hero-glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, transparent 60%, rgba(10, 13, 16, 0.6)),
    repeating-linear-gradient(90deg, rgba(255,255,255,0.012) 0 1px, transparent 1px 120px);
}
.hero-inner {
  position: relative;
  display: grid;
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: center;
  grid-template-columns: 1fr;
}
.hero-copy { max-width: 560px; }
.hero-title { font-size: clamp(2.05rem, 4.8vw, 3.35rem); font-weight: 800; margin-bottom: 1rem; letter-spacing: -0.02em; }
.hero-price {
  background: linear-gradient(120deg, var(--accent-strong), var(--accent-deep));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  white-space: nowrap;
}
.hero-sub { color: var(--muted); font-size: clamp(1rem, 2.4vw, 1.15rem); max-width: 520px; margin: 0 0 0.55rem; }
.hero-when { color: var(--accent); font-size: 0.98rem; font-weight: 600; margin: 0 0 1.7rem; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 0.75rem; margin: 0; justify-content: flex-start; }
.hero-media { margin: 0; }
.hero-media img {
  width: 100%;
  height: auto;
  border-radius: calc(var(--radius) + 6px);
  border: 1px solid rgba(226, 179, 107, 0.28);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(0, 0, 0, 0.25);
}

/* ---------- USP strip ---------- */
.usp {
  background: var(--bg-soft);
  border-block: 1px solid var(--line);
  padding-block: clamp(2rem, 5vw, 3.25rem);
}
.usp-grid { display: grid; gap: 1.5rem; grid-template-columns: 1fr; }
.usp-item { display: flex; flex-direction: column; align-items: center; text-align: center; }
.usp-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: linear-gradient(180deg, rgba(226, 179, 107, 0.16), rgba(226, 179, 107, 0.05));
  border: 1px solid rgba(226, 179, 107, 0.38);
  color: var(--accent-strong);
  font-size: 1.3rem;
  margin-bottom: 0.85rem;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}
.usp-icon svg { width: 25px; height: 25px; }
.usp-item h3 { font-size: 1.05rem; margin-bottom: 0.3rem; }
.usp-item p { color: var(--muted); font-size: 0.95rem; margin: 0; max-width: 30ch; }

/* ---------- About: pull-quote + image ---------- */
.about { padding-block: clamp(2.5rem, 6vw, 4.5rem); }
.about-inner {
  display: grid;
  gap: clamp(1.75rem, 5vw, 3rem);
  align-items: center;
  grid-template-columns: 1fr;
}
.about-heading {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--accent);
  margin: 0 0 0.9rem;
  font-weight: 700;
  font-family: var(--font);
}
.about-quote {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 3vw, 1.8rem);
  font-weight: 700;
  line-height: 1.28;
  letter-spacing: -0.01em;
  color: var(--text);
  max-width: 30ch;
}
.about-sub { color: var(--muted); margin: 0; }
.about-media { margin: 0; }
.about-media img {
  width: 100%;
  height: auto;
  border-radius: calc(var(--radius) + 6px);
  border: 1px solid var(--line);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4);
}

/* ---------- Cards / glossy surface ---------- */
.card {
  position: relative;
  background: linear-gradient(180deg, var(--surface), var(--panel));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.4rem, 3.5vw, 2rem);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
  overflow: hidden;
  transition: transform 0.25s var(--ease-out), border-color 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out);
}
.card::before {           /* glossy sheen */
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(120% 55% at 50% 0%, rgba(255, 255, 255, 0.06), transparent 60%);
  pointer-events: none;
}

/* ---------- Services / tiers ---------- */
.tiers { display: grid; gap: 1.25rem; grid-template-columns: 1fr; margin-bottom: clamp(2rem, 5vw, 3rem); }
.tier { display: flex; flex-direction: column; }
.tier:hover {
  transform: translateY(-4px);
  border-color: var(--line-strong);
  box-shadow: 0 22px 46px rgba(0, 0, 0, 0.45);
}

.tier--featured {
  border-color: rgba(226, 179, 107, 0.55);
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(226, 179, 107, 0.2), 0 0 44px rgba(226, 179, 107, 0.12);
}
.tier--featured::before { background: radial-gradient(120% 55% at 50% 0%, rgba(226, 179, 107, 0.12), transparent 60%); }
.tier--featured::after {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  border-radius: var(--radius) var(--radius) 0 0;
  background: linear-gradient(90deg, var(--accent-deep), var(--accent-strong), var(--accent-deep));
  pointer-events: none;
}
.tier--featured:hover {
  transform: translateY(-4px);
  border-color: rgba(226, 179, 107, 0.7);
  box-shadow: 0 26px 56px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(226, 179, 107, 0.2), 0 0 44px rgba(226, 179, 107, 0.14);
}

.tier-badge {
  position: absolute;
  top: 1.05rem; right: 1.05rem;
  z-index: 2;
  background: linear-gradient(180deg, var(--accent-strong), var(--accent-deep));
  color: #171310;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.32rem 0.75rem;
  border-radius: 999px;
  box-shadow: 0 6px 16px rgba(226, 179, 107, 0.35);
  white-space: nowrap;
}

.tier-head { margin-bottom: 0.9rem; padding-right: 6.5rem; }
.tier-name {
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted);
  margin-bottom: 0.35rem;
  font-family: var(--font);
}
.tier-price { margin: 0 0 0.55rem; display: flex; align-items: baseline; gap: 0.35rem; }
.tier-price-from { color: var(--muted); font-size: 0.95rem; }
.tier-price-num {
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 4.5vw, 2.7rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.02em;
  background: linear-gradient(120deg, var(--accent-strong), var(--accent-deep));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.tier-time {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--muted);
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.03);
  border-radius: 999px;
  padding: 0.2rem 0.65rem;
}

.tier-selling { font-size: 0.98rem; color: var(--accent-strong); margin-bottom: 0.9rem; font-weight: 600; }

.tier-list { list-style: none; padding: 0; margin: 0 0 1.1rem; display: grid; gap: 0.55rem; }
.tier-list li { position: relative; padding-left: 1.4rem; color: var(--text); font-size: 0.96rem; }
.tier-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.55em;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-strong), var(--accent-deep));
  box-shadow: 0 0 8px rgba(226, 179, 107, 0.5);
}

.tier-blurb { font-style: italic; color: var(--muted); font-size: 0.92rem; margin-bottom: 1.1rem; }
.tier .btn { margin-top: auto; }

/* ---------- Add-ons table: grouped clusters ---------- */
.addons-title { font-size: 1.25rem; margin-bottom: 1rem; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--panel); }
.addons-table { width: 100%; border-collapse: collapse; font-size: 0.95rem; min-width: 560px; }
.addons-table th {
  text-align: left;
  padding: 0.8rem 1rem;
  background: var(--surface);
  color: var(--accent-strong);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-bottom: 1px solid var(--line-strong);
}
.addons-table td { padding: 0.78rem 1rem; color: var(--text); vertical-align: top; }
.addons-table tr:last-child td { padding-bottom: 1rem; }
.addons-table td:nth-child(2) { color: var(--accent-strong); font-weight: 700; white-space: nowrap; }
.addons-table td:nth-child(3) { color: var(--muted); }
.addons-table tbody tr:hover td { background: rgba(255, 255, 255, 0.02); }

/* Cluster labels: soft divider above each group, no hairline under every row */
.addons-table .cluster-row td {
  background: var(--surface);
  color: var(--accent);
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 0.6rem 1rem;
  border-top: 1px solid var(--line-strong);
}
.addons-table .cluster-row:first-child td { border-top: 0; }

.addons-coming { margin-top: 1.1rem; color: var(--accent); font-size: 0.95rem; }
.addons-note {
  margin-top: 0.75rem;
  background: rgba(226, 179, 107, 0.07);
  border: 1px solid rgba(226, 179, 107, 0.25);
  border-radius: var(--radius-sm);
  padding: 0.9rem 1.1rem;
  color: var(--text);
  font-size: 0.95rem;
}

/* ---------- Gallery: asymmetric bento ---------- */
.gallery { background: var(--bg-soft); border-block: 1px solid var(--line); }
.gallery-grid { display: grid; gap: 1.1rem; grid-template-columns: repeat(2, 1fr); }
.gallery-card { margin: 0; display: flex; flex-direction: column; min-height: 0; }
.gallery-card img {
  width: 100%;
  flex: none;
  height: auto;
  object-fit: cover;
  display: block;
  border-radius: calc(var(--radius) - 2px);
  border: 1px solid var(--line);
  transition: transform 0.35s var(--ease-out), border-color 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out);
}
.gallery-card--large { grid-column: span 2; }
.gallery-card--dusk { grid-column: span 2; }
.gallery-card:hover img {
  transform: scale(1.03);
  border-color: rgba(226, 179, 107, 0.4);
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.45);
}
.gallery-card figcaption { flex: 0 0 auto; margin-top: 0.55rem; color: var(--muted); font-size: 0.9rem; transition: color 0.25s var(--ease-out); }
.gallery-card:hover figcaption { color: var(--text); }

/* ---------- Booking ---------- */
.booking-panel {
  background: linear-gradient(180deg, var(--surface), var(--panel));
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 6px);
  padding: clamp(1.75rem, 5vw, 3.5rem);
  text-align: center;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4);
  position: relative;
  overflow: hidden;
}
.booking-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(80% 50% at 50% 0%, rgba(226, 179, 107, 0.1), transparent 65%);
  pointer-events: none;
}
.booking-panel .section-head { margin-inline: auto; }
.booking-tiers { display: grid; gap: 0.9rem; grid-template-columns: 1fr; max-width: 560px; margin: 0 auto 1.4rem; position: relative; }
.booking-btn { flex-direction: row; align-items: center; gap: 0.8rem; justify-content: flex-start; padding-block: 0.85rem; padding-inline: 1.1rem; }
.booking-num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.8rem;
  line-height: 1.5;
  color: var(--accent);
  border: 1px solid rgba(226, 179, 107, 0.35);
  background: rgba(226, 179, 107, 0.08);
  border-radius: 8px;
  padding: 0.12rem 0.45rem;
  flex: 0 0 auto;
}
.booking-label { flex: 1 1 auto; text-align: left; font-size: 1.02rem; }
.booking-meta { font-weight: 600; font-size: 0.82rem; opacity: 0.75; white-space: nowrap; }
.booking-note { color: var(--muted); font-size: 0.92rem; max-width: 520px; margin: 0 auto 0.75rem; position: relative; }
.booking-alt { color: var(--muted); font-size: 0.95rem; margin: 0; position: relative; }

/* ---------- FAQ ---------- */
.faq-list { max-width: 760px; margin: 0 auto; display: grid; gap: 0.75rem; }
.faq-item {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: border-color 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out);
}
.faq-item:hover { border-color: var(--line-strong); box-shadow: 0 8px 22px rgba(0, 0, 0, 0.25); }
.faq-item.open { border-color: rgba(226, 179, 107, 0.4); }
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.05rem 1.25rem;
  background: transparent;
  border: 0;
  color: var(--text);
  font: inherit;
  font-weight: 700;
  font-size: 1rem;
  text-align: left;
  cursor: pointer;
  transition: color 0.2s var(--ease-out);
}
.faq-question::after {
  content: "+";
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  color: var(--accent);
  font-size: 1.05rem;
  font-weight: 700;
  transition: transform 0.25s var(--ease-out), background-color 0.2s ease, color 0.2s ease;
}
.faq-item.open .faq-question::after { transform: rotate(45deg); background: rgba(226, 179, 107, 0.15); }
.faq-question:hover { color: var(--accent-strong); }

.faq-panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.3s ease;
}
.faq-item.open .faq-panel { grid-template-rows: 1fr; }
.faq-panel-inner { overflow: hidden; opacity: 0; transform: translateY(-4px); transition: opacity 0.3s ease, transform 0.3s ease; }
.faq-item.open .faq-panel-inner { opacity: 1; transform: none; }
.faq-panel-inner p { margin: 0; padding: 0 1.25rem 1.15rem; color: var(--muted); font-size: 0.96rem; }

/* ---------- Areas ---------- */
.areas { background: var(--bg-soft); border-top: 1px solid var(--line); }
.areas-text { max-width: 720px; color: var(--muted); font-size: 1.05rem; }
.areas-chips { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.5rem; }
.areas-chips span {
  padding: 0.45rem 0.95rem;
  border-radius: 999px;
  background: var(--panel);
  border: 1px solid var(--line);
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 600;
  transition: transform 0.22s var(--ease-out), border-color 0.22s var(--ease-out), background-color 0.22s var(--ease-out), color 0.22s var(--ease-out);
}
.areas-chips span:hover {
  transform: translateY(-2px);
  border-color: rgba(226, 179, 107, 0.45);
  background: var(--surface);
  color: var(--accent-strong);
}

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); background: var(--bg); padding-block: clamp(2.5rem, 6vw, 4rem) 1.5rem; }
.footer-inner { display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
.footer-logo {
  height: 46px;
  width: auto;
  object-fit: contain;
  margin-bottom: 0.6rem;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.45));
}
.footer-name { font-size: 1.15rem; font-weight: 800; margin-bottom: 0.25rem; font-family: var(--font-display); }
.footer-tag { color: var(--muted); font-size: 0.92rem; margin: 0; max-width: 34ch; }
.footer-book { margin-top: 1rem; }
.footer-contact p { margin: 0 0 0.4rem; }
.footer-contact a { color: var(--muted); display: inline-flex; align-items: center; transition: color 0.2s var(--ease-out); }
.footer-contact a:hover { color: var(--accent-strong); }
.footer-contact svg { width: 15px; height: 15px; margin-right: 0.4rem; color: var(--accent); flex: 0 0 auto; }
.footer-contact a:hover svg { color: var(--accent-strong); }
.footer-phone { white-space: nowrap; }
.footer-soon {
  margin-left: 0.5rem;
  font-size: 0.66rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.03);
  border-radius: 999px;
  padding: 0.08rem 0.5rem;
  white-space: nowrap;
}
.footer-pay { color: var(--muted); font-size: 0.92rem; }
.footer-pay strong { color: var(--text); }
.footer-bottom { border-top: 1px solid var(--line); padding-top: 1.25rem; grid-column: 1 / -1; }
.footer-bottom p { color: var(--muted); font-size: 0.85rem; margin: 0; }

/* ---------- Responsive: tablet / desktop ---------- */
@media (min-width: 640px) {
  .usp-grid { grid-template-columns: repeat(3, 1fr); }
  .booking-tiers { grid-template-columns: repeat(3, 1fr); max-width: 780px; }
  .booking-btn { flex-direction: column; align-items: stretch; justify-content: center; text-align: center; gap: 0.2rem; padding-block: 0.95rem; }
  .booking-num { align-self: center; }
  .booking-label { text-align: center; }
  .footer-inner { grid-template-columns: 2fr 1fr 1.5fr; }
  .footer-bottom { grid-column: 1 / -1; }
}

@media (min-width: 860px) {
  .hero-inner { grid-template-columns: 1.05fr 0.95fr; }
  .about-inner { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 960px) {
  .nav-actions { display: none; }
  .nav-toggle { display: none; }
  .nav-links {
    visibility: visible;
    opacity: 1;
    transform: none;
    pointer-events: auto;
    position: static;
    flex-direction: row;
    align-items: center;
    gap: 1.6rem;
    padding: 0;
    background: transparent;
    border: 0;
  }
  .nav-links a { padding: 0.4rem 0; background: transparent; }
  .nav-links a:not(.btn) { position: relative; }
  .nav-links a:not(.btn)::after {
    content: "";
    position: absolute;
    left: 0; right: 0; bottom: 0.05rem;
    height: 2px;
    border-radius: 2px;
    background: linear-gradient(90deg, var(--accent-strong), var(--accent-deep));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.25s var(--ease-out);
  }
  .nav-links a:not(.btn):hover::after,
  .nav-links a:not(.btn):focus-visible::after { transform: scaleX(1); }
  .nav-cta { display: inline-flex; margin: 0; }
  .tiers { grid-template-columns: repeat(3, 1fr); }
  .tier--featured { margin-top: -12px; }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); grid-auto-rows: minmax(0, 1fr); }
  .gallery-card img { flex: 1 1 auto; min-height: 0; height: auto; }
  .gallery-card--large { grid-column: span 2; grid-row: span 2; }
  .gallery-card--dusk { grid-column: span 1; }
}

/* ============================================================================
   MOTION LAYER — reveal system, hover/focus polish.
   - transform/opacity only; prefers-reduced-motion collapses all.
   - Hidden state is gated behind html.js-anim (added by JS), so content is
     fully visible without JavaScript (no-JS safety).
   ============================================================================ */

/* ---------- Hero entrance (one subtle unit, ~0.4s) ---------- */
html.js-anim .hero-inner > * {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.4s var(--ease-out), transform 0.4s var(--ease-out);
}
html.js-anim .hero-inner.is-in > * { opacity: 1; transform: none; }

/* ---------- Scroll reveal system (fires via IntersectionObserver) ---------- */
html.js-anim .reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.4s var(--ease-out), transform 0.4s var(--ease-out);
}
html.js-anim .reveal.is-revealed { opacity: 1; transform: none; }

html.js-anim .reveal-group > * {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.4s var(--ease-out) var(--d, 0s), transform 0.4s var(--ease-out) var(--d, 0s);
}
html.js-anim .reveal-group > *:nth-child(2) { --d: 40ms; }
html.js-anim .reveal-group > *:nth-child(3) { --d: 80ms; }
html.js-anim .reveal-group > *:nth-child(n+4) { --d: 120ms; }
html.js-anim .reveal-group.is-revealed > * { opacity: 1; transform: none; }
/* After the reveal settles, hand back fast per-card hover transitions */
.reveal-group.reveal-settled > * {
  opacity: 1;
  transform: none;
  transition: transform 0.25s var(--ease-out), border-color 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out), background-color 0.25s var(--ease-out);
}

/* ---------- Reduced motion: collapse every transition to near-instant ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0ms !important;
  }
}
