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

:root {
  --bg: #faf8f3;
  --bg-2: #f3efe6;
  --bg-3: #ebe6d9;
  --blue: #3b6fb6;
  --blue-hover: #325f9e;
  --blue-dark: #24487a;
  --blue-soft: rgba(59, 111, 182, 0.08);
  --blue-glow: rgba(59, 111, 182, 0.28);
  --blue-pale: #e8f0fa;
  --sage: #6b8e7f;
  --sage-soft: rgba(107, 142, 127, 0.12);
  --text: #1c2b3a;
  --text-soft: #2e3f52;
  --text-muted: #6a7a89;
  --text-dim: #9ba8b4;
  --border: rgba(28, 43, 58, 0.1);
  --border-strong: rgba(28, 43, 58, 0.18);
  --star: #f5b440;
  --font-display: "Sora", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --radius: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.65;
  overflow-x: hidden;
  cursor: none;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

button {
  font-family: inherit;
  cursor: none;
  border: none;
  background: none;
  color: inherit;
}

select {
  font-family: inherit;
  cursor: none;
  -webkit-appearance: none;
  appearance: none;
}

::selection { background: var(--blue); color: var(--bg); }

::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--blue-pale); border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: var(--blue); }

/* ============================================
   GRAIN
============================================ */
.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9998;
  opacity: 0.25;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.06 0 0 0 0 0.11 0 0 0 0 0.18 0 0 0 0.06 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}

/* ============================================
   PROGRESS BAR
============================================ */
.progress-bar {
  position: fixed;
  top: 0; left: 0;
  height: 3px; width: 0%;
  background: linear-gradient(90deg, var(--blue), #4d82c9);
  z-index: 10002;
  transition: width 0.1s linear;
}

/* ============================================
   CURSOR
============================================ */
.cursor {
  position: fixed;
  top: 0; left: 0;
  width: 36px; height: 36px;
  border: 1.5px solid var(--blue);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: width 0.3s var(--ease), height 0.3s var(--ease),
              background 0.3s var(--ease), border-color 0.3s var(--ease);
  mix-blend-mode: difference;
}

.cursor-dot {
  position: fixed;
  top: 0; left: 0;
  width: 4px; height: 4px;
  background: var(--blue);
  border-radius: 50%;
  pointer-events: none;
  z-index: 10000;
  transform: translate(-50%, -50%);
}

.cursor.hover {
  width: 72px;
  height: 72px;
  background: var(--blue-soft);
  border-color: var(--blue);
}

@media (max-width: 900px) {
  body, button, select { cursor: auto; }
  .cursor, .cursor-dot { display: none; }
}

/* ============================================
   PRELOADER
============================================ */
.preloader {
  position: fixed;
  inset: 0;
  background: var(--bg);
  z-index: 10001;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.9s var(--ease), visibility 0.9s var(--ease);
}
.preloader.hide { opacity: 0; visibility: hidden; }

.preloader-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.preloader-mark {
  color: var(--blue);
  animation: markPulse 1.8s var(--ease) infinite;
}

@keyframes markPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(0.92); opacity: 0.7; }
}

.preloader-text {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2.5vw, 1.6rem);
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--text);
  animation: fadeIn 1s var(--ease) 0.3s both;
}

.preloader-sub {
  font-size: 0.72rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 600;
  opacity: 0;
  animation: fadeIn 1s var(--ease) 0.7s forwards;
}

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes fadeUp { to { opacity: 1; transform: translateY(0); } }
@keyframes lineUp { to { transform: translateY(0); } }
@keyframes lineGrow { to { transform: scaleX(1); } }

/* ============================================
   HEADER
============================================ */
.header {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  z-index: 100;
  padding: 1.5rem 3rem;
  transition: all 0.5s var(--ease);
}

.header.scrolled {
  padding: 1rem 3rem;
  background: rgba(250, 248, 243, 0.88);
  backdrop-filter: blur(20px) saturate(150%);
  -webkit-backdrop-filter: blur(20px) saturate(150%);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1500px;
  margin: 0 auto;
  gap: 2rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--blue);
}

.logo-text {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--text);
}
.logo-accent { color: var(--blue); }

.nav { display: flex; gap: 2rem; }

.nav-link {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-soft);
  position: relative;
  transition: color 0.3s var(--ease);
}
.nav-link::after {
  content: "";
  position: absolute;
  bottom: -6px; left: 0;
  width: 0; height: 2px;
  background: var(--blue);
  border-radius: 2px;
  transition: width 0.4s var(--ease);
}
.nav-link:hover { color: var(--blue); }
.nav-link:hover::after { width: 100%; }
.nav-link.active { color: var(--blue); }
.nav-link.active::after { width: 100%; }

.header-actions { display: flex; align-items: center; gap: 1.2rem; }

.portal-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-soft);
  transition: color 0.3s var(--ease);
  padding-right: 1.2rem;
  border-right: 1px solid var(--border);
}
.portal-link svg { color: var(--blue); }
.portal-link:hover { color: var(--blue); }

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  width: 28px;
}
.menu-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.4s var(--ease), opacity 0.3s var(--ease);
}
.menu-toggle.active span:nth-child(1) { transform: translateY(4px) rotate(45deg); }
.menu-toggle.active span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }

@media (max-width: 1100px) {
  .portal-link span { display: none; }
  .portal-link { padding-right: 0; border-right: none; }
}

@media (max-width: 900px) {
  .header { padding: 1.1rem 1.5rem; }
  .header.scrolled { padding: 0.9rem 1.5rem; }
  .header-actions .btn { display: none; }
  .menu-toggle { display: flex; z-index: 110; }
  .nav {
    position: fixed;
    inset: 0;
    background: var(--bg);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    transform: translateX(100%);
    transition: transform 0.6s var(--ease);
    z-index: 105;
  }
  .nav.open { transform: translateX(0); }
  .nav-link {
    font-size: 1.5rem;
    font-family: var(--font-display);
    font-weight: 600;
    color: var(--text);
  }
}

/* ============================================
   BUTTONS
============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.9rem 1.7rem;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: -0.005em;
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  transition: all 0.4s var(--ease);
  border: 1.5px solid transparent;
  background: transparent;
  white-space: nowrap;
}

.btn-sm { padding: 0.7rem 1.3rem; font-size: 0.8rem; }
.btn-lg { padding: 1.05rem 1.9rem; font-size: 0.9rem; }

.btn-primary {
  background: var(--blue);
  color: var(--bg);
  border-color: var(--blue);
}
.btn-primary:hover {
  background: var(--blue-hover);
  border-color: var(--blue-hover);
  transform: translateY(-2px);
  box-shadow: 0 15px 35px -10px var(--blue-glow);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border-strong);
}
.btn-ghost:hover {
  background: var(--blue-pale);
  border-color: var(--blue);
  color: var(--blue);
}

.btn svg { transition: transform 0.4s var(--ease); }
.btn:hover svg { transform: translateX(4px); }

/* ============================================
   HERO
============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 9rem 3rem 5rem;
  overflow: hidden;
}

.hero-bg-shape {
  position: absolute;
  top: 0;
  right: 0;
  width: 55%;
  height: 100%;
  background: linear-gradient(160deg, var(--blue-pale) 0%, transparent 70%);
  clip-path: polygon(30% 0, 100% 0, 100% 100%, 0% 100%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 1500px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 5rem;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.5rem 1rem 0.5rem 0.8rem;
  background: var(--blue-pale);
  border: 1px solid rgba(59, 111, 182, 0.2);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--blue-dark);
  margin-bottom: 2rem;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.9s var(--ease) 0.8s forwards;
}

.badge-pulse {
  width: 8px;
  height: 8px;
  background: var(--blue);
  border-radius: 50%;
  box-shadow: 0 0 0 0 var(--blue-glow);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 var(--blue-glow); }
  50% { box-shadow: 0 0 0 8px transparent; }
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5.8vw, 5rem);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -0.035em;
  color: var(--text);
  margin-bottom: 1.8rem;
}

.hero-title .accent {
  color: var(--blue);
  position: relative;
  display: inline-block;
}
.hero-title .accent::after {
  content: "";
  position: absolute;
  bottom: 0.08em;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--blue);
  border-radius: 2px;
  opacity: 0.35;
  transform: scaleX(0);
  transform-origin: left;
  animation: lineGrow 1s var(--ease) 1.6s forwards;
}

.hero-sub {
  font-size: 1.1rem;
  line-height: 1.65;
  color: var(--text-muted);
  max-width: 500px;
  margin-bottom: 2.5rem;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 1s var(--ease) 1.1s forwards;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 3.5rem;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 1s var(--ease) 1.3s forwards;
}

.hero-metrics {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: center;
  gap: 2rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--border);
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 1s var(--ease) 1.5s forwards;
}

.metric { display: flex; flex-direction: column; gap: 0.3rem; }

.metric-num {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  font-weight: 700;
  color: var(--blue);
  line-height: 1;
  letter-spacing: -0.02em;
}

.metric-lbl {
  font-size: 0.72rem;
  line-height: 1.35;
  color: var(--text-muted);
  font-weight: 500;
}

.metric-divider {
  width: 1px;
  height: 40px;
  background: var(--border);
}

/* Hero visual */
.hero-visual {
  position: relative;
  opacity: 0;
  transform: translateY(40px);
  animation: fadeUp 1.2s var(--ease) 1.2s forwards;
}

.hero-image-main {
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  box-shadow: 0 40px 80px -30px rgba(28, 43, 58, 0.3);
}
.hero-image-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.9rem 1.2rem;
  background: var(--bg);
  border-radius: var(--radius);
  box-shadow: 0 20px 50px -15px rgba(28, 43, 58, 0.25);
  animation: floatCard 4s ease-in-out infinite;
  z-index: 3;
}

.hero-card-1 { top: 10%; left: -6%; animation-delay: 0s; }
.hero-card-2 { bottom: 10%; right: -6%; animation-delay: 2s; }

@keyframes floatCard {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.card-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.card-icon-blue { background: var(--blue); color: var(--bg); }
.card-icon-sage { background: var(--sage); color: var(--bg); }

.card-content {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}
.card-label {
  font-size: 0.7rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-dim);
  font-weight: 600;
  margin-bottom: 0.15rem;
}
.card-content strong {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text);
  font-family: var(--font-display);
}

@media (max-width: 1000px) {
  .hero-card-1 { left: 0; }
  .hero-card-2 { right: 0; }
}

@media (max-width: 900px) {
  .hero { padding: 7rem 1.5rem 4rem; min-height: auto; }
  .hero-inner { grid-template-columns: 1fr; gap: 3rem; }
  .hero-visual { max-width: 400px; margin: 0 auto; width: 100%; }
  .hero-metrics {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .metric-divider { display: none; }
  .hero-bg-shape { display: none; }
}

/* ============================================
   TRUST BAR
============================================ */
.trust {
  background: var(--bg-2);
  padding: 1.8rem 3rem;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.trust-inner {
  max-width: 1500px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  text-align: center;
}

.trust-label {
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 600;
}

.trust-list {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--text-soft);
  opacity: 0.8;
}
.trust-dot { color: var(--blue); }

@media (max-width: 700px) {
  .trust { padding: 1.5rem; }
  .trust-inner { gap: 1rem; }
  .trust-list { font-size: 0.88rem; gap: 0.5rem; }
}

/* ============================================
   SECTION SHARED
============================================ */
section { padding: 7rem 3rem; position: relative; }

.section-head {
  max-width: 1400px;
  margin: 0 auto 4rem;
  text-align: center;
}
.section-head-left {
  text-align: left;
  margin-bottom: 3rem;
}

.section-meta {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 1.2rem;
  padding: 0.4rem 1rem;
  background: var(--blue-pale);
  border-radius: 999px;
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 700;
}

.section-num {
  color: var(--blue);
  padding-right: 0.7rem;
  border-right: 1px solid rgba(59, 111, 182, 0.25);
}
.section-label { color: var(--blue-dark); }

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.4vw, 3.4rem);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--text);
  margin-bottom: 1rem;
}

.section-sub {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 520px;
  margin: 0 auto;
}

@media (max-width: 900px) {
  section { padding: 5rem 1.5rem; }
}

/* ============================================
   SPECIALTIES
============================================ */
.specialties { background: var(--bg); }

.specialties-grid {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.specialty-card {
  padding: 2.2rem 1.8rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: all 0.4s var(--ease);
  position: relative;
  overflow: hidden;
  cursor: none;
}

.specialty-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, var(--blue-pale) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.4s var(--ease);
}

.specialty-card:hover {
  border-color: var(--blue);
  transform: translateY(-6px);
  box-shadow: 0 30px 60px -20px var(--blue-glow);
}
.specialty-card:hover::before { opacity: 1; }
.specialty-card > * { position: relative; z-index: 1; }

.specialty-icon {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: var(--blue-pale);
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  transition: all 0.4s var(--ease);
}
.specialty-card:hover .specialty-icon {
  background: var(--blue);
  color: var(--bg);
  transform: rotate(-6deg) scale(1.05);
}

.specialty-card h3 {
  font-family: var(--font-display);
  font-size: 1.22rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.7rem;
  letter-spacing: -0.015em;
}

.specialty-card p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.specialty-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--blue);
  transition: gap 0.4s var(--ease);
}
.specialty-card:hover .specialty-link { gap: 0.8rem; }
.specialty-link svg { transition: transform 0.4s var(--ease); }

@media (max-width: 900px) {
  .specialties-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .specialties-grid { grid-template-columns: 1fr; }
}

/* ============================================
   PROVIDERS
============================================ */
.providers {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.providers-grid {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.8rem;
}

.provider-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg);
  transition: all 0.4s var(--ease);
  border: 1px solid var(--border);
}
.provider-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 60px -20px rgba(28, 43, 58, 0.2);
  border-color: var(--blue);
}

.provider-image {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--blue-pale);
}
.provider-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease);
}
.provider-card:hover .provider-image img { transform: scale(1.06); }

.provider-info { padding: 1.5rem 1.4rem 1.8rem; }

.provider-info h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.4rem;
  letter-spacing: -0.01em;
}

.provider-role {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue);
  background: var(--blue-pale);
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  margin-bottom: 1rem;
}

.provider-info p {
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--text-muted);
}

.providers-footer {
  max-width: 1400px;
  margin: 3.5rem auto 0;
  text-align: center;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--blue);
  padding-bottom: 0.4rem;
  border-bottom: 1px solid var(--blue);
  transition: gap 0.4s var(--ease);
}
.link-arrow:hover { gap: 1.1rem; }

@media (max-width: 1000px) {
  .providers-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 550px) {
  .providers-grid { grid-template-columns: 1fr; }
}

/* ============================================
   PATIENTS
============================================ */
.patients { background: var(--bg); }

.patients-inner { max-width: 1400px; margin: 0 auto; }

.patients-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  position: relative;
}

.patient-step {
  padding: 2rem 1.6rem;
  background: var(--bg-2);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  transition: all 0.4s var(--ease);
  position: relative;
}
.patient-step:hover {
  border-color: var(--blue);
  background: var(--bg);
  transform: translateY(-4px);
  box-shadow: 0 20px 40px -15px var(--blue-glow);
}

.step-num {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--blue);
  padding: 0.35rem 0.8rem;
  background: var(--blue-pale);
  border-radius: 999px;
  margin-bottom: 1.2rem;
}

.patient-step h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.6rem;
  letter-spacing: -0.01em;
  line-height: 1.3;
}

.patient-step p {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--text-muted);
}

@media (max-width: 900px) {
  .patients-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 550px) {
  .patients-grid { grid-template-columns: 1fr; }
}

/* ============================================
   INSURANCE
============================================ */
.insurance {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.insurance-grid {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.insurance-content .section-meta { display: inline-flex; }

.insurance-text {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text-soft);
  margin: 1.5rem 0 2rem;
  max-width: 520px;
}

.insurance-list {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  margin-bottom: 2.5rem;
}

.insurance-item {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 0.98rem;
  color: var(--text-soft);
  font-weight: 500;
}

.insurance-check {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--sage-soft);
  color: var(--sage);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  flex-shrink: 0;
}

.insurance-image {
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  box-shadow: 0 40px 80px -30px rgba(28, 43, 58, 0.25);
}
.insurance-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.4s var(--ease);
}
.insurance-image:hover img { transform: scale(1.04); }

@media (max-width: 900px) {
  .insurance-grid { grid-template-columns: 1fr; gap: 3rem; }
}

/* ============================================
   TESTIMONIALS
============================================ */
.testimonials { background: var(--bg); }

.testimonials-grid {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.testimonial-card {
  padding: 2rem 1.8rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: all 0.4s var(--ease);
}
.testimonial-card:hover {
  border-color: var(--blue);
  transform: translateY(-4px);
  box-shadow: 0 25px 50px -20px var(--blue-glow);
}

.testimonial-stars {
  color: var(--star);
  font-size: 1rem;
  letter-spacing: 0.15em;
  margin-bottom: 1.2rem;
}

.testimonial-text {
  font-size: 0.98rem;
  line-height: 1.7;
  color: var(--text-soft);
  margin-bottom: 1.5rem;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--border);
}
.testimonial-author img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
}
.testimonial-author strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.1rem;
}
.testimonial-author span {
  font-size: 0.78rem;
  color: var(--text-muted);
}

@media (max-width: 900px) {
  .testimonials-grid { grid-template-columns: 1fr; }
}

/* ============================================
   FAQ
============================================ */
.faq {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
}

.faq-grid {
  max-width: 1300px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 5rem;
  align-items: start;
}

.faq-intro .section-meta { display: inline-flex; }
.faq-intro .section-title { margin-bottom: 1rem; }

.faq-sub {
  font-size: 0.95rem;
  color: var(--text-muted);
}
.faq-sub a {
  color: var(--blue);
  font-weight: 600;
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease);
}
.faq-sub a:hover { border-color: var(--blue); }

.faq-list { display: flex; flex-direction: column; gap: 1rem; }

.faq-item {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.3s var(--ease);
}
.faq-item.open { border-color: var(--blue); }

.faq-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.3rem 1.5rem;
  text-align: left;
  font-family: var(--font-display);
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--text);
  transition: color 0.3s var(--ease);
  letter-spacing: -0.005em;
}
.faq-item.open .faq-trigger { color: var(--blue); }

.faq-icon {
  position: relative;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--blue-pale);
  transition: background 0.3s var(--ease);
}
.faq-item.open .faq-icon { background: var(--blue); }

.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  background: var(--blue);
  transition: transform 0.4s var(--ease), background 0.3s var(--ease);
}
.faq-icon::before {
  width: 10px; height: 2px;
  transform: translate(-50%, -50%);
}
.faq-icon::after {
  width: 2px; height: 10px;
  transform: translate(-50%, -50%);
}
.faq-item.open .faq-icon::before,
.faq-item.open .faq-icon::after {
  background: var(--bg);
}
.faq-item.open .faq-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.faq-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s var(--ease);
}
.faq-panel-inner {
  padding: 0 1.5rem 1.5rem;
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text-muted);
}

@media (max-width: 900px) {
  .faq-grid { grid-template-columns: 1fr; gap: 2.5rem; }
}

/* ============================================
   BOOK
============================================ */
.book {
  background: var(--bg);
  border-top: 1px solid var(--border);
}

.book-grid {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 5rem;
  align-items: start;
}

.book-text {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text-soft);
  margin: 1.5rem 0 3rem;
  max-width: 480px;
}

.book-details {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.book-detail {
  display: flex;
  gap: 1rem;
  padding: 1.2rem;
  background: var(--bg-2);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  transition: border-color 0.3s var(--ease);
}
.book-detail:hover { border-color: var(--blue); }

.detail-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--blue-pale);
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.detail-label {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-dim);
  font-weight: 700;
  margin-bottom: 0.3rem;
}

.book-detail p,
.book-detail a {
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--text);
  font-weight: 500;
}
.book-detail a:hover { color: var(--blue); }

.book-form {
  background: var(--bg-2);
  padding: 2.5rem;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  box-shadow: 0 30px 60px -30px rgba(28, 43, 58, 0.15);
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.field label {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-soft);
  letter-spacing: 0.01em;
}

.field input,
.field textarea,
.field select {
  background: var(--bg);
  border: 1.5px solid transparent;
  border-radius: 10px;
  padding: 0.85rem 1rem;
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  transition: all 0.3s var(--ease);
  resize: none;
  width: 100%;
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: none;
  border-color: var(--blue);
  background: #fff;
  box-shadow: 0 0 0 4px var(--blue-soft);
}

.field input::placeholder,
.field textarea::placeholder {
  color: var(--text-dim);
}

.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%233b6fb6' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
  cursor: none;
}

.btn-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  padding: 1.15rem 2rem;
  background: var(--blue);
  color: var(--bg);
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  border-radius: 10px;
  border: 1.5px solid var(--blue);
  transition: all 0.4s var(--ease);
  width: 100%;
  margin-top: 0.5rem;
  cursor: none;
}
.btn-submit:hover {
  background: var(--blue-hover);
  border-color: var(--blue-hover);
  transform: translateY(-2px);
  box-shadow: 0 15px 35px -10px var(--blue-glow);
}
.btn-submit svg { transition: transform 0.4s var(--ease); }
.btn-submit:hover svg { transform: translateX(4px); }

.form-note {
  font-size: 0.75rem;
  color: var(--text-dim);
  line-height: 1.5;
  text-align: center;
}

@media (max-width: 900px) {
  .book-grid { grid-template-columns: 1fr; gap: 3rem; }
  .field-row { grid-template-columns: 1fr; }
  .book-form { padding: 1.8rem; }
}

/* ============================================
   FOOTER
============================================ */
.footer {
  background: var(--blue-dark);
  color: rgba(250, 248, 243, 0.8);
  padding: 5rem 3rem 2rem;
}

.footer-inner {
  max-width: 1500px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 5rem;
  padding-bottom: 4rem;
  border-bottom: 1px solid rgba(250, 248, 243, 0.15);
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--bg);
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.footer-tagline {
  font-size: 0.92rem;
  line-height: 1.6;
  color: rgba(250, 248, 243, 0.6);
  max-width: 280px;
}

.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.footer-col-label {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(250, 248, 243, 0.5);
  font-weight: 700;
  margin-bottom: 0.4rem;
}

.footer-col a,
.footer-col p {
  font-size: 0.92rem;
  color: rgba(250, 248, 243, 0.8);
  transition: color 0.3s var(--ease);
}
.footer-col a:hover { color: var(--bg); }

.footer-bottom {
  max-width: 1500px;
  margin: 2.5rem auto 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: rgba(250, 248, 243, 0.5);
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom-links {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.footer-bottom-links a { transition: color 0.3s var(--ease); }
.footer-bottom-links a:hover { color: var(--bg); }

@media (max-width: 900px) {
  .footer { padding: 4rem 1.5rem 2rem; }
  .footer-inner { grid-template-columns: 1fr; gap: 3rem; }
  .footer-cols { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

/* ============================================
   REVEAL
============================================ */
.reveal {
  opacity: 0;
  transform: translateY(35px);
  transition: opacity 1.1s var(--ease), transform 1.1s var(--ease);
}
.reveal.in { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}