/* ==========================================================================
   Medflux — Medical Billing & RCM
   Premium · Navy + Teal · Fraunces + Inter
   Hostinger-ready PHP template
   ========================================================================== */

/* --------------------------------------------------------------------------
   DESIGN TOKENS
   -------------------------------------------------------------------------- */
:root {
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "Space Mono", ui-monospace, "Cascadia Code", monospace;

  --ink: #0b1f33;
  --ink-2: #152a40;
  --ink-3: #2a4060;
  --paper: #ffffff;
  --surface: #ffffff;

  --gray-50: #f7f9fc;
  --gray-100: #eef2f7;
  --gray-200: #e2e8f0;
  --gray-300: #cbd5e1;
  --gray-400: #94a3b8;
  --gray-500: #64748b;

  --accent: #0d9488;
  --accent-bright: #14b8a6;
  --accent-deep: #0f766e;
  --accent-soft: rgba(13, 148, 136, 0.1);
  --accent-border: rgba(13, 148, 136, 0.22);

  --signal: #d4a017;
  --signal-hover: #b8860b;
  --signal-soft: rgba(212, 160, 23, 0.14);

  --paid: #0d9488;
  --paid-chip: #ccfbf1;
  --rule: #e5ebf2;
  --ink-soft: #5b6b7c;
  --ink-faint: rgba(11, 31, 51, 0.04);
  --mint-wash: #f0fdfa;

  --shadow-sm: 0 1px 2px rgba(11, 31, 51, 0.04), 0 1px 3px rgba(11, 31, 51, 0.06);
  --shadow-md: 0 4px 12px rgba(11, 31, 51, 0.06), 0 2px 4px rgba(11, 31, 51, 0.04);
  --shadow-lg: 0 12px 32px rgba(11, 31, 51, 0.1), 0 4px 8px rgba(11, 31, 51, 0.04);
  --shadow-lift: 0 16px 40px rgba(11, 31, 51, 0.12);
  --shadow-xl: 0 24px 48px rgba(11, 31, 51, 0.14);

  --radius: 10px;
  --radius-sm: 8px;
  --radius-lg: 14px;
  --radius-xl: 20px;
  --radius-full: 999px;

  --max: 1140px;
  --header-h: 5.15rem;

  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-7: 2rem;
  --space-8: 2.5rem;
  --space-9: 3.5rem;
  --space-10: 5rem;
  --space-11: 6.5rem;

  --text: 1.0625rem;
  --leading: 1.65;
  --focus: 0 0 0 3px rgba(13, 148, 136, 0.35);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --duration: 0.2s;
}

/* --------------------------------------------------------------------------
   RESET + BASE
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  /* Kill decorative motion, but keep infinite marquees running
     (Windows “reduce animation” was freezing the logo strip). */
  *:not(.ehr-marquee-track):not(.reviews-marquee-track):not(.marquee-track--ehr),
  *:not(.ehr-marquee-track):not(.reviews-marquee-track):not(.marquee-track--ehr)::before,
  *:not(.ehr-marquee-track):not(.reviews-marquee-track):not(.marquee-track--ehr)::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .ehr-marquee-track,
  .reviews-marquee-track,
  .marquee-track--ehr {
    animation-duration: 55s !important;
    animation-iteration-count: infinite !important;
  }
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--text);
  line-height: var(--leading);
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, svg { display: block; max-width: 100%; height: auto; }
a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 0.15em; transition: color var(--duration) var(--ease); }
a:hover { color: var(--accent-deep); }
a:focus-visible { outline: none; box-shadow: var(--focus); border-radius: 4px; }

.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding-inline: 1.5rem;
}
.narrow { max-width: 720px; }
.img-treated { filter: saturate(0.9) contrast(1.04); }
.mono { font-family: var(--font-mono); }
.sr-only,
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.text-center { text-align: center; }
.text-gradient {
  background: linear-gradient(135deg, var(--accent-bright) 0%, #5eead4 55%, var(--accent) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* --------------------------------------------------------------------------
   TYPOGRAPHY
   -------------------------------------------------------------------------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.15;
  letter-spacing: -0.025em;
  margin: 0 0 0.75rem;
  font-weight: 700;
  color: var(--ink);
}

.hero-modern-title,
.page-title {
  font-size: clamp(2.4rem, 5vw, 3.4rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  font-weight: 700;
  margin-bottom: 1.25rem;
}

.section-title {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  letter-spacing: -0.025em;
  font-weight: 700;
  margin-bottom: 0.85rem;
}

.cta-modern-title {
  font-size: clamp(1.75rem, 3.2vw, 2.35rem);
  letter-spacing: -0.025em;
  color: #fff;
  margin-bottom: 1rem;
}

.hero-modern-sub,
.page-lead,
.section-lead {
  font-size: 1.1rem;
  line-height: 1.65;
  color: var(--ink-soft);
  margin: 0 0 1.75rem;
  max-width: 36rem;
  font-weight: 400;
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 0.85rem;
}

.eyebrow--light { color: var(--accent-bright); }
.eyebrow--on-warm { color: #fde68a; }

.section-header-modern {
  margin-bottom: 2.75rem;
}
.section-header-modern--center { text-align: center; }
.section-header-modern--center .section-lead,
.section-header-modern--center .section-title {
  margin-left: auto;
  margin-right: auto;
}
.section-header-modern--center .section-lead { max-width: 34rem; }
.section-header-modern--light .section-title { color: #fff; }
.section-header-modern--light .section-lead { color: rgba(255, 255, 255, 0.68); }

.section-header {
  margin-bottom: 2.25rem;
}
.section-header .section-title { margin-bottom: 0.5rem; }

.section-tag {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.85rem;
  margin-bottom: 1rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-deep);
  background: var(--accent-soft);
  border: 1px solid var(--accent-border);
  border-radius: var(--radius-full);
}
.section-tag--light {
  color: var(--accent-bright);
  background: rgba(20, 184, 166, 0.12);
  border-color: rgba(20, 184, 166, 0.28);
}

.section-more-center {
  text-align: center;
  margin-top: 2.25rem;
}
.section-more-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 600;
  font-size: 0.98rem;
  color: var(--accent-deep);
  text-decoration: none;
  transition: gap var(--duration) var(--ease), color var(--duration) var(--ease);
}
.section-more-link:hover {
  color: var(--accent);
  gap: 0.55rem;
}
.section-dark .section-more-link {
  color: var(--accent-bright);
}
.section-dark .section-more-link:hover {
  color: #fff;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--accent-deep);
  text-decoration: none;
}
.text-link:hover { color: var(--accent); }
.text-link--arrow .arrow { transition: transform var(--duration) var(--ease); }
.text-link--arrow:hover .arrow { transform: translateX(3px); }

/* --------------------------------------------------------------------------
   BUTTONS — consistent sizes, breathing room
   -------------------------------------------------------------------------- */
/* ==========================================================================
   BUTTONS — unified system
   Sizes: sm (header) · md (default) · lg (heroes/CTAs)
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  box-sizing: border-box;
  min-height: 2.875rem; /* 46px — comfortable tap target */
  padding: 0.75rem 1.35rem;
  border: 1.5px solid transparent;
  border-radius: 10px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.01em;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  white-space: nowrap;
  vertical-align: middle;
  appearance: none;
  -webkit-appearance: none;
  transition:
    background 0.18s var(--ease),
    color 0.18s var(--ease),
    border-color 0.18s var(--ease),
    box-shadow 0.18s var(--ease),
    transform 0.18s var(--ease);
}
.btn:focus-visible {
  outline: none;
  box-shadow: var(--focus);
}
.btn svg,
.btn-cta-icon {
  width: 1.15em;
  height: 1.15em;
  flex: none;
  display: block;
}

/* --- Sizes --- */
.btn-sm {
  min-height: 2.5rem;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  border-radius: 8px;
}
.btn-lg,
.btn-primary-lg,
.btn-outline-lg,
.btn-outline-light,
.btn-white-lg,
.btn-cta-primary,
.btn-cta-secondary {
  min-height: 3.25rem;
  padding: 0.9rem 1.65rem;
  font-size: 1rem;
  border-radius: 12px;
}

/* --- Variants (light backgrounds) --- */
.btn-primary,
.btn-primary-lg {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
  box-shadow: 0 1px 2px rgba(13, 148, 136, 0.18), 0 6px 16px rgba(13, 148, 136, 0.16);
}
.btn-primary:hover,
.btn-primary-lg:hover {
  background: var(--accent-bright);
  border-color: var(--accent-bright);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 2px 6px rgba(13, 148, 136, 0.2), 0 10px 24px rgba(13, 148, 136, 0.2);
}
.btn-primary:active,
.btn-primary-lg:active {
  transform: translateY(0);
}

.btn-outline,
.btn-outline-lg,
.btn-ghost {
  background: #fff;
  color: var(--ink);
  border-color: var(--gray-200);
  box-shadow: 0 1px 2px rgba(11, 31, 51, 0.04);
}
.btn-outline:hover,
.btn-outline-lg:hover,
.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent-deep);
  background: var(--accent-soft);
  box-shadow: none;
}
/* Ghost slightly softer default text */
.btn-ghost {
  color: var(--ink-soft);
  background: transparent;
  box-shadow: none;
}
.btn-ghost:hover {
  color: var(--accent-deep);
}

.btn-outline-light {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.32);
  box-shadow: none;
}
.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.55);
  color: #fff;
  transform: translateY(-1px);
}

.btn-white-lg,
.btn-cta-primary {
  background: #fff;
  color: var(--ink);
  border-color: #fff;
  font-weight: 700;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.16);
}
.btn-white-lg:hover,
.btn-cta-primary:hover {
  background: #f0fdfa;
  color: var(--accent-deep);
  border-color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
}

.btn-cta-secondary {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.34);
  font-weight: 600;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: none;
}
.btn-cta-secondary:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.55);
  color: #fff;
  transform: translateY(-1px);
}

/* Signal maps to primary for consistency (legacy class) */
.btn-signal {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
  box-shadow: 0 1px 2px rgba(13, 148, 136, 0.18), 0 6px 16px rgba(13, 148, 136, 0.16);
}
.btn-signal:hover {
  background: var(--accent-bright);
  border-color: var(--accent-bright);
  color: #fff;
  transform: translateY(-1px);
}

.btn-ink {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}
.btn-ink:hover {
  background: var(--ink-2);
  border-color: var(--ink-2);
  color: #fff;
  transform: translateY(-1px);
}

.btn-block { width: 100%; }
.btn-icon-right { gap: 0.45rem; }
.btn-cta-caps { letter-spacing: 0.02em; }

/* --- Button rows / groups --- */
.btn-row,
.hero-modern-ctas,
.hero-ctas,
.cta-modern-actions,
.cta-band-actions,
.cta-actions,
.post-footer-actions,
.legal-contact-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 0.85rem;
}
/* Heroes: left-aligned pairs */
.btn-row--start,
.hero-modern-ctas,
.hero-ctas {
  justify-content: flex-start;
}
/* Centered CTAs */
.btn-row--center,
.hero-ctas--center,
.cta-actions--center,
.cta-modern .cta-actions {
  justify-content: center;
}
/* Stacked (cta-band aside) */
.btn-row--stack,
.cta-actions--stack {
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  width: 100%;
  max-width: 300px;
}
.btn-row--stack .btn,
.cta-actions--stack .btn {
  width: 100%;
}
/* Equal flex children when needed */
.btn-row--equal > .btn {
  flex: 1 1 auto;
  min-width: min(100%, 11rem);
}

/* --------------------------------------------------------------------------
   HEADER
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease);
  overflow: visible;
}
.site-header .header-inner,
.site-header .site-nav,
.site-header .nav-list {
  overflow: visible;
}
.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.97);
  border-bottom-color: var(--rule);
  box-shadow: 0 1px 0 rgba(11, 31, 51, 0.03), 0 8px 24px rgba(11, 31, 51, 0.04);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 100%;
}

.logo,
.site-logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
  line-height: 0;
}
.logo-img {
  display: block;
  height: 3.35rem;
  width: auto;
  max-width: min(280px, 56vw);
  max-height: 3.35rem;
  object-fit: contain;
  object-position: left center;
}
.logo-text,
.site-logo {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.03em;
  line-height: 1;
}
.logo:hover .logo-text,
.site-logo:hover { color: var(--ink); }
.logo-x { color: var(--accent); }
.footer-logo {
  display: inline-flex;
  text-decoration: none;
  line-height: 0;
  margin-bottom: 0.85rem;
  padding: 0.55rem 0.85rem;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
}
.footer-logo-img {
  display: block;
  height: 3rem;
  width: auto;
  max-width: 260px;
  max-height: 3rem;
  object-fit: contain;
  object-position: left center;
}

.site-nav { display: flex; align-items: center; }
.nav-list {
  display: flex;
  align-items: center;
  gap: 0.1rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-list > li { position: relative; }

.nav-link,
.nav-trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.55rem 0.85rem;
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 500;
  line-height: 1.2;
  color: var(--ink-soft);
  text-decoration: none;
  background: transparent;
  border: none;
  border-radius: 9px;
  cursor: pointer;
  white-space: nowrap;
  transition:
    color 0.18s var(--ease),
    background 0.18s var(--ease),
    box-shadow 0.18s var(--ease);
}
.nav-link:hover,
.nav-trigger:hover,
.nav-link.is-active,
.nav-trigger.is-active,
.has-dropdown.is-open > .nav-trigger {
  color: var(--accent-deep);
  background: var(--accent-soft);
}
.nav-trigger:focus-visible,
.nav-link:focus-visible {
  outline: none;
  box-shadow: var(--focus);
}

.nav-chevron {
  width: 0.85rem;
  height: 0.85rem;
  flex: none;
  opacity: 0.7;
  transition: transform 0.22s var(--ease), opacity 0.18s var(--ease);
}
.has-dropdown.is-open > .nav-trigger .nav-chevron,
.has-dropdown:hover > .nav-trigger .nav-chevron {
  transform: rotate(180deg);
  opacity: 1;
}

.nav-toggle {
  display: none;
  position: relative;
  width: 2.75rem;
  height: 2.75rem;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  background: var(--surface);
  border: 1.5px solid var(--rule);
  border-radius: 10px;
  padding: 0;
  cursor: pointer;
  color: var(--ink);
  flex-shrink: 0;
  z-index: 120;
  -webkit-tap-highlight-color: transparent;
}
.nav-toggle:hover,
.nav-toggle:focus-visible {
  border-color: var(--accent-border);
  background: var(--accent-soft);
  outline: none;
  box-shadow: var(--focus);
}
.nav-toggle-bar {
  display: block;
  width: 1.2rem;
  height: 2px;
  background: currentColor;
  border-radius: 1px;
  transition: transform 0.22s var(--ease), opacity 0.18s var(--ease);
  transform-origin: center;
}
.nav-toggle.is-open .nav-toggle-bar:nth-child(1),
body.nav-open .nav-toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle.is-open .nav-toggle-bar:nth-child(2),
body.nav-open .nav-toggle-bar:nth-child(2) {
  opacity: 0;
}
.nav-toggle.is-open .nav-toggle-bar:nth-child(3),
body.nav-open .nav-toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem 1rem;
  margin-left: auto;
  flex-shrink: 0;
}
.header-cta {
  flex-shrink: 0;
}
.nav-backdrop {
  display: none;
  position: fixed;
  inset: var(--header-h) 0 0 0;
  background: rgba(11, 31, 51, 0.35);
  z-index: 85;
  border: 0;
  padding: 0;
  cursor: pointer;
}
body.nav-open .nav-backdrop {
  display: block;
}
.header-phone {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: -0.01em;
}
.header-phone:hover { color: var(--accent); }

/* ---------- Modern mega dropdowns ---------- */
.has-dropdown { position: relative; }

.nav-dropdown {
  position: absolute;
  top: calc(100% + 0.15rem);
  left: 0;
  width: min(640px, calc(100vw - 2rem));
  padding-top: 0.55rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(10px) scale(0.98);
  transform-origin: top left;
  transition:
    opacity 0.2s var(--ease),
    transform 0.22s var(--ease),
    visibility 0.2s;
  z-index: 120;
}
.nav-dropdown--specialties {
  width: min(560px, calc(100vw - 2rem));
  left: 50%;
  transform: translateX(-50%) translateY(10px) scale(0.98);
  transform-origin: top center;
}

/* Invisible hover bridge so the menu doesn't close in the gap */
.has-dropdown::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  height: 0.7rem;
  display: none;
}
.has-dropdown.is-open::after,
.has-dropdown:hover::after { display: block; }

.has-dropdown.is-open > .nav-dropdown,
.has-dropdown:focus-within > .nav-dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}
.has-dropdown.is-open > .nav-dropdown--specialties,
.has-dropdown:focus-within > .nav-dropdown--specialties {
  transform: translateX(-50%) translateY(0) scale(1);
}

/* Desktop hover open */
@media (hover: hover) and (pointer: fine) {
  .has-dropdown:hover > .nav-dropdown {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0) scale(1);
  }
  .has-dropdown:hover > .nav-dropdown--specialties {
    transform: translateX(-50%) translateY(0) scale(1);
  }
}

.nav-dropdown-card {
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(226, 232, 240, 0.95);
  border-radius: 16px;
  box-shadow:
    0 0 0 1px rgba(11, 31, 51, 0.03),
    0 4px 6px rgba(11, 31, 51, 0.03),
    0 18px 40px rgba(11, 31, 51, 0.12),
    0 40px 80px rgba(11, 31, 51, 0.08);
  overflow: hidden;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.nav-dropdown-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.15rem 0.85rem;
  border-bottom: 1px solid var(--rule);
  background: linear-gradient(180deg, var(--gray-50) 0%, #fff 100%);
}
.nav-dropdown-kicker {
  margin: 0 0 0.15rem;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-deep);
}
.nav-dropdown-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.nav-dropdown-all {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent-deep);
  text-decoration: none;
  padding: 0.4rem 0.65rem;
  border-radius: 8px;
  transition: background 0.15s var(--ease), gap 0.15s var(--ease);
  flex: none;
}
.nav-dropdown-all:hover {
  background: var(--accent-soft);
  color: var(--accent-deep);
  gap: 0.45rem;
}

.nav-dropdown-grid {
  display: grid;
  gap: 0.2rem;
  padding: 0.65rem;
  max-height: min(60vh, 420px);
  overflow-y: auto;
}
.nav-dropdown-grid--2 {
  grid-template-columns: 1fr 1fr;
}

.nav-dropdown-item {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 0.8rem;
  border-radius: 12px;
  text-decoration: none;
  color: var(--ink);
  border: 1px solid transparent;
  transition:
    background 0.16s var(--ease),
    border-color 0.16s var(--ease),
    transform 0.16s var(--ease),
    box-shadow 0.16s var(--ease);
}
.nav-dropdown-item--compact {
  padding: 0.7rem 0.75rem;
}
.nav-dropdown-item:hover,
.nav-dropdown-item:focus-visible {
  background: linear-gradient(135deg, var(--mint-wash) 0%, #f8fffd 100%);
  border-color: var(--accent-border);
  color: var(--ink);
  box-shadow: 0 1px 2px rgba(13, 148, 136, 0.06);
  outline: none;
}
.nav-dropdown-item:hover .nav-dd-icon,
.nav-dropdown-item:focus-visible .nav-dd-icon {
  background: var(--accent);
  color: #fff;
  transform: scale(1.04);
  box-shadow: 0 4px 12px rgba(13, 148, 136, 0.28);
}
.nav-dropdown-item:hover .nav-dd-title,
.nav-dropdown-item:focus-visible .nav-dd-title {
  color: var(--accent-deep);
}
.nav-dropdown-item:hover .nav-dd-go,
.nav-dropdown-item:focus-visible .nav-dd-go {
  opacity: 1;
  transform: translateX(0);
  color: var(--accent-deep);
}

.nav-dd-icon {
  width: 2.35rem;
  height: 2.35rem;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: var(--accent-soft);
  color: var(--accent-deep);
  flex: none;
  transition:
    background 0.18s var(--ease),
    color 0.18s var(--ease),
    transform 0.18s var(--ease),
    box-shadow 0.18s var(--ease);
}
.nav-dd-copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}
.nav-dd-title {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.3;
  letter-spacing: -0.01em;
  transition: color 0.15s var(--ease);
}
.nav-dd-desc {
  display: block;
  font-size: 0.78rem;
  color: var(--ink-soft);
  line-height: 1.4;
}
.nav-dd-go {
  width: 1.15rem;
  height: 1.15rem;
  display: grid;
  place-items: center;
  opacity: 0;
  transform: translateX(-4px);
  color: var(--gray-400);
  transition: opacity 0.16s var(--ease), transform 0.16s var(--ease), color 0.16s var(--ease);
}
.nav-dd-go svg {
  width: 100%;
  height: 100%;
}

.nav-dropdown-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 1.1rem;
  border-top: 1px solid var(--rule);
  background: linear-gradient(180deg, #fbfcfe 0%, var(--gray-50) 100%);
}
.nav-dropdown-foot-copy {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
}
.nav-dropdown-foot-copy strong {
  font-size: 0.88rem;
  color: var(--ink);
  font-weight: 700;
}
.nav-dropdown-foot-copy span {
  font-size: 0.8rem;
  color: var(--ink-soft);
  line-height: 1.4;
}

/* Stagger open feel for items when panel opens */
.has-dropdown.is-open .nav-dropdown-item,
.has-dropdown:hover .nav-dropdown-item {
  animation: navItemIn 0.28s var(--ease) both;
}
.has-dropdown.is-open .nav-dropdown-item:nth-child(1),
.has-dropdown:hover .nav-dropdown-item:nth-child(1) { animation-delay: 0.02s; }
.has-dropdown.is-open .nav-dropdown-item:nth-child(2),
.has-dropdown:hover .nav-dropdown-item:nth-child(2) { animation-delay: 0.04s; }
.has-dropdown.is-open .nav-dropdown-item:nth-child(3),
.has-dropdown:hover .nav-dropdown-item:nth-child(3) { animation-delay: 0.06s; }
.has-dropdown.is-open .nav-dropdown-item:nth-child(4),
.has-dropdown:hover .nav-dropdown-item:nth-child(4) { animation-delay: 0.08s; }
.has-dropdown.is-open .nav-dropdown-item:nth-child(5),
.has-dropdown:hover .nav-dropdown-item:nth-child(5) { animation-delay: 0.1s; }
.has-dropdown.is-open .nav-dropdown-item:nth-child(6),
.has-dropdown:hover .nav-dropdown-item:nth-child(6) { animation-delay: 0.12s; }
.has-dropdown.is-open .nav-dropdown-item:nth-child(n+7),
.has-dropdown:hover .nav-dropdown-item:nth-child(n+7) { animation-delay: 0.14s; }

@keyframes navItemIn {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .has-dropdown.is-open .nav-dropdown-item,
  .has-dropdown:hover .nav-dropdown-item {
    animation: none !important;
  }
  .nav-dropdown {
    transition: none;
  }
}

/* --------------------------------------------------------------------------
   HERO
   -------------------------------------------------------------------------- */
.hero-modern {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 80% 70% at 70% 0%, rgba(13, 148, 136, 0.22) 0%, transparent 55%),
    radial-gradient(ellipse 50% 40% at 10% 80%, rgba(13, 148, 136, 0.1) 0%, transparent 50%),
    linear-gradient(165deg, #0b1f33 0%, #0f2740 48%, #122c45 100%);
  padding: 5.5rem 0 5rem;
  color: #fff;
}
.hero-modern .container { position: relative; z-index: 1; }
.hero-modern-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3.5rem 4rem;
  align-items: center;
}
.hero-modern-content { max-width: 34rem; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.95rem;
  margin-bottom: 1.35rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-bright);
  background: rgba(20, 184, 166, 0.12);
  border: 1px solid rgba(20, 184, 166, 0.28);
  border-radius: var(--radius-full);
}
.hero-modern-title { color: #fff; margin-bottom: 1.15rem; }
.hero-modern-sub {
  color: rgba(255, 255, 255, 0.68);
  font-size: 1.12rem;
  margin-bottom: 1.5rem;
  max-width: 30rem;
}

.hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin: 0 0 2rem;
}
.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.9rem;
  font-size: 0.84rem;
  font-weight: 500;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-full);
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.3;
}
.hero-pill-check {
  width: 1rem;
  height: 1rem;
  flex: none;
  color: var(--accent-bright);
}

/* Dashboard card */
.hero-dashboard {
  background: var(--surface);
  border-radius: var(--radius-xl);
  border: 1px solid rgba(255, 255, 255, 0.12);
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(255, 255, 255, 0.06);
}
.hero-dashboard-header {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.9rem 1.35rem;
  background: var(--gray-50);
  border-bottom: 1px solid var(--rule);
}
.hero-dashboard-dot {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--dot, var(--accent));
}
.hero-dashboard-title {
  margin-left: 0.45rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--ink-soft);
  letter-spacing: 0.04em;
}
.hero-dashboard-body { padding: 1.35rem; }
.hero-stat-card {
  padding: 1.2rem 1.35rem;
  border-radius: var(--radius);
  margin-bottom: 1rem;
  background: linear-gradient(135deg, var(--mint-wash) 0%, #e6fffa 100%);
  border: 1px solid var(--accent-border);
}
.hero-stat-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--ink-soft);
  margin-bottom: 0.3rem;
}
.hero-stat-hint {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.68rem;
  font-weight: 500;
  color: var(--ink-soft);
  letter-spacing: 0.02em;
}
.hero-spark {
  display: flex;
  align-items: flex-end;
  gap: 0.28rem;
  height: 3.75rem;
  margin: 0 0 1rem;
  padding: 0.45rem 0.35rem 0.15rem;
  border-radius: var(--radius-sm);
  background: var(--gray-50);
  border: 1px solid var(--rule);
}
.hero-spark-bar {
  flex: 1 1 0;
  min-width: 0;
  height: var(--h, 24px);
  border-radius: 3px 3px 1px 1px;
  background: linear-gradient(180deg, var(--accent) 0%, var(--accent-deep, #0f766e) 100%);
  opacity: 0.85;
}
.hero-stat-value {
  font-family: var(--font-display);
  font-size: 2.15rem;
  font-weight: 700;
  color: var(--accent-deep);
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.hero-mini-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.65rem;
  margin-bottom: 1rem;
}
.hero-mini-stat {
  padding: 0.8rem 0.55rem;
  border-radius: var(--radius-sm);
  background: var(--gray-50);
  border: 1px solid var(--rule);
  text-align: center;
}
.hero-mini-stat-value {
  display: block;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.2;
}
.hero-mini-stat-label {
  display: block;
  font-size: 0.68rem;
  color: var(--ink-soft);
  margin-top: 0.2rem;
  line-height: 1.3;
}

/* --------------------------------------------------------------------------
   EHR STRIP — smooth infinite logo marquee
   -------------------------------------------------------------------------- */
.ehr-strip {
  border-bottom: 1px solid var(--rule);
  padding: 2.25rem 0 2rem;
  background: var(--gray-50);
  overflow: hidden;
}
.ehr-strip-head { text-align: center; margin-bottom: 1.15rem; }
.ehr-strip-eyebrow {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.ehr-strip-sub {
  margin: 0.35rem 0 0;
  font-size: 0.95rem;
  color: var(--gray-500);
}
.ehr-marquee {
  overflow: hidden;
  width: 100%;
  mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
}
.ehr-marquee-track {
  display: flex;
  width: max-content;
  align-items: center;
  animation: ehrMarquee 42s linear infinite;
  will-change: transform;
  transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
}
.ehr-marquee-group {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  gap: 0.35rem 1.25rem;
  padding-right: 1.25rem;
}
/* Pause only on real hover (not touch sticky hover) */
@media (hover: hover) and (pointer: fine) {
  .ehr-marquee:hover .ehr-marquee-track {
    animation-play-state: paused;
  }
}
.ehr-logo-item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  min-width: 7.5rem;
  height: 3.5rem;
  padding: 0.35rem 0.75rem;
  background: transparent;
  border: 0;
}
.ehr-logo-img {
  height: 44px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
  opacity: 0.92;
  pointer-events: none;
  user-select: none;
}
.ehr-logo-img.is-broken { display: none; }
.ehr-badge {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--ink-soft);
  padding: 0.15rem 0.25rem;
  white-space: nowrap;
}
.ehr-badge.is-fallback { display: inline-block; }

@keyframes ehrMarquee {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-50%, 0, 0); }
}
/* legacy class names still used by older templates */
.marquee--ehr { overflow: hidden; }
.marquee-track--ehr {
  display: flex;
  width: max-content;
  animation: ehrMarquee 42s linear infinite;
  will-change: transform;
}

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

/* --------------------------------------------------------------------------
   SECTIONS
   -------------------------------------------------------------------------- */
.section { padding: 5.5rem 0; }
.section-gray,
.section-surface,
.section-alt,
.section-mint { background: var(--gray-50); }
.section-teal { background: var(--mint-wash); }
.section-dark {
  background: linear-gradient(180deg, #0b1f33 0%, #122c45 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.section-dark > .container { position: relative; z-index: 1; }
.section-dark .section-title { color: #fff; }
.section-paper { background: var(--paper); }

/* --------------------------------------------------------------------------
   SERVICE CARDS
   -------------------------------------------------------------------------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.service-card {
  display: flex;
  flex-direction: column;
  padding: 1.75rem 1.65rem;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--rule);
  text-decoration: none;
  color: var(--ink);
  transition: transform var(--duration) var(--ease), box-shadow var(--duration) var(--ease), border-color var(--duration) var(--ease);
}
.service-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  border-color: var(--accent-border);
  color: var(--ink);
}
.service-card-icon {
  width: 2.85rem;
  height: 2.85rem;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--accent-deep);
  margin-bottom: 1.25rem;
}
.service-card-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  margin: 0 0 0.5rem;
  letter-spacing: -0.02em;
}
.service-card-text {
  margin: 0 0 1.15rem;
  color: var(--ink-soft);
  font-size: 0.94rem;
  line-height: 1.6;
  flex-grow: 1;
}
.service-card-link {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--accent-deep);
}
.service-card:hover .service-card-link { color: var(--accent); }

/* --------------------------------------------------------------------------
   SPLIT + PROBLEM
   -------------------------------------------------------------------------- */
.split-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem 4rem;
  align-items: center;
}
.split-img,
.media-frame {
  width: 100%;
  border-radius: var(--radius-xl);
  object-fit: cover;
  aspect-ratio: 4 / 3;
  box-shadow: var(--shadow-md);
}
.problem-cards {
  display: grid;
  gap: 0.9rem;
  margin-top: 1.75rem;
}
.problem-card {
  display: flex;
  gap: 1.15rem;
  padding: 1.2rem 1.35rem;
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px solid var(--rule);
  box-shadow: var(--shadow-sm);
  transition: transform var(--duration) var(--ease), box-shadow var(--duration) var(--ease);
}
.problem-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateX(4px);
}
.problem-card-num {
  flex: none;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 11px;
  background: var(--accent);
  color: #fff;
  display: grid;
  place-items: center;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
}
.problem-card-title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0 0 0.25rem;
  letter-spacing: -0.02em;
}
.problem-card-text {
  margin: 0;
  font-size: 0.92rem;
  color: var(--ink-soft);
  line-height: 1.5;
}

/* --------------------------------------------------------------------------
   PROCESS
   -------------------------------------------------------------------------- */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.15rem;
}
.process-card {
  padding: 1.6rem 1.4rem;
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  transition: transform var(--duration) var(--ease), box-shadow var(--duration) var(--ease), border-color var(--duration) var(--ease);
}
.process-card:hover {
  border-color: var(--accent-border);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.process-card-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 1.1rem;
}
.process-card-title {
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 700;
  margin: 0 0 0.4rem;
  letter-spacing: -0.02em;
}
.process-card-text {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.9rem;
  line-height: 1.55;
}

/* --------------------------------------------------------------------------
   SPECIALTIES
   -------------------------------------------------------------------------- */
.specialty-cards {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.85rem;
}
.specialty-card-modern {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1.05rem 1.15rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.88);
  transition: background var(--duration) var(--ease), border-color var(--duration) var(--ease), transform var(--duration) var(--ease);
}
.specialty-card-modern:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(20, 184, 166, 0.4);
  transform: translateY(-2px);
  color: #fff;
}
.specialty-card-modern-icon { flex: none; color: var(--accent-bright); }
.specialty-card-modern-name { flex: 1; font-size: 0.9rem; font-weight: 600; }
.specialty-card-modern-arrow {
  color: rgba(255, 255, 255, 0.25);
  transition: transform var(--duration) var(--ease), color var(--duration) var(--ease);
}
.specialty-card-modern:hover .specialty-card-modern-arrow {
  transform: translateX(3px);
  color: var(--accent-bright);
}

.specialty-card-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.15rem;
}

/* --------------------------------------------------------------------------
   RESULTS / CASE STUDIES
   -------------------------------------------------------------------------- */
.results-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.35rem;
}
.result-card {
  display: flex;
  flex-direction: column;
  padding: 1.75rem;
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  transition: transform var(--duration) var(--ease), box-shadow var(--duration) var(--ease), border-color var(--duration) var(--ease);
  position: relative;
  overflow: hidden;
}
.result-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
  border-color: var(--accent-border);
}
.result-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-bright));
  opacity: 0;
  transition: opacity var(--duration) var(--ease);
}
.result-card:hover::after { opacity: 1; }
.result-card-header { margin-bottom: 0.85rem; }
.result-card-specialty {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-deep);
  padding: 0.25rem 0.55rem;
  background: var(--accent-soft);
  border: 1px solid var(--accent-border);
  border-radius: 6px;
  margin-bottom: 0.55rem;
}
.result-card-org {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  margin: 0;
  letter-spacing: -0.02em;
}
.result-card-detail {
  font-size: 0.85rem;
  color: var(--ink-soft);
  margin: 0.25rem 0 0;
}
.result-card-summary {
  margin: 0 0 1.25rem;
  color: var(--ink-soft);
  font-size: 0.94rem;
  line-height: 1.6;
  flex-grow: 1;
}
.result-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.65rem;
  padding-top: 1.15rem;
  border-top: 1px solid var(--rule);
  margin-top: auto;
}
.result-metric { text-align: center; }
.result-metric-delta {
  display: block;
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--accent-deep);
  letter-spacing: -0.02em;
}
.result-metric-label {
  display: block;
  font-size: 0.7rem;
  color: var(--ink-soft);
  margin-top: 0.2rem;
  line-height: 1.3;
}
.result-sample {
  margin: 0.85rem 0 0;
  font-size: 0.78rem;
  color: var(--gray-400);
}

.case-study-metrics {
  display: grid;
  gap: 0.75rem;
  margin: 1rem 0;
}
.case-study-metric {
  padding: 0.75rem 0.9rem;
  background: var(--gray-50);
  border-radius: 8px;
  border: 1px solid var(--rule);
}
.mono-label {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.case-study-value {
  margin: 0.25rem 0 0.35rem;
  font-size: 0.95rem;
  font-weight: 600;
}

/* --------------------------------------------------------------------------
   TESTIMONIALS
   -------------------------------------------------------------------------- */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.35rem;
}
.testimonial-card {
  padding: 1.75rem;
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
  transition: transform var(--duration) var(--ease), box-shadow var(--duration) var(--ease);
}
.testimonial-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.testimonial-card-stars {
  display: flex;
  gap: 0.15rem;
  color: var(--signal);
}
.testimonial-card-text {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.96rem;
  line-height: 1.7;
  flex-grow: 1;
}
.testimonial-card-author {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}
.testimonial-avatar {
  width: 2.65rem;
  height: 2.65rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-deep) 100%);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 0.9rem;
  flex: none;
}
.testimonial-name { margin: 0; font-weight: 700; font-size: 0.94rem; }
.testimonial-role { margin: 0.1rem 0 0; font-size: 0.8rem; color: var(--ink-soft); }

/* Reviews marquee (homepage) */
.reviews-marquee-section {
  padding: 5rem 0 4.5rem;
  background: var(--gray-50);
  overflow: hidden;
}
.reviews-marquee-section .section-header-modern {
  margin-bottom: 2.25rem;
}
.reviews-marquee {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
}
.reviews-marquee-track {
  display: flex;
  gap: 1.15rem;
  width: max-content;
  animation: marqueeReviews 70s linear infinite;
}
.reviews-marquee:hover .reviews-marquee-track {
  animation-play-state: paused;
}
.reviews-marquee-group {
  display: flex;
  gap: 1.15rem;
  flex-shrink: 0;
  padding-right: 1.15rem;
}
.review-card,
.review-card--marquee {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
  padding: 1.25rem 1.3rem;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease), transform 0.2s var(--ease);
}
.review-card--marquee {
  width: 340px;
  flex: 0 0 340px;
}
.review-card--marquee:hover {
  border-color: var(--accent-border);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.review-card-stars {
  display: flex;
  gap: 0.12rem;
  color: var(--signal);
}
.review-card-stars .star--off { color: var(--gray-200); }
.review-card-top {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: auto;
  padding-top: 0.25rem;
}
.review-avatar {
  width: 2.45rem;
  height: 2.45rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-deep) 100%);
  color: #fff;
  display: inline-grid;
  place-items: center;
  font-size: 0.72rem;
  font-weight: 700;
  flex-shrink: 0;
  letter-spacing: -0.02em;
}
.star-row {
  display: inline-flex;
  gap: 0.1rem;
  color: var(--signal);
  font-size: 14px;
}
.star--off { color: var(--rule); }
.review-name { margin: 0; font-weight: 700; font-size: 0.92rem; color: var(--ink); }
.review-role { margin: 0.12rem 0 0; font-size: 0.78rem; color: var(--ink-soft); line-height: 1.35; }
.review-text {
  font-size: 0.92rem;
  color: var(--ink-soft);
  line-height: 1.6;
  margin: 0;
  flex-grow: 1;
}
.review-posted {
  margin: 0;
  font-size: 0.78rem;
  color: var(--gray-400);
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

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

/* --------------------------------------------------------------------------
   PRICING TEASER + CARDS
   -------------------------------------------------------------------------- */
.pricing-teaser-modern {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem 4rem;
  align-items: center;
}
.pricing-teaser-highlight {
  padding: 1.5rem 1.65rem;
  background: var(--gray-50);
  border-radius: var(--radius-lg);
  border: 1px solid var(--rule);
  margin: 0 0 1.5rem;
}
.pricing-teaser-from {
  display: block;
  font-size: 0.82rem;
  color: var(--ink-soft);
  margin-bottom: 0.25rem;
}
.pricing-teaser-price {
  display: block;
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--accent-deep);
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.pricing-teaser-note {
  display: block;
  font-size: 0.88rem;
  color: var(--ink-soft);
  margin-top: 0.3rem;
}

/* Legacy pricing card hooks (other pages may still use) */
.pricing-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
  align-items: stretch;
}
.pricing-cards--4 { grid-template-columns: repeat(4, 1fr); }
.pricing-card {
  display: flex;
  flex-direction: column;
  position: relative;
  padding: 1.75rem 1.5rem;
}
.pricing-card--recommended {
  border-color: var(--accent-border);
  box-shadow: var(--shadow-md);
  background: linear-gradient(180deg, var(--mint-wash) 0%, #fff 40%);
}
.pricing-value {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent-deep);
  margin: 0.35rem 0 0.25rem;
  letter-spacing: -0.02em;
}
.pricing-value--sm { font-size: 1.35rem; color: var(--ink); }
.pricing-note { font-size: 0.85rem; color: var(--ink-soft); margin: 0 0 0.5rem; }
.pricing-detail { font-size: 0.85rem; color: var(--gray-500); margin: 0 0 0.75rem; }
.pricing-card .card-text { flex-grow: 0; margin-bottom: 1rem; }
.pricing-card .check-list { flex-grow: 1; margin-bottom: 1.35rem; }
.pricing-card .btn { margin-top: auto; }

.check-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}
.check-list li {
  position: relative;
  padding-left: 1.45rem;
  font-size: 0.9rem;
  color: var(--ink-soft);
  line-height: 1.45;
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.35rem;
  width: 0.9rem;
  height: 0.9rem;
  border-radius: 50%;
  background: var(--accent-soft);
  border: 1px solid var(--accent-border);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none'%3E%3Cpath d='M3 6.2l2 2 4-4.2' stroke='%230d9488' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-size: 0.65rem;
  background-repeat: no-repeat;
  background-position: center;
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}
.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}
.compare-table th,
.compare-table td {
  padding: 0.95rem 1.15rem;
  text-align: left;
  border-bottom: 1px solid var(--rule);
  vertical-align: top;
}
.compare-table thead th {
  background: var(--gray-50);
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--ink);
}
.compare-table tbody th {
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
}
.compare-table--zebra tbody tr:nth-child(even) { background: var(--gray-50); }
.col-recommend {
  background: var(--accent-soft) !important;
  color: var(--ink);
  font-weight: 600;
}
.recommend-tag {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent-deep);
  margin-bottom: 0.25rem;
}
.table-footnote {
  margin: 1.25rem 0 0;
  font-size: 0.88rem;
  color: var(--ink-soft);
  text-align: center;
}

/* --------------------------------------------------------------------------
   PRICING PAGE — modern
   -------------------------------------------------------------------------- */
.price-hero {
  position: relative;
  overflow: hidden;
  padding: 4rem 0 3.5rem;
  background:
    radial-gradient(ellipse 70% 60% at 85% 10%, rgba(13, 148, 136, 0.12) 0%, transparent 55%),
    linear-gradient(180deg, var(--gray-50) 0%, var(--paper) 100%);
}
.price-hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2.75rem 3.25rem;
  align-items: center;
  position: relative;
  z-index: 1;
}
.price-hero-img {
  width: 100%;
  border-radius: var(--radius-xl);
  aspect-ratio: 5 / 4;
  object-fit: cover;
  box-shadow: var(--shadow-lg);
}
.price-hero-visual { position: relative; }
.price-hero-float {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 0.95rem;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid var(--rule);
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-md);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink);
  animation: spFloat 3.5s ease-in-out infinite;
}

.price-tiers-section { padding-top: 4rem; }
.price-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.15rem;
  align-items: stretch;
}
.price-grid--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
}
.price-grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}
.price-card--credentialing .price-card-value,
.price-grid--3 .price-card:last-child .price-card-value {
  font-size: clamp(1.35rem, 2.2vw, 1.65rem);
}
/* Social icons (Instagram / Facebook / LinkedIn) */
.social-icons {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
}
.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.85rem;
  transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.social-icon svg { flex-shrink: 0; display: block; }
.social-icons--header .social-icon {
  width: 2.15rem;
  height: 2.15rem;
  border-radius: 999px;
  border: 1.5px solid var(--rule);
  color: var(--ink-soft);
  background: var(--surface);
}
.social-icons--header .social-icon:hover {
  color: var(--accent-deep);
  border-color: var(--accent-border);
  background: var(--accent-soft);
  transform: translateY(-1px);
}
.social-icons--footer {
  margin-top: 1.15rem;
}
.social-icons--footer .social-icon {
  min-height: 2.35rem;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: rgba(255, 255, 255, 0.88) !important;
  background: rgba(255, 255, 255, 0.04);
}
.social-icons--footer .social-icon:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff !important;
  border-color: rgba(255, 255, 255, 0.28);
}
.social-icon--instagram:hover { color: #e1306c !important; }
.social-icons--footer .social-icon--instagram:hover {
  background: linear-gradient(45deg, rgba(225, 48, 108, 0.25), rgba(253, 29, 29, 0.2));
  color: #fff !important;
}
.social-icon--facebook:hover { color: #1877f2 !important; }
.social-icons--footer .social-icon--facebook:hover {
  background: rgba(24, 119, 242, 0.28);
  color: #fff !important;
}
.footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.15rem;
}
.footer-social-link {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: rgba(255, 255, 255, 0.8) !important;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
  transition: background 0.15s ease, color 0.15s ease;
}
.footer-social-link:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff !important;
}
.footer-states {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.footer-states-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 0.55rem;
}
.footer-states-list li {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.55);
  padding: 0.3rem 0.65rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
}
.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 1.65rem 1.4rem 1.5rem;
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: 18px;
  box-shadow: var(--shadow-sm);
  opacity: 0;
  transform: translateY(20px);
  transition:
    transform 0.35s var(--ease),
    box-shadow 0.35s var(--ease),
    border-color 0.35s var(--ease);
}
.price-card.is-in {
  opacity: 1;
  transform: none;
  transition-delay: calc(var(--stagger, 0) * 70ms);
}
.price-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lift);
  border-color: var(--accent-border);
  transition-delay: 0ms;
}
.price-card--featured {
  border-color: rgba(13, 148, 136, 0.35);
  background:
    linear-gradient(180deg, rgba(240, 253, 250, 0.95) 0%, #fff 42%);
  box-shadow: 0 8px 28px rgba(13, 148, 136, 0.12), var(--shadow-sm);
  transform: translateY(0) scale(1.02);
  z-index: 1;
}
.price-card--featured.is-in {
  transform: scale(1.02);
}
.price-card--featured:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 16px 40px rgba(13, 148, 136, 0.16), var(--shadow-md);
}
.price-card-badge {
  position: absolute;
  top: -0.7rem;
  left: 50%;
  transform: translateX(-50%);
  padding: 0.3rem 0.85rem;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-deep) 100%);
  border-radius: var(--radius-full);
  box-shadow: 0 4px 12px rgba(13, 148, 136, 0.3);
  white-space: nowrap;
}
.price-card-top { margin-bottom: 1.15rem; }
.price-card-eyebrow {
  display: inline-flex;
  padding: 0.25rem 0.6rem;
  margin-bottom: 0.65rem;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--accent-deep);
  background: var(--accent-soft);
  border: 1px solid var(--accent-border);
  border-radius: var(--radius-full);
}
.price-card--featured .price-card-eyebrow {
  background: rgba(13, 148, 136, 0.14);
}
.price-card-name {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  margin: 0 0 0.85rem;
  letter-spacing: -0.02em;
  line-height: 1.25;
}
.price-card-rate {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  margin-bottom: 0.85rem;
  padding-bottom: 0.9rem;
  border-bottom: 1px solid var(--rule);
}
.price-card-value {
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 2vw, 1.85rem);
  font-weight: 700;
  color: var(--accent-deep);
  letter-spacing: -0.03em;
  line-height: 1.15;
}
.price-card-note {
  font-size: 0.84rem;
  color: var(--ink-soft);
  line-height: 1.4;
}
.price-card-detail {
  font-size: 0.78rem;
  color: var(--gray-400);
  line-height: 1.4;
}
.price-card-blurb {
  margin: 0;
  font-size: 0.9rem;
  color: var(--ink-soft);
  line-height: 1.55;
}
.price-features {
  list-style: none;
  margin: 0 0 1.35rem;
  padding: 0;
  display: grid;
  gap: 0.55rem;
  flex-grow: 1;
}
.price-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.88rem;
  color: var(--ink-soft);
  line-height: 1.45;
}
.price-check {
  flex: none;
  width: 1.25rem;
  height: 1.25rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent-deep);
  margin-top: 0.05rem;
}
.price-check svg {
  width: 0.7rem;
  height: 0.7rem;
}
.price-card-cta { margin-top: auto; }

/* Compare table modern */
.price-compare-wrap {
  overflow-x: auto;
  border-radius: 18px;
  border: 1px solid var(--rule);
  background: var(--surface);
  box-shadow: var(--shadow-md);
}
.price-compare {
  width: 100%;
  border-collapse: collapse;
  min-width: 640px;
  font-size: 0.94rem;
}
.price-compare thead th {
  padding: 1.15rem 1.25rem;
  text-align: left;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
  background: var(--gray-50);
  border-bottom: 1px solid var(--rule);
  vertical-align: bottom;
}
.price-compare thead th.is-medflux {
  background: linear-gradient(180deg, var(--mint-wash) 0%, #e6fffa 100%);
  color: var(--accent-deep);
}
.price-compare thead th.is-label {
  width: 34%;
}
.price-compare-pill {
  display: inline-flex;
  margin-bottom: 0.4rem;
  padding: 0.22rem 0.55rem;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: #fff;
  background: var(--accent);
  border-radius: var(--radius-full);
}
.price-compare tbody th,
.price-compare tbody td {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--rule);
  vertical-align: middle;
  line-height: 1.45;
}
.price-compare tbody tr:last-child th,
.price-compare tbody tr:last-child td {
  border-bottom: none;
}
.price-compare tbody tr:hover td,
.price-compare tbody tr:hover th {
  background: rgba(248, 250, 252, 0.85);
}
.price-compare tbody th {
  font-weight: 600;
  color: var(--ink);
  text-align: left;
}
.price-compare tbody td {
  color: var(--ink-soft);
}
.price-compare tbody td.is-medflux {
  color: var(--ink);
  font-weight: 600;
  background: rgba(240, 253, 250, 0.45);
}
.price-compare tbody tr:hover td.is-medflux {
  background: rgba(240, 253, 250, 0.75);
}
.price-compare-ok {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.15rem;
  height: 1.15rem;
  margin-right: 0.4rem;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  vertical-align: -0.05em;
}

.price-assurance-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.15rem;
}
.price-assurance-card {
  padding: 1.5rem 1.4rem;
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.price-assurance-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.price-assurance-num {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent-deep);
  margin-bottom: 0.7rem;
}
.price-assurance-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0 0 0.45rem;
  letter-spacing: -0.02em;
}
.price-assurance-text {
  margin: 0;
  font-size: 0.92rem;
  color: var(--ink-soft);
  line-height: 1.55;
}

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

/* --------------------------------------------------------------------------
   ABOUT PAGE — modern
   -------------------------------------------------------------------------- */
.about-hero {
  position: relative;
  overflow: hidden;
  padding: 4rem 0 3.5rem;
  background:
    radial-gradient(ellipse 70% 60% at 85% 10%, rgba(13, 148, 136, 0.12) 0%, transparent 55%),
    linear-gradient(180deg, var(--gray-50) 0%, var(--paper) 100%);
}
.about-hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2.75rem 3.25rem;
  align-items: center;
  position: relative;
  z-index: 1;
}
.about-hero-visual { position: relative; }
.about-hero-img {
  width: 100%;
  border-radius: var(--radius-xl);
  aspect-ratio: 5 / 4;
  object-fit: cover;
  box-shadow: var(--shadow-lg);
}
.about-hero-float {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 0.95rem;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid var(--rule);
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-md);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink);
  animation: spFloat 3.5s ease-in-out infinite;
}

.about-stats-band {
  padding: 0 0 1rem;
  margin-top: -0.5rem;
}
.about-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  padding: 1.5rem;
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: 18px;
  box-shadow: var(--shadow-md);
}
.about-stat {
  text-align: center;
  padding: 0.5rem 0.35rem;
  border-right: 1px solid var(--rule);
}
.about-stat:last-child { border-right: none; }
.about-stat-value {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.2vw, 1.75rem);
  font-weight: 700;
  color: var(--accent-deep);
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 0.35rem;
}
.about-stat-label {
  display: block;
  font-size: 0.8rem;
  color: var(--ink-soft);
  line-height: 1.35;
}
.about-stats-note {
  margin: 0.85rem 0 0;
  text-align: center;
  font-size: 0.8rem;
  color: var(--gray-400);
}

.about-why-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2.75rem 3.25rem;
  align-items: center;
}
.about-why-text {
  margin: 0 0 1rem;
  color: var(--ink-soft);
  font-size: 1.02rem;
  line-height: 1.7;
  max-width: 36rem;
}
.about-why-img {
  width: 100%;
  border-radius: var(--radius-xl);
  aspect-ratio: 4 / 3;
  object-fit: cover;
  box-shadow: var(--shadow-md);
}

.about-principle-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.15rem;
}
.about-principle-card {
  padding: 1.5rem 1.35rem;
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
  opacity: 0;
  transform: translateY(18px);
  transition:
    transform 0.35s var(--ease),
    box-shadow 0.35s var(--ease),
    border-color 0.35s var(--ease);
}
.about-principle-card.is-in {
  opacity: 1;
  transform: none;
  transition-delay: calc(var(--stagger, 0) * 70ms);
}
.about-principle-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--accent-border);
  transition-delay: 0ms;
}
.about-principle-num {
  display: inline-flex;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent-deep);
  margin-bottom: 0.85rem;
}
.about-principle-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0 0 0.5rem;
  letter-spacing: -0.02em;
}
.about-principle-text {
  margin: 0;
  font-size: 0.92rem;
  color: var(--ink-soft);
  line-height: 1.55;
}

.about-ops-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2.5rem 3rem;
  align-items: start;
}
.about-ops-list {
  list-style: none;
  margin: 0 0 1.75rem;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}
.about-ops-list li {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  padding: 0.95rem 1.05rem;
  background: var(--gray-50);
  border: 1px solid var(--rule);
  border-radius: 12px;
  font-size: 0.95rem;
  color: var(--ink-soft);
  line-height: 1.5;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.about-ops-list li:hover {
  transform: translateX(3px);
  box-shadow: var(--shadow-sm);
}
.about-ops-list .price-check {
  margin-top: 0.1rem;
}

.about-glance {
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  position: sticky;
  top: calc(var(--header-h) + 1.25rem);
  opacity: 0;
  transform: translateY(16px);
}
.about-glance.is-in {
  opacity: 1;
  transform: none;
}
.about-glance-photo img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}
.about-glance-body { padding: 1.5rem; }
.about-glance-title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  margin: 0 0 1rem;
  letter-spacing: -0.02em;
}
.about-glance-list {
  margin: 0 0 1.35rem;
  display: grid;
  gap: 0.9rem;
}
.about-glance-list dt {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin: 0 0 0.2rem;
}
.about-glance-list dd {
  margin: 0;
  font-size: 0.94rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.45;
}
.about-glance-list a {
  color: var(--accent-deep);
  text-decoration: none;
  font-weight: 600;
}
.about-glance-list a:hover { color: var(--accent); }

.about-serve-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.about-serve-card {
  padding: 1.35rem 1.25rem;
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: 14px;
  box-shadow: var(--shadow-sm);
  opacity: 0;
  transform: translateY(16px);
  transition:
    transform 0.3s var(--ease),
    box-shadow 0.3s var(--ease),
    border-color 0.3s var(--ease);
}
.about-serve-card.is-in {
  opacity: 1;
  transform: none;
  transition-delay: calc(var(--stagger, 0) * 70ms);
}
.about-serve-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent-border);
  transition-delay: 0ms;
}
.about-serve-label {
  display: block;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.about-serve-text {
  margin: 0;
  font-size: 0.9rem;
  color: var(--ink-soft);
  line-height: 1.5;
}

.about-gallery { padding-top: 0; }
.about-gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.85rem;
}
.about-gallery-img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 14px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.about-gallery-img:hover {
  transform: scale(1.02);
  box-shadow: var(--shadow-md);
}

.about-close {
  text-align: center;
  padding: 5rem 0;
}
.about-close-inner {
  max-width: 40rem;
  margin: 0 auto;
}
.about-close .section-title {
  color: #fff;
  margin-bottom: 0.85rem;
}
.about-close .section-lead {
  color: rgba(255, 255, 255, 0.68);
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 1.75rem;
}
.about-close .hero-ctas--center {
  justify-content: center;
}

/* --------------------------------------------------------------------------
   SERVICES INDEX + DETAIL
   -------------------------------------------------------------------------- */
.svc-hero,
.svc-detail-hero {
  position: relative;
  overflow: hidden;
  padding: 4rem 0 3.5rem;
  background:
    radial-gradient(ellipse 70% 60% at 85% 10%, rgba(13, 148, 136, 0.12) 0%, transparent 55%),
    linear-gradient(180deg, var(--gray-50) 0%, var(--paper) 100%);
}
.svc-hero-inner,
.svc-detail-hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2.75rem 3.25rem;
  align-items: center;
  position: relative;
  z-index: 1;
}
.svc-hero-visual,
.svc-detail-hero-media { position: relative; }
.svc-hero-img,
.svc-detail-img {
  width: 100%;
  border-radius: var(--radius-xl);
  aspect-ratio: 5 / 4;
  object-fit: cover;
  box-shadow: var(--shadow-lg);
}
.svc-hero-float {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 0.95rem;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid var(--rule);
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-md);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink);
  animation: spFloat 3.5s ease-in-out infinite;
  max-width: calc(100% - 2rem);
}

.svc-grid-section { padding-top: 4rem; }
.svc-box-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.svc-box {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: var(--radius-xl);
  overflow: hidden;
  text-decoration: none;
  color: var(--ink);
  box-shadow: var(--shadow-sm);
  opacity: 0;
  transform: translateY(20px);
  transition:
    transform 0.35s var(--ease),
    box-shadow 0.35s var(--ease),
    border-color 0.35s var(--ease);
}
.svc-box.is-in {
  opacity: 1;
  transform: none;
  transition-delay: calc(var(--stagger, 0) * 60ms);
}
.svc-box:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lift);
  border-color: var(--accent-border);
  color: var(--ink);
  transition-delay: 0ms;
}
.svc-box:hover .svc-box-img { transform: scale(1.06); }
.svc-box:hover .svc-box-icon {
  background: var(--accent);
  color: #fff;
  transform: scale(1.05);
}
.svc-box:hover .sp-box-arrow { transform: translateX(4px); }
.svc-box:hover .sp-box-cta { color: var(--accent); }
.svc-box-media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: var(--gray-100);
}
.svc-box-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s var(--ease);
}
.svc-box-media-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 35%, rgba(11, 31, 51, 0.4) 100%);
  pointer-events: none;
}
.svc-box-icon {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  width: 2.75rem;
  height: 2.75rem;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.96);
  color: var(--accent-deep);
  box-shadow: var(--shadow-sm);
  z-index: 1;
  transition: background 0.25s var(--ease), color 0.25s var(--ease), transform 0.25s var(--ease);
}
.svc-box-index {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #fff;
  background: rgba(11, 31, 51, 0.45);
  backdrop-filter: blur(6px);
  padding: 0.3rem 0.55rem;
  border-radius: 8px;
  z-index: 1;
}
.svc-box-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 1.3rem 1.3rem 1.4rem;
}
.svc-box-title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  margin: 0 0 0.45rem;
  letter-spacing: -0.02em;
}
.svc-box-text {
  margin: 0 0 0.65rem;
  font-size: 0.9rem;
  color: var(--ink-soft);
  line-height: 1.55;
}
.svc-box-hook {
  margin: 0 0 1.1rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink-3);
  line-height: 1.45;
  flex-grow: 1;
}

.svc-path-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.3fr;
  gap: 2.5rem 3rem;
  align-items: start;
}
.svc-path-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.svc-path-card {
  padding: 1.35rem 1.25rem;
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: 14px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.svc-path-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.svc-path-num {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent-deep);
  margin-bottom: 0.7rem;
}
.svc-path-title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0 0 0.4rem;
  letter-spacing: -0.02em;
}
.svc-path-text {
  margin: 0;
  font-size: 0.9rem;
  color: var(--ink-soft);
  line-height: 1.55;
}

/* Service detail body */
.svc-brief {
  padding: 1.35rem 1.5rem;
  margin-bottom: 1.35rem;
  background: linear-gradient(135deg, var(--mint-wash) 0%, #fff 70%);
  border: 1px solid var(--accent-border);
  border-radius: 16px;
}
.svc-brief-text {
  margin: 0.35rem 0 0;
  font-size: 1.08rem;
  color: var(--ink-3);
  line-height: 1.6;
  font-weight: 500;
}
.svc-sections {
  display: grid;
  gap: 1.15rem;
}
.svc-section-card {
  padding: 1.65rem 1.55rem;
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
  opacity: 0;
  transform: translateY(16px);
  transition:
    transform 0.35s var(--ease),
    box-shadow 0.35s var(--ease),
    border-color 0.35s var(--ease);
}
.svc-section-card.is-in {
  opacity: 1;
  transform: none;
  transition-delay: calc(var(--stagger, 0) * 70ms);
}
.svc-section-card:hover {
  border-color: var(--accent-border);
  box-shadow: var(--shadow-md);
  transition-delay: 0ms;
}
.svc-section-head {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  margin-bottom: 0.85rem;
}
.svc-section-num {
  flex: none;
  width: 2.35rem;
  height: 2.35rem;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: var(--accent);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
}
.svc-section-title {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2vw, 1.4rem);
  font-weight: 700;
  margin: 0.15rem 0 0;
  letter-spacing: -0.02em;
  line-height: 1.25;
}
.svc-section-body {
  margin: 0;
  color: var(--ink-soft);
  font-size: 1rem;
  line-height: 1.7;
}
.svc-section-figure {
  margin-top: 1.25rem;
  border-radius: 14px;
  overflow: hidden;
}
.svc-section-figure img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

/* Shared modern sidebar (services + specialties) */
.svc-sidebar {
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.svc-sidebar-photo img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}
.svc-sidebar-body { padding: 1.4rem 1.35rem 1.5rem; }
.svc-sidebar-title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  margin: 0 0 0.55rem;
  letter-spacing: -0.02em;
  line-height: 1.25;
}
.svc-sidebar-text {
  margin: 0 0 1.15rem;
  font-size: 0.92rem;
  color: var(--ink-soft);
  line-height: 1.55;
}
.svc-sidebar-phone {
  display: block;
  text-align: center;
  margin: 0.75rem 0 0.5rem;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
}
.svc-sidebar-phone:hover { color: var(--accent-deep); }
.svc-sidebar-note {
  margin: 0;
  font-size: 0.78rem;
  color: var(--gray-400);
  text-align: center;
  line-height: 1.4;
}
.svc-sidebar-rule {
  border: none;
  border-top: 1px solid var(--rule);
  margin: 1.25rem 0 1rem;
}
.svc-sidebar-sub {
  margin: 0 0 0.65rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.svc-sidebar-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.3rem;
  max-height: 280px;
  overflow-y: auto;
}
.svc-sidebar-links a {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.6rem 0.55rem;
  border-radius: 10px;
  text-decoration: none;
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 600;
  transition: background 0.15s var(--ease), color 0.15s var(--ease);
}
.svc-sidebar-links a:hover {
  background: var(--accent-soft);
  color: var(--accent-deep);
}
.svc-sidebar-link-icon {
  flex: none;
  color: var(--accent-deep);
  display: grid;
  place-items: center;
}
.svc-sidebar-link-go {
  margin-left: auto;
  color: var(--gray-400);
  font-size: 0.85rem;
  transition: transform 0.15s var(--ease), color 0.15s var(--ease);
}
.svc-sidebar-links a:hover .svc-sidebar-link-go {
  transform: translateX(2px);
  color: var(--accent-deep);
}

.svc-related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}
.svc-related-card {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  padding: 1.45rem;
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: var(--radius-xl);
  text-decoration: none;
  color: var(--ink);
  box-shadow: var(--shadow-sm);
  opacity: 0;
  transform: translateY(16px);
  transition:
    transform 0.35s var(--ease),
    box-shadow 0.35s var(--ease),
    border-color 0.35s var(--ease);
}
.svc-related-card .sp-box-icon { position: static; }
.svc-related-card.is-in {
  opacity: 1;
  transform: none;
  transition-delay: calc(var(--stagger, 0) * 70ms);
}
.svc-related-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--accent-border);
  color: var(--ink);
  transition-delay: 0ms;
}
.svc-related-card:hover .sp-box-icon {
  background: var(--accent);
  color: #fff;
}
.svc-related-name {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.svc-related-hook {
  font-size: 0.9rem;
  color: var(--ink-soft);
  line-height: 1.5;
  flex-grow: 1;
}

/* Specialty detail extras */
.sp-detail-float {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 0.95rem;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid var(--rule);
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-md);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink);
  animation: spFloat 3.5s ease-in-out infinite;
}
.sp-detail-hero-media { position: relative; }
.sp-metrics-band {
  padding: 0 0 0.5rem;
  margin-top: -1rem;
}
.sp-metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  padding: 1.35rem;
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: 18px;
  box-shadow: var(--shadow-md);
}
.sp-metric {
  text-align: center;
  padding: 0.4rem 0.25rem;
  border-right: 1px solid var(--rule);
}
.sp-metric:last-child { border-right: none; }
.sp-metric-value {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.2vw, 1.7rem);
  font-weight: 700;
  color: var(--accent-deep);
  letter-spacing: -0.02em;
  margin-bottom: 0.3rem;
}
.sp-metric-label {
  display: block;
  font-size: 0.8rem;
  color: var(--ink-soft);
  line-height: 1.35;
}
.sp-panel-lead {
  margin: 0.5rem 0 0;
  font-size: 0.95rem;
  color: var(--ink-soft);
  line-height: 1.5;
}
.sp-list-mark {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.sp-list-mark--ok {
  font-size: 0;
  line-height: 0;
}
.sp-list-mark--ok svg {
  width: 0.75rem;
  height: 0.75rem;
}

.sp-process-strip {
  margin-top: 2.5rem;
  padding: 1.75rem;
  background: var(--gray-50);
  border: 1px solid var(--rule);
  border-radius: 18px;
}
.sp-process-strip-head { margin-bottom: 1.35rem; }
.sp-process-strip-head .section-title { margin-bottom: 0; }
.sp-process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.9rem;
}
.sp-process-step {
  padding: 1.15rem 1rem;
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: 12px;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.sp-process-step:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}
.sp-process-step-num {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--accent-deep);
  margin-bottom: 0.55rem;
}
.sp-process-step-title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  margin: 0 0 0.35rem;
  letter-spacing: -0.02em;
}
.sp-process-step-text {
  margin: 0;
  font-size: 0.86rem;
  color: var(--ink-soft);
  line-height: 1.5;
}

.sp-related-media {
  position: relative;
  margin: -0.25rem -0.25rem 0.5rem;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: var(--gray-100);
}
.sp-related-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s var(--ease);
}
.sp-related-card:hover .sp-related-img { transform: scale(1.05); }
.sp-related-media .sp-box-icon {
  position: absolute;
  left: 0.75rem;
  bottom: 0.75rem;
}
.sp-related-card {
  padding: 1.15rem;
  gap: 0.5rem;
}

/* --------------------------------------------------------------------------
   CONTACT
   -------------------------------------------------------------------------- */
.contact-hero {
  position: relative;
  overflow: hidden;
  padding: 4rem 0 3rem;
  background:
    radial-gradient(ellipse 70% 60% at 85% 10%, rgba(13, 148, 136, 0.12) 0%, transparent 55%),
    linear-gradient(180deg, var(--gray-50) 0%, var(--paper) 100%);
}
.contact-hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2.5rem 3rem;
  align-items: center;
  position: relative;
  z-index: 1;
}
.contact-phi-note {
  display: inline;
  color: var(--ink);
  font-weight: 700;
}
.contact-hero-visual { position: relative; }
.contact-hero-img {
  width: 100%;
  border-radius: var(--radius-xl);
  aspect-ratio: 5 / 4;
  object-fit: cover;
  box-shadow: var(--shadow-lg);
}
.contact-hero-float {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 0.95rem;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid var(--rule);
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-md);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--ink);
  animation: spFloat 3.5s ease-in-out infinite;
  max-width: calc(100% - 2rem);
}
.contact-section { padding-top: 2.5rem; }
.contact-layout {
  display: grid;
  grid-template-columns: 1.35fr 0.9fr;
  gap: 1.75rem 2rem;
  align-items: start;
}
.contact-form-card {
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: 20px;
  padding: 1.85rem 1.75rem 1.75rem;
  box-shadow: var(--shadow-md);
}
.contact-form-head { margin-bottom: 1.35rem; }
.contact-form-title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  margin: 0 0 0.4rem;
  letter-spacing: -0.02em;
}
.contact-form-sub {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.95rem;
  line-height: 1.5;
}
.contact-form-foot {
  margin-top: 0.5rem;
  display: grid;
  gap: 1rem;
}
.contact-aside {
  display: grid;
  gap: 1.1rem;
  min-width: 0;
}
.contact-callout {
  padding: 1.45rem 1.25rem 1.35rem;
  background: linear-gradient(165deg, var(--ink) 0%, #122c45 100%);
  border-radius: 18px;
  color: #fff;
  box-shadow: var(--shadow-lg);
  min-width: 0;
  overflow: hidden;
}
.contact-callout .eyebrow--light {
  color: var(--accent-bright);
  margin: 0 0 0.5rem;
}
/* High-specificity so later generic .contact-phone-block rules cannot force dark ink on dark bg */
.contact-callout .contact-phone-block {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 4.5vw, 1.85rem);
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  letter-spacing: -0.02em;
  margin: 0.15rem 0 0.85rem;
  line-height: 1.2;
  word-break: break-word;
  overflow-wrap: anywhere;
  max-width: 100%;
}
.contact-callout .contact-phone-block:hover { color: var(--accent-bright); }
.contact-callout-meta {
  margin: 0 0 1.1rem;
  display: grid;
  gap: 0.35rem;
}
.contact-callout .contact-promise {
  margin: 0;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.45;
}
.contact-callout .contact-hours {
  margin: 0;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.58);
  line-height: 1.45;
}
.contact-callout-actions {
  display: grid;
  gap: 0.65rem;
  min-width: 0;
}
.contact-callout .btn-cta-primary {
  font-size: 0.95rem;
  min-height: 2.85rem;
  padding: 0.75rem 1rem;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  text-align: center;
  white-space: normal;
}
.contact-callout .contact-email-line {
  display: block;
  text-align: center;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
  word-break: break-all;
  overflow-wrap: anywhere;
  line-height: 1.4;
  padding: 0 0.25rem;
}
.contact-callout .contact-email-line:hover {
  color: var(--accent-bright);
}
.contact-card {
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: 16px;
  padding: 1.4rem;
  box-shadow: var(--shadow-sm);
}
.contact-card--media { padding: 0; overflow: hidden; }
.contact-card-photo img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}
.contact-card-body { padding: 1.25rem 1.35rem 1.4rem; }
.contact-card-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  margin: 0 0 1rem;
  letter-spacing: -0.02em;
}
.next-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}
.next-steps li {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
}
.next-num {
  flex: none;
  width: 1.85rem;
  height: 1.85rem;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 0.8rem;
  font-weight: 700;
  font-family: var(--font-mono);
}
.next-steps strong {
  display: block;
  font-size: 0.94rem;
  margin-bottom: 0.2rem;
  color: var(--ink);
}
.next-steps p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--ink-soft);
  line-height: 1.45;
}

/* --------------------------------------------------------------------------
   PRIVACY / LEGAL
   -------------------------------------------------------------------------- */
.legal-hero {
  position: relative;
  overflow: hidden;
  padding: 4rem 0 3rem;
  background:
    radial-gradient(ellipse 70% 60% at 80% 0%, rgba(13, 148, 136, 0.12) 0%, transparent 55%),
    linear-gradient(180deg, var(--gray-50) 0%, var(--paper) 100%);
}
.legal-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 42rem;
}
.legal-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.25rem;
}
.legal-meta-chip {
  display: inline-flex;
  padding: 0.35rem 0.75rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--ink-3);
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-sm);
}
.legal-section { padding-top: 2rem; }
.legal-layout {
  display: grid;
  grid-template-columns: 0.75fr 1.5fr;
  gap: 2rem 2.5rem;
  align-items: start;
}
.legal-toc {
  position: sticky;
  top: calc(var(--header-h) + 1.25rem);
  padding: 1.35rem;
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
}
.legal-toc-title {
  margin: 0 0 0.85rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.legal-toc-list {
  margin: 0 0 1.25rem;
  padding: 0 0 0 1.1rem;
  display: grid;
  gap: 0.45rem;
}
.legal-toc-list a {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1.35;
}
.legal-toc-list a:hover { color: var(--accent-deep); }
.legal-prose,
.post-body.legal-prose {
  max-width: none;
}
.legal-block {
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--rule);
}
.legal-block:first-child { padding-top: 0; }
.legal-block:last-child { border-bottom: none; }
.legal-block h2 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  margin: 0 0 0.85rem;
  letter-spacing: -0.02em;
  scroll-margin-top: calc(var(--header-h) + 1rem);
}
.legal-block p {
  margin: 0 0 0.9rem;
  color: var(--ink-soft);
  line-height: 1.7;
  font-size: 1.02rem;
}
.legal-block p:last-child { margin-bottom: 0; }
.legal-list {
  margin: 0 0 1rem;
  padding-left: 1.2rem;
  color: var(--ink-soft);
  line-height: 1.65;
}
.legal-list li { margin-bottom: 0.4rem; }
.legal-callout {
  margin: 1rem 0 0;
  padding: 1.1rem 1.2rem;
  background: linear-gradient(135deg, var(--mint-wash) 0%, #fff 80%);
  border: 1px solid var(--accent-border);
  border-radius: 12px;
  color: var(--ink-3);
  font-size: 0.98rem;
  line-height: 1.55;
}
.legal-callout strong {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--ink);
}
.legal-contact-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.85rem;
}

/* --------------------------------------------------------------------------
   BLOG INDEX + POST
   -------------------------------------------------------------------------- */
.blog-hero {
  position: relative;
  overflow: hidden;
  padding: 4rem 0 3.5rem;
  background:
    radial-gradient(ellipse 70% 60% at 85% 10%, rgba(13, 148, 136, 0.12) 0%, transparent 55%),
    linear-gradient(180deg, var(--gray-50) 0%, var(--paper) 100%);
}
.blog-hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2.75rem 3.25rem;
  align-items: center;
  position: relative;
  z-index: 1;
}
.blog-hero-visual { position: relative; }
.blog-hero-img {
  width: 100%;
  border-radius: var(--radius-xl);
  aspect-ratio: 5 / 4;
  object-fit: cover;
  box-shadow: var(--shadow-lg);
}
.blog-hero-float {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 0.95rem;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid var(--rule);
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-md);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink);
  animation: spFloat 3.5s ease-in-out infinite;
}
.blog-index-section { padding-top: 3.5rem; }
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.35rem;
}
.blog-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  opacity: 0;
  transform: translateY(18px);
  transition:
    transform 0.35s var(--ease),
    box-shadow 0.35s var(--ease),
    border-color 0.35s var(--ease);
}
.blog-card.is-in {
  opacity: 1;
  transform: none;
  transition-delay: calc(var(--stagger, 0) * 70ms);
}
.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lift);
  border-color: var(--accent-border);
  transition-delay: 0ms;
}
.blog-card:hover .blog-card-img { transform: scale(1.05); }
.blog-card:hover .sp-box-arrow { transform: translateX(4px); }
.blog-card-media {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: var(--gray-100);
}
.blog-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}
.blog-card-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(11, 31, 51, 0.15) 100%);
  pointer-events: none;
}
.blog-card-placeholder {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  background: var(--mint-wash);
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--accent);
}
.blog-card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 1.25rem 1.3rem 1.4rem;
}
.blog-card-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
  margin-bottom: 0.65rem;
  font-size: 0.82rem;
  color: var(--ink-soft);
}
.blog-date { font-weight: 600; color: var(--ink-soft); }
.blog-card-dot { color: var(--gray-300); }
.blog-read { color: var(--gray-500); }
.blog-card-title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  margin: 0 0 0.55rem;
  letter-spacing: -0.02em;
  line-height: 1.3;
}
.blog-card-title a {
  color: inherit;
  text-decoration: none;
}
.blog-card-title a:hover { color: var(--accent-deep); }
.blog-card-excerpt {
  margin: 0 0 1.1rem;
  font-size: 0.92rem;
  color: var(--ink-soft);
  line-height: 1.55;
  flex-grow: 1;
}
.blog-empty {
  text-align: center;
  padding: 3rem 1rem;
}
.blog-cta-band {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem 2rem;
}
.blog-cta-band .section-lead { margin-bottom: 0; }

/* Single post */
.post-page { padding-bottom: 0; }
.post-hero {
  position: relative;
  overflow: hidden;
  padding: 3.5rem 0 2.5rem;
  background:
    radial-gradient(ellipse 70% 60% at 80% 0%, rgba(13, 148, 136, 0.1) 0%, transparent 55%),
    linear-gradient(180deg, var(--gray-50) 0%, var(--paper) 100%);
}
.post-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 48rem;
}
.post-meta-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.92rem;
  color: var(--ink-soft);
  margin-top: 0.25rem;
}
.post-layout {
  display: grid;
  grid-template-columns: 1.45fr 0.7fr;
  gap: 2rem 2.5rem;
  align-items: start;
  padding: 2.5rem 0 4rem;
}
.post-cover-wrap {
  margin: 0 0 2rem;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.post-cover {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
.post-body h2 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  margin: 2rem 0 0.75rem;
  letter-spacing: -0.02em;
}
.post-body h2:first-child { margin-top: 0; }
.post-body p {
  color: var(--ink-soft);
  line-height: 1.75;
  font-size: 1.05rem;
  margin: 0 0 1.1rem;
}
.post-body ul,
.post-body ol {
  color: var(--ink-soft);
  line-height: 1.65;
  margin: 0 0 1.25rem;
  padding-left: 1.25rem;
}
.post-body li { margin-bottom: 0.4rem; }
.post-body blockquote {
  margin: 1.5rem 0;
  padding: 1rem 1.25rem;
  border-left: 3px solid var(--accent);
  background: var(--mint-wash);
  border-radius: 0 12px 12px 0;
  color: var(--ink-3);
  font-style: italic;
}
.post-body a { font-weight: 600; }
.post-footer-card {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem 1.75rem;
  margin-top: 2.5rem;
  padding: 1.6rem 1.5rem;
  background: linear-gradient(135deg, var(--mint-wash) 0%, #fff 70%);
  border: 1px solid var(--accent-border);
  border-radius: 18px;
}
.post-footer-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0 0 0.35rem;
  letter-spacing: -0.02em;
}
.post-footer-text {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.95rem;
}
.post-footer-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.post-aside {
  display: grid;
  gap: 1rem;
}
.post-aside-card {
  padding: 1.4rem;
  background: linear-gradient(165deg, var(--ink) 0%, #122c45 100%);
  border-radius: 16px;
  color: #fff;
  box-shadow: var(--shadow-md);
}
.post-aside-card .eyebrow { color: var(--accent-bright); }
.post-aside-card--soft {
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--rule);
  box-shadow: var(--shadow-sm);
}
.post-aside-text {
  margin: 0 0 1.1rem;
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.55;
}
.post-aside-card--soft .post-aside-title {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
}
.post-aside-card .svc-sidebar-phone {
  color: rgba(255, 255, 255, 0.8);
}
.post-aside-card .svc-sidebar-phone:hover { color: #fff; }
.post-aside-card--soft .svc-sidebar-links a { color: var(--ink); }

/* Thank you */
.thanks-hero {
  position: relative;
  overflow: hidden;
  padding: 5.5rem 0;
  background:
    radial-gradient(ellipse 70% 60% at 50% 0%, rgba(13, 148, 136, 0.14) 0%, transparent 55%),
    linear-gradient(180deg, var(--gray-50) 0%, var(--paper) 100%);
  min-height: min(70vh, 640px);
  display: flex;
  align-items: center;
}
.thanks-card {
  position: relative;
  z-index: 1;
  max-width: 36rem;
  margin: 0 auto;
  text-align: center;
  padding: 2.5rem 2rem;
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: 22px;
  box-shadow: var(--shadow-lg);
}
.thanks-badge {
  width: 3.5rem;
  height: 3.5rem;
  display: grid;
  place-items: center;
  margin: 0 auto 1.15rem;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent-deep);
  border: 1px solid var(--accent-border);
}
.thanks-card .page-lead {
  margin-left: auto;
  margin-right: auto;
}
.thanks-card .page-lead a {
  font-weight: 700;
  color: var(--accent-deep);
}

/* --------------------------------------------------------------------------
   CTA BANDS
   -------------------------------------------------------------------------- */
.cta-modern {
  position: relative;
  background: linear-gradient(160deg, #0b1f33 0%, #0f2740 50%, #0d3d38 100%);
  color: #fff;
  padding: 5.5rem 0;
  text-align: center;
  overflow: hidden;
}
.cta-modern-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 50% 0%, rgba(13, 148, 136, 0.25) 0%, transparent 60%);
  pointer-events: none;
}
.cta-modern-inner {
  position: relative;
  z-index: 1;
  max-width: 40rem;
  margin: 0 auto;
}
.cta-modern-inner .section-tag { margin-bottom: 1rem; }
.cta-modern-title {
  font-size: clamp(1.75rem, 3.2vw, 2.35rem);
  letter-spacing: -0.025em;
  color: #fff;
  margin: 0 0 1rem;
}
.cta-modern-text {
  color: rgba(255, 255, 255, 0.72);
  font-size: 1.1rem;
  margin: 0 auto 2rem;
  max-width: 34rem;
  line-height: 1.65;
}
.cta-modern .cta-actions { margin-top: 0.25rem; }

.cta-band {
  position: relative;
  padding: 4.75rem 0;
  overflow: hidden;
  color: #fff;
}
.cta-band--photo {
  min-height: 300px;
  display: flex;
  align-items: center;
}
.cta-band-bg { position: absolute; inset: 0; z-index: 0; }
.cta-band-img { width: 100%; height: 100%; object-fit: cover; }
.cta-band-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(11, 31, 51, 0.94) 0%, rgba(11, 31, 51, 0.8) 50%, rgba(11, 31, 51, 0.62) 100%);
}
.cta-band-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.35fr 0.75fr;
  gap: 2rem 2.5rem;
  align-items: center;
}
.cta-band-copy { min-width: 0; }
.cta-band-title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  color: #fff;
  margin: 0 0 0.75rem;
  letter-spacing: -0.02em;
  line-height: 1.15;
}
.cta-band-text {
  margin: 0;
  color: rgba(255, 255, 255, 0.75);
  font-size: 1.05rem;
  max-width: 34rem;
  line-height: 1.6;
}
.cta-band .cta-actions--stack {
  justify-self: end;
  width: 100%;
  max-width: 300px;
}
.cta-phone,
.cta-modern-phone {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  font-weight: 600;
}
.cta-phone:hover,
.cta-modern-phone:hover { color: #fff; }
.contact-email-line {
  margin: 0.65rem 0 0;
  text-align: center;
  font-size: 0.85rem;
}
.contact-email-line a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  word-break: break-all;
}
.contact-email-line a:hover { color: #fff; }

/* --------------------------------------------------------------------------
   PAGE HERO (inner pages)
   -------------------------------------------------------------------------- */
.page-hero {
  padding: 3.25rem 0 1.5rem;
  background: linear-gradient(180deg, var(--gray-50) 0%, var(--paper) 100%);
}
.page-hero--with-photo { padding-bottom: 2.5rem; }
.page-hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2.5rem 3rem;
  align-items: center;
}
.page-hero-photo img,
.page-hero-photo .media-frame {
  width: 100%;
  border-radius: var(--radius-xl);
  aspect-ratio: 5 / 4;
  object-fit: cover;
  box-shadow: var(--shadow-md);
}
.page-hero .hero-ctas { margin-top: 0.25rem; }

/* Legacy hero (if used) */
.hero { padding: 3.5rem 0 0; }
.hero--photo { padding: 0; color: var(--paper); overflow: hidden; position: relative; }
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg-img { width: 100%; height: 100%; object-fit: cover; }
.hero-bg-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(11, 31, 51, 0.92) 0%, rgba(11, 31, 51, 0.7) 50%, rgba(11, 31, 51, 0.25) 100%);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2.5rem;
  align-items: center;
  padding: 4rem 0 3rem;
  position: relative;
  z-index: 1;
}
.hero-title {
  font-size: clamp(2.5rem, 5vw, 3.8rem);
  line-height: 1.05;
  letter-spacing: -0.035em;
}
.hero-sub {
  font-size: 1.15rem;
  line-height: 1.6;
  color: var(--ink-soft);
  margin: 0 0 1.75rem;
  max-width: 36rem;
}
.hero--photo .hero-title { color: #f7f6f2; }
.hero--photo .eyebrow { color: var(--accent-bright); }
.hero--photo .hero-sub { color: rgba(247, 246, 242, 0.86); }
.hero-card {
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 1.25rem;
  color: var(--ink);
}
.hero-card--float { box-shadow: var(--shadow-xl); }

.trust-bar {
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  background: var(--gray-50);
}
.trust-bar-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.75rem;
  padding: 0.95rem 0;
  font-size: 0.88rem;
  color: var(--ink-soft);
  font-weight: 500;
}

/* --------------------------------------------------------------------------
   CARDS (generic)
   -------------------------------------------------------------------------- */
.card-grid {
  display: grid;
  gap: 1.25rem;
}
.card-grid-2 { grid-template-columns: repeat(2, 1fr); }
.card-grid-3 { grid-template-columns: repeat(3, 1fr); }

.card {
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: 1.75rem;
}
.card-lift {
  transition: transform var(--duration) var(--ease), box-shadow var(--duration) var(--ease);
}
.card-lift:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}
.card-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  margin: 0 0 0.5rem;
  letter-spacing: -0.02em;
}
.card-title--hover a { color: inherit; text-decoration: none; }
.card-title--hover a:hover { color: var(--accent-deep); }
.card-text {
  color: var(--ink-soft);
  margin: 0 0 0.85rem;
  font-size: 0.95rem;
  line-height: 1.6;
}
.card-icon {
  width: 2.85rem;
  height: 2.85rem;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--accent-deep);
  margin-bottom: 1rem;
  flex: none;
}
.card-resolve {
  font-size: 0.9rem;
  color: var(--ink-3);
  margin: 0 0 0.85rem;
  font-weight: 500;
}
.card-media { padding: 0; overflow: hidden; }
.card-media-img {
  display: block;
  overflow: hidden;
}
.card-media-img--wide .card-thumb,
.card-thumb {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
.card-media-body { padding: 1.5rem; }
.card-media-body--row {
  display: flex;
  gap: 1.15rem;
  align-items: flex-start;
}
.card-media-body--row .card-icon { margin-bottom: 0; }

.card-blog { padding: 0; overflow: hidden; }
.card-blog-body { padding: 1.35rem 1.5rem 1.5rem; }
.blog-cover-link { display: block; }
.blog-cover {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
.blog-cover--placeholder {
  display: grid;
  place-items: center;
  background: var(--mint-wash);
  aspect-ratio: 16 / 9;
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--accent);
}
.blog-date {
  display: block;
  font-size: 0.8rem;
  color: var(--ink-soft);
  margin-bottom: 0.5rem;
}

/* --------------------------------------------------------------------------
   PROSE + ASIDE
   -------------------------------------------------------------------------- */
.prose-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.7fr;
  gap: 2.5rem 3rem;
  align-items: start;
}
.prose h2 {
  font-size: 1.45rem;
  margin: 2rem 0 0.75rem;
}
.prose h2:first-child { margin-top: 0; }
.prose p {
  color: var(--ink-soft);
  margin: 0 0 1rem;
  line-height: 1.7;
}
.prose ul {
  margin: 0 0 1.25rem;
  padding-left: 1.25rem;
  color: var(--ink-soft);
}
.prose li { margin-bottom: 0.45rem; line-height: 1.55; }
.prose-figure { margin: 1.5rem 0; }
.prose-figure img { border-radius: var(--radius-lg); width: 100%; }

.aside-card {
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
}
.sticky-aside {
  position: sticky;
  top: calc(var(--header-h) + 1.25rem);
}
.aside-photo {
  margin: -1.5rem -1.5rem 1.15rem;
  overflow: hidden;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}
.aside-photo img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}
.aside-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  margin: 0 0 0.85rem;
}
.aside-sub {
  font-size: 0.88rem;
  font-weight: 700;
  margin: 0 0 0.65rem;
  color: var(--ink-soft);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-family: var(--font-mono);
}
.aside-rule {
  border: none;
  border-top: 1px solid var(--rule);
  margin: 1.25rem 0;
}
.aside-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.45rem;
}
.aside-links a {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
}
.aside-links a:hover { color: var(--accent-deep); }

.def-list {
  margin: 0;
  display: grid;
  gap: 0.85rem;
}
.def-list dt {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-soft);
  font-family: var(--font-mono);
  margin: 0 0 0.15rem;
}
.def-list dd {
  margin: 0;
  font-weight: 600;
  color: var(--ink);
  font-size: 0.95rem;
}

/* --------------------------------------------------------------------------
   CONTACT
   -------------------------------------------------------------------------- */
.contact-grid {
  display: grid;
  gap: 2rem;
}
.contact-grid--60 {
  grid-template-columns: 1.35fr 0.85fr;
  align-items: start;
}
.contact-form.card { padding: 2rem; }
.contact-aside {
  display: grid;
  gap: 1.15rem;
  min-width: 0;
}
/* Generic (non-callout) only — callout uses .contact-callout .contact-phone-block */
.contact-aside > .contact-phone-block,
.contact-card .contact-phone-block {
  display: block;
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 700;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: -0.02em;
  margin: 0.35rem 0;
}
.contact-aside > .contact-phone-block:hover,
.contact-card .contact-phone-block:hover { color: var(--accent-deep); }
.next-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}
.next-steps li {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
}
.next-num {
  flex: none;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 0.8rem;
  font-weight: 700;
  font-family: var(--font-mono);
}
.next-steps strong { display: block; font-size: 0.94rem; margin-bottom: 0.2rem; }
.next-steps p { margin: 0; font-size: 0.88rem; color: var(--ink-soft); line-height: 1.45; }

/* --------------------------------------------------------------------------
   FORMS
   -------------------------------------------------------------------------- */
.form-field { display: flex; flex-direction: column; gap: 0.4rem; }
.form-field label,
.form-label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink);
}
.form-input,
.form-textarea,
.form-select,
.form-field input,
.form-field select,
.form-field textarea,
.contact-form input,
.contact-form select,
.contact-form textarea,
.footer-lead-form input,
.footer-lead-form select {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.98rem;
  color: var(--ink);
  background: var(--surface);
  transition: border-color var(--duration) var(--ease), box-shadow var(--duration) var(--ease);
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus,
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus,
.footer-lead-form input:focus,
.footer-lead-form select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
.form-textarea,
.form-field textarea,
.contact-form textarea {
  resize: vertical;
  min-height: 120px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.1rem;
  margin-bottom: 1.1rem;
}
.contact-form .form-field { margin-bottom: 1.1rem; }
.contact-form .form-row .form-field { margin-bottom: 0; }
.form-field.has-error input,
.form-field.has-error select,
.form-field.has-error textarea { border-color: #ef4444; }
.form-field.has-valid input,
.form-field.has-valid select,
.form-field.has-valid textarea { border-color: var(--accent); }
.field-error {
  font-size: 0.82rem;
  color: #ef4444;
  margin: 0;
}
.form-alert {
  padding: 0.9rem 1.1rem;
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: var(--radius-sm);
  color: #b91c1c;
  font-size: 0.92rem;
  margin-bottom: 1.25rem;
}
.form-notice {
  font-size: 0.85rem;
  color: var(--ink-soft);
  margin: 0 0 1.25rem;
  line-height: 1.5;
}
.optional { font-weight: 400; color: var(--gray-400); }
.hp-field {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  overflow: hidden;
}

/* --------------------------------------------------------------------------
   FOOTER LEAD
   -------------------------------------------------------------------------- */
.footer-lead {
  background: linear-gradient(180deg, var(--ink) 0%, #0f2740 100%);
  color: #fff;
  padding: 3.5rem 0;
  border-top: 3px solid var(--accent);
}
.footer-lead-inner {
  display: grid;
  grid-template-columns: 0.9fr 1.3fr;
  gap: 2.5rem;
  align-items: start;
}
.footer-lead-title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.5vw, 1.85rem);
  color: #fff;
  margin: 0 0 0.65rem;
  letter-spacing: -0.02em;
}
.footer-lead-text {
  margin: 0;
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.98rem;
  line-height: 1.6;
  max-width: 28rem;
}
.footer-lead-fields {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  align-items: stretch;
}
.footer-lead-fields input,
.footer-lead-fields select {
  min-height: 3rem;
  background: rgba(255, 255, 255, 0.96);
}
.footer-lead-fields .btn {
  min-height: 3rem;
  white-space: nowrap;
  grid-column: 1 / -1;
  max-width: 18rem;
  justify-self: start;
}
.footer-lead-note {
  margin: 0.85rem 0 0;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.45;
}

/* --------------------------------------------------------------------------
   FOOTER
   -------------------------------------------------------------------------- */
.site-footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.62);
  padding: 3.5rem 0 1.75rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr repeat(4, 0.85fr);
  gap: 2rem 1.5rem;
}
.footer-brand {
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 800;
  color: #fff;
  margin: 0 0 0.4rem;
  letter-spacing: -0.02em;
}
.footer-brand-block { margin-bottom: 1.15rem; }
.footer-tagline {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.55);
  margin: 0;
  line-height: 1.5;
}
.footer-fine {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.4);
  line-height: 1.55;
  margin: 0;
  max-width: 18rem;
}
.footer-heading {
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin: 0 0 1rem;
  font-family: var(--font-mono);
}
.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}
.footer-links a {
  color: rgba(255, 255, 255, 0.68);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color var(--duration) var(--ease);
}
.footer-links a:hover { color: var(--accent-bright); }
.footer-links li:not(:has(a)) {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.4;
}
.footer-motif {
  margin-top: 2.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
  overflow: hidden;
}
/* Footer claim path — wraps cleanly on mobile (no nowrap gray boxes) */
.claim-flow {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.35rem 0.55rem;
  max-width: 100%;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.4);
  text-align: center;
}
.claim-flow .claim-id {
  color: rgba(255, 255, 255, 0.55);
  font-weight: 600;
  flex: none;
}
.claim-flow-steps {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.2rem 0.3rem;
  max-width: 100%;
}
.claim-flow-steps > span:not(.claim-arrow) {
  white-space: nowrap;
}
.claim-arrow {
  opacity: 0.45;
  flex: none;
  padding: 0 0.05rem;
}
.claim-flow .claim-paid {
  color: var(--accent-bright);
  font-weight: 700;
}
.claim-divider-row {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.35);
}
.footer-bottom {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem 2rem;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.4);
}
.footer-bottom p { margin: 0; }
.footer-security { color: rgba(255, 255, 255, 0.35); }

/* --------------------------------------------------------------------------
   CLAIM STRIP
   -------------------------------------------------------------------------- */
.claim-strip--hero .claim-strip-inner {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  overflow-x: auto;
  max-width: 100%;
  color: var(--ink);
}
.claim-row,
.ledger-row {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 0.35rem 0.5rem;
  padding: 0.55rem 0.7rem;
  background: var(--gray-50);
  border: 1px solid var(--rule);
  border-radius: 8px;
  color: var(--ink-soft);
  font-family: var(--font-mono);
  font-size: 0.78rem;
}
.claim-id { color: var(--ink); font-weight: 600; }
.claim-cpt { color: var(--gray-500); }
.claim-status {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  margin-left: auto;
}
.status-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gray-300);
}
.status-dot.is-on { background: var(--accent-bright); }
.status-dot.is-paid { background: var(--accent); }
.claim-paid { color: var(--accent-deep); font-weight: 700; }
.amount-chip {
  font-weight: 700;
  color: var(--accent-deep);
  margin-left: 0.25rem;
}
.claim-strip--footer {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
  margin-bottom: 2.5rem;
}
.claim-strip--footer .claim-strip-track {
  padding: 0.75rem 1rem;
  text-align: center;
  display: flex;
  justify-content: center;
  max-width: 100%;
  box-sizing: border-box;
}
.claim-strip--footer .claim-flow {
  width: 100%;
}

/* --------------------------------------------------------------------------
   FAQ — modern accordion
   -------------------------------------------------------------------------- */
.faq-list {
  display: grid;
  gap: 0.7rem;
}
.faq-item {
  border: 1px solid var(--rule);
  border-radius: 14px;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition:
    border-color 0.25s var(--ease),
    box-shadow 0.25s var(--ease),
    background 0.25s var(--ease),
    transform 0.25s var(--ease);
}
.faq-item:hover {
  border-color: rgba(13, 148, 136, 0.22);
  box-shadow: var(--shadow-md);
}
.faq-item.is-open,
.faq-item:has([aria-expanded="true"]) {
  border-color: var(--accent-border);
  background: linear-gradient(180deg, rgba(240, 253, 250, 0.55) 0%, #fff 48%);
  box-shadow: 0 0 0 1px rgba(13, 148, 136, 0.08), var(--shadow-md);
}
.faq-question {
  margin: 0;
  font-size: inherit;
  font-weight: inherit;
}
.faq-trigger {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.85rem 1rem;
  width: 100%;
  padding: 1.15rem 1.2rem;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  color: var(--ink);
  transition: color 0.15s var(--ease);
}
.faq-trigger:hover { color: var(--accent-deep); }
.faq-trigger:focus-visible {
  outline: none;
  box-shadow: inset 0 0 0 2px var(--accent-border);
}
.faq-index {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--accent-deep);
  background: var(--accent-soft);
  border: 1px solid var(--accent-border);
  border-radius: 8px;
  min-width: 2.15rem;
  height: 2.15rem;
  display: grid;
  place-items: center;
  flex: none;
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}
.faq-item.is-open .faq-index,
.faq-item:has([aria-expanded="true"]) .faq-index {
  background: var(--accent);
  color: #fff;
  border-color: transparent;
}
.faq-q-text {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.35;
}
.faq-toggle {
  position: relative;
  width: 2rem;
  height: 2rem;
  flex: none;
  border-radius: 50%;
  background: var(--gray-50);
  border: 1px solid var(--rule);
  display: grid;
  place-items: center;
  transition:
    background 0.2s var(--ease),
    border-color 0.2s var(--ease),
    transform 0.25s var(--ease);
}
.faq-toggle-bar {
  position: absolute;
  width: 0.75rem;
  height: 1.5px;
  background: var(--ink-soft);
  border-radius: 1px;
  transition: transform 0.25s var(--ease), opacity 0.2s var(--ease), background 0.2s var(--ease);
}
.faq-toggle-bar--v {
  transform: rotate(90deg);
}
.faq-item.is-open .faq-toggle,
.faq-item:has([aria-expanded="true"]) .faq-toggle {
  background: var(--accent-soft);
  border-color: var(--accent-border);
  transform: rotate(90deg);
}
.faq-item.is-open .faq-toggle-bar,
.faq-item:has([aria-expanded="true"]) .faq-toggle-bar {
  background: var(--accent-deep);
}
.faq-item.is-open .faq-toggle-bar--v,
.faq-item:has([aria-expanded="true"]) .faq-toggle-bar--v {
  opacity: 0;
  transform: rotate(90deg) scaleX(0);
}
.faq-panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.35s var(--ease);
}
.faq-panel.is-open {
  grid-template-rows: 1fr;
}
.faq-panel-inner {
  overflow: hidden;
  min-height: 0;
}
.faq-panel-inner p {
  margin: 0;
  padding: 0 1.2rem 1.25rem 4rem;
  color: var(--ink-soft);
  line-height: 1.7;
  font-size: 0.98rem;
  border-top: none;
}
.faq-panel.is-open .faq-panel-inner p {
  border-top: 1px solid rgba(13, 148, 136, 0.12);
  padding-top: 0.95rem;
  margin-top: 0;
}

@media (max-width: 560px) {
  .faq-trigger {
    grid-template-columns: 1fr auto;
    gap: 0.75rem;
    padding: 1.05rem 1rem;
  }
  .faq-index { display: none; }
  .faq-q-text { font-size: 0.98rem; }
  .faq-panel-inner p {
    padding: 0 1rem 1.1rem 1rem;
  }
}

/* --------------------------------------------------------------------------
   PHOTO BAND + MISC
   -------------------------------------------------------------------------- */
.photo-band {
  overflow: hidden;
  padding: 0 0 1rem;
}
.photo-band-track {
  display: flex;
  gap: 0.75rem;
  overflow-x: auto;
  padding: 0 1.5rem 0.5rem;
  scroll-snap-type: x mandatory;
}
.photo-band-img {
  flex: 0 0 min(280px, 70vw);
  height: 180px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  scroll-snap-align: start;
}

.breadcrumbs {
  padding: 0.85rem 0;
  background: var(--gray-50);
  border-bottom: 1px solid var(--rule);
}
.breadcrumb-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.85rem;
  color: var(--ink-soft);
}
.breadcrumb-list a {
  color: var(--ink-soft);
  text-decoration: none;
}
.breadcrumb-list a:hover { color: var(--accent-deep); }
.breadcrumb-list li:not(:last-child)::after {
  content: "/";
  margin-left: 0.5rem;
  color: var(--gray-300);
}

.post-header { margin-bottom: 1.75rem; }
.post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.5rem;
  color: var(--ink-soft);
  font-size: 0.9rem;
  margin: 0;
}
.post-meta-sep { color: var(--gray-300); }
.post-cover {
  width: 100%;
  border-radius: var(--radius-xl);
  margin-bottom: 2rem;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
.post-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem;
  margin-top: 2.5rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--rule);
}

.thank-you { padding-top: 5rem; padding-bottom: 5rem; }

.paid-stamp-wrap { position: relative; }
.paid-stamp-wrap--pricing {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
}
.paid-stamp-wrap--watermark {
  position: absolute;
  right: 8%;
  top: 20%;
  opacity: 0.12;
  pointer-events: none;
}

.icon { width: 1.35rem; height: 1.35rem; }
.icon-sm { width: 1.1rem; height: 1.1rem; }

.sample-mark {
  display: inline;
  font-size: 0.7em;
  vertical-align: super;
  color: var(--gray-400);
  font-weight: 600;
  margin-left: 0.15em;
}

/* --------------------------------------------------------------------------
   FAB
   -------------------------------------------------------------------------- */
.fab-cluster {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 80;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  align-items: flex-end;
}
.fab {
  width: 3.15rem;
  height: 3.15rem;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-md);
  transition: transform var(--duration) var(--ease), box-shadow var(--duration) var(--ease);
  text-decoration: none;
  color: #fff;
  position: relative;
}
.fab:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  color: #fff;
}

.fab-top {
  background: var(--ink);
  opacity: 0;
  pointer-events: none;
  transform: translateY(6px);
}
.fab-top.is-visible,
.fab-top:not([hidden]) {
  opacity: 1;
  pointer-events: auto;
  transform: none;
}
.fab-tooltip {
  position: absolute;
  right: calc(100% + 0.65rem);
  top: 50%;
  transform: translateY(-50%);
  background: var(--ink);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.35rem 0.65rem;
  border-radius: 6px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--duration) var(--ease);
}
.fab:hover .fab-tooltip { opacity: 1; }

/* --------------------------------------------------------------------------
   REVEAL ANIMATION
   -------------------------------------------------------------------------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.55s var(--ease), transform 0.55s var(--ease);
}
[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}
html:not(.js) [data-reveal] {
  opacity: 1;
  transform: none;
}

/* --------------------------------------------------------------------------
   SPECIALTIES PAGE — modern boxes + detail
   -------------------------------------------------------------------------- */
.sp-hero,
.sp-detail-hero {
  position: relative;
  overflow: hidden;
  padding: 4rem 0 3.5rem;
  background:
    radial-gradient(ellipse 70% 60% at 85% 10%, rgba(13, 148, 136, 0.12) 0%, transparent 55%),
    linear-gradient(180deg, var(--gray-50) 0%, var(--paper) 100%);
}
.sp-hero-glow {
  position: absolute;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(13, 148, 136, 0.18) 0%, transparent 70%);
  top: -120px;
  right: -80px;
  pointer-events: none;
  filter: blur(8px);
}
.sp-hero-inner,
.sp-detail-hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2.75rem 3.25rem;
  align-items: center;
  position: relative;
  z-index: 1;
}
.sp-hero-copy .page-title,
.sp-detail-hero-copy .page-title {
  margin-bottom: 1rem;
}
.sp-hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin: 0 0 1.75rem;
}
.sp-hero-stat {
  min-width: 7.5rem;
  padding: 0.85rem 1rem;
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.sp-hero-stat-value {
  display: block;
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--accent-deep);
  letter-spacing: -0.02em;
  line-height: 1.15;
}
.sp-hero-stat-label {
  display: block;
  font-size: 0.75rem;
  color: var(--ink-soft);
  margin-top: 0.2rem;
  line-height: 1.3;
}
.sp-hero-visual,
.sp-detail-hero-media {
  position: relative;
}
.sp-hero-img,
.sp-detail-img {
  width: 100%;
  border-radius: var(--radius-xl);
  aspect-ratio: 5 / 4;
  object-fit: cover;
  box-shadow: var(--shadow-lg);
}
.sp-hero-float {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 0.95rem;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid var(--rule);
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-md);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink);
  animation: spFloat 3.5s ease-in-out infinite;
}
.sp-hero-float-dot {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft);
  animation: spPulse 1.8s ease-in-out infinite;
}
@keyframes spFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}
@keyframes spPulse {
  0%, 100% { box-shadow: 0 0 0 4px var(--accent-soft); }
  50% { box-shadow: 0 0 0 8px rgba(13, 148, 136, 0.08); }
}

/* Specialty box grid */
.sp-grid-section { padding-top: 4.5rem; }
.sp-box-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.35rem;
}
.sp-box {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: var(--radius-xl);
  overflow: hidden;
  text-decoration: none;
  color: var(--ink);
  box-shadow: var(--shadow-sm);
  transition:
    transform 0.35s var(--ease),
    box-shadow 0.35s var(--ease),
    border-color 0.35s var(--ease);
  opacity: 0;
  transform: translateY(22px);
}
.sp-box.is-in,
[data-stagger-item].is-in {
  opacity: 1;
  transform: none;
  transition:
    opacity 0.55s var(--ease),
    transform 0.55s var(--ease),
    box-shadow 0.35s var(--ease),
    border-color 0.35s var(--ease);
  transition-delay: calc(var(--stagger, 0) * 70ms);
}
.sp-box.is-in:hover,
.sp-related-card.is-in:hover,
.sp-panel.is-in:hover {
  transition-delay: 0ms;
}
.sp-box:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lift);
  border-color: var(--accent-border);
  color: var(--ink);
}
.sp-box:hover .sp-box-img {
  transform: scale(1.06);
}
.sp-box:hover .sp-box-arrow {
  transform: translateX(4px);
}
.sp-box:hover .sp-box-cta {
  color: var(--accent);
}
.sp-box:hover .sp-box-icon {
  background: var(--accent);
  color: #fff;
  transform: scale(1.06);
}
.sp-box-media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: var(--gray-100);
}
.sp-box-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s var(--ease);
}
.sp-box-media-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(11, 31, 51, 0.35) 100%);
  pointer-events: none;
}
.sp-box-icon {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  width: 2.75rem;
  height: 2.75rem;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.95);
  color: var(--accent-deep);
  box-shadow: var(--shadow-sm);
  transition: background 0.3s var(--ease), color 0.3s var(--ease), transform 0.3s var(--ease);
  z-index: 1;
}
.sp-box-icon--inline {
  position: static;
  width: 1.6rem;
  height: 1.6rem;
  border-radius: 7px;
  display: inline-grid;
  box-shadow: none;
  background: var(--accent-soft);
}
.sp-box-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 1.25rem 1.3rem 1.4rem;
}
.sp-box-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.65rem;
}
.sp-box-index {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--gray-400);
}
.sp-box-chip {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent-deep);
  background: var(--accent-soft);
  border: 1px solid var(--accent-border);
  border-radius: var(--radius-full);
  padding: 0.22rem 0.55rem;
}
.sp-box-title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  margin: 0 0 0.45rem;
  letter-spacing: -0.02em;
  line-height: 1.25;
}
.sp-box-text {
  margin: 0 0 1.15rem;
  font-size: 0.9rem;
  color: var(--ink-soft);
  line-height: 1.55;
  flex-grow: 1;
}
.sp-box-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--accent-deep);
  margin-top: auto;
  transition: color 0.25s var(--ease);
}
.sp-box-arrow {
  width: 1em;
  height: 1em;
  transition: transform 0.25s var(--ease);
}

/* Trust band on specialties index */
.sp-trust-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.3fr;
  gap: 2.5rem 3rem;
  align-items: start;
}
.sp-trust-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.sp-trust-card {
  padding: 1.35rem 1.25rem;
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.sp-trust-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.sp-trust-num {
  display: inline-flex;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent-deep);
  margin-bottom: 0.75rem;
}
.sp-trust-title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0 0 0.45rem;
  letter-spacing: -0.02em;
}
.sp-trust-text {
  margin: 0;
  font-size: 0.9rem;
  color: var(--ink-soft);
  line-height: 1.55;
}

/* Detail page */
.sp-detail-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  color: var(--ink-soft);
  margin-bottom: 1rem;
}
.sp-detail-breadcrumb a {
  color: var(--ink-soft);
  text-decoration: none;
  font-weight: 500;
}
.sp-detail-breadcrumb a:hover { color: var(--accent-deep); }
.sp-detail-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0 0 1.5rem;
}
.sp-detail-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.8rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink-3);
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: var(--radius-full);
}

.content-with-rail {
  display: grid;
  grid-template-columns: 1.45fr 0.7fr;
  gap: 2rem 2.5rem;
  align-items: start;
}
.content-rail-side { min-width: 0; }
.section-block { margin-top: 2.75rem; }

.sp-panels {
  display: grid;
  gap: 1.25rem;
}
.sp-panel {
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: var(--radius-xl);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  opacity: 0;
  transform: translateY(18px);
}
.sp-panel--warn {
  border-color: rgba(234, 179, 8, 0.28);
  background: linear-gradient(180deg, #fffbeb 0%, #fff 42%);
}
.sp-panel--help {
  border-color: var(--accent-border);
  background: linear-gradient(180deg, var(--mint-wash) 0%, #fff 38%);
}
.sp-panel-head { margin-bottom: 1.15rem; }
.sp-panel-badge {
  display: inline-flex;
  padding: 0.28rem 0.7rem;
  margin-bottom: 0.75rem;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  border-radius: var(--radius-full);
}
.sp-panel-badge--warn {
  color: #a16207;
  background: var(--signal-soft);
  border: 1px solid rgba(212, 160, 23, 0.3);
}
.sp-panel-badge--help {
  color: var(--accent-deep);
  background: var(--accent-soft);
  border: 1px solid var(--accent-border);
}
.sp-panel-title {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  font-weight: 700;
  margin: 0;
  letter-spacing: -0.02em;
}
.sp-panel-photo {
  margin: 0 0 1.15rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.sp-panel-photo img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
.sp-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}
.sp-list li {
  display: flex;
  gap: 0.8rem;
  align-items: flex-start;
  padding: 0.9rem 1rem;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  font-size: 0.94rem;
  color: var(--ink-soft);
  line-height: 1.55;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.sp-list li:hover {
  transform: translateX(3px);
  box-shadow: var(--shadow-sm);
}
.sp-list-mark {
  flex: none;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 0.75rem;
  font-weight: 800;
  background: var(--signal-soft);
  color: #a16207;
  margin-top: 0.1rem;
}
.sp-list-mark--ok {
  background: var(--accent-soft);
  color: var(--accent-deep);
}

/* Related specialty cards */
.sp-related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.sp-related-card {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  padding: 1.5rem;
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: var(--radius-xl);
  text-decoration: none;
  color: var(--ink);
  box-shadow: var(--shadow-sm);
  opacity: 0;
  transform: translateY(18px);
  transition:
    transform 0.35s var(--ease),
    box-shadow 0.35s var(--ease),
    border-color 0.35s var(--ease);
}
.sp-related-card .sp-box-icon {
  position: static;
  margin-bottom: 0.25rem;
}
.sp-related-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--accent-border);
  color: var(--ink);
}
.sp-related-card:hover .sp-box-icon {
  background: var(--accent);
  color: #fff;
}
.sp-related-card:hover .sp-box-arrow { transform: translateX(4px); }
.sp-related-name {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.sp-related-hook {
  font-size: 0.9rem;
  color: var(--ink-soft);
  line-height: 1.5;
  flex-grow: 1;
}

/* Sidebar CTA */
.sidebar-cta {
  background: linear-gradient(165deg, var(--ink) 0%, #122c45 100%);
  color: #fff;
  border-radius: var(--radius-xl);
  padding: 1.5rem 1.25rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 255, 255, 0.06);
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}
.sidebar-cta .eyebrow { color: var(--accent-bright); }
.sidebar-cta-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 0.65rem;
  letter-spacing: -0.02em;
  line-height: 1.25;
  overflow-wrap: anywhere;
}
.sidebar-cta-text {
  margin: 0 0 1.25rem;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.92rem;
  line-height: 1.55;
}
.sidebar-cta .btn,
.sidebar-cta .btn-signal {
  margin-bottom: 0.85rem;
  width: 100%;
  max-width: 100%;
  white-space: normal;
  box-sizing: border-box;
}
.sidebar-cta-phone {
  display: block;
  text-align: center;
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  font-weight: 600;
  font-size: clamp(0.9rem, 3.4vw, 0.98rem);
  margin-bottom: 0.75rem;
  line-height: 1.3;
  word-break: break-word;
  overflow-wrap: anywhere;
}
.sidebar-cta-phone:hover { color: #fff; }
.sidebar-cta-note {
  margin: 0;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.42);
  line-height: 1.45;
  text-align: center;
}

/* Stagger: visible without JS / reduced motion handled below */
html:not(.js) [data-stagger-item],
html:not(.js) .sp-box,
html:not(.js) .sp-panel,
html:not(.js) .sp-related-card,
html:not(.js) .about-principle-card,
html:not(.js) .about-serve-card,
html:not(.js) .about-glance,
html:not(.js) .svc-box,
html:not(.js) .svc-section-card,
html:not(.js) .svc-related-card,
html:not(.js) .blog-card {
  opacity: 1;
  transform: none;
}

/* --------------------------------------------------------------------------
   RESPONSIVE
   -------------------------------------------------------------------------- */
@media (max-width: 1100px) {
  .specialty-cards { grid-template-columns: repeat(3, 1fr); }
  .specialty-card-grid { grid-template-columns: repeat(3, 1fr); }
  .pricing-cards--4 { grid-template-columns: repeat(2, 1fr); }
  .price-grid { grid-template-columns: repeat(2, 1fr); }
  .price-grid--2 { grid-template-columns: 1fr; max-width: none; }
  .price-grid--3 { grid-template-columns: 1fr; max-width: none; }
  .price-card--featured,
  .price-card--featured.is-in,
  .price-card--featured:hover {
    transform: none;
  }
  .price-card--featured:hover { transform: translateY(-5px); }
  .footer-grid { grid-template-columns: 1.2fr 1fr 1fr; }
  .footer-contact { grid-column: 1 / -1; }
  .sp-box-grid { grid-template-columns: repeat(2, 1fr); }
  .sp-trust-grid { grid-template-columns: 1fr; }
  .sp-trust-cards { grid-template-columns: 1fr; }
  .sp-related-grid { grid-template-columns: repeat(2, 1fr); }
  .price-assurance-grid { grid-template-columns: 1fr; }
  .about-stats-grid { grid-template-columns: repeat(2, 1fr); }
  .about-stat:nth-child(2) { border-right: none; }
  .about-stat:nth-child(1),
  .about-stat:nth-child(2) {
    border-bottom: 1px solid var(--rule);
    padding-bottom: 1rem;
  }
  .about-principle-grid { grid-template-columns: repeat(2, 1fr); }
  .about-serve-grid { grid-template-columns: repeat(2, 1fr); }
  .about-gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .svc-box-grid { grid-template-columns: repeat(2, 1fr); }
  .svc-path-grid { grid-template-columns: 1fr; }
  .svc-path-cards { grid-template-columns: 1fr; }
  .svc-related-grid { grid-template-columns: repeat(2, 1fr); }
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .legal-layout { grid-template-columns: 1fr; }
  .legal-toc { position: static; }
  .sp-metrics-grid { grid-template-columns: repeat(2, 1fr); }
  .sp-metric:nth-child(2) { border-right: none; }
  .sp-metric:nth-child(1),
  .sp-metric:nth-child(2) {
    border-bottom: 1px solid var(--rule);
    padding-bottom: 0.85rem;
  }
  .sp-process-steps { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 1000px) {
  .hero-modern-grid,
  .hero-grid,
  .pricing-teaser-modern,
  .split-section,
  .page-hero-grid,
  .prose-grid,
  .contact-grid--60,
  .cta-band-inner,
  .footer-lead-inner,
  .sp-hero-inner,
  .sp-detail-hero-grid,
  .content-with-rail,
  .price-hero-inner,
  .about-hero-inner,
  .about-why-grid,
  .about-ops-grid,
  .svc-hero-inner,
  .svc-detail-hero-grid,
  .contact-hero-inner,
  .contact-layout,
  .blog-hero-inner,
  .post-layout {
    grid-template-columns: 1fr;
  }
  .contact-form-card,
  .contact-aside,
  .contact-callout {
    max-width: 100%;
    min-width: 0;
  }
  .contact-callout {
    padding: 1.25rem 1.1rem 1.2rem;
  }
  .ehr-logo-img {
    height: 36px;
    max-width: 110px;
  }
  .ehr-logo-item {
    min-width: 5.5rem;
    height: 2.85rem;
    padding: 0.25rem 0.5rem;
  }
  .ehr-marquee-track {
    animation-duration: 36s;
  }
  .claim-flow {
    font-size: 0.68rem;
    gap: 0.3rem 0.4rem;
  }
  .claim-strip--footer .claim-strip-track {
    padding: 0.65rem 0.75rem;
  }
  .hero-modern-content { max-width: none; }
  .hero-modern-visual { max-width: 480px; margin: 0 auto; width: 100%; }
  .results-grid,
  .testimonial-grid { grid-template-columns: 1fr 1fr; }
  .sticky-aside { position: static; }
  .page-hero-photo,
  .sp-hero-visual,
  .sp-detail-hero-media,
  .price-hero-visual,
  .about-hero-visual,
  .svc-hero-visual,
  .svc-detail-hero-media,
  .contact-hero-visual,
  .blog-hero-visual { order: -1; max-width: 520px; }
  .sp-hero-visual,
  .sp-detail-hero-media,
  .price-hero-visual,
  .about-hero-visual,
  .svc-hero-visual,
  .svc-detail-hero-media,
  .contact-hero-visual,
  .blog-hero-visual { margin: 0 auto; width: 100%; }
  .about-glance,
  .svc-sidebar.sticky-aside,
  .post-aside.sticky-aside { position: static; }

  /* Hero/CTA buttons when columns collapse */
  .cta-band-inner {
    grid-template-columns: 1fr;
    text-align: left;
    gap: 1.75rem;
  }
  .cta-band .cta-actions--stack,
  .cta-band .btn-row--stack {
    justify-self: start;
    max-width: 320px;
  }
  .hero-modern-ctas,
  .hero-ctas {
    gap: 0.7rem;
  }
}

@media (max-width: 900px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .specialty-cards { grid-template-columns: repeat(2, 1fr); }
  .footer-lead-fields {
    grid-template-columns: 1fr 1fr;
  }
  .footer-lead-fields .btn {
    grid-column: 1 / -1;
  }
  .sp-related-grid { grid-template-columns: 1fr; }
}

@media (max-width: 800px) {
  :root { --header-h: 4.75rem; }
  .header-inner {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.65rem;
  }
  .logo { margin-right: auto; }
  .logo-img {
    height: 2.9rem;
    max-height: 2.9rem;
    max-width: min(210px, 54vw);
  }
  .header-actions {
    margin-left: 0;
    order: 2;
  }
  .nav-toggle {
    display: inline-flex;
    order: 3;
    margin-left: 0;
  }
  .site-nav {
    display: none;
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: calc(100dvh - var(--header-h));
    max-height: calc(100dvh - var(--header-h));
    background: #fff;
    border-top: 1px solid var(--rule);
    z-index: 95;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 0.85rem 1rem 2.5rem;
    box-shadow: 0 16px 40px rgba(11, 31, 51, 0.12);
  }
  .site-nav.is-open { display: block; }
  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0.2rem;
  }
  .nav-link,
  .nav-trigger {
    width: 100%;
    justify-content: space-between;
    padding: 0.95rem 1rem;
    font-size: 1rem;
    border-radius: 12px;
    min-height: 3rem;
  }
  .has-dropdown { position: static; width: 100%; }
  .has-dropdown::after { display: none !important; }

  /* Mobile: accordion dropdowns (closed until tap) */
  .nav-dropdown,
  .nav-dropdown--specialties,
  .nav-dropdown--mega {
    position: static !important;
    width: 100% !important;
    left: auto !important;
    top: auto !important;
    padding-top: 0 !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: none;
    transform: none !important;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s var(--ease);
  }
  .has-dropdown:hover > .nav-dropdown,
  .has-dropdown:hover > .nav-dropdown--specialties,
  .has-dropdown:hover > .nav-dropdown--mega,
  .has-dropdown:focus-within > .nav-dropdown {
    max-height: 0;
    pointer-events: none;
    transform: none !important;
  }
  .has-dropdown.is-open > .nav-dropdown,
  .has-dropdown.is-open > .nav-dropdown--specialties,
  .has-dropdown.is-open > .nav-dropdown--mega,
  .has-dropdown.is-open:hover > .nav-dropdown,
  .has-dropdown.is-open:focus-within > .nav-dropdown {
    max-height: min(70dvh, 520px);
    margin-bottom: 0.35rem;
    pointer-events: auto;
    transform: none !important;
    overflow-y: auto;
  }
  .nav-dropdown-card {
    border-radius: 14px;
    box-shadow: none;
    border: 1px solid var(--rule);
    margin: 0.15rem 0 0.35rem;
  }
  .nav-dropdown-grid--2 { grid-template-columns: 1fr; }
  .nav-dropdown-grid { max-height: none; }
  .nav-dropdown-foot {
    flex-direction: column;
    align-items: stretch;
  }
  .nav-dropdown-foot .btn { width: 100%; }
  .nav-dd-go { opacity: 0.45; transform: none; }
  .has-dropdown.is-open .nav-dropdown-item,
  .has-dropdown:hover .nav-dropdown-item {
    animation: none;
  }

  .header-actions .header-phone { display: none; }
  .social-icons--header { display: none; }
  body.nav-open { overflow: hidden; touch-action: none; }
  body.nav-open .site-header { box-shadow: none; }
  .card-grid-3,
  .card-grid-2 { grid-template-columns: 1fr; }
  .results-grid,
  .testimonial-grid { grid-template-columns: 1fr; }
  .section { padding: 4rem 0; }
  .hero-modern { padding: 3.75rem 0 3.25rem; }
}

/* Tablet: stack hero buttons before they get cramped */
@media (max-width: 720px) {
  .hero-modern-ctas,
  .hero-ctas,
  .btn-row--start:not(.btn-row--stack) {
    flex-direction: column;
    align-items: stretch;
  }
  .hero-modern-ctas .btn,
  .hero-ctas .btn,
  .btn-row--start:not(.btn-row--stack) > .btn {
    width: 100%;
    white-space: normal;
  }
  .cta-band .cta-actions--stack,
  .cta-band .btn-row--stack {
    max-width: 100%;
    justify-self: stretch;
    width: 100%;
  }
  .cta-band .btn-cta-primary,
  .cta-band .btn-cta-secondary {
    width: 100%;
    max-width: 100%;
    justify-content: center;
    white-space: normal;
    text-align: center;
    box-sizing: border-box;
  }
  .cta-band .btn-cta-secondary {
    font-size: clamp(0.9rem, 3.5vw, 1rem);
    line-height: 1.3;
    padding-inline: 0.85rem;
  }
}

@media (max-width: 560px) {
  .container { padding-inline: 1.15rem; }
  .hero-modern-title { font-size: clamp(2.1rem, 9vw, 2.7rem); }
  .services-grid,
  .process-grid,
  .specialty-cards,
  .pricing-cards--4,
  .price-grid,
  .footer-grid,
  .sp-box-grid,
  .about-principle-grid,
  .about-serve-grid,
  .about-stats-grid,
  .svc-box-grid,
  .svc-related-grid,
  .sp-metrics-grid,
  .sp-process-steps,
  .blog-grid { grid-template-columns: 1fr; }
  .price-hero,
  .about-hero,
  .svc-hero,
  .svc-detail-hero,
  .sp-detail-hero,
  .contact-hero,
  .blog-hero,
  .legal-hero { padding: 2.75rem 0 2.25rem; }
  .contact-form-card { padding: 1.35rem 1.2rem; }
  .blog-cta-band { flex-direction: column; align-items: flex-start; }
  .sp-metric {
    border-right: none;
    border-bottom: 1px solid var(--rule);
    padding-bottom: 0.75rem;
  }
  .sp-metric:last-child { border-bottom: none; padding-bottom: 0; }
  .about-stat {
    border-right: none;
    border-bottom: 1px solid var(--rule);
    padding-bottom: 0.85rem;
  }
  .about-stat:last-child { border-bottom: none; padding-bottom: 0; }
  .about-gallery-grid { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-lead-fields { grid-template-columns: 1fr; }
  .hero-mini-stats { grid-template-columns: repeat(3, 1fr); gap: 0.4rem; }
  .hero-mini-stat { padding: 0.65rem 0.35rem; }
  .hero-mini-stat-value { font-size: 0.95rem; }
  .hero-mini-stat-label { font-size: 0.62rem; }
  .hero-stat-value { font-size: clamp(1.6rem, 7vw, 2.1rem); word-break: break-word; }
  .hero-spark { height: 3.25rem; gap: 0.2rem; }
  .hero-dashboard-body { padding: 1rem; }
  /* Mobile button system */
  .btn-row,
  .hero-modern-ctas,
  .hero-ctas,
  .cta-actions,
  .cta-modern .cta-actions,
  .post-footer-actions,
  .legal-contact-row,
  .blog-cta-band .btn-row {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    max-width: 100%;
  }
  .btn-row--stack,
  .cta-actions--stack {
    max-width: 100%;
  }
  .btn-row > .btn,
  .hero-modern-ctas .btn,
  .hero-ctas .btn,
  .cta-actions .btn,
  .post-footer-actions .btn,
  .legal-contact-row .btn {
    width: 100%;
    white-space: normal;
    min-height: 3rem;
    padding-left: 1.15rem;
    padding-right: 1.15rem;
  }
  .btn-lg,
  .btn-primary-lg,
  .btn-outline-lg,
  .btn-outline-light,
  .btn-cta-primary,
  .btn-cta-secondary {
    min-height: 3.15rem;
    width: 100%;
    white-space: normal;
  }
  .cta-band-inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 1.75rem;
  }
  .cta-band-text { margin-left: auto; margin-right: auto; }
  .cta-band .cta-actions--stack,
  .cta-band .btn-row--stack {
    justify-self: stretch;
    max-width: 100%;
    margin: 0 auto;
  }
  .header-actions .btn-sm,
  .header-cta {
    min-height: 2.5rem;
    padding: 0.5rem 0.85rem;
    font-size: 0.8rem;
  }
  .logo-img {
    height: 2.85rem;
    max-height: 2.85rem;
    max-width: min(200px, 52vw);
  }
  .footer-logo-img {
    height: 2.65rem;
    max-height: 2.65rem;
    max-width: 220px;
  }
  .ehr-logo-item {
    min-width: 0;
    height: auto;
    padding: 0.4rem 0.85rem;
  }
  .ehr-logo-img {
    height: 60px;
    max-width: 260px;
  }
  .footer-lead-fields .btn {
    width: 100%;
    max-width: none;
    min-height: 3rem;
  }
  .review-card--marquee { width: 280px; flex-basis: 280px; }

  .sp-hero,
  .sp-detail-hero { padding: 2.75rem 0 2.25rem; }
}

/* Reduced motion extras */
@media (prefers-reduced-motion: reduce) {
  [data-reveal],
  [data-stagger-item],
  .sp-box,
  .sp-panel,
  .sp-related-card {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  .sp-hero-float,
  .sp-hero-float-dot {
    animation: none !important;
  }
  /* Keep marquees infinite; only soft-pause is via CSS hover above */
  .ehr-marquee-track,
  .marquee-track--ehr,
  .reviews-marquee-track {
    animation-duration: 55s !important;
    animation-iteration-count: infinite !important;
  }
}
