/* ============================================================
   PALMROUTE — style.css
   Design system, components, animations, responsive styles
   ============================================================ */

/* ──────────────────────────────────────────────────────────
   DESIGN TOKENS
────────────────────────────────────────────────────────── */
:root {
  --nav-h: 72px;
  --color-sage:        #477047;
  --color-sage-light:  #a8c4a8;
  --color-teal:        #2d9d9d;
  --color-teal-dark:   #1e6565;
  --color-cream:       #fdfaf5;
  --color-warm:        #f2efe9;
  --color-text:        #3a3530;
  --color-text-muted:  #857569;
  --color-text-faint:  #bcb0a0;
  --color-border:      rgba(168, 196, 168, 0.22);

  --grad-brand:   linear-gradient(135deg, #477047 0%, #2d9d9d 100%);
  --grad-dark:    linear-gradient(145deg, #1e3c2d 0%, #1e4040 100%);
  --grad-hero:    linear-gradient(135deg, rgba(20,50,35,.76) 0%, rgba(30,64,64,.60) 100%);

  --shadow-xs:    0 2px 8px  rgba(0,0,0,.06);
  --shadow-sm:    0 4px 20px rgba(0,0,0,.07);
  --shadow-md:    0 8px 32px rgba(0,0,0,.09);
  --shadow-lg:    0 20px 60px rgba(0,0,0,.12);
  --shadow-brand: 0 8px 32px rgba(71,112,71,.32);

  --radius-card:  24px;
  --radius-pill:  999px;
  --ease:         cubic-bezier(.16,1,.3,1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-h);   /* KEY FIX: offsets anchor jumps for fixed nav */
  overflow-x: hidden;
  font-size: 16px;
}

body {
  font-family: 'DM Sans', system-ui, -apple-system, sans-serif;
  background: var(--color-cream);
  color: var(--color-text);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, video { display: block; max-width: 100%; height: auto; }
button { font-family: inherit; }
a { text-decoration: none; }

/* Custom scrollbar */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: #faf4e8; }
::-webkit-scrollbar-thumb { background: var(--color-sage-light); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--color-sage); }

/* ──────────────────────────────────────────────────────────
   NAVIGATION
────────────────────────────────────────────────────────── */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  z-index: 1000;
  transition: background .4s ease, box-shadow .4s ease;
}

.navbar.scrolled {
  background: rgba(253,250,245,.93);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 1px 28px rgba(0,0,0,.09);
}

.nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.5rem;
}

/* Logo */
.nav-logo {
  display: flex;
  align-items: center;
  gap: .5rem;
  color: #fff;
  transition: opacity .2s;
  flex-shrink: 0;
}
.nav-logo:hover { opacity: .85; }
.navbar.scrolled .nav-logo { color: #385838; }

.nav-logo-img {
  height: 36px;
  width: auto;
  object-fit: contain;
  display: block;
  filter: brightness(0) invert(1);
  transition: filter .3s;
}
.navbar.scrolled .nav-logo-img {
  filter: none;
}

/* Legacy icon fallback — hidden when img present */
.nav-logo-icon {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: var(--grad-brand);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.nav-logo-icon i { color: #fff; font-size: .85rem; }

.nav-logo-text {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.3rem;
  font-weight: 600;
  letter-spacing: .03em;
}

/* Desktop links */
.nav-links {
  display: none;
  align-items: center;
  gap: 1.75rem;
  list-style: none;
}
@media (min-width: 1024px) { .nav-links { display: flex; } }

.nav-link {
  font-size: .875rem;
  font-weight: 500;
  color: rgba(255,255,255,.82);
  position: relative;
  padding-bottom: 3px;
  transition: color .25s;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 1.5px;
  background: var(--color-sage-light);
  border-radius: 1px;
  transition: width .3s var(--ease);
}
.nav-link:hover, .nav-link.active { color: #fff; }
.nav-link:hover::after, .nav-link.active::after { width: 100%; }

.navbar.scrolled .nav-link { color: #6d6057; }
.navbar.scrolled .nav-link:hover,
.navbar.scrolled .nav-link.active { color: var(--color-sage); }
.navbar.scrolled .nav-link.active::after { background: var(--color-sage); }

/* Nav CTA */
.nav-cta {
  display: none;
  align-items: center;
  gap: .45rem;
  font-size: .85rem;
  font-weight: 600;
  padding: .55rem 1.3rem;
  border-radius: var(--radius-pill);
  background: rgba(255,255,255,.12);
  border: 1.5px solid rgba(255,255,255,.35);
  color: #fff;
  backdrop-filter: blur(8px);
  transition: all .25s;
  white-space: nowrap;
}
.nav-cta:hover { background: rgba(255,255,255,.22); transform: translateY(-1px); }
.navbar.scrolled .nav-cta {
  background: var(--grad-brand);
  border-color: transparent;
  box-shadow: var(--shadow-brand);
}
@media (min-width: 768px) { .nav-cta { display: flex; } }

/* Hamburger */
.hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px; height: 40px;
  border: 1.5px solid rgba(255,255,255,.25);
  border-radius: 10px;
  background: rgba(255,255,255,.08);
  cursor: pointer;
  transition: all .25s;
  flex-shrink: 0;
}
.hamburger:hover { background: rgba(255,255,255,.18); }
.navbar.scrolled .hamburger {
  border-color: rgba(71,112,71,.3);
  background: rgba(71,112,71,.08);
}

.hamburger span {
  display: block;
  width: 18px; height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: all .3s var(--ease);
  transform-origin: center;
}
.navbar.scrolled .hamburger span { background: #385838; }

.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (min-width: 1024px) { .hamburger { display: none; } }

/* Mobile fullscreen drawer */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgba(20,45,30,.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .25rem;
  transform: translateX(100%);
  transition: transform .45s var(--ease);
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0);
  pointer-events: auto;
}

.mobile-menu a {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.2rem;
  font-weight: 500;
  color: rgba(255,255,255,.82);
  padding: .45rem 2rem;
  letter-spacing: .03em;
  transition: color .2s, transform .2s;
}
.mobile-menu a:hover { color: var(--color-sage-light); transform: translateX(4px); }

.mobile-menu-cta {
  margin-top: 2rem;
  display: flex !important;
  align-items: center;
  gap: .55rem;
  background: var(--grad-brand) !important;
  font-family: 'DM Sans', sans-serif !important;
  font-size: 1rem !important;
  font-weight: 600 !important;
  color: #fff !important;
  padding: .9rem 2.5rem !important;
  border-radius: var(--radius-pill) !important;
  box-shadow: var(--shadow-brand) !important;
  transform: none !important;
}

/* ──────────────────────────────────────────────────────────
   HERO SECTION
────────────────────────────────────────────────────────── */
#hero {
  min-height: 100vh;
  min-height: 100svh;
  background:
    radial-gradient(ellipse 75% 90% at 18% 50%, rgba(5,16,10,.92) 0%, transparent 60%),
    linear-gradient(135deg, rgba(5,16,10,.9) 0%, rgba(8,22,22,.72) 45%, rgba(5,16,10,.88) 100%),
    url('https://images.unsplash.com/photo-1560066984-138dadb4c035?w=1800&q=85&auto=format&fit=crop')
    center / cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

/* Generic hero for industry pages — background-image set via inline style */
.niche-hero {
  min-height: 100vh;
  min-height: 100svh;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.niche-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 75% 90% at 18% 50%, rgba(5,16,10,.92) 0%, transparent 62%),
    linear-gradient(135deg, rgba(5,16,10,.9) 0%, rgba(8,22,22,.7) 45%, rgba(5,16,10,.88) 100%);
  z-index: 1;
}
.niche-hero .hero-orb,
#hero .hero-orb            { z-index: 2; }
.niche-hero .hero-particles,
#hero .hero-particles      { z-index: 3; }
.niche-hero .hero-content,
#hero .hero-content        { z-index: 3; }
.niche-hero .scroll-hint,
#hero .scroll-hint         { z-index: 3; }

/* Particle layer */
.hero-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.particle {
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,.14);
  animation: floatParticle linear infinite;
}

@keyframes floatParticle {
  0%   { transform: translateY(110vh) scale(0); opacity: 0; }
  8%   { opacity: 1; }
  92%  { opacity: .55; }
  100% { transform: translateY(-15vh) scale(1); opacity: 0; }
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  padding: calc(var(--nav-h) + 4rem) 1.25rem 5rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.22);
  backdrop-filter: blur(8px);
  border-radius: var(--radius-pill);
  padding: .4rem 1.15rem;
  font-size: .72rem;
  color: rgba(255,255,255,.88);
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: 1.75rem;
}
.badge-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--color-sage-light);
  animation: dotPulse 2s infinite;
}

@keyframes dotPulse {
  0%,100% { opacity: 1; transform: scale(1); }
  50%      { opacity: .5; transform: scale(1.5); }
}

.hero-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.5rem, 7.5vw, 5rem);
  font-weight: 600;
  line-height: 1.05;
  color: #fff;
  margin-bottom: 1.5rem;
  letter-spacing: -.01em;
}
.hero-title em {
  font-style: italic;
  color: var(--color-sage-light);
}

.hero-sub {
  font-size: clamp(.975rem, 2.5vw, 1.2rem);
  color: rgba(255,255,255,.72);
  max-width: 580px;
  margin: 0 auto 2.5rem;
  line-height: 1.75;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: .875rem;
  justify-content: center;
  margin-bottom: 3.5rem;
}

/* Trust bar */
.hero-trust {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1rem 1.5rem;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: .5rem;
  color: rgba(255,255,255,.68);
  font-size: .875rem;
}
.trust-avatars {
  display: flex;
  align-items: center;
}
.trust-avatar {
  width: 30px; height: 30px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,.28);
  object-fit: cover;
  margin-left: -7px;
}
.trust-avatars .trust-avatar:first-child { margin-left: 0; }
.trust-avatar-more {
  width: 30px; height: 30px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,.28);
  background: #477047;
  display: flex; align-items: center; justify-content: center;
  font-size: .65rem; font-weight: 700; color: #fff;
  margin-left: -7px;
}
.trust-stars { color: #fbbf24; letter-spacing: 1px; font-size: .85rem; }
.trust-sep {
  width: 4px; height: 4px;
  border-radius: 50%;
  background: rgba(255,255,255,.22);
}
@media (max-width: 480px) { .trust-sep { display: none; } }

/* Scroll hint */
.scroll-hint {
  position: absolute;
  bottom: 2rem; left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column;
  align-items: center; gap: .4rem;
  color: rgba(255,255,255,.32);
  font-size: .65rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  animation: hintBounce 2.2s ease-in-out infinite;
}
@keyframes hintBounce {
  0%,100% { transform: translateX(-50%) translateY(0); }
  50%      { transform: translateX(-50%) translateY(7px); }
}

/* ──────────────────────────────────────────────────────────
   BUTTONS
────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  font-size: .95rem;
  border-radius: var(--radius-pill);
  border: none;
  cursor: pointer;
  padding: .875rem 2rem;
  transition: all .3s var(--ease);
  white-space: nowrap;
  line-height: 1;
}

.btn-primary {
  background: var(--grad-brand);
  color: #fff;
  box-shadow: var(--shadow-brand);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 40px rgba(71,112,71,.45);
}

.btn-ghost {
  background: rgba(255,255,255,.1);
  border: 1.5px solid rgba(255,255,255,.45);
  color: #fff;
  backdrop-filter: blur(8px);
}
.btn-ghost:hover {
  background: rgba(255,255,255,.2);
  transform: translateY(-2px);
}

.btn-outline-sage {
  background: transparent;
  border: 2px solid var(--color-sage);
  color: var(--color-sage);
  font-weight: 600;
}
.btn-outline-sage:hover { background: rgba(71,112,71,.06); transform: translateY(-2px); }

.btn-outline-teal {
  background: transparent;
  border: 2px solid var(--color-teal);
  color: var(--color-teal);
  font-weight: 600;
}
.btn-outline-teal:hover { background: rgba(45,157,157,.06); transform: translateY(-2px); }

.btn-white {
  background: #fff;
  color: #385838;
  font-weight: 700;
}
.btn-white:hover { background: #f4f7f4; transform: translateY(-2px); }

.btn-lg { padding: 1rem 2.5rem; font-size: 1rem; }
.btn-sm { padding: .6rem 1.4rem; font-size: .85rem; }

/* ──────────────────────────────────────────────────────────
   SECTION UTILITIES
────────────────────────────────────────────────────────── */
.section-pad { padding: 6rem 1.5rem; }

.section-inner {
  max-width: 1152px;
  margin: 0 auto;
}

.section-center { text-align: center; }

.section-label {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--color-sage);
  margin-bottom: 1rem;
}
.section-label::before,
.section-label::after {
  content: '';
  width: 24px; height: 1.5px;
  background: var(--grad-brand);
  border-radius: 1px;
}

.display-h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 5.5vw, 3.6rem);
  font-weight: 600;
  line-height: 1.08;
  color: var(--color-text);
}
.display-h2 em {
  font-style: italic;
  background: var(--grad-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.display-h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.5rem, 3.5vw, 2.25rem);
  font-weight: 500;
  color: var(--color-text);
  line-height: 1.2;
}

.lead { font-size: 1.05rem; color: var(--color-text-muted); line-height: 1.75; }

.gradient-text {
  background: var(--grad-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.divider {
  width: 52px; height: 2px;
  border-radius: 1px;
  background: var(--grad-brand);
}

/* Background variants */
.bg-cream { background: var(--color-cream); }
.bg-warm  { background: var(--color-warm); }
.bg-mesh  {
  background:
    radial-gradient(ellipse at 12% 50%, rgba(168,196,168,.16) 0%, transparent 55%),
    radial-gradient(ellipse at 88% 18%, rgba(244,176,176,.11) 0%, transparent 50%),
    radial-gradient(ellipse at 55% 88%, rgba(212,162,94,.08) 0%, transparent 45%),
    var(--color-cream);
}

/* ──────────────────────────────────────────────────────────
   SCROLL REVEAL ANIMATIONS
────────────────────────────────────────────────────────── */
.reveal,
.reveal-left,
.reveal-right,
.reveal-scale {
  opacity: 0;
  will-change: opacity, transform;
}
.reveal       { transform: translateY(32px); }
.reveal-left  { transform: translateX(-44px); }
.reveal-right { transform: translateX(44px); }
.reveal-scale { transform: scale(.9); }

.reveal,
.reveal-left,
.reveal-right,
.reveal-scale {
  transition: opacity .75s var(--ease), transform .75s var(--ease);
}

.reveal.visible,
.reveal-left.visible,
.reveal-right.visible,
.reveal-scale.visible {
  opacity: 1;
  transform: none;
}

/* Stagger delays */
.d1 { transition-delay: .08s; }
.d2 { transition-delay: .18s; }
.d3 { transition-delay: .28s; }
.d4 { transition-delay: .38s; }
.d5 { transition-delay: .48s; }
.d6 { transition-delay: .58s; }

/* ──────────────────────────────────────────────────────────
   PROBLEM SECTION
────────────────────────────────────────────────────────── */
.pain-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  padding: 2rem 1.75rem;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
  position: relative;
  overflow: hidden;
}
.pain-card::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(244,176,176,.06), rgba(168,196,168,.06));
  opacity: 0;
  transition: opacity .3s;
}
.pain-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(168,196,168,.5);
}
.pain-card:hover::before { opacity: 1; }

.pain-card.highlight {
  background: linear-gradient(135deg, #f4f7f4, #e8f0e8);
  border-color: rgba(168,196,168,.35);
}

.pain-icon {
  width: 50px; height: 50px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
  margin-bottom: 1.25rem;
  flex-shrink: 0;
}

/* ──────────────────────────────────────────────────────────
   SOLUTION SECTION
────────────────────────────────────────────────────────── */
.solution-card {
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.solution-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.sol-dark { background: var(--grad-dark); padding: 3rem 2.5rem; }
.sol-light { background: linear-gradient(145deg, var(--color-cream), var(--color-warm)); padding: 2.5rem; }
.sol-img { width: 100%; height: 10rem; object-fit: cover; }

.live-tag {
  display: inline-flex; align-items: center; gap: .45rem;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.15);
  color: rgba(255,255,255,.82);
  font-size: .72rem; font-weight: 600;
  border-radius: var(--radius-pill);
  padding: .32rem .9rem;
  margin-bottom: 1.4rem;
}
.live-tag-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #4ade80;
  animation: dotPulse 1.8s infinite;
}

.auto-tag {
  display: inline-flex; align-items: center; gap: .45rem;
  background: rgba(168,196,168,.15);
  color: var(--color-sage);
  font-size: .72rem; font-weight: 600;
  border-radius: var(--radius-pill);
  padding: .32rem .9rem;
  margin-bottom: 1.4rem;
}

.sol-feature {
  display: flex; align-items: flex-start; gap: .7rem;
  font-size: .875rem;
  margin-bottom: .65rem;
}

/* ──────────────────────────────────────────────────────────
   DEMO / PHONE SECTION
────────────────────────────────────────────────────────── */
.demo-layout {
  display: flex;
  align-items: flex-start;
  gap: 4rem;
  justify-content: center;
}
@media (max-width: 1023px) {
  .demo-layout {
    flex-direction: column;
    align-items: center;
    gap: 3rem;
  }
}

.phone-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
}

.phone-frame {
  width: 265px;
  height: 530px;
  background: #111;
  border-radius: 46px;
  box-shadow:
    0 40px 100px rgba(0,0,0,.45),
    0 0 0 1.5px rgba(255,255,255,.07),
    inset 0 0 0 2px #222;
  position: relative;
  overflow: hidden;
}

.phone-notch {
  position: absolute;
  top: 12px; left: 50%;
  transform: translateX(-50%);
  width: 96px; height: 28px;
  background: #111;
  border-radius: 0 0 18px 18px;
  z-index: 10;
}

.phone-screen {
  position: absolute; inset: 0;
  background: linear-gradient(160deg, #192e1c 0%, #0e2020 100%);
  display: flex;
  flex-direction: column;
  padding: 3.5rem 1.25rem 1.5rem;
  overflow: hidden;
}

/* Idle */
.call-idle {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex: 1;
  gap: 1rem;
  text-align: center;
}
.call-idle-name { color: rgba(255,255,255,.4); font-size: .7rem; line-height: 1.6; }

.call-ring-btn {
  width: 108px; height: 108px;
  border-radius: 50%;
  background: var(--grad-brand);
  border: none;
  display: flex; align-items: center; justify-content: center;
  font-size: 2.2rem; color: #fff;
  cursor: pointer;
  box-shadow: 0 0 0 0 rgba(71,112,71,.5);
  animation: ringPulse 2.5s infinite;
  transition: transform .2s;
}
.call-ring-btn:hover { transform: scale(1.06); }
@keyframes ringPulse {
  0%  { box-shadow: 0 0 0 0 rgba(71,112,71,.5); }
  70% { box-shadow: 0 0 0 26px rgba(71,112,71,0); }
  100%{ box-shadow: 0 0 0 0 rgba(71,112,71,0); }
}

.call-tap-hint { color: rgba(255,255,255,.35); font-size: .7rem; line-height: 1.5; }

/* Active call */
.call-active {
  display: none;
  flex-direction: column;
  flex: 1;
  min-height: 0;
}
.call-active.visible { display: flex; }

.call-status {
  display: flex; align-items: center; gap: .5rem;
  margin-bottom: 1rem;
  font-size: .72rem;
  color: #4ade80;
  font-weight: 500;
}
.call-status-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #4ade80;
  animation: dotPulse 1.5s infinite;
}

.chat-messages {
  display: flex;
  flex-direction: column;
  gap: .45rem;
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-width: none;
}
.chat-messages::-webkit-scrollbar { display: none; }

.chat-bubble {
  max-width: 90%;
  border-radius: 16px;
  padding: .6rem .9rem;
  font-size: .74rem;
  line-height: 1.5;
  animation: bubbleIn .35s var(--ease);
}
@keyframes bubbleIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}
.bubble-ai {
  background: rgba(71,112,71,.28);
  color: #c5e5c5;
  align-self: flex-start;
  border-bottom-left-radius: 4px;
}
.bubble-user {
  background: rgba(45,157,157,.28);
  color: #b0e0e0;
  align-self: flex-end;
  border-bottom-right-radius: 4px;
}

.call-end-btn {
  background: none; border: none;
  color: rgba(248,113,113,.65);
  font-size: .7rem; font-family: inherit;
  cursor: pointer;
  display: flex; align-items: center; gap: .4rem;
  align-self: center; margin-top: .75rem;
  padding: .3rem .75rem;
  border-radius: var(--radius-pill);
  transition: all .2s;
}
.call-end-btn:hover { color: #f87171; background: rgba(248,113,113,.1); }

/* Steps */
.steps-wrap { flex: 1; max-width: 520px; width: 100%; }

.step-item {
  display: flex;
  gap: 1.25rem;
  position: relative;
}

.step-left {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
}

.step-dot {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--grad-brand);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 700; font-size: .9rem;
  box-shadow: 0 4px 16px rgba(71,112,71,.3);
  flex-shrink: 0;
}

.step-line {
  width: 2px;
  flex: 1;
  min-height: 20px;
  background: linear-gradient(to bottom, var(--color-sage-light), transparent);
  margin-top: 6px;
}

.step-body { padding-bottom: 2.25rem; }

/* ──────────────────────────────────────────────────────────
   FEATURES SECTION
────────────────────────────────────────────────────────── */
.feature-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  padding: 1.75rem;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
  position: relative;
  overflow: hidden;
}
.feature-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2.5px;
  background: var(--grad-brand);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s var(--ease);
}
.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(168,196,168,.45);
}
.feature-card:hover::after { transform: scaleX(1); }

.feat-icon {
  width: 46px; height: 46px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.15rem;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, rgba(168,196,168,.2), rgba(45,157,157,.08));
}

/* ──────────────────────────────────────────────────────────
   RESULTS — STATS
────────────────────────────────────────────────────────── */
.stat-card {
  background: linear-gradient(135deg, #fff, var(--color-cream));
  border-radius: var(--radius-card);
  padding: 2.25rem 1.75rem;
  border: 1px solid var(--color-border);
  text-align: center;
  transition: transform .3s;
}
.stat-card:hover { transform: translateY(-4px); }

.stat-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.6rem, 6vw, 3.6rem);
  font-weight: 700;
  line-height: 1;
  background: var(--grad-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: block;
}

/* ──────────────────────────────────────────────────────────
   BEFORE / AFTER
────────────────────────────────────────────────────────── */
.metric-row { margin-bottom: 1.25rem; }

.metric-bar-track {
  height: 8px;
  border-radius: var(--radius-pill);
  background: rgba(168,196,168,.12);
  overflow: hidden;
  margin-top: .45rem;
}

.metric-bar {
  height: 100%;
  border-radius: var(--radius-pill);
  width: 0;
  transition: width 1.6s var(--ease);
}

.bar-before { background: #f4b0b0; }
.bar-after  { background: var(--grad-brand); }

/* ──────────────────────────────────────────────────────────
   TESTIMONIALS
────────────────────────────────────────────────────────── */
.testimonial-card {
  background: #fff;
  border-radius: var(--radius-card);
  padding: 2rem;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-xs);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.testimonial-card.dark {
  background: var(--grad-dark);
  border-color: transparent;
  box-shadow: 0 10px 48px rgba(20,50,32,.4);
}

.stars { color: #d4a25e; letter-spacing: 2px; font-size: .85rem; }

/* ──────────────────────────────────────────────────────────
   PRICING
────────────────────────────────────────────────────────── */
/* ── PRICING GRID ─────────────────────────────────────────── */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  align-items: stretch;
}
@media (max-width: 940px) {
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 460px;
    margin: 0 auto;
  }
}

/* ── PRICE CARD BASE ──────────────────────────────────────── */
.price-card {
  background: #fff;
  border-radius: 20px;
  border: 1.5px solid rgba(168,196,168,.22);
  padding: 2rem 1.75rem 1.75rem;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: box-shadow .3s ease, transform .3s ease;
}
.price-card:not(.featured):hover {
  box-shadow: 0 16px 48px rgba(71,112,71,.11);
  transform: translateY(-3px);
}

/* ── FEATURED CARD ────────────────────────────────────────── */
.price-card.featured {
  background: linear-gradient(155deg, #182f22 0%, #1a3630 60%, #1e3838 100%);
  border: none;
  box-shadow: 0 28px 72px rgba(18,46,30,.5), inset 0 1px 0 rgba(168,196,168,.15);
}
.price-card.featured::before {
  content: '';
  position: absolute;
  top: 0; left: 50%; transform: translateX(-50%);
  width: 45%; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(168,196,168,.45), transparent);
}
@media (min-width: 941px) {
  .price-card.featured { transform: translateY(-10px); }
  .price-card.featured:hover { transform: translateY(-14px); }
}

/* ── POPULAR BADGE — inline pill ──────────────────────────── */
.popular-badge {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  background: rgba(212,162,94,.1);
  border: 1px solid rgba(212,162,94,.28);
  color: #c5894a;
  font-size: .6rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: .28rem .75rem;
  border-radius: 100px;
  margin-bottom: 1.15rem;
  width: fit-content;
}

/* ── TIER LABEL ───────────────────────────────────────────── */
.price-tier-label {
  font-size: .64rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--color-sage);
  margin-bottom: .45rem;
}
.price-card.featured .price-tier-label { color: rgba(168,196,168,.55); }

/* ── PRICE AMOUNT ─────────────────────────────────────────── */
.price-amount {
  font-family: 'Cormorant Garamond', serif;
  font-size: 3.6rem;
  font-weight: 600;
  line-height: 1;
  color: var(--color-text);
  display: flex;
  align-items: flex-end;
  gap: .12rem;
}
.price-card.featured .price-amount { color: #fff; }
.price-amount sub {
  font-family: 'DM Sans', sans-serif;
  font-size: .82rem;
  font-weight: 400;
  color: var(--color-text-faint);
  margin-bottom: .38rem;
  line-height: 1;
}
.price-card.featured .price-amount sub { color: rgba(255,255,255,.32); }

/* ── SETUP NOTE ───────────────────────────────────────────── */
.price-setup-note {
  font-size: .72rem;
  color: var(--color-text-muted);
  margin-top: .3rem;
  font-weight: 500;
  letter-spacing: -.01em;
}
.price-card.featured .price-setup-note { color: rgba(255,255,255,.62); }

/* ── PRICE DESC ───────────────────────────────────────────── */
.price-desc {
  font-size: .8rem;
  color: var(--color-text-muted);
  line-height: 1.5;
  margin-top: .6rem;
}
.price-card.featured .price-desc { color: rgba(255,255,255,.42); }

/* ── DIVIDER ──────────────────────────────────────────────── */
.price-divider {
  height: 1px;
  background: rgba(168,196,168,.22);
  margin: 1.4rem 0;
}
.price-card.featured .price-divider { background: rgba(255,255,255,.08); }

/* ── FEATURE LIST (flex:1 pushes button to bottom) ─────────── */
.price-features-list {
  display: flex;
  flex-direction: column;
  gap: .5rem;
  flex: 1;
}

.price-feature {
  display: flex;
  align-items: flex-start;
  gap: .65rem;
  font-size: .82rem;
  color: var(--color-text-muted);
  line-height: 1.45;
}
.pf-icon {
  width: 17px;
  height: 17px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: .52rem;
  flex-shrink: 0;
  margin-top: 1.5px;
}
.price-feature.included .pf-icon {
  background: rgba(71,112,71,.1);
  color: var(--color-sage);
}
.price-feature.excluded {
  opacity: .45;
}
.price-feature.excluded .pf-icon {
  background: rgba(188,176,160,.12);
  color: var(--color-text-faint);
}
.price-card.featured .price-feature { color: rgba(255,255,255,.7); }
.price-card.featured .price-feature.included .pf-icon {
  background: rgba(168,196,168,.18);
  color: #a8c4a8;
}
.price-card.featured .price-feature.excluded { opacity: .3; }
.price-card.featured .price-feature.excluded .pf-icon {
  background: rgba(255,255,255,.07);
  color: rgba(255,255,255,.3);
}

/* ── BUTTON WRAP ──────────────────────────────────────────── */
.price-btn-wrap { margin-top: 1.75rem; }

/* ──────────────────────────────────────────────────────────
   GUARANTEE STRIP
────────────────────────────────────────────────────────── */
.guarantee-strip {
  display: inline-flex; align-items: center; gap: 1rem;
  background: #fff;
  border-radius: 20px;
  border: 1px solid rgba(168,196,168,.25);
  padding: 1.1rem 1.75rem;
  box-shadow: var(--shadow-sm);
}

/* ──────────────────────────────────────────────────────────
   FINAL CTA SECTION
────────────────────────────────────────────────────────── */
.cta-section {
  background: var(--grad-dark);
  padding: 7rem 1.5rem;
  text-align: center;
}

/* ──────────────────────────────────────────────────────────
   FOOTER
────────────────────────────────────────────────────────── */
footer {
  background: linear-gradient(160deg, #131f14 0%, #0d1a1a 100%);
  padding: 5.5rem 1.5rem 2.5rem;
}

.footer-inner {
  max-width: 1152px;
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
}
@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}
@media (max-width: 480px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

.footer-logo {
  display: flex; align-items: center; gap: .5rem;
  margin-bottom: 1rem;
}
.footer-logo-img {
  height: 40px;
  width: auto;
  object-fit: contain;
  display: block;
  filter: brightness(0) invert(1);
}

/* Legacy icon fallback */
.footer-logo-icon {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: var(--grad-brand);
  display: flex; align-items: center; justify-content: center;
}
.footer-logo-text {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.25rem; font-weight: 600;
  color: #fff; letter-spacing: .03em;
}

.footer-tagline { color: rgba(255,255,255,.38); font-size: .875rem; line-height: 1.7; max-width: 280px; }

.footer-socials { display: flex; gap: .6rem; margin-top: 1.25rem; }
.footer-social-link {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,.06);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.4); font-size: .9rem;
  transition: all .2s;
}
.footer-social-link:hover { background: rgba(255,255,255,.12); color: var(--color-sage-light); }

.footer-col-label {
  font-size: .68rem; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
  color: rgba(255,255,255,.55);
  margin-bottom: 1rem;
}

.footer-link {
  display: block; margin-bottom: .6rem;
  color: rgba(255,255,255,.38);
  font-size: .875rem;
  transition: color .2s;
}
.footer-link:hover { color: var(--color-sage-light); }

.footer-contact-row {
  display: flex; align-items: center; gap: .6rem;
  color: rgba(255,255,255,.38); font-size: .875rem;
  margin-bottom: .65rem;
}
.footer-contact-row i { color: var(--color-sage-light); font-size: .78rem; width: 14px; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.07);
  padding-top: 2rem; margin-top: 4rem;
  display: flex; flex-wrap: wrap;
  align-items: center; justify-content: space-between;
  gap: 1rem;
}
.footer-copy { color: rgba(255,255,255,.25); font-size: .8rem; }
.footer-legal { display: flex; gap: 1.5rem; }
.footer-legal a { color: rgba(255,255,255,.28); font-size: .78rem; transition: color .2s; }
.footer-legal a:hover { color: rgba(255,255,255,.6); }

/* ──────────────────────────────────────────────────────────
   FLOATING ELEMENTS
────────────────────────────────────────────────────────── */
.floating-cta {
  position: fixed;
  bottom: 1.75rem; right: 1.75rem;
  z-index: 998;
  display: flex; align-items: center; gap: .55rem;
  background: var(--grad-brand);
  color: #fff;
  font-weight: 600; font-size: .88rem;
  padding: .82rem 1.5rem;
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-brand);
  transition: all .3s var(--ease);
  animation: floatUpDown 3.5s ease-in-out infinite;
}
.floating-cta:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 14px 40px rgba(71,112,71,.5);
  animation-play-state: paused;
}
@keyframes floatUpDown {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(-6px); }
}

.chatbot-widget {
  position: fixed;
  bottom: 1.75rem; left: 1.75rem;
  z-index: 998;
}

.chatbot-bubble {
  background: #fff;
  border: 1.5px solid rgba(168,196,168,.4);
  border-radius: 18px 18px 18px 4px;
  padding: .7rem 1rem;
  box-shadow: var(--shadow-md);
  color: #385838; font-size: .8rem; font-weight: 500;
  max-width: 192px; margin-bottom: .6rem;
  opacity: 0; transform: translateY(12px);
  animation: chatPop .5s var(--ease) 1.5s forwards;
}
@keyframes chatPop {
  to { opacity: 1; transform: translateY(0); }
}

.chatbot-btn {
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--grad-brand);
  border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 1.1rem;
  box-shadow: 0 4px 16px rgba(71,112,71,.3);
  transition: transform .2s;
}
.chatbot-btn:hover { transform: scale(1.1); }

/* ──────────────────────────────────────────────────────────
   INDUSTRY NICHE TOPBAR (on industry landing pages)
────────────────────────────────────────────────────────── */
.niche-topbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 36px;
  background: var(--grad-dark);
  z-index: 1001;
  display: flex;
  align-items: center;
  justify-content: center;
}

.niche-topbar-inner {
  max-width: 1280px;
  width: 100%;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.niche-back-link {
  display: flex;
  align-items: center;
  gap: .45rem;
  color: rgba(255,255,255,.6);
  font-size: .75rem;
  font-weight: 500;
  letter-spacing: .02em;
  transition: color .2s;
}
.niche-back-link:hover { color: var(--color-sage-light); }
.niche-back-link i { font-size: .65rem; }

.niche-breadcrumb {
  font-size: .72rem;
  color: rgba(255,255,255,.35);
  letter-spacing: .05em;
}
.niche-breadcrumb span { color: var(--color-sage-light); }

.niche-tag {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  background: rgba(168,196,168,.15);
  border: 1px solid rgba(168,196,168,.25);
  color: var(--color-sage-light);
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  border-radius: var(--radius-pill);
  padding: .18rem .7rem;
}

/* When topbar is present, shift navbar down */
.has-topbar .navbar { top: 36px; }
.has-topbar { padding-top: 36px; }

/* ──────────────────────────────────────────────────────────
   GENERAL HOMEPAGE — HERO (no photo, gradient)
────────────────────────────────────────────────────────── */
#hero-general {
  min-height: 100vh;
  min-height: 100svh;
  background:
    radial-gradient(ellipse 900px 700px at 8% 42%,  rgba(71,112,71,.38)  0%, transparent 60%),
    radial-gradient(ellipse 750px 600px at 94% 62%, rgba(45,157,157,.28)  0%, transparent 58%),
    radial-gradient(ellipse 500px 380px at 52% 2%,  rgba(168,196,168,.12) 0%, transparent 52%),
    linear-gradient(155deg, rgba(4,9,5,.94) 0%, rgba(9,20,13,.9) 28%, rgba(7,18,18,.88) 62%, rgba(3,10,10,.94) 100%),
    url('https://images.unsplash.com/photo-1486325212027-8081e485255e?w=1920&q=85&auto=format&fit=crop') center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

/* Animated gradient orbs */
.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  animation: orbFloat ease-in-out infinite;
}
.hero-orb-1 {
  width: 720px; height: 720px;
  background: rgba(71,112,71,.26);
  top: -180px; left: -160px;
  animation-duration: 14s;
}
.hero-orb-2 {
  width: 600px; height: 600px;
  background: rgba(45,157,157,.2);
  bottom: -120px; right: -100px;
  animation-duration: 18s;
  animation-delay: -6s;
}
.hero-orb-3 {
  width: 420px; height: 420px;
  background: rgba(168,196,168,.1);
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  animation-duration: 22s;
  animation-delay: -10s;
}
@keyframes orbFloat {
  0%,100% { transform: translate(0,0) scale(1); }
  33%      { transform: translate(30px,-20px) scale(1.08); }
  66%      { transform: translate(-20px,25px) scale(.94); }
}

/* Grid lines overlay — disabled */
.hero-grid { display: none; }

/* ──────────────────────────────────────────────────────────
   INDUSTRY CARDS GRID
────────────────────────────────────────────────────────── */
.industries-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

@media (max-width: 1024px) { .industries-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px)  { .industries-grid { grid-template-columns: repeat(1, 1fr); gap: 1rem; } }

.industry-card {
  position: relative;
  border-radius: var(--radius-card);
  overflow: hidden;
  border: 1px solid var(--color-border);
  background: #fff;
  transition: all .35s var(--ease);
  display: flex;
  flex-direction: column;
}
.industry-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(168,196,168,.5);
}

.industry-card-img {
  width: 100%; height: 160px;
  object-fit: cover;
  display: block;
  transition: transform .5s var(--ease);
}
.industry-card:hover .industry-card-img { transform: scale(1.05); }

.industry-card-img-wrap {
  overflow: hidden;
  flex-shrink: 0;
  position: relative;
}

.industry-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(20,40,24,.65) 0%, transparent 60%);
}

.industry-card-body {
  padding: 1.5rem 1.5rem 1.75rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.industry-icon {
  width: 40px; height: 40px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, rgba(168,196,168,.18), rgba(45,157,157,.08));
}

.industry-status-live {
  display: inline-flex; align-items: center; gap: .35rem;
  background: rgba(71,112,71,.1);
  border: 1px solid rgba(71,112,71,.2);
  color: var(--color-sage);
  font-size: .62rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  border-radius: var(--radius-pill);
  padding: .2rem .65rem;
  margin-bottom: .85rem;
}
.industry-status-live::before {
  content: '';
  width: 5px; height: 5px;
  border-radius: 50%;
  background: currentColor;
  animation: dotPulse 2s infinite;
}

.industry-status-soon {
  display: inline-flex; align-items: center; gap: .35rem;
  background: rgba(188,176,160,.12);
  border: 1px solid rgba(188,176,160,.2);
  color: var(--color-text-faint);
  font-size: .62rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  border-radius: var(--radius-pill);
  padding: .2rem .65rem;
  margin-bottom: .85rem;
}

.industry-link {
  margin-top: auto;
  padding-top: 1rem;
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  font-size: .8rem;
  font-weight: 600;
  color: var(--color-sage);
  transition: gap .2s;
}
.industry-card:hover .industry-link { gap: .75rem; }

/* ──────────────────────────────────────────────────────────
   PRODUCT SHOWCASE (general homepage)
────────────────────────────────────────────────────────── */
.product-showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
@media (max-width: 900px) {
  .product-showcase {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .product-showcase.reverse { direction: ltr; }
}
.product-showcase.reverse { direction: rtl; }
.product-showcase.reverse > * { direction: ltr; }

.product-visual {
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: relative;
}
.product-visual img {
  width: 100%; height: 380px;
  object-fit: cover;
  display: block;
  transition: transform .6s var(--ease);
}
.product-visual:hover img { transform: scale(1.04); }

.product-badge {
  position: absolute;
  bottom: 1.5rem; left: 1.5rem;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(8px);
  border-radius: 14px;
  padding: .75rem 1.1rem;
  display: flex; align-items: center; gap: .65rem;
  box-shadow: var(--shadow-md);
}
.product-badge-icon {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: var(--grad-brand);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: .9rem;
  flex-shrink: 0;
}

.capability-list { list-style: none; margin-top: 1.5rem; }
.capability-list li {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  padding: .65rem 0;
  border-bottom: 1px solid rgba(168,196,168,.12);
  font-size: .9rem;
  color: var(--color-text-muted);
  line-height: 1.5;
}
.capability-list li:last-child { border-bottom: none; }
.cap-icon {
  width: 22px; height: 22px;
  border-radius: 6px;
  background: linear-gradient(135deg, rgba(168,196,168,.2), rgba(45,157,157,.1));
  display: flex; align-items: center; justify-content: center;
  color: var(--color-sage);
  font-size: .65rem;
  flex-shrink: 0;
  margin-top: 2px;
}

/* ──────────────────────────────────────────────────────────
   INTEGRATION LOGOS STRIP
────────────────────────────────────────────────────────── */
.integration-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.5rem 3rem;
}

.integration-item {
  display: flex;
  align-items: center;
  gap: .55rem;
  color: var(--color-text-faint);
  font-size: .82rem;
  font-weight: 500;
  transition: color .2s;
}
.integration-item:hover { color: var(--color-sage); }
.integration-item i { font-size: 1.2rem; }

/* ──────────────────────────────────────────────────────────
   NUMBER STEPS (general homepage)
────────────────────────────────────────────────────────── */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 1.5rem;
  position: relative;
}

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

/* Connector line between steps */
.process-grid::before {
  content: '';
  position: absolute;
  top: 30px; left: 12.5%; right: 12.5%;
  height: 1.5px;
  background: linear-gradient(90deg, var(--color-sage-light), var(--color-teal));
  z-index: 0;
}
@media (max-width: 900px) { .process-grid::before { display: none; } }

.process-step {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  padding: 2rem 1.5rem;
  text-align: center;
  position: relative;
  z-index: 1;
  transition: all .35s var(--ease);
}
.process-step:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(168,196,168,.45);
}

.process-num {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--grad-brand);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: #fff;
  margin: 0 auto 1.25rem;
  box-shadow: 0 6px 20px rgba(71,112,71,.3);
}

/* ──────────────────────────────────────────────────────────
   RESULTS SECTION GENERAL (2-col layout)
────────────────────────────────────────────────────────── */
.results-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
@media (max-width: 900px) {
  .results-layout { grid-template-columns: 1fr; gap: 2.5rem; }
}

.results-stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

/* ──────────────────────────────────────────────────────────
   RESPONSIVE — MOBILE OVERRIDES
────────────────────────────────────────────────────────── */
/* ──────────────────────────────────────────────────────────
   INNER PAGE HERO (compact — about, legal, etc.)
────────────────────────────────────────────────────────── */
.page-hero {
  padding: calc(var(--nav-h) + 5rem) 1.5rem 5rem;
  background: var(--grad-dark);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(168,196,168,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(168,196,168,.05) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}

.page-hero-inner { position: relative; z-index: 1; max-width: 720px; margin: 0 auto; }
.page-hero-eyebrow {
  display: inline-flex; align-items: center; gap: .55rem;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.14);
  color: var(--color-sage-light);
  font-size: .72rem; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase;
  border-radius: var(--radius-pill); padding: .35rem 1rem;
  margin-bottom: 1.5rem;
}
.page-hero-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.2rem, 5.5vw, 3.8rem);
  font-weight: 600; line-height: 1.08; color: #fff;
  margin-bottom: 1rem;
}
.page-hero-title em { font-style: italic; color: var(--color-sage-light); }
.page-hero-sub { font-size: 1.05rem; color: rgba(255,255,255,.58); line-height: 1.7; }
.page-hero-meta {
  display: flex; align-items: center; justify-content: center;
  flex-wrap: wrap; gap: 1rem;
  margin-top: 2rem;
  font-size: .8rem; color: rgba(255,255,255,.38);
}
.page-hero-meta span { display: flex; align-items: center; gap: .4rem; }

/* ──────────────────────────────────────────────────────────
   LEGAL PAGE LAYOUT (sidebar TOC + content)
────────────────────────────────────────────────────────── */
.legal-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 4rem;
  align-items: start;
  max-width: 1080px;
  margin: 0 auto;
}
@media (max-width: 900px) {
  .legal-layout { grid-template-columns: 1fr; gap: 0; }
}

/* Sticky sidebar */
.legal-sidebar {
  position: sticky;
  top: calc(var(--nav-h) + 2rem);
}
@media (max-width: 900px) {
  .legal-sidebar {
    position: static;
    background: var(--color-warm);
    border-radius: 16px;
    padding: 1.25rem 1.5rem;
    margin-bottom: 2.5rem;
  }
}

.toc-label {
  font-size: .68rem; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--color-text-faint); margin-bottom: .85rem;
}

.toc-link {
  display: block;
  font-size: .82rem; color: var(--color-text-muted);
  padding: .4rem 0;
  border-left: 2px solid transparent;
  padding-left: .85rem;
  margin-left: -1px;
  transition: all .2s;
  line-height: 1.4;
}
.toc-link:hover { color: var(--color-sage); border-color: var(--color-sage-light); }
.toc-link.active { color: var(--color-sage); border-color: var(--color-sage); font-weight: 500; }

@media (max-width: 900px) {
  .toc-link { border-left: none; padding-left: 0; display: inline-block; margin-right: .75rem; padding: .25rem 0; }
  .toc-label { display: block; margin-bottom: .5rem; }
}

/* Legal content */
.legal-content { min-width: 0; }

.legal-section { margin-bottom: 3.5rem; scroll-margin-top: calc(var(--nav-h) + 2rem); }
.legal-section:last-child { margin-bottom: 0; }

.legal-section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.65rem; font-weight: 600;
  color: var(--color-text); margin-bottom: 1rem;
  padding-bottom: .75rem;
  border-bottom: 1.5px solid rgba(168,196,168,.2);
}

.legal-section p,
.legal-section li {
  font-size: .9375rem; color: var(--color-text-muted);
  line-height: 1.8; margin-bottom: .75rem;
}
.legal-section p:last-child { margin-bottom: 0; }
.legal-section ul, .legal-section ol { padding-left: 1.25rem; margin-bottom: .75rem; }
.legal-section li { margin-bottom: .35rem; }
.legal-section a { color: var(--color-sage); text-decoration: underline; }
.legal-section a:hover { color: var(--color-teal); }
.legal-section strong { color: var(--color-text); font-weight: 600; }

.legal-highlight {
  background: linear-gradient(135deg, rgba(168,196,168,.12), rgba(45,157,157,.06));
  border-left: 3px solid var(--color-sage);
  border-radius: 0 12px 12px 0;
  padding: 1.1rem 1.4rem;
  margin: 1.25rem 0;
  font-size: .9rem;
  color: var(--color-text-muted);
  line-height: 1.7;
}

.legal-warning {
  background: rgba(244,176,176,.1);
  border-left: 3px solid #f4b0b0;
  border-radius: 0 12px 12px 0;
  padding: 1.1rem 1.4rem;
  margin: 1.25rem 0;
  font-size: .9rem; color: var(--color-text-muted); line-height: 1.7;
}

.legal-last-updated {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .8rem; color: var(--color-text-faint);
  background: var(--color-warm); border-radius: 8px;
  padding: .5rem 1rem; margin-bottom: 2rem;
}

/* ──────────────────────────────────────────────────────────
   ABOUT PAGE
────────────────────────────────────────────────────────── */
.about-mission {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
@media (max-width: 860px) { .about-mission { grid-template-columns: 1fr; gap: 2.5rem; } }

.mission-visual {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.mission-visual img { width: 100%; height: 460px; object-fit: cover; display: block; }
.mission-visual-card {
  position: absolute; bottom: 1.5rem; left: 1.5rem;
  background: rgba(255,255,255,.92); backdrop-filter: blur(8px);
  border-radius: 16px; padding: 1rem 1.25rem;
  display: flex; align-items: center; gap: .75rem;
  box-shadow: var(--shadow-md);
}
.mission-visual-icon {
  width: 40px; height: 40px; border-radius: 12px;
  background: var(--grad-brand);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: .9rem; flex-shrink: 0;
}

.mission-pull {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.5rem, 3.5vw, 2rem);
  font-weight: 500; line-height: 1.35;
  color: var(--color-text);
  border-left: 3px solid var(--color-sage);
  padding-left: 1.25rem;
  margin: 1.75rem 0;
  font-style: italic;
}

/* Values */
.values-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}
@media (max-width: 640px) { .values-grid { grid-template-columns: 1fr; } }

.value-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  padding: 1.75rem;
  transition: all .35s var(--ease);
}
.value-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.value-icon {
  width: 44px; height: 44px; border-radius: 12px;
  background: linear-gradient(135deg, rgba(168,196,168,.2), rgba(45,157,157,.08));
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; margin-bottom: 1rem;
}

/* Team */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
@media (max-width: 860px) { .team-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 500px)  { .team-grid { grid-template-columns: 1fr; } }

.team-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  overflow: hidden;
  transition: all .35s var(--ease);
  text-align: center;
}
.team-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }

.team-card img { width: 100%; height: 220px; object-fit: cover; display: block; transition: transform .5s var(--ease); }
.team-card:hover img { transform: scale(1.05); }

.team-card-body { padding: 1.5rem; }
.team-socials { display: flex; justify-content: center; gap: .5rem; margin-top: .75rem; }
.team-social {
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--color-warm); display: flex; align-items: center; justify-content: center;
  color: var(--color-text-muted); font-size: .8rem;
  transition: all .2s;
}
.team-social:hover { background: var(--color-sage); color: #fff; }

/* Timeline */
.timeline { position: relative; padding-left: 2rem; }
.timeline::before {
  content: ''; position: absolute;
  left: 0; top: 8px; bottom: 8px; width: 2px;
  background: linear-gradient(to bottom, var(--color-sage), var(--color-teal), transparent);
  border-radius: 1px;
}
.timeline-item { position: relative; margin-bottom: 2.5rem; }
.timeline-dot {
  position: absolute; left: -2.45rem; top: 4px;
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--grad-brand);
  box-shadow: 0 0 0 3px rgba(71,112,71,.15);
}
.timeline-year {
  font-size: .7rem; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--color-sage); margin-bottom: .35rem;
}
.timeline-item h4 { font-weight: 600; color: var(--color-text); margin-bottom: .35rem; }
.timeline-item p  { font-size: .875rem; color: var(--color-text-muted); line-height: 1.65; }

/* ──────────────────────────────────────────────────────────
   HIPAA PAGE SPECIFICS
────────────────────────────────────────────────────────── */
.compliance-badge {
  display: flex; align-items: center; gap: 1rem;
  background: #fff; border: 1px solid var(--color-border);
  border-radius: 20px; padding: 1.25rem 1.5rem;
  transition: all .3s;
}
.compliance-badge:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.compliance-badge-icon {
  width: 52px; height: 52px; border-radius: 16px;
  background: var(--grad-brand);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 1.3rem; flex-shrink: 0;
}

.security-feature {
  display: flex; align-items: flex-start; gap: 1rem;
  background: #fff; border: 1px solid var(--color-border);
  border-radius: 20px; padding: 1.5rem;
  transition: all .3s;
}
.security-feature:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.sec-icon {
  width: 48px; height: 48px; border-radius: 14px;
  background: linear-gradient(135deg, rgba(168,196,168,.2), rgba(45,157,157,.1));
  display: flex; align-items: center; justify-content: center;
  font-size: 1.15rem; flex-shrink: 0;
}

/* ──────────────────────────────────────────────────────────
   RESPONSIVE — MOBILE OVERRIDES
────────────────────────────────────────────────────────── */

@media (max-width: 767px) {
  .section-pad { padding: 4rem 1rem; }
  .hero-title { font-size: clamp(2.1rem, 10vw, 3rem); }
  .hero-ctas .btn { width: 100%; justify-content: center; }
  .hero-ctas { flex-direction: column; align-items: center; }
  .hero-ctas .btn { max-width: 320px; }
}

@media (max-width: 480px) {
  :root { --nav-h: 64px; }
  .section-pad { padding: 3.25rem .875rem; }
  .floating-cta .cta-label { display: none; }
  .floating-cta { padding: .9rem; border-radius: 50%; }
  .chatbot-widget { display: none; }
  .price-card.featured { transform: none !important; }
  .phone-frame { width: 245px; height: 490px; }
}

/* ──────────────────────────────────────────────────────────
   SOURCES / FACT SHEET
────────────────────────────────────────────────────────── */
.sources-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .8rem;
}
.sources-table th {
  text-align: left;
  padding: .5rem 1rem .5rem 0;
  font-weight: 700;
  font-size: .68rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--color-text-faint);
  border-bottom: 1.5px solid rgba(168,196,168,.35);
}
.sources-table td {
  padding: .7rem 1rem .7rem 0;
  border-bottom: 1px solid rgba(168,196,168,.2);
  color: var(--color-text-muted);
  vertical-align: top;
  line-height: 1.55;
}
.sources-table td:first-child { font-style: italic; color: var(--color-text); }
.sources-table a {
  color: var(--color-sage);
  text-decoration: underline;
  text-underline-offset: 2px;
  word-break: break-all;
}
.sources-table a:hover { color: var(--color-teal); }
.sources-table tr:last-child td { border-bottom: none; }

/* ──────────────────────────────────────────────────────────
   HERO LOGO (large brand mark inside hero section)
────────────────────────────────────────────────────────── */
.hero-logo-wrap {
  margin-bottom: 2.25rem;
}
.hero-logo-hero {
  height: 80px;
  width: auto;
  display: block;
  margin: 0 auto;
  filter: brightness(0) invert(1) drop-shadow(0 0 32px rgba(168,196,168,.42));
  transition: filter .3s;
}

.d0 { transition-delay: 0s; }
