/* ============================================================
   Puppers Paradise Resort — home page styles
   Design tokens & rules per DESIGN.md
   ============================================================ */

:root {
  --color-cream: #FBF3E7;
  --color-sand: #F2E4D0;
  --color-terracotta: #E8935F;
  --color-terracotta-dark: #C96F3E;
  --color-golden: #F4B860;
  --color-sage: #8FAE8B;
  --color-brown: #5B4636;
  --color-brown-muted: #8A7360;
  --color-white: #FFFFFF;

  --font-display: "Fredoka", system-ui, sans-serif;
  --font-body: "Nunito Sans", system-ui, sans-serif;

  --maxw: 1200px;
  --gutter: 24px;
  --radius-card: 18px;
  --radius-img: 16px;
  --shadow-soft: 0 10px 30px rgba(91, 70, 54, 0.10);
  --shadow-lift: 0 16px 40px rgba(91, 70, 54, 0.16);
  --header-h: 76px;
}

/* ---------- Reset-ish ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--color-brown);
  background: var(--color-cream);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--color-terracotta-dark); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--color-brown); line-height: 1.1; margin: 0; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 1000;
  background: var(--color-brown); color: var(--color-cream);
  padding: 10px 16px; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* Visible keyboard focus everywhere */
a:focus-visible, button:focus-visible, input:focus-visible, .link-button:focus-visible {
  outline: 3px solid var(--color-sage);
  outline-offset: 2px;
  border-radius: 6px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-body); font-weight: 800; font-size: 15px;
  text-transform: uppercase; letter-spacing: 0.04em;
  padding: 13px 26px; border-radius: 999px; border: 2px solid transparent;
  cursor: pointer; transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease;
  text-decoration: none; white-space: nowrap;
}
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--color-terracotta); color: var(--color-white); box-shadow: 0 6px 16px rgba(232,147,95,.35); }
.btn-primary:hover { background: var(--color-terracotta-dark); transform: translateY(-2px); box-shadow: 0 10px 22px rgba(201,111,62,.4); }
.btn-ghost { background: transparent; color: var(--color-brown); border-color: var(--color-brown); }
.btn-ghost:hover { background: var(--color-brown); color: var(--color-cream); transform: translateY(-2px); }
.btn-lg { padding: 16px 34px; font-size: 16px; }
.btn-block { display: flex; width: 100%; }

.link-button {
  background: none; border: none; padding: 0; margin: 0;
  font: inherit; color: var(--color-terracotta-dark); cursor: pointer; text-decoration: underline;
}

/* ---------- Eyebrow / section heads ---------- */
.eyebrow {
  font-weight: 800; text-transform: uppercase; letter-spacing: 0.08em;
  font-size: 13px; color: var(--color-sage); margin: 0 0 10px;
}
.section { padding: 120px 0; }
.section-sand { background: var(--color-sand); }
.section-head { max-width: 720px; margin-bottom: 56px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { font-size: 38px; font-weight: 600; }
.section-intro { color: var(--color-brown-muted); margin-top: 14px; font-size: 18px; }

/* ============================================================
   HEADER / NAV
   ============================================================ */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: transparent; transition: background-color .25s ease, box-shadow .25s ease;
}
.site-header.scrolled {
  background: var(--color-white);
  box-shadow: 0 4px 20px rgba(91,70,54,.10);
}
/* Frosted, light scrim behind the nav so links stay legible over dark hero
   slides. Only shown while the header is transparent over the hero; once
   scrolled, the solid white background takes over and this fades out. */
.site-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(to bottom, rgba(251, 243, 231, 0.55), rgba(251, 243, 231, 0));
  -webkit-backdrop-filter: blur(7px); backdrop-filter: blur(7px);
  -webkit-mask-image: linear-gradient(to bottom, #000 55%, transparent);
          mask-image: linear-gradient(to bottom, #000 55%, transparent);
  transition: opacity .25s ease;
}
.site-header.scrolled::before { opacity: 0; }
.nav-inner {
  display: flex; align-items: center; gap: 24px;
  height: var(--header-h);
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-mark { width: 48px; height: 48px; }
.brand-word {
  font-family: var(--font-display); font-weight: 700; font-size: 18px; line-height: 1.05;
  color: var(--color-brown); display: flex; flex-direction: column;
}
.brand-word span { font-weight: 500; font-size: 13px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--color-terracotta); }

.main-nav { margin-left: auto; }
.main-nav ul { display: flex; gap: 26px; }
.main-nav a {
  color: var(--color-brown); font-weight: 700; font-size: 15px; text-decoration: none;
  padding: 6px 2px; position: relative;
}
.main-nav a::after {
  content: ""; position: absolute; left: 0; bottom: -2px; width: 0; height: 2px;
  background: var(--color-terracotta); transition: width .2s ease;
}
.main-nav a:hover::after { width: 100%; }

.nav-actions { display: flex; align-items: center; gap: 16px; }
.nav-phone {
  display: inline-flex; align-items: center; gap: 7px;
  color: var(--color-brown); font-weight: 800; font-size: 15px; text-decoration: none;
}
.nav-phone:hover { color: var(--color-terracotta-dark); }
.nav-book { padding: 11px 22px; }

.hamburger {
  display: none; flex-direction: column; gap: 5px; background: none; border: none;
  cursor: pointer; padding: 8px;
}
.hamburger span { width: 26px; height: 3px; background: var(--color-brown); border-radius: 2px; transition: transform .25s, opacity .2s; }
.hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative; min-height: 85vh; display: flex; align-items: center;
  margin-top: calc(var(--header-h) * -1); padding-top: var(--header-h);
  overflow: hidden;
}
.hero-media { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.hero-slide {
  position: absolute; inset: 0; opacity: 0;
  transition: opacity 1.5s ease-in-out; will-change: opacity;
}
.hero-slide.is-active { opacity: 1; }
.hero-slide img {
  width: 100%; height: 100%; object-fit: cover; transform-origin: center;
  /* Base framing: gently zoom and bias the subject toward the right so the dogs
     aren't buried under the left gradient (the tightened gradient below does the
     rest). The Ken Burns keyframes keep this same rightward bias while adding
     subtle motion. */
  transform: scale(1.1) translateX(8%);
}
/* Ken Burns pan/zoom variants — JS assigns one at random to each active slide.
   Gentle zoom + a persistent rightward bias so the dog clears the left gradient
   without cropping into a face close-up. */
@keyframes kb1 { from { transform: scale(1.08) translate(7%, -1%); }    to { transform: scale(1.14) translate(9%, 1%); } }
@keyframes kb2 { from { transform: scale(1.14) translate(9%, 1%); }     to { transform: scale(1.08) translate(6%, -1%); } }
@keyframes kb3 { from { transform: scale(1.08) translate(6%, -1%); }    to { transform: scale(1.14) translate(9.5%, -1.5%); } }
@keyframes kb4 { from { transform: scale(1.10) translate(9%, 1.5%); }   to { transform: scale(1.15) translate(7%, -1%); } }
@keyframes kb5 { from { transform: scale(1.08) translate(7.5%, -1.5%); } to { transform: scale(1.14) translate(7.5%, 1.5%); } }
@keyframes kb6 { from { transform: scale(1.14) translate(6%, -1%); }    to { transform: scale(1.09) translate(9%, 1%); } }
@media (prefers-reduced-motion: reduce) {
  .hero-slide { transition: none; }
  .hero-slide img { animation: none !important; transform: scale(1.1) translateX(8%) !important; }
}
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(251,243,231,.97) 0%, rgba(251,243,231,.9) 30%, rgba(251,243,231,.55) 46%, rgba(251,243,231,.12) 62%, rgba(251,243,231,0) 88%);
}
.hero-grid { position: relative; z-index: 1; }
.hero-panel { max-width: 620px; padding: 40px 0; }
.hero h1 {
  font-size: 56px; font-weight: 600; margin: 0 0 20px;
  letter-spacing: -0.01em;
}
.hero-sub { font-size: 18px; color: var(--color-brown-muted); max-width: 540px; margin-bottom: 28px; }
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-bottom: 30px; }
.btn-ghost { }
.trust-strip {
  display: flex; flex-wrap: wrap; gap: 8px 24px;
  font-size: 14px; font-weight: 700; color: var(--color-brown);
}

/* ============================================================
   CARDS (shared)
   ============================================================ */
.card {
  background: var(--color-white); border-radius: var(--radius-card);
  box-shadow: var(--shadow-soft); overflow: hidden;
}
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }

.service-card { display: flex; flex-direction: column; transition: transform .2s ease, box-shadow .2s ease; }
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lift); }
.card-media { aspect-ratio: 16 / 10; overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.service-card:hover .card-media img { transform: scale(1.05); }
.card-body { padding: 26px 26px 30px; display: flex; flex-direction: column; flex: 1; }
.card-icon { font-size: 30px; margin-bottom: 8px; }
.card-body h3 { font-size: 22px; font-weight: 500; margin-bottom: 12px; }
.card-body p { color: var(--color-brown-muted); font-size: 16px; margin-bottom: 18px; }
.text-link { margin-top: auto; font-weight: 800; color: var(--color-terracotta-dark); }

/* ---------- Image fallback (if remote photo fails) ---------- */
.img-fallback img, .map-wrap.img-fallback iframe { display: none; }
.img-fallback {
  position: relative;
  background: linear-gradient(135deg, var(--color-sand), var(--color-golden) 130%);
}
.img-fallback::before {
  content: "🐾"; position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 48px; opacity: .5;
}

/* ============================================================
   WAVE DIVIDER
   ============================================================ */
.wave-divider { line-height: 0; background: var(--color-cream); }
.wave-divider + .section-sand { }
.wave-divider svg { width: 100%; height: 60px; display: block; }
.wave-divider path { fill: var(--color-sand); }

/* ============================================================
   SPLIT SECTIONS
   ============================================================ */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.split-media img { width: 100%; height: 100%; max-height: 460px; object-fit: cover; border-radius: var(--radius-img); box-shadow: var(--shadow-soft); }
.split-copy h2 { font-size: 38px; font-weight: 600; margin-bottom: 18px; }
.split-copy > p { color: var(--color-brown-muted); }

.feature-list { display: flex; flex-direction: column; gap: 20px; margin-top: 26px; }
.feature-list li { display: flex; gap: 16px; }
.feat-icon {
  flex: none; width: 46px; height: 46px; border-radius: 12px;
  background: var(--color-sand); display: flex; align-items: center; justify-content: center;
  font-size: 22px;
}
.feature-list strong { display: block; font-family: var(--font-display); font-size: 18px; margin-bottom: 2px; }
.feature-list p { margin: 0; color: var(--color-brown-muted); font-size: 15px; }

/* ============================================================
   WHY / TRUST GRID
   ============================================================ */
.trust-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.trust-card { padding: 32px 30px; }
.trust-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 56px; height: 56px; border-radius: 14px; font-size: 28px;
  background: color-mix(in srgb, var(--color-sage) 22%, white);
  margin-bottom: 16px;
}
.trust-card h3 { font-size: 21px; font-weight: 500; margin-bottom: 8px; }
.trust-card p { color: var(--color-brown-muted); font-size: 16px; margin: 0; }
.why-support { text-align: center; margin-top: 46px; font-size: 18px; color: var(--color-brown); }
.stars { color: var(--color-golden); letter-spacing: 2px; }
.why-support .stars { display: block; font-size: 22px; margin-bottom: 6px; }

/* ============================================================
   PRICING
   ============================================================ */
.pricing-grid { align-items: stretch; }
/* overflow visible so the "Most Popular" badge (top: -14px) isn't clipped */
.price-card { padding: 34px 30px 32px; display: flex; flex-direction: column; position: relative; border: 2px solid transparent; overflow: visible; }
.price-card.featured { z-index: 1; }
.price-card h3 { font-size: 24px; font-weight: 600; margin-bottom: 6px; }
.price-card .price { display: flex; align-items: baseline; gap: 6px; color: var(--color-brown-muted); font-size: 15px; margin: 0 0 20px; }
.price-card .price strong { font-family: var(--font-display); font-size: 40px; color: var(--color-terracotta-dark); font-weight: 700; }
.price-card.featured { border-color: var(--color-golden); box-shadow: var(--shadow-lift); transform: translateY(-8px); }
.badge-popular {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--color-golden); color: var(--color-brown);
  font-family: var(--font-body); font-weight: 800; text-transform: uppercase;
  font-size: 12px; letter-spacing: .05em; padding: 6px 16px; border-radius: 999px;
  white-space: nowrap;
}
.check-list { display: flex; flex-direction: column; gap: 12px; margin: 0 0 26px; flex: 1; }
.check-list li { position: relative; padding-left: 30px; font-size: 16px; color: var(--color-brown); }
.check-list li::before {
  content: "✓"; position: absolute; left: 0; top: -1px;
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--color-sage); color: white; font-size: 12px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
}
.fine-print { color: var(--color-brown-muted); font-size: 14px; margin-top: 30px; }
.fine-print.center { text-align: center; }

/* ============================================================
   GALLERY + TESTIMONIALS
   ============================================================ */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(2, 190px);
  grid-template-areas:
    "a b b c"
    "a d e c";
  gap: 16px;
}
.g-item { margin: 0; border-radius: var(--radius-img); overflow: hidden; box-shadow: var(--shadow-soft); }
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.g-item:hover img { transform: scale(1.06); }
.g-item.img-fallback { min-height: 100%; }
.ga-a { grid-area: a; }
.ga-b { grid-area: b; }
.ga-c { grid-area: c; }
.ga-d { grid-area: d; }
.ga-e { grid-area: e; }

/* ---------- "Day in the life" scrolling ticker ---------- */
.ticker {
  position: relative; overflow: hidden; margin: 44px 0 8px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.ticker-track {
  display: flex; gap: 18px; width: max-content;
  padding: 6px 9px;
  animation: ticker-scroll 48s linear infinite;
}
.ticker:hover .ticker-track,
.ticker:focus-within .ticker-track { animation-play-state: paused; }
@keyframes ticker-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.ticker-item {
  position: relative; flex: none; width: 290px; height: 205px; margin: 0;
  border-radius: var(--radius-img); overflow: hidden; box-shadow: var(--shadow-soft);
}
.ticker-item img { width: 100%; height: 100%; object-fit: cover; }
.ticker-item figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 16px 12px;
  color: #fff; font-family: var(--font-display); font-weight: 500; font-size: 15px;
  background: linear-gradient(transparent, rgba(91, 70, 54, .82));
}
@media (prefers-reduced-motion: reduce) {
  .ticker { overflow-x: auto; -webkit-mask-image: none; mask-image: none; }
  .ticker-track { animation: none; }
}

.testimonials { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin-top: 56px; }
.testimonial { padding: 28px 28px 24px; margin: 0; }
.testimonial .stars { font-size: 18px; margin-bottom: 10px; }
.testimonial p { color: var(--color-brown); font-size: 16px; }
.testimonial footer { display: flex; align-items: center; gap: 10px; color: var(--color-brown-muted); font-size: 15px; margin-top: 14px; }
.avatar {
  width: 38px; height: 38px; border-radius: 50%; flex: none;
  background: var(--color-terracotta); color: white; font-family: var(--font-display);
  font-weight: 700; display: flex; align-items: center; justify-content: center;
}
.testimonial footer strong { color: var(--color-brown); }

/* ============================================================
   LOCATION
   ============================================================ */
.map-wrap { border-radius: var(--radius-img); overflow: hidden; box-shadow: var(--shadow-soft); min-height: 360px; }
.map-wrap iframe { width: 100%; height: 100%; min-height: 360px; border: 0; display: block; }
.contact-list { display: flex; flex-direction: column; gap: 14px; margin: 22px 0 28px; }
.contact-list li { display: flex; gap: 12px; font-size: 17px; }
.contact-list a { color: var(--color-brown); font-weight: 700; }
.location-cta { display: flex; flex-wrap: wrap; gap: 14px; }

/* ============================================================
   FINAL CTA BAND
   ============================================================ */
.cta-band {
  background: var(--color-sand); text-align: center; padding: 96px 0;
}
.cta-band h2 { font-size: 36px; font-weight: 600; max-width: 760px; margin: 0 auto 14px; }
.cta-band p { color: var(--color-brown-muted); font-size: 18px; margin-bottom: 28px; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: var(--color-brown); color: var(--color-cream); }
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.4fr; gap: 40px;
  padding: 72px var(--gutter) 48px;
}
.footer-brand img { margin-bottom: 14px; }
.footer-brand .tagline { color: color-mix(in srgb, var(--color-cream) 78%, transparent); max-width: 240px; }
.socials { display: flex; gap: 16px; margin-top: 8px; }
.socials a { color: var(--color-golden); font-weight: 700; font-size: 14px; }
.footer-col h4 { font-family: var(--font-display); font-size: 17px; margin-bottom: 16px; color: var(--color-white); }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a { color: color-mix(in srgb, var(--color-cream) 82%, transparent); font-size: 15px; }
.footer-col a:hover { color: var(--color-golden); }
.footer-col ul.plain li { color: color-mix(in srgb, var(--color-cream) 82%, transparent); font-size: 15px; line-height: 1.5; }
.newsletter p { color: color-mix(in srgb, var(--color-cream) 82%, transparent); font-size: 15px; }
.news-form { display: flex; gap: 8px; flex-wrap: wrap; }
.news-form input {
  flex: 1; min-width: 0; padding: 12px 14px; border-radius: 10px; border: none;
  font: inherit; font-size: 15px; background: var(--color-cream); color: var(--color-brown);
}
.news-form .btn { padding: 12px 20px; }

.footer-legal { border-top: 1px solid rgba(251,243,231,.15); }
.footer-legal .container { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; padding-top: 22px; padding-bottom: 22px; }
.footer-legal p { margin: 0; font-size: 13px; color: color-mix(in srgb, var(--color-cream) 65%, transparent); }
.footer-legal a { color: color-mix(in srgb, var(--color-cream) 78%, transparent); }

/* ============================================================
   NEWSLETTER MODAL
   ============================================================ */
.modal-overlay {
  position: fixed; inset: 0; z-index: 1000;
  background: rgba(91,70,54,.55); backdrop-filter: blur(3px);
  display: flex; align-items: center; justify-content: center; padding: 20px;
  animation: fadeIn .2s ease;
}
.modal-overlay[hidden] { display: none; }
.modal {
  position: relative; width: 100%; max-width: 480px;
  background: var(--color-cream); border-radius: 20px; overflow: hidden;
  box-shadow: var(--shadow-lift); animation: popIn .25s ease;
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes popIn { from { opacity: 0; transform: translateY(12px) scale(.98); } to { opacity: 1; transform: none; } }
.modal-close {
  position: absolute; top: 12px; right: 12px; z-index: 2;
  width: 38px; height: 38px; border-radius: 50%; border: none;
  background: rgba(255,255,255,.9); color: var(--color-brown); font-size: 24px; line-height: 1;
  cursor: pointer; box-shadow: 0 2px 8px rgba(0,0,0,.15);
}
.modal-close:hover { background: var(--color-white); }
.modal-media { height: 190px; overflow: hidden; }
.modal-media img { width: 100%; height: 100%; object-fit: cover; }
.modal-body { padding: 26px 30px 30px; text-align: center; }
.modal-body h2 { font-size: 26px; font-weight: 600; margin-bottom: 6px; }
.modal-sub { font-family: var(--font-display); font-weight: 500; color: var(--color-terracotta-dark); font-size: 19px; margin-bottom: 12px; }
.modal-text { color: var(--color-brown-muted); font-size: 15px; margin-bottom: 20px; }
.modal-form { display: flex; flex-direction: column; gap: 12px; }
.modal-form input {
  padding: 14px 16px; border-radius: 12px; border: 2px solid var(--color-sand);
  font: inherit; font-size: 16px; background: var(--color-white); color: var(--color-brown);
}
.modal-fine { font-size: 13px; color: var(--color-brown-muted); margin: 14px 0 10px; }
.modal-dismiss { font-size: 14px; color: var(--color-brown-muted); }
.modal-success { text-align: center; padding: 10px 0; }
.modal-success h2 { font-size: 24px; margin-bottom: 10px; }
.modal-success p { color: var(--color-brown-muted); margin-bottom: 20px; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .hero h1 { font-size: 46px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .main-nav {
    position: fixed; inset: var(--header-h) 0 auto 0; margin: 0;
    background: var(--color-white); box-shadow: 0 12px 24px rgba(91,70,54,.14);
    transform: translateY(-120%); transition: transform .28s ease;
    max-height: calc(100vh - var(--header-h)); overflow-y: auto;
  }
  .main-nav.open { transform: translateY(0); }
  .main-nav ul { flex-direction: column; gap: 0; padding: 8px 0; }
  .main-nav li { border-bottom: 1px solid var(--color-sand); }
  .main-nav a { display: block; padding: 15px 24px; font-size: 17px; }
  .main-nav a::after { display: none; }
  .hamburger { display: flex; }
  .nav-phone span { display: none; }
  .nav-phone { padding: 6px; }
}

@media (max-width: 768px) {
  .section { padding: 64px 0; }
  .cta-band { padding: 64px 0; }
  .section-head { margin-bottom: 40px; }
  .section-head h2, .split-copy h2, .cta-band h2 { font-size: 28px; }
  .hero { min-height: auto; padding-top: calc(var(--header-h) + 20px); padding-bottom: 40px; }
  .hero h1 { font-size: 34px; }
  .hero-media::after {
    background: linear-gradient(180deg, rgba(251,243,231,.82) 0%, rgba(251,243,231,.92) 55%, rgba(251,243,231,.98) 100%);
  }
  .cards-3 { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; gap: 32px; }
  .trust-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .price-card.featured { transform: none; }
  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: repeat(3, 150px);
    grid-template-areas:
      "b b"
      "a c"
      "d e";
  }
  .ticker-item { width: 220px; height: 160px; }
  .testimonials { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; text-align: left; }
  .footer-legal .container { flex-direction: column; text-align: center; }
}

@media (max-width: 400px) {
  .hero h1 { font-size: 30px; }
  .trust-strip { font-size: 13px; gap: 6px 16px; }
  .nav-book { padding: 10px 16px; font-size: 13px; }
}
