/* ============================================
   NIKOLAY CHIROPRACTIC — Design System
   Warm, organic, inviting. Sage + cream + clay.
   ============================================ */

:root {
  /* Greens */
  --sage:        #97998c;
  --sage-deep:   #5c5e54;
  --sage-soft:   #b4b6a9;
  --sage-pale:   #e3e5dc;
  --sage-mist:   #eef0e8;

  /* Warm neutrals (the inviting base) */
  --cream:       #faf7f0;
  --cream-deep:  #f3eee2;
  --linen:       #f7f3ea;
  --ivory:       #fffdf8;

  /* Clay accent */
  --clay:        #c0794f;
  --clay-deep:   #a5623c;
  --clay-soft:   #d99b72;
  --clay-pale:   #f0dccd;

  /* Ink */
  --ink:         #34352f;
  --ink-mid:     #5c5d54;
  --ink-soft:    #87887d;

  --white:       #ffffff;
  --border:      #e0ddd2;

  --shadow-sm:   0 2px 8px rgba(92,94,84,0.08);
  --shadow-md:   0 12px 32px rgba(92,94,84,0.12);
  --shadow-lg:   0 24px 60px rgba(92,94,84,0.18);
  --shadow-clay: 0 12px 30px rgba(192,121,79,0.28);

  --ease:        cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out:    cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: clip; }
body {
  font-family: 'Heebo', sans-serif;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }
p { margin-bottom: 14px; line-height: 1.8; font-size: 1rem; color: var(--ink-mid); font-weight: 300; }
p:last-child { margin-bottom: 0; }

::selection { background: var(--clay-pale); color: var(--clay-deep); }

/* Display serif */
h1, h2, h3, .serif { font-family: 'Cormorant Garamond', serif; }

/* ============ GRAIN OVERLAY ============ */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ============ TOPBAR ============ */
.topbar {
  background: var(--sage-deep);
  color: rgba(255,255,255,0.82);
  font-size: 0.76rem;
  letter-spacing: 0.03em;
  height: 44px;
  padding: 0 44px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: nowrap;
  font-weight: 300;
}
.topbar a { color: rgba(255,255,255,0.82); transition: color 0.25s var(--ease); }
.topbar a:hover { color: #fff; }
.topbar-right { display: flex; gap: 22px; align-items: center; }
.topbar-info { display: flex; gap: 22px; align-items: center; }
.topbar-social { display: flex; gap: 11px; align-items: center; }
.topbar-social a { color: rgba(255,255,255,0.65); display: flex; transition: color 0.25s, transform 0.25s; }
.topbar-social a:hover { color: #fff; transform: translateY(-1px); }

/* ============ NAV ============ */
nav {
  background: var(--cream);
  border-bottom: 1px solid rgba(224,221,210,0.8);
  padding: 0 44px;
  display: flex; align-items: center; justify-content: space-between;
  height: 92px;
  transition: box-shadow 0.3s var(--ease);
}
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 100; background: var(--sage-deep); padding-top: env(safe-area-inset-top, 0px); }
/* fill any momentary gap above the sticky header on mobile (matches topbar color) */
.site-header::before { content: ''; position: absolute; left: 0; right: 0; top: -320px; height: 320px; background: var(--sage-deep); pointer-events: none; }
.site-header.scrolled { box-shadow: var(--shadow-sm); }
.nav-logo { display: block; width: 164px; height: 46px; background: url('logo-dark.png') no-repeat left center / contain; transition: transform 0.3s var(--ease); }
.nav-logo:hover { transform: scale(1.04); }
.mobile-menu-logo { display: block; width: 157px; height: 44px; background: url('logo-dark.png') no-repeat left / contain; }
.nav-links { display: flex; align-items: center; gap: 2px; list-style: none; }
.nav-links > li { position: relative; }
.nav-links > li > a {
  font-size: 0.78rem; font-weight: 500; letter-spacing: 0.09em;
  text-transform: uppercase; color: var(--ink-mid);
  padding: 10px 15px; display: block; border-radius: 6px;
  transition: color 0.25s var(--ease); position: relative;
}
.nav-links > li > a:not(.nav-cta)::after {
  content: ''; position: absolute; bottom: 2px; left: 15px; right: 15px;
  height: 1.5px; background: var(--clay); transform: scaleX(0);
  transform-origin: left; transition: transform 0.3s var(--ease-out);
}
.nav-links > li > a:not(.nav-cta):hover::after, .nav-links > li > a:not(.nav-cta).active::after { transform: scaleX(1); }
.nav-links > li > a:hover, .nav-links > li > a.active { color: var(--clay-deep); }

.nav-cta {
  background: var(--clay) !important; color: var(--white) !important;
  padding: 12px 22px !important; border-radius: 40px;
  font-weight: 600 !important; white-space: nowrap;
  box-shadow: var(--shadow-clay);
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease) !important;
}
.nav-cta::after { display: none !important; }
.nav-cta:hover { background: var(--clay-deep) !important; transform: translateY(-2px); box-shadow: 0 16px 36px rgba(192,121,79,0.36); }

.has-dropdown { position: relative; }
.dropdown {
  display: block; position: absolute; top: calc(100% + 8px); left: 50%;
  transform: translateX(-50%) translateY(8px); background: var(--ivory);
  border: 1px solid var(--border); border-radius: 14px;
  box-shadow: var(--shadow-md); min-width: 210px; z-index: 200;
  padding: 8px; list-style: none; opacity: 0; visibility: hidden;
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease-out), visibility 0.25s;
}
.has-dropdown:hover .dropdown { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.dropdown::before {
  content: ''; position: absolute; top: -6px; left: 50%; transform: translateX(-50%) rotate(45deg);
  width: 12px; height: 12px; background: var(--ivory);
  border-left: 1px solid var(--border); border-top: 1px solid var(--border); border-radius: 2px;
}
.dropdown li a {
  display: block; padding: 11px 16px; font-size: 0.85rem; color: var(--ink-mid);
  border-radius: 9px; transition: background 0.2s, color 0.2s, padding-left 0.2s;
}
.dropdown li a:hover { background: var(--sage-mist); color: var(--clay-deep); padding-left: 22px; }

.nav-hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 6px; }
.nav-hamburger span { display: block; width: 26px; height: 2px; background: var(--ink); border-radius: 2px; transition: 0.3s; }

/* ============ MOBILE MENU ============ */
.mobile-menu { display: none; position: fixed; inset: 0; background: var(--cream); z-index: 300; flex-direction: column; padding: 28px 32px; overflow-y: auto; }
.mobile-menu.open { display: flex; animation: fadeIn 0.3s var(--ease); }
.mobile-menu-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 36px; }
.mobile-menu-close { background: none; border: none; cursor: pointer; font-size: 1.6rem; color: var(--ink); }
.mobile-menu-links { list-style: none; display: flex; flex-direction: column; gap: 2px; }
.mobile-menu-links a { display: block; padding: 15px 0; font-family: 'Cormorant Garamond', serif; font-size: 1.5rem; font-weight: 600; color: var(--ink); border-bottom: 1px solid var(--border); transition: color 0.2s, padding-left 0.2s; }
.mobile-menu-links a:hover { color: var(--clay-deep); padding-left: 8px; }
.mobile-cta { margin-top: 32px; }

/* ============ BUTTONS ============ */
.btn-primary {
  display: inline-block; background: var(--clay); color: var(--white);
  padding: 15px 34px; border-radius: 40px; font-size: 0.82rem; font-weight: 600;
  letter-spacing: 0.07em; text-transform: uppercase; white-space: nowrap;
  border: none; cursor: pointer; box-shadow: var(--shadow-clay);
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease), background 0.3s;
  position: relative; overflow: hidden;
}
.btn-primary::before {
  content: ''; position: absolute; inset: 0; background: var(--clay-deep);
  transform: translateY(100%); transition: transform 0.35s var(--ease-out); z-index: 0;
}
.btn-primary:hover::before { transform: translateY(0); }
.btn-primary span, .btn-primary { position: relative; }
.btn-primary > * { position: relative; z-index: 1; }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(192,121,79,0.34); }

.btn-outline {
  display: inline-block; border: 1.5px solid var(--clay); color: var(--clay-deep);
  padding: 13px 30px; border-radius: 40px; font-size: 0.8rem; font-weight: 600;
  letter-spacing: 0.07em; text-transform: uppercase; white-space: nowrap;
  background: transparent; cursor: pointer;
  transition: all 0.3s var(--ease-out);
}
.btn-outline:hover { background: var(--clay); color: var(--white); transform: translateY(-3px); box-shadow: var(--shadow-clay); }

.btn-ghost {
  display: inline-flex; align-items: center; gap: 8px; color: var(--clay-deep);
  font-size: 0.82rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase;
  transition: gap 0.3s var(--ease-out);
}
.btn-ghost svg { transition: transform 0.3s var(--ease-out); }
.btn-ghost:hover { gap: 14px; }
.btn-ghost:hover svg { transform: translateX(4px); }

/* ============ HERO ============ */
.hero { position: relative; min-height: 92vh; display: flex; align-items: center; overflow: hidden; background: var(--sage-deep); }
.hero-img-wrap { position: absolute; inset: 0; z-index: 0; }
.hero-img-wrap img { width: 100%; height: 100%; object-fit: cover; }
.hero-placeholder {
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 70% 30%, rgba(180,182,169,0.5), transparent 60%),
    linear-gradient(135deg, var(--sage-deep) 0%, var(--sage) 55%, var(--sage-soft) 100%);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.35); font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem; letter-spacing: 0.15em; text-transform: uppercase;
}
.hero::after {
  content: ''; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(105deg, rgba(52,53,47,0.78) 0%, rgba(52,53,47,0.45) 45%, rgba(52,53,47,0.15) 100%);
}
.hero-content { position: relative; z-index: 2; max-width: 1180px; margin: 0 auto; padding: 0 44px; width: 100%; }
.hero-inner { max-width: 620px; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 0.74rem; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--clay-soft); margin-bottom: 24px;
  opacity: 0; animation: riseIn 0.9s var(--ease-out) 0.1s forwards;
}
.hero-eyebrow::before { content: ''; width: 32px; height: 1.5px; background: var(--clay-soft); }
.hero h1 {
  font-size: clamp(2.8rem, 6vw, 5rem); font-weight: 600; line-height: 1.05;
  color: var(--ivory); margin-bottom: 26px; letter-spacing: -0.01em;
  opacity: 0; animation: riseIn 0.9s var(--ease-out) 0.25s forwards;
}
.hero h1 em { font-style: italic; color: var(--clay-soft); }
.hero-sub {
  font-size: 1.15rem; line-height: 1.7; color: rgba(255,253,248,0.85); font-weight: 300;
  margin-bottom: 38px; max-width: 480px;
  opacity: 0; animation: riseIn 0.9s var(--ease-out) 0.4s forwards;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; opacity: 0; animation: riseIn 0.9s var(--ease-out) 0.55s forwards; }
.hero-actions .btn-outline { border-color: rgba(255,255,255,0.5); color: var(--ivory); }
.hero-actions .btn-outline:hover { background: var(--ivory); color: var(--sage-deep); border-color: var(--ivory); }

/* curved bottom edge of hero */
.hero-curve { position: absolute; bottom: -1px; left: 0; width: 100%; z-index: 3; line-height: 0; }
.hero-curve svg { width: 100%; height: 100px; display: block; }

/* floating trust pills */
.hero-trust { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 36px; opacity: 0; animation: riseIn 0.9s var(--ease-out) 0.7s forwards; }
.trust-pill { background: rgba(255,253,248,0.14); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border: 1px solid rgba(255,255,255,0.25); color: var(--ivory); font-size: 0.76rem; font-weight: 500; letter-spacing: 0.04em; padding: 10px 18px; border-radius: 30px; display: flex; align-items: center; gap: 8px; white-space: nowrap; }
.trust-pill svg { width: 14px; height: 14px; }

/* ============ SCROLL REVEAL ============ */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out); }
.reveal.in { opacity: 1; transform: translateY(0); }
.reveal-d1 { transition-delay: 0.1s; }
.reveal-d2 { transition-delay: 0.2s; }
.reveal-d3 { transition-delay: 0.3s; }

@keyframes riseIn { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes floatY { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

/* ============ SECTION SCAFFOLD ============ */
section, .section { position: relative; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 44px; }
.pad { padding: 110px 0; }
.pad-sm { padding: 76px 0; }
.bg-cream { background: var(--cream); }
.bg-linen { background: var(--linen); }
.bg-mist { background: var(--sage-mist); }
.bg-sage { background: var(--sage-deep); }
.bg-white { background: var(--ivory); }

.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--clay); margin-bottom: 16px; }
.eyebrow::before { content: ''; width: 28px; height: 1.5px; background: var(--clay); }
.eyebrow.center { justify-content: center; }
.h-title { font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 600; line-height: 1.12; color: var(--ink); letter-spacing: -0.01em; margin-bottom: 22px; }
.h-title em { font-style: italic; color: var(--clay-deep); }
.lead { font-size: 1.08rem; line-height: 1.8; color: var(--ink-mid); font-weight: 300; }
.section-head { max-width: 680px; margin-bottom: 56px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

/* ============ INTRO / SPLIT ============ */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.split.wide-text { grid-template-columns: 1.1fr 0.9fr; }
.media {
  position: relative; border-radius: 20px; overflow: hidden;
  aspect-ratio: 4/5; background: var(--sage-pale); box-shadow: var(--shadow-lg);
}
.media img { width: 100%; height: 100%; object-fit: cover; }
.media.landscape { aspect-ratio: 4/3; }
.media-ph { position: absolute; inset: 0; font-size: 0; background: radial-gradient(circle at 76% 22%, rgba(192,121,79,0.12), transparent 55%), linear-gradient(135deg, var(--sage-mist), var(--sage-pale)); }
/* decorative offset frame */
.media-framed::after { content: ''; position: absolute; inset: 0; border-radius: 20px; border: 1.5px solid var(--clay-soft); transform: translate(18px,18px); z-index: -1; }
.media-framed { overflow: visible; }
.media-framed img, .media-framed .media-ph { border-radius: 20px; overflow: hidden; }
.media-blob { position: absolute; border-radius: 50%; filter: blur(2px); opacity: 0.5; z-index: -1; }

/* ============ FEATURE CARDS ============ */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.card {
  background: var(--ivory); border-radius: 18px; padding: 38px 32px;
  border: 1px solid var(--border); box-shadow: var(--shadow-sm);
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease);
  position: relative; overflow: hidden;
}
.card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--clay), var(--clay-soft)); transform: scaleX(0); transform-origin: left; transition: transform 0.4s var(--ease-out); }
.card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); }
.card:hover::before { transform: scaleX(1); }
.card-icon { width: 60px; height: 60px; border-radius: 16px; background: linear-gradient(135deg, var(--sage-mist), var(--cream-deep)); display: flex; align-items: center; justify-content: center; margin-bottom: 22px; color: var(--clay-deep); transition: transform 0.4s var(--ease-out); }
.card:hover .card-icon { transform: scale(1.08) rotate(-4deg); }
.card-icon svg { width: 28px; height: 28px; }
.card h3 { font-size: 1.5rem; font-weight: 600; color: var(--ink); margin-bottom: 12px; }
.card p { font-size: 0.95rem; line-height: 1.75; }

/* ============ QUOTE BAND ============ */
.quote-band { background: var(--sage-deep); position: relative; overflow: hidden; }
.quote-band::before, .quote-band::after { content: '"'; position: absolute; font-family: 'Cormorant Garamond', serif; color: rgba(255,255,255,0.06); font-size: 22rem; line-height: 1; }
.quote-band::before { top: -60px; left: 30px; }
.quote-band::after { bottom: -180px; right: 30px; }
.quote-inner { position: relative; z-index: 1; text-align: center; max-width: 860px; margin: 0 auto; }
.quote-inner p { font-family: 'Cormorant Garamond', serif; font-size: clamp(1.8rem, 3.4vw, 2.8rem); font-weight: 400; font-style: italic; color: var(--ivory); line-height: 1.4; margin-bottom: 20px; }
.quote-attr { font-size: 0.78rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--clay-soft); }

/* ============ REVIEWS ============ */
.rating-badge { display: inline-flex; align-items: center; gap: 16px; background: var(--ivory); border: 1px solid var(--border); border-radius: 50px; padding: 14px 28px; box-shadow: var(--shadow-sm); margin: 0 auto; }
.rating-num { font-size: 1.7rem; font-weight: 700; color: var(--ink); line-height: 1; }
.rating-stars { color: var(--clay); font-size: 1.15rem; letter-spacing: 2px; }
.rating-meta { font-size: 0.78rem; color: var(--ink-soft); }
.reviews { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-top: 50px; }
.review {
  background: var(--ivory); border: 1px solid var(--border); border-radius: 16px; padding: 28px 26px;
  box-shadow: var(--shadow-sm); transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease);
  display: flex; flex-direction: column;
}
.review:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.review-stars { color: var(--clay); font-size: 1rem; letter-spacing: 2px; margin-bottom: 14px; }
.review p { font-size: 0.92rem; line-height: 1.7; font-style: italic; color: var(--ink-mid); margin-bottom: 18px; flex: 1; }
.review-name { font-size: 0.85rem; font-weight: 600; color: var(--ink); display: flex; align-items: center; gap: 8px; }
.review-name::before { content: ''; width: 24px; height: 1px; background: var(--clay-soft); }

/* ============ DUAL CTA ============ */
.dual { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.dual-card {
  position: relative; border-radius: 22px; padding: 52px 44px; overflow: hidden;
  background: var(--ivory); border: 1px solid var(--border); box-shadow: var(--shadow-sm);
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease);
}
.dual-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.dual-card .eyebrow { margin-bottom: 12px; }
.dual-card h3 { font-size: 1.9rem; font-weight: 600; color: var(--ink); margin-bottom: 14px; }
.dual-card p { font-size: 0.96rem; margin-bottom: 26px; }
.dual-card.accent { background: linear-gradient(150deg, var(--sage-deep), #4a4c43); }
.dual-card.accent .eyebrow { color: var(--clay-soft); }
.dual-card.accent .eyebrow::before { background: var(--clay-soft); }
.dual-card.accent h3 { color: var(--ivory); }
.dual-card.accent p { color: rgba(255,253,248,0.8); }

/* ============ SCHEDULE STRIP ============ */
.sched { background: linear-gradient(135deg, var(--clay) 0%, var(--clay-deep) 100%); position: relative; overflow: hidden; }
.sched::before { content: ''; position: absolute; top: -50%; right: -10%; width: 500px; height: 500px; border-radius: 50%; background: rgba(255,255,255,0.06); }
.sched::after { content: ''; position: absolute; bottom: -60%; left: -5%; width: 400px; height: 400px; border-radius: 50%; background: rgba(255,255,255,0.05); }
.sched-inner { position: relative; z-index: 1; text-align: center; }
.sched h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); font-weight: 600; color: var(--ivory); margin-bottom: 10px; }
.sched p { color: rgba(255,253,248,0.85); font-size: 1.05rem; margin-bottom: 32px; }
.sched-actions { display: flex; gap: 16px; justify-content: center; align-items: center; flex-wrap: wrap; }
.sched .btn-light { display: inline-block; background: var(--ivory); color: var(--clay-deep); padding: 15px 34px; border-radius: 40px; font-size: 0.82rem; font-weight: 600; letter-spacing: 0.07em; text-transform: uppercase; box-shadow: 0 12px 30px rgba(0,0,0,0.16); transition: transform 0.3s var(--ease-out), box-shadow 0.3s; }
.sched .btn-light:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(0,0,0,0.22); }
.sched .btn-line { display: inline-block; border: 1.5px solid rgba(255,255,255,0.6); color: var(--ivory); padding: 14px 32px; border-radius: 40px; font-size: 0.82rem; font-weight: 600; letter-spacing: 0.07em; text-transform: uppercase; transition: all 0.3s var(--ease-out); }
.sched .btn-line:hover { background: var(--ivory); color: var(--clay-deep); border-color: var(--ivory); }

/* ============ PAGE HERO (interior) ============ */
.phero { position: relative; min-height: 52vh; display: flex; align-items: flex-end; overflow: hidden; background: var(--sage-deep); }
.phero-img { position: absolute; inset: 0; z-index: 0; }
.phero-img img { width: 100%; height: 100%; object-fit: cover; }
.phero-ph { position: absolute; inset: 0; font-size: 0; background: radial-gradient(circle at 82% 16%, rgba(192,121,79,0.20), transparent 52%), radial-gradient(circle at 8% 94%, rgba(52,53,47,0.55), transparent 55%), linear-gradient(120deg, var(--sage-deep) 0%, #7d7f73 55%, var(--sage) 100%); }
.phero::after { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(0deg, rgba(52,53,47,0.80) 0%, rgba(52,53,47,0.34) 48%, rgba(52,53,47,0.10) 100%); }
.phero-content { position: relative; z-index: 2; max-width: 1180px; margin: 0 auto; padding: 0 44px 64px; width: 100%; }
.phero .eyebrow { color: var(--clay-soft); }
.phero .eyebrow::before { background: var(--clay-soft); }
.phero h1 { font-size: clamp(2.4rem, 5vw, 4rem); font-weight: 600; color: var(--ivory); line-height: 1.08; opacity: 0; animation: riseIn 0.8s var(--ease-out) 0.2s forwards; }
.phero-sub { font-size: 1.1rem; color: rgba(255,253,248,0.85); font-weight: 300; font-style: italic; margin-top: 12px; opacity: 0; animation: riseIn 0.8s var(--ease-out) 0.35s forwards; }
.phero-curve { position: absolute; bottom: -1px; left: 0; width: 100%; z-index: 3; line-height: 0; }
.phero-curve svg { width: 100%; height: 80px; display: block; }

/* ============ PROSE / CONTENT ============ */
.prose { max-width: 760px; }
.prose p { font-size: 1.05rem; }
.prose h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); font-weight: 600; color: var(--ink); margin: 8px 0 18px; }
.prose h3 { font-size: 1.5rem; font-weight: 600; color: var(--ink); margin-bottom: 10px; }

/* check list */
.checks { list-style: none; display: flex; flex-direction: column; gap: 11px; margin: 18px 0; }
.checks li { font-size: 1rem; color: var(--ink-mid); font-weight: 300; padding-left: 30px; position: relative; line-height: 1.6; }
.checks li::before { content: ''; position: absolute; left: 0; top: 7px; width: 16px; height: 16px; border-radius: 50%; background: var(--clay-pale); }
.checks li::after { content: ''; position: absolute; left: 5px; top: 11px; width: 5px; height: 8px; border-right: 2px solid var(--clay-deep); border-bottom: 2px solid var(--clay-deep); transform: rotate(45deg); }
.cols-2 { columns: 2; column-gap: 48px; }
.cols-2 li { break-inside: avoid; }

/* condition pills */
.pills { display: flex; flex-wrap: wrap; gap: 10px; margin: 22px 0; }
.pill { background: var(--sage-mist); border: 1px solid var(--border); color: var(--ink-mid); font-size: 0.85rem; font-weight: 500; padding: 8px 16px; border-radius: 8px; cursor: default; }

/* service blocks */
.svc { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; padding: 56px 0; border-bottom: 1px solid var(--border); }
.svc:last-child { border-bottom: none; }
.svc.flip > .svc-text { order: 2; }
.svc-text h3 { font-size: 1.8rem; font-weight: 600; color: var(--ink); margin-bottom: 14px; }
.svc-num { font-family: 'Cormorant Garamond', serif; font-size: 3rem; font-weight: 600; color: var(--clay-soft); line-height: 1; margin-bottom: 8px; display: block; }

/* steps */
.steps { display: flex; flex-direction: column; gap: 8px; }
.step { display: grid; grid-template-columns: 64px 1fr; gap: 22px; align-items: flex-start; padding: 24px 0; border-bottom: 1px solid var(--border); }
.step:last-child { border-bottom: none; }
.step-n { width: 52px; height: 52px; border-radius: 50%; background: linear-gradient(135deg, var(--clay), var(--clay-deep)); color: var(--ivory); display: flex; align-items: center; justify-content: center; font-family: 'Cormorant Garamond', serif; font-size: 1.4rem; font-weight: 700; box-shadow: var(--shadow-clay); }
.step-c h4 { font-size: 1.2rem; font-weight: 600; color: var(--ink); margin-bottom: 6px; }

/* benefits box */
.benefits { background: linear-gradient(135deg, var(--sage-mist), var(--cream-deep)); border-radius: 22px; padding: 44px; border: 1px solid var(--border); }

/* FAQ */
.faq { max-width: 820px; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 24px 4px; cursor: pointer; font-size: 1.08rem; font-weight: 500; color: var(--ink); transition: color 0.25s; font-family: 'Cormorant Garamond', serif; }
.faq-q:hover { color: var(--clay-deep); }
.faq-icon { flex-shrink: 0; width: 30px; height: 30px; border-radius: 50%; border: 1.5px solid var(--clay); position: relative; transition: background 0.3s, transform 0.3s; }
.faq-icon::before, .faq-icon::after { content: ''; position: absolute; background: var(--clay-deep); transition: all 0.3s; }
.faq-icon::before { width: 12px; height: 1.5px; top: 50%; left: 50%; transform: translate(-50%,-50%); }
.faq-icon::after { width: 1.5px; height: 12px; top: 50%; left: 50%; transform: translate(-50%,-50%); }
.faq-item.open .faq-icon { background: var(--clay); transform: rotate(180deg); }
.faq-item.open .faq-icon::before, .faq-item.open .faq-icon::after { background: var(--white); }
.faq-item.open .faq-icon::after { height: 0; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.4s var(--ease); }
.faq-a-inner { padding: 0 4px 24px; }
.faq-a p { font-size: 0.98rem; }

/* contact */
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 60px; align-items: start; }
.cinfo { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 26px; }
.cinfo-ic { width: 48px; height: 48px; border-radius: 14px; background: var(--sage-mist); display: flex; align-items: center; justify-content: center; color: var(--clay-deep); flex-shrink: 0; }
.cinfo-ic svg { width: 20px; height: 20px; }
.cinfo-label { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--clay-deep); margin-bottom: 4px; }
.cinfo-val { font-size: 0.98rem; color: var(--ink-mid); line-height: 1.5; }
.cinfo-val a { color: var(--ink); transition: color 0.2s; }
.cinfo-val a:hover { color: var(--clay-deep); }
.form-card { background: var(--ivory); border: 1px solid var(--border); border-radius: 22px; padding: 44px; box-shadow: var(--shadow-md); }
.field { margin-bottom: 18px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field label { display: block; font-size: 0.76rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-mid); margin-bottom: 7px; }
.field input, .field textarea { width: 100%; padding: 13px 16px; border: 1.5px solid var(--border); border-radius: 12px; font-family: 'Heebo', sans-serif; font-size: 0.95rem; color: var(--ink); background: var(--cream); outline: none; transition: border-color 0.25s, background 0.25s, box-shadow 0.25s; }
.field input:focus, .field textarea:focus { border-color: var(--clay); background: var(--white); box-shadow: 0 0 0 4px var(--clay-pale); }
.field textarea { resize: vertical; min-height: 130px; }
.hours-table { width: 100%; border-collapse: collapse; }
.hours-table tr { border-bottom: 1px solid var(--border); }
.hours-table tr:last-child { border-bottom: none; }
.hours-table td { padding: 11px 0; font-size: 0.95rem; color: var(--ink-mid); font-weight: 300; }
.hours-table td:first-child { font-weight: 500; color: var(--ink); }
.hours-table td:last-child { text-align: right; color: var(--clay-deep); }

/* form embed page */
.embed-note { background: var(--sage-mist); border-left: 3px solid var(--clay); padding: 18px 24px; border-radius: 0 12px 12px 0; margin-bottom: 36px; font-size: 1rem; color: var(--ink-mid); }
.embed-ph { background: var(--ivory); border: 2px dashed var(--border); border-radius: 18px; padding: 72px 36px; text-align: center; color: var(--ink-soft); font-style: italic; }

/* ============ FOOTER ============ */
footer { background: var(--sage-deep); color: rgba(255,253,248,0.72); padding: 76px 0 32px; position: relative; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.1fr; gap: 48px; padding-bottom: 44px; border-bottom: 1px solid rgba(255,255,255,0.12); }
.footer-logo { display: block; width: 179px; height: 50px; background: url('logo-light.png') no-repeat left / contain; margin-bottom: 22px; }
.footer-tag { font-size: 0.92rem; line-height: 1.7; color: rgba(255,253,248,0.7); font-weight: 300; max-width: 280px; }
.footer-h { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--clay-soft); margin-bottom: 18px; }
.footer-col p, .footer-col a { font-size: 0.92rem; color: rgba(255,253,248,0.72); line-height: 1.7; font-weight: 300; }
.footer-col a { transition: color 0.2s, padding-left 0.2s; }
.footer-col a:hover { color: var(--ivory); }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 9px; }
.footer-links a:hover { padding-left: 6px; color: var(--clay-soft); }
.footer-social { display: flex; gap: 12px; margin-top: 20px; }
.footer-social a { width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.2); display: flex; align-items: center; justify-content: center; color: rgba(255,253,248,0.7); transition: all 0.3s var(--ease-out); }
.footer-social a:hover { background: var(--clay); border-color: var(--clay); color: var(--white); transform: translateY(-3px); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 28px; font-size: 0.8rem; color: rgba(255,253,248,0.45); flex-wrap: wrap; gap: 10px; }
.footer-bottom a { color: rgba(255,253,248,0.55); transition: color 0.2s; }
.footer-bottom a:hover { color: var(--clay-soft); }

/* ============ RESPONSIVE ============ */
@media (max-width: 1024px) {
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  nav { padding: 0 28px; }
  .topbar { justify-content: center; padding: 0 16px; }
  .topbar-addr, .topbar-info { display: none; }
  .topbar-right { width: auto; gap: 0; }
  .reviews { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 36px; }
  .cards { grid-template-columns: 1fr; }
  .split, .split.wide-text { grid-template-columns: 1fr; gap: 44px; }
  .svc, .svc.flip { grid-template-columns: 1fr; gap: 32px; }
  .svc.flip > .svc-text { order: 0; }
  .contact-grid { grid-template-columns: 1fr; gap: 44px; }
}
@media (max-width: 768px) {
  nav { padding: 0 22px; height: 76px; }
  .wrap { padding: 0 22px; }
  .pad { padding: 72px 0; }
  .pad-sm { padding: 52px 0; }
  .hero { min-height: 88vh; }
  .hero-content { padding: 0 22px; }
  .reviews { grid-template-columns: 1fr; }
  .dual { grid-template-columns: 1fr; }
  .cols-2 { columns: 1; }
  .field-row { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .form-card { padding: 28px; }
  .phero { min-height: 44vh; }
}


/* ============ BOOKING MODAL + FLOATING BUTTON ============ */
.book-fab {
  display: none;
  position: fixed; bottom: calc(20px + env(safe-area-inset-bottom, 0px)); right: 20px; z-index: 150;
  align-items: center; gap: 9px;
  background: var(--clay); color: var(--white);
  border: none; cursor: pointer;
  padding: 14px 22px; border-radius: 40px;
  font-family: 'Heebo', sans-serif; font-size: 0.92rem; font-weight: 600; letter-spacing: 0.04em;
  box-shadow: 0 10px 28px rgba(192,121,79,0.45);
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s;
}
.book-fab svg { width: 20px; height: 20px; }
.book-fab:hover, .book-fab:active { background: var(--clay-deep); transform: translateY(-2px); }

.book-modal { position: fixed; inset: 0; z-index: 400; display: none; align-items: center; justify-content: center; padding: 24px; }
.book-modal.open { display: flex; animation: fadeIn 0.25s var(--ease); }
.book-modal-backdrop { position: absolute; inset: 0; background: rgba(52,53,47,0.6); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
.book-modal-card {
  position: relative; z-index: 1; width: 100%; max-width: 620px;
  max-height: 90vh; overflow-y: auto;
  background: var(--cream); border-radius: 24px; padding: 44px 40px;
  box-shadow: var(--shadow-lg); animation: riseIn 0.4s var(--ease-out);
}
.book-modal-close {
  position: absolute; top: 18px; right: 18px; width: 38px; height: 38px;
  border-radius: 50%; border: 1px solid var(--border); background: var(--ivory);
  color: var(--ink-mid); font-size: 1rem; cursor: pointer; line-height: 1;
  transition: background 0.2s, color 0.2s, transform 0.2s;
}
.book-modal-close:hover { background: var(--clay); color: var(--white); transform: rotate(90deg); }
.book-modal-head { text-align: center; margin-bottom: 28px; }
.book-modal-head h3 { font-family: 'Cormorant Garamond', serif; font-size: 1.9rem; font-weight: 600; color: var(--ink); }
.book-choices { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.book-choice {
  display: block; background: var(--ivory); border: 1px solid var(--border); border-radius: 18px;
  padding: 28px 24px; text-align: center; transition: transform 0.3s var(--ease-out), box-shadow 0.3s, border-color 0.3s;
}
.book-choice:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--clay-soft); }
.book-choice-ic { width: 56px; height: 56px; border-radius: 50%; margin: 0 auto 16px; background: linear-gradient(135deg, var(--sage-mist), var(--cream-deep)); display: flex; align-items: center; justify-content: center; color: var(--clay-deep); }
.book-choice-ic svg { width: 26px; height: 26px; }
.book-choice h4 { font-size: 1.2rem; font-weight: 600; color: var(--ink); margin-bottom: 8px; }
.book-choice p { font-size: 0.88rem; line-height: 1.6; margin-bottom: 16px; }
.book-choice-go { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; color: var(--clay-deep); }

/* Show floating button wherever the top nav button is hidden (<=1024) */
@media (max-width: 1024px) {
  .book-fab { display: inline-flex; }
}
@media (max-width: 520px) {
  .book-choices { grid-template-columns: 1fr; gap: 14px; }
  .book-modal-card { padding: 36px 24px; border-radius: 20px; }
  .book-modal-head h3 { font-size: 1.6rem; }
  .book-choice { padding: 22px 20px; }
}

/* ============ MOBILE FIT HARDENING ============ */
@media (max-width: 768px) {
  /* never let anything force horizontal scroll */
  .wrap { width: 100%; }
  .hero h1 { font-size: clamp(2.1rem, 8vw, 3rem); }
  .h-title { font-size: clamp(1.7rem, 6.5vw, 2.4rem); }
  .hero-sub { font-size: 1.02rem; }
  /* media frames: drop the offset decoration that can overflow on small screens */
  .media-framed::after { display: none; }
  /* quote marks scale down so they don't bleed */
  .quote-band::before, .quote-band::after { font-size: 12rem; }
  .quote-band::before { left: 8px; top: -30px; }
  .quote-band::after { right: 8px; bottom: -120px; }
  /* keep the floating button clear of very bottom content */
  footer { padding-bottom: 90px; }
  /* svc numbers / spacing tighten */
  .svc { padding: 36px 0; }
  .step { grid-template-columns: 48px 1fr; gap: 16px; }
  .step-n { width: 44px; height: 44px; font-size: 1.2rem; }
  /* prevent map iframe overflow */
  iframe { max-width: 100%; }
}
@media (max-width: 400px) {
  .trust-pill { font-size: 0.72rem; padding: 8px 14px; }
  .btn-primary, .btn-outline { padding: 13px 24px; font-size: 0.78rem; }
  .nav-logo { width: 143px; height: 40px; }
}


/* ============ HERO TRUST PILLS — mobile fit ============ */
@media (max-width: 768px) {
  .hero-trust { gap: 8px; margin-top: 28px; max-width: 100%; }
  .trust-pill { font-size: 0.7rem; padding: 8px 13px; gap: 6px; }
  .trust-pill svg { width: 12px; height: 12px; }
}
@media (max-width: 480px) {
  /* stack pills so long labels never clip */
  .hero-trust { flex-direction: column; align-items: flex-start; gap: 7px; }
  .trust-pill { width: auto; max-width: 100%; }
}


/* ============ INJECTED-CHROME SUPPORT ============ */
/* Reserve nav height so content does not jump before shared.js injects the nav */
.nav-reserve { display: block; width: 100%; height: calc(136px + env(safe-area-inset-top, 0px)); }
@media (max-width: 768px) { .nav-reserve { height: calc(120px + env(safe-area-inset-top, 0px)); } }

/* ===== Flashy "Leave a Review" button ===== */
.review-flash {
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center; gap: 7px;
  background: linear-gradient(120deg, #c0794f, #e0a85c, #f4cc7d, #e0a85c, #c0794f);
  background-size: 230% 230%;
  color: #fff !important; font-weight: 700; letter-spacing: 0.02em; white-space: nowrap;
  padding: 8px 16px; border-radius: 30px; border: none; line-height: 1;
  box-shadow: 0 2px 16px rgba(224,168,92,0.55);
  animation: reviewGradient 4.5s ease infinite;
  transition: transform 0.25s var(--ease), box-shadow 0.25s;
}
.review-flash svg { color: #fff; flex-shrink: 0; }
.review-flash:hover { transform: translateY(-2px) scale(1.03); box-shadow: 0 8px 28px rgba(244,204,125,0.9); color: #fff !important; }
/* bright sweeping shine */
.review-flash::before {
  content: ""; position: absolute; top: 0; left: 0; width: 70%; height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,0.7), transparent);
  pointer-events: none; will-change: transform;
  transform: translateX(-160%) skewX(-20deg);
  animation: shineSweep 3s ease-in-out infinite;
}
/* top-bar version also pulses a glow to be the flashiest of all */
.review-flash.is-top { animation: reviewGradient 4.5s ease infinite, reviewPulse 2.2s ease-in-out infinite; font-size: 0.78rem; padding: 7px 15px; }
.review-flash.is-footer { margin-top: 18px; font-size: 0.84rem; }
.review-flash.is-home { font-size: 0.92rem; padding: 12px 26px; }
@keyframes reviewGradient { 0% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } 100% { background-position: 0% 50%; } }
@keyframes shineSweep { 0% { transform: translateX(-160%) skewX(-20deg); } 55% { transform: translateX(260%) skewX(-20deg); } 100% { transform: translateX(260%) skewX(-20deg); } }
@keyframes reviewPulse { 0%,100% { box-shadow: 0 2px 16px rgba(224,168,92,0.55); } 50% { box-shadow: 0 5px 30px rgba(244,204,125,1); } }
@media (prefers-reduced-motion: reduce) { .review-flash, .review-flash::before, .review-flash.is-top { animation: none; } }

/* ===== Book Appointment buttons: gold gradient + shine (sits one tier below the review button) ===== */
.book-trigger {
  background: linear-gradient(135deg, #c0794f 0%, #e0a85c 55%, #c98f3f 100%) !important;
  border: none !important; position: relative; overflow: hidden;
}
.book-trigger::before { display: none !important; }
.book-trigger::after {
  content: "" !important; display: block !important;
  position: absolute !important; top: 0 !important; bottom: auto !important; left: 0 !important; right: auto !important;
  width: 70% !important; height: 100% !important;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,0.5), transparent) !important;
  pointer-events: none; will-change: transform; transform-origin: center;
  transform: translateX(-160%) skewX(-20deg);
  animation: shineSweep 3.6s ease-in-out infinite;
}
.book-trigger:hover { box-shadow: 0 8px 26px rgba(224,168,92,0.6); }
@media (prefers-reduced-motion: reduce) { .book-trigger::after { animation: none; } }
/* FAB stays floating (override .book-trigger position:relative); fixed already anchors its shine */
.book-fab.book-trigger { position: fixed; }

/* ===== Cognito Forms seamless embed container ===== */
.cognito-embed { width: 100%; max-width: 720px; margin: 0 auto; min-height: 220px; }
.cognito-embed .cognito { font-family: 'Heebo', sans-serif; }
