/* ============================================================
   Petals By Emily — Master Stylesheet
   ------------------------------------------------------------
   TABLE OF CONTENTS
   1.  Design tokens (colors, type, spacing) — :root variables
   2.  Reset & base elements
   3.  Typography
   4.  Layout helpers (.wrap, .section, dividers)
   5.  Buttons
   6.  Cards
   7.  Header / navigation
   8.  Mobile nav overlay
   9.  Sticky mobile "Order Now" bar
   10. Hero
   11. Seasonal banner
   12. Occasions grid
   13. Featured / gallery
   14. Gallery page (tabs + lightbox)
   15. Pricing
   16. Order & policies
   17. Care / FAQ (accordion)
   18. Deals / countdown
   19. Blog
   20. About
   21. Reviews carousel
   22. Footer
   23. Back-to-top
   24. Animations & motion
   25. Utilities
   ============================================================ */

/* ============================================================
   1. DESIGN TOKENS
   All brand colors sampled from the logo. Change a value here
   and it updates everywhere on the site.
   ============================================================ */
:root {
  /* Brand palette */
  --page-base:    #F5D2DA;   /* soft pink — full page background */
  --surface:      #FDE9EB;   /* blush — cards & sections (lighter, lifts off page) */
  --surface-alt:  #FFF4F6;   /* near-white pink — inner cards, inputs */
  --petal:        #E49CA4;   /* petal rose — accents, hovers */
  --rose:         #C74E70;   /* deep rose — buttons, headings, links */
  --rose-dark:    #A83B59;   /* darker rose — button hover, active */
  --ink:          #5A4A42;   /* charcoal brown — body text */
  --ink-soft:     #8A7671;   /* muted brown — captions, meta */
  --leaf:         #3B7A57;   /* leaf green — tiny accents only */
  --white:        #FFFFFF;

  /* Typography */
  --font-display: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-script:  "Dancing Script", "Brush Script MT", cursive;
  --font-body:    "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* Spacing scale */
  --gap-xs: 8px;
  --gap-sm: 16px;
  --gap-md: 24px;
  --gap-lg: 40px;
  --gap-xl: 72px;

  /* Shape */
  --radius:    18px;   /* cards */
  --radius-sm: 12px;   /* buttons, inputs */
  --radius-pill: 999px;

  /* Layout */
  --wrap:        1120px;
  --wrap-narrow: 760px;
  --nav-h:       72px;
  --banner-h:    0px;    /* set by JS to the seasonal banner's height; 0 when no banner */

  /* Effects */
  --shadow:    0 8px 30px rgba(150, 60, 90, 0.10);
  --shadow-sm: 0 3px 12px rgba(150, 60, 90, 0.08);
  --ring:      0 0 0 3px rgba(199, 78, 112, 0.25);
}

/* ============================================================
   2. RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--page-base);
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: var(--rose); text-decoration: none; }
a:hover { color: var(--rose-dark); }
ul { list-style: none; }

/* ============================================================
   3. TYPOGRAPHY
   ============================================================ */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.2;
  color: var(--rose);
}
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }

.script {
  font-family: var(--font-script);
  font-weight: 600;
  color: var(--rose);
}

.section-label {
  display: inline-block;
  font-family: var(--font-script);
  font-size: 1.5rem;
  color: var(--petal);
  margin-bottom: var(--gap-xs);
}

.lead { font-size: 1.15rem; color: var(--ink); }
.muted { color: var(--ink-soft); }

/* ============================================================
   4. LAYOUT HELPERS
   ============================================================ */
.wrap { width: min(100% - 2 * var(--gap-md), var(--wrap)); margin-inline: auto; }
.wrap-narrow { width: min(100% - 2 * var(--gap-md), var(--wrap-narrow)); margin-inline: auto; }

.section { padding: var(--gap-xl) 0; }
.section-tight { padding: var(--gap-lg) 0; }
.center { text-align: center; }

/* Decorative heart-and-line divider (echoes her flyers) */
.divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--gap-sm);
  margin: var(--gap-lg) auto;
  color: var(--petal);
}
.divider::before, .divider::after {
  content: "";
  height: 1px;
  width: 60px;
  background: var(--petal);
}
.divider svg { width: 18px; height: 18px; }

/* ============================================================
   5. BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--gap-xs);
  min-height: 48px;
  padding: 12px 28px;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 500;
  border-radius: var(--radius-pill);
  border: 2px solid var(--rose);
  background: var(--rose);
  color: var(--white);
  cursor: pointer;
  transition: transform 0.15s ease, background 0.2s ease, box-shadow 0.2s ease;
}
.btn:hover { background: var(--rose-dark); border-color: var(--rose-dark); color: var(--white); box-shadow: var(--shadow-sm); }
.btn:active { transform: scale(0.97); }

.btn-outline { background: transparent; color: var(--rose); }
.btn-outline:hover { background: var(--rose); color: var(--white); }

/* Button "bloom" hover effect (TRIAL — flagged for review) */
.btn-bloom { position: relative; overflow: hidden; }
.btn-bloom::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(255,255,255,0.35), transparent 60%);
  opacity: 0;
  transform: scale(0.4);
  transition: opacity 0.4s ease, transform 0.4s ease;
}
.btn-bloom:hover::after { opacity: 1; transform: scale(1); }

/* ============================================================
   6. CARDS
   ============================================================ */
.card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: var(--gap-md);
  box-shadow: var(--shadow-sm);
}

/* ============================================================
   7. HEADER / NAVIGATION
   ============================================================ */
.site-header {
  position: fixed;
  top: var(--banner-h); left: 0; right: 0;
  height: var(--nav-h);
  background: rgba(253, 233, 235, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(199, 78, 112, 0.12);
  z-index: 100;
  transition: transform 0.35s ease;
}
.site-header.nav-hidden { transform: translateY(-100%); }

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  width: min(100% - 2 * var(--gap-md), var(--wrap));
  margin-inline: auto;
}
.nav-logo { display: flex; align-items: center; height: 100%; }
.nav-logo img { height: 46px; width: auto; }

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--gap-md);
}
.nav-links a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ink);
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.nav-links a:hover, .nav-links a.active { color: var(--rose); border-bottom-color: var(--rose); }
.nav-links .btn { color: var(--white); border-bottom: none; }
.nav-links .btn:hover { color: var(--white); }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  width: 44px; height: 44px;
}
.nav-toggle span {
  display: block;
  width: 26px; height: 2px;
  background: var(--rose);
  margin: 5px 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

/* ============================================================
   8. MOBILE NAV OVERLAY (fullscreen)
   ============================================================ */
.nav-overlay {
  position: fixed;
  inset: 0;
  background: var(--surface);
  z-index: 99;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--gap-md);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.nav-overlay.open { opacity: 1; visibility: visible; }
.nav-overlay img { height: 90px; margin-bottom: var(--gap-sm); }
.nav-overlay a {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--ink);
}
.nav-overlay a:hover { color: var(--rose); }
.nav-overlay .btn { font-family: var(--font-body); font-size: 1.1rem; margin-top: var(--gap-sm); color: var(--white); }

/* ============================================================
   9. STICKY MOBILE "ORDER NOW" BAR
   ============================================================ */
.mobile-cta {
  display: none;
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 90;
  padding: 10px var(--gap-sm);
  padding-bottom: calc(10px + env(safe-area-inset-bottom));
  background: rgba(253, 233, 235, 0.96);
  backdrop-filter: blur(10px);
  border-top: 1px solid rgba(199, 78, 112, 0.15);
}
.mobile-cta .btn { width: 100%; }

/* ============================================================
   10. HERO
   ============================================================ */
.hero {
  position: relative;
  height: 88vh;
  min-height: 520px;
  margin-top: calc(var(--nav-h) + var(--banner-h));
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-slides { position: absolute; inset: 0; }
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.4s ease;
  background-size: cover;
  background-position: center;
}
.hero-slide.active { opacity: 1; }
.hero-shade {
  position: absolute;
  inset: 0;
  /* darker, less-pink overlay + soft center vignette so the logo reads clearly */
  background:
    radial-gradient(ellipse 60% 55% at center 46%, rgba(40,26,32,0.55), transparent 72%),
    linear-gradient(180deg, rgba(40,28,34,0.42), rgba(40,28,34,0.58));
}
.hero-content {
  position: relative;
  text-align: center;
  color: var(--white);
  padding: var(--gap-lg) var(--gap-md);
}
/* soft dark glow directly behind the logo/text so it stays legible
   over any hero photo, including busy pink-on-pink shots */
.hero-content::before {
  content: "";
  position: absolute;
  inset: -6% -8%;
  background: radial-gradient(ellipse at center, rgba(30,20,25,0.5), transparent 70%);
  z-index: -1;
}
.hero-content img { width: min(76vw, 460px); margin: 0 auto var(--gap-md); filter: drop-shadow(0 3px 8px rgba(0,0,0,0.55)) drop-shadow(0 10px 26px rgba(0,0,0,0.4)); }
.hero-content .btn { margin-top: var(--gap-sm); }
.hero-tagline {
  font-family: var(--font-script);
  font-size: clamp(1.4rem, 4vw, 2.2rem);
  color: var(--white);
  margin-bottom: var(--gap-sm);
  text-shadow: 0 2px 12px rgba(0,0,0,0.3);
}
.hero-arrow {
  position: absolute;
  bottom: 24px; left: 50%;
  transform: translateX(-50%);
  color: var(--white);
  animation: bob 1.8s ease-in-out infinite;
}
.hero-arrow svg { width: 30px; height: 30px; }

/* ============================================================
   11. SEASONAL BANNER
   ============================================================ */
.season-banner {
  background: var(--rose);
  color: var(--white);
  text-align: center;
  font-size: 0.95rem;
  padding: 10px var(--gap-lg) 10px var(--gap-sm);
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
}
.season-banner a { color: var(--white); text-decoration: underline; font-weight: 500; }
.season-banner .banner-close {
  position: absolute;
  right: 10px; top: 50%;
  transform: translateY(-50%);
  background: none; border: none; color: var(--white);
  font-size: 1.3rem; cursor: pointer; line-height: 1;
  width: 32px; height: 32px;
}
.season-banner.hidden { display: none; }

/* ============================================================
   12. OCCASIONS GRID
   ============================================================ */
.occasions {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--gap-md);
}
.occasion-card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: var(--gap-lg) var(--gap-md);
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.occasion-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.occasion-card .icon { color: var(--petal); margin-bottom: var(--gap-sm); }
.occasion-card .icon svg { width: 40px; height: 40px; }
.occasion-card h3 { color: var(--rose); margin-bottom: 4px; }
.occasion-card p { font-size: 0.95rem; color: var(--ink-soft); }

/* ============================================================
   13. FEATURED (home) — mini gallery strip
   ============================================================ */
.featured-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap-sm);
}
.featured-grid a { border-radius: var(--radius-sm); overflow: hidden; aspect-ratio: 3/4; }
.featured-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.featured-grid a:hover img { transform: scale(1.05); }
.featured-extra { display: none; } /* 4th photo shows only on phone for a tidy 2x2 */

/* ============================================================
   14. GALLERY PAGE (tabs + masonry + lightbox)
   ============================================================ */
.gallery-tabs {
  display: flex;
  justify-content: center;
  gap: var(--gap-sm);
  margin-bottom: var(--gap-lg);
}
.gallery-tab {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 500;
  padding: 10px 26px;
  border-radius: var(--radius-pill);
  border: 2px solid var(--petal);
  background: transparent;
  color: var(--rose);
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}
.gallery-tab.active { background: var(--rose); border-color: var(--rose); color: var(--white); }

.masonry {
  column-count: 3;
  column-gap: var(--gap-sm);
}
.masonry.hidden { display: none; }
.masonry .tile {
  break-inside: avoid;
  margin-bottom: var(--gap-sm);
  border-radius: var(--radius-sm);
  overflow: hidden;
  cursor: pointer;
  background-size: cover;
  background-position: center;
}
.masonry .tile img { width: 100%; transition: transform 0.4s ease, filter 0.4s ease; }
.masonry .tile img.loading { filter: blur(12px); }
.masonry .tile:hover img { transform: scale(1.04); }

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(90, 74, 66, 0.92);
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  touch-action: none;
}
.lightbox.open { display: flex; }
.lightbox img { max-width: 92vw; max-height: 88vh; border-radius: var(--radius-sm); }
.lightbox-btn {
  position: absolute;
  background: rgba(255,255,255,0.15);
  border: none;
  color: var(--white);
  width: 52px; height: 52px;
  border-radius: 50%;
  font-size: 1.6rem;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}
.lightbox-close { top: 20px; right: 20px; }
.lightbox-prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 16px; top: 50%; transform: translateY(-50%); }

/* ============================================================
   15. PRICING
   ============================================================ */
.price-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: var(--gap-sm);
}
.price-card {
  position: relative;
  background: var(--surface);
  border-radius: var(--radius);
  padding: var(--gap-md) var(--gap-sm);
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease;
}
.price-card:hover { transform: translateY(-4px); }
.price-card .size { font-family: var(--font-display); font-size: 1.9rem; color: var(--rose); }
.price-card .unit { font-size: 0.85rem; color: var(--ink-soft); display: block; margin-bottom: 4px; }
.price-card .price { font-size: 1rem; color: var(--ink); font-weight: 500; }
.price-card .badge {
  position: absolute;
  top: -10px; left: 50%;
  transform: translateX(-50%);
  background: var(--petal);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 500;
  padding: 3px 12px;
  border-radius: var(--radius-pill);
  white-space: nowrap;
}

.callout {
  background: var(--surface);
  border: 2px dashed var(--petal);
  border-radius: var(--radius);
  padding: var(--gap-md);
  margin-top: var(--gap-lg);
}
.callout h3 { color: var(--rose); margin-bottom: var(--gap-xs); }
.callout ul { display: grid; gap: 6px; }
.callout li { padding-left: 24px; position: relative; }
.callout li::before { content: "🌸"; position: absolute; left: 0; font-size: 0.9rem; }

/* ============================================================
   16. ORDER & POLICIES
   ============================================================ */
.steps { display: grid; gap: var(--gap-md); max-width: 620px; margin-inline: auto; }
.step {
  display: flex;
  gap: var(--gap-md);
  align-items: flex-start;
}
.step-num {
  flex: none;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--rose);
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-size: 1.3rem;
}
.step-body h3 { color: var(--rose); font-size: 1.2rem; margin-bottom: 2px; }
.step-body p { color: var(--ink); font-size: 0.98rem; }

.dm-template {
  background: var(--surface-alt);
  border-radius: var(--radius-sm);
  padding: var(--gap-md);
  margin-top: var(--gap-md);
}
.dm-template pre {
  font-family: var(--font-body);
  white-space: pre-wrap;
  color: var(--ink);
  font-size: 0.95rem;
  margin-bottom: var(--gap-sm);
}
.copy-btn { font-size: 0.9rem; }
.copy-btn.copied { background: var(--leaf); border-color: var(--leaf); }

.policy-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--gap-md);
}
.policy-card { background: var(--surface); border-radius: var(--radius); padding: var(--gap-md); box-shadow: var(--shadow-sm); }
.policy-card h3 { color: var(--rose); font-size: 1.15rem; margin-bottom: var(--gap-xs); }
.policy-card p { font-size: 0.95rem; color: var(--ink); }

/* ============================================================
   17. CARE / FAQ (accordion)
   ============================================================ */
.care-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--gap-md);
}
.care-card { background: var(--surface); border-radius: var(--radius); padding: var(--gap-md); text-align: center; box-shadow: var(--shadow-sm); }
.care-card .icon { color: var(--petal); margin-bottom: var(--gap-sm); }
.care-card .icon svg { width: 36px; height: 36px; }
.care-card h3 { font-size: 1.1rem; color: var(--rose); margin-bottom: 4px; }
.care-card p { font-size: 0.92rem; color: var(--ink-soft); }

.faq { max-width: 760px; margin-inline: auto; }
.faq-item { border-bottom: 1px solid rgba(199,78,112,0.18); }
.faq-q {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--gap-md) 40px var(--gap-md) 0;
  position: relative;
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--rose);
}
.faq-q::after {
  content: "+";
  position: absolute;
  right: 6px; top: 50%;
  transform: translateY(-50%);
  font-size: 1.6rem;
  color: var(--petal);
  transition: transform 0.25s ease;
}
.faq-item.open .faq-q::after { transform: translateY(-50%) rotate(45deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.faq-a p { padding: 0 0 var(--gap-md); color: var(--ink); }

/* ============================================================
   18. DEALS / COUNTDOWN
   ============================================================ */
.event-feature {
  background: var(--surface);
  border-radius: var(--radius);
  padding: var(--gap-lg);
  text-align: center;
  box-shadow: var(--shadow);
  max-width: 620px;
  margin: 0 auto var(--gap-lg);
}
.event-feature .event-name { font-family: var(--font-display); font-size: 2rem; color: var(--rose); }
.event-feature .event-date { font-family: var(--font-script); font-size: 1.5rem; color: var(--petal); margin: var(--gap-xs) 0; }
.countdown-caption { font-size: 0.9rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--petal); margin-top: var(--gap-sm); }
.countdown {
  display: flex;
  justify-content: center;
  gap: var(--gap-sm);
  margin-top: var(--gap-xs);
}
.cd-unit {
  background: var(--surface-alt);
  border-radius: var(--radius-sm, 12px);
  box-shadow: var(--shadow-sm);
  padding: 10px 6px;
  min-width: 62px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.cd-num {
  font-family: var(--font-display);
  font-size: 1.8rem;
  line-height: 1;
  color: var(--rose);
  font-variant-numeric: tabular-nums;
}
.cd-label { font-size: 0.68rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-soft); margin-top: 4px; }
@media (max-width: 400px) { .cd-unit { min-width: 52px; padding: 8px 4px; } .cd-num { font-size: 1.5rem; } }

.calendar { display: grid; gap: var(--gap-sm); max-width: 620px; margin-inline: auto; }
.cal-row {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: var(--gap-sm);
  align-items: center;
  background: var(--surface);
  border-radius: var(--radius-sm);
  padding: var(--gap-sm) var(--gap-md);
}
.cal-row .month { font-family: var(--font-script); font-size: 1.4rem; color: var(--rose); }
.cal-row .events { font-size: 0.95rem; color: var(--ink); }

/* ============================================================
   19. BLOG
   ============================================================ */
.blog-list { display: grid; gap: var(--gap-md); max-width: 760px; margin-inline: auto; }
.blog-card { background: var(--surface); border-radius: var(--radius); padding: var(--gap-lg); box-shadow: var(--shadow-sm); }
.blog-card .date { font-size: 0.85rem; color: var(--ink-soft); }
.blog-card h2 { font-size: 1.6rem; margin: var(--gap-xs) 0; }
.blog-card p { color: var(--ink); margin-bottom: var(--gap-sm); }

.post { max-width: 720px; margin-inline: auto; }
.post h1 { margin-bottom: var(--gap-xs); }
.post .date { color: var(--ink-soft); margin-bottom: var(--gap-lg); }
.post p { margin-bottom: var(--gap-md); }
.post h2 { font-size: 1.5rem; margin: var(--gap-lg) 0 var(--gap-sm); }

/* ============================================================
   20. ABOUT
   ============================================================ */
.about-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--gap-lg);
  align-items: center;
}
.about-split img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; }
.about-placeholder {
  aspect-ratio: 4/5;
  background: var(--surface);
  border: 2px dashed var(--petal);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  color: var(--ink-soft);
  text-align: center;
  padding: var(--gap-md);
}

/* ============================================================
   21. REVIEWS CAROUSEL
   ============================================================ */
.reviews { background: transparent; }
.review-track {
  position: relative;
  max-width: 720px;
  margin-inline: auto;
  min-height: 180px;
}
.review-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.6s ease;
  text-align: center;
  padding: 0 var(--gap-md);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.review-slide.active { opacity: 1; visibility: visible; position: relative; }
.review-slide .quote {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
  font-style: italic;
  color: var(--ink);
  margin-bottom: var(--gap-sm);
}
.review-slide .stars { color: var(--petal); font-size: 1.1rem; letter-spacing: 3px; margin-bottom: var(--gap-xs); }
.review-slide .who { font-size: 0.9rem; color: var(--ink-soft); }
.review-dots { display: flex; justify-content: center; gap: var(--gap-xs); margin-top: var(--gap-md); }
.review-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--petal);
  opacity: 0.4;
  border: none;
  cursor: pointer;
  transition: opacity 0.2s ease;
}
.review-dot.active { opacity: 1; }

/* ============================================================
   22. FOOTER
   ============================================================ */
.site-footer {
  background: var(--surface);
  padding: var(--gap-xl) 0 calc(var(--gap-lg) + env(safe-area-inset-bottom));
  border-top: 1px solid rgba(199,78,112,0.12);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: var(--gap-lg);
}
.footer-brand img { height: 80px; margin-bottom: var(--gap-sm); }
.footer-brand p { font-size: 0.92rem; color: var(--ink-soft); }
.footer-col h4 { font-family: var(--font-display); color: var(--rose); font-size: 1.1rem; margin-bottom: var(--gap-sm); }
.footer-col a { display: block; font-size: 0.95rem; color: var(--ink); padding: 3px 0; }
.footer-col a:hover { color: var(--rose); }
.footer-socials { display: flex; gap: var(--gap-sm); margin-top: var(--gap-sm); }
.footer-socials a {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--rose);
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
}
.footer-socials a:hover { background: var(--rose-dark); color: var(--white); }
.footer-socials svg { width: 22px; height: 22px; }
.footer-bottom {
  text-align: center;
  margin-top: var(--gap-lg);
  padding-top: var(--gap-md);
  border-top: 1px solid rgba(199,78,112,0.12);
  font-size: 0.85rem;
  color: var(--ink-soft);
}
.footer-season { color: var(--rose); font-weight: 500; }

/* ============================================================
   23. BACK-TO-TOP
   ============================================================ */
.to-top {
  position: fixed;
  right: 18px; bottom: 18px;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--rose);
  color: var(--white);
  border: none;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
  z-index: 80;
  box-shadow: var(--shadow-sm);
}
.to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top svg { width: 22px; height: 22px; }

/* ============================================================
   24. ANIMATIONS & MOTION
   ============================================================ */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }

@keyframes bob { 0%,100% { transform: translateX(-50%) translateY(0); } 50% { transform: translateX(-50%) translateY(8px); } }

/* Falling petals (desktop hero only, TRIAL — flagged for review) */
.petal-fall {
  position: absolute;
  top: -40px;
  width: 14px; height: 14px;
  background: var(--petal);
  border-radius: 0 100% 0 100%;
  opacity: 0.7;
  pointer-events: none;
  animation: fall linear infinite;
}
@keyframes fall {
  0%   { transform: translateY(0) rotate(0deg); opacity: 0.8; }
  100% { transform: translateY(110vh) rotate(360deg); opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .petal-fall { display: none; }
}

/* ============================================================
   25. UTILITIES
   ============================================================ */
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.mt-sm { margin-top: var(--gap-sm); }
.mt-md { margin-top: var(--gap-md); }
.mt-lg { margin-top: var(--gap-lg); }

/* ============================================================
   RESPONSIVE — tablet & phone
   ============================================================ */
@media (max-width: 900px) {
  .about-split { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .masonry { column-count: 2; }
}

@media (max-width: 680px) {
  .occasion-extra { display: none; }
  .care-extra { display: none; }
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .mobile-cta { display: block; }
  body { padding-bottom: 76px; } /* room for sticky CTA */
  .section { padding: var(--gap-lg) 0; }
  .featured-grid { grid-template-columns: 1fr 1fr; }
  .featured-extra { display: block; }
  .price-grid { grid-template-columns: 1fr 1fr; }
  .cal-row { grid-template-columns: 90px 1fr; }
  .to-top { bottom: 84px; } /* above sticky CTA */
  .hero { height: 82vh; }
}
