/* ==========================================================
   HOPE CLINIC – Complete Stylesheet
   Pixel-accurate port of the Next.js / Tailwind v4 design.
   ========================================================== */

/* ----------------------------------------------------------
   1. DESIGN TOKENS  (mirror globals.css :root)
   ---------------------------------------------------------- */
:root {
  --background:          oklch(0.98 0.005 90);
  --foreground:          oklch(0.30 0.02  60);
  --card:                oklch(0.99 0.003 90);
  --primary:             oklch(0.55 0.08  145);
  --primary-fg:          oklch(0.99 0.003 90);
  --secondary:           oklch(0.94 0.01  90);
  --secondary-fg:        oklch(0.35 0.02  60);
  --muted:               oklch(0.95 0.008 90);
  --muted-fg:            oklch(0.50 0.02  60);
  --border:              oklch(0.90 0.01  90);
  --radius:              1rem;

  --font-sans:  'Inter', system-ui, sans-serif;
  --font-serif: 'Cormorant Garamond', Georgia, serif;
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-sans);
  background-color: var(--background);
  color: var(--foreground);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }

a { color: inherit; text-decoration: none; }

button { cursor: pointer; font: inherit; }

/* ----------------------------------------------------------
   3. GLOBAL UTILITY CLASSES
   ---------------------------------------------------------- */

/* containers */
.hc-container     { max-width: 72rem;  margin-inline: auto; padding-inline: 1.5rem; }
.hc-container--md { max-width: 64rem;  margin-inline: auto; padding-inline: 1.5rem; }
.hc-container--sm { max-width: 56rem;  margin-inline: auto; padding-inline: 1.5rem; }
.hc-container--xs { max-width: 42rem;  margin-inline: auto; padding-inline: 1.5rem; }

/* section base */
.hc-section {
  position: relative;
  padding-block: 8rem;
  background-color: var(--background);
  overflow: hidden;
}
@media (min-width: 768px) { .hc-section { padding-block: 10rem; } }

/* Reduce gap between Care Qualities and About */
.hc-care-qualities { padding-bottom: 4rem !important; }
.hc-about { padding-top: 4rem !important; }
@media (min-width: 768px) {
  .hc-care-qualities { padding-bottom: 5rem !important; }
  .hc-about { padding-top: 5rem !important; }
}

/* Reduce gap between For You and Process (half of default section padding on facing edges) */
.hc-for-patients { padding-bottom: 4rem !important; }
.hc-process        { padding-top: 4rem !important; }
@media (min-width: 768px) {
  .hc-for-patients { padding-bottom: 5rem !important; }
  .hc-process        { padding-top: 5rem !important; }
}

/* Reduce gap between Process and Contact */
.hc-process { padding-bottom: 4rem !important; }
.hc-contact  { padding-top: 4rem !important; }
@media (min-width: 768px) {
  .hc-process { padding-bottom: 5rem !important; }
  .hc-contact  { padding-top: 5rem !important; }
}

/* Core principles → Services: zero section padding so .hc-about’s --background doesn’t show as a white strip */
.hc-about { padding-bottom: 0 !important; }
.hc-services {
  padding-top: 0 !important;
  padding-bottom: 4rem !important; /* half of default 8rem; pairs with For You */
}
.hc-for-patients { padding-top: 4rem !important; }

/* Offset Services content (padding was on section before) */
.hc-services .hc-container {
  padding-top: 4rem;
}
@media (min-width: 768px) {
  .hc-services {
    padding-bottom: 5rem !important; /* half of default 10rem */
  }
  .hc-for-patients {
    padding-top: 5rem !important;
  }
  .hc-services .hc-container {
    padding-top: 5rem;
  }
}

.hc-section--alt  { background-color: color-mix(in oklch, var(--secondary) 30%, transparent); }
.hc-section--soft { background-color: color-mix(in oklch, var(--secondary) 20%, transparent); }

/* noise overlay (for sections that have it) */
.hc-noise {
  position: absolute; inset: 0; pointer-events: none; z-index: 0;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* wave dividers */
.hc-wave { position: absolute; left: 0; right: 0; height: 6rem; pointer-events: none; z-index: 1; }
.hc-wave--top  { top: 0; transform: translateY(-100%); color: color-mix(in oklch, var(--secondary) 30%, transparent); }
.hc-wave--bg   { color: var(--background); }
.hc-wave svg   { width: 100%; height: 100%; }

/* section heading block */
.hc-section__head {
  text-align: center;
  margin-bottom: 5rem;
}
.hc-section__sub {
  margin-top: 1.5rem;
  color: var(--muted-fg);
  line-height: 1.75;
  max-width: 40rem;
  margin-inline: auto;
}

/* eyebrow label */
.hc-eyebrow {
  display: block;
  font-size: 0.8125rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--primary);
}

/* heading scale */
.hc-h2 {
  margin-top: 1rem;
  font-family: var(--font-serif);
  font-size: clamp(2.25rem, 4vw, 3.25rem);
  font-weight: 400;
  color: var(--foreground);
  letter-spacing: -0.02em;
  line-height: 1.15;
}

/* horizontal rule accent */
.hc-rule {
  width: 3rem; height: 1px;
  background-color: color-mix(in oklch, var(--primary) 30%, transparent);
  flex-shrink: 0;
}
.hc-rule--light {
  width: 4rem;
  background-color: color-mix(in oklch, white 30%, transparent);
}

/* icon base */
.hc-icon { width: 1.75rem; height: 1.75rem; }

/* button */
.hc-btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 0.5rem;
  padding: 1rem 2.5rem;
  border-radius: 9999px;
  font-weight: 500;
  font-size: 1rem;
  border: none;
  transition: background-color 0.4s, box-shadow 0.4s, transform 0.4s;
  white-space: nowrap;
}
.hc-btn--primary {
  background-color: var(--primary);
  color: var(--primary-fg);
  box-shadow: 0 8px 24px color-mix(in oklch, var(--primary) 30%, transparent);
}
.hc-btn--primary:hover {
  background-color: color-mix(in oklch, var(--primary) 90%, black);
  box-shadow: 0 12px 32px color-mix(in oklch, var(--primary) 40%, transparent);
  transform: scale(1.02);
}
.hc-btn__arrow { width: 1rem; height: 1rem; transition: transform 0.3s; }
.hc-btn:hover .hc-btn__arrow { transform: translateX(4px); }

/* glass block */
.hc-glass-block {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  padding: 2rem;
  border-radius: 1.75rem;
  background-color: color-mix(in oklch, var(--card) 60%, transparent);
  backdrop-filter: blur(12px);
  border: 1px solid color-mix(in oklch, var(--border) 50%, transparent);
  box-shadow: 0 8px 40px color-mix(in oklch, black 12%, transparent);
}

/* glass card (shared by service cards, fp cards) */
.hc-glass-card {
  position: relative;
  height: 100%;
  padding: 2.5rem;
  border-radius: 1.5rem;
  background-color: color-mix(in oklch, var(--card) 60%, transparent);
  backdrop-filter: blur(8px);
  border: 1px solid color-mix(in oklch, var(--border) 30%, transparent);
  transition: border-color 0.4s, box-shadow 0.4s, transform 0.4s;
}
.hc-glass-card:hover {
  border-color: color-mix(in oklch, var(--primary) 20%, transparent);
  box-shadow: 0 12px 40px color-mix(in oklch, black 14%, transparent);
  transform: translateY(-2px);
}

/* scroll-reveal base states */
[data-scroll-reveal] { opacity: 0; transform: translateY(2rem); transition: opacity 0.8s ease, transform 0.8s ease; }
[data-scroll-reveal].is-visible { opacity: 1; transform: translateY(0); }

[data-reveal-child] { opacity: 0; transform: translateY(2rem); transition: opacity 0.9s ease, transform 0.9s ease; }
[data-scroll-reveal].is-visible [data-reveal-child] { opacity: 1; transform: translateY(0); }

.hidden { display: none !important; }

/* ----------------------------------------------------------
   4. HEADER
   ---------------------------------------------------------- */
.hc-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  transition: background-color 0.4s, backdrop-filter 0.4s, box-shadow 0.4s;
}
.hc-header.scrolled {
  background-color: color-mix(in oklch, var(--background) 85%, transparent);
  backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 var(--border);
}

.hc-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 72rem;
  margin-inline: auto;
  padding: 1.25rem 1.5rem;
}

.hc-header__logo span {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--foreground);
}

.hc-header__nav {
  display: none;
  align-items: center;
  gap: 2.5rem;
}
@media (min-width: 768px) { .hc-header__nav { display: flex; } }

.hc-header__nav a {
  font-size: 0.9375rem;
  color: var(--muted-fg);
  transition: color 0.3s;
}
.hc-header__nav a:hover { color: var(--foreground); }

.hc-header__cta {
  padding: 0.5rem 1.25rem;
  border-radius: 9999px;
  border: 1px solid var(--primary) !important;
  background-color: var(--primary) !important;
  color: var(--primary-fg) !important;
  font-size: 0.875rem;
  font-weight: 500;
  transition: background-color 0.3s, box-shadow 0.3s, transform 0.3s !important;
  box-shadow: 0 4px 14px color-mix(in oklch, var(--primary) 30%, transparent);
}
.hc-header__cta:hover {
  background-color: color-mix(in oklch, var(--primary) 88%, black) !important;
  border-color: color-mix(in oklch, var(--primary) 88%, black) !important;
  box-shadow: 0 6px 20px color-mix(in oklch, var(--primary) 40%, transparent) !important;
  transform: scale(1.02);
}

.hc-header__burger {
  display: flex;
  align-items: center;
  background: none;
  border: none;
  padding: 0.25rem;
  color: var(--foreground);
}
@media (min-width: 768px) { .hc-header__burger { display: none; } }

.hc-header-spacer { height: 4.5rem; }

/* Mobile nav */
.hc-mobile-nav {
  position: absolute;
  top: 100%; left: 0; right: 0;
  background-color: color-mix(in oklch, var(--background) 95%, transparent);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.hc-mobile-nav a { font-size: 1.125rem; color: var(--muted-fg); transition: color 0.3s; }
.hc-mobile-nav a:hover { color: var(--foreground); }
.hc-header__cta-mobile {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  padding: 0.625rem 1.5rem;
  border-radius: 9999px;
  background-color: var(--primary);
  color: var(--primary-fg) !important;
  font-size: 0.9375rem;
  font-weight: 500;
}

/* ----------------------------------------------------------
   5. HERO
   ---------------------------------------------------------- */
.hc-hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hc-hero__bg {
  position: absolute; inset: 0; z-index: 0;
  will-change: transform;
}
.hc-hero__img {
  width: 100%; height: 110%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.1);
}

.hc-hero__gradient-v,
.hc-hero__gradient-h,
.hc-hero__glow {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
}
.hc-hero__gradient-v {
  background: linear-gradient(to bottom,
    color-mix(in oklch, var(--background) 70%, transparent) 0%,
    color-mix(in oklch, var(--background) 30%, transparent) 50%,
    var(--background) 100%);
}
.hc-hero__gradient-h {
  background: linear-gradient(to right,
    color-mix(in oklch, var(--background) 40%, transparent),
    transparent,
    color-mix(in oklch, var(--background) 40%, transparent));
}
.hc-hero__glow {
  z-index: 2;
  display: flex; align-items: flex-start; justify-content: center;
  padding-top: 15%;
}
.hc-hero__glow::after {
  content: '';
  width: 50rem; height: 37.5rem;
  background: radial-gradient(circle, color-mix(in oklch, #fef3c7 30%, transparent) 0%, transparent 70%);
  filter: blur(60px);
  opacity: 0.4;
}

/* particles container */
.hc-particles { position: absolute; inset: 0; z-index: 2; pointer-events: none; overflow: hidden; }
.hc-particle {
  position: absolute;
  border-radius: 9999px;
  background-color: white;
  animation: hc-float linear infinite;
  opacity: 0.1;
}
@keyframes hc-float {
  0%   { transform: translateY(0) translateX(0); opacity: 0.1; }
  25%  { transform: translateY(-20px) translateX(5px); opacity: 0.3; }
  50%  { transform: translateY(-10px) translateX(-5px); opacity: 0.2; }
  75%  { transform: translateY(-30px) translateX(3px); opacity: 0.25; }
  100% { transform: translateY(0) translateX(0); opacity: 0.1; }
}

.hc-hero__content {
  position: relative; z-index: 10;
  max-width: 56rem;
  margin-inline: auto;
  padding-inline: 1.5rem;
  text-align: center;
}

.hc-hero__eyebrow {
  display: flex; align-items: center; justify-content: center; gap: 1rem;
  margin-bottom: 2rem;
  animation: hc-fade-in 1s ease forwards;
}
.hc-hero__eyebrow span {
  font-size: 0.8125rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--muted-fg);
}

.hc-hero__h1 {
  font-family: var(--font-serif);
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: 400;
  color: var(--foreground);
  line-height: 1.1;
  letter-spacing: -0.02em;
  animation: hc-fade-up 1s ease 0.2s both;
}

.hc-hero__sub {
  margin-top: 2rem;
  font-size: clamp(1.0625rem, 2vw, 1.25rem);
  color: var(--muted-fg);
  line-height: 1.75;
  max-width: 40rem;
  margin-inline: auto;
  animation: hc-fade-up 1s ease 0.5s both;
}

.hc-hero__cta-wrap {
  margin-top: 3rem;
  display: flex; justify-content: center;
  animation: hc-fade-up 1s ease 0.7s both;
}

.hc-hero__nudge {
  margin-top: 1rem;
  font-size: 0.875rem;
  color: var(--muted-fg);
}

.hc-scroll-indicator {
  position: absolute; bottom: 3rem; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 0.5rem;
  color: color-mix(in oklch, var(--muted-fg) 60%, transparent);
  animation: hc-fade-in 1s ease 1s both;
}
.hc-scroll-indicator span { font-size: 0.75rem; letter-spacing: 0.2em; text-transform: uppercase; }
.hc-scroll-indicator__line {
  width: 1px; height: 2rem;
  background: linear-gradient(to bottom, color-mix(in oklch, var(--muted-fg) 40%, transparent), transparent);
  animation: hc-pulse 2s ease-in-out infinite;
}

/* hero entry animations */
@keyframes hc-fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes hc-fade-up { from { opacity: 0; transform: translateY(1.5rem); } to { opacity: 1; transform: translateY(0); } }
@keyframes hc-pulse   { 0%, 100% { opacity: 0.4; } 50% { opacity: 1; } }

/* ----------------------------------------------------------
   5b. WHAT YOU CAN EXPECT
   ---------------------------------------------------------- */
/* Full-width band inside About (breaks out of text container in markup) */
.hc-about .hc-expect {
  margin-top: 2.1rem;
  margin-bottom: 2.1rem;
  width: 100%;
  border-radius: 0;
  overflow: hidden;
}

/* Core principles: same soft tint as .hc-expect (see .hc-section--soft) */
.hc-about .hc-about-principles {
  width: 100%;
  margin-bottom: 0;
  border-radius: 0;
  overflow: hidden;
}

/* Background matches “Is this the right fit?” (see .hc-section--soft on this element) */
.hc-expect {
  position: relative;
  overflow: hidden;
}

.hc-expect__inner {
  max-width: 72rem;
  margin-inline: auto;
  padding: 5rem 1.5rem;
}

.hc-about .hc-expect > .hc-expect__inner {
  padding-top: 3.5rem;
}

.hc-expect__label {
  margin-bottom: 1.75rem;
  text-align: center;
}
.hc-expect__label .hc-eyebrow {
  color: var(--primary);
}

.hc-expect__grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .hc-expect__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .hc-expect__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.5rem;
  }
}

.hc-expect-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.25rem;
  padding: 1.75rem 1.5rem;
  border-radius: 1.25rem;
  background-color: color-mix(in oklch, var(--card) 75%, transparent);
  border: 1px solid color-mix(in oklch, var(--primary) 14%, transparent);
  box-shadow: 0 1px 0 color-mix(in oklch, white 40%, transparent);
  transition: border-color 0.35s ease, box-shadow 0.35s ease, transform 0.35s ease;
}

.hc-expect-card:hover {
  border-color: color-mix(in oklch, var(--primary) 28%, transparent);
  box-shadow:
    0 12px 36px color-mix(in oklch, black 8%, transparent),
    0 1px 0 color-mix(in oklch, white 50%, transparent);
  transform: translateY(-2px);
}

.hc-expect-card__num {
  flex-shrink: 0;
  width: 3rem;
  height: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.875rem;
  background-color: color-mix(in oklch, var(--primary) 12%, transparent);
  color: var(--primary);
  font-family: var(--font-serif);
  font-size: 1.375rem;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.03em;
  user-select: none;
}

.hc-expect-card__text {
  margin: 0;
  font-size: clamp(1rem, 1.8vw, 1.1875rem);
  color: var(--foreground);
  font-weight: 400;
  line-height: 1.45;
  letter-spacing: -0.01em;
}

@media (min-width: 768px) {
  .hc-expect__inner { padding: 6rem 1.5rem; }
  .hc-about .hc-expect > .hc-expect__inner { padding-top: 4.2rem; }
  .hc-expect-card { padding: 2rem 1.75rem; }
}

/* After .hc-expect__inner padding — stack expect + principles as one soft band */
.hc-about .hc-expect:has(+ .hc-about-principles) {
  margin-bottom: 0;
}
.hc-about .hc-expect:has(+ .hc-about-principles) .hc-expect__inner {
  padding-bottom: 2.1rem;
}
.hc-about-principles .hc-expect__inner {
  padding-top: 1.4rem;
}
@media (min-width: 768px) {
  .hc-about .hc-expect:has(+ .hc-about-principles) .hc-expect__inner {
    padding-bottom: 2.45rem;
  }
  .hc-about-principles .hc-expect__inner {
    padding-top: 1.75rem;
  }
}

/* Core principles → Meet your Care Philosophy: avoid double “section” vertical rhythm */
.hc-about .hc-about-principles:has(+ .hc-philosophy) .hc-expect__inner {
  padding-bottom: 2.25rem;
}
@media (min-width: 768px) {
  .hc-about .hc-about-principles:has(+ .hc-philosophy) .hc-expect__inner {
    padding-bottom: 2.75rem;
  }
}

.hc-about .hc-philosophy.hc-section {
  padding-top: 2.75rem;
  padding-bottom: 4.5rem;
}
@media (min-width: 768px) {
  .hc-about .hc-philosophy.hc-section {
    padding-top: 3.25rem;
    padding-bottom: 5.5rem;
  }
}

/* ----------------------------------------------------------
   6. CARE QUALITIES
   ---------------------------------------------------------- */
.hc-care-qualities > * { position: relative; z-index: 1; }

.hc-qualities__grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
}
@media (min-width: 768px)  { .hc-qualities__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .hc-qualities__grid { grid-template-columns: repeat(4, 1fr); } }

/* 3-card variant — centered */
.hc-qualities__grid--3 {
  max-width: 56rem;
  margin-inline: auto;
}
@media (min-width: 768px)  { .hc-qualities__grid--3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .hc-qualities__grid--3 { grid-template-columns: repeat(3, 1fr); } }

.hc-quality-card {
  position: relative;
  padding: 2rem;
  border-radius: 1.5rem;
  background-color: color-mix(in oklch, var(--card) 50%, transparent);
  backdrop-filter: blur(4px);
  border: 1px solid color-mix(in oklch, var(--border) 30%, transparent);
  transition: border-color 0.4s, box-shadow 0.4s;
  height: 100%;
}
.hc-quality-card:hover {
  border-color: color-mix(in oklch, var(--primary) 20%, transparent);
  box-shadow: 0 8px 32px color-mix(in oklch, black 10%, transparent);
}

.hc-quality-card__icon-wrap {
  width: 3.5rem; height: 3.5rem;
  border-radius: 0.875rem;
  background-color: color-mix(in oklch, var(--primary) 10%, transparent);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.5rem;
  color: var(--primary);
  transition: transform 0.4s;
}
.hc-quality-card:hover .hc-quality-card__icon-wrap { transform: scale(1.1); }

.hc-quality-card h3 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--foreground);
  margin-bottom: 0.75rem;
}
.hc-quality-card p { color: var(--muted-fg); line-height: 1.7; }

/* ----------------------------------------------------------
   7. ABOUT
   ---------------------------------------------------------- */
.hc-about__cols {
  display: grid; gap: 4rem;
  margin-bottom: 4.2rem;
}
@media (min-width: 768px) {
  .hc-about__cols {
    grid-template-columns: 1fr 1fr;
    align-items: center; /* keep both columns vertically aligned without stretching */
  }
}

.hc-about__col--portrait {
  display: flex;
  align-items: center; /* center the card relative to the text column */
  justify-content: center;
}

.hc-about__col--portrait .hc-philosophy__portrait-card {
  max-width: 26rem;
  width: 100%;
}

/* Single centered column: readable measure + centered text (override 2-col grid) */
.hc-about__cols--center {
  grid-template-columns: 1fr;
  justify-items: center;
  gap: 0;
  margin-inline: auto;
  width: 100%;
  max-width: 40rem;
}
.hc-about__col--centered {
  width: 100%;
  text-align: center;
  text-wrap: balance;
}
@media (min-width: 768px) {
  .hc-about__cols--center {
    grid-template-columns: 1fr;
    max-width: 42rem;
  }
}

.hc-about__col p {
  font-size: calc(1.0625rem + 2px);
  color: var(--muted-fg);
  line-height: 1.8;
}
.hc-about__col p + p { margin-top: 1.5rem; }

.hc-about__values-wrap {
  margin-top: 2rem;
}
.hc-about__values-heading {
  text-align: center;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 2rem;
  font-family: var(--font-sans);
}

.hc-about__values {
  display: grid; gap: 2rem;
  grid-template-columns: 1fr;
}
@media (min-width: 768px) { .hc-about__values { grid-template-columns: repeat(3, 1fr); } }

.hc-value-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 2rem 1.5rem;
  border-radius: 1.5rem;
  background-color: color-mix(in oklch, var(--secondary) 30%, transparent);
  border: 1px solid color-mix(in oklch, var(--primary) 10%, transparent);
  transition: background-color 0.4s, border-color 0.4s, box-shadow 0.4s;
}
.hc-value-card:hover {
  background-color: color-mix(in oklch, var(--secondary) 50%, transparent);
  border-color: color-mix(in oklch, var(--primary) 18%, transparent);
  box-shadow: 0 8px 28px color-mix(in oklch, black 6%, transparent);
}

.hc-value-card__icon {
  flex-shrink: 0;
  width: 3rem;
  height: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  border-radius: 0.875rem;
  background-color: color-mix(in oklch, var(--primary) 12%, transparent);
  color: var(--primary);
  line-height: 0;
}

.hc-value-card__icon svg {
  display: block;
  width: 1.5rem;
  height: 1.5rem;
}

.hc-value-card__title {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  font-weight: 400;
  color: var(--foreground);
  margin-bottom: 0.75rem;
}
.hc-value-card p:last-child { color: var(--muted-fg); }

/* ----------------------------------------------------------
   8. PHILOSOPHY
   ---------------------------------------------------------- */
.hc-philosophy__grid {
  display: grid; gap: 3rem;
  align-items: center;
}
@media (min-width: 1024px) { .hc-philosophy__grid { grid-template-columns: 1fr 1fr; gap: 4rem; } }

.hc-philosophy__content h2,
.hc-philosophy__h2 { margin-top: 0; }

.hc-philosophy__body {
  margin-top: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.hc-philosophy__body p { color: var(--muted-fg); line-height: 1.8; }

.hc-philosophy__aside {
  display: flex;
  justify-content: center;
}
@media (min-width: 1024px) {
  .hc-philosophy__aside {
    justify-content: flex-end;
    align-items: start;
  }
}

.hc-philosophy__portrait-card {
  width: 100%;
  max-width: 22rem;
  padding: 0;
  overflow: hidden;
  border-radius: 2rem;
  background-color: #ffffff;
  border: none;
  text-align: center;
  box-shadow:
    0 1px 2px rgb(0 0 0 / 0.04),
    0 12px 40px rgb(0 0 0 / 0.06);
}

.hc-philosophy__photo-wrap {
  width: 100%;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background-color: #f4f3ef;
}

.hc-philosophy__photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
  display: block;
}

.hc-philosophy__portrait-meta {
  padding: 1.75rem 1.5rem 2.25rem;
}

.hc-philosophy__name {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--foreground);
  margin: 0;
  letter-spacing: -0.02em;
}

.hc-philosophy__credentials {
  margin: 0.5rem 0 0;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted-fg);
}

.hc-philosophy .hc-trust-item__icon {
  border-radius: 9999px;
}

.hc-trust-indicators {
  margin-top: 2.5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.hc-trust-item {
  display: flex; align-items: center; gap: 0.75rem;
}
.hc-trust-item__icon {
  flex-shrink: 0;
  width: 2.5rem; height: 2.5rem;
  border-radius: 0.75rem;
  background-color: color-mix(in oklch, var(--primary) 10%, transparent);
  display: flex; align-items: center; justify-content: center;
  color: var(--primary);
}
.hc-trust-item__icon .hc-icon { width: 1.25rem; height: 1.25rem; }
.hc-trust-item span { font-size: 0.875rem; color: var(--foreground); }

/* Portrait */
.hc-portrait-frame { position: relative; }
.hc-portrait-deco {
  position: absolute; inset: -1rem;
  border-radius: 1.5rem;
  background: linear-gradient(135deg, color-mix(in oklch, var(--primary) 10%, transparent), transparent);
  z-index: 0;
}
.hc-portrait-card {
  position: relative;
  aspect-ratio: 4/5;
  border-radius: 1rem;
  overflow: hidden;
  background: linear-gradient(135deg, var(--secondary), color-mix(in oklch, var(--secondary) 50%, transparent));
  z-index: 1;
}

/* Photo variant */
.hc-portrait-card--photo { background: none; }

.hc-portrait-photo {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.hc-portrait-caption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 1.5rem;
  background: linear-gradient(to top,
    color-mix(in oklch, var(--background) 85%, transparent) 0%,
    transparent 100%);
  text-align: center;
  z-index: 2;
}
.hc-portrait-name {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--foreground);
}
.hc-portrait-title {
  margin-top: 0.25rem;
  font-size: 0.875rem;
  color: var(--muted-fg);
}
.hc-portrait-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(to top,
    color-mix(in oklch, var(--background) 10%, transparent) 0%,
    transparent 60%);
}

/* ----------------------------------------------------------
   9. SERVICES
   ---------------------------------------------------------- */
.hc-services__grid {
  display: grid; gap: 2rem;
  grid-template-columns: 1fr;
}
@media (min-width: 768px) { .hc-services__grid { grid-template-columns: 1fr 1fr; } }

/* Last card alone on row: centered in the grid; content centered in card */
.hc-services__grid .hc-service-card--centered {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.hc-services__grid .hc-service-card--centered .hc-service-card__lead {
  align-items: center;
}
.hc-services__grid .hc-service-card--centered .hc-service-card__lead .hc-service-card__icon-wrap {
  margin-inline: auto;
}
.hc-services__grid .hc-service-card--centered .hc-service-card__lead h3 {
  text-align: center;
}
@media (min-width: 768px) {
  .hc-services__grid .hc-service-card--centered {
    grid-column: 1 / -1;
    justify-self: center;
    width: 100%;
    max-width: calc(50% - 0.5rem);
  }
}

.hc-service-card {
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 2.5rem;
  border-radius: 1.5rem;
  background-color: color-mix(in oklch, var(--card) 60%, transparent);
  backdrop-filter: blur(8px);
  border: 1px solid color-mix(in oklch, var(--border) 30%, transparent);
  transition: border-color 0.4s, box-shadow 0.4s, transform 0.4s;
}
.hc-service-card:hover {
  border-color: color-mix(in oklch, var(--primary) 20%, transparent);
  box-shadow: 0 12px 40px color-mix(in oklch, black 14%, transparent);
  transform: translateY(-2px);
}

/* Icon + title: explicit gap so heading clears the icon block */
.hc-service-card__lead {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
  width: 100%;
  margin-bottom: 0.75rem;
}

.hc-service-card__icon-wrap {
  width: 3.5rem;
  height: 3.5rem;
  flex-shrink: 0;
  border-radius: 0.875rem;
  background-color: color-mix(in oklch, var(--primary) 10%, transparent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  line-height: 0;
  color: var(--primary);
  transition: transform 0.4s;
}

.hc-service-card__icon-wrap .hc-icon {
  display: block;
  width: 1.75rem;
  height: 1.75rem;
  flex-shrink: 0;
}

.hc-service-card:hover .hc-service-card__icon-wrap { transform: scale(1.1); }

.hc-service-card__lead h3 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 1.25;
  color: var(--foreground);
  margin: 0;
  padding: 0;
  width: 100%;
}

.hc-service-card p {
  margin: 0;
  color: var(--muted-fg);
  line-height: 1.65;
}

/* ----------------------------------------------------------
   10. REFLECTIVE QUOTE
   ---------------------------------------------------------- */
.hc-quote {
  position: relative;
  min-height: 70vh;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}

.hc-quote__bg {
  position: absolute; inset: 0; z-index: 0;
  will-change: transform;
}
.hc-quote__img { width: 100%; height: 110%; object-fit: cover; transform: scale(1.1); }

.hc-quote__overlay-dark,
.hc-quote__overlay-grad {
  position: absolute; inset: 0; pointer-events: none;
}
.hc-quote__overlay-dark { z-index: 1; background-color: color-mix(in oklch, var(--foreground) 40%, transparent); }
.hc-quote__overlay-grad { z-index: 1;
  background: linear-gradient(to bottom,
    color-mix(in oklch, var(--background) 30%, transparent),
    transparent,
    color-mix(in oklch, var(--background) 30%, transparent));
}

.hc-quote__content {
  position: relative; z-index: 10;
  max-width: 56rem;
  margin-inline: auto;
  padding-inline: 1.5rem;
  text-align: center;
}

.hc-quote__mark {
  font-family: var(--font-serif);
  font-size: 6rem;
  line-height: 1;
  color: color-mix(in srgb, white 20%, transparent);
  margin-bottom: 2rem;
}

.hc-quote__content blockquote {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 4vw, 3.25rem);
  color: white;
  line-height: 1.3;
  letter-spacing: -0.01em;
  font-style: normal;
}

.hc-quote__rule {
  margin-top: 3rem;
  display: flex; align-items: center; justify-content: center; gap: 1rem;
}
.hc-quote__rule span {
  font-size: 0.8125rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: color-mix(in srgb, white 60%, transparent);
}

/* ----------------------------------------------------------
   11. FOR PATIENTS
   ---------------------------------------------------------- */
.hc-fp__grid {
  display: grid; gap: 2rem;
}
@media (min-width: 768px) { .hc-fp__grid { grid-template-columns: 1fr 1fr; } }

.hc-fp-card {
  padding: 2.5rem;
  border-radius: 1.5rem;
  background-color: color-mix(in oklch, var(--card) 60%, transparent);
  backdrop-filter: blur(8px);
  border: 1px solid color-mix(in oklch, var(--border) 30%, transparent);
  transition: border-color 0.4s, box-shadow 0.4s;
}
.hc-fp-card:hover {
  border-color: color-mix(in oklch, var(--primary) 20%, transparent);
  box-shadow: 0 12px 40px color-mix(in oklch, black 14%, transparent);
}

.hc-fp-card__title {
  font-family: var(--font-serif);
  font-size: 1.5rem; font-weight: 400;
  color: var(--foreground);
  margin-bottom: 1.5rem;
}

.hc-check-list {
  list-style: none;
  display: flex; flex-direction: column; gap: 1rem;
}
.hc-check-list li {
  display: flex; align-items: flex-start; gap: 0.75rem;
}
.hc-check {
  flex-shrink: 0;
  width: 1.5rem; height: 1.5rem;
  border-radius: 9999px;
  background-color: color-mix(in oklch, var(--primary) 10%, transparent);
  display: flex; align-items: center; justify-content: center;
  margin-top: 0.125rem;
  color: var(--primary);
}
.hc-check svg { width: 0.875rem; height: 0.875rem; }
.hc-check-list span { color: var(--muted-fg); line-height: 1.6; }

/* ----------------------------------------------------------
   12. PROCESS
   ---------------------------------------------------------- */
.hc-process__grid {
  display: grid; gap: 3rem;
  grid-template-columns: 1fr;
}
@media (min-width: 768px) { .hc-process__grid { grid-template-columns: repeat(3, 1fr); } }

.hc-process-step {
  position: relative;
  text-align: center;
}
@media (min-width: 768px) { .hc-process-step { text-align: left; } }

.hc-process-step__connector {
  display: none;
}
@media (min-width: 768px) {
  .hc-process-step__connector {
    display: block;
    position: absolute;
    top: 3rem; left: 100%;
    width: 100%; height: 1px;
    pointer-events: none; z-index: 0;
  }
}
.hc-connector-line {
  height: 100%;
  background: linear-gradient(to right,
    color-mix(in oklch, var(--primary) 30%, transparent),
    transparent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1s ease;
}
[data-scroll-reveal].is-visible .hc-connector-line { transform: scaleX(1); transition-delay: 0.8s; }

.hc-process-step__num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 6rem; height: 6rem;
  border-radius: 9999px;
  background-color: color-mix(in oklch, var(--primary) 5%, transparent);
  margin-bottom: 1.5rem;
  font-family: var(--font-serif);
  font-size: 2.5rem;
  color: color-mix(in oklch, var(--primary) 40%, transparent);
}
.hc-process-step h3 {
  font-family: var(--font-serif);
  font-size: 1.5rem; font-weight: 400;
  color: var(--foreground);
  margin-bottom: 1rem;
}
.hc-process-step p { color: var(--muted-fg); line-height: 1.75; }

/* ----------------------------------------------------------
   13. CONTACT
   ---------------------------------------------------------- */
.hc-contact__form-wrap {
  padding: 2rem;
  border-radius: 1.5rem;
  background-color: color-mix(in oklch, var(--card) 60%, transparent);
  backdrop-filter: blur(8px);
  border: 1px solid color-mix(in oklch, var(--border) 30%, transparent);
  box-shadow: 0 8px 40px color-mix(in oklch, black 10%, transparent);
}
@media (min-width: 768px) { .hc-contact__form-wrap { padding: 3rem; } }

.hc-form { display: flex; flex-direction: column; gap: 1.5rem; }

.hc-form__field { display: flex; flex-direction: column; gap: 0.75rem; }
.hc-form__field label { font-size: 0.9375rem; font-weight: 500; color: var(--foreground); }
.hc-form__field label span { font-weight: 400; color: var(--muted-fg); }

.hc-form__field input,
.hc-form__field textarea {
  width: 100%;
  padding: 1rem 1.25rem;
  border-radius: 1rem;
  border: 1px solid color-mix(in oklch, var(--border) 50%, transparent);
  background-color: color-mix(in oklch, var(--background) 80%, transparent);
  color: var(--foreground);
  font-size: 1rem;
  font-family: var(--font-sans);
  outline: none;
  transition: border-color 0.3s, box-shadow 0.3s;
  resize: none;
}
.hc-form__field input::placeholder,
.hc-form__field textarea::placeholder { color: color-mix(in oklch, var(--muted-fg) 60%, transparent); }
.hc-form__field input:focus,
.hc-form__field textarea:focus {
  border-color: color-mix(in oklch, var(--primary) 30%, transparent);
  box-shadow: 0 0 0 3px color-mix(in oklch, var(--primary) 15%, transparent);
}

.hc-form__row {
  display: grid; gap: 1.5rem;
  grid-template-columns: 1fr;
}
@media (min-width: 768px) { .hc-form__row { grid-template-columns: 1fr 1fr; } }

.hc-form__footer { margin-top: 2rem; }
.hc-form__footer p { margin-top: 1.5rem; font-size: 0.875rem; color: var(--muted-fg); }

/* Tighten gap between Contact and Fees */
.hc-contact { padding-bottom: 4rem !important; }
.hc-fees        { padding-top: 4rem !important; }
@media (min-width: 768px) {
  .hc-contact { padding-bottom: 5rem !important; }
  .hc-fees        { padding-top: 5rem !important; }
}

/* ----------------------------------------------------------
   13b. FEES & INSURANCE
   ---------------------------------------------------------- */
.hc-fees {
  position: relative;
  background-color: var(--background);
  overflow: hidden;
}
.hc-fees > * { position: relative; z-index: 1; }

.hc-fees__inner {
  max-width: 40rem;
  margin-inline: auto;
  text-align: center;
}

.hc-fees__heading {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 3.5vw, 2.25rem);
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--foreground);
  margin-bottom: 2rem;
  line-height: 1.25;
}

.hc-fees__lead {
  font-size: 1.125rem;
  color: var(--foreground);
  margin-bottom: 1rem;
  line-height: 1.6;
}

.hc-fees__sub {
  font-size: 1rem;
  color: var(--muted-fg);
  margin-bottom: 2rem;
  line-height: 1.7;
}

.hc-fees__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.625rem;
  text-align: left;
  max-width: 26rem;
  margin-inline: auto;
}

.hc-fees__list li {
  position: relative;
  padding: 0.65rem 1rem 0.65rem 2.25rem;
  border-radius: 0.75rem;
  background-color: color-mix(in oklch, var(--secondary) 35%, transparent);
  border: 1px solid color-mix(in oklch, var(--border) 40%, transparent);
  font-size: 0.9375rem;
  color: var(--foreground);
  line-height: 1.45;
}

.hc-fees__list li::before {
  content: '';
  position: absolute;
  left: 0.9rem;
  top: 50%;
  transform: translateY(-50%);
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 9999px;
  background-color: var(--primary);
}

@media (min-width: 640px) {
  .hc-fees__list {
    grid-template-columns: 1fr 1fr;
    max-width: 40rem;
    gap: 0.75rem 1rem;
  }
}

/* ----------------------------------------------------------
   14. FOOTER
   ---------------------------------------------------------- */
.hc-footer {
  padding-block: clamp(3.25rem, 7vw, 5.5rem);
  background: linear-gradient(
    165deg,
    color-mix(in oklch, var(--primary) 7%, var(--background)) 0%,
    color-mix(in oklch, var(--secondary) 34%, transparent) 42%,
    color-mix(in oklch, var(--secondary) 28%, transparent) 100%
  );
  border-top: 1px solid color-mix(in oklch, var(--primary) 12%, transparent);
}

.hc-footer__inner {
  max-width: 64rem;
  margin-inline: auto;
  padding-inline: 1.5rem;
}

.hc-footer__grid {
  display: grid;
  gap: 2.5rem;
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .hc-footer__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    column-gap: 3rem;
    row-gap: 2.5rem;
    align-items: start;
    justify-items: start;
    text-align: left;
  }

  .hc-footer__grid > div {
    width: 100%;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }

  .hc-footer__grid nav {
    align-items: flex-start;
  }
}

.hc-footer__brand {
  padding-bottom: 0.25rem;
  border-bottom: 1px solid color-mix(in oklch, var(--primary) 18%, transparent);
  margin-bottom: 0.25rem;
  align-self: stretch;
  max-width: 18rem;
}

.hc-footer__logo {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 2.8vw, 2.125rem);
  font-weight: 500;
  color: var(--foreground);
  letter-spacing: -0.03em;
  line-height: 1.15;
  display: inline-block;
  margin-bottom: 0.75rem;
  transition: color 0.25s ease;
}

.hc-footer__logo:hover {
  color: color-mix(in oklch, var(--primary) 88%, var(--foreground));
}

.hc-footer__tagline {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: color-mix(in oklch, var(--primary) 65%, var(--muted-fg));
  line-height: 1.5;
  margin: 0;
}

.hc-footer__heading {
  font-family: var(--font-sans);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 1.125rem;
}

.hc-footer__grid > div > p:not(.hc-footer__heading):not(.hc-footer__name):not(.hc-footer__tagline) {
  color: var(--muted-fg);
  line-height: 1.65;
  font-size: 0.9375rem;
}

.hc-footer__name {
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--foreground);
  line-height: 1.45;
  margin-bottom: 0.35rem;
}

.hc-footer__grid nav {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.hc-footer__grid nav a {
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: -0.015em;
  color: color-mix(in oklch, var(--foreground) 72%, var(--muted-fg));
  transition: color 0.2s ease, transform 0.2s ease;
  width: fit-content;
}

.hc-footer__grid nav a:hover {
  color: var(--primary);
  transform: translateX(3px);
}

.hc-footer__email {
  color: var(--foreground) !important;
  font-weight: 500;
  text-decoration: none;
  border-bottom: 1px solid color-mix(in oklch, var(--primary) 35%, transparent);
  padding-bottom: 0.1em;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.hc-footer__email:hover {
  color: var(--primary) !important;
  border-bottom-color: color-mix(in oklch, var(--primary) 55%, transparent);
}

.hc-footer__bottom {
  margin-top: clamp(2.75rem, 5vw, 3.75rem);
  padding-top: 1.75rem;
  border-top: 1px solid color-mix(in oklch, var(--primary) 14%, transparent);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
}

@media (min-width: 768px) {
  .hc-footer__bottom {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

.hc-footer__bottom p {
  font-size: 0.8125rem;
  letter-spacing: 0.02em;
  color: color-mix(in oklch, var(--muted-fg) 92%, var(--foreground));
}

.hc-footer__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.25rem 2rem;
}

.hc-footer__links a {
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: color-mix(in oklch, var(--muted-fg) 90%, var(--foreground));
  transition: color 0.2s ease;
}

.hc-footer__links a:hover {
  color: var(--primary);
}

/* ----------------------------------------------------------
   15. SCROLL-REVEAL DELAYS  (data-delay attr driven by JS)
   ---------------------------------------------------------- */
/* delays are applied inline by scroll-reveal.js */
