/* =============================================================
   Serenity Flowers, Nassau Bahamas
   Design system and site styles
   Built by Baha Connect
   ============================================================= */

/* -------------------------------------------------------------
   1. TOKENS
   ------------------------------------------------------------- */
:root {
  /* Fonts */
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Poppins', 'Helvetica Neue', sans-serif;

  /* Type scale */
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.5rem;
  --text-3xl: 2rem;
  --text-4xl: 2.75rem;
  --text-5xl: 3.5rem;
  --text-6xl: 4.5rem;

  /* Line heights */
  --leading-none: 1;
  --leading-tight: 1.12;
  --leading-snug: 1.32;
  --leading-normal: 1.62;
  --leading-relaxed: 1.78;

  /* Weights */
  --weight-regular: 400;
  --weight-medium: 500;
  --weight-semibold: 600;
  --weight-bold: 700;
  --weight-black: 900;

  /* Tracking */
  --tracking-tight: -0.025em;
  --tracking-normal: 0em;
  --tracking-wide: 0.05em;
  --tracking-widest: 0.18em;

  /* Spacing scale */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;
  --space-9: 96px;
  --space-10: 128px;

  /* Radius */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-xl: 32px;
  --radius-pill: 999px;

  /* Brand: pink drawn from the Serenity lotus mark */
  --pink-50: hsl(330, 100%, 98%);
  --pink-100: hsl(330, 88%, 95%);
  --pink-200: hsl(328, 84%, 89%);
  --pink-300: hsl(325, 82%, 79%);
  --pink-400: hsl(322, 80%, 68%);
  --pink-500: hsl(320, 78%, 56%);
  --pink-600: hsl(322, 72%, 47%);
  --pink-700: hsl(325, 70%, 38%);
  --pink-800: hsl(328, 62%, 27%);
  --pink-900: hsl(330, 52%, 17%);

  /* Gold drawn from the FLOWERS wordmark */
  --gold-100: hsl(46, 92%, 93%);
  --gold-200: hsl(45, 88%, 84%);
  --gold-400: hsl(43, 84%, 64%);
  --gold-500: hsl(42, 80%, 54%);
  --gold-600: hsl(39, 76%, 45%);
  --gold-700: hsl(36, 72%, 34%);

  /* Lavender accent */
  --lav-100: hsl(272, 60%, 95%);
  --lav-300: hsl(272, 48%, 82%);
  --lav-500: hsl(272, 42%, 62%);
  --lav-700: hsl(274, 38%, 42%);

  /* Fresh green */
  --green-100: hsl(140, 44%, 93%);
  --green-500: hsl(146, 44%, 40%);
  --green-600: hsl(148, 52%, 32%);
  --green-700: hsl(150, 54%, 24%);

  /* Warm, slightly saturated neutrals */
  --warm-50: hsl(28, 48%, 98%);
  --warm-100: hsl(28, 38%, 96%);
  --warm-200: hsl(24, 26%, 91%);
  --warm-300: hsl(20, 18%, 82%);
  --warm-400: hsl(18, 12%, 66%);
  --warm-500: hsl(320, 8%, 48%);
  --warm-600: hsl(322, 10%, 36%);
  --warm-700: hsl(324, 14%, 25%);
  --warm-800: hsl(326, 18%, 16%);
  --warm-900: hsl(328, 24%, 10%);

  /* Semantic, light theme */
  --bg: var(--warm-50);
  --bg-alt: var(--warm-100);
  --bg-deep: var(--pink-900);
  --surface: hsl(0, 0%, 100%);
  --surface-2: var(--warm-100);
  --border: var(--warm-200);
  --border-strong: var(--warm-300);
  --text-primary: var(--warm-800);
  --text-secondary: var(--warm-600);
  --text-tertiary: var(--warm-500);
  --text-on-dark: hsl(30, 44%, 96%);
  --text-on-dark-soft: hsl(325, 22%, 80%);
  --accent: var(--pink-500);
  --accent-ink: var(--pink-700);

  /* Shadows, five levels, warm tinted */
  --shadow-xs: 0 1px 2px hsl(328 30% 20% / 0.06);
  --shadow-sm: 0 2px 6px hsl(328 30% 20% / 0.07);
  --shadow-md: 0 8px 20px hsl(328 30% 20% / 0.09);
  --shadow-lg: 0 18px 40px hsl(328 30% 20% / 0.12);
  --shadow-xl: 0 32px 70px hsl(328 34% 18% / 0.18);
  --shadow-glow: 0 18px 44px hsl(320 78% 56% / 0.28);

  /* Layout */
  --container: 1240px;
  --container-narrow: 940px;
  --nav-h: 76px;
}

/* Dark theme, cards sit lighter than the page */
html[data-theme='dark'] {
  --bg: hsl(328, 22%, 8%);
  --bg-alt: hsl(328, 20%, 11%);
  --bg-deep: hsl(330, 26%, 6%);
  --surface: hsl(327, 18%, 14%);
  --surface-2: hsl(327, 16%, 18%);
  --border: hsl(327, 14%, 24%);
  --border-strong: hsl(327, 14%, 32%);
  --text-primary: hsl(30, 40%, 95%);
  --text-secondary: hsl(325, 16%, 76%);
  --text-tertiary: hsl(325, 12%, 62%);
  --accent: var(--pink-400);
  --accent-ink: var(--pink-300);
  --shadow-xs: 0 1px 2px hsl(330 40% 2% / 0.5);
  --shadow-sm: 0 2px 8px hsl(330 40% 2% / 0.55);
  --shadow-md: 0 10px 24px hsl(330 40% 2% / 0.6);
  --shadow-lg: 0 20px 46px hsl(330 40% 2% / 0.66);
  --shadow-xl: 0 34px 76px hsl(330 40% 2% / 0.72);
}

/* -------------------------------------------------------------
   2. RESET AND BASE
   ------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background-color: var(--bg);
  background-image:
    radial-gradient(46rem 34rem at 88% -8%, hsl(330 88% 92% / 0.55), transparent 70%),
    radial-gradient(38rem 30rem at -8% 12%, hsl(46 88% 88% / 0.42), transparent 68%),
    radial-gradient(44rem 40rem at 50% 118%, hsl(272 55% 92% / 0.45), transparent 70%);
  background-attachment: fixed;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: var(--weight-regular);
  line-height: var(--leading-normal);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

html[data-theme='dark'] body {
  background-image:
    radial-gradient(46rem 34rem at 88% -8%, hsl(320 60% 22% / 0.5), transparent 70%),
    radial-gradient(38rem 30rem at -8% 12%, hsl(40 50% 20% / 0.32), transparent 68%),
    radial-gradient(44rem 40rem at 50% 118%, hsl(272 45% 22% / 0.4), transparent 70%);
}

img { max-width: 100%; display: block; }

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--text-primary);
  margin: 0;
}

h1 { font-size: var(--text-4xl); font-weight: var(--weight-bold); line-height: var(--leading-tight); letter-spacing: var(--tracking-tight); }
h2 { font-size: var(--text-3xl); font-weight: var(--weight-bold); line-height: var(--leading-tight); letter-spacing: var(--tracking-tight); }
h3 { font-size: var(--text-2xl); font-weight: var(--weight-semibold); line-height: var(--leading-snug); }
h4 { font-family: var(--font-body); font-size: var(--text-lg); font-weight: var(--weight-semibold); line-height: var(--leading-snug); }

p { margin: 0 0 var(--space-4); max-width: 65ch; color: var(--text-secondary); }

::selection { background: var(--pink-200); color: var(--pink-900); }

:focus-visible {
  outline: 3px solid var(--pink-500);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

/* -------------------------------------------------------------
   3. LAYOUT PRIMITIVES
   ------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--space-5);
}

.container-narrow { max-width: var(--container-narrow); }

.section { padding-block: var(--space-9); position: relative; }
.section-tight { padding-block: var(--space-8); }

.section-alt {
  background: linear-gradient(180deg, transparent, hsl(330 60% 96% / 0.6) 18%, hsl(330 60% 96% / 0.6) 82%, transparent);
}
html[data-theme='dark'] .section-alt {
  background: linear-gradient(180deg, transparent, hsl(328 22% 12% / 0.9) 18%, hsl(328 22% 12% / 0.9) 82%, transparent);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
  color: var(--accent-ink);
  margin-bottom: var(--space-3);
}
.eyebrow::before {
  content: '';
  width: 26px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-500));
}

.section-head { max-width: 720px; margin-bottom: var(--space-7); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center p { margin-inline: auto; }
.section-head p { font-size: var(--text-lg); color: var(--text-secondary); }

.lede { font-size: var(--text-lg); line-height: var(--leading-relaxed); }

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

/* -------------------------------------------------------------
   4. FLORAL DIVIDER
   ------------------------------------------------------------- */
.divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-4);
  padding-block: var(--space-6);
  color: var(--pink-400);
}
.divider .rule {
  height: 1px;
  width: min(180px, 22vw);
  background: linear-gradient(90deg, transparent, var(--border-strong));
}
.divider .rule:last-child { background: linear-gradient(270deg, transparent, var(--border-strong)); }
.divider svg { width: 46px; height: 46px; flex: none; }
.divider .petal-a { fill: var(--pink-400); }
.divider .petal-b { fill: var(--gold-400); }
.divider .stem { stroke: var(--pink-400); }

/* -------------------------------------------------------------
   5. BUTTONS
   ------------------------------------------------------------- */
.btn {
  --btn-bg: var(--pink-500);
  --btn-ink: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  min-height: 48px;
  padding: 0 var(--space-6);
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  background: var(--btn-bg);
  color: var(--btn-ink);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  letter-spacing: var(--tracking-wide);
  line-height: var(--leading-tight);
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease, border-color 0.18s ease;
  box-shadow: var(--shadow-sm);
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn:active { transform: translateY(1px); box-shadow: var(--shadow-xs); }

.btn-primary {
  background-image: linear-gradient(135deg, var(--pink-500), var(--pink-600) 60%, var(--lav-500));
  box-shadow: var(--shadow-glow);
}
.btn-primary:hover { box-shadow: 0 22px 52px hsl(320 78% 50% / 0.36); }

.btn-ghost {
  background: transparent;
  color: var(--text-primary);
  border-color: var(--border-strong);
  box-shadow: none;
}
.btn-ghost:hover { border-color: var(--pink-400); background: var(--pink-50); color: var(--pink-700); }
html[data-theme='dark'] .btn-ghost:hover { background: hsl(320 40% 20%); color: var(--pink-200); }

.btn-gold { background: var(--gold-500); color: hsl(36, 80%, 12%); }
.btn-gold:hover { background: var(--gold-400); }

.btn-whatsapp { background: var(--green-600); }
.btn-whatsapp:hover { background: var(--green-500); }

.btn-messenger { background: hsl(214, 89%, 52%); }
.btn-messenger:hover { background: hsl(214, 89%, 58%); }

.btn-lg { min-height: 56px; padding-inline: var(--space-7); font-size: var(--text-base); }
.btn-block { width: 100%; }

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

/* Text link with growing underline */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  letter-spacing: var(--tracking-wide);
  color: var(--accent-ink);
  position: relative;
}
.link-arrow::after {
  content: '';
  position: absolute;
  left: 0; bottom: -4px;
  height: 1px; width: 0;
  background: currentColor;
  transition: width 0.28s ease;
}
.link-arrow:hover::after { width: 100%; }
.link-arrow span:last-child { transition: transform 0.28s ease; }
.link-arrow:hover span:last-child { transform: translateX(4px); }

/* -------------------------------------------------------------
   6. HEADER AND NAVIGATION
   ------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: hsl(28 48% 98% / 0.72);
  backdrop-filter: blur(16px) saturate(150%);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  border-bottom: 1px solid transparent;
  transition: background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
html[data-theme='dark'] .site-header { background: hsl(328 22% 8% / 0.76); }
.site-header.scrolled { border-bottom-color: var(--border); box-shadow: var(--shadow-sm); }

.nav {
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-5);
}

.brand { display: flex; align-items: center; gap: var(--space-3); }
.brand img { height: 46px; width: auto; }
.brand .brand-text { display: none; }

.nav-links { display: flex; align-items: center; gap: var(--space-5); }
.nav-link {
  position: relative;
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  letter-spacing: var(--tracking-wide);
  color: var(--text-secondary);
  padding-block: var(--space-2);
  transition: color 0.2s ease;
}
.nav-link::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  height: 2px; width: 0;
  background: linear-gradient(90deg, var(--pink-500), var(--gold-500));
  border-radius: 2px;
  transition: width 0.26s ease;
}
.nav-link:hover { color: var(--text-primary); }
.nav-link:hover::after { width: 100%; }
.nav-link.active { color: var(--accent-ink); font-weight: var(--weight-semibold); }
.nav-link.active::after { width: 100%; }

.nav-actions { display: flex; align-items: center; gap: var(--space-3); }

.icon-btn {
  width: 44px; height: 44px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text-secondary);
  cursor: pointer;
  transition: transform 0.18s ease, color 0.18s ease, border-color 0.18s ease, background-color 0.18s ease;
}
.icon-btn:hover { color: var(--pink-600); border-color: var(--pink-300); transform: translateY(-2px); }
.icon-btn:active { transform: translateY(1px); }
.icon-btn svg { width: 20px; height: 20px; }
.icon-btn .icon-moon { display: none; }
html[data-theme='dark'] .icon-btn .icon-moon { display: block; }
html[data-theme='dark'] .icon-btn .icon-sun { display: none; }

.nav-toggle { display: none; }

/* Mobile drawer */
.drawer {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: var(--bg);
  padding: var(--space-5);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.38s cubic-bezier(0.4, 0, 0.2, 1);
  overflow-y: auto;
}
.drawer.open { transform: translateX(0); }
.drawer-top { display: flex; align-items: center; justify-content: space-between; height: var(--nav-h); }
.drawer-links { display: flex; flex-direction: column; gap: var(--space-2); margin-top: var(--space-6); }
.drawer-links a {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: var(--weight-semibold);
  color: var(--text-primary);
  padding-block: var(--space-3);
  border-bottom: 1px solid var(--border);
  transition: color 0.2s ease, padding-left 0.2s ease;
}
.drawer-links a:hover, .drawer-links a.active { color: var(--pink-600); padding-left: var(--space-2); }
.drawer-cta { margin-top: auto; padding-top: var(--space-6); display: grid; gap: var(--space-3); }

/* -------------------------------------------------------------
   7. HERO
   ------------------------------------------------------------- */
.hero { position: relative; padding-top: var(--space-8); padding-bottom: var(--space-9); overflow: hidden; }

.hero-grid {
  display: grid;
  grid-template-columns: 1.02fr 1fr;
  gap: var(--space-8);
  align-items: center;
}

.hero-copy h1 {
  font-size: clamp(2.6rem, 6.2vw, var(--text-6xl));
  line-height: var(--leading-tight);
  letter-spacing: var(--tracking-tight);
  margin-bottom: var(--space-4);
}
.hero-copy h1 em {
  font-style: italic;
  background: linear-gradient(120deg, var(--pink-500), var(--lav-500) 55%, var(--gold-500));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-copy .lede { max-width: 46ch; margin-bottom: var(--space-6); }

.hero-meta {
  display: flex; flex-wrap: wrap; gap: var(--space-5);
  margin-top: var(--space-7);
  padding-top: var(--space-5);
  border-top: 1px solid var(--border);
}
.hero-meta div { display: flex; flex-direction: column; }
.hero-meta strong { font-family: var(--font-display); font-size: var(--text-2xl); color: var(--text-primary); line-height: 1.1; }
.hero-meta span { font-size: var(--text-xs); letter-spacing: var(--tracking-widest); text-transform: uppercase; color: var(--text-tertiary); }

/* Stacked, parallax image cluster */
.hero-art { position: relative; min-height: 520px; }
.hero-art figure { margin: 0; position: absolute; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-xl); }
.hero-art .art-main {
  inset: 0 0 auto auto;
  width: 78%;
  aspect-ratio: 4 / 5;
  border: 6px solid var(--surface);
}
.hero-art .art-sub {
  bottom: 0; left: 0;
  width: 52%;
  aspect-ratio: 1 / 1;
  border: 6px solid var(--surface);
  z-index: 2;
}
.hero-art img { width: 100%; height: 100%; object-fit: cover; }

.hero-badge {
  position: absolute;
  right: 2%;
  bottom: 12%;
  z-index: 3;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-4) var(--space-5);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: var(--space-3);
  max-width: 230px;
}
.hero-badge .stars { color: var(--gold-500); font-size: var(--text-sm); letter-spacing: 2px; }
.hero-badge strong { display: block; font-family: var(--font-display); font-size: var(--text-lg); }
.hero-badge span { font-size: var(--text-xs); color: var(--text-tertiary); }

/* Floating petals */
.petals { position: absolute; inset: 0; pointer-events: none; overflow: hidden; z-index: 0; }
.petal {
  position: absolute;
  width: 34px; height: 34px;
  opacity: 0.5;
  animation: drift 18s ease-in-out infinite;
}
.petal svg { width: 100%; height: 100%; }
.petal:nth-child(1) { top: 8%;  left: 6%;  animation-duration: 19s; }
.petal:nth-child(2) { top: 62%; left: 2%;  animation-duration: 24s; animation-delay: -6s; width: 24px; height: 24px; }
.petal:nth-child(3) { top: 18%; right: 8%; animation-duration: 22s; animation-delay: -3s; width: 42px; height: 42px; }
.petal:nth-child(4) { bottom: 12%; right: 22%; animation-duration: 26s; animation-delay: -11s; }
.petal:nth-child(5) { top: 44%; left: 46%; animation-duration: 21s; animation-delay: -8s; width: 20px; height: 20px; opacity: 0.35; }

@keyframes drift {
  0%   { transform: translate3d(0, 0, 0) rotate(0deg); }
  25%  { transform: translate3d(18px, -26px, 0) rotate(28deg); }
  50%  { transform: translate3d(-12px, -46px, 0) rotate(-16deg); }
  75%  { transform: translate3d(-24px, -18px, 0) rotate(20deg); }
  100% { transform: translate3d(0, 0, 0) rotate(0deg); }
}

/* Page banner for interior pages */
.page-banner { position: relative; padding-block: var(--space-9) var(--space-8); overflow: hidden; }
.page-banner .container { position: relative; z-index: 1; }
.page-banner h1 { font-size: clamp(2.4rem, 5.4vw, var(--text-5xl)); max-width: 18ch; }
.page-banner p { font-size: var(--text-lg); max-width: 58ch; margin-top: var(--space-4); }
.banner-crumbs { font-size: var(--text-xs); letter-spacing: var(--tracking-widest); text-transform: uppercase; color: var(--text-tertiary); margin-bottom: var(--space-4); }
.banner-crumbs a:hover { color: var(--accent-ink); }

/* -------------------------------------------------------------
   8. CARDS
   ------------------------------------------------------------- */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  display: flex;
  flex-direction: column;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--pink-200); }
.card-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--surface-2); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1); }
.card:hover .card-media img { transform: scale(1.07); }
.card-body { padding: var(--space-5); display: flex; flex-direction: column; gap: var(--space-2); flex: 1; }
.card-body h3 { font-size: var(--text-xl); }
.card-body p { font-size: var(--text-sm); margin: 0; }
.card-body .link-arrow { margin-top: auto; padding-top: var(--space-3); align-self: flex-start; }

/* Service card with icon */
.service-card { padding: var(--space-6); text-align: left; }
.service-card .ico {
  width: 56px; height: 56px;
  border-radius: var(--radius-md);
  display: grid; place-items: center;
  background: linear-gradient(140deg, var(--pink-100), var(--gold-100));
  color: var(--pink-700);
  margin-bottom: var(--space-4);
  transition: transform 0.3s ease;
}
html[data-theme='dark'] .service-card .ico { background: linear-gradient(140deg, hsl(320 40% 22%), hsl(40 40% 20%)); color: var(--pink-200); }
.service-card:hover .ico { transform: rotate(-6deg) scale(1.05); }
.service-card .ico svg { width: 26px; height: 26px; }

/* Collection tile, image led with gradient scrim */
.collection {
  position: relative;
  display: block;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 3 / 4;
  box-shadow: var(--shadow-md);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.collection img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1); }
.collection::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, hsl(330 40% 10% / 0) 38%, hsl(330 44% 8% / 0.82) 100%);
  transition: opacity 0.35s ease;
}
.collection:hover { transform: translateY(-6px); box-shadow: var(--shadow-xl); }
.collection:hover img { transform: scale(1.08); }
.collection-label {
  position: absolute;
  left: var(--space-5); right: var(--space-5); bottom: var(--space-5);
  z-index: 2;
  color: var(--text-on-dark);
}
.collection-label h3 { color: #fff; font-size: var(--text-xl); }
.collection-label p { color: hsl(330 40% 90%); font-size: var(--text-sm); margin: var(--space-1) 0 0; opacity: 0; transform: translateY(6px); transition: opacity 0.3s ease, transform 0.3s ease; }
.collection:hover .collection-label p { opacity: 1; transform: translateY(0); }
.collection-label .tag {
  display: inline-block;
  font-size: var(--text-xs);
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
  color: var(--gold-200);
  margin-bottom: var(--space-2);
}

/* Product card for the flowers page */
.bloom { position: relative; }
.bloom .card-media { aspect-ratio: 1 / 1; }
.bloom .price-note {
  font-size: var(--text-xs);
  letter-spacing: var(--tracking-wide);
  color: var(--text-tertiary);
}
.bloom .btn { margin-top: var(--space-3); }

/* Feature list */
.feature-list { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-4); }
.feature-list li { display: flex; gap: var(--space-4); align-items: flex-start; }
.feature-list .check {
  flex: none;
  width: 34px; height: 34px;
  border-radius: var(--radius-pill);
  display: grid; place-items: center;
  background: var(--pink-100);
  color: var(--pink-700);
}
html[data-theme='dark'] .feature-list .check { background: hsl(320 40% 22%); color: var(--pink-200); }
.feature-list .check svg { width: 16px; height: 16px; }
.feature-list strong { display: block; font-weight: var(--weight-semibold); color: var(--text-primary); }
.feature-list span { font-size: var(--text-sm); color: var(--text-secondary); }

/* Split section, image beside copy */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-8); align-items: center; }
.split.reverse .split-media { order: 2; }
.split-media { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4 / 3; }
.split-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s cubic-bezier(0.2, 0.8, 0.2, 1); }
.split-media:hover img { transform: scale(1.05); }
.split-media .frame-note {
  position: absolute; left: var(--space-4); bottom: var(--space-4);
  background: hsl(0 0% 100% / 0.9);
  backdrop-filter: blur(8px);
  color: var(--pink-800);
  border-radius: var(--radius-pill);
  padding: var(--space-2) var(--space-4);
  font-size: var(--text-xs);
  letter-spacing: var(--tracking-wide);
  font-weight: var(--weight-semibold);
}

/* Numbered occasion block */
.occasion { position: relative; }
.occasion .num {
  font-family: var(--font-display);
  font-size: var(--text-5xl);
  font-weight: var(--weight-bold);
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px var(--pink-300);
  margin-bottom: var(--space-3);
  display: block;
}

/* -------------------------------------------------------------
   9. BANDS AND CALLOUTS
   ------------------------------------------------------------- */
.band {
  position: relative;
  overflow: hidden;
  background-image: url('../images/rose-band.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  color: #fff;
}
.band::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(120deg, hsl(330 55% 12% / 0.88), hsl(320 60% 22% / 0.72) 50%, hsl(272 45% 20% / 0.82));
}
.band .container { position: relative; z-index: 1; text-align: center; padding-block: var(--space-9); }
.band h2 { color: #fff; font-size: clamp(2rem, 4.6vw, var(--text-5xl)); margin-bottom: var(--space-4); }
.band p { color: hsl(330 46% 92%); font-size: var(--text-lg); margin-inline: auto; margin-bottom: var(--space-6); }
.band .btn-row { justify-content: center; }
.band .eyebrow { color: var(--gold-400); }

.stat-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-5);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: var(--space-7) var(--space-6);
  box-shadow: var(--shadow-md);
}
.stat { text-align: center; }
.stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: var(--text-4xl);
  line-height: 1;
  background: linear-gradient(120deg, var(--pink-600), var(--gold-600));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stat span { font-size: var(--text-xs); letter-spacing: var(--tracking-widest); text-transform: uppercase; color: var(--text-tertiary); }

/* Quote card */
.quote {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  position: relative;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.quote:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.quote::before {
  content: '';
  position: absolute;
  top: 0; left: var(--space-6); right: var(--space-6);
  height: 3px;
  background: linear-gradient(90deg, var(--pink-400), var(--gold-400));
  border-radius: 0 0 3px 3px;
}
.quote .stars { color: var(--gold-500); letter-spacing: 3px; margin-bottom: var(--space-3); }
.quote p { font-family: var(--font-display); font-size: var(--text-lg); line-height: var(--leading-snug); color: var(--text-primary); }
.quote cite { font-style: normal; font-size: var(--text-sm); color: var(--text-tertiary); }

/* Info tiles for contact */
.info-tile {
  display: flex;
  gap: var(--space-4);
  padding: var(--space-5);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xs);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.info-tile:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--pink-200); }
.info-tile .ico {
  flex: none; width: 46px; height: 46px;
  border-radius: var(--radius-md);
  display: grid; place-items: center;
  background: linear-gradient(140deg, var(--pink-100), var(--lav-100));
  color: var(--pink-700);
}
html[data-theme='dark'] .info-tile .ico { background: hsl(320 36% 22%); color: var(--pink-200); }
.info-tile .ico svg { width: 22px; height: 22px; }
.info-tile h4 { margin-bottom: var(--space-1); }
.info-tile p, .info-tile a { font-size: var(--text-sm); margin: 0; color: var(--text-secondary); word-break: break-word; }
.info-tile a:hover { color: var(--accent-ink); }

.hours-table { width: 100%; border-collapse: collapse; }
.hours-table th, .hours-table td { text-align: left; padding: var(--space-3) 0; border-bottom: 1px solid var(--border); font-size: var(--text-sm); }
.hours-table th { font-weight: var(--weight-medium); color: var(--text-secondary); }
.hours-table td { text-align: right; color: var(--text-primary); font-weight: var(--weight-medium); }
.hours-table tr:last-child th, .hours-table tr:last-child td { border-bottom: none; }

.map-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  line-height: 0;
  background: var(--surface-2);
}
.map-frame iframe { width: 100%; height: 420px; border: 0; display: block; filter: saturate(1.05); }
html[data-theme='dark'] .map-frame iframe { filter: invert(0.9) hue-rotate(180deg) saturate(0.8); }

/* -------------------------------------------------------------
   10. GALLERY
   ------------------------------------------------------------- */
.filter-bar { display: flex; flex-wrap: wrap; gap: var(--space-2); justify-content: center; margin-bottom: var(--space-7); }
.filter-btn {
  border: 1px solid var(--border-strong);
  background: var(--surface);
  color: var(--text-secondary);
  border-radius: var(--radius-pill);
  padding: var(--space-2) var(--space-5);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  letter-spacing: var(--tracking-wide);
  cursor: pointer;
  transition: background-color 0.22s ease, color 0.22s ease, border-color 0.22s ease, transform 0.22s ease;
}
.filter-btn:hover { border-color: var(--pink-400); color: var(--pink-700); transform: translateY(-2px); }
.filter-btn[aria-pressed='true'] {
  background: linear-gradient(135deg, var(--pink-500), var(--pink-600));
  border-color: transparent;
  color: #fff;
  box-shadow: var(--shadow-glow);
}

.masonry { column-count: 3; column-gap: var(--space-5); }
.masonry-item {
  break-inside: avoid;
  margin-bottom: var(--space-5);
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-sm);
  cursor: zoom-in;
  transition: transform 0.35s ease, box-shadow 0.35s ease, opacity 0.3s ease;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: var(--surface-2);
}
.masonry-item img { width: 100%; height: auto; transition: transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1); }
.masonry-item:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.masonry-item:hover img { transform: scale(1.05); }
.masonry-item .cap {
  position: absolute; inset: auto 0 0 0;
  padding: var(--space-5) var(--space-4) var(--space-4);
  background: linear-gradient(180deg, transparent, hsl(330 44% 8% / 0.8));
  color: #fff;
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  text-align: left;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.masonry-item:hover .cap { opacity: 1; transform: translateY(0); }
.masonry-item.hide { display: none; }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 120;
  background: hsl(330 40% 4% / 0.94);
  display: none;
  align-items: center;
  justify-content: center;
  padding: var(--space-5);
}
.lightbox.open { display: flex; }
.lightbox img {
  max-width: min(1000px, 92vw);
  max-height: 82vh;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
  animation: popIn 0.32s cubic-bezier(0.2, 0.8, 0.2, 1);
}
@keyframes popIn { from { opacity: 0; transform: scale(0.94); } to { opacity: 1; transform: scale(1); } }
.lightbox-cap {
  position: absolute; bottom: var(--space-6); left: 0; right: 0;
  text-align: center; color: hsl(330 30% 92%); font-size: var(--text-sm);
}
.lightbox-btn {
  position: absolute;
  width: 52px; height: 52px;
  border-radius: var(--radius-pill);
  border: 1px solid hsl(0 0% 100% / 0.25);
  background: hsl(0 0% 100% / 0.1);
  color: #fff;
  display: grid; place-items: center;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.2s ease;
}
.lightbox-btn:hover { background: hsl(0 0% 100% / 0.22); transform: scale(1.06); }
.lightbox-btn svg { width: 22px; height: 22px; }
.lb-close { top: var(--space-5); right: var(--space-5); }
.lb-prev { left: var(--space-5); top: 50%; transform: translateY(-50%); }
.lb-next { right: var(--space-5); top: 50%; transform: translateY(-50%); }
.lb-prev:hover, .lb-next:hover { transform: translateY(-50%) scale(1.06); }

/* -------------------------------------------------------------
   11. FLOATING ACTIONS
   ------------------------------------------------------------- */
.floating {
  position: fixed;
  right: var(--space-4);
  bottom: var(--space-4);
  z-index: 70;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}
.fab {
  width: 54px; height: 54px;
  border-radius: var(--radius-pill);
  display: grid; place-items: center;
  color: #fff;
  box-shadow: var(--shadow-lg);
  border: 2px solid hsl(0 0% 100% / 0.85);
  transition: transform 0.22s ease, box-shadow 0.22s ease, filter 0.22s ease;
}
.fab svg { width: 26px; height: 26px; }
.fab:hover { transform: scale(1.08) translateY(-2px); filter: brightness(1.08); }
.fab:active { transform: scale(0.97); }
.fab-whatsapp { background: hsl(142, 70%, 40%); }
.fab-call { background: linear-gradient(135deg, var(--pink-500), var(--pink-600)); }
.fab-messenger { background: linear-gradient(135deg, hsl(214, 89%, 56%), hsl(266, 82%, 60%)); }

.to-top {
  position: fixed;
  left: var(--space-4);
  bottom: var(--space-4);
  z-index: 70;
  width: 46px; height: 46px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text-secondary);
  display: grid; place-items: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s, color 0.2s ease, border-color 0.2s ease;
  box-shadow: var(--shadow-md);
}
.to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { color: var(--pink-600); border-color: var(--pink-300); }
.to-top svg { width: 20px; height: 20px; }

/* -------------------------------------------------------------
   12. FOOTER
   ------------------------------------------------------------- */
.site-footer {
  background: var(--bg-deep);
  color: var(--text-on-dark-soft);
  padding-top: var(--space-9);
  margin-top: var(--space-9);
  position: relative;
}
.site-footer::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--pink-500), var(--gold-500), var(--lav-500), var(--pink-500));
}
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.1fr; gap: var(--space-7); }
.site-footer img.f-logo { height: 68px; width: auto; margin-bottom: var(--space-4); }
.site-footer h4 {
  color: var(--text-on-dark);
  font-size: var(--text-xs);
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
  margin-bottom: var(--space-4);
}
.site-footer p { color: var(--text-on-dark-soft); font-size: var(--text-sm); }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-3); }
.footer-links a { font-size: var(--text-sm); color: var(--text-on-dark-soft); transition: color 0.2s ease, padding-left 0.2s ease; }
.footer-links a:hover { color: var(--gold-400); padding-left: var(--space-1); }
.footer-contact { display: grid; gap: var(--space-3); font-size: var(--text-sm); }
.footer-contact a { display: flex; gap: var(--space-3); align-items: flex-start; color: var(--text-on-dark-soft); transition: color 0.2s ease; }
.footer-contact a:hover { color: var(--gold-400); }
.footer-contact svg { width: 17px; height: 17px; flex: none; margin-top: 3px; color: var(--pink-400); }

/* The footer sits on deep plum, so the hours table needs its own text colours */
.site-footer .hours-table th { color: var(--text-on-dark-soft); }
.site-footer .hours-table td { color: var(--text-on-dark); }
.site-footer .hours-table th,
.site-footer .hours-table td { border-bottom-color: hsl(330 30% 100% / 0.12); }

.social-row { display: flex; gap: var(--space-3); margin-top: var(--space-5); }
.social-row a {
  width: 42px; height: 42px;
  border-radius: var(--radius-pill);
  border: 1px solid hsl(330 30% 100% / 0.16);
  display: grid; place-items: center;
  color: var(--text-on-dark);
  transition: background-color 0.22s ease, transform 0.22s ease, border-color 0.22s ease;
}
.social-row a:hover { background: hsl(330 60% 100% / 0.12); border-color: var(--gold-400); transform: translateY(-3px); }
.social-row svg { width: 19px; height: 19px; }

.footer-bottom {
  margin-top: var(--space-8);
  border-top: 1px solid hsl(330 30% 100% / 0.12);
  padding-block: var(--space-5);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  justify-content: space-between;
  align-items: center;
  font-size: var(--text-xs);
  color: hsl(325 18% 68%);
}
.footer-bottom a { color: hsl(325 22% 80%); }
.footer-bottom a:hover { color: var(--gold-400); }

/* -------------------------------------------------------------
   13. MOTION UTILITIES
   ------------------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1); }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-left { opacity: 0; transform: translateX(-38px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1); }
.reveal-right { opacity: 0; transform: translateX(38px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1); }
.reveal-left.visible, .reveal-right.visible { opacity: 1; transform: translateX(0); }
.reveal-group > *:nth-child(1) { transition-delay: 0.02s; }
.reveal-group > *:nth-child(2) { transition-delay: 0.1s; }
.reveal-group > *:nth-child(3) { transition-delay: 0.18s; }
.reveal-group > *:nth-child(4) { transition-delay: 0.26s; }
.reveal-group > *:nth-child(5) { transition-delay: 0.1s; }
.reveal-group > *:nth-child(6) { transition-delay: 0.18s; }
.reveal-group > *:nth-child(7) { transition-delay: 0.26s; }
.reveal-group > *:nth-child(8) { transition-delay: 0.1s; }
.reveal-group > *:nth-child(9) { transition-delay: 0.18s; }

/* Page loader */
.loader {
  position: fixed; inset: 0; z-index: 200;
  background: var(--bg);
  display: grid; place-items: center;
  transition: opacity 0.5s ease, visibility 0.5s;
}
.loader.done { opacity: 0; visibility: hidden; }
.loader-mark { width: 74px; height: 74px; animation: bloom 1.5s ease-in-out infinite; }
.loader-mark .p { fill: var(--pink-500); transform-origin: 50% 50%; }
@keyframes bloom {
  0%, 100% { transform: scale(0.86) rotate(0deg); opacity: 0.75; }
  50% { transform: scale(1.06) rotate(24deg); opacity: 1; }
}

/* -------------------------------------------------------------
   14. RESPONSIVE
   ------------------------------------------------------------- */
@media (max-width: 1080px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: var(--space-6); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  :root { --nav-h: 68px; }
  .nav-links { display: none; }
  .nav-actions .btn { display: none; }
  .nav-toggle { display: inline-flex; }
  .hero-grid { grid-template-columns: 1fr; gap: var(--space-7); }
  .hero-art { min-height: 440px; order: -1; }
  .split { grid-template-columns: 1fr; gap: var(--space-6); }
  .split.reverse .split-media { order: -1; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .masonry { column-count: 2; }
  .stat-strip { grid-template-columns: repeat(2, 1fr); gap: var(--space-6); }
  .band { background-attachment: scroll; }
  .section { padding-block: var(--space-8); }
}

@media (max-width: 620px) {
  :root { --text-3xl: 1.75rem; --text-4xl: 2.15rem; }
  .container { padding-inline: var(--space-4); }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .masonry { column-count: 1; }
  .hero-art { min-height: 380px; }
  .hero-art .art-main { width: 82%; }
  .hero-art .art-sub { width: 50%; }
  .hero-badge { right: 0; bottom: 4%; padding: var(--space-3) var(--space-4); max-width: 190px; }
  .stat-strip { padding: var(--space-6) var(--space-4); }
  .btn { width: 100%; }
  .btn-row { flex-direction: column; }
  .band .btn-row .btn { width: 100%; }
  .footer-grid { grid-template-columns: 1fr; }
  .floating { right: var(--space-3); bottom: var(--space-3); }
  .to-top { left: var(--space-3); bottom: var(--space-3); }
  .fab { width: 50px; height: 50px; }
  .lb-prev { left: var(--space-2); }
  .lb-next { right: var(--space-2); }
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal, .reveal-left, .reveal-right { opacity: 1; transform: none; }
}

/* Print */
@media print {
  .site-header, .floating, .to-top, .loader, .band, .map-frame { display: none !important; }
  body { background: #fff; }
}
