/* ==========================================================================
   GEETA'S LUXE — Landing page stylesheet
   "Beauty is more than how you look. It's how you feel."

   A quiet-luxury editorial aesthetic: a serif display face for headings,
   a clean grotesque for body copy, generous whitespace, and asymmetric,
   image-led composition rather than a boxed "template" feel.

   Palette stays true to the brand board:
   #171717 ink · #F7F3ED cream · #B7AA9A taupe · #C8A96B brass

   Contents
   01. Design tokens
   02. Reset & base
   03. Typography
   04. Layout helpers
   05. Buttons & links
   06. Header / navigation
   07. Hero (split, image led)
   08. Services
   09. Gallery + lightbox
   10. Team
   11. Location & map
   12. Booking CTA (WhatsApp, no form)
   13. Footer
   14. Floating actions (WhatsApp + back to top)
   15. Scroll reveal
   16. Responsive
   17. Reduced motion & print
   ========================================================================== */


/* ==========================================================================
   01. DESIGN TOKENS
   ========================================================================== */
:root {
  /* --- Brand colour, straight off the board --- */
  --ink: #171717;          /* near-black, headings and body               */
  --ink-soft: #4a4643;     /* long-form copy                              */
  --ink-mute: #86807a;     /* captions and meta                           */
  --cream: #f7f3ed;        /* the page's resting background               */
  --cream-deep: #efe9df;   /* second surface, image placeholders          */
  --paper: #ffffff;        /* cards lifted off the cream                  */
  --taupe: #b7aa9a;        /* rules, quiet fills                          */
  --brass: #c8a96b;        /* the accent: rules, icons, button fills      */
  --brass-deep: #8a6a2e;   /* brass dark enough to carry small text       */
  --brass-wash: #f0e7d5;   /* tinted surface in the brass family          */
  --line: #e6e0d5;         /* hairline borders                            */
  --danger: #9c3b2c;

  /* --- Typography ---
     A sophisticated serif for display, a clean grotesque for reading. */
  --font-display: "Playfair Display", "Cormorant Garamond", Georgia, serif;
  --font-body: "Inter", "Helvetica Neue", Arial, sans-serif;

  --fs-hero: clamp(3.4rem, 7vw, 6.5rem);
  --fs-1: clamp(2.5rem, 4.6vw, 3.9rem);
  --fs-2: clamp(2.05rem, 3.4vw, 2.9rem);
  --fs-3: clamp(1.25rem, 1.7vw, 1.5rem);
  --fs-body: 1.0625rem;
  --fs-sm: 0.9375rem;
  --fs-xs: 0.8125rem;

  --lh-tight: 1.04;
  --lh-head: 1.16;
  --lh-body: 1.72;

  /* --- Spacing — generous, so every section can breathe --- */
  --space-1: 0.5rem;
  --space-2: 1rem;
  --space-3: 1.75rem;
  --space-4: 2.5rem;
  --space-5: 3.75rem;
  --space-6: 5.5rem;

  /* --- Structure --- */
  --container: 1240px;
  --gutter: clamp(1.5rem, 6vw, 4rem);
  --section-y: clamp(5.5rem, 9vw, 8.5rem);
  --header-h: 84px;
  --radius: 1px;

  /* --- Motion --- */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --dur-fast: 180ms;
  --dur: 320ms;
  --dur-slow: 760ms;
}


/* ==========================================================================
   02. RESET & BASE
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 1.5rem);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  font-weight: 300;
  line-height: var(--lh-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.is-locked { overflow: hidden; }

img, iframe { max-width: 100%; display: block; border: 0; }
img { height: auto; background: var(--cream-deep); }
ul, ol { margin: 0; padding: 0; list-style: none; }

:focus-visible {
  outline: 2px solid var(--brass-deep);
  outline-offset: 3px;
}

.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;
  top: -100%; left: var(--gutter);
  z-index: 300;
  padding: 0.75rem 1.25rem;
  background: var(--ink);
  color: var(--cream);
  font-size: var(--fs-sm);
  text-decoration: none;
}
.skip-link:focus { top: 0.75rem; }

/* One warm grade over every photograph so mixed sources read as one shoot. */
.img-warm { filter: sepia(0.14) saturate(0.92) contrast(1.02);object-fit: contain; }


/* ==========================================================================
   03. TYPOGRAPHY
   ========================================================================== */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--ink);
  line-height: var(--lh-head);
  margin: 0 0 var(--space-2);
  letter-spacing: -0.01em;
}
h1 { font-size: var(--fs-1); font-weight: 500; }
h2 { font-size: var(--fs-2); font-weight: 500; }
h3 { font-size: var(--fs-3); font-weight: 500; }

p { margin: 0 0 var(--space-2); max-width: 62ch; }

.lede { font-size: 1.2rem; color: var(--ink-soft); line-height: 1.68; max-width: 52ch; }
.muted { color: var(--ink-mute); }

/* Letter-spaced eyebrow label, used sparingly to introduce a section. */
.marker {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 0.75rem;
  letter-spacing: 0.26em;
  font-weight: 500;
  color: var(--brass-deep);
  margin-bottom: 1rem;
}
.marker::before {
  content: "";
  width: 28px; height: 1px;
  background: var(--brass);
  flex: 0 0 auto;
}
.section-head--center .marker { justify-content: center; }

.rule { width: 56px; height: 1px; background: var(--brass); border: 0; margin: 0 0 var(--space-3); }
.rule--center { margin-left: auto; margin-right: auto; }

/* The board's closing line, used as a full-width divider. */
.creed {
  text-align: center;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.5rem, 2.8vw, 2.2rem);
  color: var(--ink);
  max-width: 26ch;
  margin: 0 auto;
}


/* ==========================================================================
   04. LAYOUT HELPERS
   ========================================================================== */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }

.section { padding-block: var(--section-y); }
.section--paper { background: var(--paper); }
.section--ink { background: var(--ink); color: rgba(247,243,237,.8); }
.section--tight { padding-block: clamp(3.5rem, 6vw, 5rem); }

.grid { display: grid; gap: var(--space-4); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.section-head { max-width: 60ch; margin-bottom: var(--space-6); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head p { margin-bottom: 0; color: var(--ink-soft); }
.section-head--center p { margin-inline: auto; }


/* ==========================================================================
   05. BUTTONS & LINKS
   ========================================================================== */
a { color: var(--ink); text-underline-offset: 4px; }
a:hover { color: var(--brass-deep); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 1rem 2.1rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease),
              border-color var(--dur) var(--ease), transform var(--dur-fast) var(--ease);
}
.btn:active { transform: translateY(1px); }

/* Ink on brass clears AA; the reverse would not. */
.btn--primary { background: var(--brass); color: var(--ink); border-color: var(--brass); }
.btn--primary:hover { background: var(--ink); color: var(--cream); border-color: var(--ink); }

.btn--ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--cream); }

.btn--light { background: transparent; color: var(--cream); border-color: rgba(247,243,237,.5); }
.btn--light:hover { background: var(--cream); color: var(--ink); border-color: var(--cream); }

.btn-row { display: flex; flex-wrap: wrap; gap: var(--space-2); }

.link-line {
  display: inline-block;
  font-size: var(--fs-sm);
  letter-spacing: 0.05em;
  text-decoration: none;
  padding-bottom: 2px;
  background-image: linear-gradient(var(--brass), var(--brass));
  background-size: 100% 1px;
  background-repeat: no-repeat;
  background-position: 0 100%;
  transition: background-size var(--dur) var(--ease), color var(--dur) var(--ease);
}
.link-line:hover { background-size: 40% 1px; color: var(--brass-deep); }


/* ==========================================================================
   06. HEADER / NAVIGATION
   ========================================================================== */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(247, 243, 237, 0.9);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 1px 24px rgba(23, 23, 23, 0.05);
}

.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); }

/* --- Logo lockup: the salon's own wordmark artwork --- */
.brand { display: flex; align-items: center; text-decoration: none; }
.brand-logo { height: 40px; width: auto; display: block; }
.brand-name {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.3rem;
  letter-spacing: 0.08em;
  color: var(--ink);
}
.brand-tag { font-size: 0.5625rem; letter-spacing: 0.32em; color: var(--brass-deep); margin-top: 6px; }

.nav { display: flex; align-items: center; gap: var(--space-5); }
.nav-list { display: flex; align-items: center; gap: var(--space-4); }

.nav-link {
  position: relative;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-decoration: none;
  color: var(--ink-soft);
  padding: 0.4rem 0;
  transition: color var(--dur) var(--ease);
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: var(--brass);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--dur) var(--ease);
}
.nav-link:hover, .nav-link:focus-visible, .nav-link.is-active { color: var(--ink); }
.nav-link:hover::after, .nav-link:focus-visible::after, .nav-link.is-active::after { transform: scaleX(1); }

.nav .btn { padding: 0.8rem 1.5rem; font-size: 0.78rem; }

.nav-toggle {
  display: none;
  width: 46px; height: 46px;
  padding: 0;
  background: none;
  border: 1px solid var(--line);
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 20px; height: 1px;
  margin: 5px auto;
  background: var(--ink);
  transition: transform var(--dur) var(--ease), opacity var(--dur-fast) var(--ease);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }


/* ==========================================================================
   07. HERO — split, image led
   The photograph fills the right half of the viewport edge-to-edge; the
   brand and copy sit in a generous column on the left. A smaller frame
   overlaps the base of the main photograph for quiet asymmetry.
   ========================================================================== */
.hero {
  position: relative;
  min-height: 94vh;
  display: flex;
  align-items: center;
  padding-top: var(--header-h);
  padding-bottom: var(--space-6);
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0 0 0 auto;
  width: 48%;
  height: 100%;
}
.hero-media .hero-img-main {
  width: 100%; height: 100%;
  object-fit: cover;
}
.hero-img-sub {
  position: absolute;
  left: -12%;
  bottom: 9%;
  width: 42%;
  aspect-ratio: 1 / 1;
  border: 7px solid var(--cream);
  box-shadow: 0 22px 50px rgba(23, 23, 23, 0.2);
  object-fit: cover;
}

.hero-content { position: relative; z-index: 1; width: 100%; }
.hero-text { max-width: 30rem; }

.hero-title { margin: 0 0 var(--space-4); }
.hero-brand {
  display: block;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: var(--fs-hero);
  line-height: var(--lh-tight);
  letter-spacing: 0.005em;
  color: var(--ink);
}
.hero-tagline {
  display: block;
  margin-top: 0.6rem;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.25rem, 1.9vw, 1.6rem);
  color: var(--brass-deep);
}

.hero-sub { font-size: 1.1rem; color: var(--ink-soft); max-width: 40ch; margin-bottom: var(--space-4); }


/* ==========================================================================
   08. SERVICES
   ========================================================================== */
.service {
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border: 1px solid var(--line);
  overflow: hidden;
  height: 100%;
  transition: border-color var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.service:hover { border-color: var(--brass); transform: translateY(-4px); }

.service-photo { aspect-ratio: 4 / 3; overflow: hidden; background: var(--cream-deep); }
.service-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--dur-slow) var(--ease); }
.service:hover .service-photo img { transform: scale(1.05); }

.service-body { padding: var(--space-4) var(--space-4) var(--space-4); display: flex; flex-direction: column; flex: 1; }
.service-body h3 { margin-bottom: 0.5rem; font-size: 1.35rem; }
.service-body > p { font-size: var(--fs-sm); color: var(--ink-soft); margin-bottom: 0; }


/* ==========================================================================
   09. GALLERY + LIGHTBOX
   ========================================================================== */
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-3); }

.gallery-item {
  position: relative;
  margin: 0;
  padding: 0;
  border: 0;
  overflow: hidden;
  background: var(--cream-deep);
  aspect-ratio: 1 / 1;
  cursor: zoom-in;
  display: block;
  width: 100%;
}
.gallery-item--tall { grid-row: span 2; aspect-ratio: 1 / 2.06; }
.gallery-item--wide { grid-column: span 2; aspect-ratio: 2.06 / 1; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--dur-slow) var(--ease); }
.gallery-item figcaption,
.gallery-item .cap {
  position: absolute;
  inset: auto 0 0 0;
  padding: 2rem 1.1rem 1rem;
  font-size: var(--fs-xs);
  letter-spacing: 0.06em;
  color: #fff;
  text-align: left;
  background: linear-gradient(transparent, rgba(23, 23, 23, 0.82));
  opacity: 0;
  transition: opacity var(--dur) var(--ease);
}
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item:hover .cap,
.gallery-item:focus-visible .cap { opacity: 1; }

/* --- Lightbox --- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: none;
  place-items: center;
  padding: clamp(1rem, 4vw, 3rem);
  background: rgba(23, 23, 23, 0.95);
}
.lightbox.is-open { display: grid; }
.lightbox img { max-width: min(1100px, 92vw); max-height: 78vh; object-fit: contain; }
.lightbox-cap { margin-top: var(--space-2); text-align: center; color: rgba(247,243,237,.82); font-size: var(--fs-sm); }
.lightbox-close,
.lightbox-nav {
  position: absolute;
  width: 48px; height: 48px;
  display: grid; place-items: center;
  background: transparent;
  border: 1px solid rgba(247,243,237,.35);
  border-radius: 50%;
  color: var(--cream);
  cursor: pointer;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease);
}
.lightbox-close:hover,
.lightbox-nav:hover { background: var(--brass); border-color: var(--brass); color: var(--ink); }
.lightbox-close { top: clamp(1rem, 3vw, 2rem); right: clamp(1rem, 3vw, 2rem); }
.lightbox-nav--prev { left: clamp(0.75rem, 3vw, 2rem); top: 50%; transform: translateY(-50%); }
.lightbox-nav--next { right: clamp(0.75rem, 3vw, 2rem); top: 50%; transform: translateY(-50%); }


/* ==========================================================================
   10. TEAM
   ========================================================================== */
.team-card { background: var(--paper); border: 1px solid var(--line); overflow: hidden; transition: border-color var(--dur) var(--ease); }
.team-card:hover { border-color: var(--brass); }
.team-photo { aspect-ratio: 4 / 5; overflow: hidden; background: var(--cream-deep); }
.team-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--dur-slow) var(--ease); }
.team-card:hover .team-photo img { transform: scale(1.04); }
.team-body { padding: var(--space-3) var(--space-4) var(--space-4); }
.team-body h3 { margin-bottom: 0.2rem; font-size: 1.3rem; }
.team-role { font-size: var(--fs-xs); letter-spacing: 0.12em; color: var(--brass-deep); margin-bottom: 0.8rem; }
.team-body p { font-size: var(--fs-sm); color: var(--ink-soft); margin-bottom: 0; }


/* ==========================================================================
   11. LOCATION & MAP
   ========================================================================== */
.map-frame { border: 1px solid var(--line); overflow: hidden; line-height: 0; }
.map-frame iframe { width: 100%; height: 100%; min-height: 460px; filter: grayscale(1) sepia(0.2) contrast(1.02); }

.info-list li { display: flex; gap: var(--space-3); padding: var(--space-3) 0; border-bottom: 1px solid var(--line); }
.info-list i { color: var(--brass-deep); width: 20px; text-align: center; margin-top: 5px; }
.info-list span { display: block; font-size: var(--fs-sm); color: var(--ink-soft); }
.info-list strong { display: block; font-weight: 500; color: var(--ink); margin-bottom: 3px; font-family: var(--font-display); font-size: 1.05rem; }


/* ==========================================================================
   12. BOOKING CTA
   No form — WhatsApp and phone links only, so there is nothing to submit
   and nothing that needs a backend.
   ========================================================================== */
/* WhatsApp green is used only where the action really is WhatsApp. */
.btn--whatsapp { background: #1f7a4d; color: #fff; border-color: #1f7a4d; }
.btn--whatsapp:hover { background: var(--ink); border-color: var(--ink); color: var(--cream); }


/* ==========================================================================
   13. FOOTER
   ========================================================================== */
.site-footer { background: var(--ink); color: rgba(247, 243, 237, 0.7); padding-top: clamp(4rem, 7vw, 6rem); font-size: var(--fs-sm); }
.site-footer a { color: rgba(247, 243, 237, 0.7); text-decoration: none; }
.site-footer a:hover { color: var(--brass); }

.footer-grid { display: grid; grid-template-columns: 1.7fr 1fr 1.1fr 1.3fr; gap: var(--space-4); padding-bottom: var(--space-5); }
.footer-col h3 { color: var(--cream); font-family: var(--font-body); font-size: var(--fs-xs); font-weight: 500; letter-spacing: 0.2em; margin-bottom: var(--space-3); }
.footer-col ul li { margin-bottom: 0.7rem; }

.footer-brand .brand-name { display: block; color: var(--cream); font-size: 1.6rem; }
.footer-brand .brand-tag { display: block; color: var(--brass); }
.footer-brand p { color: rgba(247,243,237,.6); margin: var(--space-2) 0 var(--space-3); max-width: 32ch; }

.footer-col p { color: rgba(247,243,237,.6); font-size: var(--fs-sm); max-width: 30ch; }

.social { display: flex; gap: 0.6rem; margin-top: var(--space-3); }
.social a {
  width: 38px; height: 38px;
  display: grid; place-items: center;
  border: 1px solid rgba(247, 243, 237, 0.22);
  border-radius: 50%;
  font-size: 0.9rem;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.social a:hover { background: var(--brass); border-color: var(--brass); color: var(--ink); }

.footer-bottom {
  border-top: 1px solid rgba(247, 243, 237, 0.13);
  padding-block: var(--space-3);
  display: flex; flex-wrap: wrap; gap: var(--space-2); justify-content: space-between;
  font-size: var(--fs-xs); color: rgba(247, 243, 237, 0.5);
}
.footer-bottom p { margin: 0; }
.footer-bottom ul { display: flex; gap: var(--space-3); flex-wrap: wrap; }


/* ==========================================================================
   14. FLOATING ACTIONS
   The WhatsApp button is always present — it is the primary booking path.
   ========================================================================== */
.fab-stack {
  position: fixed;
  right: clamp(1rem, 3vw, 1.75rem);
  bottom: clamp(1rem, 3vw, 1.75rem);
  z-index: 95;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.75rem;
}

.fab-whatsapp {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.85rem 1.3rem;
  background: #1f7a4d;
  color: #fff;
  border-radius: 999px;
  text-decoration: none;
  font-size: var(--fs-sm);
  letter-spacing: 0.04em;
  box-shadow: 0 10px 28px rgba(23, 23, 23, 0.22);
  transition: transform var(--dur) var(--ease), background var(--dur) var(--ease);
}
.fab-whatsapp i { font-size: 1.25rem; }
.fab-whatsapp:hover { background: #196340; color: #fff; transform: translateY(-2px); }
.fab-whatsapp .fab-label { white-space: nowrap; }

/* A single soft pulse ring, so the button reads as live without flashing. */
.fab-whatsapp::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 999px;
  box-shadow: 0 0 0 0 rgba(31, 122, 77, 0.5);
  animation: pulse 2.8s var(--ease) infinite;
  pointer-events: none;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(31, 122, 77, 0.45); }
  70%  { box-shadow: 0 0 0 16px rgba(31, 122, 77, 0); }
  100% { box-shadow: 0 0 0 0 rgba(31, 122, 77, 0); }
}

.to-top {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  background: var(--ink);
  color: var(--cream);
  border: 1px solid var(--ink);
  border-radius: 50%;
  cursor: pointer;
  opacity: 0; visibility: hidden;
  transform: translateY(10px);
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease),
              visibility var(--dur) var(--ease), background var(--dur) var(--ease);
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { background: var(--brass); border-color: var(--brass); color: var(--ink); }


/* ==========================================================================
   15. SCROLL REVEAL
   ========================================================================== */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity var(--dur-slow) var(--ease), transform var(--dur-slow) var(--ease);
}
[data-reveal].is-visible { opacity: 1; transform: none; }


/* ==========================================================================
   16. RESPONSIVE
   ========================================================================== */
@media (max-width: 1024px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .gallery-item--wide { grid-column: span 2; }
  .hero-text { max-width: 26rem; }
}

@media (max-width: 900px) {
  .grid--3 { grid-template-columns: repeat(2, 1fr); }

  .hero {
    min-height: 0;
    display: block;
    padding-top: calc(var(--header-h) + var(--space-4));
  }
  .hero-media {
    position: relative;
    inset: auto;
    width: 100%;
    height: 62vw;
    max-height: 480px;
    margin-bottom: var(--space-5);
  }
  .hero-img-sub { left: -6%; bottom: -8%; width: 44%; }
  .hero-text { max-width: none; }
}

@media (max-width: 820px) {
  .nav-toggle { display: block; }
  .nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: var(--space-3) var(--gutter) var(--space-4);
    background: var(--cream);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 18px 30px rgba(23, 23, 23, 0.08);
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
    transform: translateY(-8px);
    opacity: 0; visibility: hidden;
    transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease), visibility var(--dur) var(--ease);
  }
  .nav.is-open { opacity: 1; visibility: visible; transform: translateY(0); }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-list li { border-bottom: 1px solid var(--line); }
  .nav-link { display: block; padding: 1rem 0; font-size: 1.05rem; }
  .nav-link::after { display: none; }
  .nav .btn { margin-top: var(--space-3); width: 100%; }
}

@media (max-width: 640px) {
  :root { --header-h: 70px; }
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-item--tall { grid-row: span 1; aspect-ratio: 1 / 1; }
  .gallery-item--wide { grid-column: span 2; aspect-ratio: 2.06 / 1; }
  .brand-logo { height: 30px; }
  .btn-row .btn { flex: 1 1 210px; }
  .footer-bottom { flex-direction: column; }

  .hero-img-sub { display: none; }

  /* Collapse the WhatsApp button to a circle so it never covers content. */
  .fab-whatsapp { padding: 0; width: 54px; height: 54px; justify-content: center; }
  .fab-whatsapp .fab-label { display: none; }
  .fab-whatsapp i { font-size: 1.5rem; }
}


/* ==========================================================================
   17. REDUCED MOTION & PRINT
   ========================================================================== */
@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;
    scroll-behavior: auto !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
  .fab-whatsapp::before { animation: none; }
}

@media print {
  .site-header, .fab-stack, .site-footer, .lightbox { display: none; }
  body { background: #fff; color: #000; }
}
