/* ==========================================================================
   Cuddly Pet Spa — main stylesheet
   Palette from official brand guidelines: mocha #a18f7b · rose #dd9e95
   Fonts: Montserrat (display/headings) · Raleway (body) · Alex Brush (script accents)
   ========================================================================== */

:root {
  --mocha: #a18f7b;
  --mocha-600: #8a7862;
  --mocha-700: #6f5f4d;
  --mocha-900: #443a2f;
  --rose: #dd9e95;
  --rose-600: #cf8078;
  --rose-light: #f1d9d5;
  --ink: #1b1b1b;
  --ink-70: rgba(27, 27, 27, .7);
  --ink-55: rgba(27, 27, 27, .55);
  --cream: #f8f6f3;
  --cream-2: #efe9e2;
  --white: #ffffff;
  --border: rgba(27, 27, 27, .09);
  --border-soft: rgba(161, 143, 123, .25);
  --shadow-soft: 0 20px 60px rgba(68, 58, 47, .12);
  --shadow-lift: 0 30px 70px rgba(68, 58, 47, .18);

  --font-display: 'Montserrat', sans-serif;
  --font-body: 'Raleway', sans-serif;
  --font-script: 'Alex Brush', cursive;

  --ease-wave: cubic-bezier(.34, 1.56, .64, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-spring: cubic-bezier(.22, 1, .36, 1);

  --container: 1240px;

  /* Rounded system — soft everywhere, with a couple of organic/asymmetric
     shapes reserved for one-off feature elements so it doesn't read as a
     uniform "rounded-2xl everywhere" template. */
  --r-sm: 12px;
  --r-md: 20px;
  --r-lg: 28px;
  --r-xl: 40px;
  --r-pill: 999px;
  --r-organic: 62% 38% 53% 47% / 44% 40% 60% 56%;
  --r-organic-2: 38% 62% 47% 53% / 56% 60% 40% 44%;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
/* Perspective lives on #main (not body/html) so it never becomes the
   containing block for the fixed header/toast/scroll-progress siblings. */
#main { perspective: 1400px; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
button { font: inherit; cursor: pointer; }
input, select, textarea { font: inherit; }
h1, h2, h3, h4 { font-family: var(--font-display); margin: 0; font-weight: 600; letter-spacing: -.01em; }

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 999;
  background: var(--ink); color: var(--white); padding: 12px 20px;
}
.skip-link:focus { left: 12px; top: 12px; }

/* ---------- Scroll progress ---------- */
.scroll-progress {
  position: fixed; top: 10px; left: 50%; transform: translateX(-50%);
  width: min(240px, 60vw); height: 4px; background: rgba(27,27,27,.08);
  border-radius: var(--r-pill); z-index: 300; overflow: hidden;
  opacity: 0; transition: opacity .4s var(--ease-out);
}
.scroll-progress.visible { opacity: 1; }
.scroll-progress-bar {
  height: 100%; width: 0%; border-radius: var(--r-pill);
  background: linear-gradient(90deg, var(--mocha), var(--rose));
  transition: width .12s linear;
}

.section-inner { max-width: var(--container); margin: 0 auto; padding: 0 32px; position: relative; z-index: 1; }
.center { text-align: center; }
.cta-row { display: flex; gap: 18px; flex-wrap: wrap; margin-top: 32px; }
.cta-row.center { justify-content: center; }

/* ---------- Kicker / labels ---------- */
.kicker {
  font-family: var(--font-script);
  font-size: 1.7rem;
  color: var(--rose-600);
  margin: 0 0 6px;
  letter-spacing: .01em;
  position: relative;
  display: inline-block;
}
.section-title { font-size: clamp(1.8rem, 3vw, 2.6rem); line-height: 1.15; }
.section-lead { color: var(--ink-55); max-width: 620px; margin: 14px auto 0; font-size: 1.05rem; line-height: 1.7; }
.section-head { margin-bottom: 48px; }
.section-head.center { max-width: 700px; margin-left: auto; margin-right: auto; }

/* ---------- Split-word title reveal ----------
   .split-title words are wrapped (by JS) in <span class="word"><span class="word-inner">
   so each word masks/slides up independently on scroll, staggered — a more
   distinctive alternative to a flat block fade. Falls back to the plain
   .reveal fade if JS never runs (no-js / crawler safe, see .js gate below). */
.split-title .word { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .12em; margin-bottom: -.12em; }
.split-title .word-inner { display: inline-block; }
.js .split-title.split-ready .word-inner {
  transform: translateY(115%) rotate(4deg); opacity: 0;
  transition: transform .8s var(--ease-spring), opacity .6s var(--ease-out);
  transition-delay: var(--wd, 0ms);
}
.js .split-title.split-ready.is-visible .word-inner { transform: translateY(0) rotate(0deg); opacity: 1; }

/* ---------- Section decorative parallax ----------
   Soft floating circles/paws per section, drifting at their own scroll
   speed (data-speed on each .deco-item) for a sense of depth behind the
   content — the same technique as the hero bubbles, reused site-wide. */
.section-deco { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.section-deco .deco-item {
  position: absolute; border-radius: 50%; border: 1.5px solid var(--border-soft);
  will-change: transform;
}
.section-deco .deco-item.filled { border: none; background: var(--rose-light); opacity: .5; }
.section-deco .deco-paw { position: absolute; font-size: 1.4rem; opacity: .18; will-change: transform; }

/* ---------- Direction-varied reveal ----------
   Two-column sections (about, contact) tell a little left/right story
   instead of every block rising from the same direction. */
.js .reveal-left { opacity: 0; transform: translateX(-48px) rotateY(-8deg); transform-origin: right center; }
.js .reveal-right { opacity: 0; transform: translateX(48px) rotateY(8deg); transform-origin: left center; }
.reveal-left, .reveal-right { transition: opacity .9s var(--ease-out), transform .9s var(--ease-spring); }
.reveal-left.is-visible, .reveal-right.is-visible { opacity: 1; transform: translateX(0) rotateY(0deg); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-display); font-weight: 600; font-size: .82rem;
  letter-spacing: .06em; text-transform: uppercase;
  padding: 15px 30px; border: 1px solid transparent; cursor: pointer;
  border-radius: var(--r-pill);
  position: relative; overflow: hidden; isolation: isolate;
  transition: color .35s var(--ease-out), border-color .35s var(--ease-out), transform .18s var(--ease-spring), box-shadow .35s var(--ease-out);
  will-change: transform;
}
.btn::before {
  content: ''; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  transform: translateY(101%); transition: transform .45s var(--ease-out);
}
.btn:hover::before { transform: translateY(0); }
.btn:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(68,58,47,.2); }
/* magnetic pull handled via JS custom properties --mx/--my (px offsets) */
.btn[data-magnetic] { transform: translate(var(--mx, 0), var(--my, 0)); }
.btn[data-magnetic]:hover { box-shadow: 0 14px 30px rgba(68,58,47,.2); }

.btn-primary { background: var(--ink); color: var(--white); }
.btn-primary::before { background: var(--mocha); }

.btn-ghost { color: var(--white); border-color: rgba(255,255,255,.5); }
.btn-ghost::before { background: rgba(255,255,255,.14); }

.btn-outline { color: var(--ink); border-color: var(--border-soft); background: transparent; }
.btn-outline::before { background: var(--ink); }
.btn-outline:hover { color: var(--white); }

.btn-lg { padding: 18px 38px; font-size: .85rem; }
.btn-sm { padding: 11px 22px; font-size: .74rem; }
.btn.full { width: 100%; }

/* ---------- Wave hover (char-split style, staggered) ---------- */
[data-wave] { position: relative; }
.nav-link { position: relative; padding: 8px 4px; font-family: var(--font-display); font-size: .85rem; font-weight: 500; letter-spacing: .02em; }
.nav-link::before {
  content: ''; position: absolute; inset: -2px -10px; border-radius: var(--r-pill);
  background: currentColor; opacity: 0; transform: scale(.7);
  transition: transform .35s var(--ease-spring), opacity .35s var(--ease-out); z-index: -1;
}
.nav-link:hover::before { opacity: .1; transform: scale(1); }
.nav-link::after {
  content: ''; position: absolute; left: 4px; bottom: 2px; height: 1.5px; width: calc(100% - 8px);
  background: var(--rose-600); transform: scaleX(0); transform-origin: right; border-radius: var(--r-pill);
  transition: transform .45s var(--ease-wave);
}
.nav-link:hover::after { transform: scaleX(1); transform-origin: left; }
.nav-link:hover { color: #f8afa0; }
.nav-link.active { color: #f8afa0; }
.nav-link.active::after { transform: scaleX(1); background: var(--mocha); }
.site-header.scrolled .nav-link.active { color: var(--mocha-700); }

/* ---------- Header ----------
   Becomes a floating rounded pill bar once scrolled, detached from the
   viewport edge — reads as a deliberate object rather than a flat bar. */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  background: transparent;
  transition: padding .45s var(--ease-spring);
  padding: 22px 0;
}
.site-header.scrolled { padding: 14px 16px 0; }
.header-inner {
  max-width: var(--container); margin: 0 auto; padding: 0 32px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  border-radius: var(--r-pill);
  transition: background .4s var(--ease-out), box-shadow .45s var(--ease-out), padding .4s var(--ease-out), max-width .4s var(--ease-out);
}
.site-header.scrolled .header-inner {
  background: rgba(248, 246, 243, .5); backdrop-filter: blur(16px) saturate(1.4);
  box-shadow: 0 12px 40px rgba(68,58,47,.14), inset 0 0 0 1px rgba(255,255,255,.5);
  padding: 8px 14px 8px 26px; max-width: calc(var(--container) - 40px);
}
/* Two logos crossfade at the scroll breakpoint: the full lockup (white on
   the transparent hero header) gives way to the compact colored logomark
   once the header becomes a solid pill — sized for that smaller context. */
.brand { position: relative; display: inline-flex; align-items: center; }
.brand-logo { height: 120px; width: auto; transition: height .3s var(--ease-out), opacity .3s var(--ease-out), filter .3s; }
.brand-logo-full { filter: brightness(0) invert(1); }
.brand-logo-sticky {
  position: absolute; left: 0; top: 50%; height: 46px;
  transform: translateY(-50%); opacity: 0; pointer-events: none; max-width: none; filter: brightness(0);
}
.site-header.scrolled .brand-logo-full { height: 42px; opacity: 0; }
.site-header.scrolled .brand-logo-sticky { opacity: 1; }

.main-nav ul { display: flex; gap: 34px; }
.main-nav a { color: var(--white); }
.site-header.scrolled .main-nav a { color: var(--ink); }

.header-actions { display: flex; align-items: center; gap: 20px; }
.header-actions .btn-primary { background: var(--white); color: var(--ink); }
.header-actions .btn-primary::before { background: var(--rose); }
.header-actions .btn-primary:hover { color: var(--white); }
.site-header.scrolled .header-actions .btn-primary { background: var(--ink); color: var(--white); }

.nav-toggle {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 30px; height: 24px; background: none; border: none; padding: 0;
}
.nav-toggle span { display: block; height: 2px; background: var(--white); transition: transform .3s, opacity .3s, background .3s; }
.site-header.scrolled .nav-toggle span { background: var(--ink); }

/* ---------- Page banner (interior pages) ----------
   Compact stand-in for the hero — gives the transparent header a dark
   backdrop to sit on before the page settles onto the normal cream body. */
.page-banner {
  position: relative; overflow: hidden; color: var(--white);
  min-height: 400px; display: flex; align-items: center; justify-content: center; text-align: center;
  padding: 140px 32px 70px;
  background: linear-gradient(135deg, var(--mocha-900) 0%, var(--mocha-700) 55%, var(--mocha) 100%);
}
.page-banner-inner { position: relative; z-index: 1; max-width: 720px; }
.page-banner .kicker { color: var(--rose-light); }
.page-banner-title { font-size: clamp(2.2rem, 4.4vw, 3.4rem); line-height: 1.1; color: var(--white); }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100svh; display: flex; flex-direction: column;
  align-items: center; justify-content: center; overflow: hidden; color: var(--white);
}
.hero-media { position: absolute; inset: 0; z-index: 0; }
.hero-video, .hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(27,20,15,.55) 0%, rgba(27,20,15,.45) 40%, rgba(27,20,15,.72) 100%);
}
.hero-bubbles { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.hero-bubbles .bubble {
  position: absolute; border: 1.5px solid rgba(255,255,255,.35); border-radius: 50%;
  animation: floatBubble 9s ease-in-out infinite;
}
.b1 { width: 60px; height: 60px; left: 8%; top: 22%; animation-delay: 0s; }
.b2 { width: 34px; height: 34px; left: 14%; top: 55%; animation-delay: 1.2s; }
.b3 { width: 90px; height: 90px; right: 10%; top: 18%; animation-delay: .6s; }
.b4 { width: 26px; height: 26px; right: 22%; top: 62%; animation-delay: 2s; }
.b5 { width: 46px; height: 46px; right: 6%; top: 70%; animation-delay: 1.6s; }
.paw { position: absolute; font-size: 1.6rem; opacity: .35; animation: floatBubble 11s ease-in-out infinite; }
.p1 { left: 20%; top: 75%; animation-delay: .8s; }
.p2 { right: 30%; top: 30%; animation-delay: 2.4s; }

@keyframes floatBubble {
  0%, 100% { transform: translateY(0) translateX(0) rotate(0deg); }
  50% { transform: translateY(-26px) translateX(10px) rotate(8deg); }
}

.hero-content { position: relative; z-index: 2; text-align: center; max-width: 880px; padding: 140px 32px 60px; }
.hero .kicker { color: var(--rose-light); }
.hero-title { font-size: clamp(2rem, 6vw, 4.6rem); line-height: 1.05; color: var(--white); text-wrap: balance; }
.hero-subtitle { margin: 22px auto 0; max-width: 560px; font-size: 1.08rem; line-height: 1.8; color: rgba(255,255,255,.85); }
.hero-actions { margin-top: 38px; display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; }

.scroll-cue {
  position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%); z-index: 2;
  width: 26px; height: 42px; border: 1.5px solid rgba(255,255,255,.6); border-radius: 20px;
}
.scroll-cue span {
  position: absolute; top: 8px; left: 50%; width: 4px; height: 8px; margin-left: -2px;
  background: var(--white); border-radius: 3px; animation: scrollCue 1.8s ease-in-out infinite;
}
@keyframes scrollCue { 0% { opacity: 1; transform: translateY(0); } 70% { opacity: 0; transform: translateY(14px); } 100% { opacity: 0; } }

/* ---------- Reveal animation ----------
   Hidden state only applies once JS confirms it can reveal the content again
   (progressive enhancement — content stays visible with JS off, or if an
   element is never scrolled past, e.g. crawlers / full-page captures).
   Blocks tilt gently out of the page depth (rotateX) rather than a flat
   fade/slide, using the shared perspective set on body. */
.js .reveal:not(.split-title):not(.tilt-card) { opacity: 0; transform: translateY(36px) scale(.96) rotateX(6deg); transform-origin: bottom center; }
.reveal:not(.split-title):not(.tilt-card) { transition: opacity .85s var(--ease-out), transform .85s var(--ease-spring); }
.reveal.is-visible:not(.split-title):not(.tilt-card) { opacity: 1; transform: translateY(0) scale(1) rotateX(0deg); }
/* Titles animate purely through their per-word mask (below) instead of a
   block-level fade, so the two effects don't compound into a muddy motion. */
.reveal.split-title { opacity: 1; transform: none; }
/* Tilt cards get a plain opacity entrance — their transform is owned
   entirely by .tilt-card (below) so entrance and hover-tilt share one
   pipeline instead of two rules fighting over `transform`. */
.js .tilt-card.reveal { opacity: 0; }
.tilt-card.reveal { transition: opacity .7s var(--ease-out); }
.tilt-card.reveal.is-visible { opacity: 1; }

/* ---------- About ---------- */
.about { padding: 120px 0; background: var(--white); position: relative; }
.about-grid { display: grid; grid-template-columns: .85fr 1fr; gap: 80px; align-items: center; }
.about-media { position: relative; isolation: isolate; }
.about-media::before {
  content: ''; position: absolute; inset: -22px -22px auto auto; width: 70%; height: 60%;
  background: linear-gradient(135deg, var(--rose-light), var(--rose)); opacity: .5;
  border-radius: var(--r-organic); z-index: -1; animation: blobMorph 14s ease-in-out infinite;
}
.about-media img { width: 100%; aspect-ratio: 5/6; object-fit: cover; border-radius: var(--r-organic); transition: border-radius 1.2s var(--ease-spring); }
.about-media:hover img { border-radius: var(--r-organic-2); }

@keyframes blobMorph {
  0%, 100% { border-radius: var(--r-organic); }
  50% { border-radius: var(--r-organic-2); }
}

.about-text { margin: 20px 0 32px; color: var(--ink-70); line-height: 1.9; font-size: 1.02rem; }
.about-values { display: flex; flex-direction: column; gap: 22px; }
.about-values li { display: flex; gap: 16px; align-items: flex-start; }
.value-icon {
  flex: none; width: 46px; height: 46px; display: flex; align-items: center; justify-content: center;
  background: var(--cream-2); border-radius: var(--r-md); font-size: 1.1rem; color: var(--mocha-700);
  transition: transform .4s var(--ease-spring), background .3s;
}
.about-values li:hover .value-icon { transform: rotate(-8deg) scale(1.08); background: var(--rose-light); }
.about-values strong { font-family: var(--font-display); font-size: 1rem; }
.about-values p { margin: 4px 0 0; color: var(--ink-55); font-size: .92rem; line-height: 1.6; }

/* ---------- Services ---------- */
.services { padding: 120px 0; background: var(--cream-2); position: relative; }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
/* Tilt cards: the OUTER .tilt-card is the mousemove/hit-test target and
   never itself transforms, so its bounding box stays stable no matter how
   far the card tilts — otherwise a rotated hit-box chases the pointer and
   the two fight (mouseleave/mouseenter oscillating mid-gesture). The actual
   perspective/rotate lives on the inner .tilt-inner wrapper instead. */
.tilt-card { --rx: 0deg; --ry: 0deg; --ty: 0px; }
.tilt-inner {
  transform: perspective(900px) rotateX(var(--rx)) rotateY(var(--ry)) translateY(var(--ty));
  transition: transform .6s var(--ease-spring);
  will-change: transform;
  height: 100%;
}
/* Starting pose only under JS (progressive enhancement — see .reveal above);
   the IntersectionObserver flips these back to 0 via .is-visible, and hover
   tilt then drives the same --rx/--ry/--ty pipeline. */
.js .tilt-card.reveal:not(.is-visible) { --rx: 10deg; --ry: 0deg; --ty: 34px; }
.tilt-card.tilting .tilt-inner { transition: transform .08s linear; }

/* Full-bleed poster cards — the image fills the entire card and the copy
   sits on a dark gradient scrim at the bottom for legibility, instead of a
   separate white body block underneath. Taller than before (aspect 3/4) so
   the photography reads as the hero of each card. */
.service-card {
  background: var(--ink); overflow: hidden; box-shadow: var(--shadow-soft);
  border-radius: var(--r-lg);
}
.service-card:hover { box-shadow: var(--shadow-lift); }
.service-media { display: block; position: relative; aspect-ratio: 2/3; overflow: hidden; border-radius: var(--r-lg); }
.service-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease-out); }
.service-card:hover .service-media img { transform: scale(1.08); }
.service-scrim {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(20,16,13,0) 0%, rgba(20,16,13,.05) 40%, rgba(20,16,13,.75) 72%, rgba(20,16,13,.94) 100%);
}
.service-icon {
  position: absolute; top: 24px; left: 24px; width: 52px; height: 52px; z-index: 2;
  background: var(--rose); color: var(--white); display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-soft); border-radius: var(--r-md) var(--r-md) var(--r-md) var(--r-sm);
  transition: transform .4s var(--ease-spring);
}
.service-card:hover .service-icon { transform: rotate(-10deg) scale(1.06); }
.service-icon svg { width: 22px; height: 22px; }
.coming-soon-badge {
  /* Solid background, no backdrop-filter: Firefox has a long-standing
     compositor bug where backdrop-filter on a descendant of a 3D-transformed
     ancestor (.tilt-inner's perspective/rotateX/rotateY) can blank out
     later siblings — exactly the .service-overlay text block here. */
  position: absolute; top: 24px; right: 24px; z-index: 2;
  background: var(--cream); color: var(--mocha-900);
  font-family: var(--font-display); font-size: .68rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  padding: 7px 14px; border-radius: var(--r-pill); box-shadow: var(--shadow-soft);
}
.service-overlay {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 26px 28px 30px; color: var(--white);
}
.service-overlay h3 { font-size: 1.5rem; margin-bottom: 10px; color: var(--white); }
.service-overlay p { color: rgba(255,255,255,.82); font-size: .93rem; line-height: 1.65; margin: 0 0 16px; }
.service-link { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-display); font-size: .8rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--white); }
.service-link .arrow { transition: transform .3s var(--ease-wave); }
.service-link:hover .arrow { transform: translateX(6px); }

/* ---------- Products ---------- */
.products { padding: 120px 0; background: var(--white); position: relative; }
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; margin-bottom: 44px; }
.product-card { position: relative; }
.product-media { display: block; position: relative; aspect-ratio: 1/1; overflow: hidden; background: var(--cream-2); border-radius: var(--r-lg); }
.product-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease-out); }
.product-card:hover .product-media img { transform: scale(1.06); }
.product-tag {
  position: absolute; top: 14px; left: 14px; background: var(--ink); color: var(--white);
  font-size: .68rem; letter-spacing: .05em; text-transform: uppercase; padding: 6px 12px; font-weight: 600;
  border-radius: var(--r-pill);
}
.product-body { padding: 18px 4px 0; }
.product-category { font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; color: var(--rose-600); font-weight: 600; }
.product-body h3 { font-size: 1.02rem; margin: 6px 0 10px; }
.product-desc {
  color: var(--ink-55); font-size: .86rem; line-height: 1.6; margin: 0 0 10px;
  display: -webkit-box; -webkit-line-clamp: 3; line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.product-footer { display: flex; align-items: center; justify-content: space-between; }
.product-price { font-family: var(--font-display); font-weight: 700; color: var(--ink); }

/* ---------- Category tabs (produits.php) ---------- */
.category-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 48px; }
.category-tab {
  font-family: var(--font-display); font-size: .8rem; font-weight: 600; letter-spacing: .03em;
  padding: 11px 22px; border-radius: var(--r-pill); border: 1px solid var(--border);
  color: var(--ink-55); background: var(--white);
  transition: background .3s, color .3s, border-color .3s, transform .25s var(--ease-spring);
}
.category-tab:hover { border-color: var(--border-soft); transform: translateY(-2px); }
.category-tab.active { background: var(--ink); color: var(--white); border-color: var(--ink); }

/* Products grouped by brand (produits.php): text links rather than a second
   row of pills, so they don't read as another filter next to the tabs. */
.brand-nav {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: baseline;
  gap: 6px 18px; margin: -20px 0 56px; font-size: .88rem;
}
.brand-nav-label { color: var(--ink-55); }
.brand-nav a {
  font-family: var(--font-display); font-weight: 600; color: var(--ink);
  text-decoration: underline; text-decoration-color: var(--border-soft); text-underline-offset: 4px;
  transition: color .2s, text-decoration-color .2s;
}
.brand-nav a:hover { color: var(--mocha-700); text-decoration-color: currentColor; }
.brand-nav a span { font-weight: 400; color: var(--ink-55); }
.brand-group { scroll-margin-top: 120px; } /* clears the fixed header on #anchor jumps */
.brand-group + .brand-group { margin-top: 16px; }
.brand-title {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px;
  font-size: clamp(1.3rem, 2.2vw, 1.7rem); color: var(--ink);
  padding-bottom: 14px; margin-bottom: 28px; border-bottom: 1px solid var(--border);
}
.brand-count { font-family: var(--font-body); font-size: .85rem; font-weight: 500; color: var(--ink-55); }

/* ---------- Partners ---------- */
.partners { padding: 70px 0; background: var(--cream-2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.partner-marquee { overflow: hidden; margin-top: 20px; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.partner-track { display: flex; gap: 24px; width: max-content; animation: marquee 26s linear infinite; }
.partner-track:hover { animation-play-state: paused; }
/* Each brand mark sits in a same-size white card so very different logo
   proportions (a wordmark vs. a crest) still read as one consistent row.
   Logos are desaturated at rest and bloom to full color on hover — keeps
   the resting marquee calm while still rewarding a closer look. */
.partner-logo {
  flex: none; width: 190px; height: 104px; display: flex; align-items: center; justify-content: center;
  padding: 18px 22px; border-radius: var(--r-lg); /* background: var(--white);
  border: 1px solid var(--border); box-shadow: 0 2px 0 rgba(68,58,47,.02); */
  font-family: var(--font-display); font-weight: 700; font-size: 1rem; letter-spacing: .03em;
  color: var(--ink-55); white-space: nowrap;
  transition: transform .35s var(--ease-spring), border-color .3s, box-shadow .3s;
}
.partner-logo img { max-width: 100%; max-height: 100%; object-fit: contain; /*filter: grayscale(1) opacity(.6);*/ transition: filter .4s var(--ease-out); }
.partner-logo:hover { transform: translateY(-4px); /* border-color: var(--border-soft); box-shadow: var(--shadow-soft);*/ }
.partner-logo:hover img { filter: grayscale(0) opacity(1); }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- Testimonials marquee ----------
   Two rows of review cards drifting opposite directions (left / right),
   pausing on hover — same proven technique as .partner-marquee, reused
   here instead of a dot-driven single-slide carousel. */
.testimonials { padding: 120px 0; background: var(--white); position: relative; overflow: hidden; }
.stars { color: var(--rose-600); font-size: 1.1rem; letter-spacing: 2px; margin-bottom: 18px; }

.testimonial-marquee { display: flex; flex-direction: column; gap: 22px; }
.testimonial-marquee-row {
  overflow: hidden; padding: 10px 0;
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.testimonial-marquee-track { display: flex; gap: 22px; width: max-content; animation: marquee 42s linear infinite; }
.testimonial-marquee-row.reverse .testimonial-marquee-track { animation-direction: reverse; }
.testimonial-marquee-row:hover .testimonial-marquee-track { animation-play-state: paused; }

.review-card {
  flex: none; width: 320px; background: var(--cream-2); border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: 24px 26px;
  transition: transform .35s var(--ease-spring), box-shadow .35s var(--ease-out), border-color .35s;
}
.review-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-soft); border-color: var(--border-soft); background: var(--white); }
.review-card .stars { margin-bottom: 12px; font-size: .92rem; }
.review-card blockquote {
  margin: 0 0 18px; font-family: var(--font-body); font-size: .92rem; line-height: 1.65; color: var(--ink-70);
  display: -webkit-box; -webkit-line-clamp: 3; line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.review-card figcaption { display: flex; align-items: center; gap: 12px; }
.review-card img { width: 38px; height: 38px; border-radius: 50%; object-fit: cover; flex: none; }
.review-card figcaption strong { display: block; font-family: var(--font-display); font-size: .85rem; }
.review-card figcaption span { font-size: .76rem; color: var(--ink-55); }

/* ---------- Testimonials grid (temoignages.php) ---------- */
.testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.testimonial-tile {
  background: var(--cream-2); border-radius: var(--r-lg); padding: 34px 30px;
  transition: transform .4s var(--ease-spring), box-shadow .4s var(--ease-out);
}
.testimonial-tile:hover { transform: translateY(-6px); box-shadow: var(--shadow-soft); }
.testimonial-tile blockquote {
  margin: 0 0 22px; font-family: var(--font-display); font-size: 1rem; line-height: 1.65; color: var(--ink); font-style: italic;
}
.testimonial-tile figcaption { display: flex; align-items: center; gap: 12px; }
.testimonial-tile img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; }
.testimonial-tile figcaption strong { display: block; font-family: var(--font-display); font-size: .88rem; }
.testimonial-tile figcaption span { font-size: .78rem; color: var(--ink-55); }

/* ---------- Blog ---------- */
.blog { padding: 120px 0; background: var(--cream-2); position: relative; }
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.blog-card { background: var(--white); box-shadow: var(--shadow-soft); overflow: hidden; border-radius: var(--r-lg); }
.blog-card:hover { box-shadow: var(--shadow-lift); }
.blog-media { display: block; aspect-ratio: 3/2; overflow: hidden; border-radius: var(--r-lg) var(--r-lg) 0 0; }
.blog-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease-out); }
.blog-card:hover .blog-media img { transform: scale(1.08); }
.blog-body { padding: 26px 26px 30px; }
.blog-date { font-size: .74rem; letter-spacing: .05em; text-transform: uppercase; color: var(--rose-600); font-weight: 600; }
.blog-body h3 { font-size: 1.08rem; margin: 10px 0; line-height: 1.4; }
.blog-body p { color: var(--ink-55); font-size: .9rem; line-height: 1.7; margin: 0 0 16px; }
.blog-link { display: inline-flex; gap: 6px; font-family: var(--font-display); font-size: .78rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
.blog-link .arrow { transition: transform .3s var(--ease-wave); }
.blog-link:hover .arrow { transform: translateX(6px); }

/* ---------- Single blog post (blog-post.php) ---------- */
.post-hero { position: relative; min-height: 60vh; display: flex; align-items: flex-end; color: var(--white); overflow: hidden; }
.post-hero-media { position: absolute; inset: 0; }
.post-hero-media img { width: 100%; height: 100%; object-fit: cover; }
.post-hero-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(27,20,15,.35) 0%, rgba(27,20,15,.55) 60%, rgba(27,20,15,.88) 100%); }
.post-hero-content { position: relative; z-index: 1; max-width: var(--container); margin: 0 auto; padding: 160px 32px 60px; width: 100%; }
.post-back { display: flex; width: fit-content; color: rgba(255,255,255,.8); font-size: .85rem; font-weight: 600; margin-bottom: 22px; }
.post-back:hover { color: var(--white); }
.post-title { font-size: clamp(1.9rem, 4vw, 3rem); line-height: 1.15; color: var(--white); max-width: 780px; margin-top: 10px; }
.post-hero .blog-date { color: var(--rose-light); }

.post-body-section { padding: 80px 0 40px; background: var(--white); }
.post-layout { max-width: 780px; }
.post-lead { font-family: var(--font-display); font-size: 1.2rem; line-height: 1.6; color: var(--ink); margin: 0 0 28px; }
.post-content-text { color: var(--ink-70); font-size: 1.02rem; line-height: 1.9; }
.post-content-text p { margin: 0 0 20px; }

/* ---------- SEO articles (articles.php / article.php — netlinking module) ---------- */
/* Card titles are <h2> on articles.php (nothing else sits between the page's
   <h1> and the cards), styled like the blog's <h3> card titles. */
.blog-body .blog-card-title { font-size: 1.08rem; margin: 10px 0; line-height: 1.4; }
.rich-text > :first-child { margin-top: 0; }
.rich-text h2 { font-size: 1.45rem; line-height: 1.3; color: var(--ink); margin: 48px 0 16px; }
.rich-text h3 { font-size: 1.15rem; line-height: 1.35; color: var(--ink); margin: 34px 0 12px; }
.rich-text h4 { font-size: 1rem; color: var(--ink); margin: 26px 0 10px; }
.rich-text ul, .rich-text ol { margin: 0 0 20px; padding-left: 24px; }
.rich-text ul { list-style: disc; } /* the global reset strips bullets from every <ul> */
.rich-text li { margin-bottom: 8px; }
.rich-text li::marker { color: var(--rose-600); }
.rich-text strong { color: var(--ink); font-weight: 600; }
.rich-text a { color: var(--mocha-700); text-decoration: underline; text-underline-offset: 3px; transition: color .2s; }
.rich-text a:hover { color: var(--ink); }
.rich-text blockquote {
  margin: 32px 0; padding: 6px 0 6px 24px; border-left: 3px solid var(--rose);
  font-family: var(--font-display); font-size: 1.08rem; line-height: 1.7; color: var(--ink);
}
.rich-text blockquote p { margin: 0; }
.rich-text figure.table { margin: 32px 0; overflow-x: auto; }
.rich-text table { width: 100%; border-collapse: collapse; font-size: .95rem; line-height: 1.6; }
.rich-text th, .rich-text td { border: 1px solid var(--border-soft); padding: 10px 14px; text-align: left; vertical-align: top; }
.rich-text th { background: var(--cream-2); color: var(--ink); font-family: var(--font-display); font-weight: 600; }
.preview-note {
  background: var(--rose-light); border-radius: var(--r-md); padding: 14px 20px;
  font-size: .9rem; line-height: 1.6; color: var(--ink); margin: 0 0 28px;
}

/* ---------- Legal pages (politique de confidentialité, CGV) ---------- */
.legal-content h2 { font-size: 1.25rem; color: var(--ink); margin: 44px 0 14px; }
.legal-content h2:first-child { margin-top: 0; }
.legal-content h3 { font-size: 1.02rem; color: var(--ink); margin: 26px 0 10px; }
.legal-content ul { margin: 0 0 20px; padding-left: 22px; }
.legal-content li { margin-bottom: 8px; }
.legal-content a { color: var(--mocha-700); text-decoration: underline; text-underline-offset: 2px; }
.legal-note {
  background: var(--cream-2); border: 1px solid var(--border); border-radius: var(--r-md);
  padding: 16px 20px; font-size: .9rem; line-height: 1.7; color: var(--ink-70); margin: 0 0 28px;
}
.legal-note strong { color: var(--ink); }
.legal-updated { color: var(--ink-55); font-size: .85rem; margin: 0 0 36px; }
/* These pages are short enough that the footer's circular logo badge
   (pulled up via a large negative margin, by design) would otherwise
   overlap the CTA row right above it. */
.legal-content + .cta-row { margin-bottom: 140px; }

/* .post-back also appears outside a dark hero (produit.php) — lighten it there */
.post-back.on-light { color: var(--ink-55); }
.post-back.on-light:hover { color: var(--ink); }

/* Small info pills for price/duration/stock — used on both service.php and produit.php */
.detail-meta-row { display: flex; gap: 14px; flex-wrap: wrap; margin: 20px 0 8px; }
.detail-meta-chip {
  background: var(--cream-2); border-radius: var(--r-md); padding: 12px 20px;
  display: flex; flex-direction: column; gap: 2px;
}
.detail-meta-label { font-size: .7rem; letter-spacing: .05em; text-transform: uppercase; color: var(--ink-55); }
.detail-meta-chip strong { font-family: var(--font-display); font-size: 1rem; color: var(--ink); }

.delivery-note {
  display: flex; align-items: flex-start; gap: 10px; margin: 18px 0 0;
  font-size: .86rem; line-height: 1.6; color: var(--ink-55);
}
.delivery-icon { font-size: 1.05rem; line-height: 1.6; flex: none; }
.delivery-note a { color: var(--mocha-700); text-decoration: underline; text-underline-offset: 2px; }

/* ---------- Product detail (produit.php) ---------- */
.product-detail { padding: 60px 0 40px; background: var(--white); }
.product-detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; margin-top: 28px; align-items: start; }
.product-detail-media {
  position: relative; aspect-ratio: 1/1; border-radius: var(--r-xl); overflow: hidden; background: var(--cream-2);
}
.product-detail-media img { width: 100%; height: 100%; object-fit: cover; }
.product-detail-info { padding-top: 8px; }
.product-detail-title { font-size: clamp(1.8rem, 3.4vw, 2.6rem); line-height: 1.15; margin: 10px 0 14px; }
.product-detail-price { font-family: var(--font-display); font-size: 1.6rem; font-weight: 700; color: var(--mocha-700); }

/* ---------- Contact / Reservation ---------- */
.contact { padding: 120px 0 140px; background: var(--white); position: relative; }
.contact-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 70px; }
.info-list { margin-top: 30px; display: flex; flex-direction: column; gap: 26px; }
.info-list li { display: flex; gap: 16px; }
.info-icon {
  font-size: 1.1rem; flex: none; width: 44px; height: 44px; display: flex; align-items: center;
  justify-content: center; background: var(--cream-2); border-radius: var(--r-md);
  transition: transform .4s var(--ease-spring);
}
.info-list li:hover .info-icon { transform: rotate(-8deg) scale(1.08); }
.info-list strong { font-family: var(--font-display); font-size: .95rem; }
.info-list p, .info-list a { margin: 4px 0 0; color: var(--ink-55); font-size: .92rem; line-height: 1.6; }

.reservation-panel { background: var(--cream-2); padding: 48px; border-radius: var(--r-xl) var(--r-xl) var(--r-xl) var(--r-sm); }
.reservation-panel h3 { font-size: 1.5rem; margin-bottom: 8px; }
.reservation-panel > p { color: var(--ink-55); font-size: .92rem; margin: 0 0 28px; }

.reservation-form { display: flex; flex-direction: column; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.reservation-form label { display: flex; flex-direction: column; gap: 8px; font-size: .8rem; font-weight: 600; color: var(--ink-70); }
.reservation-form label.full { width: 100%; }
.reservation-form input, .reservation-form select, .reservation-form textarea {
  border: 1px solid var(--border-soft); background: var(--white); padding: 13px 16px;
  font-family: var(--font-body); font-size: .92rem; color: var(--ink); resize: vertical;
  border-radius: var(--r-sm);
  transition: border-color .3s, box-shadow .3s, transform .2s var(--ease-spring);
}
.reservation-form input:focus, .reservation-form select:focus, .reservation-form textarea:focus {
  outline: none; border-color: var(--mocha); box-shadow: 0 0 0 4px rgba(161,143,123,.16); transform: translateY(-1px);
}
.form-errors {
  background: #fdecea; border: 1px solid #f3c6c1; color: #a13a2f; padding: 14px 18px; font-size: .85rem; line-height: 1.6;
  border-radius: var(--r-sm);
}

/* ---------- Footer ---------- */
.site-footer {
  background: linear-gradient(160deg, var(--ink) 0%, var(--mocha-900) 55%, var(--mocha-700) 130%);
  color: rgba(255,255,255,.75); padding: 80px 0 0;
}

/* Centered logo, oversized, on a soft glow badge for visual weight */
.footer-brand-row {
  /* max-width: 640px; margin: 0 auto; padding: 0 32px 56px; text-align: center;
  display: flex; flex-direction: column; align-items: center; */
  margin: -161px auto 0;
  display: table;
  background: linear-gradient(45deg, var(--ink) 0%, var(--mocha-900) 55%, var(--mocha-700) 130%);
  border-radius: 50%;
  padding: 15px;
  box-shadow: rgba(0,0,0,.5) 0 0 15px;
}
.footer-logo-badge {
  width: 168px; height: 168px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: radial-gradient(circle, rgba(255,255,255,.09) 0%, rgba(255,255,255,.02) 70%, transparent 100%);
  border: 1px solid rgba(255,255,255,.12);
}
.footer-logo { height: 116px; width: auto; transform: scale(1.4);}
.footer-desc { font-size: .92rem; line-height: 1.8; color: rgba(255,255,255,.6); }

.footer-top {
  max-width: var(--container); margin: 0 auto; padding: 0 32px 30px;
  display: grid; grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr; gap: 40px;
  border-bottom: 1px solid rgba(255,255,255,.1);
  padding-top: 30px;
}
.footer-divider { align-self: stretch; width: 1px; background: rgba(255,255,255,.12); height: 100px;
  top: calc(50% - 50px);
  position: relative;}
.footer-col h4 { color: var(--white); font-size: .85rem; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 20px; }
.footer-col ul { display: flex; flex-direction: column; gap: 12px; font-size: .88rem; }
.footer-col a { color: rgba(255,255,255,.65); transition: color .3s; }
.footer-col a:hover { color: var(--rose-light); }

.footer-icon-list li { display: flex; align-items: flex-start; gap: 10px; }
.footer-icon-list svg { width: 17px; height: 17px; flex: none; margin-top: 2px; color: var(--rose-light); }
.footer-icon-list a, .footer-icon-list span { color: rgba(255,255,255,.65); line-height: 1.5; }
.footer-icon-list li:hover svg { color: var(--rose); }
.footer-icon-list a:hover { color: var(--rose-light); }

.footer-bottom {
  max-width: var(--container); margin: 0 auto; padding: 15px 32px; display: flex;
  justify-content: space-between; font-size: .78rem; color: rgba(255,255,255,.45); flex-wrap: wrap; gap: 10px;
}
.footer-bottom p{
  margin: 0;
}
.footer-tagline { color: rgba(255,255,255,.55); transition: color .3s; }
.footer-tagline:hover { color: var(--rose-light); }

.footer-bottom-left { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 14px; }
.footer-legal-links { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 10px; }
.footer-legal-links a { color: rgba(255,255,255,.45); transition: color .3s; }
.footer-legal-links a:hover { color: var(--rose-light); }
.footer-legal-links span { color: rgba(255,255,255,.3); }

/* ---------- WhatsApp floating button ---------- */
.whatsapp-fab {
  position: fixed; right: 24px; bottom: 24px; z-index: 210;
  width: 58px; height: 58px; display: flex; align-items: center; justify-content: center;
  background: #25D366; color: var(--white); border-radius: var(--r-lg) var(--r-lg) var(--r-sm) var(--r-lg);
  box-shadow: 0 14px 34px rgba(37, 211, 102, .4);
  transition: transform .35s var(--ease-spring), box-shadow .35s var(--ease-out);
}
.whatsapp-fab svg { width: 28px; height: 28px; }
.whatsapp-fab::before {
  content: ''; position: absolute; inset: 0; border-radius: inherit; background: #25D366;
  animation: waPulse 2.6s ease-out infinite; z-index: -1;
}
.whatsapp-fab:hover { transform: translateY(-4px) scale(1.06); box-shadow: 0 18px 40px rgba(37, 211, 102, .5); }
@keyframes waPulse {
  0% { opacity: .55; transform: scale(1); }
  70%, 100% { opacity: 0; transform: scale(1.55); }
}

/* ---------- Toast ----------
   Sits above the WhatsApp button so a confirmation toast never overlaps it. */
.toast {
  position: fixed; bottom: 96px; right: 28px; z-index: 500;
  background: var(--ink); color: var(--white); padding: 16px 22px; font-size: .88rem;
  box-shadow: var(--shadow-lift); transform: translateY(140%); opacity: 0;
  border-radius: var(--r-md) var(--r-md) var(--r-sm) var(--r-md);
  transition: transform .5s var(--ease-wave), opacity .4s;
}
.toast.show { transform: translateY(0); opacity: 1; }
.toast.error { background: #a13a2f; }

/* ---------- Back to top ---------- */
.back-to-top {
  position: fixed; left: 28px; bottom: 28px; z-index: 190;
  width: 50px; height: 50px; border-radius: var(--r-md) var(--r-md) var(--r-sm) var(--r-md);
  background: var(--ink); color: var(--white); display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-soft); border: none; cursor: pointer;
  transform: translateY(20px) scale(.7); opacity: 0; pointer-events: none;
  transition: transform .4s var(--ease-spring), opacity .3s, background .3s;
}
.back-to-top.visible { transform: translateY(0) scale(1); opacity: 1; pointer-events: auto; }
.back-to-top:hover { background: var(--mocha); }
.back-to-top svg { width: 18px; height: 18px; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1080px) {
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .about-grid, .contact-grid, .product-detail-grid { grid-template-columns: 1fr; gap: 50px; }
  .about-media img { aspect-ratio: 16/9; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 36px 40px; }
  .footer-divider { display: none; }
}

@media (max-width: 860px) {
  .main-nav { position: fixed; top: 0; right: 0; bottom: 0; width: min(320px, 82vw);
    background: var(--white); flex-direction: column; padding: 100px 36px 40px;
    border-radius: var(--r-xl) 0 0 var(--r-xl);
    transform: translateX(100%); transition: transform .45s var(--ease-out); z-index: 190; }
  .main-nav.open { transform: translateX(0); box-shadow: -20px 0 60px rgba(0,0,0,.15); }
  .main-nav ul { flex-direction: column; gap: 22px; }
  .main-nav a { color: var(--ink) !important; font-size: 1.05rem; }
  .nav-toggle { display: flex; }
  .whatsapp-fab { width: 50px; height: 50px; right: 16px; bottom: 16px; }
  .whatsapp-fab svg { width: 24px; height: 24px; }
  .toast { right: 16px; bottom: 82px; }
  .back-to-top { left: 16px; bottom: 16px; }
  .nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .blog-grid { grid-template-columns: 1fr; }
  .service-grid { grid-template-columns: 1fr; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonial-grid { grid-template-columns: 1fr; }
  .page-banner { min-height: 320px; padding-top: 120px; }
  .post-hero-content { padding-top: 130px; }
  .product-detail { padding-top: 120px; }
}

@media (max-width: 560px) {
  .section-inner { padding: 0 20px; }
  .about, .services, .products, .testimonials, .blog, .contact { padding: 80px 0; }
  .review-card { width: 260px; padding: 20px; }
  .form-row { grid-template-columns: 1fr; }
  .reservation-panel { padding: 30px 22px; }
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .footer-top { grid-template-columns: 1fr; padding-bottom: 40px; gap: 32px; }
  .footer-logo-badge { width: 130px; height: 130px; }
  .footer-logo { height: 88px; }
  .hero-actions { flex-direction: column; width: 100%; }
  .hero-actions .btn { width: 100%; }
}
@media (max-width: 767px) {
  .footer-bottom{
    justify-content: center;
  }
  .brand-logo{
    height: 80px;
  }
  .about-media img {
    aspect-ratio: 8/9;
  }
  .site-header.scrolled .brand-logo-sticky{
    height: 35px;
  }
  .site-header.scrolled .header-inner{
    padding-left: 14px;
  }
  .header-inner{
    padding: 0 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}
