/* ============================================================
   Apex Medical MHP & Wellness Center
   Redesigned from the Apex Medical Design System
   Minimalist UI Kit — clean, airy, editorial
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;1,400;1,500;1,600&family=Montserrat:wght@400;500;600;700&family=Open+Sans:wght@400;500;600&display=swap');

/* ---- Design System Tokens ---- */
:root {
  --ink:        #111418;
  --ink-2:      #4a5159;
  --ink-3:      #8a9099;
  --line:       #e4d8ce;
  --line-soft:  #ede8e2;
  --bg:         #fffcf8;
  --bg-alt:     #f4ece2;
  --bg-warm:    #faebd7;
  --bg-deep:    #ead9c7;
  --accent:     #b95a2c;
  --accent-soft:#f3e2d4;
  --accent-gold:#df9b56;
  --danger:     #b85c5c;
  --radius-sm:  6px;
  --radius-md:  12px;
  --radius-pill:999px;
  --t:          0.22s ease;
  --t-spa:      0.35s cubic-bezier(0.22, 1, 0.36, 1);
  --serif:      'Cormorant Garamond', Georgia, serif;
  --sans:       'Open Sans', system-ui, sans-serif;
  --head:       'Montserrat', system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html  { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
body  {
  font-family: var(--sans); font-size: 16px; line-height: 1.65; color: var(--ink);
  background:
    radial-gradient(ellipse 900px 700px at -5% -5%, rgba(185,90,44,0.055) 0%, transparent 65%),
    radial-gradient(ellipse 700px 500px at 105% 105%, rgba(223,155,86,0.06) 0%, transparent 65%),
    var(--bg);
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; overflow-x: clip;
}
ul    { list-style: none; }
a     { text-decoration: none; color: inherit; }
a, button { -webkit-tap-highlight-color: transparent; }
.btn, nav a, .mobile-toggle, .submenu-toggle, .top-bar-cta { touch-action: manipulation; }
img   { display: block; max-width: 100%; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 32px; }
section    { padding: 100px 0; position: relative; }
section + section { border-top: 1px solid var(--line); }

/* ---- Hairlines ---- */
.hairline      { height: 1px; background: var(--line); width: 100%; }
.hairline-vert { width: 1px; background: var(--line); align-self: stretch; }

/* ---- Geometric ornaments ---- */
.mark {
  display: inline-block; width: 6px; height: 6px;
  background: var(--accent); border-radius: 1px;
  transform: rotate(45deg); margin-right: 10px; vertical-align: 2px; flex-shrink: 0;
}
.mark-circle {
  display: inline-block; width: 7px; height: 7px;
  border: 1.25px solid var(--accent); border-radius: 50%;
  margin-right: 10px; vertical-align: 2px; flex-shrink: 0;
}

/* ---- Scroll reveal ---- */
[data-reveal] {
  opacity: 0;
  transition: opacity 0.6s var(--t-spa), transform 0.6s var(--t-spa);
  transition-delay: var(--reveal-delay, 0ms);
}
[data-reveal="up"]    { transform: translateY(20px); }
[data-reveal="left"]  { transform: translateX(-20px); }
[data-reveal="zoom"]  { transform: scale(0.97); }
[data-reveal].reveal-visible { opacity: 1; transform: none; }

/* ---- Eyebrow ---- */
.eyebrow {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 2.4px;
  color: var(--ink-3);
  display: inline-flex;
  align-items: center;
}

/* ---- Type utilities ---- */
.display {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(46px, 6vw, 78px); line-height: 1.03; letter-spacing: -2px; color: var(--ink);
}
.display .accent-word { font-style: italic; color: var(--accent); }
.lede { font-size: 17px; line-height: 1.6; color: var(--ink-2); max-width: 56ch; }

/* ============================================================
   TOP STRIP
   ============================================================ */
.top-bar { border-bottom: 1px solid var(--line); font-size: 12.5px; color: var(--ink-2); background: var(--bg); }
.top-bar .container {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 9px; padding-bottom: 9px; flex-wrap: wrap; gap: 8px;
}
.top-bar-left  { display: flex; gap: 26px; align-items: center; }
.top-bar-right { display: flex; gap: 22px; align-items: center; }
.top-bar .icon { margin-right: 4px; opacity: .6; }
.top-bar a { color: var(--ink-2); transition: color var(--t); }
.top-bar a:hover { color: var(--accent); }
.top-bar-cta {
  padding: 5px 14px !important; border: 1px solid var(--ink);
  border-radius: var(--radius-pill); font-weight: 500;
  font-size: 12px !important; color: var(--ink) !important; transition: all var(--t);
}
.top-bar-cta:hover { background: var(--ink); color: #fff !important; }

/* ============================================================
   HEADER
   ============================================================ */
header {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(255,255,255,0.93); backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line);
}
header .container { display: flex; justify-content: space-between; align-items: center; min-height: 72px; }
.logo { display: flex; align-items: center; gap: 14px; cursor: pointer; }
.logo-img { height: 38px; width: 38px; object-fit: contain; border-radius: 5px; }
.footer-logo { height: 32px; width: 32px; object-fit: contain; border-radius: 4px; margin-bottom: 14px; }
.logo-text h1 { font-family: var(--serif); font-size: 18px; font-weight: 500; color: var(--ink); letter-spacing: -0.2px; line-height: 1.1; }
.logo-text span { display: block; font-size: 10px; color: var(--ink-3); text-transform: uppercase; letter-spacing: 1.6px; margin-top: 2px; font-weight: 500; }

nav { display: flex; align-items: center; }
nav ul { display: flex; align-items: center; gap: 2px; }
nav li { position: relative; }
nav a {
  display: block; padding: 10px 14px;
  font-family: var(--head); font-size: 12.5px; font-weight: 500;
  color: var(--ink-2); transition: color var(--t); position: relative;
  text-transform: uppercase; letter-spacing: 0.6px;
}
nav a:hover { color: var(--ink); }
nav a.active { color: var(--accent); }
nav a.active::after { content: ''; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 1px; background: var(--accent); }
.nav-cta { margin-left: 10px; padding: 9px 18px !important; border: 1px solid var(--ink); border-radius: var(--radius-pill); color: var(--ink) !important; font-weight: 600; transition: all var(--t); }
.nav-cta:hover { background: var(--ink); color: #fff !important; }

/* Dropdowns */
.nav-dropdown > a { padding-right: 28px; }
.nav-dropdown > a::before {
  content: ''; position: absolute; right: 13px; top: 50%;
  width: 5px; height: 5px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor;
  transform: translateY(-70%) rotate(45deg); transition: transform var(--t);
}
.nav-dropdown:hover > a::before, .nav-dropdown.open > a::before { transform: translateY(-20%) rotate(225deg); }
.nav-submenu {
  position: absolute; top: calc(100% + 6px); left: 0; min-width: 210px;
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius-md);
  padding: 8px; box-shadow: 0 16px 40px rgba(0,0,0,0.10);
  display: flex; flex-direction: column; gap: 2px;
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity var(--t), transform var(--t), visibility var(--t); z-index: 1200;
}
.nav-submenu::before {
  content: ''; position: absolute; top: -5px; left: 22px;
  width: 10px; height: 10px; background: var(--bg);
  border-left: 1px solid var(--line); border-top: 1px solid var(--line); transform: rotate(45deg);
}
.nav-submenu a { padding: 9px 12px; font-size: 12.5px; text-transform: none; letter-spacing: 0; border-radius: 7px; color: var(--ink-2); }
.nav-submenu a::after { display: none; }
.nav-submenu a:hover, .nav-submenu a.active { background: var(--bg-alt); color: var(--ink); }
.nav-submenu a.active { color: var(--accent); }
.nav-dropdown:hover > .nav-submenu, .nav-dropdown:focus-within > .nav-submenu, .nav-dropdown.open > .nav-submenu { opacity: 1; visibility: visible; transform: translateY(0); }
.submenu-toggle { display: none; }
.mobile-toggle { display: none; background: none; border: none; cursor: pointer; padding: 6px; }
.mobile-toggle span { display: block; width: 22px; height: 1.5px; background: var(--ink); margin: 5px 0; border-radius: 2px; transition: var(--t); }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 13px 26px; font-size: 13.5px; font-weight: 500; border-radius: var(--radius-pill); cursor: pointer; border: 1px solid transparent; transition: all var(--t); font-family: var(--sans); letter-spacing: 0.1px; position: relative; overflow: hidden; }
.btn .arrow { transition: transform 0.22s; }
.btn:hover .arrow { transform: translateX(4px); }
.btn-primary { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn-primary:hover { background: var(--accent); border-color: var(--accent); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--ink); background: var(--bg-alt); }
.btn-text { background: transparent; color: var(--ink); padding: 8px 0; border-radius: 0; border-bottom: 1px solid var(--ink); padding-bottom: 4px; font-size: 13.5px; }
.btn-text:hover { color: var(--accent); border-color: var(--accent); }
.btn-white { background: #fff; color: var(--ink); border-color: rgba(255,255,255,0.3); }
.btn-white:hover { background: var(--accent-soft); color: var(--accent); border-color: var(--accent-soft); }
.btn-outline { background: transparent; color: #fff; border-color: rgba(255,255,255,0.45); }
.btn-outline:hover { border-color: #fff; background: rgba(255,255,255,0.08); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  padding: 80px 0 64px;
  overflow: hidden;
  background:
    linear-gradient(110deg,
      rgba(255, 252, 249, 0.88) 0%,
      rgba(255, 252, 249, 0.74) 30%,
      rgba(255, 252, 249, 0.30) 56%,
      rgba(255, 252, 249, 0.06) 78%,
      rgba(255, 252, 249, 0.00) 100%
    ),
    url('../assets/images/fall.jpg') center / cover no-repeat;
}
.hero::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(180deg,
      rgba(255, 252, 249, 0.22) 0%,
      transparent 14%,
      transparent 84%,
      rgba(255, 252, 249, 0.32) 100%
    );
}
.hero .container { position: relative; z-index: 1; }
.hero-grid { display: grid; grid-template-columns: 1.12fr 0.86fr; gap: 52px; align-items: end; }
.hero-eyebrow { margin-bottom: 26px; }
.hero .display { margin-bottom: 26px; }
.hero .lede    { margin-bottom: 36px; }
.hero-actions  { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }

.hero-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); margin-top: 52px; max-width: 420px; }
.hero-meta-item { background: var(--bg); padding: 15px 18px; }
.hero-meta-item .k { font-size: 10px; color: var(--ink-3); text-transform: uppercase; letter-spacing: 1.4px; margin-bottom: 4px; font-weight: 500; }
.hero-meta-item .v { font-size: 13.5px; color: var(--ink); font-weight: 500; }

/* Geometric portrait card */
.hero-portrait {
  position: relative;
  aspect-ratio: 4/5;
  width: min(100%, 410px);
  margin-left: auto;
  border: 1px solid var(--line);
  padding: 10px;
  background: var(--bg-alt);
}
.hero-portrait::before, .hero-portrait::after { content: ''; position: absolute; width: 9px; height: 9px; border: 1px solid var(--accent); background: var(--bg); }
.hero-portrait::before { top: -5px; left: -5px; }
.hero-portrait::after  { bottom: -5px; right: -5px; }
.hero-portrait .img-wrap {
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #eee;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-portrait .img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.05) contrast(1.02);
}
.hero-portrait .badge {
  position: absolute; bottom: 22px; left: 22px; right: 22px;
  background: rgba(255,255,255,0.96); padding: 14px 16px; border: 1px solid var(--line);
  display: flex; justify-content: space-between; align-items: center; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.hero-portrait .badge .name { font-family: var(--serif); font-size: 15px; font-weight: 500; }
.hero-portrait .badge .role { font-size: 10px; color: var(--ink-3); text-transform: uppercase; letter-spacing: 1.2px; margin-top: 2px; }
.hero-portrait .badge .yrs  { text-align: right; }
.hero-portrait .badge .yrs .n { font-family: var(--serif); font-size: 22px; color: var(--accent); line-height: 1; }
.hero-portrait .badge .yrs .l { font-size: 10px; text-transform: uppercase; letter-spacing: 1.2px; color: var(--ink-3); margin-top: 3px; }

/* ============================================================
   SECTION HEAD
   ============================================================ */
.section-head { display: grid; grid-template-columns: 1fr 1.4fr; gap: 64px; margin-bottom: 64px; align-items: end; }
.section-head .eyebrow { margin-bottom: 14px; }
.section-num { font-family: var(--serif); font-size: 13px; color: var(--ink-3); letter-spacing: 1px; }

/* Centered variant (inner pages) */
.section-title { text-align: center; margin-bottom: 52px; }
.section-title .eyebrow { display: block; margin-bottom: 12px; }
.section-title h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(28px, 4vw, 42px); line-height: 1.1; letter-spacing: -0.8px; color: var(--ink); margin-bottom: 12px; }
.section-title p  { font-size: 15px; color: var(--ink-2); max-width: 520px; margin: 0 auto; }
.section-title .accent-line { width: 28px; height: 1px; background: var(--accent); margin: 18px auto 0; }

/* ============================================================
   FEATURES (4-up flat row with hairlines)
   ============================================================ */
.features-bar {
  padding: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: linear-gradient(160deg, #faebd7 0%, #f0dfc8 100%);
}
.features-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; background: transparent; padding: 24px 0; }
.feature-item { background: transparent; padding: 0; transition: transform var(--t); }
.feature-item:hover { background: transparent; }
.feature-icon { font-size: 20px; margin-bottom: 14px; }
.feature-item h4 { font-size: 14px; font-weight: 600; color: var(--ink); margin-bottom: 5px; letter-spacing: -0.1px; }
.feature-item p  { font-size: 13px; color: var(--ink-2); line-height: 1.55; }
.feature-visual-box {
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: 0 18px 38px rgba(93, 52, 24, 0.14);
  overflow: hidden;
}
.feature-visual-box img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1), filter 0.5s ease;
  filter: grayscale(0.05) saturate(0.9);
}
.feature-item-visual:hover .feature-visual-box img {
  transform: scale(1.04);
  filter: grayscale(0) saturate(1.1) brightness(1.03);
}

/* ============================================================
   IMAGE STRIP — full-bleed divider
   ============================================================ */
.image-strip { padding: 0; }
.image-strip-inner { position: relative; height: 420px; background-size: cover; background-position: center; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); filter: brightness(1.8); }
.image-strip-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 25%, rgba(14,20,16,0.50) 100%); display: flex; align-items: flex-end; }
.image-strip-overlay .container { padding-bottom: 44px; color: #fff; width: 100%; }
.image-strip-overlay .eyebrow { color: rgba(255,255,255,0.70); margin-bottom: 10px; }
.image-strip-overlay h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(30px, 4vw, 48px); line-height: 1.1; letter-spacing: -1px; color: #fff; max-width: 18ch; }
.image-strip-overlay h2 em { font-style: italic; color: #f4cf9a; }

/* ============================================================
   STATS BAND
   ============================================================ */
.stats-band { padding: 52px 0; background: linear-gradient(145deg, #f0e2d0 0%, #e4d2bc 100%); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stats-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.stat { display: flex; flex-direction: column; gap: 4px; }
.stat .n { font-family: var(--serif); font-size: 52px; line-height: 1; font-weight: 400; letter-spacing: -2px; color: var(--ink); }
.stat .n .small { font-size: 28px; color: var(--accent); margin-left: 2px; }
.stat .l { font-size: 13px; color: var(--ink-2); margin-top: 4px; }

/* ============================================================
   ABOUT
   ============================================================ */
.about { background: linear-gradient(150deg, #fffcf8 0%, #faebd7 100%); padding: 0; }
.about .split { display: grid; grid-template-columns: 1.1fr 1fr; gap: 80px; align-items: start; }
.about .left   { position: sticky; top: 96px; }
.about .visual { aspect-ratio: 4/5; background: var(--bg-alt); border: 1px solid var(--line); position: relative; padding: 20px; overflow: hidden; }
.about .visual img { width: 100%; height: 100%; object-fit: contain; padding: 22px; }
.about .visual .corner-num { position: absolute; top: 20px; left: 20px; font-family: var(--serif); font-size: 12px; color: var(--ink-3); letter-spacing: 1px; }
.about .visual .stamp       { position: absolute; bottom: 20px; right: 20px; font-size: 10px; text-transform: uppercase; letter-spacing: 1.5px; color: var(--ink-3); }
.about .visual-photo { aspect-ratio: 4/5; border: 1px solid var(--line); overflow: hidden; position: relative; }
.about .visual-photo img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(0.06) brightness(1.25); }
.about .visual-photo .tag { position: absolute; top: 22px; left: 22px; background: rgba(255,255,255,0.96); border: 1px solid var(--line); padding: 7px 13px; font-size: 11px; text-transform: uppercase; letter-spacing: 1.3px; color: var(--ink); display: inline-flex; align-items: center; gap: 8px; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.about .visual-photo .tag::before { content: ''; width: 5px; height: 5px; background: var(--accent); border-radius: 50%; display: inline-block; }
.checklist { display: grid; grid-template-columns: 1fr 1fr; gap: 0; margin-top: 32px; border-top: 1px solid var(--line); }
.checklist li { padding: 15px 0; border-bottom: 1px solid var(--line); display: flex; gap: 11px; align-items: center; font-size: 13.5px; color: var(--ink); }
.checklist li:nth-child(odd)  { padding-right: 18px; }
.checklist li:nth-child(even) { padding-left: 18px; border-left: 1px solid var(--line); }
.checklist .tick { color: var(--accent); font-size: 12px; flex-shrink: 0; }

/* Legacy about markup (index.html) */
.about-grid   { display: grid; grid-template-columns: 62% 1fr; gap: 0; align-items: stretch; }
.about-logo-box { display: flex; flex-direction: column; }
.about-logo-img { width: 100%; height: auto; object-fit: contain; padding: 24px; }
.about-visual-box {
  width: 100%;
  border: 1px solid var(--line);
  background: var(--bg-alt);
  padding: 16px;
  aspect-ratio: 1 / 0;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.about-visual-box img { width: 100%; height: 100%; object-fit: contain; padding: 4px; }
.about-visual-box.about-visual-photo {
  aspect-ratio: unset;
  flex: none;
  width: 100%;
  padding: 0;
  background: #ead9c4;
  box-shadow: 0 24px 56px rgba(62, 47, 33, 0.12);
  border-radius: var(--radius-md) 0 0 var(--radius-md);
}
.about-visual-box.about-visual-photo::before {
  content: '';
  position: absolute;
  inset: 0;
  box-shadow:
    inset 0 0 76px 30px rgba(255, 252, 248, 0.22),
    inset -42px 0 68px rgba(250, 235, 215, 0.34);
  z-index: 2;
  pointer-events: none;
  border-radius: var(--radius-md) 0 0 var(--radius-md);
}
.about-visual-box.about-visual-photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255,252,248,0.03), rgba(250,235,215,0.22) 76%, rgba(250,235,215,0.42)),
    linear-gradient(145deg, rgba(255,252,248,0.08), rgba(169,103,64,0.18));
  pointer-events: none;
  z-index: 1;
}
.about-visual-box.about-visual-photo img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: initial;
  padding: 0;
  margin-top: 40px;
  filter: saturate(0.82) brightness(1.05) contrast(0.94) sepia(0.10);
  border-radius: var(--radius-md) 0 0 var(--radius-md);
}
.about-visual-link {
  color: inherit;
  text-decoration: none;
  transition: transform var(--t), box-shadow var(--t);
}
.about-visual-link:hover,
.about-visual-link:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 26px 54px rgba(62, 47, 33, 0.14);
}
.about-badge { position: absolute; bottom: 20px; right: 20px; background: rgba(255,255,255,0.96); border: 1px solid var(--line); padding: 7px 14px; font-size: 11px; text-transform: uppercase; letter-spacing: 1.3px; color: var(--ink); display: inline-flex; align-items: center; gap: 8px; }
.about-badge::before { content: ''; width: 5px; height: 5px; background: var(--accent); border-radius: 50%; display: inline-block; }
.about-content { padding: 80px max(32px, calc((100vw - 1200px) / 2 + 32px)) 80px 60px; }
.about-content h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(26px, 3.5vw, 38px); line-height: 1.1; letter-spacing: -0.8px; margin-bottom: 16px; }
.about-content > p, .about-content p { font-size: 15px; color: var(--ink-2); line-height: 1.7; margin-bottom: 12px; }
.about-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0; margin-top: 28px; border-top: 1px solid var(--line); }
.about-list li { padding: 13px 0; border-bottom: 1px solid var(--line); display: flex; gap: 10px; align-items: center; font-size: 13.5px; color: var(--ink); }
.about-list li:nth-child(odd)  { padding-right: 18px; }
.about-list li:nth-child(even) { padding-left: 18px; border-left: 1px solid var(--line); }
.about-list li .check { color: var(--accent); font-size: 12px; flex-shrink: 0; }
.about-image { border: 1px solid var(--line); overflow: hidden; position: relative; }
.about-image-photo { width: 100%; height: auto; display: block; filter: grayscale(0.06); }
.practice-title { white-space: nowrap; }

/* ============================================================
   SERVICES
   ============================================================ */
.services { background: linear-gradient(155deg, #faebd7 0%, #f0dfc8 50%, #e8d3b8 100%); }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; background: transparent; border: 0; }
.service-card { background: transparent; padding: 36px 30px 28px; transition: background var(--t); position: relative; min-height: 200px; display: flex; flex-direction: column; }
.service-card:hover { background: transparent; }

/* Image variant */
.service-card.svc-visual { padding: 0; overflow: hidden; min-height: 0; }
.service-card.svc-visual:hover { background: transparent; }
.svc-visual-img {
  overflow: hidden;
  position: relative;
  padding: 0;
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: 0 18px 38px rgba(93, 52, 24, 0.14);
}
.svc-visual-img img {
  width: 100%;
  height: auto;
  display: block;
  margin-left: 0;
  transform: none;
  transform-origin: center;
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1), filter 0.5s ease;
  filter: grayscale(0.05) saturate(0.9);
}
.service-card.svc-visual:hover .svc-visual-img img {
  transform: scale(1.04);
  filter: grayscale(0) saturate(1.1) brightness(1.03);
}
.wellness-image-grid {
  gap: 16px;
}
.wellness-image-card .svc-visual-img img {
  width: 100%;
  height: auto;
  object-fit: contain;
  background: var(--bg-alt);
}
.service-icon { display: none; }
.service-card .svc-num { font-family: var(--serif); font-size: 12px; color: var(--ink-3); letter-spacing: 1px; margin-bottom: 12px; display: flex; justify-content: space-between; align-items: center; }
.service-card h3 { font-family: var(--sans); font-size: 16px; font-weight: 500; letter-spacing: -0.2px; color: var(--ink); margin-bottom: 12px; }
.service-card p  { font-size: 13.5px; color: var(--ink-2); line-height: 1.6; }
.service-card .arrow-link { margin-top: auto; padding-top: 18px; font-size: 11.5px; color: var(--ink-3); letter-spacing: 0.5px; text-transform: uppercase; display: flex; align-items: center; gap: 6px; transition: color var(--t); }
.service-card:hover .arrow-link { color: var(--accent); }

/* ============================================================
   PROVIDER
   ============================================================ */
.providers { background: linear-gradient(145deg, #faebd7 0%, #f0dfc8 100%); }
.provider-card { max-width: 900px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1.4fr; gap: 64px; align-items: start; }
.provider-photo { aspect-ratio: 4/5; border: 1px solid var(--line); background: var(--bg-alt); padding: 0; position: relative; overflow: hidden; }
.provider-photo-img {
  width: 100%;
  height: 100%;
  margin: 0;
  object-fit: cover;
  object-position: center top;
  filter: grayscale(0.05);
}
.provider-tag { position: absolute; top: 22px; left: 22px; background: rgba(255,255,255,0.96); border: 1px solid var(--line); padding: 7px 13px; font-size: 11px; text-transform: uppercase; letter-spacing: 1.3px; color: var(--ink); display: inline-flex; align-items: center; gap: 8px; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.provider-tag::before { content: ''; width: 5px; height: 5px; background: var(--accent); border-radius: 50%; display: inline-block; }
.provider-info { padding: 0; text-align: left; }
.provider-info h3 { font-family: var(--serif); font-size: 28px; font-weight: 500; letter-spacing: -0.3px; margin-bottom: 5px; }
.provider-info .specialty { font-size: 11.5px; color: var(--ink-3); text-transform: uppercase; letter-spacing: 1.3px; margin-bottom: 18px; display: block; }
.provider-info > p { font-size: 14.5px; color: var(--ink-2); line-height: 1.7; margin-bottom: 12px; }
.provider-details { border-top: 1px solid var(--line); margin-top: 24px; }
.provider-detail { display: grid; grid-template-columns: 1fr 2fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); align-items: baseline; font-size: 14px; color: var(--ink); }
.provider-detail strong { font-size: 10.5px; color: var(--ink-3); text-transform: uppercase; letter-spacing: 1.3px; font-weight: 500; display: block; }

/* ============================================================
   INSURANCE
   ============================================================ */
.insurance { background: linear-gradient(180deg, #fffcf8 0%, #f4ece2 100%); }
.insurance-logos { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; max-width: 860px; margin: 0 auto; }
.insurance-tag { border: 1px solid var(--line); border-radius: var(--radius-pill); padding: 7px 16px; font-size: 12.5px; font-weight: 500; color: var(--ink-2); transition: all var(--t); background: var(--bg); }
.insurance-tag:hover { border-color: var(--accent); color: var(--accent); background: var(--accent-soft); }

/* ============================================================
   REVIEWS
   ============================================================ */

/* ============================================================
   PAGE HEADER
   ============================================================ */
.page-header {
  position: relative;
  overflow: hidden;
  padding: 88px 0 72px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(130deg, #fffcf8 0%, #faebd7 55%, #f4ece2 100%);
}
.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(130deg, rgba(255, 252, 248, 0.14) 0%, rgba(250, 235, 215, 0.03) 52%, rgba(244, 236, 226, 0.1) 100%);
  pointer-events: none;
}
.page-header .container { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1.3fr; gap: 64px; align-items: end; }
.page-header .eyebrow { margin-bottom: 20px; }
.page-header h1, .page-header h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(38px, 5vw, 62px); line-height: 1.05; letter-spacing: -1.5px; }
.page-header .lede { font-size: 17px; color: var(--ink-2); line-height: 1.6; }
.page-header-services {
  background:
    linear-gradient(130deg, rgba(255, 252, 248, 0.44) 0%, rgba(248, 225, 197, 0.28) 54%, rgba(239, 225, 209, 0.42) 100%),
    url('../assets/images/header-bg-image/IV-Therapy.jpg') center 88% / cover no-repeat;
}
.page-header-services::before {
  background:
    linear-gradient(130deg, rgba(255, 252, 248, 0.08) 0%, rgba(249, 232, 212, 0.01) 50%, rgba(244, 236, 226, 0.05) 100%);
}
.page-header-wellness {
  background:
    linear-gradient(130deg, rgba(255, 252, 248, 0.42) 0%, rgba(244, 230, 214, 0.26) 50%, rgba(236, 221, 206, 0.42) 100%),
    url('../assets/images/header-bg-image/Physician-Guided.jpg') center 60% / cover no-repeat;
}
.page-header-wellness::before {
  background:
    linear-gradient(130deg, rgba(255, 252, 248, 0.08) 0%, rgba(246, 233, 220, 0.01) 48%, rgba(241, 232, 223, 0.05) 100%);
}
.page-header-practice {
  background:
    linear-gradient(130deg, rgba(255, 252, 248, 0.18) 0%, rgba(245, 228, 207, 0.10) 52%, rgba(237, 222, 208, 0.16) 100%),
    url('../assets/images/header-bg-image/Compassionate-Care.jpg') center 38% / cover no-repeat;
}
.page-header-practice::before {
  background:
    linear-gradient(130deg, rgba(255, 252, 248, 0.04) 0%, rgba(247, 234, 220, 0.01) 50%, rgba(242, 234, 225, 0.02) 100%);
}

/* ============================================================
   HUB INTRO
   ============================================================ */
.hub-intro { background: linear-gradient(150deg, #fffcf8 0%, #faebd7 100%); }
.hub-intro-grid { display: grid; grid-template-columns: 1.25fr 0.75fr; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.hub-intro-copy { padding: 40px; background: var(--bg-alt); }
.hub-intro-copy h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(24px, 3vw, 34px); line-height: 1.1; letter-spacing: -0.5px; margin-bottom: 16px; }
.hub-intro-copy p  { font-size: 14.5px; color: var(--ink-2); margin-bottom: 12px; line-height: 1.65; }
.hub-highlights { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; margin-top: 18px; }
.hub-highlights li { border: 1px solid var(--line); border-radius: var(--radius-pill); padding: 7px 13px; font-size: 12px; color: var(--ink-2); text-align: center; background: var(--bg); }
.hub-aside { padding: 36px; background: var(--ink); color: #fff; }
.hub-aside h3   { font-family: var(--serif); font-size: 22px; color: #fff; margin-bottom: 10px; font-weight: 500; }
.hub-aside > p  { color: rgba(255,255,255,0.68); margin-bottom: 16px; font-size: 14px; }
.hub-aside ul   { display: grid; gap: 10px; margin-bottom: 22px; }
.hub-aside li   { padding-left: 16px; position: relative; color: rgba(255,255,255,0.85); font-size: 13.5px; }
.hub-aside li::before { content: ''; position: absolute; left: 0; top: 0.65em; width: 5px; height: 5px; border-radius: 50%; background: #e8a378; }
.hub-aside .btn-white { background: #fff; color: var(--ink); width: 100%; justify-content: center; }
.hub-aside .btn-white:hover { background: var(--accent-soft); color: var(--accent); }
.page-breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--ink-3);
}
.page-breadcrumbs a { color: var(--ink-3); }
.page-breadcrumbs a:hover { color: var(--accent); }
.page-breadcrumbs .sep { opacity: 0.45; }

/* Hub nav */
.hub-nav { background: linear-gradient(160deg, #f4ece2 0%, #e8d9c7 100%); }
.hub-nav-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(155px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.hub-nav-card { background: var(--bg-alt); padding: 15px 18px; font-size: 12.5px; font-family: var(--head); font-weight: 500; color: var(--ink); transition: all var(--t); display: block; }
.hub-nav-card:hover { background: var(--bg); color: var(--accent); }

/* ============================================================
   CATEGORY CARDS
   ============================================================ */
.hub-categories { background: linear-gradient(180deg, #fffcf8 0%, #f4ece2 100%); }
.category-grid  { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.category-grid > *:last-child:nth-child(3n+2) { grid-column: span 2; }
.category-grid > *:last-child:nth-child(3n+1) { grid-column: span 3; }
.category-card  { background: var(--bg); padding: 28px 24px; transition: background var(--t); }
.category-card:hover { background: var(--bg-alt); }
.category-card-link { display: block; color: inherit; text-decoration: none; cursor: pointer; }
.category-card-link:hover h3,
.category-card-link:focus-visible h3 { color: var(--accent); }
.category-card h3 { font-family: var(--serif); font-size: 19px; font-weight: 500; margin-bottom: 10px; color: var(--ink); }
.category-card p  { font-size: 13.5px; color: var(--ink-2); margin-bottom: 12px; line-height: 1.6; }
.category-card ul { display: grid; gap: 5px; }
.category-card li { padding-left: 13px; position: relative; font-size: 12.5px; color: var(--ink-3); }
.category-card li::before { content: ''; position: absolute; left: 0; top: 0.57em; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); }
.category-card .card-label {
  display: inline-block;
  margin-bottom: 10px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--ink-3);
}
.category-card .card-price {
  margin-bottom: 14px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  background: var(--bg-alt);
}
.category-card .card-price strong {
  display: block;
  margin-bottom: 8px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--ink-3);
}
.category-card .card-price p {
  margin-bottom: 8px;
}
.category-card .card-price p:last-child {
  margin-bottom: 0;
}
.wellness-treatment-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
  gap: 24px;
  background: transparent;
  border: none;
  max-width: 1040px;
  margin: 0 auto;
}
.wellness-treatment-grid.two-up {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.wellness-treatment-grid.two-up > *:last-child:nth-child(3n+2) {
  grid-column: auto;
}
.wellness-treatment-card {
  padding: 22px 20px;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.wellness-treatment-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border: 1px solid var(--line);
  margin-bottom: 16px;
  background: var(--bg-alt);
}
.wellness-treatment-card.coming-soon-card {
  max-width: none;
}
.wellness-treatment-card p:last-of-type,
.wellness-treatment-card ul:last-child,
.wellness-treatment-card .coming-soon-note:last-child {
  margin-top: auto;
}
.coming-soon-note {
  display: inline-block;
  margin-top: 12px;
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.3px;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-soft);
}

/* ============================================================
   DETAIL CARDS
   ============================================================ */
.detail-section {
  position: relative;
  overflow: hidden;
  background: linear-gradient(150deg, #f4ece2 0%, #e8d9c7 100%);
}
.detail-section--bg {
  --bg-img-width:  130%;   /* change this to control horizontal size */
  --bg-img-height: 100%;   /* change this to control vertical size   */
  background:
    linear-gradient(160deg, rgba(255, 252, 248, 0.10) 0%, rgba(244, 236, 226, 0.06) 50%, rgba(232, 217, 199, 0.10) 100%),
    url('../assets/images/wellness-optimization/Bgimg.jpg') center top / var(--bg-img-width) var(--bg-img-height) no-repeat;
}
.detail-section--bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: transparent;
  pointer-events: none;
}
.detail-section .container { position: relative; z-index: 1; }
.detail-stack   { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.detail-card    { background: var(--bg); padding: 40px 36px; }
.detail-card h3 { font-family: var(--serif); font-size: 22px; font-weight: 500; margin-bottom: 10px; color: var(--ink); }
.detail-card > p { font-size: 14.5px; color: var(--ink-2); margin-bottom: 22px; line-height: 1.65; max-width: 72ch; }
.detail-card .card-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 18px; }
.detail-columns { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.detail-column  { background: var(--bg-alt); padding: 18px; }
.detail-column h4 { font-size: 10px; text-transform: uppercase; letter-spacing: 1.5px; color: var(--ink-3); margin-bottom: 10px; font-weight: 600; }
.detail-column p, .detail-column li { font-size: 13px; color: var(--ink-2); line-height: 1.6; }
.detail-column ul { display: grid; gap: 5px; }
.detail-column li { padding-left: 13px; position: relative; }
.detail-column li::before { content: ''; position: absolute; left: 0; top: 0.57em; width: 4px; height: 4px; border-radius: 50%; background: var(--accent); }
.detail-column a { color: var(--accent); font-weight: 500; }

/* ============================================================
   PATIENT PORTAL
   ============================================================ */
.portal { background: linear-gradient(150deg, #fffcf8 0%, #faebd7 100%); }
.portal-content { max-width: 760px; margin: 0 auto; }
.portal-card { border: 1px solid var(--line); padding: 48px 44px; background: var(--bg-alt); margin-bottom: 1px; text-align: center; }
.portal-card h3 { font-family: var(--serif); font-size: 26px; font-weight: 500; margin-bottom: 14px; }
.portal-card > p { font-size: 15px; color: var(--ink-2); margin-bottom: 28px; line-height: 1.65; max-width: 500px; margin-left: auto; margin-right: auto; }
.portal-features { display: grid; grid-template-columns: 1fr 1fr; gap: 0; margin-bottom: 30px; border-top: 1px solid var(--line); text-align: left; }
.portal-feature { display: flex; gap: 10px; align-items: center; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 13.5px; color: var(--ink); }
.portal-feature:nth-child(odd)  { padding-right: 22px; }
.portal-feature:nth-child(even) { padding-left: 22px; border-left: 1px solid var(--line); }
.portal-feature .check { color: var(--accent); font-size: 12px; flex-shrink: 0; }
.portal-bill { text-align: center; padding: 32px; border: 1px solid var(--line); background: var(--bg); margin-bottom: 1px; }
.portal-bill h3 { font-family: var(--serif); font-size: 22px; font-weight: 500; margin-bottom: 10px; }
.portal-bill p  { font-size: 14px; color: var(--ink-2); margin-bottom: 20px; }
.portal-disclaimer { text-align: center; padding: 28px 0; border: 1px solid var(--line); background: var(--bg-alt); }
.portal-disclaimer p { font-size: 13px; color: var(--ink-3); line-height: 1.65; max-width: 560px; margin: 0 auto; }

/* ============================================================
   CONTACT
   ============================================================ */
.contact { background: linear-gradient(150deg, #fffcf8 0%, #faebd7 100%); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.contact-info-col { background: var(--bg-alt); }
.contact-info-cards { display: flex; flex-direction: column; gap: 1px; background: var(--line); }
.contact-card { background: var(--bg-alt); padding: 22px 24px; display: flex; gap: 16px; align-items: flex-start; transition: background var(--t); }
.contact-card:hover { background: var(--bg); }
.contact-card-icon { width: 34px; height: 34px; background: var(--bg); border: 1px solid var(--line); border-radius: 6px; display: flex; align-items: center; justify-content: center; font-size: 14px; flex-shrink: 0; }
.contact-card h4 { font-size: 12.5px; font-weight: 600; margin-bottom: 5px; color: var(--ink); }
.contact-card p  { font-size: 13.5px; color: var(--ink-2); }
.contact-card a  { color: var(--accent); font-weight: 500; }
.hours-table { width: 100%; min-width: 230px; border-collapse: collapse; margin-top: 8px; table-layout: fixed; }
.hours-table td { padding: 6px 0; border-bottom: 1px solid var(--line-soft); font-size: 12.5px; }
.hours-table td:first-child { width: 46%; padding-right: 16px; color: var(--ink); font-weight: 500; }
.hours-table td:last-child  { width: 54%; text-align: right; color: var(--ink-2); }
.hours-table .closed { color: var(--danger); font-weight: 500; }
.map-container { width: 100%; height: 240px; background: var(--bg-alt); display: flex; align-items: center; justify-content: center; border-top: 1px solid var(--line); }
.map-placeholder { text-align: center; color: var(--ink-3); }
.map-placeholder .pin { font-size: 1.8rem; margin-bottom: 8px; opacity: .5; }
.map-placeholder p { font-size: 12.5px; margin-bottom: 8px; }
.map-placeholder a { font-size: 12.5px; color: var(--accent); font-weight: 500; }
.contact-form { background: var(--bg); padding: 40px; display: flex; flex-direction: column; gap: 20px; }
.contact-form h3 { font-family: var(--serif); font-size: 24px; font-weight: 500; margin-bottom: 26px; }
.contact-action-card { border: 1px solid var(--line); border-radius: var(--radius-md); padding: 32px; background: var(--bg); }
.contact-action-card--primary { background: var(--bg-alt); border-color: var(--line); }
.contact-action-card h3 { font-family: var(--serif); font-size: 22px; font-weight: 500; margin-bottom: 10px; color: var(--ink); }
.contact-action-card p { font-size: 14.5px; color: var(--ink-2); line-height: 1.6; margin-bottom: 22px; }
.contact-action-icon { font-size: 28px; margin-bottom: 14px; line-height: 1; }
.contact-action-note { font-size: 12px !important; color: var(--ink-3) !important; margin-bottom: 0 !important; margin-top: 12px; }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: 10.5px; font-weight: 600; color: var(--ink-3); margin-bottom: 6px; letter-spacing: 1px; text-transform: uppercase; }
.form-group input, .form-group textarea, .form-group select { width: 100%; padding: 11px 14px; border: 1px solid var(--line); font-family: var(--sans); font-size: 16px; transition: border-color var(--t); background: var(--bg); color: var(--ink); border-radius: 0; appearance: none; -webkit-appearance: none; }
.form-group input:focus, .form-group textarea:focus, .form-group select:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 2px rgba(17,20,24,0.05); }
.form-group textarea { resize: vertical; min-height: 108px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

/* ============================================================
   CTA BANNER — dark
   ============================================================ */
.cta-banner { padding: 110px 0; background: var(--ink); color: #fff; }
.cta-banner .container { display: grid; grid-template-columns: 1.4fr 1fr; gap: 80px; align-items: end; }
.cta-banner .eyebrow { color: #888c92; margin-bottom: 20px; display: block; }
.cta-banner h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(36px, 4.5vw, 56px); line-height: 1.06; letter-spacing: -1px; color: #fff; }
.cta-banner h2 .accent-word { font-style: italic; color: #e8a378; }
.cta-banner p { color: #c2c5ca; font-size: 15px; line-height: 1.65; margin-bottom: 24px; }
.cta-banner .btn-primary { background: #fff; color: var(--ink); border-color: #fff; }
.cta-banner .btn-primary:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.cta-banner .btn-white { background: #fff; color: var(--ink); }
.cta-banner .btn-white:hover { background: var(--accent-soft); color: var(--accent); }
.cta-banner .btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,0.5); }
.cta-banner .btn-ghost:hover { background: rgba(255,255,255,0.1); border-color: #fff; }
.cta-banner.cta-centered .container { grid-template-columns: 1fr; text-align: center; }
.cta-banner.cta-centered p { max-width: 460px; margin-left: auto; margin-right: auto; }

/* ============================================================
   FOOTER
   ============================================================ */
footer { background: linear-gradient(180deg, #f4ece2 0%, #ead9c7 100%); border-top: 1px solid var(--line); padding: 72px 0 32px; }
.footer-partners { display: flex; gap: 22px; align-items: center; margin-bottom: 52px; flex-wrap: wrap; }
.footer-partner { display: flex; align-items: center; }
.footer-partner img { height: 24px; width: auto; opacity: 0.38; filter: grayscale(1); transition: all var(--t); object-fit: contain; }
.footer-partner img:hover { opacity: 1; filter: grayscale(0); }
.footer-partner-logo-hfh, .footer-partner-logo-corewell { max-height: 28px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 48px; padding-bottom: 44px; border-bottom: 1px solid var(--line); }
.footer-about h3 { font-family: var(--serif); font-size: 19px; font-weight: 500; margin-bottom: 12px; letter-spacing: -0.2px; }
.footer-about p  { font-size: 13.5px; color: var(--ink-2); line-height: 1.7; max-width: 32ch; }
footer h4 { font-size: 10px; font-weight: 600; text-transform: uppercase; letter-spacing: 1.8px; color: var(--ink-3); margin-bottom: 14px; }
footer ul li { margin-bottom: 9px; }
footer ul a  { font-size: 13.5px; color: var(--ink); transition: color var(--t); }
footer ul a:hover { color: var(--accent); }
.footer-contact p { font-size: 13px; color: var(--ink); margin-bottom: 7px; display: flex; align-items: center; gap: 8px; }
.footer-phone-link { color: var(--accent); font-weight: 500; }
.footer-bottom { display: flex; justify-content: space-between; padding-top: 22px; font-size: 11px; color: var(--ink-3); flex-wrap: wrap; gap: 8px; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero-portrait { display: none; }
  .about .split, .about-grid { grid-template-columns: 1fr; gap: 0; min-height: unset; }
  .about .left, .about-logo-box { position: static; margin-left: 0; }
  .about-visual-box.about-visual-photo {
    width: 100%;
    min-height: 320px;
    border-radius: var(--radius-md) var(--radius-md) 0 0;
  }
  .about-visual-box.about-visual-photo::before,
  .about-visual-box.about-visual-photo img {
    border-radius: var(--radius-md) var(--radius-md) 0 0;
  }
  .about-content { padding: 40px 24px; max-width: none; }
  .provider-card { grid-template-columns: 1fr; }
  .hub-intro-grid { grid-template-columns: 1fr; }
  .cta-banner .container { grid-template-columns: 1fr; gap: 28px; }
  .page-header .container { grid-template-columns: 1fr; gap: 16px; }
  .section-head { grid-template-columns: 1fr; gap: 14px; }
}

@media (max-width: 768px) {
  section { padding: 64px 0; }
  .top-bar .container { flex-direction: column; text-align: center; }
  .top-bar-left, .top-bar-right { justify-content: center; flex-wrap: wrap; gap: 10px; }
  header .container { position: relative; }
  nav ul { display: none; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: var(--bg); box-shadow: 0 16px 40px rgba(0,0,0,0.10); padding: 8px 0; border-top: 1px solid var(--line); align-items: stretch; z-index: 999; }
  nav ul.open { display: flex; }
  nav li { width: 100%; }
  nav a  { padding: 12px 24px; font-size: 13px; }
  .nav-dropdown > a { padding-right: 54px; }
  .nav-dropdown > a::before { display: none; }
  .submenu-toggle { display: block; position: absolute; top: 4px; right: 8px; width: 42px; height: 42px; border: none; background: transparent; cursor: pointer; }
  .submenu-toggle::before, .submenu-toggle::after { content: ''; position: absolute; left: 50%; top: 50%; width: 13px; height: 1.5px; background: var(--ink-2); transform: translate(-50%,-50%); transition: var(--t); }
  .submenu-toggle::after { transform: translate(-50%,-50%) rotate(90deg); }
  .nav-dropdown.open .submenu-toggle::after { opacity: 0; }
  .nav-submenu { position: static; min-width: 0; background: var(--bg-alt); box-shadow: none; border: none; border-radius: 0; opacity: 1; visibility: visible; transform: none; max-height: 0; overflow: hidden; padding: 0; transition: max-height 0.28s ease, padding 0.28s ease; }
  .nav-submenu::before { display: none; }
  .nav-dropdown.open > .nav-submenu { max-height: 500px; padding: 6px 12px 10px; }
  .mobile-toggle { display: block; }
  .nav-cta { display: none; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: 1fr; }
  .category-grid { grid-template-columns: 1fr; }
  .wellness-treatment-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .detail-columns { grid-template-columns: 1fr; }
  .hub-highlights { grid-template-columns: 1fr; }
  .stats-row      { grid-template-columns: repeat(2, 1fr); }
  .footer-grid    { grid-template-columns: 1fr; }
  .footer-partners { gap: 14px; margin-bottom: 32px; }
  .checklist      { grid-template-columns: 1fr; }
  .checklist li:nth-child(even) { padding-left: 0; border-left: none; }
  .about-list     { grid-template-columns: 1fr; }
  .about-list li:nth-child(even) { padding-left: 0; border-left: none; }
  .portal-features { grid-template-columns: 1fr; }
  .portal-feature:nth-child(even) { padding-left: 0; border-left: none; }
  .form-row       { grid-template-columns: 1fr; }
  .contact-grid   { grid-template-columns: 1fr; }
  .hub-nav-grid   { grid-template-columns: repeat(2, 1fr); }
  .hero .display  { font-size: clamp(36px, 9vw, 54px); letter-spacing: -1.5px; }
  .cta-banner     { padding: 68px 0; }
  .cta-banner h2  { font-size: clamp(28px, 7vw, 42px); }
  .page-header    { padding: 56px 0 44px; }
  .portal-card    { padding: 30px 22px; }
  .contact-form   { padding: 28px 20px; }
  .hero-meta      { max-width: 100%; }
  .image-strip-inner { height: 320px; }
  .section-title h2 { font-size: clamp(24px, 6vw, 34px); }
}

@media (max-width: 480px) {
  .features-grid { grid-template-columns: 1fr; }
  .stats-row     { grid-template-columns: 1fr; }
  .hub-nav-grid  { grid-template-columns: 1fr; }
  .hero-meta     { grid-template-columns: 1fr; }
  .wellness-treatment-grid { grid-template-columns: 1fr; }
  .wellness-treatment-grid.two-up { grid-template-columns: 1fr; }
  .practice-title { white-space: normal; }
}

/* ============================================================
   ENTRANCE ANIMATIONS — hero page-load sequence
   ============================================================ */
@media (prefers-reduced-motion: no-preference) {
  .hero h2, .hero .display     { opacity: 0; animation: revealUp   0.85s 0.15s cubic-bezier(0.22, 1, 0.36, 1) forwards; }
  .hero p,  .hero .lede        { opacity: 0; animation: revealUp   0.85s 0.30s cubic-bezier(0.22, 1, 0.36, 1) forwards; }
  .hero-buttons, .hero-actions { opacity: 0; animation: revealUp   0.85s 0.45s cubic-bezier(0.22, 1, 0.36, 1) forwards; }
  .hero-meta                   { opacity: 0; animation: revealUp   0.85s 0.55s cubic-bezier(0.22, 1, 0.36, 1) forwards; }
  .hero-portrait               { opacity: 0; animation: revealFade 1.10s 0.20s cubic-bezier(0.22, 1, 0.36, 1) forwards; }

  @keyframes revealUp {
    from { opacity: 0; transform: translateY(18px); }
    to   { opacity: 1; transform: translateY(0); }
  }
  @keyframes revealFade {
    from { opacity: 0; }
    to   { opacity: 1; }
  }
}

/* Reduced-motion: ensure content is always visible */
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1 !important; transform: none !important; transition: none !important; }
  .hero h2, .hero .display, .hero p, .hero .lede,
  .hero-buttons, .hero-actions, .hero-meta, .hero-portrait {
    opacity: 1 !important; animation: none !important;
  }
  header { transition: none; }
  .svc-visual-img img, .feature-visual-box img { transition: none; }
}

/* Focus-visible — keyboard navigation accessibility */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 2px;
}
.btn:focus-visible { outline-offset: 4px; }
.nav-submenu a:focus-visible { outline-offset: 1px; }

/* Backdrop-filter fallback for browsers that don't support it */
@supports not (backdrop-filter: blur(1px)) {
  header { background: rgba(255,255,255,0.98); }
  .hero-portrait .badge,
  .about .visual-photo .tag,
  .provider-tag { background: rgba(255,255,255,0.99); }
}

/* ============================================================
   RIPPLE
   ============================================================ */
@keyframes ripple {
  to { transform: scale(1); opacity: 0; }
}

/* ============================================================
   HEADER — scroll behaviour
   ============================================================ */
header { transition: transform 0.38s var(--t-spa), box-shadow 0.22s ease; }
header.header-scrolled { box-shadow: 0 2px 24px rgba(0,0,0,0.07); }
header.header-hidden   { transform: translateY(-100%); }

/* ============================================================
   FLOATING REQUEST APPOINTMENT BUTTON
   ============================================================ */
.float-appt {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 9000;
  display: none;
  align-items: center;
  gap: 9px;
  padding: 14px 22px;
  background: var(--accent);
  color: #fff;
  font-family: var(--head);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  border-radius: var(--radius-pill);
  border: none;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(185, 90, 44, 0.38), 0 1px 4px rgba(0,0,0,0.12);
  transition: background 0.22s ease, transform 0.22s ease, box-shadow 0.22s ease;
  animation: float-appt-intro 0.6s 0.8s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.float-appt:hover {
  background: #9e4820;
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(185, 90, 44, 0.45), 0 2px 8px rgba(0,0,0,0.14);
  color: #fff;
}

.float-appt:active {
  transform: translateY(-1px);
}

.float-appt-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  opacity: 0.92;
}

/* Subtle pulse ring to draw attention */
.float-appt::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--accent);
  animation: float-appt-ring 3.2s 2.5s ease-out infinite;
  pointer-events: none;
}

@keyframes float-appt-intro {
  from { opacity: 0; transform: translateY(18px) scale(0.92); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes float-appt-ring {
  0%   { opacity: 0.6; transform: scale(1); }
  80%  { opacity: 0; transform: scale(1.15); }
  100% { opacity: 0; transform: scale(1.15); }
}

@media (max-width: 600px) {
  .float-appt {
    display: flex;
    bottom: 20px;
    right: 16px;
    padding: 12px 16px;
    font-size: 11.5px;
    gap: 7px;
  }
  .float-appt-label { display: none; }
  .float-appt-icon  { width: 18px; height: 18px; opacity: 1; }
}
