/* ==========================================================================
   SCENTIVA - Clean Premium White Theme
   Design Rules:
   - White backgrounds (#FFFFFF, #FAFAFA, #F7F5F2)
   - Charcoal accent (#1C1C1A) for buttons, badges, CTAs
   - Dusty rose secondary (#A85858) for eyebrows, focus, icons
   - 6px sharp corners EVERYWHERE (no capsules, no pill shapes)
   - Full-width sticky navigation header (not floating)
   - Premium European-inspired spacing and typography
   ========================================================================== */

/* ── Design Tokens ─────────────────────────────────────────────────────── */
:root {
  /* Backgrounds */
  --bg:              #FFFFFF;
  --bg-2:            #FAFAFA;
  --bg-3:            #FAF3F2;
  --bg-green-soft:   #FAF3F2;
  --bg-surface:      #FFFFFF;

  /* Primary Green Palette */
  --green-primary:    #1C1C1A;
  --green-hover:      #0F0F0E;
  --green-accent:     #3A3836;
  --green-soft:       #FBF1F0;
  --green-border:     #F2DFDD;
  --bg-dark:          #1C1C1A;
  --bg-dark-hover:    #0F0F0E;
  --bg-footer:        #141413;

  /* Electric Royal Blue Accent Palette */
  --blue-accent:      #D38684;
  --blue-hover:       #B96C6B;
  --blue-light:       #FDF1F0;
  --blue-border:      #F4DAD8;

  /* Alias Legacy Overrides (Replaces all purple/violet occurrences) */
  --purple-light:     #D38684;
  --purple-accent:    #1C1C1A;
  --purple-vivid:     #D38684;
  --purple-mid:       #3A3836;
  --purple-dark:      #1C1C1A;
  --purple-xdark:     #0F0F0E;
  --purple-soft:      #FBF1F0;
  --grad-purple:     linear-gradient(135deg, #1C1C1A 0%, #D38684 100%);
  --grad-text:       linear-gradient(135deg, #1C1C1A 0%, #D38684 100%);
  --grad-bg:         radial-gradient(ellipse at 50% 0%, rgba(28, 28, 26,0.06) 0%, transparent 68%);

  /* Neutral Accents */
  --fg:              #1C1C1A;
  --muted:           #6B6462;
  --tan:             #A85858;
  --gold:            #E39D98;
  --tan-light:       #FBEFEE;

  /* Borders & Shadows */
  --border:          #ECE6E5;
  --border-2:        #E5D6D4;
  --shadow-sm:       0 1px 4px rgba(28, 28, 26, 0.05);
  --shadow-card:     0 4px 20px rgba(28, 28, 26, 0.05);
  --shadow-hover:    0 12px 36px rgba(28, 28, 26, 0.10);
  --shadow-deep:     0 20px 60px rgba(28, 28, 26, 0.14);

  /* Typography */
  --font-sans:    "Plus Jakarta Sans", "Inter", system-ui, sans-serif;
  --font-display: "Cormorant Garamond", Georgia, serif;

  /* Radius - strict 6px sharp */
  --radius: 6px;
}

/* ── Reset ─────────────────────────────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { display: block; max-width: 100%; height: auto; }
button { font: inherit; cursor: pointer; background: none; border: 0; color: inherit; }
[hidden] { display: none !important; }
input, textarea, select { font: inherit; color: inherit; }

::selection { background: rgba(211, 134, 132, 0.15); color: var(--fg); }
:focus-visible { outline: 2px solid var(--blue-accent); outline-offset: 2px; }

/* ── Layout & Section Breaks ───────────────────────────────────────────── */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
}

.container.narrow { max-width: 720px; }

.section {
  padding: 5.5rem 0;
}

.section-alt {
  background: var(--bg-green-soft);
  border-top: 1px solid var(--green-border);
  border-bottom: 1px solid var(--green-border);
}

.section-divider {
  position: relative;
  width: 100%;
  height: 1px;
  margin: 0;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(242, 223, 221, 0.4) 15%,
    rgba(28, 28, 26, 0.25) 35%,
    var(--green-primary) 50%,
    rgba(28, 28, 26, 0.25) 65%,
    rgba(242, 223, 221, 0.4) 85%,
    transparent 100%
  );
  overflow: visible;
  border: none;
}

.section-divider::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 120px;
  height: 1px;
  background: var(--green-primary);
  box-shadow:
    0 0 12px 2px rgba(28, 28, 26, 0.35),
    0 0 24px 6px rgba(58, 56, 54, 0.15);
  border-radius: 999px;
}

.section-divider::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green-primary);
  box-shadow:
    0 0 8px 3px rgba(28, 28, 26, 0.4),
    0 0 16px 6px rgba(58, 56, 54, 0.2);
}

.center { text-align: center; }
.narrow { max-width: 720px; margin-left: auto; margin-right: auto; }

/* ── Typography ─────────────────────────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--fg);
}

h2 {
  font-size: clamp(2rem, 3.8vw, 2.9rem);
  margin-top: 0.6rem;
  margin-bottom: 0.6rem;
}

h3 {
  font-size: 1.2rem;
  margin-top: 0.8rem;
  font-family: var(--font-sans);
  font-weight: 700;
}

h4 {
  font-size: 0.95rem;
  font-family: var(--font-sans);
  font-weight: 700;
}

.font-display {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
}

.grad {
  /* In white theme grad = plain dark text, no gradient fill */
  color: var(--fg);
  background: none;
  -webkit-text-fill-color: currentColor;
}

.eyebrow {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--tan);
  margin-bottom: 0.7rem;
}

.eyebrow-muted {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--muted);
  text-align: center;
}

.lead { font-size: 1.05rem; line-height: 1.7; color: var(--muted); }
.muted { color: var(--muted); }
.small { font-size: 0.83rem; }
.strong { font-weight: 700; }

/* ── Glass Card (white version) ─────────────────────────────────────────── */
.glass {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
}

/* ── Generic Card ───────────────────────────────────────────────────────── */
.card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius) !important;
  padding: 1.6rem;
  box-shadow: var(--shadow-card);
  transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s;
}

.card:hover {
  border-color: var(--tan);
  box-shadow: var(--shadow-hover);
}

.card.sm { padding: 1.25rem; }

.card.sm h3 {
  font-size: 1rem;
  margin-top: 0.6rem;
}

/* ── Buttons - strict 6px, no capsules ──────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.85rem 1.8rem;
  border-radius: var(--radius) !important;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.25s, color 0.25s, border-color 0.25s, transform 0.25s, box-shadow 0.25s;
  will-change: transform;
  border: 1px solid transparent;
}

.btn-lg { padding: 1rem 2.2rem; font-size: 0.84rem; }
.btn-block { width: 100%; justify-content: center; }

/* Primary - dark forest green */
.btn-purple, .btn-forest {
  background: var(--bg-dark);
  color: #FFFFFF;
  border-color: var(--bg-dark);
}

.btn-purple:hover, .btn-forest:hover {
  background: var(--bg-dark-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(28, 28, 26, 0.22);
}

/* Outline */
.btn-outline {
  background: transparent;
  border-color: var(--fg);
  color: var(--fg);
}

.btn-outline:hover {
  background: var(--fg);
  color: #FFFFFF;
  transform: translateY(-2px);
}

/* Tan */
.btn-tan {
  background: var(--tan);
  color: #FFFFFF;
  border-color: var(--tan);
}

.btn-tan:hover { background: var(--tan-hover); }

/* Ghost / link */
.ghost-link { font-size: 0.88rem; color: var(--muted); }
.ghost-link:hover { color: var(--fg); }

.link-purple {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  color: var(--tan);
  font-weight: 600;
}

.link-purple:hover { text-decoration: underline; }

/* ── Dot / Pulse indicators ─────────────────────────────────────────────── */
.dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--bg-dark);
  flex-shrink: 0;
}

.pulse { animation: pulse-anim 2.5s ease-in-out infinite; }

@keyframes pulse-anim {
  0%, 100% { opacity: 0.6; transform: scale(1); }
  50%       { opacity: 1;   transform: scale(1.3); }
}

.pulse-glow { animation: pulse-anim 2.5s ease-in-out infinite; }

/* ── Icon Tile ──────────────────────────────────────────────────────────── */
.icon-tile {
  display: grid;
  place-items: center;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: var(--radius) !important;
  background: var(--tan-light);
  color: var(--bg-dark);
  flex-shrink: 0;
}

.icon-tile.lg {
  width: 3rem;
  height: 3rem;
}

.icon-tile i, .icon-tile svg {
  width: 1.15rem;
  height: 1.15rem;
}

/* ── Icon Btn (mini) ────────────────────────────────────────────────────── */
.icon-btn {
  display: grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: var(--radius) !important;
  border: 1px solid var(--border);
  color: var(--muted);
  background: var(--bg-surface);
  transition: border-color 0.2s, color 0.2s;
  cursor: pointer;
}

.icon-btn:hover { border-color: var(--tan); color: var(--tan); }

/* ── Chip (hero pill) ───────────────────────────────────────────────────── */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius) !important;
  background: var(--tan-light);
  border: 1px solid var(--border);
  font-size: 0.78rem;
  color: var(--fg);
}

.chip-arrow { width: 0.8rem; height: 0.8rem; color: var(--muted); }

/* ── Chip Tile (hero cards connector) ───────────────────────────────────── */
.chip-tile {
  display: grid;
  place-items: center;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: var(--radius) !important;
  background: var(--bg-2);
  border: 1px solid var(--border);
  color: var(--muted);
}

/* ── 1. Announcement Bar ─────────────────────────────────────────────────── */
.announce {
  background: var(--bg-dark);
  color: #FFFFFF;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0.6rem 0;
  font-size: 0.8rem;
}

@media (max-width: 1023px) {
  .announce {
    padding: 0.2rem 0;
    font-size: 0.62rem;
  }
}

.announce-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.announce .muted { color: rgba(255, 255, 255, 0.65); }
.announce .dot { background: var(--gold); }

.announce a.link-purple {
  color: var(--gold);
  font-weight: 700;
  font-size: 0.76rem;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

/* Desktop default: duplicated track content behaves as normal inline items,
   the duplicate copy stays hidden so nothing changes on desktop. */
.announce-track { display: contents; }
.announce-track-dup { display: none; }

/* ── Announcement bar - scrolling marquee on mobile/tablet only ─────────── */
@media (max-width: 1023px) {
  .announce {
    overflow: hidden;
  }

  .announce-inner {
    max-width: none;
    margin: 0;
    padding: 0;
    flex-wrap: nowrap;
    justify-content: flex-start;
    width: max-content;
    animation: announce-marquee 16s linear infinite;
    will-change: transform;
  }

  .announce:hover .announce-inner {
    animation-play-state: paused;
  }

  .announce-inner .announce-track {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-shrink: 0;
    padding: 0;
    white-space: nowrap;
  }

  .announce-inner .announce-track-dup {
    display: flex;
  }
}

@keyframes announce-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@media (max-width: 1023px) and (prefers-reduced-motion: reduce) {
  .announce-inner {
    animation: none;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
}

/* ── 2. Header - Full-Width Sticky (not floating) ────────────────────────── */
.header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 12px rgba(28, 28, 26, 0.04);
  /* Override any glass styles */
  margin: 0 !important;
  padding: 0 !important;
  border-radius: 0 !important;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1280px;
  margin: 0 auto;
  padding: 1rem 2rem;
  gap: 1rem;
  /* No glass, no rounded - full width */
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  flex-shrink: 0;
}

.logo-img {
  width: auto;
  height: 2.75rem;
  object-fit: contain;
  border-radius: var(--radius) !important;
}

.logo-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: var(--bg-dark);
  color: #FFFFFF;
  font-weight: 800;
  font-size: 0.9rem;
  border-radius: var(--radius) !important;
}

.logo-word {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  color: var(--bg-dark);
  /* Override any gradient */
  background: none !important;
  -webkit-text-fill-color: var(--bg-dark) !important;
  background-clip: initial !important;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-links a {
  padding: 0.45rem 0.9rem;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--muted);
  position: relative;
  transition: color 0.2s;
  border-radius: 0 !important;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0.9rem;
  right: 0.9rem;
  height: 2px;
  background: var(--tan);
  transform: scaleX(0);
  transition: transform 0.25s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--bg-dark);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  transform: scaleX(1);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

/* Cart Button */
.cart-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius) !important;
  background: var(--bg-dark);
  border: 1px solid var(--bg-dark);
  color: #FFFFFF;
  cursor: pointer;
  transition: background 0.2s;
}

.cart-btn:hover { background: var(--bg-dark-hover); }

.cart-badge {
  position: absolute;
  top: -5px;
  right: -5px;
  background: var(--tan);
  color: #FFFFFF;
  font-size: 0.68rem;
  font-weight: 800;
  min-width: 20px;
  height: 20px;
  padding: 0 4px;
  border-radius: 4px !important;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #FFFFFF;
}

/* Menu button (mobile) */
.menu-btn {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: var(--radius) !important;
  border: 1px solid var(--border);
  background: var(--bg-surface);
  color: var(--fg);
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
}

.menu-btn:hover { border-color: var(--tan); color: var(--tan); }
.menu-btn.is-open { border-color: var(--tan); color: var(--tan); }

/* Mobile nav panel */
.nav-mobile {
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border);
  padding: 1rem 2rem 1.5rem;
  border-radius: 0 !important;
}

.nav-mobile a {
  display: block;
  padding: 0.75rem 0;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--fg);
  border-bottom: 1px solid var(--border);
  border-radius: 0 !important;
  transition: color 0.2s;
}

.nav-mobile a:hover, .nav-mobile a.active { color: var(--bg-dark); }

.nav-mobile a.active {
  color: var(--tan);
  font-weight: 700;
  background: var(--bg-2);
  padding-left: 0.85rem;
  margin-left: -0.85rem;
  padding-right: 0.85rem;
  margin-right: -0.85rem;
  border-left: 3px solid var(--tan);
}

.nav-mobile .btn-mobile-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1rem;
  padding: 0.85rem 1rem;
  background: var(--bg-dark);
  color: #FFFFFF;
  font-weight: 700;
  font-size: 0.88rem;
  text-transform: uppercase;
  border-radius: var(--radius) !important;
  border-bottom: none !important;
}

.nav-mobile .btn-mobile-cta:hover { background: var(--bg-dark-hover); color: #FFFFFF; }

/* Desktop: show links, hide hamburger */
@media (min-width: 1024px) {
  .nav-links { display: flex; }
  .menu-btn  { display: none !important; }
  .nav-mobile { display: none !important; }
  .nav-actions .btn { display: inline-flex; }
}

@media (max-width: 1023px) {
  .nav-links { display: none; }
  .nav-actions .btn:not(.cart-btn) { display: none; }

  /* Reflow header to: hamburger (left) - logo (centered) - cart (right).
     .nav-actions groups cart-btn + menu-btn in the DOM, but they need to sit
     on opposite sides of the centered logo, so unwrap it with display:contents
     so its children become direct flex items of .nav and can be reordered
     independently. */
  .nav-actions { display: contents; }

  .menu-btn { order: -1; }
  .cart-btn { order: 1; }

  /* Hamburger menu as an overlay: take the panel out of normal flow so opening
     it never pushes the hero/page content down. .header is sticky (a positioned
     ancestor), so top:100% pins the panel right under the header bar. */
  .nav-mobile {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 999;
    max-height: calc(100vh - 5rem);
    max-height: calc(100dvh - 5rem);
    overflow-y: auto;
    overscroll-behavior: contain;
    box-shadow: 0 12px 24px rgba(28, 28, 26, 0.12);
  }

  .nav .logo {
    order: 0;
    flex: 1;
    justify-content: center;
  }
}


/* ── 3. Hero ─────────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  padding: 5rem 0 5.5rem;
  background: var(--bg);
  overflow: hidden;
  isolation: isolate;
  text-align: center;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero-bg-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.8;
}

.hero-bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.8; }

.hero-bg-media,
.hero-bg img {
  object-position: center center;
}

.hero-veil {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(255, 255, 255, 0.25) 0%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.04) 100%),
              linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.12) 60%, rgba(255, 255, 255, 0.7) 100%);
  pointer-events: none;
}

.hero-inner {
  max-width: 860px;
  position: relative;
  z-index: 1;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 6.5vw, 4.6rem);
  font-weight: 600;
  line-height: 1.07;
  letter-spacing: -0.01em;
  color: var(--fg);
  margin-top: 2rem;
  margin-bottom: 0;
}

.hero-sub {
  max-width: 580px;
  margin: 1.5rem auto 0;
  font-size: 1.08rem;
  font-weight: 500;
  line-height: 1.7;
  color: var(--muted);
}

.hero-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  margin-top: 2.5rem;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.8rem 1.5rem;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--muted);
}

.hero-meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.hero-meta i { width: 0.9rem; height: 0.9rem; color: var(--tan); }

/* Mobile/tablet: stack the checklist and left-align icons + text in one column */
@media (max-width: 767px) {
  .hero-meta {
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: flex-start;
    justify-content: flex-start;
    width: fit-content;
    max-width: 100%;
    margin-inline: auto;
    gap: 0.75rem;
    text-align: left;
  }

  .hero-meta span { align-items: center; }

  .hero-meta i {
    flex: 0 0 0.9rem;
    width: 0.9rem;
    height: 0.9rem;
  }
}

/* Hero cards (3-up grid below CTA) */
.hero-cards {
  margin-top: 4rem;
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(3, 1fr);
  text-align: left;
}

.hero-cards .card h3 {
  font-size: 1.05rem;
  line-height: 1.25;
}

.hero-cards .card p {
  font-size: 0.9rem;
  line-height: 1.55;
}

/* Phone: 1 column */
@media (max-width: 639px) { .hero-cards { grid-template-columns: 1fr; } }

/* Tablet (640-1023px): 2 columns, lone third card centred on its own row */
@media (min-width: 640px) and (max-width: 1023px) {
  .hero-cards { grid-template-columns: repeat(2, 1fr); }
  .hero-cards > .card:nth-child(3):last-child {
    grid-column: 1 / -1;
    justify-self: center;
    width: calc((100% - 1.25rem) / 2);
  }
}

/* hero card visuals */
.visual {
  position: relative;
  height: 150px;
  margin-top: 1.25rem;
  overflow: hidden;
  border-radius: var(--radius) !important;
}

.visual-unify .unify-stack {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.unify-svg { position: absolute; inset: 0; width: 100%; height: 100%; }

.unify-hub {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  display: grid;
  place-items: center;
  width: 3.2rem;
  height: 3.2rem;
  border-radius: var(--radius) !important;
  background: var(--bg-dark);
  color: #FFFFFF;
}

.unify-hub i { width: 1.3rem; height: 1.3rem; }

.chart-svg { width: 100%; height: 100%; }

.chart-badge {
  position: absolute;
  right: 10px;
  top: 6px;
  background: var(--tan-light);
  color: var(--tan);
  border: 1px solid var(--border);
  padding: 0.15rem 0.5rem;
  border-radius: var(--radius) !important;
  font-size: 0.72rem;
  font-weight: 700;
}

.visual-radar {
  display: grid;
  place-items: center;
}

.visual-radar .ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid var(--border-2);
}

.visual-radar .r1 { width: 44px; height: 44px; }
.visual-radar .r2 { width: 88px; height: 88px; opacity: 0.7; }
.visual-radar .r3 { width: 132px; height: 132px; opacity: 0.45; }

.radar-hub {
  position: absolute;
  display: grid;
  place-items: center;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: var(--radius) !important;
  background: var(--bg-dark);
  color: #FFFFFF;
}

.radar-hub i { width: 1.1rem; height: 1.1rem; }

.radar-dot {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--tan);
}

/* ── 4. Trusted By ───────────────────────────────────────────────────────── */
.trusted {
  padding: 3.5rem 0;
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.brands-marquee {
  margin-top: 1.75rem;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 10%, #000 90%, transparent 100%);
          mask-image: linear-gradient(to right, transparent 0%, #000 10%, #000 90%, transparent 100%);
}

.brands-track {
  display: flex;
  align-items: center;
  width: max-content;
  gap: 1.75rem;
}

/* Animation starts once JS has cloned enough copies of the set to fill the screen */
.brands-track.is-ready {
  animation: brands-scroll var(--brands-duration, 22s) linear infinite;
}

.brands-group {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  gap: inherit;
}

.brands-track div {
  flex: 0 0 auto;
  text-align: center;
  font-family: var(--font-sans);
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
  transition: color 0.2s;
}

.brands-track div:hover { color: var(--fg); }

.brand-dot {
  flex: 0 0 auto;
  color: rgba(28, 28, 26, 0.4);
  font-weight: 700;
  font-size: 1.1rem;
}

@keyframes brands-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(var(--brands-shift, -50%)); }
}

@media (max-width: 900px) {
  .brands-track { gap: 1.25rem; }
}

@media (max-width: 500px) {
  .brands-track { gap: 1rem; }
  .brands-track div { font-size: 0.95rem; }
}

@media (prefers-reduced-motion: reduce) {
  .brands-track, .brands-track.is-ready { animation: none; }
}

/* ── 5. About Section ────────────────────────────────────────────────────── */
.about .lead {
  margin: 1.4rem auto 0;
  max-width: 720px;
}

.about-grid {
  margin-top: 3.5rem;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 4rem;
  align-items: center;
}

@media (max-width: 900px) { .about-grid { grid-template-columns: 1fr; gap: 2.5rem; } }

.about-img-container {
  position: relative;
  border-radius: var(--radius) !important;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-hover);
}

.about-img-container img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.about-img-container:hover img { transform: scale(1.03); }

.about-badge {
  position: absolute;
  bottom: 16px;
  left: 16px;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border);
  border-radius: var(--radius) !important;
  padding: 0.5rem 1rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--fg);
}

/* Phones: hero photo fills a top band and never collapses; about image scales
   with screen width instead of a fixed 420px height */
@media (max-width: 639px) {
  .hero {
    min-height: 0;
    overflow: hidden;
  }

  .hero-bg {
    top: 0;
    left: 0;
    right: 0;
    bottom: auto;
    height: min(100%, 560px);
    min-height: 320px;
  }

  .hero-bg-media,
  .hero-bg img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 320px;
    object-fit: cover;
    object-position: 65% center;
  }

  .hero-bg-video { display: none; }

  .about-img-container {
    width: 100%;
    max-width: 100%;
  }

  .about-img-container img {
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    max-height: 340px;
    min-height: 200px;
    object-fit: cover;
    object-position: center;
  }

  .about-badge {
    left: 10px;
    bottom: 10px;
    max-width: calc(100% - 20px);
    padding: 0.4rem 0.75rem;
    font-size: 0.72rem;
  }
}

@media (max-width: 400px) {
  .hero-bg-media,
  .hero-bg img { object-position: 70% center; }

  .about-img-container img {
    aspect-ratio: 1 / 1;
    max-height: 300px;
  }
}

.about-pillars {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.2rem;
}

@media (max-width: 500px) { .about-pillars { grid-template-columns: 1fr; } }

.pillar-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius) !important;
  padding: 1.4rem;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.pillar-card:hover { border-color: var(--tan); box-shadow: var(--shadow-card); }

.pillar-card h3 { font-size: 1rem; margin-top: 0.75rem; }
.pillar-card p  { font-size: 0.85rem; color: var(--muted); margin-top: 0.4rem; }

/* Mission block */
.about-mission {
  margin-top: 3.5rem;
  background: var(--bg-2);
  color: var(--fg);
  border: 1px solid var(--border);
  border-radius: var(--radius) !important;
  padding: 2.5rem 3rem;
  text-align: center;
  box-shadow: var(--shadow-card);
}

.about-mission .font-display {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-style: italic;
  color: var(--fg);
  line-height: 1.55;
}

.about-stats-mini {
  display: flex;
  justify-content: center;
  gap: 3rem;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.stat-mini-v {
  font-family: var(--font-display);
  font-size: 2rem;
  font-style: italic;
  color: var(--bg-dark);
  font-weight: 400;
}

.stat-mini-l {
  font-size: 0.8rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 0.25rem;
}

/* ── 6. Services Grid ─────────────────────────────────────────────────────── */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
  margin-top: 2.5rem;
}

@media (max-width: 1023px) { .grid-3 { grid-template-columns: 1fr; } }

/* ── Products Grid ──────────────────────────────────────────────────────── */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
  margin-top: 2.5rem;
}

@media (max-width: 1023px) { .product-grid { grid-template-columns: 1fr; } }

/* ── Mobile/Tablet Carousel: Services & Products ─────────────────────────── */
.carousel-nav {
  display: none;
}

.carousel-track { position: relative; }

@media (max-width: 1023px) {
  .carousel-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 1.75rem;
  }

  .carousel-dots {
    display: flex;
    align-items: center;
    gap: 6px;
  }

  .carousel-dot {
    width: 7px;
    height: 7px;
    border-radius: 4px !important;
    background: var(--border-2);
    cursor: pointer;
    transition: width 0.2s ease, background 0.2s ease;
    padding: 0;
    border: none;
  }

  .carousel-dot.active {
    width: 22px;
    background: var(--bg-dark);
  }

  .carousel-arrows {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    flex-shrink: 0;
  }

  .carousel-arrow {
    width: 2.4rem;
    height: 2.4rem;
    border-radius: var(--radius) !important;
    border: 1px solid var(--border);
    background: var(--bg-surface);
    color: var(--fg);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  }

  .carousel-arrow i { width: 1.1rem; height: 1.1rem; }

  .carousel-arrow:hover,
  .carousel-arrow:active {
    background: var(--bg-dark);
    border-color: var(--bg-dark);
    color: #FFFFFF;
  }

  .carousel-arrow:disabled {
    opacity: 0.4;
    cursor: default;
    background: var(--bg-surface);
    border-color: var(--border);
    color: var(--fg);
  }

  /* Turn the grids into a one-card-at-a-time swipeable track */
  .grid-3,
  .product-grid {
    display: flex;
    grid-template-columns: none;
    flex-wrap: nowrap;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .grid-3::-webkit-scrollbar,
  .product-grid::-webkit-scrollbar {
    display: none;
  }

  .grid-3 > *,
  .product-grid > * {
    flex: 0 0 100%;
    scroll-snap-align: start;
  }

  /* Pricing, Blog & Portfolio: show all cards stacked one below another
     instead of the swipeable single-card carousel used by Services/Products. */
  #pricing .grid-3,
  #blog .grid-3,
  #portfolio .grid-3 {
    display: grid;
    grid-template-columns: 1fr;
    overflow-x: visible;
    scroll-snap-type: none;
  }

  #pricing .grid-3 > *,
  #blog .grid-3 > *,
  #portfolio .grid-3 > * {
    flex: none;
    scroll-snap-align: none;
  }

  /* Service card button: full card width on mobile/tablet */
  .svc-btn {
    align-self: stretch;
    box-sizing: border-box;
    width: 100%;
  }
}

/* Tablet (640-1023px): Services & Products as a 2-column grid instead of one
   full-width card per slide. Phones (<640px) keep the swipe carousel. */
@media (min-width: 640px) and (max-width: 1023px) {
  #servicesTrack,
  #productsTrack {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
    overflow: visible;
    scroll-snap-type: none;
  }

  #servicesTrack > *,
  #productsTrack > * {
    flex: none;
    scroll-snap-align: none;
    min-width: 0;
  }

  /* lone third card sits centred on its own row, same width as the others */
  #servicesTrack > :nth-child(3):last-child,
  #productsTrack > :nth-child(3):last-child {
    grid-column: 1 / -1;
    justify-self: center;
    width: calc((100% - 1.25rem) / 2);
  }

  /* all cards are visible, so the dots/arrows are not needed */
  .carousel-nav { display: none; }
}


.svc-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius) !important;
  padding: 2rem;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  gap: 0;
  transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s;
}

.svc-card:hover {
  border-color: var(--tan);
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px);
}

.svc-card p { font-size: 0.88rem; color: var(--muted); margin-top: 0.5rem; }

.svc-features {
  margin-top: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  flex-grow: 1;
}

.svc-features li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.84rem;
  color: var(--muted);
}

.svc-features li i {
  width: 1rem;
  height: 1rem;
  color: var(--bg-dark);
  flex-shrink: 0;
}

.svc-btn {
  margin-top: 1.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--bg-dark);
  border: 1px solid var(--bg-dark);
  padding: 0.6rem 1.1rem;
  border-radius: var(--radius) !important;
  transition: background 0.2s, color 0.2s;
}

.svc-btn:hover { background: var(--bg-dark); color: #FFFFFF; }

.product-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius) !important;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-card);
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
  will-change: transform;
}

.product-card:hover {
  transform: translateY(-5px);
  border-color: var(--tan);
  box-shadow: var(--shadow-hover);
}

.product-slider {
  position: relative;
  height: 260px;
  overflow: hidden;
  background: var(--bg-3);
}

.product-slides {
  width: 100%;
  height: 100%;
  position: relative;
}

.product-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.product-slide.active { opacity: 1; }

.product-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 5;
  background: var(--bg-dark);
  color: #FFFFFF;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  padding: 0.3rem 0.7rem;
  border-radius: 4px !important;
}

.product-dots {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 5px;
  z-index: 5;
}

.product-dot {
  width: 6px;
  height: 6px;
  border-radius: 2px !important;
  background: rgba(255, 255, 255, 0.55);
  cursor: pointer;
  transition: width 0.2s, background 0.2s;
}

.product-dot.active {
  background: #FFFFFF;
  width: 14px;
}

.product-info {
  padding: 1.4rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 0.5rem;
}

.product-tags span {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--muted);
  letter-spacing: 0.06em;
}

.product-info h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 500;
  color: var(--fg);
  margin-top: 0;
  margin-bottom: 0.4rem;
}

.product-info p.muted {
  font-size: 0.84rem;
  line-height: 1.55;
  color: var(--muted);
  margin-bottom: 1rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

.product-price {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--fg);
}

.product-price .grad {
  color: var(--bg-dark);
  background: none !important;
  -webkit-text-fill-color: var(--bg-dark) !important;
}

.product-price .price-from {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}

.product-buy-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--fg);
  border: 1px solid var(--border);
  padding: 0.5rem 0.85rem;
  border-radius: var(--radius) !important;
  background: transparent;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.product-buy-btn:hover { background: var(--fg); color: #FFFFFF; border-color: var(--fg); }

.product-atc-btn {
  width: 100%;
  margin-top: 0.75rem;
  background: var(--bg-dark);
  color: #FFFFFF;
  border: none;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  padding: 0.8rem 1rem;
  border-radius: var(--radius) !important;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}

.product-atc-btn:hover { background: var(--bg-dark-hover); transform: translateY(-1px); }

/* Mobile/tablet: stack Buy Now below the price and style it the same as
   the Add to Cart button (full-width, filled dark) instead of the small
   outlined pill used on desktop. */
@media (max-width: 900px) {
  .product-footer {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
  }

  .product-buy-btn {
    width: 100%;
    justify-content: center;
    background: var(--bg-dark);
    color: #FFFFFF;
    border-color: var(--bg-dark);
    padding: 0.8rem 1rem;
    font-size: 0.78rem;
  }

  .product-buy-btn:hover {
    background: var(--bg-dark-hover);
    border-color: var(--bg-dark-hover);
    color: #FFFFFF;
  }
}

/* ── 7. Features Grid (2-col) ───────────────────────────────────────────── */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin-top: 0;
}

@media (max-width: 600px) { .grid-2 { grid-template-columns: 1fr; } }

.card.sm .ico {
  width: 1.2rem;
  height: 1.2rem;
  color: var(--tan);
}

/* ── 8. Stats Section ────────────────────────────────────────────────────── */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-radius: var(--radius) !important;
  overflow: hidden;
  background: #FFFFFF;
  border: 1px solid var(--border) !important;
  box-shadow: var(--shadow-card);
}

.stat {
  padding: 1.75rem 1.5rem;
  text-align: center;
  border-right: 1px solid var(--border);
}

.stat:last-child { border-right: none; }

.stat-v {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.4vw, 1.9rem);
  font-style: italic;
  font-weight: 400;
  color: var(--bg-dark);
  background: none !important;
  -webkit-text-fill-color: var(--bg-dark) !important;
}

.stat-l {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin-top: 0.4rem;
  overflow-wrap: break-word;
  word-break: break-word;
}

@media (max-width: 768px) {
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat { border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
  .stat:nth-child(2n) { border-right: none; }
}

@media (max-width: 480px) {
  .stat {
    padding: 1.75rem 0.85rem;
    min-width: 0;
  }

  .stat-v {
    font-size: 1.35rem;
    word-break: break-word;
  }

  .stat-l {
    font-size: 0.68rem;
    letter-spacing: 0.04em;
    line-height: 1.35;
  }
}

/* ── 9. Portfolio Section ─────────────────────────────────────────────────── */
.port-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius) !important;
  overflow: hidden;
  display: block;
  box-shadow: var(--shadow-card);
  transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s;
}

.port-card:hover {
  border-color: var(--tan);
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px);
}

.port-img {
  position: relative;
  height: 220px;
  overflow: hidden;
  background: var(--bg-3);
}

.port-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.port-card:hover .port-img img { transform: scale(1.06); }

.tag, .gal-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--bg-dark);
  color: #FFFFFF;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  padding: 0.3rem 0.65rem;
  border-radius: 4px !important;
}

.port-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.2rem 1.5rem;
}

.port-meta h3 { font-size: 1rem; font-family: var(--font-sans); }
.port-meta i  { width: 1.1rem; height: 1.1rem; color: var(--muted); }

/* ── 10. Gallery / Bento Grid ─────────────────────────────────────────────── */
.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  justify-content: center;
  margin-top: 2rem;
  margin-bottom: 2.5rem;
}

.gal-filter {
  padding: 0.5rem 1.2rem;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  border: 1px solid var(--border);
  border-radius: var(--radius) !important;
  background: var(--bg-surface);
  color: var(--muted);
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.gal-filter:hover, .gal-filter.active {
  background: var(--bg-dark);
  color: #FFFFFF;
  border-color: var(--bg-dark);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 240px;
  gap: 1rem;
}

.gal-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius) !important;
  cursor: pointer;
  background: var(--bg-3);
}

.gal-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gal-item.big  { grid-column: span 2; grid-row: span 2; }
.gal-item.tall { grid-row: span 2; }
.gal-item.wide { grid-column: span 2; }

.gal-zoom {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.85);
  border-radius: var(--radius) !important;
  display: grid;
  place-items: center;
  opacity: 0;
  transition: opacity 0.2s;
}

.gal-item:hover .gal-zoom { opacity: 1; }
.gal-zoom i { width: 1rem; height: 1rem; color: var(--fg); }

.gal-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(28, 28, 26, 0.8) 100%);
  opacity: 0;
  transition: opacity 0.3s;
  display: flex;
  align-items: flex-end;
  padding: 1.25rem;
}

.gal-item:hover .gal-overlay { opacity: 1; }

.gal-caption h4 { color: #FFFFFF; font-size: 0.95rem; margin-top: 0.4rem; }
.gal-caption p  { color: rgba(255, 255, 255, 0.7); font-size: 0.8rem; margin-top: 0.25rem; }

/* Lightbox - HIDDEN BY DEFAULT, shown only when .open class is added by JS */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(28, 28, 26, 0.92);
  display: none;  /* Hidden until JS adds .open */
  align-items: center;
  justify-content: center;
  z-index: 2000;
}

.lightbox.open {
  display: flex;
}

/* Card shrink-wraps the image (no side space); overflow is visible so the
   close button can sit outside the card */
.lightbox-inner {
  background: var(--bg-surface);
  border-radius: var(--radius) !important;
  padding: 0 0 1.5rem;
  width: fit-content;
  max-width: min(800px, 90vw);
  min-width: 300px;
  position: relative;
  overflow: visible;
}

/* Close: white disc just above the card's top-right corner, visible on the dark overlay */
.lightbox-close {
  position: absolute;
  top: -3.2rem;
  right: 0;
  z-index: 2001;
  width: 2.4rem;
  height: 2.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50% !important;
  background: #FFFFFF;
  color: #000000;
  border: none;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
  font-size: 1.2rem;
  cursor: pointer;
  transition: background 0.2s ease;
}

.lightbox-close:hover { background: #E5E5E5; color: #000000; }

#lbImg {
  display: block;
  width: auto;
  max-width: min(800px, 90vw);
  height: auto;
  max-height: 70vh;
  margin: 0 auto;
  object-fit: contain;
  border-radius: var(--radius) var(--radius) 0 0 !important;
  background: transparent;
}

/* Caption wraps to the image width instead of stretching the card */
.lightbox-info {
  width: 0;
  min-width: 100%;
  box-sizing: border-box;
  margin-top: 1rem;
  padding: 0 1.5rem;
  text-align: center;
}
.lightbox-info h4 { font-size: 1.05rem; }
.lightbox-info p  { font-size: 0.85rem; color: var(--muted); margin-top: 0.3rem; }

.lightbox-prev, .lightbox-next {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  width: 2.8rem;
  height: 2.8rem;
  background: rgba(0, 0, 0, 0.65);
  border: 2px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
  border-radius: 50% !important;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  cursor: pointer;
  z-index: 2001;
  transition: background 0.2s ease, transform 0.2s ease;
}

.lightbox-prev { left: 1.5rem; }
.lightbox-next { right: 1.5rem; }
.lightbox-prev:hover, .lightbox-next:hover {
  background: var(--green-primary, var(--bg-dark));
  transform: translateY(-50%) scale(1.06);
}

.lightbox-prev svg,
.lightbox-next svg,
.lightbox-prev i,
.lightbox-next i {
  width: 1.3rem;
  height: 1.3rem;
  stroke: #FFFFFF;
  color: #FFFFFF;
  opacity: 1;
}

/* Phones: smaller arrows tucked to the edges, close button just above the card,
   card hugs the image (the 300px minimum would create white sides) */
@media (max-width: 639px) {
  .lightbox-prev,
  .lightbox-next {
    width: 2.4rem;
    height: 2.4rem;
    z-index: 2002;
  }

  .lightbox-prev { left: 0.5rem; }
  .lightbox-next { right: 0.5rem; }

  .lightbox-close {
    top: -3rem;
    right: 0;
  }

  .lightbox-inner {
    min-width: 0;
    width: fit-content;
    max-width: 90vw;
  }

  #lbImg {
    width: auto;
    max-width: 90vw;
    max-height: 60vh;  /* leaves room above the card for the close button */
  }

  .lightbox-info { padding: 0 1rem; }
}

@media (max-width: 768px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-flow: dense; }
  .gal-item.big { grid-column: span 2; }
  .gal-item.wide { grid-column: span 2; }
}

@media (max-width: 480px) {
  .gallery-grid { grid-template-columns: 1fr; }
  .gal-item.big, .gal-item.tall, .gal-item.wide { grid-column: span 1; grid-row: span 1; }
}

/* ── 11. Process (How It Works) ───────────────────────────────────────────── */
.process {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

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

.process-line {
  display: none; /* hide the absolute line concept */
}

.step {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius) !important;
  padding: 2rem 1.5rem;
  text-align: center;
  box-shadow: var(--shadow-card);
  transition: border-color 0.25s, transform 0.25s;
}

.step:hover { border-color: var(--tan); transform: translateY(-4px); }

.step-n {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-style: italic;
  font-weight: 400;
  color: var(--border-2);
  line-height: 1;
  margin-bottom: 0.75rem;
}

.step h3 { font-size: 1rem; margin-top: 0; }
.step p  { font-size: 0.84rem; color: var(--muted); margin-top: 0.4rem; }

/* ── 12. Testimonials Marquee ───────────────────────────────────────────── */
.testimonial-marquee {
  overflow: hidden;
  padding: 2rem 0;
}

.testimonial-track {
  display: flex;
  gap: 1.5rem;
  animation: marquee 50s linear infinite;
  width: max-content;
  will-change: transform;
}

.testimonial-track:hover { animation-play-state: paused; }

@keyframes marquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.testimonial, blockquote.testimonial {
  display: flex;
  flex-direction: column;
  width: 380px;
  flex-shrink: 0;
  margin: 0;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius) !important;
  padding: 1.75rem 1.75rem 1.6rem;
  box-shadow: var(--shadow-card);
}

/* marquee cards stay put on hover */
.testimonial:hover {
  border-color: var(--border);
  box-shadow: var(--shadow-card);
}

.stars {
  color: #D38684; /* golden - same shade as .ec-stars on the services page */
  font-size: 1rem;
  letter-spacing: 2px;
  line-height: 1;
  margin-bottom: 1.25rem;
}

.quote {
  flex: 1;  /* pushes the author row to the bottom so all cards align */
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-style: italic;
  font-weight: 400;
  line-height: 1.7;
  color: var(--fg);
  margin-bottom: 1.75rem;
}

.testimonial footer {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.testimonial-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius) !important;
  object-fit: cover;
  flex-shrink: 0;
  border: 1px solid var(--border);
}

.testimonial-user .name {
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1.3;
  color: var(--fg);
}

.testimonial-user .muted {
  font-size: 0.88rem;
  line-height: 1.4;
  margin-top: 2px;
}

/* ── 13. Pricing Tiers ───────────────────────────────────────────────────── */
.tier {
  display: flex;
  flex-direction: column;
  position: relative;
}

.tier.featured {
  border-color: var(--bg-dark) !important;
  box-shadow: var(--shadow-deep) !important;
  transform: translateY(-6px);
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.3rem 0.75rem;
  background: var(--bg-dark);
  color: #FFFFFF;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-radius: 4px !important;
  margin-bottom: 0.75rem;
  width: fit-content;
}

.price {
  margin: 1.2rem 0 1.5rem;
}

.price .grad {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-style: italic;
  font-weight: 400;
  color: var(--bg-dark) !important;
  background: none !important;
  -webkit-text-fill-color: var(--bg-dark) !important;
}

.tier ul { display: flex; flex-direction: column; gap: 0.6rem; flex-grow: 1; }

.tier ul li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.87rem;
  color: var(--muted);
}

.tier ul li i {
  width: 1rem;
  height: 1rem;
  color: var(--bg-dark);
  flex-shrink: 0;
}

.tier .btn { margin-top: 2rem; }

/* ── 14. Blog Cards ──────────────────────────────────────────────────────── */
.blog-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius) !important;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-card);
  transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s;
}

.blog-card:hover {
  border-color: var(--tan);
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px);
}

.blog-img {
  height: 200px;
  overflow: hidden;
  background: var(--bg-3);
}

.blog-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.blog-card:hover .blog-img img { transform: scale(1.06); }

.blog-content { padding: 1.5rem; flex-grow: 1; display: flex; flex-direction: column; }

.blog-header-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.75rem;
}

.blog-tag {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--tan);
  background: var(--tan-light);
  padding: 0.25rem 0.65rem;
  border-radius: 4px !important;
}

.blog-read-time {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.75rem;
  color: var(--muted);
}

.blog-read-time i { width: 0.85rem; height: 0.85rem; }

.blog-content h3 { font-size: 1.05rem; font-family: var(--font-sans); line-height: 1.4; }

.blog-excerpt {
  font-size: 0.84rem;
  color: var(--muted);
  line-height: 1.55;
  margin-top: 0.6rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex-grow: 1;
}

.blog-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

.blog-author { display: flex; align-items: center; gap: 0.65rem; }

.author-avatar {
  width: 36px;
  height: 36px;
  border-radius: var(--radius) !important;
  background: var(--bg-dark);
  color: #FFFFFF;
  font-size: 0.72rem;
  font-weight: 700;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.author-info { display: flex; flex-direction: column; gap: 0.1rem; }
.author-name { font-size: 0.82rem; font-weight: 700; color: var(--fg); }
.post-date   { font-size: 0.74rem; color: var(--muted); }

.blog-arrow { width: 1.1rem; height: 1.1rem; color: var(--muted); }
.blog-card:hover .blog-arrow { color: var(--bg-dark); }

/* ── 15. FAQ ─────────────────────────────────────────────────────────────── */
.faq {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-top: 2.5rem;
}

.faq-item {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius) !important;
  overflow: hidden;
  transition: border-color 0.2s;
}

.faq-item:hover { border-color: var(--tan); }

.faq-item[open] { border-color: var(--bg-dark); }

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  cursor: pointer;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--fg);
  list-style: none;
  gap: 1rem;
  transition: background 0.2s;
}

.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary i { width: 1rem; height: 1rem; color: var(--muted); flex-shrink: 0; }
.faq-item[open] summary { background: var(--bg-2); }

.faq-item p {
  padding: 0 1.5rem 1.25rem;
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.65;
}

/* ── 16. Final CTA Section ──────────────────────────────────────────────── */
.cta-card {
  position: relative;
  overflow: hidden;
  background: var(--bg-2);
  border: 1px solid var(--border) !important;
  border-radius: var(--radius) !important;
  padding: 3.5rem 2rem;
  text-align: center;
  color: var(--fg);
  box-shadow: var(--shadow-card);
}

.cta-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.cta-bg img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 1;
  pointer-events: none;
}

.cta-veil {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.72) 0%, rgba(255, 255, 255, 0.55) 100%);
  pointer-events: none;
}

.cta-card > * { position: relative; z-index: 1; }

.cta-card .eyebrow { color: var(--tan); }
.cta-card h2 { color: var(--fg); margin-top: 0.75rem; }
.cta-card .lead { color: var(--muted); margin-top: 0.75rem; }

.cta-actions {
  /* equal-width buttons: every column is as wide as the widest button */
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 1fr;
  width: fit-content;
  max-width: 100%;
  margin-inline: auto;
  gap: 1rem;
  margin-top: 2.2rem;
}

/* Stack on small screens, still equal width */
@media (max-width: 600px) {
  .cta-actions {
    grid-auto-flow: row;
    grid-auto-columns: 1fr;
  }
}

.cta-card .btn-outline {
  background: #FFFFFF;
  border: 1px solid var(--fg);
  color: var(--fg);
}

.cta-card .btn-outline:hover {
  background: var(--fg);
  color: #FFFFFF;
}

/* ── 17. Contact Section ─────────────────────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 3.5rem;
  align-items: start;
}

@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; } }

.contact-list {
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
}

.contact-list li {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1.1rem;
  font-size: 0.9rem;
}

.contact-item-text {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
}

.contact-item-label {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--muted);
}

.contact-list li a {
  color: var(--fg);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.94rem;
  overflow-wrap: break-word;
}

.icon-mini {
  width: 44px;
  height: 44px;
  border-radius: 14px !important;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.contact-list li:hover .icon-mini {
  transform: translateY(-2px) scale(1.06);
}

.icon-mini-location { background: var(--green-soft); color: var(--green-primary); border-color: var(--green-border); }
.icon-mini-email     { background: var(--blue-light); color: var(--blue-accent); border-color: var(--blue-border); }
.icon-mini-phone      { background: var(--tan-light); color: var(--tan); border-color: var(--border-2); }

.contact-list li:hover .icon-mini-location,
.contact-list li:hover .icon-mini-email,
.contact-list li:hover .icon-mini-phone {
  background: linear-gradient(135deg, var(--green-primary), var(--green-accent));
  color: #FFFFFF;
  border-color: var(--green-primary);
  box-shadow: 0 8px 20px rgba(28, 28, 26, 0.28);
}

.map, .map-container {
  margin-top: 1.25rem;
  border: 1px solid var(--border);
  border-radius: var(--radius) !important;
  overflow: hidden;
  height: 260px;
  width: 100%;
  box-shadow: var(--shadow-card);
}

.map iframe, .map-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

label {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

label span {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--fg);
}

input, select, textarea {
  width: 100%;
  padding: 0.85rem 1.1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius) !important;
  background: var(--bg-2);
  color: var(--fg);
  font-family: var(--font-sans);
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}

input:focus, select:focus, textarea:focus {
  border-color: var(--tan);
  background: var(--bg-surface);
  box-shadow: 0 0 0 3px rgba(168, 88, 88, 0.12);
}

textarea { resize: vertical; min-height: 120px; }

/* Custom dropdown */
.custom-select { position: relative; width: 100%; }

.custom-select-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  padding: 0.85rem 1.1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius) !important;
  background: var(--bg-2);
  font-size: 0.9rem;
  color: var(--fg);
  transition: border-color 0.2s;
  height: 50px;
}

.custom-select.active .custom-select-trigger {
  border-color: var(--tan);
  background: var(--bg-surface);
}

.custom-select-options {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius) !important;
  box-shadow: var(--shadow-hover);
  z-index: 200;
  display: none;
  max-height: 320px;
  overflow-y: auto;
}

.custom-select.active .custom-select-options { display: block; }

.custom-option {
  padding: 0.8rem 1.1rem;
  font-size: 0.88rem;
  color: var(--fg);
  cursor: pointer;
  transition: background 0.15s;
}

.custom-option:hover, .custom-option.selected {
  background: var(--tan-light);
  color: var(--bg-dark);
  font-weight: 600;
}

.selected-text { color: var(--muted); transition: color 0.2s; }
.selected-text.has-value { color: var(--fg); }

/* ── Contact Form - bold inverted dark-green panel ─────────────────────── */
.contact-form {
  position: relative;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius) !important;
  padding: 3rem;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.contact-form-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  align-self: flex-start;
  padding: 0.35rem 0.9rem;
  border-radius: var(--radius) !important;
  background: var(--tan-light);
  border: 1px solid var(--border);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--bg-dark);
}

.contact-form-kicker .dot { background: var(--bg-dark); }

.contact-form-title {
  color: var(--fg);
  font-size: 1.5rem;
  margin: -0.3rem 0 0.3rem;
}

.contact-form label span { color: var(--fg); }

.contact-form input,
.contact-form textarea,
.contact-form .custom-select-trigger {
  background: var(--bg-2);
  border: 1px solid var(--border);
  color: var(--fg);
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form .custom-select.active .custom-select-trigger {
  border-color: var(--tan);
  background: var(--bg-surface);
  box-shadow: 0 0 0 3px rgba(168, 88, 88, 0.12);
}

.contact-form .custom-select-options {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-hover);
}

.contact-form .custom-option:hover,
.contact-form .custom-option.selected {
  background: var(--tan-light);
  color: var(--bg-dark);
}

.contact-form .btn-purple {
  background: var(--bg-dark);
  color: #FFFFFF;
  border-color: var(--bg-dark);
}

.contact-form .btn-purple:hover {
  background: var(--bg-dark-hover);
  color: #FFFFFF;
  border-color: var(--bg-dark-hover);
  box-shadow: 0 8px 28px rgba(28, 28, 26, 0.22);
}

/* ── 18. Footer ──────────────────────────────────────────────────────────── */
.footer {
  background: var(--bg-footer);
  color: #D6D0C8;
  padding: 5rem 0 2rem;
  font-size: 0.88rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr repeat(4, 1fr);
  gap: 3rem;
  margin-bottom: 4rem;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.footer-brand .logo,
.footer .logo {
  order: unset;
  flex: 0 0 auto;
  width: fit-content;
  max-width: max-content;
  display: inline-flex;
  align-items: center;
  justify-content: flex-start !important;
  text-align: left;
  margin-left: 0 !important;
  margin-right: auto !important;
}

.footer-brand .logo-word {
  color: #FFFFFF !important;
  -webkit-text-fill-color: #FFFFFF !important;
  background: none !important;
  text-align: left;
}

.footer-brand .logo-img { opacity: 1; background: none; padding: 0; }

.footer-brand p {
  color: #9A9289;
  margin-top: 0.85rem;
  line-height: 1.7;
  max-width: 320px;
  font-size: 0.85rem;
  text-align: left;
}

@media (max-width: 1024px) {
  .footer { padding: 4rem 0 2rem; }
  .footer-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 2.5rem 1.5rem;
    margin-bottom: 3.5rem;
  }
  .footer-brand {
    grid-column: 1 / -1;
    margin-bottom: 0.5rem;
    align-items: flex-start;
    text-align: left;
  }
  .footer-brand .logo,
  .footer .logo {
    justify-content: flex-start !important;
    text-align: left !important;
    margin-left: 0 !important;
    margin-right: auto !important;
  }
  .footer-brand p {
    max-width: 480px;
    text-align: left;
  }
  .socials {
    justify-content: flex-start;
  }
}

.footer h4 {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #FFFFFF;
  margin-bottom: 1.2rem;
}

.footer ul li { margin-bottom: 0.65rem; }

.footer ul li a {
  color: #9A9289;
  transition: color 0.2s;
  font-size: 0.85rem;
}

.footer ul li a:hover { color: var(--gold); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  color: #6A655E;
  font-size: 0.82rem;
}

.foot-links {
  display: flex;
  gap: 1.5rem;
}

.foot-links a {
  color: #6A655E;
  transition: color 0.2s;
}

.foot-links a:hover { color: var(--gold); }

.footer-credit-link {
  color: var(--tan) !important;
  font-weight: 600;
  text-decoration: none;
}

.footer-credit-link:hover {
  color: var(--gold);
  text-decoration: underline;
}

.socials {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.socials a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: var(--radius) !important;
  background: rgba(255, 255, 255, 0.06);
  color: #D6D0C8;
  transition: background 0.2s, color 0.2s;
}

.socials a:hover { background: var(--tan); color: #FFFFFF; }

/* ── 19. Cart Drawer & Overlay ───────────────────────────────────────────── */
.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(28, 28, 26, 0.5);
  z-index: 1100;
  backdrop-filter: blur(4px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}

.cart-overlay.active { opacity: 1; pointer-events: all; }

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  height: 100%;
  width: 420px;
  max-width: 100vw;
  background: var(--bg-surface);
  border-left: 1px solid var(--border);
  border-radius: 0 !important;
  box-shadow: -8px 0 40px rgba(28, 28, 26, 0.15);
  z-index: 1200;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.cart-drawer.open { transform: translateX(0); }

/* ── 20. Reveal Animation ─────────────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  will-change: opacity, transform;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Utility Classes ─────────────────────────────────────────────────────── */
.features-grid { }

/* desktop + tablet (2-column grid): an odd last card sits centred on its own
   row at the same width as the others */
@media (min-width: 601px) {
  .features-grid .grid-2 > .feature-center,
  .features-grid .grid-2 > :last-child:nth-child(odd) {
    grid-column: 1 / -1;
    justify-self: center;
    width: calc((100% - 1.25rem) / 2);
  }
}

.portfolio { }

/* ── Global Responsive Fixes ─────────────────────────────────────────────── */
@media (max-width: 768px) {
  /* Prevent iOS Safari auto-zoom on focus (inputs under 16px trigger it) */
  .chat-footer input,
  input,
  textarea,
  select {
    font-size: 16px !important;
  }

  .container { padding: 0 1.25rem; }
  .section { padding: 3.5rem 0; }
  .hero { padding: 3.5rem 0 4rem; }
  h2 { font-size: clamp(1.75rem, 7vw, 2.4rem); }
  .about-mission { padding: 2rem 1.5rem; margin-top: 2.5rem; }
  .about-mission .font-display { font-size: 1.1rem; }
  .about-stats-mini { gap: 1.25rem; }
  .stat-mini-v { font-size: 1.5rem; }
  .stat-mini-l { font-size: 0.68rem; }
  .contact-form { padding: 1.5rem; }
  .cta-card { padding: 3rem 1.5rem; }
  .footer { padding: 3.5rem 0 2rem; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 2.25rem 1.5rem; margin-bottom: 3rem; }
  .footer-brand { grid-column: 1 / -1; margin-bottom: 0.5rem; align-items: flex-start; text-align: left; }
  .footer-brand .logo,
  .footer .logo {
    justify-content: flex-start !important;
    text-align: left !important;
    margin-left: 0 !important;
    margin-right: auto !important;
  }
  .footer-brand p { max-width: 100%; text-align: left; }
  .socials { justify-content: flex-start; }
  .footer-bottom { flex-direction: column; align-items: flex-start; text-align: left; gap: 1rem; }
  .foot-links { gap: 1.25rem; flex-wrap: wrap; justify-content: flex-start; }
  .newsletter-form { flex-direction: column; }
}

@media (max-width: 480px) {
  .container { padding: 0 1rem; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .grid-2 { grid-template-columns: 1fr; }
  .about-mission { padding: 1.75rem 1.1rem; }
  .about-mission .font-display { font-size: 1rem; line-height: 1.5; }
  .about-stats-mini {
    gap: 0.5rem;
    padding-top: 1.5rem;
    margin-top: 1.5rem;
    flex-wrap: nowrap;
  }
  .about-stats-mini > div { flex: 1 1 0; min-width: 0; }
  .stat-mini-v { font-size: 1.15rem; }
  .stat-mini-l { font-size: 0.58rem; letter-spacing: 0.04em; white-space: normal; }
  .footer { padding: 3rem 0 1.5rem; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 1.75rem 1rem; margin-bottom: 2.25rem; }
  .footer-brand { align-items: flex-start; text-align: left; }
  .footer-brand .logo,
  .footer .logo {
    justify-content: flex-start !important;
    text-align: left !important;
    margin-left: 0 !important;
    margin-right: auto !important;
  }
  .footer-brand p { text-align: left; }
  .socials { justify-content: flex-start; }
  .footer h4 { margin-bottom: 0.85rem; text-align: left; }
  .footer ul li { margin-bottom: 0.5rem; text-align: left; }
  .footer-bottom { font-size: 0.8rem; padding-top: 1.5rem; gap: 0.85rem; align-items: flex-start; text-align: left; }
  .footer-bottom > div { text-align: left; }
  .foot-links { justify-content: flex-start; }
}

@media (max-width: 360px) {
  .footer-grid { grid-template-columns: 1fr; gap: 1.75rem; }
}

/* Footer bottom bar - mobile only (≤639px): copyright on one line with
   "Powered by Null Bugs" directly beneath it, everything centered. Placed after
   the 768/480/360 footer blocks so it wins by source order; tablet/desktop are
   unaffected. The inline margin-left on the credit span needs !important. */
@media (max-width: 639px) {
  .footer-bottom {
    align-items: center;
    text-align: center;
  }
  .footer-bottom > div {
    width: 100%;
    text-align: center;
  }
  .footer-bottom > div > span {
    display: block;
    margin-left: 0 !important;
    margin-top: 0.35rem;
    white-space: nowrap;
  }
  .foot-links { justify-content: center; }
}

/* ── Cart.css Override - Force White Theme on Cart Components ─────────────
   cart.css loads AFTER style.css, so these rules must use !important
   to override the legacy purple glassmorphism cart styles.
   ────────────────────────────────────────────────────────────────────────── */

/* Cart Nav Button - white theme square */
.cart-btn {
  position: relative !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 44px !important;
  height: 44px !important;
  border-radius: 6px !important;
  border: 1px solid #1C1C1A !important;
  background: #1C1C1A !important;
  color: #FFFFFF !important;
  cursor: pointer !important;
  transition: background 0.2s !important;
  transform: none !important;
}

.cart-btn:hover {
  background: #121211 !important;
  border-color: #121211 !important;
  transform: none !important;
}

/* Cart Badge - white theme square */
.cart-badge {
  position: absolute !important;
  top: -5px !important;
  right: -5px !important;
  min-width: 20px !important;
  height: 20px !important;
  padding: 0 4px !important;
  border-radius: 4px !important;
  background: #A85858 !important;
  color: #FFFFFF !important;
  font-size: 0.68rem !important;
  font-weight: 800 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  border: 2px solid #FFFFFF !important;
  box-shadow: none !important;
  transform: scale(1) !important;
  pointer-events: none !important;
  z-index: 10 !important;
}

/* Cart Drawer - white theme */
.cart-drawer {
  background: #FFFFFF !important;
  border-left: 1px solid #E4E1DC !important;
  border-radius: 0 !important;
  box-shadow: -8px 0 40px rgba(28, 28, 26, 0.15) !important;
}

/* Cart Overlay */
.cart-overlay {
  background: rgba(28, 28, 26, 0.5) !important;
  backdrop-filter: blur(4px) !important;
}

/* Cart Buy Button */
.cart-buy-btn {
  background: #1C1C1A !important;
  border-radius: 6px !important;
  color: #FFFFFF !important;
}

.cart-buy-btn:hover {
  background: #121211 !important;
}
/* ── Smart Insights chart animation ───────────────────────────────────────── */
/* Plays when the card's .reveal gets .is-visible */
.chart-line {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
}
.chart-area {
  opacity: 0;
  transform-box: fill-box;
  transform-origin: bottom;
  transform: scaleY(0.2);
}
.chart-badge {
  opacity: 0;
  transform: translateY(8px) scale(0.85);
}

.card.is-visible .chart-line {
  animation: chart-draw 1.8s cubic-bezier(0.65, 0, 0.35, 1) 0.4s forwards;
}
.card.is-visible .chart-area {
  animation: chart-area-in 1.8s cubic-bezier(0.65, 0, 0.35, 1) 0.4s forwards;
}
.card.is-visible .chart-badge {
  animation:
    badge-pop 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 1.8s forwards,
    badge-float 3s ease-in-out 2.4s infinite;
}

@keyframes chart-draw { to { stroke-dashoffset: 0; } }
@keyframes chart-area-in { to { opacity: 1; transform: scaleY(1); } }
@keyframes badge-pop { to { opacity: 1; transform: translateY(0) scale(1); } }
@keyframes badge-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-3px); }
}

@media (prefers-reduced-motion: reduce) {
  .chart-line { stroke-dashoffset: 0; }
  .chart-area, .chart-badge { opacity: 1; transform: none; }
  .card.is-visible .chart-line,
  .card.is-visible .chart-area,
  .card.is-visible .chart-badge { animation: none; }
}

/* ── Tablet (640–1023px): compact, centred card buttons ───────────────────
   Phones keep the full-width buttons; on tablet they were stretching across
   the whole card. */
@media (min-width: 640px) and (max-width: 1023px) {
  /* Product cards: Buy Now + Add to Cart, same size, centred */
  .product-footer {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
  }

  .product-buy-btn {
    width: min(100%, 14rem);
    align-self: center;
    justify-content: center;
    background: var(--bg-dark);
    color: #FFFFFF;
    border-color: var(--bg-dark);
    padding: 0.8rem 1rem;
    font-size: 0.78rem;
  }

  .product-buy-btn:hover {
    background: var(--bg-dark-hover);
    border-color: var(--bg-dark-hover);
    color: #FFFFFF;
  }

  .product-atc-btn {
    width: min(100%, 14rem);
    margin: 0.75rem auto 0;
  }

  /* Pricing tiers */
  .tier .btn {
    align-self: center;
    min-width: 14rem;
  }

  /* Contact form */
  .contact-form .btn-block {
    display: flex;
    width: auto;
    min-width: 14rem;
    margin-inline: auto;
  }
}

/* ==========================================================================
   Global Live Chat Widget - Site Theme (Forest Green / Tan / White)
   ========================================================================== */

.live-chat-floating-btn {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 3.8rem;
  height: 3.8rem;
  border-radius: 50%;
  background: #25D366;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 30px rgba(37, 211, 102, 0.4), 0 4px 16px rgba(0,0,0,0.2);
  cursor: pointer;
  z-index: 9999;
  transition: transform .3s, box-shadow .3s, background .3s;
  border: 2px solid rgba(255,255,255,0.25);
}

.live-chat-floating-btn:hover {
  transform: scale(1.1);
  background: #1ebe59;
  box-shadow: 0 0 55px rgba(37, 211, 102, 0.55);
}

.live-chat-floating-btn svg {
  width: 2rem;
  height: 2rem;
  fill: #ffffff;
}

.live-chat-badge-pulse {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #ff4757;
  border: 2px solid #25D366;
  animation: pulse-dot 1.8s infinite;
}

@keyframes pulse-dot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.3); opacity: 0.7; }
}

/* Drawer */
.live-chat-drawer {
  position: fixed;
  bottom: 6.5rem;
  right: 2rem;
  width: 380px;
  max-width: calc(100vw - 3rem);
  height: 480px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 1.25rem;
  box-shadow: 0 20px 60px rgba(28, 28, 26, 0.15), 0 8px 24px rgba(28, 28, 26, 0.1);
  display: flex;
  flex-direction: column;
  z-index: 10000;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  transform: translateY(20px) scale(0.95);
  transition: opacity .3s ease, transform .3s ease;
}

.live-chat-drawer.open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

/* Drawer Header - Forest Green */
.chat-header {
  background: var(--bg-dark);
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.chat-header-info {
  display: flex;
  align-items: center;
  gap: .75rem;
}

.chat-avatar {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: var(--tan);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: .85rem;
  position: relative;
  flex-shrink: 0;
}

.chat-avatar svg {
  width: 1.4rem;
  height: 1.4rem;
  fill: #ffffff;
}

.chat-avatar .online-dot {
  position: absolute;
  bottom: 1px;
  right: 1px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #4ade80;
  border: 2px solid var(--bg-dark);
}

.chat-title h4 {
  font-size: .92rem;
  color: #ffffff;
  font-weight: 700;
}

.chat-title p {
  font-size: .72rem;
  color: rgba(255,255,255,0.65);
}

.chat-close-btn {
  color: rgba(255,255,255,0.55);
  cursor: pointer;
  padding: .25rem;
  transition: color .2s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.chat-close-btn:hover {
  color: #ffffff;
}

.chat-close-btn svg,
.chat-close-btn i {
  width: 1.1rem;
  height: 1.1rem;
}

/* Drawer Body - Tan-light background */
.chat-body {
  flex: 1;
  padding: 1rem;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: .75rem;
  background: var(--tan-light);
}

.chat-msg {
  max-width: 80%;
  padding: .65rem .9rem;
  border-radius: .85rem;
  font-size: .85rem;
  line-height: 1.45;
}

.chat-msg.agent {
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--fg);
  align-self: flex-start;
  border-bottom-left-radius: .2rem;
  box-shadow: 0 1px 4px rgba(28, 28, 26, 0.08);
}

.chat-msg.user {
  background: var(--bg-dark);
  color: #ffffff;
  align-self: flex-end;
  border-bottom-right-radius: .2rem;
  box-shadow: 0 1px 4px rgba(28, 28, 26, 0.18);
}

.chat-quick-replies {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  margin-top: .5rem;
}

.chat-quick-btn {
  font-size: .75rem;
  padding: .3rem .75rem;
  border-radius: 1rem;
  background: var(--bg);
  border: 1px solid var(--tan);
  color: var(--tan);
  cursor: pointer;
  font-weight: 600;
  transition: background .2s, color .2s, border-color .2s;
}

.chat-quick-btn:hover {
  background: var(--bg-dark);
  color: #ffffff;
  border-color: var(--bg-dark);
}

/* Drawer Footer */
.chat-footer {
  padding: .65rem 1rem;
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: .5rem;
}

.chat-footer input {
  flex: 1;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 1.5rem;
  padding: .5rem 1rem;
  font-size: .85rem;
  color: var(--fg);
  outline: none;
  transition: border-color .2s;
}

.chat-footer input:focus {
  border-color: var(--green-accent);
  box-shadow: 0 0 0 2px rgba(28, 28, 26, 0.1);
}

.chat-footer input::placeholder {
  color: var(--muted);
}

.chat-send-btn {
  width: 2.3rem;
  height: 2.3rem;
  border-radius: 50%;
  background: var(--bg-dark);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: none;
  flex-shrink: 0;
  transition: transform .2s, background .2s;
}

.chat-send-btn:hover {
  transform: scale(1.08);
  background: var(--bg-dark-hover);
}

.chat-send-btn svg,
.chat-send-btn i {
  width: 1.05rem;
  height: 1.05rem;
}

/* Mobile adjustments */
@media (max-width: 576px) {
  .live-chat-floating-btn {
    bottom: 1.25rem;
    right: 1.25rem;
    width: 3.2rem;
    height: 3.2rem;
  }
  .live-chat-floating-btn svg {
    width: 1.65rem;
    height: 1.65rem;
  }
  .live-chat-drawer {
    bottom: 5rem;
    right: 1rem;
    width: calc(100vw - 2rem);
    height: 420px;
  }
}

/* "View All Services" button under the services grid */
.svc-view-all {
  display: flex;
  justify-content: center;
  margin-top: 2.5rem;
}

/* Nav "Get Started" button - match cart button height, narrower width */
.nav-actions .btn {
  height: 44px;
  padding: 0 1.1rem;
  font-size: 0.78rem;
  gap: 0.45rem;
  line-height: 1;
  white-space: nowrap;
}
/* ── Mobile/tablet carousels: stop vertical scrolling inside the track ─────── */
@media (max-width: 1023px) {
  .grid-3,
  .product-grid {
    overflow-y: hidden;
    overscroll-behavior-x: contain;
    touch-action: pan-x pan-y;
  }

  /* hover lift made the card shift/scroll vertically inside the track */
  .svc-card:hover,
  .product-card:hover {
    transform: none;
  }
}
/* ── SCENTIVA hero cards: perfume-inspired motion ──────────────────────────
   Scoped to .hero-cards only. Animations start when a card's .reveal gets
   .is-visible. Loops are slow and low-contrast; only transform / opacity /
   stroke are animated. */

.hero-cards {
  --sc-rose: 211, 134, 132;
  --sc-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --sc-smooth: cubic-bezier(0.45, 0, 0.2, 1);
}

/* Card shell: slow staggered entrance + refined hover */
.hero-cards .card.reveal {
  position: relative;
  overflow: hidden;
  transform: translateY(28px);
  transition:
    opacity 1s var(--sc-ease) var(--sc-d, 0s),
    transform 1s var(--sc-ease) var(--sc-d, 0s),
    border-color 0.6s var(--sc-smooth),
    box-shadow 0.6s var(--sc-smooth);
}
.hero-cards .card.reveal:nth-child(2) { --sc-d: 0.12s; }
.hero-cards .card.reveal:nth-child(3) { --sc-d: 0.24s; }
.hero-cards .card.reveal.is-visible { transform: translateY(0); }

.hero-cards .card > * { position: relative; z-index: 1; }

.hero-cards .card::before,
.hero-cards .card::after {
  content: "";
  position: absolute;
  pointer-events: none;
  z-index: 0;
}
.hero-cards .card::before {
  inset: 0;
  background: radial-gradient(120% 70% at 50% 0%, rgba(var(--sc-rose), 0.12), transparent 62%);
  opacity: 0;
  transition: opacity 0.7s var(--sc-smooth);
}
.hero-cards .card::after {
  left: 0; right: 0; top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(var(--sc-rose), 0.95), transparent);
  transform: scaleX(0.2);
  opacity: 0;
  transition: transform 0.9s var(--sc-ease), opacity 0.6s var(--sc-smooth);
}

.hero-cards .icon-tile {
  transition: background-color 0.5s var(--sc-smooth), color 0.5s var(--sc-smooth), transform 0.6s var(--sc-ease);
}

@media (hover: hover) {
  .hero-cards .card.reveal.is-visible:hover {
    transform: translateY(-5px);
    border-color: rgba(var(--sc-rose), 0.55);
    box-shadow: 0 22px 48px rgba(28, 28, 26, 0.09), 0 4px 14px rgba(var(--sc-rose), 0.14);
  }
  .hero-cards .card:hover::before { opacity: 1; }
  .hero-cards .card:hover::after { transform: scaleX(1); opacity: 1; }
  .hero-cards .card:hover .icon-tile {
    background: #FBE4E2;
    color: #B96C6B;
    transform: translateY(-2px);
  }
}

/* Shared SVG stage: scales as one piece inside the fixed 150px visual */
.hero-cards .sc-stage {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  overflow: visible;
}

/* Shared hub halo (dark square hub in card 3) */
.hero-cards .radar-hub { box-shadow: 0 8px 18px rgba(28, 28, 26, 0.2); transition: transform 0.7s var(--sc-ease); z-index: 2; }
.hero-cards .radar-hub::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 1px solid rgba(var(--sc-rose), 0.6);
  opacity: 0;
  pointer-events: none;
}
.hero-cards .card.is-visible .radar-hub::after { animation: sc-halo 3.6s ease-out 1.5s infinite; }
@media (hover: hover) {
  .hero-cards .card:hover .radar-hub { transform: scale(1.08); }
}

/* ── Card 1 — essences converge and fill a flacon ───────────────────────── */
.hero-cards .sc-a-trace {
  fill: none;
  stroke: rgba(var(--sc-rose), 0.34);
  stroke-width: 1;
  stroke-linecap: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
}
.hero-cards .card.is-visible .sc-a-trace {
  animation: sc-draw 1.6s var(--sc-ease) forwards;
  animation-delay: calc(0.5s + var(--i, 0) * 0.15s);
}

.hero-cards .sc-a-flow {
  fill: none;
  stroke: #D38684;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-dasharray: 0.1 2;
  stroke-dashoffset: 0.1;
  opacity: 0;
}
.hero-cards .card.is-visible .sc-a-flow {
  animation: sc-travel 6s ease-in-out infinite;
  animation-delay: calc(1.6s + var(--i, 0) * 1.5s);
}

.hero-cards .sc-ing { opacity: 0; transform: translateX(-10px); }
.hero-cards .card.is-visible .sc-ing {
  animation: sc-ing-in 1s var(--sc-ease) forwards;
  animation-delay: calc(0.3s + var(--i, 0) * 0.14s);
}
.hero-cards .sc-ing-ring { fill: #fff; stroke: #E5D6D4; stroke-width: 1; }
.hero-cards .sc-ing-halo {
  fill: rgba(var(--sc-rose), 0.2);
  opacity: 0;
  transform-box: fill-box;
  transform-origin: center;
}
.hero-cards .sc-glyph {
  fill: none;
  stroke: #6B6462;
  stroke-width: 1.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.hero-cards .card.is-visible .sc-ing-ring,
.hero-cards .card.is-visible .sc-glyph,
.hero-cards .card.is-visible .sc-ing-halo {
  animation-duration: 6s;
  animation-iteration-count: infinite;
  animation-timing-function: var(--sc-smooth);
  animation-delay: calc(1.6s + var(--i, 0) * 1.5s);
}
.hero-cards .card.is-visible .sc-ing-ring { animation-name: sc-ring-glow; }
.hero-cards .card.is-visible .sc-glyph    { animation-name: sc-glyph-glow; }
.hero-cards .card.is-visible .sc-ing-halo { animation-name: sc-halo-ing; }

.hero-cards .sc-a-bottle { transition: transform 0.8s var(--sc-ease); }
@media (hover: hover) {
  .hero-cards .card:hover .sc-a-bottle { transform: translateY(-2px); }
}
.hero-cards .sc-a-glow { opacity: 0; }
.hero-cards .card.is-visible .sc-a-glow {
  animation: sc-glow-in 1.4s ease 1s forwards, sc-breathe 5s ease-in-out 2.4s infinite;
}
.hero-cards .sc-a-rise { transform: translateY(46px); }
.hero-cards .card.is-visible .sc-a-rise { animation: sc-fill 3s var(--sc-ease) 0.9s forwards; }
.hero-cards .card.is-visible .sc-a-sway { animation: sc-sway 6s ease-in-out 3.5s infinite; }
.hero-cards .card.is-visible .sc-a-wave-front { animation: sc-wave 7s linear infinite; }
.hero-cards .card.is-visible .sc-a-wave-back  { animation: sc-wave 10s linear infinite reverse; }
.hero-cards .sc-a-emblem { opacity: 0; }
.hero-cards .card.is-visible .sc-a-emblem { animation: sc-fade 1.2s ease 2.6s forwards; }

.hero-cards .sc-spark {
  fill: #E39D98;
  opacity: 0;
  transform-box: fill-box;
  transform-origin: center;
}
.hero-cards .card.is-visible .sc-spark {
  animation: sc-twinkle 4.5s ease-in-out infinite;
  animation-delay: calc(2s + var(--i, 0) * 1.9s);
}

/* ── Card 2 — the fragrance evolving over twelve hours ──────────────────── */
.hero-cards .sc-b-axis  { stroke: rgba(var(--sc-rose), 0.35); stroke-width: 1; }
.hero-cards .sc-b-tick  { stroke: rgba(var(--sc-rose), 0.5); stroke-width: 1; fill: none; }
.hero-cards .sc-b-curve {
  fill: none;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: stroke-width 0.5s var(--sc-smooth);
}
.hero-cards .sc-b-top   { stroke: #EBA7A2; }
.hero-cards .sc-b-heart { stroke: #D38684; }
.hero-cards .sc-b-base  { stroke: #B96C6B; }
@media (hover: hover) {
  .hero-cards .card:hover .sc-b-curve { stroke-width: 2.1; }
}

/* the playhead reveals the curves on first pass, then keeps scanning */
.hero-cards .sc-b-wipe { transform: translateX(-592px); }
.hero-cards .card.is-visible .sc-b-wipe {
  animation: sc-wipe 3s var(--sc-smooth) 0.9s forwards;
}
.hero-cards .sc-b-scan { opacity: 0; transform: translateX(8px); }
.hero-cards .card.is-visible .sc-b-scan {
  animation: sc-scan 10s var(--sc-smooth) 0.9s infinite;
}

.hero-cards .card.is-visible .sc-b-area {
  animation: sc-area 7s ease-in-out infinite;
  animation-delay: calc(4s + var(--i, 0) * 1.2s);
}

.hero-cards .sc-b-note,
.hero-cards .sc-b-hour {
  font-family: var(--font-sans);
  font-size: 7px;
  font-weight: 600;
  letter-spacing: 0.14em;
  opacity: 0;
}
.hero-cards .sc-b-hour { fill: #8A8280; font-weight: 500; }
.hero-cards .card.is-visible .sc-b-note,
.hero-cards .card.is-visible .sc-b-hour {
  animation: sc-fade-up 0.9s var(--sc-ease) forwards;
  animation-delay: calc(2.6s + var(--i, 0) * 0.14s);
}

.hero-cards .sc-b-puff {
  fill: #E39D98;
  opacity: 0;
  transform-box: fill-box;
  transform-origin: center;
}
.hero-cards .card.is-visible .sc-b-puff {
  animation: sc-puff 5s ease-out infinite;
  animation-delay: calc(3.4s + var(--i, 0) * 1.5s);
}

.hero-cards .chart-badge { z-index: 3; }
.hero-cards .card.is-visible .chart-badge {
  animation: sc-badge-in 1s var(--sc-ease) 1s forwards;
}
.hero-cards .chart-badge::before {
  content: "";
  display: inline-block;
  width: 5px;
  height: 5px;
  margin-right: 0.4rem;
  border-radius: 50%;
  background: #D38684;
  vertical-align: 1px;
}
.hero-cards .card.is-visible .chart-badge::before {
  animation: sc-dot 2.8s ease-in-out 2s infinite;
}

/* ── Card 3 — pure diffusion around a laurel halo ────────────────────────── */
.hero-cards .sc-c-glow { opacity: 0; }
.hero-cards .card.is-visible .sc-c-glow {
  animation: sc-glow-in 1.4s ease 0.6s forwards, sc-breathe 6s ease-in-out 2s infinite;
}
.hero-cards .sc-c-ring {
  fill: none;
  stroke: rgb(var(--sc-rose));
  stroke-width: 1;
  stroke-opacity: 0.3;
}
.hero-cards .card.is-visible .sc-c-ring {
  animation: sc-ring-breathe 8s ease-in-out infinite;
  animation-delay: calc(var(--i, 0) * 1.2s);
}
.hero-cards .sc-pulse {
  fill: none;
  stroke: rgba(var(--sc-rose), 0.55);
  stroke-width: 1;
  opacity: 0;
  transform-box: fill-box;
  transform-origin: center;
  transform: scale(0.3);
}
.hero-cards .card.is-visible .sc-pulse {
  animation: sc-diffuse 6.4s ease-out infinite;
  animation-delay: calc(0.8s + var(--i, 0) * 3.2s);
}

.hero-cards .sc-c-hover  { transform-origin: 0 0; transition: transform 0.9s var(--sc-ease); }
.hero-cards .sc-c-breathe,
.hero-cards .sc-wreath   { transform-origin: 0 0; }
@media (hover: hover) {
  .hero-cards .card:hover .sc-c-hover { transform: scale(1.06); }
}
.hero-cards .card.is-visible .sc-c-breathe { animation: sc-scale 8s ease-in-out infinite; }
.hero-cards .card.is-visible .sc-wreath    { animation: sc-spin 120s linear infinite; }
.hero-cards .sc-c-stem {
  fill: none;
  stroke: rgba(var(--sc-rose), 0.4);
  stroke-width: 0.8;
}
.hero-cards .sc-leaf {
  fill: rgba(var(--sc-rose), 0.2);
  stroke: #D38684;
  stroke-width: 0.8;
  stroke-linejoin: round;
  opacity: 0;
}
.hero-cards .card.is-visible .sc-leaf {
  animation: sc-fade 0.9s ease forwards;
  animation-delay: calc(0.7s + var(--i, 0) * 0.07s);
}

.hero-cards .sc-petal {
  fill: #E39D98;
  opacity: 0;
  transform-box: fill-box;
  transform-origin: center;
}
.hero-cards .card.is-visible .sc-petal {
  animation: sc-petal 10s ease-in-out infinite;
  animation-delay: calc(1.2s + var(--i, 0) * 2.4s);
}

/* ── Keyframes ──────────────────────────────────────────────────────────── */
@keyframes sc-draw { to { stroke-dashoffset: 0; } }
@keyframes sc-travel {
  0%   { stroke-dashoffset: 0.1; opacity: 0; }
  8%   { opacity: 1; }
  38%  { stroke-dashoffset: -1.05; opacity: 1; }
  42%  { stroke-dashoffset: -1.05; opacity: 0; }
  100% { stroke-dashoffset: -1.05; opacity: 0; }
}
@keyframes sc-ing-in { to { opacity: 1; transform: translateX(0); } }
@keyframes sc-ring-glow {
  0%, 30%, 100% { stroke: #E5D6D4; fill: #FFFFFF; }
  6%, 20%       { stroke: rgba(211, 134, 132, 0.85); fill: #FDF1F0; }
}
@keyframes sc-glyph-glow {
  0%, 30%, 100% { stroke: #6B6462; }
  6%, 20%       { stroke: #B96C6B; }
}
@keyframes sc-halo-ing {
  0%, 4%   { opacity: 0; transform: scale(1); }
  10%      { opacity: 1; }
  30%, 100% { opacity: 0; transform: scale(1.7); }
}
@keyframes sc-glow-in { to { opacity: 1; } }
@keyframes sc-breathe {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0.55; }
}
@keyframes sc-fill { to { transform: translateY(0); } }
@keyframes sc-sway {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-1.4px); }
}
@keyframes sc-wave { to { transform: translateX(-44px); } }
@keyframes sc-fade { to { opacity: 1; } }
@keyframes sc-twinkle {
  0%, 100% { opacity: 0;   transform: scale(0.4) rotate(0deg); }
  50%      { opacity: 0.9; transform: scale(1) rotate(45deg); }
}
@keyframes sc-wipe {
  0%, 10% { transform: translateX(-592px); }
  90%     { transform: translateX(-368px); }
  100%    { transform: translateX(0); }
}
@keyframes sc-scan {
  0%      { transform: translateX(8px);   opacity: 0; }
  3%      { transform: translateX(8px);   opacity: 1; }
  27%     { transform: translateX(232px); opacity: 1; }
  30%     { transform: translateX(240px); opacity: 0; }
  100%    { transform: translateX(240px); opacity: 0; }
}
@keyframes sc-area {
  0%, 100% { opacity: 0.8; }
  50%      { opacity: 1; }
}
@keyframes sc-fade-up {
  from { opacity: 0; transform: translateY(3px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes sc-puff {
  0%   { opacity: 0;   transform: translateY(0) scale(0.7); }
  25%  { opacity: 0.7; }
  100% { opacity: 0;   transform: translateY(-20px) scale(1.8); }
}
@keyframes sc-badge-in {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes sc-dot {
  0%, 100% { opacity: 1;   transform: scale(1); }
  50%      { opacity: 0.4; transform: scale(0.7); }
}
@keyframes sc-halo {
  0%   { opacity: 0.7; transform: scale(1); }
  100% { opacity: 0;   transform: scale(1.3); }
}
@keyframes sc-ring-breathe {
  0%, 100% { stroke-opacity: 0.3; }
  50%      { stroke-opacity: 0.8; }
}
@keyframes sc-diffuse {
  0%   { opacity: 0;   transform: scale(0.3); }
  18%  { opacity: 0.6; }
  100% { opacity: 0;   transform: scale(1.1); }
}
@keyframes sc-scale {
  0%, 100% { transform: scale(1); }
  50%      { transform: scale(1.04); }
}
@keyframes sc-spin { to { transform: rotate(360deg); } }
@keyframes sc-petal {
  0%   { opacity: 0;   transform: translate(0, 0) rotate(0deg); }
  20%  { opacity: 0.85; }
  80%  { opacity: 0.6; }
  100% { opacity: 0;   transform: translate(10px, -24px) rotate(140deg); }
}

/* ── Reduced motion: calm finished states, no loops ─────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .hero-cards .card.reveal { transform: none; transition: opacity 0.4s ease; }
  .hero-cards .card.reveal.is-visible:hover { transform: none; }
  .hero-cards .sc-stage *,
  .hero-cards .chart-badge,
  .hero-cards .chart-badge::before,
  .hero-cards .radar-hub::after { animation: none !important; }
  .hero-cards .sc-a-trace { stroke-dashoffset: 0; }
  .hero-cards .sc-ing,
  .hero-cards .sc-a-glow,
  .hero-cards .sc-c-glow,
  .hero-cards .sc-a-emblem,
  .hero-cards .sc-leaf,
  .hero-cards .sc-b-note,
  .hero-cards .sc-b-hour,
  .hero-cards .chart-badge { opacity: 1; transform: none; }
  .hero-cards .sc-a-rise,
  .hero-cards .sc-b-wipe { transform: none; }
}

/* ── Hero text: lighter weight, darker colour (hero cards untouched) ────── */
.hero-inner .chip { font-weight: 400; color: #1C1C1A; }
.hero-inner .chip .muted { color: #2B2927; }
.hero-inner .chip-arrow { color: #2B2927; }

.hero-title {
  font-weight: 600;
  color: #1C1C1A;
}
.hero-title .font-display { font-weight: 400; }

.hero-sub {
  font-weight: 400;
  color: #1C1C1A;
}

.hero-cta .btn-lg { font-weight: 600; }

.hero-meta {
  font-weight: 400;
  color: #1C1C1A;
}
.hero-meta span { color: #1C1C1A; }
.hero-meta i { color: #1C1C1A; }
/* ── Hero mobile tweaks (320px+ phones) ──────────────────────────────────
   .hero-main wraps the background + intro content (title, text, CTA, checklist).
   On desktop it is transparent (display: contents) so nothing changes.
   On phones the background covers only .hero-main, so the image ends with
   comfortable space below the checklist and no blank band appears under it. */
.hero-main { display: contents; }

@media (max-width: 639px) {
  .hero { padding: 0 0 3rem; }

  .hero-main {
    display: block;
    position: relative;
    isolation: isolate;
    padding: 3.5rem 0 3rem;   /* space below the checklist, inside the hero image */
  }

  .hero-main > .hero-bg {
    position: absolute;
    inset: 0;
    height: auto;
    min-height: 0;
  }

  .hero-bg-media,
  .hero-bg img {
    min-height: 0;
    object-position: 45% center;   /* nudges the photo to the right */
  }

  .hero-inner--cards .hero-cards { margin-top: 2rem; }
}

@media (max-width: 400px) {
  .hero-bg-media,
  .hero-bg img { object-position: 40% center; }
}

@media (max-width: 340px) {
  .hero-bg-media,
  .hero-bg img { object-position: 35% center; }
}
/* ── All buttons: rose theme colour ─────────────────────────────────────── */
.btn-purple, .btn-forest,
.btn-mobile-cta,
.cart-btn,
.cart-buy-btn,
.product-atc-btn,
.chat-send-btn,
.contact-form .btn-purple {
  background: var(--blue-accent) !important;   /* #D38684 */
  border-color: var(--blue-accent) !important;
  color: #FFFFFF !important;
}

.btn-purple:hover, .btn-forest:hover,
.btn-mobile-cta:hover,
.cart-btn:hover,
.cart-buy-btn:hover,
.product-atc-btn:hover,
.chat-send-btn:hover,
.contact-form .btn-purple:hover {
  background: var(--blue-hover) !important;    /* #B96C6B */
  border-color: var(--blue-hover) !important;
  color: #FFFFFF !important;
  box-shadow: 0 8px 28px rgba(211, 134, 132, 0.35);
}

/* Outlined buttons: rose border/text, fill rose on hover */
.btn-outline, .product-buy-btn, .svc-btn {
  color: var(--blue-hover);
  border-color: var(--blue-accent);
}
.btn-outline:hover, .product-buy-btn:hover, .svc-btn:hover {
  background: var(--blue-accent);
  border-color: var(--blue-accent);
  color: #FFFFFF;
}

@media (max-width: 900px) {
  .product-buy-btn {
    background: var(--blue-accent);
    border-color: var(--blue-accent);
    color: #FFFFFF;
  }
  .product-buy-btn:hover {
    background: var(--blue-hover);
    border-color: var(--blue-hover);
  }
}

/* ── Hero button: darker rose ───────────────────────────────────────────── */
.hero-cta .btn,
.hero-cta .btn-purple,
.hero-cta .btn-forest {
  background: #A85858 !important;
  border-color: #A85858 !important;
  color: #FFFFFF !important;
}

.hero-cta .btn:hover,
.hero-cta .btn-purple:hover,
.hero-cta .btn-forest:hover {
  background: #8F4647 !important;
  border-color: #8F4647 !important;
  color: #FFFFFF !important;
  box-shadow: 0 8px 28px rgba(143, 70, 71, 0.35);
}