/* ==========================================================
   MEDUSCORE — STYLESHEET
   White-dominant theme · Brand: #4642d5 (violet) + #44d7ce (teal)
   ========================================================== */

/* --- Design Tokens --- */
:root {
  /* Backgrounds */
  --bg-0:      #ffffff;
  --bg-1:      #f0f7ff;
  --bg-2:      #e4feff;
  --bg-dark:   #062e54;
  --bg-card:   #ffffff;

  /* Brand colours (from brand guidelines) */
  --blue:      #4642d5;
  --blue-dk:   #3835b0;
  --blue-lt:   #4381e6;
  --teal:      #44d7ce;
  --teal-dk:   #3ab8b0;
  --teal-lt:   #3ed1df;

  /* Additional brand colours */
  --sky:       #49b9f2;

  /* Gradient */
  --grad:      linear-gradient(135deg, #4642d5 0%, #44d7ce 100%);
  --grad-dk:   linear-gradient(135deg, #3835b0 0%, #3ab8b0 100%);
  --grad-soft: linear-gradient(135deg, rgba(70,66,213,0.08) 0%, rgba(68,215,206,0.08) 100%);

  /* Text */
  --text-1:    #062e54;
  --text-2:    #1a4a6e;
  --text-3:    #5a7f9e;

  /* Borders */
  --border:     rgba(70, 66, 213, 0.1);
  --border-acc: rgba(70, 66, 213, 0.28);
  --border-teal: rgba(68, 215, 206, 0.35);

  /* Shadows */
  --shadow-sm:   0 2px 8px rgba(70,66,213,0.08);
  --shadow-md:   0 8px 32px rgba(70,66,213,0.12);
  --shadow-lg:   0 20px 60px rgba(70,66,213,0.16);
  --shadow-card: 0 0 0 1px rgba(70,66,213,0.07), 0 8px 28px rgba(70,66,213,0.09);

  /* Radii */
  --r-sm:  8px;
  --r-md:  14px;
  --r-lg:  22px;
  --r-xl:  32px;

  /* Motion */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --t:    0.26s;
  --t-lg: 0.52s;

  /* Layout */
  --max-w: 1160px;
  --nav-h: 76px;
  --py:    104px;

  /* Typography */
  --ff-heading: 'Century Gothic', CenturyGothic, AppleGothic, -apple-system, sans-serif;
  --ff-sans:    'Fira Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--ff-sans);
  background: var(--bg-0);
  color: var(--text-1);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-weight: 400;
}

img { max-width: 100%; height: auto; display: block; }
a   { color: inherit; text-decoration: none; }
ul  { list-style: none; }
button  { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea, select { font-family: inherit; }
address { font-style: normal; }

/* --- Container --- */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 28px;
}

/* --- Sections --- */
.section      { padding: var(--py) 0; }
.light-section { background: var(--bg-1); }
.dark-section  { background: var(--bg-dark); }

/* --- Gradient text --- */
.gradient-text {
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* --- Section label --- */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 18px;
}
.section-label::before {
  content: '';
  display: block;
  width: 24px;
  height: 2px;
  background: var(--grad);
  border-radius: 2px;
  flex-shrink: 0;
}

/* On dark sections */
.dark-section .section-label { color: var(--teal-lt); }
.dark-section .section-label::before { background: var(--teal); }

/* --- Section header --- */
.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 72px;
}
.section-desc {
  color: var(--text-2);
  font-size: 17px;
  line-height: 1.78;
  margin-top: 18px;
}
.dark-section .section-desc { color: rgba(255,255,255,0.6); }

/* --- Type Scale --- */
h1, h2, h3, h4 {
  font-family: var(--ff-heading);
  line-height: 1.15;
  letter-spacing: -0.025em;
}
h1 { font-size: clamp(40px, 6vw, 68px); font-weight: 800; }
h2 { font-size: clamp(28px, 4vw, 46px); font-weight: 700; }
h3 { font-size: clamp(18px, 2.2vw, 24px); font-weight: 700; }
h4 { font-size: 16px; font-weight: 600; letter-spacing: -0.01em; }
p  { color: var(--text-2); line-height: 1.78; }

/* Dark section type overrides */
.dark-section h2,
.dark-section h3,
.dark-section h4 { color: #fff; }
.dark-section p   { color: rgba(255,255,255,0.65); }

/* --- Divider --- */
.section-divider {
  width: 64px;
  height: 3px;
  background: var(--grad);
  border-radius: 3px;
  margin: 20px auto 0;
}

/* --- Utility --- */
.btn-mt { margin-top: 24px; }
@keyframes spin { to { transform: rotate(360deg); } }
.spin { animation: spin 0.8s linear infinite; }

/* --- Buttons --- */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--grad);
  color: #fff;
  padding: 14px 30px;
  border-radius: 50px;
  font-size: 15px;
  font-weight: 600;
  font-family: var(--ff-sans);
  transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease), opacity var(--t) var(--ease);
  box-shadow: 0 4px 18px rgba(70,66,213,0.28);
  white-space: nowrap;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 36px rgba(70,66,213,0.38);
  opacity: 0.92;
}
.btn-sm   { padding: 10px 22px; font-size: 14px; }
.btn-full { width: 100%; justify-content: center; }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--blue);
  padding: 14px 26px;
  border-radius: 50px;
  font-size: 15px;
  font-weight: 600;
  border: 1.5px solid var(--border-acc);
  transition: all var(--t) var(--ease);
}
.btn-ghost:hover {
  background: var(--blue);
  color: #fff;
  border-color: var(--blue);
}

.btn-ghost--white {
  color: #fff;
  border-color: rgba(255,255,255,0.35);
}
.btn-ghost--white:hover {
  background: rgba(255,255,255,0.15);
  border-color: rgba(255,255,255,0.6);
}

/* ==========================================================
   NAVBAR
   ========================================================== */
#header {
  position: fixed;
  inset: 0 0 auto;
  height: var(--nav-h);
  z-index: 900;
  transition: background var(--t) var(--ease), box-shadow var(--t) var(--ease);
}
#header.scrolled {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 var(--border), 0 4px 24px rgba(70,66,213,0.07);
}

.nav-container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 28px;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-brand { display: flex; align-items: center; flex-shrink: 0; }

/* Real logo image */
.logo-img {
  height: 36px;
  width: auto;
  display: block;
  object-fit: contain;
}
.logo-img--footer {
  height: 32px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
  flex: 1;
  justify-content: center;
}
.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-2);
  padding: 7px 14px;
  border-radius: 8px;
  transition: color var(--t) var(--ease), background var(--t) var(--ease);
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--blue);
  background: rgba(70,66,213,0.07);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-1);
  border-radius: 2px;
  transition: transform var(--t) var(--ease), opacity var(--t) var(--ease);
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Nav */
.mobile-nav {
  position: fixed;
  inset: 0;
  background: #fff;
  z-index: 850;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 36px;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--t-lg) var(--ease);
}
.mobile-nav.open {
  opacity: 1;
  pointer-events: auto;
}
.mobile-nav ul {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  width: 100%;
}
.mobile-nav ul a {
  display: block;
  text-align: center;
  font-size: 22px;
  font-weight: 600;
  color: var(--text-2);
  padding: 12px 32px;
  border-radius: 14px;
  transition: color var(--t) var(--ease), background var(--t) var(--ease);
}
.mobile-nav ul a:hover {
  color: var(--blue);
  background: rgba(70,66,213,0.06);
}

/* ==========================================================
   HERO
   ========================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: var(--nav-h);
  background: var(--bg-0);
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

/* Soft light orbs */
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.55;
}
.orb-1 {
  width: 640px; height: 640px;
  background: radial-gradient(circle, rgba(70,66,213,0.18), transparent 70%);
  top: -200px; right: -100px;
  animation: orb-float 10s ease-in-out infinite;
}
.orb-2 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(68,215,206,0.2), transparent 70%);
  bottom: -160px; left: -80px;
  animation: orb-float 12s ease-in-out infinite reverse;
}
@keyframes orb-float {
  0%, 100% { transform: translateY(0) scale(1); }
  50%       { transform: translateY(-24px) scale(1.04); }
}

.grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(70,66,213,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(70,66,213,0.04) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black, transparent);
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black, transparent);
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 64px;
  align-items: center;
  padding-top: 64px;
  padding-bottom: 100px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: rgba(70,66,213,0.07);
  border: 1px solid rgba(70,66,213,0.18);
  color: var(--blue);
  padding: 8px 18px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 28px;
}
.badge-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--teal);
  animation: pulse-dot 2.4s ease-in-out infinite;
  flex-shrink: 0;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.4; transform: scale(0.65); }
}

.hero-title {
  color: var(--text-1);
  margin-bottom: 18px;
  line-height: 1.1;
}
.hero-title em { font-style: normal; }

.hero-subtitle {
  font-family: var(--ff-heading);
  font-size: clamp(17px, 2.2vw, 22px);
  font-weight: 500;
  color: var(--text-2);
  margin-bottom: 20px;
}
.hero-desc {
  font-size: 16px;
  max-width: 520px;
  margin-bottom: 42px;
  color: var(--text-2);
  line-height: 1.82;
}
.hero-ctas {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 56px;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}
.stat-value {
  display: block;
  font-family: var(--ff-heading);
  font-size: 30px;
  font-weight: 700;
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}
.stat-label {
  display: block;
  font-size: 12px;
  color: var(--text-3);
  margin-top: 5px;
  font-weight: 500;
}
.stat-divider {
  width: 1px;
  height: 44px;
  background: var(--border);
  flex-shrink: 0;
}

/* Hero image */
.hero-visual {
  flex-shrink: 0;
  max-width: 480px;
}
.hero-image-wrap {
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 3px solid rgba(70,66,213,0.12);
}
.hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  aspect-ratio: 4 / 3;
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 42px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: var(--text-3);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.scroll-line {
  width: 1px;
  height: 44px;
  background: linear-gradient(to bottom, var(--blue), transparent);
  animation: scroll-anim 2.4s ease-in-out infinite;
}
@keyframes scroll-anim {
  0%   { transform: scaleY(0); transform-origin: top; }
  50%  { transform: scaleY(1); transform-origin: top; }
  51%  { transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ==========================================================
   ABOUT
   ========================================================== */
.about { background: var(--bg-0); }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 88px;
  align-items: center;
}
.about-text h2  { margin-bottom: 24px; }
.about-text p   { margin-bottom: 16px; font-size: 16px; }

.about-cards { display: flex; flex-direction: column; gap: 18px; }

.feature-card {
  display: flex;
  gap: 18px;
  padding: 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-sm);
  transition: border-color var(--t) var(--ease), box-shadow var(--t) var(--ease), transform var(--t) var(--ease);
}
.feature-card:hover {
  border-color: var(--border-acc);
  box-shadow: var(--shadow-md);
  transform: translateX(5px);
}
.feature-icon {
  width: 48px; height: 48px;
  border-radius: var(--r-sm);
  background: var(--grad-soft);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--blue);
  flex-shrink: 0;
  transition: background var(--t) var(--ease), border-color var(--t) var(--ease);
}
.feature-card:hover .feature-icon {
  background: var(--grad);
  color: #fff;
  border-color: transparent;
}
.feature-card h4 { color: var(--text-1); margin-bottom: 7px; font-size: 16px; }
.feature-card p  { font-size: 14px; line-height: 1.68; }

/* About image */
.about-image-wrap {
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  margin-bottom: 18px;
}
.about-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  aspect-ratio: 3 / 2;
}

/* ==========================================================
   EXPERTISE
   ========================================================== */
.expertise { background: var(--bg-1); }

/* Category tabs — Consultants | Nurses */
.category-tabs {
  display: flex;
  justify-content: center;
  gap: 0;
  margin-bottom: 12px;
}
.category-tab {
  font-family: var(--ff-heading);
  font-size: clamp(18px, 2.5vw, 24px);
  font-weight: 700;
  color: var(--text-1);
  padding: 14px 48px;
  background: var(--bg-card);
  border: 2px solid var(--border);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  transition: all var(--t) var(--ease);
}
.category-tab:first-child { border-radius: var(--r-md) 0 0 var(--r-md); border-right: none; }
.category-tab:last-child  { border-radius: 0 var(--r-md) var(--r-md) 0; }
.category-tab.active {
  background: var(--grad);
  color: #fff;
  border-color: transparent;
}
.category-subtitle {
  text-align: center;
  font-size: 15px;
  color: var(--text-2);
  margin-bottom: 40px;
  padding: 12px 28px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 50px;
  display: inline-flex;
  margin-left: auto;
  margin-right: auto;
  width: fit-content;
}
/* center the subtitle */
.expertise .container { text-align: center; }
.expertise .container > *:not(.category-subtitle) { text-align: left; }
.expertise .section-header { text-align: center; }
.expertise .specialties-grid { text-align: center; }

.specialties-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 40px;
}
.specialty-card {
  padding: 36px 20px 28px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: border-color var(--t) var(--ease), box-shadow var(--t) var(--ease), transform var(--t) var(--ease);
}
.specialty-card:hover {
  border-color: var(--border-acc);
  box-shadow: var(--shadow-lg);
  transform: translateY(-6px);
}
.specialty-icon {
  width: 68px; height: 68px;
  border-radius: var(--r-sm);
  background: var(--grad-soft);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--blue);
  margin: 0 auto 22px;
  transition: background var(--t) var(--ease), color var(--t) var(--ease), border-color var(--t) var(--ease);
}
.specialty-card:hover .specialty-icon {
  background: var(--grad);
  color: #fff;
  border-color: transparent;
}
.specialty-card h3 { font-size: 17px; color: var(--text-1); margin-bottom: 10px; }
.specialty-card p  { font-size: 13px; line-height: 1.65; }

.expertise-note {
  color: var(--text-2);
  font-size: 14px;
  font-weight: 500;
  text-align: center;
  padding: 16px 28px;
  background: rgba(68,215,206,0.08);
  border: 1px solid var(--border-teal);
  border-radius: var(--r-md);
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ==========================================================
   WHY US
   ========================================================== */
.why-us { background: var(--bg-0); }

.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 88px;
  align-items: start;
}
/* Why Us image */
.why-image-wrap {
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  margin-bottom: 32px;
}
.why-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  aspect-ratio: 3 / 2;
}

.why-intro {
  font-size: 16px;
  line-height: 1.82;
  margin-bottom: 44px;
}
.why-left h3, .why-right h3 {
  color: var(--text-1);
  font-size: 20px;
  margin-bottom: 26px;
}

.differentiators { display: flex; flex-direction: column; gap: 14px; }
.differentiators li {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  color: var(--text-2);
  font-size: 15px;
  line-height: 1.65;
}
.check-icon {
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--grad);
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  flex-shrink: 0;
  margin-top: 1px;
  box-shadow: 0 2px 8px rgba(70,66,213,0.3);
}

/* Process steps */
.process-steps { display: flex; flex-direction: column; }
.step {
  display: flex;
  gap: 22px;
  padding-bottom: 34px;
  position: relative;
}
.step::before {
  content: '';
  position: absolute;
  left: 19px; top: 44px; bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--border-acc), transparent);
}
.step:last-child::before { display: none; }
.step:last-child { padding-bottom: 0; }

.step-num {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--grad);
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 700; color: #fff;
  font-family: var(--ff-heading);
  flex-shrink: 0;
  box-shadow: 0 4px 14px rgba(70,66,213,0.3);
}
.step-content h4 { color: var(--text-1); margin-bottom: 7px; padding-top: 9px; }
.step-content p  { font-size: 14px; line-height: 1.68; }

/* ==========================================================
   FOR PHYSICIANS  (dark section)
   ========================================================== */
.physicians { background: var(--bg-dark); }
.physicians-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 88px;
  align-items: center;
}
.physicians-text h2 { margin-bottom: 22px; }
.physicians-text p  { margin-bottom: 16px; }

/* Physicians image */
.physicians-image-wrap {
  grid-column: 1 / -1;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.12);
}
.physicians-image {
  width: 100%;
  height: 220px;
  display: block;
  object-fit: cover;
}

.physicians-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.support-card {
  padding: 26px 22px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--r-md);
  transition: background var(--t) var(--ease), border-color var(--t) var(--ease), transform var(--t) var(--ease);
}
.support-card:hover {
  background: rgba(255,255,255,0.09);
  border-color: rgba(68,215,206,0.3);
  transform: translateY(-3px);
}
.support-icon {
  width: 42px; height: 42px;
  border-radius: 10px;
  background: rgba(68,215,206,0.12);
  border: 1px solid rgba(68,215,206,0.25);
  display: flex; align-items: center; justify-content: center;
  color: var(--teal-lt);
  margin-bottom: 16px;
}
.support-card h4 { font-size: 14px; margin-bottom: 8px; }
.support-card p  { font-size: 13px; line-height: 1.65; }

/* ==========================================================
   QUALITY
   ========================================================== */
.quality { background: var(--bg-1); }
.quality-inner {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  padding: 72px 64px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}
.quality-accent {
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 220px; height: 3px;
  background: var(--grad);
  border-radius: 0 0 4px 4px;
}
.quality-bg-image {
  border-radius: var(--r-lg);
  overflow: hidden;
  margin-bottom: 28px;
  max-width: 520px;
  margin-inline: auto;
}
.quality-bg-image img {
  width: 100%;
  height: 200px;
  display: block;
  object-fit: cover;
}
.quality-inner h2  { margin-bottom: 26px; }
.quality-inner p   { font-size: 16px; margin-bottom: 16px; max-width: 620px; margin-inline: auto; }
.quality-inner .btn-primary { margin-top: 36px; }

/* ==========================================================
   CONTACT  (dark section)
   ========================================================== */
.contact { background: var(--bg-dark); }

.contact-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 72px;
  align-items: start;
}

/* Form */
.contact-form { display: flex; flex-direction: column; gap: 20px; }
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-group label {
  font-size: 12px;
  font-weight: 600;
  color: rgba(255,255,255,0.55);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.form-group input,
.form-group select,
.form-group textarea {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--r-sm);
  padding: 13px 16px;
  color: #fff;
  font-size: 15px;
  transition: border-color var(--t) var(--ease), background var(--t) var(--ease);
  width: 100%;
  -webkit-appearance: none;
  appearance: none;
}
.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 14 14'%3E%3Cpath d='M3 5l4 4 4-4' stroke='rgba(255,255,255,0.4)' stroke-width='1.6' stroke-linecap='round' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 38px;
  cursor: pointer;
}
.form-group select option { background: #062e54; color: #fff; }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--teal);
  background: rgba(68,215,206,0.07);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(255,255,255,0.28); }
.form-group textarea { resize: vertical; min-height: 130px; }

/* Contact info cards */
.contact-info { display: flex; flex-direction: column; gap: 16px; }
.info-card {
  display: flex;
  gap: 16px;
  padding: 22px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--r-md);
  transition: border-color var(--t) var(--ease), background var(--t) var(--ease);
}
.info-card:hover {
  border-color: rgba(68,215,206,0.3);
  background: rgba(255,255,255,0.07);
}
.info-icon {
  width: 42px; height: 42px;
  border-radius: 10px;
  background: rgba(68,215,206,0.12);
  border: 1px solid rgba(68,215,206,0.22);
  display: flex; align-items: center; justify-content: center;
  color: var(--teal-lt);
  flex-shrink: 0;
}
.info-card h4 {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.38);
  margin-bottom: 8px;
}
.info-card address { font-size: 14px; color: rgba(255,255,255,0.7); line-height: 1.82; }
.info-card a {
  font-size: 14px;
  color: var(--teal-lt);
  transition: color var(--t) var(--ease);
}
.info-card a:hover { color: #fff; }

.phone-list { display: flex; flex-direction: column; gap: 10px; }
.phone-item { display: flex; align-items: center; gap: 10px; }
.phone-flag { font-size: 20px; line-height: 1; }
.phone-region {
  display: block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-bottom: 2px;
}

/* ==========================================================
   FOOTER
   ========================================================== */
.footer {
  background: #041f3a;
  border-top: 1px solid rgba(255,255,255,0.07);
  padding: 72px 0 36px;
}
.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1.2fr;
  gap: 72px;
  margin-bottom: 56px;
}
.footer-brand .nav-brand { margin-bottom: 18px; display: block; }
.footer-brand p {
  font-size: 14px;
  color: rgba(255,255,255,0.42);
  max-width: 280px;
  line-height: 1.78;
}
.footer-heading {
  font-family: var(--ff-heading);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-bottom: 22px;
}
.footer-nav ul { display: flex; flex-direction: column; gap: 10px; }
.footer-nav a {
  font-size: 14px;
  color: rgba(255,255,255,0.55);
  transition: color var(--t) var(--ease);
}
.footer-nav a:hover { color: #fff; }

.footer-contact-info address {
  font-size: 14px;
  color: rgba(255,255,255,0.55);
  line-height: 1.85;
  margin-bottom: 14px;
}
.footer-contact-info a {
  font-size: 14px;
  color: var(--teal-lt);
  transition: color var(--t) var(--ease);
}
.footer-contact-info a:hover { color: #fff; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.07);
  padding-top: 28px;
  text-align: center;
}
.footer-bottom p { font-size: 13px; color: rgba(255,255,255,0.28); }

/* ==========================================================
   SCROLL ANIMATIONS
   ========================================================== */
[data-animate] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity var(--t-lg) var(--ease), transform var(--t-lg) var(--ease);
}
[data-animate].visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================
   RESPONSIVE — 1024px
   ========================================================== */
@media (max-width: 1024px) {
  :root { --py: 80px; }

  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { max-width: 100%; }
  .hero-image { aspect-ratio: 16 / 7; }

  .specialties-grid { grid-template-columns: repeat(2, 1fr); }

  .about-grid,
  .why-grid,
  .physicians-grid { grid-template-columns: 1fr; gap: 56px; }

  .footer-top { grid-template-columns: 1fr 1fr; gap: 48px; }
  .footer-brand { grid-column: 1 / -1; }
}

/* ==========================================================
   RESPONSIVE — 768px
   ========================================================== */
@media (max-width: 768px) {
  :root { --py: 64px; }

  .nav-links  { display: none; }
  .nav-cta    { display: none; }
  .hamburger  { display: flex; }
  .nav-actions { margin-left: auto; }

  .hero-ctas { flex-direction: column; align-items: flex-start; }

  .specialties-grid { grid-template-columns: repeat(2, 1fr); }
  .physicians-cards { grid-template-columns: 1fr; }
  .contact-grid     { grid-template-columns: 1fr; gap: 48px; }
  .form-row         { grid-template-columns: 1fr; }

  .footer-top       { grid-template-columns: 1fr; gap: 44px; }
  .footer-brand     { grid-column: 1; }

  .quality-inner    { padding: 52px 32px; }
  .scroll-indicator { display: none; }
}

/* ==========================================================
   RESPONSIVE — 480px
   ========================================================== */
@media (max-width: 480px) {
  .specialties-grid { grid-template-columns: 1fr; }
  .hero-stats       { flex-direction: column; align-items: flex-start; gap: 16px; }
  .stat-divider     { display: none; }
  .quality-inner    { padding: 40px 20px; }
  h1 { font-size: 36px; }
}
