/* =====================================================================
   Florăria LAURA Buhuși — source.css
   Hand-authored design system. This is the editable SOURCE file.
   The production file is style.css (same rules, with vendor prefixes
   added for the configured browserslist). Edit here, then re-run
   Autoprefixer:  npm run prefix
   ---------------------------------------------------------------------
   Contents
     1. Design tokens
     2. Reset & base
     3. Layout primitives
     4. Typography & section furniture
     5. Buttons & links
     6. Topbar / header / navigation
     7. Hero
     8. Trust strip
     9. Category cards
    10. Product cards + catalog toolbar
    11. Feature cards
    12. Editorial split sections
    13. Social proof & reviews
    14. Gallery + lightbox
    15. Accordion (FAQ)
    16. Forms
    17. Contact / info cards / map / hours
    18. Breadcrumbs & page hero
    19. CTA band
    20. Footer
    21. Floating actions
    22. 404 & empty states
    23. Motion
    24. Utilities
   ===================================================================== */

/* ---------------------------------------------------------------------
   1. Design tokens
   --------------------------------------------------------------------- */
:root {
  /* ---------------------------------------------------------------------
     Palette: burgundy & cream.
     Every value below that carries text has been checked against the
     surface it sits on and clears WCAG AA (4.5:1 for body copy, 3:1 for
     large text). If you retune a colour, re-run `npm run check` — it
     grades contrast on the live pages and will fail on a regression.
     --------------------------------------------------------------------- */

  /* --- Surfaces: a warm cream stack, never pure white ---------------- */
  --paper:        #fbf7f2;   /* page background                          */
  --paper-2:      #f3eae2;   /* alternating band                         */
  --paper-3:      #e7d9cc;   /* deepest tint, dividers & wells           */
  --surface:      #ffffff;   /* raised cards                             */

  /* --- Wine: the primary brand voice -------------------------------- */
  --wine-900:     #3f0f18;   /* footer ground, deep panels               */
  --wine-800:     #55151f;
  --wine-700:     #6e1f2a;   /* primary button, headings — 11.1:1 w/ white */
  --wine-500:     #9c4a52;   /* icons, meta, hero italic — 5.0:1 on cream */
  --wine-300:     #c99097;   /* muted                                    */
  --wine-100:     #f5e6e7;   /* wash                                     */

  /* --- Rose: the powdery counterpoint ------------------------------- */
  --rose-700:     #9c4f58;   /* badge ground — carries white text (5.7:1) */
  --rose-600:     #a85a63;
  --rose-500:     #9e5158;   /* accent TEXT: brand italic, tagline (4.7:1) */
  --rose-300:     #c98a8a;   /* powder rose — DECORATIVE ONLY (2.6:1):    */
                             /* underlines, bullets, borders. Never text. */
  --rose-100:     #f6e7e7;   /* chips, icon wells                        */

  /* --- Brass: hairlines and small premium details ------------------- */
  --brass-700:    #806230;   /* text-safe brass — 4.8:1 on the cream band */
  --brass-600:    #8a6a34;
  --brass-500:    #b08d57;   /* decorative rules, icons on dark          */
  --brass-200:    #e0c69c;   /* on the wine footer / CTA band            */

  /* --- Ink -------------------------------------------------------- */
  --ink:          #2a2422;   /* body text                                */
  --ink-soft:     #5d534f;   /* secondary text — 6.3:1 on the cream band */
  --ink-faint:    #6f6560;   /* tertiary / captions — 4.8:1 on cream     */
  --line:         #e9dcd0;   /* hairline                                 */
  --line-soft:    #f2e8de;

  --danger:       #b0453f;
  --danger-bg:    #fbeae7;
  --success:      #4d6b3f;   /* the "În stoc" dot stays green on purpose */
  --success-bg:   #e9efe3;

  /* --- On the wine ground (footer, CTA band) ------------------------ */
  --on-wine:      #e8d5d3;   /* body text on wine — 11.5:1               */
  --on-wine-soft: #cbabab;   /* secondary text on wine — 7.4:1           */

  /* --- Semantic aliases (use these in components) -------------------- */
  --bg:           var(--paper);
  --bg-alt:       var(--paper-2);
  --text:         var(--ink);
  --text-muted:   var(--ink-soft);
  --brand:        var(--wine-700);
  --brand-deep:   var(--wine-900);
  --accent:       var(--rose-500);
  --accent-soft:  var(--rose-100);

  /* --- Type -------------------------------------------------------- */
  --font-display: "Fraunces", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --font-body:    "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --fs-micro:   0.78rem;
  --fs-eyebrow: clamp(0.7rem, 0.66rem + 0.16vw, 0.78rem);
  --fs-small:   clamp(0.86rem, 0.84rem + 0.1vw, 0.92rem);
  --fs-body:    clamp(1rem, 0.96rem + 0.18vw, 1.06rem);
  --fs-lead:    clamp(1.06rem, 0.99rem + 0.36vw, 1.22rem);
  --fs-h4:      clamp(1.05rem, 1rem + 0.25vw, 1.2rem);
  --fs-h3:      clamp(1.2rem, 1.08rem + 0.55vw, 1.5rem);
  --fs-h2:      clamp(1.75rem, 1.4rem + 1.55vw, 2.7rem);
  --fs-h1:      clamp(2.15rem, 1.6rem + 2.7vw, 3.9rem);
  --fs-display: clamp(2.6rem, 1.8rem + 3.6vw, 4.6rem);

  --lh-tight:   1.08;
  --lh-heading: 1.16;
  --lh-body:    1.68;

  /* --- Space: a 4px-rooted scale ------------------------------------ */
  --sp-1:  0.25rem;
  --sp-2:  0.5rem;
  --sp-3:  0.75rem;
  --sp-4:  1rem;
  --sp-5:  1.5rem;
  --sp-6:  2rem;
  --sp-7:  2.5rem;
  --sp-8:  3rem;
  --sp-9:  4rem;
  --sp-10: 5rem;
  --sp-section: clamp(3.5rem, 2.4rem + 4.4vw, 7rem);
  --sp-gutter:  clamp(1.15rem, 0.6rem + 2.2vw, 2.5rem);

  /* --- Shape ------------------------------------------------------- */
  --r-xs:   6px;
  --r-sm:   10px;
  --r-md:   16px;
  --r-lg:   24px;
  --r-xl:   32px;
  --r-pill: 999px;

  /* --- Elevation: soft, warm, never grey ---------------------------- */
  --sh-xs: 0 1px 2px rgba(63, 15, 24, 0.04);
  --sh-sm: 0 2px 8px rgba(63, 15, 24, 0.05), 0 1px 2px rgba(63, 15, 24, 0.04);
  --sh-md: 0 10px 30px -8px rgba(63, 15, 24, 0.12), 0 2px 6px rgba(63, 15, 24, 0.04);
  --sh-lg: 0 24px 56px -16px rgba(63, 15, 24, 0.20), 0 4px 12px rgba(63, 15, 24, 0.05);
  --sh-xl: 0 40px 90px -24px rgba(63, 15, 24, 0.28);

  /* --- Containers --------------------------------------------------- */
  --w-max:   1240px;
  --w-wide:  1440px;
  --w-prose: 68ch;

  /* --- Motion ------------------------------------------------------- */
  --ease:      cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-out:  cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --dur-fast:  0.18s;
  --dur:       0.32s;
  --dur-slow:  0.6s;

  --header-h: 72px;
}

/* ---------------------------------------------------------------------
   2. 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;
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: var(--text);
  background-color: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-feature-settings: "kern" 1, "liga" 1;
  overflow-x: clip;
}

img, svg, video { display: block; max-width: 100%; }
img { height: auto; }

/* Every photo is wrapped in <picture> for the WebP source. The wrapper must
   not become a box of its own, or `height: 100%` chains and object-fit
   cropping would break against it. NOTE: selectors still see the real DOM,
   so target `.parent img`, never `.parent > img`. */
picture { display: contents; }

a { color: inherit; text-decoration: none; }

ul, ol { margin: 0; padding: 0; }

button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; border: none; background: none; padding: 0; }

h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 500;
  font-variation-settings: "SOFT" 0, "WONK" 0;
  line-height: var(--lh-heading);
  color: var(--brand-deep);
  margin: 0 0 0.5em;
  letter-spacing: -0.015em;
  text-wrap: balance;
}
h1 { font-size: var(--fs-h1); line-height: var(--lh-tight); letter-spacing: -0.025em; }
h2 { font-size: var(--fs-h2); letter-spacing: -0.02em; }
h3 { font-size: var(--fs-h3); }
h4 { font-size: var(--fs-h4); }

p { margin: 0 0 1em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }

strong { font-weight: 600; color: var(--brand-deep); }

hr {
  border: 0;
  height: 1px;
  background: var(--line);
  margin: var(--sp-8) 0;
}

::-moz-selection { background: var(--rose-100); color: var(--brand-deep); }

::selection { background: var(--rose-100); color: var(--brand-deep); }

:focus-visible {
  outline: 2px solid var(--wine-700);
  outline-offset: 3px;
  border-radius: var(--r-xs);
}
/* Never leave a focus ring clipped by an overflow:hidden parent */
.card-media :focus-visible,
.gallery__item:focus-visible { outline-offset: -3px; }

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 1000;
  background: var(--wine-900);
  color: #fff;
  padding: 0.85rem 1.4rem;
  border-radius: 0 0 var(--r-sm) var(--r-sm);
  font-weight: 600;
  font-size: var(--fs-small);
  transition: top var(--dur) var(--ease);
}
.skip-link:focus { top: 0; }

/* ---------------------------------------------------------------------
   3. Layout primitives
   --------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--w-max);
  margin-inline: auto;
  padding-inline: var(--sp-gutter);
}
.container--wide { max-width: var(--w-wide); }
.container--narrow { max-width: 900px; }

.section { padding-block: var(--sp-section); }
.section--tight { padding-block: calc(var(--sp-section) * 0.6); }
.section--alt  { background: var(--bg-alt); }
.section--deep {
  background: var(--wine-900);
  color: var(--on-wine);
}
.section--deep h1, .section--deep h2, .section--deep h3 { color: var(--paper); }
.section--deep .eyebrow { color: var(--brass-200); }
.section--deep .eyebrow::before { background: var(--brass-500); }

/* A hairline between two same-coloured bands, so sections never fuse. */
.section + .section:not(.section--alt):not(.section--deep) { border-top: 1px solid var(--line-soft); }
.section--alt + .section--alt { border-top: 1px solid var(--line); }

.grid { display: grid; gap: clamp(1rem, 0.5rem + 1.6vw, 1.75rem); }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

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

.stack > * + * { margin-top: var(--sp-4); }
.cluster { display: flex; flex-wrap: wrap; gap: var(--sp-3); align-items: center; }

.prose { max-width: var(--w-prose); }
.prose > p { color: var(--text-muted); }
.prose h2 { margin-top: 1.8em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.5em; }
.prose a:not(.btn) {
  color: var(--wine-700);
  font-weight: 500;
  box-shadow: inset 0 -1px 0 var(--brass-200);
  transition: box-shadow var(--dur) var(--ease), color var(--dur) var(--ease);
}
.prose a:not(.btn):hover { box-shadow: inset 0 -2px 0 var(--brass-600); color: var(--wine-900); }
.prose ul { margin: 0 0 1.4em; list-style: none; }
.prose ul li {
  position: relative;
  padding-left: 1.6rem;
  margin-bottom: 0.55rem;
  color: var(--text-muted);
}
.prose ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--rose-300);
}

/* ---------------------------------------------------------------------
   4. Typography & section furniture
   --------------------------------------------------------------------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-body);
  font-size: var(--fs-eyebrow);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--brass-700);
  margin-bottom: var(--sp-4);
}
.eyebrow::before {
  content: "";
  width: 24px;
  height: 1px;
  background: var(--brass-500);
  flex: none;
}

.section-head { max-width: 660px; margin-bottom: clamp(2rem, 1rem + 3vw, 3.4rem); }
.section-head.text-center { margin-inline: auto; }
.section-head.text-center .eyebrow { justify-content: center; }
.section-head > p { color: var(--text-muted); font-size: var(--fs-lead); margin-top: 0.6rem; }

/* Section head with a link parked on the right at desktop width. */
.section-head--row {
  max-width: none;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--sp-5);
  flex-wrap: wrap;
}
.section-head--row > div { max-width: 620px; }

/* Signature motif: a fine gold stem, used to breathe between chapters. */
.stem-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.9rem;
  margin-inline: auto;
  color: var(--brass-500);
}
.stem-divider::before,
.stem-divider::after {
  content: "";
  height: 1px;
  width: clamp(40px, 12vw, 120px);
  background: linear-gradient(90deg, transparent, var(--brass-200));
}
.stem-divider::after { background: linear-gradient(90deg, var(--brass-200), transparent); }
.stem-divider svg { width: 20px; height: 20px; }

/* ---------------------------------------------------------------------
   5. Buttons & links
   --------------------------------------------------------------------- */
.btn {
  --btn-bg: transparent;
  --btn-fg: var(--brand-deep);
  --btn-bd: transparent;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 48px;
  padding: 0.8rem 1.6rem;
  border: 1.5px solid var(--btn-bd);
  border-radius: var(--r-pill);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.005em;
  line-height: 1.2;
  text-align: center;
  isolation: isolate;
  overflow: hidden;
  transition:
    transform var(--dur) var(--ease-out),
    box-shadow var(--dur) var(--ease),
    background-color var(--dur) var(--ease),
    border-color var(--dur) var(--ease),
    color var(--dur) var(--ease);
}
.btn svg { width: 18px; height: 18px; flex: none; position: relative; z-index: 1; }
.btn > span { position: relative; z-index: 1; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); transition-duration: 0.05s; }

/* A light sheen sweeps across filled buttons on hover — only the filled
   variants, where white on a dark fill reads as a real highlight. */
.btn--primary::after,
.btn--whatsapp::after,
.btn--gold::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 -60%;
  width: 45%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  transform: skewX(-18deg);
  pointer-events: none;
  z-index: 0;
}
.btn--primary:hover::after,
.btn--whatsapp:hover::after,
.btn--gold:hover::after { animation: btn-sheen 0.7s var(--ease); }
@keyframes btn-sheen { to { left: 160%; } }
.btn[aria-disabled="true"], .btn:disabled {
  opacity: 0.5;
  pointer-events: none;
}

.btn--primary {
  --btn-bg: var(--wine-700);
  --btn-fg: #fff;
  --btn-bd: var(--wine-700);
  box-shadow: var(--sh-sm);
}
.btn--primary:hover {
  --btn-bg: var(--wine-800);
  --btn-bd: var(--wine-800);
  box-shadow: var(--sh-md);
}

/* WhatsApp CTAs wear the brand wine, not the platform green — only the
   floating action button carries WhatsApp's own colour. */
.btn--whatsapp {
  --btn-bg: var(--wine-700);
  --btn-fg: #fff;
  --btn-bd: var(--wine-700);
  box-shadow: var(--sh-sm);
}
.btn--whatsapp:hover {
  --btn-bg: var(--wine-800);
  --btn-bd: var(--wine-800);
  box-shadow: var(--sh-md);
}

.btn--gold {
  --btn-bg: var(--brass-600);
  --btn-fg: #fff;
  --btn-bd: var(--brass-600);
  box-shadow: var(--sh-sm);
}
.btn--gold:hover {
  --btn-bg: var(--brass-700);
  --btn-bd: var(--brass-700);
  box-shadow: var(--sh-md);
}

.btn--outline {
  --btn-bd: var(--wine-700);
  --btn-fg: var(--wine-700);
}
.btn--outline:hover {
  --btn-bg: var(--wine-700);
  --btn-fg: #fff;
  box-shadow: var(--sh-sm);
}

.btn--ghost {
  --btn-fg: var(--wine-700);
  --btn-bd: var(--line);
  --btn-bg: var(--surface);
}
.btn--ghost:hover { --btn-bd: var(--wine-500); box-shadow: var(--sh-sm); }

.btn--ghost-light {
  --btn-fg: #fff;
  --btn-bd: rgba(255, 255, 255, 0.4);
}
.btn--ghost-light:hover {
  --btn-bg: #fff;
  --btn-fg: var(--wine-900);
  --btn-bd: #fff;
}

.btn--sm { min-height: 40px; padding: 0.5rem 1.1rem; font-size: 0.86rem; }
.btn--lg { min-height: 56px; padding: 1rem 2rem; font-size: 1.02rem; }
.btn--block { width: 100%; }

/* Text link with an underline that draws in from the left. */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 44px;
  font-weight: 600;
  font-size: var(--fs-small);
  color: var(--wine-700);
}
.link-arrow svg {
  width: 16px;
  height: 16px;
  transition: transform var(--dur) var(--ease-out);
}
.link-arrow span {
  background-image: linear-gradient(var(--brass-600), var(--brass-600));
  background-size: 0% 1px;
  background-repeat: no-repeat;
  background-position: left 100%;
  transition: background-size var(--dur) var(--ease);
  padding-bottom: 2px;
}
.link-arrow:hover span { background-size: 100% 1px; }
.link-arrow:hover svg { transform: translateX(3px); }

/* ---------------------------------------------------------------------
   6. Topbar / header / navigation
   --------------------------------------------------------------------- */
.topbar {
  background: var(--wine-900);
  color: #d5b9b8;
  font-size: var(--fs-micro);
  letter-spacing: 0.015em;
}
.topbar .container {
  display: flex;
  flex-wrap: wrap;
  gap: 0 1.2rem;
  justify-content: center;
  align-items: center;
}
.topbar a,
.topbar span {
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
  transition: color var(--dur) var(--ease);
}
/* Comfortable tap area even though the bar itself stays visually thin. */
.topbar a {
  min-height: 44px;
  padding-block: 0.4rem;
}
.topbar a:hover { color: var(--brass-200); }
.topbar svg { width: 13px; height: 13px; color: var(--brass-500); flex: none; }
.topbar__sep { color: rgba(255, 255, 255, 0.16); }
/* On a phone the bar collapses to the one thing worth tapping: the number.
   The selector has to out-specify `.topbar a`, hence the doubled class. */
@media (max-width: 760px) {
  .topbar .topbar__sep,
  .topbar a.topbar__hide-sm { display: none; }
  .topbar .container { justify-content: center; }
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(251, 247, 242, 0.82);
  backdrop-filter: saturate(150%) blur(14px);
  -webkit-backdrop-filter: saturate(150%) blur(14px);
  border-bottom: 1px solid transparent;
  transition:
    box-shadow var(--dur-slow) var(--ease),
    border-color var(--dur-slow) var(--ease),
    background-color var(--dur-slow) var(--ease);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  min-height: var(--header-h);
  padding-block: 0.7rem;
  transition: min-height var(--dur-slow) var(--ease), padding-block var(--dur-slow) var(--ease);
}
.site-header.is-scrolled {
  background: rgba(251, 247, 242, 0.95);
  box-shadow: 0 4px 24px -8px rgba(63, 15, 24, 0.14);
  border-bottom-color: var(--line);
}
.site-header.is-scrolled .container { min-height: 60px; padding-block: 0.45rem; }
.site-header.is-scrolled .brand__mark { font-size: 1.3rem; }

.brand {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  flex: none;
  min-height: 44px;
  padding-block: 0.5rem;
}
.brand__mark {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 600;
  color: var(--brand-deep);
  line-height: 1;
  letter-spacing: -0.01em;
  transition: font-size var(--dur-slow) var(--ease);
}
.brand__mark em { color: var(--rose-500); font-style: italic; }
.brand__sub {
  font-size: 0.6rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--brass-700);
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.1rem;
}
.nav a {
  position: relative;
  padding: 0.55rem 0.68rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink-soft);
  border-radius: var(--r-xs);
  white-space: nowrap;
  transition: color var(--dur) var(--ease);
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0.68rem;
  right: 0.68rem;
  bottom: 0.28rem;
  height: 1.5px;
  background: var(--rose-500);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform var(--dur) var(--ease-out);
}
.nav a:hover,
.nav a[aria-current="page"] { color: var(--brand-deep); }
.nav a:hover::after,
.nav a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }

/* The nav carries its own WhatsApp button, but only inside the mobile
   drawer — on desktop the CTA lives in .header-actions, and showing both
   would duplicate the action and blow the header past the viewport. */
.nav > .btn { display: none; }
.nav .btn::after { display: none; }
/* `.nav a` (0,1,1) would otherwise beat `.btn` (0,1,0) and repaint the
   button label in the nav-link colour. */
.nav .btn {
  color: var(--btn-fg);
  border-radius: var(--r-pill);
}

.header-actions { display: flex; align-items: center; gap: 0.6rem; flex: none; }
.header-cta { display: inline-flex; }

/* Between the drawer breakpoint and 1180px the ten links need every pixel. */
@media (max-width: 1180px) and (min-width: 1081px) {
  .nav a { padding-inline: 0.42rem; font-size: 0.84rem; }
  .brand__mark { font-size: 1.3rem; }
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 48px;
  height: 48px;
  align-items: center;
  border-radius: var(--r-sm);
  transition: background-color var(--dur) var(--ease);
}
.nav-toggle:hover { background: var(--paper-2); }
.nav-toggle span {
  width: 22px;
  height: 2px;
  background: var(--brand-deep);
  border-radius: 2px;
  transition: transform var(--dur) var(--ease-out), opacity var(--dur-fast) var(--ease);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* --- Mobile drawer ------------------------------------------------- */
@media (max-width: 1080px) {
  /* backdrop-filter on the header would make it the containing block for
     the fixed drawer and clip it — so it is dropped at this width. */
  .site-header {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: var(--paper);
    z-index: 200;
  }
  .site-header.is-scrolled { background: var(--paper); }

  .brand { position: relative; z-index: 230; }
  .header-cta { display: none; }
  .nav-toggle { display: flex; position: relative; z-index: 230; }

  /* While the drawer is open, an opaque mask is painted over the header row
     (z 220) — above the scrolling drawer links (z 210) but below the logo and
     the close button (z 230). So links slide *behind* the logo instead of
     colliding with it. The mask is a ::before on the container, so it tracks
     the header's real position no matter where the sticky bar currently sits
     (with or without the topbar above it). */
  .site-header.is-menu-open { background: var(--paper); box-shadow: none; }
  .site-header.is-menu-open .container {
    position: relative;
    min-height: var(--header-h);
    padding-block: 0.7rem;
  }
  .site-header.is-menu-open .container::before {
    content: "";
    position: absolute;
    /* Extend well above the header so the strip where the topbar sits is
       masked too — otherwise a link can peek into it while scrolling. */
    inset: -140px 0 -1px 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    z-index: 220;
  }
  .site-header.is-menu-open .brand__mark { font-size: 1.45rem; }

  .nav {
    position: fixed;
    inset: 0;
    z-index: 210;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    padding: calc(var(--header-h) + 1.6rem) var(--sp-gutter) 2.5rem;
    background:
      radial-gradient(120% 55% at 100% 0%, var(--paper-2), rgba(243, 234, 226, 0) 62%),
      var(--paper);
    transform: translateX(100%);
    visibility: hidden;
    transition: transform 0.42s var(--ease-out), visibility 0.42s;
    overflow-y: auto;
    overscroll-behavior: contain;
  }
  .nav.is-open { transform: translateX(0); visibility: visible; }

  .nav a:not(.btn) {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--brand-deep);
    padding: 0.7rem 0;
    border-bottom: 1px solid var(--line-soft);
    white-space: normal;
    border-radius: 0;
    /* Each item slides in behind the panel, staggered by --i. */
    opacity: 0;
    transform: translateX(24px);
    transition: opacity 0.4s var(--ease-out), transform 0.4s var(--ease-out), color var(--dur) var(--ease);
  }
  .nav.is-open a:not(.btn) {
    opacity: 1;
    transform: none;
    transition-delay: calc(0.06s + var(--i, 0) * 0.035s);
  }
  .nav a:not(.btn)::after { display: none; }
  .nav a[aria-current="page"]:not(.btn) {
    color: var(--rose-500);
    font-style: italic;
  }
  .nav a[aria-current="page"]:not(.btn)::before {
    content: "";
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--rose-500);
    margin-right: 0.6rem;
    vertical-align: middle;
  }

  .nav > .btn {
    display: inline-flex;
    margin: 1.8rem 0 0;
    width: 100%;
    justify-content: center;
    font-size: 1rem;
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.4s var(--ease-out), transform 0.4s var(--ease-out);
  }
  .nav.is-open .btn { opacity: 1; transform: none; transition-delay: 0.34s; }

  .nav__foot {
    margin-top: auto;
    padding-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    font-size: var(--fs-small);
    color: var(--text-muted);
  }
  .nav__foot a {
    font-family: var(--font-body);
    font-size: var(--fs-small);
    font-weight: 500;
    color: var(--text-muted);
    padding: 0.35rem 0;
    border: 0;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    opacity: 1;
    transform: none;
  }
  .nav__foot svg { width: 15px; height: 15px; color: var(--wine-500); }
}
@media (min-width: 1081px) {
  .nav__foot { display: none; }
}

body.is-locked { overflow: hidden; }

/* ---------------------------------------------------------------------
   7. Hero
   --------------------------------------------------------------------- */
.hero {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(2rem, 1rem + 4vw, 4.5rem);
  padding-block: clamp(2.5rem, 1.5rem + 4vw, 5.5rem);
}
.hero__content { max-width: 34rem; }
.hero__tagline {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.05rem, 0.95rem + 0.5vw, 1.35rem);
  color: var(--rose-500);
  margin-bottom: 0.8rem;
}
.hero__tagline svg { width: 17px; height: 17px; }
.hero h1 {
  font-size: var(--fs-display);
  margin-bottom: 0.42em;
}
.hero h1 em {
  font-style: italic;
  color: var(--wine-500);
  position: relative;
}
.hero__lead {
  font-size: var(--fs-lead);
  color: var(--text-muted);
  margin-bottom: var(--sp-6);
  max-width: 30rem;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }

.hero__media {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--sh-lg);
  aspect-ratio: 4 / 5;
  background: var(--paper-3);
}
.hero__media img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}
/* A second, smaller photo overlapping the first — an editorial touch that
   stops the hero reading like a stock template. */
.hero__inset {
  position: absolute;
  left: 1.1rem;
  bottom: 1.1rem;
  width: 38%;
  max-width: 190px;
  aspect-ratio: 3 / 4;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 6px solid var(--paper);
  box-shadow: var(--sh-lg);
  background: var(--paper-3);
}
.hero__inset img { width: 100%; height: 100%; -o-object-fit: cover; object-fit: cover; }

.hero__badge {
  position: absolute;
  right: 1.1rem;
  bottom: 1.1rem;
  left: auto;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  background: rgba(251, 247, 242, 0.94);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: var(--r-md);
  padding: 0.7rem 1rem;
  box-shadow: var(--sh-md);
  max-width: calc(100% - 2.2rem);
}
.hero__badge strong {
  display: block;
  font-family: var(--font-display);
  color: var(--brand-deep);
  font-size: 1.2rem;
  line-height: 1.1;
}
.hero__badge small {
  display: block;
  color: var(--ink-faint);
  font-size: 0.72rem;
  line-height: 1.35;
}
.hero__badge .stars { color: var(--brass-600); letter-spacing: 1px; font-size: 0.92rem; }
.hero__badge-divider { width: 1px; align-self: stretch; background: var(--line); }

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    gap: var(--sp-6);
    padding-block: var(--sp-6) var(--sp-7);
  }
  .hero__content { max-width: none; order: 2; }
  .hero__media { order: 1; aspect-ratio: 4 / 3; }
  .hero__media img { -o-object-position: center 40%; object-position: center 40%; }
  .hero__inset { display: none; }
  .hero__lead { margin-bottom: var(--sp-5); }
  .hero__actions .btn { flex: 1 1 auto; }
}
@media (max-width: 420px) {
  .hero__actions { flex-direction: column; }
  .hero__actions .btn { width: 100%; }
  .hero__badge { padding: 0.6rem 0.8rem; gap: 0.6rem; }
  .hero__badge strong { font-size: 1.05rem; }
}

/* ---------------------------------------------------------------------
   8. Trust strip
   --------------------------------------------------------------------- */
.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-4);
  padding: var(--sp-5) 0;
  border-block: 1px solid var(--line);
}
.trust-strip__item {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-size: var(--fs-small);
  color: var(--text-muted);
  line-height: 1.35;
}
.trust-strip__item svg {
  width: 22px;
  height: 22px;
  flex: none;
  color: var(--wine-500);
}
.trust-strip__item strong {
  display: block;
  color: var(--brand-deep);
  font-weight: 600;
  font-size: 0.92rem;
}
@media (max-width: 900px) { .trust-strip { grid-template-columns: repeat(2, 1fr); gap: var(--sp-4) var(--sp-3); } }
@media (max-width: 420px) { .trust-strip { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------------
   9. Category cards
   --------------------------------------------------------------------- */
.cat-card {
  position: relative;
  display: block;
  border-radius: var(--r-lg);
  overflow: hidden;
  aspect-ratio: 3 / 4;
  background: var(--paper-3);
  box-shadow: var(--sh-sm);
  transition: transform var(--dur-slow) var(--ease-out), box-shadow var(--dur-slow) var(--ease);
}
.cat-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  transition: transform 0.9s var(--ease-out);
}
.cat-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(38, 14, 19, 0.82) 0%,
    rgba(38, 14, 19, 0.45) 32%,
    rgba(38, 14, 19, 0.05) 62%,
    rgba(38, 14, 19, 0) 100%
  );
}
.cat-card__label {
  position: absolute;
  inset: auto 1.2rem 1.15rem;
  z-index: 2;
  color: #fff;
}
.cat-card__name {
  display: block;
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 500;
  line-height: 1.2;
  margin-bottom: 0.2rem;
}
.cat-card__meta {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.78);
}
.cat-card__meta svg {
  width: 14px;
  height: 14px;
  transition: transform var(--dur) var(--ease-out);
}
.cat-card:hover { transform: translateY(-5px); box-shadow: var(--sh-lg); }
.cat-card:hover img { transform: scale(1.07); }
.cat-card:hover .cat-card__meta svg { transform: translateX(4px); }
.cat-card:focus-visible { outline-offset: 3px; }

@media (max-width: 600px) {
  .cat-card { aspect-ratio: 16 / 11; }
}

/* ---------------------------------------------------------------------
   10. Product cards + catalog toolbar
   --------------------------------------------------------------------- */
.toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-4);
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--sp-6);
  padding-bottom: var(--sp-5);
  border-bottom: 1px solid var(--line);
}
.toolbar__controls { display: flex; gap: 0.6rem; flex-wrap: wrap; align-items: center; }

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}
.filter-chip {
  min-height: 40px;
  padding: 0.45rem 1.05rem;
  border-radius: var(--r-pill);
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink-soft);
  font-size: 0.87rem;
  font-weight: 500;
  white-space: nowrap;
  transition:
    background-color var(--dur) var(--ease),
    color var(--dur) var(--ease),
    border-color var(--dur) var(--ease),
    box-shadow var(--dur) var(--ease);
}
.filter-chip:hover { border-color: var(--wine-500); color: var(--brand-deep); }
.filter-chip.is-active {
  background: var(--wine-700);
  color: #fff;
  border-color: var(--wine-700);
  box-shadow: var(--sh-sm);
}

.search-field { position: relative; min-width: 220px; flex: 1 1 220px; max-width: 320px; }
.search-field input {
  width: 100%;
  min-height: 44px;
  padding: 0.6rem 1rem 0.6rem 2.6rem;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  background: var(--surface);
  font-size: 0.92rem;
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.search-field input:focus {
  outline: none;
  border-color: var(--wine-500);
  box-shadow: 0 0 0 3px rgba(110, 31, 42, 0.18);
}
.search-field svg {
  position: absolute;
  left: 0.95rem;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  color: var(--ink-faint);
  pointer-events: none;
}
.sort-field select {
  min-height: 44px;
  padding: 0.6rem 2.2rem 0.6rem 1rem;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  background: var(--surface)
    url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236f6560' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E")
    no-repeat right 0.85rem center / 15px;
  font-size: 0.9rem;
  -moz-appearance: none;
       appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
}
.sort-field select:focus {
  outline: none;
  border-color: var(--wine-500);
  box-shadow: 0 0 0 3px rgba(110, 31, 42, 0.18);
}

.result-count {
  font-size: var(--fs-small);
  color: var(--ink-faint);
  margin-bottom: var(--sp-5);
}

.product-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--sh-xs);
  transition:
    transform var(--dur-slow) var(--ease-out),
    box-shadow var(--dur-slow) var(--ease),
    border-color var(--dur-slow) var(--ease);
}
.product-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--sh-md);
  border-color: var(--line);
}
.product-card__media {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--paper-2);
}
.product-card__media img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  transition: transform 0.9s var(--ease-out);
}
.product-card:hover .product-card__media img { transform: scale(1.06); }
.product-card__tags {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  display: flex;
  gap: 0.35rem;
  flex-wrap: wrap;
  z-index: 2;
}
.tag {
  font-size: 0.66rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  font-weight: 700;
  padding: 0.3rem 0.6rem;
  border-radius: var(--r-pill);
  background: rgba(251, 247, 242, 0.95);
  color: var(--brand-deep);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
/* Badges carry white text, so they use the deep end of each ramp:
   5.3:1 on gold and 4.9:1 on rose — both clear WCAG AA. */
.tag--premium { background: var(--brass-700); color: #fff; }
.tag--popular { background: var(--rose-700); color: #fff; }

.product-card__body {
  padding: 1.15rem 1.25rem 1.35rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.product-card__cat {
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brass-700);
  font-weight: 600;
  margin-bottom: 0.35rem;
}
.product-card__title {
  font-size: 1.12rem;
  margin-bottom: 0.35rem;
  line-height: 1.25;
}
.product-card__desc {
  font-size: 0.89rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 0.9rem;
}
.product-card__footer {
  margin-top: auto;
  padding-top: 0.9rem;
  border-top: 1px solid var(--line-soft);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.7rem;
}
/* In a four-across grid the card gets narrow. Rather than let the label
   break mid-phrase, keep it intact and drop the button onto its own row. */
.product-card__price {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--brand-deep);
  line-height: 1.2;
  white-space: nowrap;
}
.product-card__footer .btn { flex: 1 1 auto; }
.product-card__price small {
  display: block;
  font-family: var(--font-body);
  font-size: 0.68rem;
  color: var(--ink-faint);
  letter-spacing: 0.04em;
}
.product-card .btn { padding: 0.6rem 1rem; min-height: 42px; font-size: 0.84rem; }

/* On a phone the card runs full width, which puts a right-aligned CTA
   directly under the floating WhatsApp button. Stack it instead. */
@media (max-width: 600px) {
  .product-card__footer {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
  }
  .product-card .btn { width: 100%; min-height: 46px; }
}

.availability {
  font-size: 0.78rem;
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
  color: var(--success);
  margin-bottom: 0.3rem;
  font-weight: 500;
}
.availability::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
  flex: none;
}
.availability--order { color: var(--brass-700); }

/* Skeletons — shown while the catalog renders, so the grid never jumps. */
.skeleton-card {
  border-radius: var(--r-lg);
  border: 1px solid var(--line-soft);
  background: var(--surface);
  overflow: hidden;
}
.skeleton-card__media { aspect-ratio: 4 / 5; }
.skeleton-card__body { padding: 1.15rem 1.25rem 1.35rem; }
.skeleton-line { height: 12px; border-radius: 4px; margin-bottom: 0.6rem; }
.skeleton-line:last-child { width: 55%; margin-bottom: 0; }
.skeleton-card__media,
.skeleton-line {
  background: linear-gradient(90deg, var(--paper-2) 25%, var(--paper-3) 50%, var(--paper-2) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.4s infinite linear;
}
@keyframes shimmer {
  from { background-position: 200% 0; }
  to   { background-position: -200% 0; }
}

/* ---------------------------------------------------------------------
   11. Feature cards
   --------------------------------------------------------------------- */
.feature {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-lg);
  padding: 1.7rem 1.5rem;
  box-shadow: var(--sh-xs);
  transition: transform var(--dur-slow) var(--ease-out), box-shadow var(--dur-slow) var(--ease);
}
.feature:hover { transform: translateY(-4px); box-shadow: var(--sh-md); }
.feature__icon {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  margin-bottom: 1.1rem;
  background: var(--rose-100);
  color: var(--wine-700);
  transition: transform var(--dur-slow) var(--ease-out), background-color var(--dur) var(--ease);
}
.feature:hover .feature__icon { transform: rotate(-6deg) scale(1.06); background: var(--wine-100); }
.feature__icon svg { width: 22px; height: 22px; }
.feature h3 { font-size: var(--fs-h4); margin-bottom: 0.35rem; }
.feature p { color: var(--text-muted); font-size: 0.92rem; line-height: 1.6; }

/* Numbered "how it works" steps */
.step {
  position: relative;
  padding-left: 3.6rem;
}
.step__num {
  position: absolute;
  left: 0;
  top: 0;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--brass-700);
  background: var(--surface);
  border: 1px solid var(--brass-200);
}
.step h3 { font-size: var(--fs-h4); margin-bottom: 0.3rem; }
.step p { color: var(--text-muted); font-size: 0.93rem; }
@media (max-width: 600px) { .step { padding-left: 3.2rem; } }

/* ---------------------------------------------------------------------
   12. Editorial split sections
   --------------------------------------------------------------------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 1rem + 4vw, 4.5rem);
  align-items: center;
}
.split--reverse .split__media { order: 2; }
.split--media-wide { grid-template-columns: 1.15fr 1fr; }
.split--text-wide  { grid-template-columns: 1fr 1.15fr; }

.split__media {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--sh-md);
  background: var(--paper-3);
}
.split__media img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  aspect-ratio: 4 / 3;
}
.split__media--portrait img { aspect-ratio: 4 / 5; }

/* Two stacked photos, offset — used on the homepage and the About page.
   The images carry explicit .duo-a / .duo-b classes because :first-child
   would match inside each <picture> wrapper, not across the pair. */
.split__media-duo {
  position: relative;
  aspect-ratio: 1 / 1;
}
.split__media-duo img {
  position: absolute;
  border-radius: var(--r-lg);
  box-shadow: var(--sh-md);
  -o-object-fit: cover;
     object-fit: cover;
}
.split__media-duo .duo-a {
  width: 74%;
  height: 80%;
  top: 0;
  left: 0;
}
.split__media-duo .duo-b {
  width: 54%;
  height: 54%;
  right: 0;
  bottom: 0;
  border: 6px solid var(--paper);
  box-shadow: var(--sh-lg);
}
.section--alt .split__media-duo .duo-b { border-color: var(--paper-2); }
@media (max-width: 900px) {
  .split__media-duo { aspect-ratio: 4 / 3; }
}

.split__body > .btn,
.split__body > .cluster { margin-top: var(--sp-5); }

@media (max-width: 900px) {
  .split,
  .split--media-wide,
  .split--text-wide { grid-template-columns: 1fr; }
  .split--reverse .split__media { order: 0; }
  .split__media--portrait img { aspect-ratio: 4 / 3; }
}

/* ---------------------------------------------------------------------
   13. Social proof & reviews
   --------------------------------------------------------------------- */
.proof-banner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-5);
  text-align: center;
  padding: var(--sp-6) var(--sp-5);
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-xs);
}
.proof-stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 1.3rem + 1.6vw, 2.5rem);
  color: var(--brand-deep);
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.proof-stat span {
  font-size: var(--fs-small);
  color: var(--text-muted);
  letter-spacing: 0.02em;
}
.proof-stat .stars { color: var(--brass-600); letter-spacing: 2px; }
@media (max-width: 700px) {
  .proof-banner { grid-template-columns: 1fr; gap: var(--sp-5); padding: var(--sp-5) var(--sp-4); }
  .proof-stat + .proof-stat { border-top: 1px solid var(--line-soft); padding-top: var(--sp-5); }
}

.review-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-lg);
  padding: 1.6rem 1.5rem;
  box-shadow: var(--sh-xs);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  transition: transform var(--dur-slow) var(--ease-out), box-shadow var(--dur-slow) var(--ease);
}
.review-card:hover { transform: translateY(-3px); box-shadow: var(--sh-md); }
.review-card::before {
  content: "”";
  position: absolute;
  top: 0.35rem;
  right: 1.1rem;
  font-family: var(--font-display);
  font-size: 4.5rem;
  line-height: 1;
  color: var(--rose-100);
  pointer-events: none;
}
.review-card .stars { color: var(--brass-600); letter-spacing: 2px; font-size: 0.95rem; }
.review-card blockquote {
  margin: 0;
  font-size: 1rem;
  color: var(--ink);
  line-height: 1.65;
  position: relative;
  z-index: 1;
}
.review-card cite {
  font-style: normal;
  font-weight: 600;
  color: var(--brand-deep);
  font-size: 0.88rem;
  margin-top: auto;
}
.review-card cite small {
  display: block;
  font-weight: 400;
  color: var(--ink-faint);
  font-size: 0.78rem;
}

/* ---------------------------------------------------------------------
   14. Gallery + lightbox
   --------------------------------------------------------------------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(230px, 100%), 1fr));
  gap: 0.85rem;
}
.gallery__item {
  position: relative;
  margin: 0;
  border-radius: var(--r-md);
  overflow: hidden;
  cursor: zoom-in;
  aspect-ratio: 1 / 1;
  background: var(--paper-2);
}
.gallery__item img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  transition: transform 0.8s var(--ease-out);
}
.gallery__item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(38, 14, 19, 0.5), rgba(38, 14, 19, 0) 55%);
  opacity: 0;
  transition: opacity var(--dur) var(--ease);
}
.gallery__item .gallery__zoom {
  position: absolute;
  right: 0.7rem;
  bottom: 0.7rem;
  z-index: 2;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(251, 247, 242, 0.92);
  color: var(--brand-deep);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease-out);
}
.gallery__item .gallery__zoom svg { width: 16px; height: 16px; }
.gallery__item:hover img,
.gallery__item:focus-visible img { transform: scale(1.07); }
.gallery__item:hover::after,
.gallery__item:focus-visible::after { opacity: 1; }
.gallery__item:hover .gallery__zoom,
.gallery__item:focus-visible .gallery__zoom { opacity: 1; transform: none; }

/* Make the first tile a hero tile on wide screens — a real composition
   rather than an even grid of identical squares. */
@media (min-width: 900px) {
  .gallery--feature .gallery__item:first-child {
    grid-column: span 2;
    grid-row: span 2;
  }
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 1rem;
  background: rgba(30, 12, 16, 0.95);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--dur) var(--ease), visibility var(--dur);
  padding: clamp(1rem, 4vw, 3rem);
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox__figure {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.9rem;
  max-width: 100%;
}
.lightbox img {
  max-width: min(92vw, 1100px);
  max-height: 76vh;
  width: auto;
  border-radius: var(--r-md);
  box-shadow: var(--sh-xl);
  transform: scale(0.97);
  opacity: 0;
  transition: transform var(--dur-slow) var(--ease-out), opacity var(--dur) var(--ease);
}
.lightbox.is-open img { transform: none; opacity: 1; }
.lightbox__caption {
  color: rgba(255, 255, 255, 0.82);
  font-size: var(--fs-small);
  text-align: center;
  max-width: 60ch;
}
.lightbox__count {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
}
.lightbox__close,
.lightbox__nav {
  position: absolute;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  transition: background-color var(--dur) var(--ease), transform var(--dur) var(--ease-out);
}
.lightbox__close svg, .lightbox__nav svg { width: 20px; height: 20px; }
.lightbox__close:hover,
.lightbox__nav:hover { background: rgba(255, 255, 255, 0.24); }
.lightbox__close { top: 1.1rem; right: 1.1rem; }
.lightbox__close:hover { transform: rotate(90deg); }
.lightbox__nav { top: 50%; transform: translateY(-50%); }
.lightbox__nav:hover { transform: translateY(-50%) scale(1.08); }
.lightbox__nav--prev { left: 1.1rem; }
.lightbox__nav--next { right: 1.1rem; }
@media (max-width: 640px) {
  .lightbox__nav { width: 42px; height: 42px; bottom: 1.2rem; top: auto; transform: none; }
  .lightbox__nav:hover { transform: scale(1.08); }
  .lightbox__nav--prev { left: calc(50% - 56px); }
  .lightbox__nav--next { right: calc(50% - 56px); }
  .lightbox img { max-height: 62vh; }
}

/* ---------------------------------------------------------------------
   15. Accordion (FAQ)
   --------------------------------------------------------------------- */
.accordion { border-top: 1px solid var(--line); }
.accordion__item { border-bottom: 1px solid var(--line); }
.accordion__trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  text-align: left;
  padding: 1.15rem 0;
  font-family: var(--font-display);
  font-size: var(--fs-h4);
  font-weight: 500;
  color: var(--brand-deep);
  transition: color var(--dur) var(--ease);
}
.accordion__trigger:hover { color: var(--wine-500); }
.accordion__icon {
  flex: none;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  color: var(--wine-700);
  transition: transform var(--dur) var(--ease-out), background-color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.accordion__icon svg { width: 14px; height: 14px; }
.accordion__trigger[aria-expanded="true"] .accordion__icon {
  transform: rotate(45deg);
  background: var(--wine-700);
  border-color: var(--wine-700);
  color: #fff;
}
.accordion__panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows var(--dur-slow) var(--ease-out);
}
.accordion__panel.is-open { grid-template-rows: 1fr; }
.accordion__panel > div { overflow: hidden; }
.accordion__panel p {
  color: var(--text-muted);
  font-size: 0.96rem;
  padding-bottom: 1.25rem;
  max-width: var(--w-prose);
}

/* ---------------------------------------------------------------------
   16. Forms
   --------------------------------------------------------------------- */
.form-card {
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-lg);
  padding: clamp(1.4rem, 1rem + 1.6vw, 2.2rem);
  box-shadow: var(--sh-sm);
}
.form-grid {
  display: grid;
  gap: var(--sp-4);
  grid-template-columns: 1fr 1fr;
}
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }

.field label,
.field .field-label {
  display: block;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--brand-deep);
  margin-bottom: 0.4rem;
}
.field .req { color: var(--rose-600); }
.field input,
.field textarea,
.field select {
  width: 100%;
  min-height: 48px;
  padding: 0.75rem 1rem;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: var(--paper);
  font-size: 0.96rem;
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease), background-color var(--dur) var(--ease);
}
.field select {
  -moz-appearance: none;
       appearance: none;
  -webkit-appearance: none;
  padding-right: 2.4rem;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236f6560' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.95rem center;
  background-size: 15px;
  cursor: pointer;
}
.field textarea { resize: vertical; min-height: 140px; line-height: 1.6; }
.field input::-moz-placeholder, .field textarea::-moz-placeholder { color: var(--ink-faint); }
.field input::placeholder,
.field textarea::placeholder { color: var(--ink-faint); }
.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: none;
  background: var(--surface);
  border-color: var(--wine-500);
  box-shadow: 0 0 0 3px rgba(110, 31, 42, 0.18);
}
.field input[aria-invalid="true"],
.field textarea[aria-invalid="true"] {
  border-color: var(--danger);
  background: var(--danger-bg);
}
.field input[aria-invalid="true"]:focus,
.field textarea[aria-invalid="true"]:focus {
  box-shadow: 0 0 0 3px rgba(176, 69, 63, 0.16);
}
.field .error-msg {
  display: none;
  align-items: center;
  gap: 0.35rem;
  color: var(--danger);
  font-size: 0.8rem;
  margin-top: 0.4rem;
  font-weight: 500;
}
.field .error-msg.show { display: flex; }
.field .error-msg svg { width: 14px; height: 14px; flex: none; }
.field .hint { font-size: 0.78rem; color: var(--ink-faint); margin-top: 0.35rem; }

/* Radio pills for "send via" */
.radio-pills { display: flex; gap: 0.6rem; flex-wrap: wrap; }
.radio-pill {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 44px;
  padding: 0.5rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  background: var(--paper);
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: border-color var(--dur) var(--ease), background-color var(--dur) var(--ease), color var(--dur) var(--ease);
}
.radio-pill svg { width: 16px; height: 16px; color: var(--wine-500); }
.radio-pill input {
  position: absolute;
  opacity: 0;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  margin: 0;
  cursor: pointer;
}
.radio-pill:has(input:checked) {
  border-color: var(--wine-700);
  background: var(--wine-100);
  color: var(--brand-deep);
}
.radio-pill:has(input:focus-visible) {
  outline: 2px solid var(--wine-700);
  outline-offset: 2px;
}

.form-note { font-size: var(--fs-small); color: var(--text-muted); }
.form-status {
  padding: 0.9rem 1.1rem;
  border-radius: var(--r-sm);
  font-size: 0.92rem;
  margin-top: var(--sp-4);
  display: none;
  align-items: flex-start;
  gap: 0.6rem;
  font-weight: 500;
}
.form-status.show { display: flex; }
.form-status svg { width: 18px; height: 18px; flex: none; margin-top: 2px; }
.form-status.ok { background: var(--success-bg); color: var(--success); }
.form-status.err { background: var(--danger-bg); color: var(--danger); }

/* Button loading state */
.btn.is-loading { pointer-events: none; }
.btn.is-loading > * { opacity: 0; }
.btn.is-loading::after {
  content: "";
  position: absolute;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid currentColor;
  border-top-color: transparent;
  animation: spin 0.7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------------------------------------------------------------------
   17. Contact / info cards / map / hours
   --------------------------------------------------------------------- */
.info-card {
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-md);
  padding: 1.25rem 1.35rem;
  box-shadow: var(--sh-xs);
  display: flex;
  gap: 0.95rem;
  align-items: flex-start;
  transition: transform var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.info-card:hover { transform: translateY(-2px); box-shadow: var(--sh-sm); border-color: var(--line); }
.info-card__icon {
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--wine-100);
  color: var(--wine-700);
}
.info-card__icon svg { width: 19px; height: 19px; }
.info-card h3 {
  font-size: 1rem;
  margin-bottom: 0.15rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
}
.info-card p,
.info-card a { color: var(--text-muted); font-size: 0.93rem; }
/* A bare URL like facebook.com/florarialaurabuhusi must not push a 320px
   viewport sideways. */
.info-card > div { min-width: 0; }
.info-card p,
.info-card a { overflow-wrap: anywhere; }
.info-card a { box-shadow: inset 0 -1px 0 var(--line); transition: box-shadow var(--dur) var(--ease), color var(--dur) var(--ease); }
.info-card a:hover { color: var(--brand-deep); box-shadow: inset 0 -1px 0 var(--brass-500); }
.info-card .hours { margin-top: 0.5rem; }

.map-embed {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--sh-sm);
  border: 1px solid var(--line);
  background: var(--paper-2);
}
/* Google Maps is a cold blue-grey that clashes with the warm palette. A
   filter warms it toward the site's tones; a wine-tinted overlay (which lets
   clicks through) unifies it. On hover the overlay fades so the map is fully
   legible when someone actually wants to read it. */
.map-embed iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 380px;
  border: 0;
  filter: grayscale(0.28) sepia(0.22) hue-rotate(-18deg) saturate(0.92) contrast(1.02);
  transition: filter var(--dur-slow) var(--ease);
}
.map-embed::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(135deg, rgba(110, 31, 42, 0.22), rgba(63, 15, 24, 0.10) 60%, transparent),
    radial-gradient(120% 120% at 50% 120%, transparent 55%, rgba(63, 15, 24, 0.16));
  mix-blend-mode: multiply;
  opacity: 1;
  transition: opacity var(--dur-slow) var(--ease);
}
.map-embed:hover iframe { filter: none; }
.map-embed:hover::after { opacity: 0; }

.hours { list-style: none; }
.hours li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.45rem 0;
  border-bottom: 1px dashed var(--line);
  font-size: 0.92rem;
}
.hours li:last-child { border-bottom: none; }
.hours .day { color: var(--ink); font-weight: 500; }
.hours .time { color: var(--text-muted); font-variant-numeric: tabular-nums; }
.hours li.is-today .day,
.hours li.is-today .time { color: var(--wine-700); font-weight: 600; }

.open-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.3rem 0.75rem;
  border-radius: var(--r-pill);
  background: var(--success-bg);
  color: var(--success);
}
.open-badge::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
}
.open-badge--closed { background: var(--paper-3); color: var(--ink-faint); }

/* ---------------------------------------------------------------------
   18. Breadcrumbs & page hero
   --------------------------------------------------------------------- */
.breadcrumbs { padding-block: 0.9rem; font-size: 0.8rem; color: var(--ink-faint); }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 0.4rem; align-items: center; list-style: none; }
.breadcrumbs li { display: flex; align-items: center; gap: 0.4rem; }
.breadcrumbs li:not(:last-child)::after { content: "/"; color: var(--line); }
.breadcrumbs a { transition: color var(--dur) var(--ease); }
.breadcrumbs a:hover { color: var(--brand-deep); }
.breadcrumbs [aria-current="page"] { color: var(--ink-soft); font-weight: 500; }

.page-hero {
  position: relative;
  background: var(--paper-2);
  padding-block: clamp(2.5rem, 1.8rem + 3vw, 4.5rem);
  overflow: hidden;
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero__inner { max-width: 720px; }
.page-hero h1 { margin-bottom: 0.35em; }
.page-hero p { max-width: 58ch; color: var(--text-muted); font-size: var(--fs-lead); }
.page-hero .cluster { margin-top: var(--sp-5); }

/* Variant with a photo backdrop — used on the section landing pages.
   The backdrop is a real <img>, not a CSS background: it gets a srcset,
   so a phone never downloads the 1400px file. */
.page-hero--media { background: var(--wine-900); }
.page-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.page-hero__bg img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  opacity: 0.42;
}
.page-hero--media::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(100deg, rgba(38, 14, 19, 0.92) 6%, rgba(38, 14, 19, 0.6) 52%, rgba(38, 14, 19, 0.3) 100%);
}
@media (max-width: 700px) {
  .page-hero--media::after {
    background: linear-gradient(180deg, rgba(38, 14, 19, 0.72) 0%, rgba(38, 14, 19, 0.88) 100%);
  }
}
.page-hero--media h1 { color: var(--paper); }
.page-hero--media p { color: rgba(240, 224, 222, 0.86); }
.page-hero--media .eyebrow { color: var(--brass-200); }
.page-hero--media .eyebrow::before { background: var(--brass-500); }

/* Breadcrumbs sitting on the dark hero */
.breadcrumbs--on-media { background: var(--wine-900); color: rgba(240, 224, 222, 0.6); }
.breadcrumbs--on-media a:hover { color: var(--brass-200); }
.breadcrumbs--on-media li:not(:last-child)::after { color: rgba(255, 255, 255, 0.2); }
.breadcrumbs--on-media [aria-current="page"] { color: rgba(240, 224, 222, 0.9); }

/* ---------------------------------------------------------------------
   19. CTA band
   --------------------------------------------------------------------- */
.cta-band {
  position: relative;
  background: var(--wine-900);
  color: var(--on-wine);
  text-align: center;
  border-radius: var(--r-xl);
  padding: clamp(2.4rem, 1.6rem + 3.5vw, 4.2rem) clamp(1.4rem, 0.8rem + 3vw, 3.5rem);
  overflow: hidden;
  isolation: isolate;
}
/* A very soft botanical glow, not a purple gradient. */
.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(60% 90% at 12% 0%, rgba(156, 74, 82, 0.42), transparent 62%),
    radial-gradient(50% 80% at 92% 100%, rgba(176, 141, 87, 0.20), transparent 60%);
}
.cta-band .eyebrow { color: var(--brass-200); justify-content: center; }
.cta-band .eyebrow::before { background: var(--brass-500); }
.cta-band h2 { color: var(--paper); }
.cta-band p {
  color: rgba(232, 213, 211, 0.84);
  font-size: var(--fs-lead);
  max-width: 52ch;
  margin: 0 auto var(--sp-6);
}
.cta-band__actions { display: flex; gap: 0.75rem; justify-content: center; flex-wrap: wrap; }
@media (max-width: 480px) {
  .cta-band__actions { flex-direction: column; }
  .cta-band__actions .btn { width: 100%; }
}

/* ---------------------------------------------------------------------
   20. Footer
   --------------------------------------------------------------------- */
.site-footer {
  background: var(--wine-900);
  color: #cbabab;
  padding-block: clamp(3rem, 2rem + 3vw, 4.5rem) 1.5rem;
  font-size: 0.92rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.3fr;
  gap: var(--sp-6) var(--sp-5);
  margin-bottom: var(--sp-7);
}
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: var(--sp-7) var(--sp-5); } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* Rendered as <h2> for a clean heading outline, styled as a small label. */
.footer-heading {
  color: var(--paper);
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  line-height: 1.4;
  margin: 0 0 1.1rem;
}
.site-footer a {
  color: #cbabab;
  transition: color var(--dur) var(--ease);
}
.site-footer a:hover { color: var(--brass-200); }
.footer-brand .brand {
  min-height: 0;
  padding-block: 0;
  display: block;
}
.footer-brand .brand__mark { color: var(--paper); font-size: 1.4rem; }
.footer-brand .brand__mark em { color: var(--rose-300); }
.footer-brand p {
  font-size: 0.9rem;
  color: #b89694;
  max-width: 30ch;
  margin-top: 0.9rem;
  line-height: 1.65;
}
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 0.55rem; }
.footer-links a {
  display: inline-block;
  padding: 0.12rem 0;
  position: relative;
}
.footer-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 1px;
  width: 0;
  background: var(--brass-500);
  transition: width var(--dur) var(--ease-out);
}
.footer-links a:hover::after { width: 100%; }

.footer-contact { display: flex; flex-direction: column; gap: 0.75rem; }
.footer-contact li { display: flex; gap: 0.6rem; align-items: flex-start; list-style: none; }
.footer-contact svg { width: 16px; height: 16px; color: var(--brass-500); flex: none; margin-top: 4px; }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem 1.5rem;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: #ab8b8a;
}
.footer-legal { display: flex; gap: 1rem; flex-wrap: wrap; }
.footer-social { display: flex; gap: 0.5rem; }
.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.06);
  transition: background-color var(--dur) var(--ease), transform var(--dur) var(--ease-out);
}
.footer-social a:hover { background: rgba(255, 255, 255, 0.14); transform: translateY(-2px); }
.footer-social svg { width: 17px; height: 17px; }

/* ---------------------------------------------------------------------
   21. Floating actions
   --------------------------------------------------------------------- */
.wa-float {
  position: fixed;
  right: 1.1rem;
  bottom: 1.1rem;
  z-index: 90;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 8px 26px rgba(37, 211, 102, 0.36);
  transition: transform var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease);
}
.wa-float:hover { transform: scale(1.07); box-shadow: 0 12px 32px rgba(37, 211, 102, 0.48); }
.wa-float svg { width: 28px; height: 28px; }
/* One gentle pulse ring, not a permanent attention-grab. */
.wa-float::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid #25d366;
  animation: wa-ping 2.8s var(--ease-out) 3;
}
@keyframes wa-ping {
  0%   { transform: scale(1);   opacity: 0.6; }
  70%  { transform: scale(1.6); opacity: 0; }
  100% { transform: scale(1.6); opacity: 0; }
}

.scroll-top {
  position: fixed;
  right: 1.1rem;
  bottom: calc(1.1rem + 66px);
  z-index: 89;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--brand-deep);
  display: grid;
  place-items: center;
  box-shadow: var(--sh-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition:
    opacity var(--dur) var(--ease),
    transform var(--dur) var(--ease-out),
    background-color var(--dur) var(--ease),
    visibility var(--dur);
}
.scroll-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.scroll-top:hover { background: var(--wine-700); color: #fff; border-color: var(--wine-700); transform: translateY(-2px); }
.scroll-top svg { width: 19px; height: 19px; }

@media (max-width: 520px) {
  .wa-float { width: 52px; height: 52px; }
  .wa-float svg { width: 26px; height: 26px; }
  .scroll-top { width: 44px; height: 44px; bottom: calc(1.1rem + 60px); }
}

/* ---------------------------------------------------------------------
   22. 404 & empty states
   --------------------------------------------------------------------- */
.empty-state {
  grid-column: 1 / -1;
  text-align: center;
  padding: clamp(2.5rem, 2rem + 3vw, 4.5rem) 1rem;
  color: var(--text-muted);
}
.empty-state__icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1.2rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--paper-2);
  color: var(--wine-500);
}
.empty-state__icon svg { width: 28px; height: 28px; }
.empty-state h3 { font-size: var(--fs-h3); margin-bottom: 0.4rem; }
.empty-state p { max-width: 44ch; margin-inline: auto; margin-bottom: var(--sp-5); }

.error-page {
  display: grid;
  place-items: center;
  text-align: center;
  padding-block: clamp(3.5rem, 2rem + 7vw, 8rem);
}
/* Scoped under .error-page so it out-specifies the `.error-page p` rule
   below — otherwise the 404 renders at body size. */
.error-page .error-page__code {
  font-family: var(--font-display);
  font-size: clamp(5rem, 3rem + 12vw, 11rem);
  line-height: 0.9;
  color: var(--wine-700);
  letter-spacing: -0.04em;
  margin: 0 0 0.1em;
  max-width: none;
}
.error-page .error-page__code em { font-style: italic; color: var(--rose-300); }
.error-page p { color: var(--text-muted); font-size: var(--fs-lead); max-width: 46ch; margin: 0 auto var(--sp-6); }

/* ---------------------------------------------------------------------
   23. Motion
   --------------------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.75s var(--ease-out),
    transform 0.75s var(--ease-out);
  transition-delay: var(--reveal-delay, 0s);
}
.reveal.is-visible { opacity: 1; transform: none; }

/* Children reveal in sequence — set once on the parent. */
.reveal-group > * {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.reveal-group.is-visible > * { opacity: 1; transform: none; }
.reveal-group.is-visible > *:nth-child(1) { transition-delay: 0s; }
.reveal-group.is-visible > *:nth-child(2) { transition-delay: 0.07s; }
.reveal-group.is-visible > *:nth-child(3) { transition-delay: 0.14s; }
.reveal-group.is-visible > *:nth-child(4) { transition-delay: 0.21s; }
.reveal-group.is-visible > *:nth-child(5) { transition-delay: 0.28s; }
.reveal-group.is-visible > *:nth-child(6) { transition-delay: 0.35s; }
.reveal-group.is-visible > *:nth-child(n + 7) { transition-delay: 0.42s; }

/* Very slight parallax drift on hero art; opt-in per element. */
.parallax { will-change: transform; }

/* ---------------------------------------------------------------------
   Decorative botanical line-art. Placed in section corners as a quiet
   background texture — always aria-hidden, always behind the content, and
   gently drifting so the page feels alive without distracting.
   --------------------------------------------------------------------- */
.has-bloom { position: relative; overflow: clip; }
.has-bloom > .container,
.has-bloom > * { position: relative; z-index: 1; }
.has-bloom > .bloom { z-index: 0; }

/* The motif is a calla-lily silhouette used as a CSS mask, so one SVG file
   recolours to any palette tone via background-color. A filled shape at low
   opacity reads as a soft botanical shadow rather than a hard graphic.
   Orientation per corner is carried by --rot, folded into the drift keyframe
   so the single animated transform is never fought over. */
.bloom {
  position: absolute;
  width: clamp(150px, 18vw, 280px);
  aspect-ratio: 1;
  background-color: var(--wine-500);
  opacity: 0.1;
  pointer-events: none;
  -webkit-mask: url(../decor/cala.svg) no-repeat center / contain;
  mask: url(../decor/cala.svg) no-repeat center / contain;
  animation: bloom-drift 12s var(--ease-in-out) infinite;
}
.bloom--rose  { background-color: var(--rose-500); }
.bloom--brass { background-color: var(--brass-500); }
.bloom--light { background-color: var(--brass-200); opacity: 0.18; }

/* Inside the wine CTA band the band itself is the stacking context, so the
   blooms sit behind the text via a negative z-index rather than .has-bloom. */
.cta-band .bloom { z-index: -1; }

.bloom--tl { top: -4%;  left: -3%;  --rot: 8deg; }
.bloom--tr { top: -5%;  right: -3%; --rot: -8deg; animation-duration: 14s; animation-delay: -3s; }
.bloom--bl { bottom: -4%; left: -3%;  --rot: -8deg; animation-duration: 13s; animation-delay: -6s; }
.bloom--br { bottom: -5%; right: -3%; --rot: 8deg;  animation-duration: 15s; animation-delay: -4s; }

@keyframes bloom-drift {
  0%, 100% { transform: translateY(0) rotate(var(--rot, 0deg)); }
  50%      { transform: translateY(-12px) rotate(calc(var(--rot, 0deg) + 2.5deg)); }
}

/* A faint petal-glow behind the hero headline, so the text sits on light. */
.hero { isolation: isolate; }
.hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: -8%;
  left: -12%;
  width: 46%;
  aspect-ratio: 1;
  background: radial-gradient(circle, rgba(158, 81, 88, 0.12), transparent 68%);
  pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .reveal,
  .reveal-group > *,
  .nav a:not(.btn),
  .nav .btn { opacity: 1 !important; transform: none !important; }
  .wa-float::before { display: none; }
  .btn:hover,
  .cat-card:hover,
  .product-card:hover,
  .feature:hover,
  .review-card:hover,
  .info-card:hover { transform: none; }
  .cat-card:hover img,
  .product-card:hover .product-card__media img,
  .gallery__item:hover img { transform: none; }
  .bloom { animation: none; }
  .btn--primary:hover::after,
  .btn--whatsapp:hover::after,
  .btn--gold:hover::after { animation: none; }
}

/* ---------------------------------------------------------------------
   24. Utilities
   --------------------------------------------------------------------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.mt-5 { margin-top: var(--sp-5); }
.mt-6 { margin-top: var(--sp-6); }
.mt-7 { margin-top: var(--sp-7); }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
