/* =========================================================================
   Editorial Blue + Ink — Dr Syed Shaukat landing
   "Red Sun" design system with blue swapped for coral.
   ========================================================================= */

:root {
  /* Brand palette */
  --primary: #2454D7;          /* editorial blue, replaces coral #EF4623 */
  --primary-deep: #1c46b5;     /* hover / darker */
  --ink: #2D3B42;              /* deep ink-blue secondary */
  --ink-soft: #4a5b62;
  --ink-mute: #6e7c84;
  --soft: #EEF3FD;             /* soft pale-blue accent, replaces #FDF1EE */
  --soft-2: #F6F9FE;
  --white: #ffffff;
  --line: rgba(45, 59, 66, 0.08);
  --line-strong: rgba(45, 59, 66, 0.18);

  /* Radii */
  --r-pill: 999px;
  --r-3xl: 2rem;     /* 32px */
  --r-4xl: 2.5rem;   /* 40px */
  --r-5xl: 3rem;     /* 48px */
  --r-6xl: 4rem;     /* 64px */

  /* Easing */
  --ease: cubic-bezier(0.16, 1, 0.3, 1);

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(45, 59, 66, 0.06);
  --shadow-md: 0 10px 30px -12px rgba(45, 59, 66, 0.2);
  --shadow-lg: 0 30px 70px -20px rgba(45, 59, 66, 0.28);
  --shadow-primary: 0 18px 40px -12px rgba(36, 84, 215, 0.32);

  /* Typography sizes */
  --fs-hero: clamp(3.2rem, 8vw + 0.5rem, 9rem);
  --fs-h2: clamp(2.4rem, 4vw + 1rem, 5rem);
  --fs-h3: clamp(1.6rem, 1.2vw + 1.1rem, 2.4rem);
  --fs-body: clamp(1.125rem, 0.25vw + 1.05rem, 1.2rem);
  --fs-lede: clamp(1.2rem, 0.4vw + 1.1rem, 1.45rem);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 92px; }

body {
  background: var(--white);
  color: var(--ink);
  font-family: 'Manrope', system-ui, -apple-system, Segoe UI, Helvetica, Arial, sans-serif;
  font-weight: 400;
  font-size: var(--fs-body);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration: none; transition: color 0.25s var(--ease); }
a:hover { color: var(--primary-deep); }
button { font-family: inherit; cursor: pointer; }

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--primary); color: #fff; padding: 0.6rem 1rem; z-index: 9999;
  border-radius: 0 0 0.5rem 0;
}
.skip-link:focus { left: 0; }

/* =========================================================================
   Global focus ring (a11y)
   ========================================================================= */
:focus { outline: none; }
:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
  border-radius: 6px;
}
.neon-btn:focus-visible,
.ghost-btn:focus-visible,
.nav-cta:focus-visible {
  outline-offset: 4px;
}

/* =========================================================================
   Reduced motion
   ========================================================================= */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .glow, .glow-1, .glow-2, .glow-3 { display: none !important; }
}

/* =========================================================================
   Shell + ambient blurs
   ========================================================================= */
.shell {
  position: relative;
  max-width: 1440px;
  margin: 0 auto;
  background: var(--white);
  overflow: hidden;
}

/* Legacy decorative layer hooks — repurposed as ambient blur orbs */
.grid-bg, .footer-watermark { display: none !important; }
.noise { display: none !important; }
.glow {
  position: absolute;
  width: 720px; height: 720px;
  border-radius: 50%;
  background: var(--primary);
  filter: blur(120px);
  opacity: 0.1;
  pointer-events: none;
  z-index: 0;
}
.glow-1 { top: -120px; right: -200px; }
.glow-2 { bottom: 20%; left: -260px; opacity: 0.08; width: 600px; height: 600px; }
.glow-3 { display: none; }

/* =========================================================================
   Typography
   ========================================================================= */
h1, h2, h3, h4 {
  font-family: 'Instrument Serif', 'Times New Roman', Georgia, serif;
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 1;
  margin: 0 0 1.2rem;
  color: var(--ink);
}
h1 { font-size: var(--fs-hero); letter-spacing: -0.035em; line-height: 0.95; }
h2 { font-size: var(--fs-h2); line-height: 0.98; }
h3 { font-size: var(--fs-h3); line-height: 1.05; letter-spacing: -0.02em; }
h4 { font-size: 1.1rem; font-weight: 600; font-family: 'Manrope', sans-serif; letter-spacing: 0; }

.accent, .accent em {
  font-style: italic;
  color: var(--primary);
}
em.serif-it { font-style: italic; color: var(--primary); font-family: 'Instrument Serif', serif; }
.accent-dark { color: var(--ink); font-style: italic; }

p {
  margin: 0 0 1rem;
  color: var(--ink-soft);
  font-family: 'Manrope', sans-serif;
  font-size: var(--fs-body);
  line-height: 1.75;
}

.eyebrow {
  display: inline-flex; align-items: center; gap: 0.55rem;
  font-family: 'Manrope', sans-serif;
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--primary);
  background: var(--soft);
  padding: 0.55rem 1.05rem;
  border-radius: var(--r-pill);
}
.eyebrow .dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--primary);
}

.mono-label {
  display: inline-block;
  font-family: 'Manrope', sans-serif;
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 1rem;
}
.mono-label.dark { color: var(--primary); }

/* =========================================================================
   Cards (replaces .glass)
   ========================================================================= */
.glass {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-5xl);
  padding: 2.4rem;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease), transform 0.3s var(--ease);
}
.glass:hover {
  box-shadow: var(--shadow-md);
  border-color: rgba(45, 59, 66, 0.18);
  transform: translateY(-2px);
}

/* =========================================================================
   Buttons — 30px radius, shadow-primary
   ========================================================================= */
.neon-btn, .ghost-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 1rem 1.7rem;
  border-radius: 30px;
  font-family: 'Manrope', sans-serif;
  font-size: 0.95rem; font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  border: 2px solid transparent;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
}
.neon-btn {
  background: var(--primary);
  color: #fff;
  box-shadow: var(--shadow-primary);
}
.neon-btn:hover {
  background: var(--primary-deep);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 24px 50px -14px rgba(36, 84, 215, 0.45);
}
.neon-btn-lg { padding: 1.15rem 2rem; font-size: 1rem; }
.neon-btn.full { width: 100%; }
.neon-btn.small { padding: 0.6rem 1.1rem; font-size: 0.82rem; }
.neon-btn.alt { background: #fff; color: var(--primary); box-shadow: 0 14px 30px -10px rgba(45, 59, 66, 0.25); }
.neon-btn.alt:hover { background: var(--soft); color: var(--primary-deep); }

.ghost-btn {
  background: transparent;
  color: var(--ink);
  border: 2px solid rgba(45, 59, 66, 0.12);
}
.ghost-btn:hover { border-color: var(--ink); color: var(--ink); background: var(--soft-2); transform: translateY(-2px); }
.ghost-btn.small { padding: 0.55rem 1.05rem; font-size: 0.8rem; }

/* Inverse on dark CTA strip */
.cta-block .neon-btn { background: #fff; color: var(--primary); }
.cta-block .neon-btn:hover { background: var(--soft); color: var(--primary-deep); }
.cta-block .ghost-btn { color: #fff; border-color: rgba(255,255,255,0.4); }
.cta-block .ghost-btn:hover { background: rgba(255,255,255,0.1); border-color: #fff; }

/* =========================================================================
   Nav — glassmorphism
   ========================================================================= */
.nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.1rem 2rem;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav-brand { display: inline-flex; align-items: center; gap: 0.85rem; text-decoration: none; }
.brand-mark {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px;
  background: var(--primary); color: #fff;
  border-radius: 10px;
  font-family: 'Instrument Serif', serif;
  font-style: italic; font-weight: 700;
  font-size: 1.6rem;
  transform: rotate(-3deg);
  transition: transform 0.3s var(--ease);
  line-height: 1;
}
.nav-brand:hover .brand-mark { transform: rotate(-12deg); }
.brand-mark.big { width: 52px; height: 52px; font-size: 2rem; margin-bottom: 1.2rem; }
.brand-dot { display: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong { font-size: 1.02rem; font-weight: 700; color: var(--ink); font-family: 'Manrope', sans-serif; }
.brand-sub { font-size: 0.78rem; font-weight: 500; color: var(--ink-mute); }
.nav-links { display: flex; gap: 1.85rem; font-family: 'Manrope', sans-serif; font-size: 0.88rem; font-weight: 600; }
.nav-links a { color: rgba(45, 59, 66, 0.85); }
.nav-links a:hover { color: var(--primary); }
.nav-cta {
  text-transform: uppercase; font-size: 0.78rem; padding: 0.65rem 1.2rem;
}
.nav-cta svg { display: none; }

/* Hamburger — hidden on desktop */
.nav-burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px; height: 44px;
  background: transparent;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  padding: 0 10px;
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease);
}
.nav-burger span {
  display: block;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.2s var(--ease);
}
.nav-burger:hover { background: rgba(36, 84, 215, 0.06); border-color: var(--primary); }
.nav-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Nav sheet — mobile section nav */
.nav-sheet {
  position: fixed; inset: 0; z-index: 80;
  background: rgba(45, 59, 66, 0.45);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: flex; justify-content: flex-end;
  animation: nav-sheet-fade 0.25s var(--ease);
}
.nav-sheet[hidden] { display: none; }
.nav-sheet-panel {
  background: #fff;
  width: min(86%, 360px);
  height: 100%;
  padding: 5rem 2rem 2rem;
  display: flex; flex-direction: column; gap: 1.4rem;
  box-shadow: var(--shadow-lg);
  animation: nav-sheet-slide 0.3s var(--ease);
  overflow-y: auto;
}
.nav-sheet-panel a {
  font-family: 'Manrope', sans-serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  padding: 0.4rem 0;
  border-bottom: 1px solid var(--line);
}
.nav-sheet-panel a:hover { color: var(--primary); }
.nav-sheet-cta {
  margin-top: 1rem;
  align-self: flex-start;
  border-bottom: none !important;
  padding: 0.85rem 1.4rem !important;
}
.nav-sheet-close {
  position: absolute; top: 1.1rem; right: 1.2rem;
  width: 44px; height: 44px;
  background: transparent; border: 1px solid var(--line-strong);
  border-radius: 10px;
  font-size: 1.6rem; line-height: 1; color: var(--ink);
  display: flex; align-items: center; justify-content: center;
}
@keyframes nav-sheet-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes nav-sheet-slide { from { transform: translateX(20px); opacity: 0; } to { transform: translateX(0); opacity: 1; } }

@media (max-width: 960px) {
  .nav-links { display: none; }
  .nav { padding: 0.85rem 1.2rem; }
  .nav-burger { display: inline-flex; }
  .nav-cta { display: none; }
}
@media (max-width: 480px) {
  .nav { padding: 0.7rem 1rem; gap: 0.6rem; }
  .nav-brand { gap: 0.6rem; flex: 1 1 auto; min-width: 0; }
  .brand-mark { width: 36px; height: 36px; font-size: 1.4rem; flex-shrink: 0; }
  .brand-text strong { font-size: 0.92rem; white-space: nowrap; }
  .brand-sub { display: none; }
  .nav-cta { padding: 0.6rem 0.95rem; font-size: 0.72rem; flex-shrink: 0; }
}

/* =========================================================================
   Hero — centered, serif
   ========================================================================= */
.hero {
  position: relative;
  text-align: center;
  padding: 7rem 2rem 6rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: var(--white);
}
.hero::before, .hero::after {
  content: ""; position: absolute; border-radius: 50%;
  filter: blur(120px); pointer-events: none;
}
.hero::before {
  top: -160px; right: -100px;
  width: 540px; height: 540px;
  background: var(--primary); opacity: 0.1;
}
.hero::after {
  bottom: -260px; left: -120px;
  width: 600px; height: 600px;
  background: var(--primary); opacity: 0.08;
}
.hero > * { position: relative; z-index: 1; }

.hero-left { display: contents; }
.hero-right { display: none; }

.hero .eyebrow { margin-bottom: 2.2rem; }
.hero-h1 {
  font-family: 'Instrument Serif', serif;
  font-size: var(--fs-hero);
  letter-spacing: -0.035em;
  line-height: 0.95;
  margin: 0 0 1.8rem;
  max-width: 18ch;
  color: var(--ink);
}
.hero-h1 .accent {
  font-style: italic;
  color: var(--primary);
  display: block;
}
.hero-h1 em { font-style: italic; color: var(--primary); }
.hero-sub {
  font-family: 'Manrope', sans-serif;
  font-size: var(--fs-lede);
  color: rgba(45, 59, 66, 0.72);
  max-width: 38rem;
  margin: 0 auto 2.4rem;
  line-height: 1.6;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 4rem; justify-content: center; }

.hero-portrait-wrap {
  position: relative;
  width: min(540px, 70vw);
  margin: 0 auto 2.5rem;
}
.hero-portrait-wrap img {
  width: 100%; height: auto;
  border-radius: var(--r-5xl);
  box-shadow: var(--shadow-lg);
  transform: rotate(-1.5deg);
}
.hero-portrait-wrap::after {
  content: "";
  position: absolute; inset: -20px;
  border-radius: var(--r-5xl);
  background: var(--primary); opacity: 0.08;
  z-index: -1; transform: rotate(2deg);
}

.hero-proof {
  list-style: none; padding: 0; margin: 0;
  display: grid; grid-template-columns: repeat(3, minmax(160px, 1fr));
  gap: 2rem 3rem;
  max-width: 920px;
}
.hero-proof li { display: flex; flex-direction: column; gap: 0.4rem; align-items: center; text-align: center; }
.hero-proof .num {
  font-family: 'Instrument Serif', serif;
  font-size: clamp(2.6rem, 3vw, 3.4rem);
  font-weight: 400;
  font-style: italic;
  color: var(--primary);
  line-height: 1;
}
.hero-proof .lbl {
  font-family: 'Manrope', sans-serif;
  font-size: 0.92rem;
  color: var(--ink-soft);
  line-height: 1.4;
  max-width: 22ch;
}

@media (max-width: 720px) {
  .hero { padding: 4rem 1.2rem 4rem; }
  .hero-h1 { font-size: clamp(3rem, 11vw, 4.5rem); line-height: 0.98; }
  .hero-proof { grid-template-columns: 1fr; gap: 1.6rem; padding-top: 1.5rem; }
  .hero-proof li { align-items: flex-start; text-align: left; flex-direction: row; align-items: baseline; gap: 0.9rem; }
  .hero-proof .num { font-size: 2.4rem; min-width: 4rem; }
  .hero-proof .lbl { max-width: none; }
  .hero-actions { gap: 0.8rem; }
  .hero-actions .neon-btn-lg { padding: 1rem 1.5rem; font-size: 0.92rem; }
}
@media (max-width: 420px) {
  .hero { padding: 3rem 1rem 3.5rem; }
  .hero-h1 { font-size: clamp(2.9rem, 13vw, 4rem); line-height: 0.95; }
  .hero-sub { font-size: 1.1rem; margin-bottom: 1.8rem; }
}

/* =========================================================================
   Section heads
   ========================================================================= */
section { position: relative; z-index: 1; }
.section-head { max-width: 1080px; margin: 0 auto 4rem; padding: 0 4rem; text-align: center; }
.section-head h2 { margin-top: 0.5rem; }
.section-head .mono-label { display: inline-block; }
.section-lede { font-size: var(--fs-lede); color: var(--ink-soft); max-width: 36em; margin: 1rem auto 0; }
@media (max-width: 720px) {
  .section-head { padding: 0 1.2rem; margin-bottom: 2.5rem; }
}

/* =========================================================================
   Trust — bento grid
   ========================================================================= */
.trust { padding: 7rem 4rem 5rem; background: var(--white); }
.trust-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
  padding: 0 4rem;
  margin-bottom: 2rem;
}
.trust-card {
  display: flex; flex-direction: column; gap: 0.4rem;
  padding: 2rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-5xl);
}
.trust-card .mono-label { color: var(--primary); margin-bottom: 0.5rem; }
.trust-card h3 { font-size: 1.55rem; margin-bottom: 0.4rem; }
.trust-card p { font-size: 1rem; color: var(--ink-soft); margin: 0; line-height: 1.6; }
.trust-card.highlight {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}
.trust-card-doctify { padding-bottom: 1.5rem; }
.trust-doctify-badge {
  display: block;
  margin-top: auto;
  align-self: flex-start;
  padding-top: 1rem;
  transition: transform 0.25s var(--ease);
}
.trust-doctify-badge img { width: 140px; height: auto; border-radius: 8px; }
.trust-doctify-badge:hover { transform: translateY(-2px); }
.trust-card.highlight h3 { color: #fff; font-family: 'Instrument Serif', serif; font-style: italic; }
.trust-card.highlight p { color: rgba(255,255,255,0.78); }
.trust-card.highlight .mono-label { color: var(--primary); }
.compliance-note {
  padding: 0 4rem;
  font-size: 0.92rem; color: var(--ink-mute); max-width: 60em; margin: 0 auto;
  text-align: center;
}
.compliance-note.small { font-size: 0.85rem; }

@media (max-width: 1100px) {
  .trust-grid { grid-template-columns: repeat(2, 1fr); padding: 0 2rem; }
  .trust, .services, .testimonials, .locations, .faq, .contact { padding-left: 2rem; padding-right: 2rem; }
  .compliance-note { padding: 0 2rem; }
}
@media (max-width: 720px) {
  .trust-grid { grid-template-columns: 1fr; padding: 0 1.2rem; gap: 1rem; }
  .trust { padding: 4rem 1.2rem; }
  .compliance-note { padding: 0 1.2rem; }
}

/* =========================================================================
   Services — bento with hero image card
   ========================================================================= */
.services { padding: 7rem 4rem; background: var(--soft-2); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: minmax(220px, auto);
  gap: 1.2rem;
  padding: 0 4rem;
}
.service-card {
  display: flex; flex-direction: column; gap: 0.5rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-5xl);
  padding: 2rem;
}
.service-card .mono-label { color: var(--primary); margin-bottom: 0.5rem; }
.service-card h3 { font-size: 1.5rem; margin-bottom: 0.5rem; }
.service-card p { margin: 0; line-height: 1.6; }
.service-card.large {
  grid-column: span 2; grid-row: span 2;
  background: var(--ink);
  color: #fff;
}
.service-card.large h3,
.service-card.large h2 { color: #fff; font-family: 'Instrument Serif', serif; font-style: italic; font-size: 2.6rem; line-height: 1.05; }
.service-card.large .mono-label { color: var(--primary); }
.service-card.large .check-list li { color: rgba(255,255,255,0.92); }
.service-card.large .check-list li::before { background: var(--primary); box-shadow: 0 0 0 3px rgba(36, 84, 215, 0.25); }

.check-list { list-style: none; padding: 0; margin: 1rem 0 0; display: grid; gap: 0.7rem; }
.check-list li {
  display: flex; align-items: flex-start; gap: 0.85rem;
  font-family: 'Manrope', sans-serif;
  font-size: 1.05rem; color: var(--ink); font-weight: 500;
}
.check-list li::before {
  content: ""; flex-shrink: 0; margin-top: 0.55rem;
  width: 8px; height: 8px; border-radius: 50%; background: var(--primary);
}

@media (max-width: 1100px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); padding: 0 2rem; }
  .service-card.large { grid-column: span 2; grid-row: auto; }
  .services { padding: 5rem 2rem; }
}
@media (max-width: 720px) {
  .services-grid { grid-template-columns: 1fr; padding: 0 1.2rem; }
  .service-card.large { grid-column: auto; }
  .service-card { padding: 1.7rem; border-radius: var(--r-4xl); }
  .service-card.large h3, .service-card.large h2 { font-size: 2rem; }
  .services { padding: 4rem 1.2rem; }
}

/* =========================================================================
   About — split with portrait
   ========================================================================= */
.about-contrast {
  background: var(--white);
  color: var(--ink);
  padding: 7rem 4rem;
  position: relative;
}
.about-contrast h2 { color: var(--ink); }
.about-contrast p { color: var(--ink-soft); }
.about-grid {
  display: grid; grid-template-columns: 1.3fr 1fr;
  gap: 5rem;
  align-items: center;
  max-width: 1280px;
  margin: 0 auto;
}
.about-copy h2 { margin-bottom: 1.6rem; max-width: 22ch; font-size: clamp(2.2rem, 3vw + 1rem, 4rem); }
.about-copy .mono-label { color: var(--primary); margin-bottom: 1rem; }
.numbered-list {
  list-style: none; padding: 0; margin: 2.5rem 0 0;
  display: grid; gap: 1.2rem;
  counter-reset: step;
}
.numbered-list li {
  display: flex; align-items: baseline; gap: 1rem;
  color: var(--ink); font-size: 1.1rem; line-height: 1.6;
  border-top: 1px solid var(--line-strong);
  padding-top: 1.2rem;
}
.numbered-list li::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  flex: 0 0 3.5rem;
  font-family: 'Instrument Serif', serif;
  font-size: 1.5rem; color: var(--primary); font-style: italic;
}
.numbered-list li > div { flex: 1 1 auto; min-width: 0; }
.numbered-list strong { font-weight: 600; color: var(--ink); }

.about-portrait { margin: 0; position: relative; }
.about-portrait img {
  width: 100%; height: auto;
  border-radius: var(--r-5xl);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--line);
}
.about-portrait::after {
  content: ""; position: absolute; inset: -18px;
  border-radius: var(--r-5xl);
  background: var(--soft);
  z-index: -1;
  transform: rotate(2deg);
}
.about-portrait figcaption {
  margin-top: 1.2rem;
  font-family: 'Manrope', sans-serif;
  font-size: 0.82rem; font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--ink-mute);
}

@media (max-width: 1100px) {
  .about-contrast { padding: 5rem 2rem; }
  .about-grid { grid-template-columns: 1fr; gap: 3rem; max-width: 720px; }
  .about-portrait { max-width: 480px; margin: 0 auto; }
}
@media (max-width: 720px) {
  .about-contrast { padding: 4rem 1.2rem; }
  .about-portrait { max-width: 380px; }
  .about-portrait::after { inset: -10px; }
  .numbered-list li { padding-top: 1rem; font-size: 1.05rem; gap: 0.85rem; }
  .numbered-list li::before { flex-basis: 2.6rem; font-size: 1.3rem; }
}

/* =========================================================================
   Testimonials
   ========================================================================= */
.testimonials { padding: 7rem 4rem; background: var(--soft-2); }

.doctify-summary {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem; flex-wrap: wrap;
  max-width: 1080px; margin: 0 auto 2.5rem;
  padding: 1.4rem 1.8rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-4xl);
  box-shadow: var(--shadow-sm);
}
.doctify-badge {
  display: inline-flex; align-items: center;
  border-radius: 14px;
  overflow: hidden;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
  flex-shrink: 0;
}
.doctify-badge img { display: block; width: 180px; height: auto; }
.doctify-badge:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.doctify-stat { display: flex; align-items: center; gap: 1.25rem; flex-wrap: wrap; }
.doctify-rating {
  font-family: 'Instrument Serif', serif;
  font-style: italic; font-weight: 400;
  font-size: 3rem; line-height: 1;
  color: var(--primary);
}
.doctify-rating-max {
  font-style: normal; font-size: 1.1rem; color: var(--ink-mute); margin-left: 0.15rem;
}
.doctify-stars {
  display: inline-flex; gap: 2px;
  color: var(--primary);
  font-size: 1.4rem;
  letter-spacing: 0.05em;
}
.doctify-count {
  font-family: 'Manrope', sans-serif;
  font-size: 0.95rem; font-weight: 600;
  color: var(--ink-soft);
}
.doctify-summary .ghost-btn svg { transition: transform 0.25s var(--ease); }
.doctify-summary .ghost-btn:hover svg { transform: translate(2px, -2px); }

@media (max-width: 720px) {
  .doctify-summary {
    padding: 1.8rem 1.4rem;
    border-radius: var(--r-3xl);
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.2rem;
  }
  .doctify-summary .doctify-stat { justify-content: center; }
  .doctify-summary .ghost-btn { width: 100%; justify-content: center; }
  .doctify-rating { font-size: 2.6rem; }
  .doctify-badge img { width: 180px; }
}

.testimonial-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem;
  padding: 0 4rem;
  margin-bottom: 1.5rem;
}
.quote-card {
  padding: 2.4rem; display: flex; flex-direction: column; gap: 1.5rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-5xl);
  text-align: center;
  align-items: center;
}
.quote-card p {
  font-family: 'Instrument Serif', serif;
  font-size: 1.5rem; line-height: 1.25;
  color: var(--ink); margin: 0;
  letter-spacing: -0.01em;
}
.quote-card p::before { content: "“"; color: var(--primary); margin-right: 0.05em; font-style: italic; }
.quote-card cite {
  font-style: normal; display: flex; flex-direction: column; gap: 0.3rem;
  padding-top: 1.4rem; border-top: 1px solid var(--line);
  font-family: 'Manrope', sans-serif;
  width: 100%;
  align-items: center;
}
.quote-card cite strong { font-weight: 600; color: var(--ink); font-size: 1rem; }
.quote-card cite span {
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink-mute);
}

@media (max-width: 1100px) {
  .testimonial-grid { grid-template-columns: 1fr; padding: 0 2rem; }
  .testimonials { padding: 5rem 2rem; }
}
@media (max-width: 720px) {
  .testimonials { padding: 4rem 1.2rem; }
  .testimonial-grid { padding: 0 1.2rem; }
}

/* =========================================================================
   Locations
   ========================================================================= */
.locations { padding: 7rem 4rem; background: var(--white); }
.location-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem;
  padding: 0 4rem;
}
.loc-card { display: flex; flex-direction: column; gap: 0.6rem; padding: 2.2rem; background: #fff; border: 1px solid var(--line); border-radius: var(--r-5xl); }
.loc-card .mono-label { color: var(--primary); margin-bottom: 0.5rem; }
.loc-card h3 { margin-bottom: 0.4rem; font-size: 1.6rem; }
.loc-card address { font-family: 'Manrope', sans-serif; font-style: normal; color: var(--ink-soft); line-height: 1.6; }
.loc-card .ghost-btn { align-self: flex-start; margin-top: 1rem; }

@media (max-width: 1100px) {
  .location-grid { grid-template-columns: 1fr; padding: 0 2rem; }
  .locations { padding: 5rem 2rem; }
}
@media (max-width: 720px) {
  .locations { padding: 4rem 1.2rem; }
  .location-grid { padding: 0 1.2rem; }
}

/* =========================================================================
   FAQ
   ========================================================================= */
.faq { padding: 7rem 4rem; background: var(--soft-2); }
.faq-list {
  display: grid; gap: 0.9rem;
  padding: 0 4rem; max-width: 1000px; margin: 0 auto;
}
.faq-list details {
  padding: 1.6rem 2rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-3xl);
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.faq-list details[open] { border-color: var(--primary); box-shadow: var(--shadow-md); }
.faq-list summary {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  font-family: 'Manrope', sans-serif;
  font-size: 1.1rem; font-weight: 600;
  color: var(--ink);
  cursor: pointer; list-style: none;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary .chev {
  flex-shrink: 0; width: 26px; height: 26px; border-radius: 50%;
  background: var(--soft); position: relative;
  transition: transform 0.3s var(--ease), background 0.3s var(--ease);
}
.faq-list summary .chev::before,
.faq-list summary .chev::after {
  content: ""; position: absolute; left: 50%; top: 50%;
  width: 12px; height: 2px; background: var(--primary); transform: translate(-50%, -50%);
}
.faq-list summary .chev::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform 0.3s var(--ease); }
.faq-list details[open] summary .chev { background: var(--primary); }
.faq-list details[open] summary .chev::before,
.faq-list details[open] summary .chev::after { background: #fff; }
.faq-list details[open] summary .chev::after { transform: translate(-50%, -50%) rotate(0); }
.faq-list details p {
  margin: 1.2rem 0 0; font-size: 1.05rem; color: var(--ink-soft);
  border-top: 1px solid var(--line);
  padding-top: 1.2rem;
}

@media (max-width: 1100px) {
  .faq, .faq-list { padding-left: 2rem; padding-right: 2rem; }
  .faq { padding: 5rem 2rem; }
}
@media (max-width: 720px) {
  .faq { padding: 4rem 1.2rem; }
  .faq-list { padding: 0 1.2rem; }
  .faq-list details { padding: 1.3rem 1.4rem; }
  .faq-list summary { font-size: 1.02rem; }
}

/* =========================================================================
   Contact — big rounded CTA block in primary blue
   ========================================================================= */
.contact { padding: 7rem 2rem 8rem; background: var(--white); }
.contact-grid {
  display: grid; grid-template-columns: 1.05fr 1fr;
  gap: 4rem; align-items: start;
  padding: 4rem;
  max-width: 1280px;
  margin: 0 auto;
  background: var(--primary);
  border-radius: var(--r-6xl);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.contact-grid::before {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.18) 1px, transparent 1px);
  background-size: 30px 30px;
  opacity: 0.25;
  pointer-events: none;
}
.contact-grid > * { position: relative; z-index: 1; }
.contact-copy h2 { color: #fff; font-family: 'Instrument Serif', serif; font-size: clamp(2.4rem, 4vw, 4.5rem); line-height: 1; margin-bottom: 1.5rem; }
.contact-copy h2 .accent { color: #fff; font-style: italic; opacity: 0.85; display: block; }
.contact-copy .mono-label { color: rgba(255,255,255,0.8); }
.contact-copy p { margin-bottom: 2rem; font-size: var(--fs-lede); color: rgba(255,255,255,0.88); max-width: 30em; }
.contact-points { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.85rem; }
.contact-points li {
  display: flex; flex-direction: column; gap: 0.2rem;
  padding: 1.05rem 1.3rem;
  border-radius: var(--r-3xl);
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.18);
}
.contact-points li .mono-label { color: rgba(255,255,255,0.7); margin-bottom: 0.2rem; }
.contact-points li strong { font-weight: 600; color: #fff; }
.contact-points li a { color: #fff; font-weight: 500; font-size: 1.02rem; }
.contact-points li a:hover { color: var(--soft); }

.contact-form {
  background: #fff;
  padding: 2.6rem;
  display: grid; gap: 1.1rem;
  border: none;
  border-radius: var(--r-4xl);
  box-shadow: var(--shadow-lg);
  color: var(--ink);
}
.contact-form h3 { font-size: 1.8rem; margin-bottom: 0.6rem; color: var(--ink); font-family: 'Instrument Serif', serif; }
.field { display: flex; flex-direction: column; gap: 0.45rem; }
.field label {
  font-family: 'Manrope', sans-serif;
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink);
}
.field label .opt { font-weight: 500; color: var(--ink-mute); text-transform: none; letter-spacing: 0; }
.field input, .field textarea {
  font-family: 'Manrope', sans-serif; font-size: 1rem;
  background: var(--soft-2);
  border: 1px solid transparent;
  color: var(--ink);
  border-radius: var(--r-3xl);
  padding: 1rem 1.2rem;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--primary);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(36, 84, 215, 0.12);
}
.field textarea { resize: vertical; min-height: 110px; }

.check-field { flex-direction: row; align-items: flex-start; gap: 0.7rem; }
.check-field input {
  margin-top: 0.25rem; width: 18px; height: 18px;
  accent-color: var(--primary);
}
.check-field label {
  font-family: 'Manrope', sans-serif;
  font-size: 0.92rem; font-weight: 500;
  color: var(--ink-soft);
  text-transform: none; letter-spacing: 0;
  line-height: 1.5;
}
.check-field label a { color: var(--primary); text-decoration: underline; }

.contact-form .neon-btn {
  background: var(--primary); color: #fff;
  box-shadow: var(--shadow-primary);
}
.contact-form .neon-btn:hover { background: var(--primary-deep); }

.form-note { font-family: 'Manrope', sans-serif; font-size: 0.85rem; color: var(--ink-mute); margin: 0.4rem 0 0; }
.form-status { font-size: 0.95rem; color: var(--primary); margin: 0; min-height: 1.4em; font-weight: 600; }

@media (max-width: 1100px) {
  .contact-grid { grid-template-columns: 1fr; padding: 3rem 2rem; }
  .contact { padding: 5rem 1.2rem 6rem; }
}
@media (max-width: 720px) {
  .contact-grid { padding: 2.5rem 1.5rem; border-radius: var(--r-4xl); gap: 2rem; }
  .contact { padding: 4rem 1rem 5rem; }
  .contact-form { padding: 1.8rem; border-radius: var(--r-3xl); }
  .contact-copy h2 { font-size: clamp(2rem, 9vw, 2.8rem); }
}

/* =========================================================================
   Footer — Ink, 5-col grid
   ========================================================================= */
.footer {
  position: relative;
  padding: 5rem 4rem 2.5rem;
  background: var(--ink);
  color: rgba(255,255,255,0.78);
  overflow: hidden;
}
.footer h4 {
  font-family: 'Instrument Serif', serif;
  font-style: italic; font-weight: 400;
  font-size: 1.3rem; letter-spacing: 0;
  color: #fff;
  margin-bottom: 1.2rem;
  text-transform: none;
}
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 3rem; margin-bottom: 2.5rem;
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
}
.footer nav { display: flex; flex-direction: column; gap: 0.5rem; }
.footer nav a, .footer > div > a { color: rgba(255,255,255,0.7); font-size: 0.95rem; font-family: 'Manrope', sans-serif; }
.footer nav a:hover, .footer > div > a:hover { color: #fff; }
.footer-blurb { font-family: 'Manrope', sans-serif; font-size: 1rem; color: rgba(255,255,255,0.75); max-width: 30em; }
.footer .brand-mark.big { background: var(--primary); color: #fff; transform: rotate(-3deg); }

.footer-fine {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 1.5rem;
  max-width: 1280px;
  margin: 0 auto;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem;
}
.footer-fine p {
  font-family: 'Manrope', sans-serif;
  font-size: 0.82rem; color: rgba(255,255,255,0.55); margin: 0;
  max-width: 64em;
}

@media (max-width: 1100px) {
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .footer { padding: 4rem 2rem 2.5rem; }
}
@media (max-width: 720px) {
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer { padding: 3rem 1.2rem 2rem; }
  .footer-fine { flex-direction: column-reverse; }
}

/* =========================================================================
   Sticky mobile CTA
   ========================================================================= */
.sticky-cta {
  position: fixed; bottom: 1rem; left: 50%; transform: translateX(-50%);
  z-index: 60;
  padding: 0.95rem 1.6rem;
  font-size: 0.85rem;
  display: none;
  background: var(--primary); color: #fff;
  box-shadow: var(--shadow-primary);
}
@media (max-width: 720px) {
  .sticky-cta { display: inline-flex; }
}

/* =========================================================================
   Cookie banner — slim bar by default, expandable preferences
   ========================================================================= */
.cookie-banner {
  position: fixed;
  bottom: 1rem;
  left: 1rem;
  right: 1rem;
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
  z-index: 70;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-3xl);
  box-shadow: var(--shadow-lg);
}
.cookie-banner[hidden] { display: none; }
.cookie-bar {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  padding: 1rem 1.25rem;
}
.cookie-bar-copy {
  margin: 0;
  font-size: 0.92rem;
  color: var(--ink-soft);
  font-family: 'Manrope', sans-serif;
  line-height: 1.5;
  flex: 1 1 auto;
}
.cookie-bar-link { color: var(--primary); text-decoration: underline; text-underline-offset: 2px; }
.cookie-bar-actions {
  display: flex;
  gap: 0.5rem;
  flex-shrink: 0;
}
.cookie-prefs {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 0 1.25rem 1.1rem;
  border-top: 1px solid var(--line);
  padding-top: 1rem;
}
.cookie-prefs[hidden] { display: none; }
.cookie-prefs label { font-family: 'Manrope', sans-serif; font-size: 0.95rem; color: var(--ink); display: flex; align-items: center; gap: 0.55rem; font-weight: 500; }
.cookie-prefs input[type="checkbox"] { accent-color: var(--primary); width: 16px; height: 16px; }
.cookie-prefs-actions { display: flex; gap: 0.6rem; margin-top: 0.7rem; flex-wrap: wrap; }
@media (max-width: 600px) {
  .cookie-banner { bottom: 5.5rem; left: 0.6rem; right: 0.6rem; }
  .cookie-bar { flex-direction: column; align-items: stretch; gap: 0.75rem; padding: 0.9rem 1rem; }
  .cookie-bar-copy { font-size: 0.85rem; text-align: left; }
  .cookie-bar-actions { justify-content: space-between; }
  .cookie-bar-actions .neon-btn, .cookie-bar-actions .ghost-btn { flex: 1 1 auto; padding: 0.55rem 0.9rem; font-size: 0.78rem; }
  .cookie-prefs { padding: 0.9rem 1rem 1rem; }
  .cookie-prefs label { font-size: 0.9rem; }
  .cookie-prefs-actions .neon-btn, .cookie-prefs-actions .ghost-btn { padding: 0.5rem 0.9rem; font-size: 0.78rem; }
}

/* =========================================================================
   Fade-up animation (one-shot, no opacity:0 stuck-state bug)
   ========================================================================= */
.hero-reveal,
.hero-reveal-2,
.hero-reveal-3 {
  opacity: 0;
  transform: translateY(28px) rotate(-2deg);
  animation: fadeUp 0.9s var(--ease) forwards;
}
.hero-reveal-2 { animation-delay: 0.12s; }
.hero-reveal-3 { animation-delay: 0.24s; }

@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0) rotate(0); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .hero-reveal, .hero-reveal-2, .hero-reveal-3 { opacity: 1; transform: none; }
  .brand-mark, .hero-portrait-wrap img { transform: none !important; }
}
