/* ============================================================
   MediCenter — Production-ready stylesheet
   ============================================================ */

:root {
  /* Brand — MD/PARK medical teal */
  --brand: #0e7c8b;
  --brand-600: #0a6b78;
  --brand-700: #075964;
  --brand-soft: #99e0ea;
  --brand-pill: #1392a4;

  /* Surfaces */
  --bg: #f5f7f8;
  --bg-elev: #ffffff;
  --bg-muted: #eaeef0;
  --bg-stats: #6c8086;
  --bg-stats-2: #586a70;

  /* Text */
  --ink: #364860;       /* headings */
  --ink-2: #2c3e57;
  --muted: #7a8290;
  --muted-2: #9aa1ab;
  --line: #e6e6e6;
  --line-2: #d8dbe0;

  /* Footer */
  --footer-bg: #20232a;
  --footer-bg-2: #181b21;
  --footer-text: #b6b9bf;
  --footer-line: #2c3038;

  /* Type */
  --ff-body: "Open Sans", "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
  --ff-display: "Open Sans", "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
  --ff-quote: "Playfair Display", Georgia, "Times New Roman", serif;

  /* Layout */
  --container: 1170px;
  --gap: 28px;
  --radius: 2px;
  --radius-lg: 4px;
  --shadow-sm: 0 1px 2px rgba(20, 30, 45, .04);
  --shadow-md: 0 6px 18px rgba(20, 30, 45, .08);
  --t: 220ms cubic-bezier(.2,.6,.2,1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--ff-body);
  font-size: 15px;
  line-height: 1.7;
  color: var(--muted);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; transition: color var(--t); }
a:hover { color: var(--brand); }
button { font: inherit; cursor: pointer; }

h1, h2, h3, h4, h5 {
  font-family: var(--ff-display);
  color: var(--ink);
  font-weight: 600;
  margin: 0 0 .5em;
  line-height: 1.25;
  letter-spacing: -.005em;
}
h1 { font-size: clamp(28px, 4vw, 42px); }
h2 { font-size: clamp(24px, 3vw, 30px); }
h3 { font-size: 20px; }
h4 { font-size: 15px; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; }

p { margin: 0 0 1em; }

/* ---------- Container ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}
.section { padding: 80px 0; }
.section--tight { padding: 56px 0; }
.section--alt { background: #fff; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 22px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  border: 2px solid transparent;
  border-radius: var(--radius);
  background: var(--brand);
  color: #fff;
  transition: background var(--t), color var(--t), border-color var(--t), transform var(--t);
}
.btn:hover { background: var(--brand-700); color: #fff; transform: translateY(-1px); }
.btn .arrow { transition: transform var(--t); }
.btn:hover .arrow { transform: translateX(4px); }
.btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.55); }
.btn--ghost:hover { background: rgba(255,255,255,.1); border-color: #fff; }
.btn--outline { background: transparent; color: var(--brand); border-color: var(--brand); }
.btn--outline:hover { background: var(--brand); color: #fff; }
.btn--lg { padding: 14px 26px; font-size: 12px; }

/* ---------- Section heading ---------- */
.eyebrow {
  font-size: 12px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--brand);
  font-weight: 600;
  display: inline-block;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--brand);
  margin-bottom: 18px;
}
.section-head { text-align: center; max-width: 720px; margin: 0 auto 60px; }
.section-head h2 { position: relative; padding-bottom: 18px; margin-bottom: 22px; }
.section-head h2::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 46px;
  height: 2px;
  background: var(--brand);
}

/* ============================================================
   UTILITY BAR
   ============================================================ */
.utility {
  background: #fafafa;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
  color: var(--muted-2);
}
.utility .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 44px;
}
.utility__left { display: flex; flex-wrap: wrap; gap: 22px; }
.utility__left span { display: inline-flex; align-items: center; gap: 8px; }
.utility__left svg { width: 14px; height: 14px; color: var(--muted-2); }
.utility__right { display: flex; align-items: center; gap: 14px; }
.utility__right a { display: inline-flex; width: 28px; height: 28px; align-items: center; justify-content: center; color: var(--muted-2); }
.utility__right a:hover { color: var(--brand); }
.utility__right .sep { width: 1px; height: 18px; background: var(--line); margin: 0 4px; }
.utility__cart { position: relative; }
.utility__cart .badge {
  position: absolute; top: -2px; right: -6px;
  background: var(--brand); color: #fff;
  font-size: 9px; font-weight: 700;
  border-radius: 999px; padding: 1px 5px;
  min-width: 14px; text-align: center;
}

/* ============================================================
   HEADER
   ============================================================ */
.header {
  background: #fff;
  position: sticky; top: 0; z-index: 50;
  border-bottom: 1px solid var(--line);
}
.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 86px;
  gap: 20px;
}
.brand {
  display: inline-flex; align-items: center; gap: 12px;
  color: var(--ink);
}
.brand__logo {
  height: 52px;
  width: auto;
  display: block;
}

/* Nav */
.nav { display: flex; align-items: center; }
.nav__list { list-style: none; display: flex; gap: 4px; margin: 0; padding: 0; }
.nav__list > li > a {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 12px 16px;
  font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--ink-2);
  border-radius: var(--radius);
  position: relative;
}
.nav__list > li > a:hover { color: var(--brand); }
.nav__list > li.active > a { background: var(--brand); color: #fff; }
.nav__list > li.active > a:hover { background: var(--brand-700); color: #fff; }
.nav__caret { width: 8px; height: 8px; opacity: .7; }

.nav-toggle {
  display: none;
  background: var(--brand); color: #fff;
  width: 44px; height: 44px;
  border: 0; border-radius: var(--radius);
  align-items: center; justify-content: center;
}
.nav-toggle svg { width: 22px; height: 22px; }

/* ---------- Submenu (dropdown) ---------- */
.nav__list { position: relative; }
.nav__list > li { position: relative; }
.nav__list .sub-menu,
.nav__list ul.children {
  list-style: none;
  margin: 0;
  padding: 8px 0;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: #fff;
  border-top: 2px solid var(--brand);
  box-shadow: var(--shadow-md);
  z-index: 30;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity var(--t), transform var(--t), visibility var(--t);
}
.nav__list > li:hover > .sub-menu,
.nav__list > li:focus-within > .sub-menu,
.nav__list > li.is-open > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.nav__list .sub-menu li { display: block; }
.nav__list .sub-menu a {
  display: block;
  padding: 10px 18px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--ink-2);
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}
.nav__list .sub-menu li:last-child a { border-bottom: 0; }
.nav__list .sub-menu a:hover { color: var(--brand); background: var(--bg); }

/* Caret on items with submenu */
.nav__list > li.menu-item-has-children > a::after {
  content: "";
  display: inline-block;
  width: 0; height: 0;
  margin-left: 8px;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 4px solid currentColor;
  vertical-align: middle;
  opacity: .8;
}

/* Mobile submenu toggle button */
.nav__sub-toggle {
  display: none;
  background: transparent;
  border: 0;
  color: var(--ink-2);
  width: 36px; height: 36px;
  align-items: center; justify-content: center;
}
.nav__sub-toggle svg { width: 12px; height: 12px; transition: transform var(--t); }
.nav__list > li.is-open > .nav__sub-toggle svg { transform: rotate(180deg); }


/* ============================================================
   HERO SLIDER
   ============================================================ */
.hero {
  position: relative;
  background: #2c2c2c;
  overflow: hidden;
}
.hero__viewport {
  position: relative;
  min-height: 560px;
  background-size: cover;
  background-position: center;
  transition: background-image 600ms ease;
}
.hero__viewport::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,.45) 0%, rgba(0,0,0,.18) 50%, rgba(0,0,0,0) 100%);
}
.hero__inner {
  position: relative; z-index: 1;
  max-width: var(--container);
  margin: 0 auto;
  padding: 110px 20px 170px;
  color: #fff;
}
.hero__inner h1 {
  color: #fff;
  font-size: clamp(34px, 5vw, 56px);
  font-weight: 300;
  line-height: 1.1;
  max-width: 620px;
  margin-bottom: 22px;
}
.hero__inner h1 strong { font-weight: 700; }
.hero__inner p {
  color: rgba(255,255,255,.92);
  max-width: 460px;
  font-size: 16px;
}

.hero__dots {
  position: absolute;
  left: 0; right: 0; bottom: 24px;
  display: flex; justify-content: center; gap: 14px;
  z-index: 2;
}
.hero__dot {
  width: 22px; height: 2px;
  background: rgba(255,255,255,.45);
  border: 0; padding: 0;
  position: relative;
  transition: background var(--t);
}
.hero__dot[aria-current="true"] { background: #fff; }
.hero__dot::before {
  content: attr(data-num);
  position: absolute; left: 0; top: -22px;
  font-size: 11px; color: #fff;
  font-weight: 600;
}

/* Hero overlay cards */
.hero-cards {
  position: relative;
  margin-top: -90px;
  z-index: 5;
}
.hero-cards__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  box-shadow: var(--shadow-md);
}
.hcard {
  padding: 32px 30px 36px;
  color: #fff;
  position: relative;
}
.hcard h3 { color: #fff; font-size: 22px; font-weight: 600; margin-bottom: 12px; }
.hcard p { color: rgba(255,255,255,.92); font-size: 14px; margin-bottom: 22px; line-height: 1.6; }
.hcard .btn--ghost { padding: 10px 18px; font-size: 10px; }
.hcard--1 { background: var(--brand-pill); }
.hcard--2 { background: var(--brand-600); }
.hcard--3 { background: var(--brand-700); }

.hcard__head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 18px;
}
.hcard__head h3 { margin: 0; }
.hcard__head .nav-btns { display: flex; gap: 6px; }
.hcard__head button {
  width: 26px; height: 22px;
  background: rgba(255,255,255,.14);
  border: 0;
  color: #fff;
  display: grid; place-items: center;
  transition: background var(--t);
}
.hcard__head button:hover { background: rgba(255,255,255,.28); }
.hcard__head svg { width: 12px; height: 12px; }

.hcard__hours { display: flex; flex-direction: column; gap: 10px; }
.hcard__hours .row {
  display: flex; justify-content: space-between;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255,255,255,.18);
  font-size: 14px;
}
.hcard__hours .row:last-child { border-bottom: 0; }

/* ============================================================
   WELCOME
   ============================================================ */
.welcome-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.welcome-photos {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 12px;
}
.welcome-photos img {
  width: 100%; height: 100%;
  object-fit: cover;
  aspect-ratio: 3/4;
}
.welcome-photos img:nth-child(2) {
  align-self: center;
  aspect-ratio: 3/3.4;
  transform: translateY(20px);
}
.welcome-copy h2 { margin-top: 8px; }
.feature-list { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 18px; }
.feature-list li {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 14px;
  align-items: start;
  font-size: 14px;
}
.feature-list .check {
  width: 22px; height: 22px;
  border: 2px solid var(--brand);
  border-radius: 999px;
  display: grid; place-items: center;
  color: var(--brand);
  margin-top: 2px;
}
.feature-list .check svg { width: 12px; height: 12px; }

/* Emergency bar */
.emerg-bar {
  background: #ededed;
  padding: 28px 0;
}
.emerg-bar .container {
  display: flex; align-items: center; justify-content: center; gap: 28px;
  flex-wrap: wrap;
}
.emerg-bar__text {
  color: var(--brand);
  font-size: 22px;
  font-weight: 600;
}
.emerg-bar__text a { color: var(--brand-700); }

/* ============================================================
   STATS
   ============================================================ */
.stats {
  background: linear-gradient(180deg, var(--bg-stats) 0%, var(--bg-stats-2) 100%);
  padding: 100px 0;
  color: #fff;
  position: relative;
}
.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  text-align: center;
}
.stat__icon {
  width: 110px; height: 124px;
  margin: 0 auto 24px;
  position: relative;
  display: grid; place-items: center;
}
.stat__hex {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  color: rgba(255,255,255,.7);
  pointer-events: none;
}
.stat__icon > svg.stat__ic { width: 50px; height: 50px; position: relative; color: #fff; }
.stat__num {
  font-size: 44px; font-weight: 300;
  color: #fff;
  letter-spacing: .02em;
  margin-bottom: 6px;
}
.stat__label {
  font-size: 13px; letter-spacing: .2em; text-transform: uppercase;
  color: rgba(255,255,255,.9);
  font-weight: 600;
}

/* ============================================================
   VALUES BANNER (page 2 hero)
   ============================================================ */
.values-banner {
  height: 240px;
  background-size: cover;
  background-position: center 30%;
  position: relative;
}
.values-banner::after {
  content: ""; position: absolute; inset: 0;
  background: rgba(255,255,255,.05);
}
.values-intro {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 50px;
  align-items: start;
  padding: 60px 0 50px;
}
.values-intro h2 { margin: 0; line-height: 1.25; }

/* Service cards */
.service-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.scard { background: #fff; transition: box-shadow var(--t), transform var(--t); }
.scard:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); position: relative; z-index: 1; }
.scard__img { aspect-ratio: 16/10; overflow: hidden; }
.scard__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 600ms ease; }
.scard:hover .scard__img img { transform: scale(1.05); }
.scard__body { padding: 26px 26px 30px; }
.scard__body h4 { color: var(--ink); margin-bottom: 8px; }
.scard__body p { margin: 0; font-size: 14px; }

.services-list-cta { text-align: center; padding: 50px 0 0; }

/* ============================================================
   FAMILY BIRTH
   ============================================================ */
.family-birth {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  background: #fff;
}
.family-birth__img {
  min-height: 540px;
  background-size: cover; background-position: center;
}
.family-birth__copy {
  padding: 70px 60px;
  display: flex; flex-direction: column; justify-content: center;
}
.family-birth__copy h2 { margin-bottom: 14px; }
.progress { margin-top: 26px; }
.progress + .progress { margin-top: 22px; }
.progress__head { display: flex; justify-content: space-between; font-size: 13px; color: var(--ink); font-weight: 600; }
.progress__bar {
  position: relative; height: 4px;
  background: #efefef;
  margin-top: 10px;
}
.progress__fill {
  position: absolute; left: 0; top: 0; bottom: 0;
  background: var(--brand);
  transition: width 1.2s cubic-bezier(.2,.7,.2,1);
}
.progress__pill {
  position: absolute;
  top: -22px; transform: translateX(50%);
  background: var(--brand); color: #fff;
  font-size: 11px; font-weight: 700;
  padding: 3px 8px;
}
.progress__pill::after {
  content: ""; position: absolute; left: 50%; bottom: -5px;
  transform: translateX(-50%);
  border: 5px solid transparent;
  border-top-color: var(--brand);
  border-bottom: 0;
}

/* ============================================================
   IMMEDIATE CARE
   ============================================================ */
.immediate {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}
.immediate__copy {
  padding: 80px 60px;
  background: #f5f5f5;
}
.immediate__img {
  background-size: cover; background-position: center;
  min-height: 540px;
  position: relative;
}
.play-btn {
  position: absolute; left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  width: 84px; height: 96px;
  background: var(--brand);
  color: #fff;
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
  display: grid; place-items: center;
  border: 0;
  transition: transform var(--t), background var(--t);
}
.play-btn:hover { transform: translate(-50%, -50%) scale(1.06); background: var(--brand-700); }
.play-btn svg { width: 22px; height: 22px; margin-left: 4px; }

.check-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 14px 30px;
  margin-top: 26px;
  list-style: none; padding: 0;
}
.check-grid li {
  display: flex; align-items: center; gap: 12px;
  font-size: 14px; color: var(--muted);
}
.check-grid .check {
  width: 22px; height: 22px;
  border: 2px solid var(--brand);
  border-radius: 999px;
  display: grid; place-items: center;
  color: var(--brand);
  flex: 0 0 22px;
}
.check-grid .check svg { width: 11px; height: 11px; }

/* ============================================================
   BRANDS
   ============================================================ */
/* Department chips */
.dept-chips {
  margin-top: 60px;
  text-align: center;
}
.dept-chips__title {
  font-size: 16px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ink);
  font-weight: 600;
  margin: 0 0 24px;
  position: relative;
  padding-bottom: 14px;
}
.dept-chips__title::after {
  content: "";
  position: absolute; left: 50%; bottom: 0;
  transform: translateX(-50%);
  width: 36px; height: 2px;
  background: var(--brand);
}
.dept-chips__grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}
.dept-chips__grid span {
  display: inline-flex;
  align-items: center;
  padding: 9px 16px;
  background: #fff;
  border: 1px solid var(--line);
  font-size: 13px;
  color: var(--ink-2);
  font-weight: 500;
  transition: background var(--t), color var(--t), border-color var(--t);
  cursor: default;
}
.dept-chips__grid span:hover {
  background: var(--brand);
  color: #fff;
  border-color: var(--brand);
}

/* Doctor card CTA */
.tcard__cta {
  padding: 0 16px 18px;
  text-align: center;
}
.tcard__call {
  display: inline-block;
  padding: 8px 18px;
  border: 1px solid var(--brand);
  color: var(--brand);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  transition: background var(--t), color var(--t);
}
.tcard__call:hover { background: var(--brand); color: #fff; }

.brands { background: #fff; padding: 50px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.brands__row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  align-items: center;
}
.brands__row > * {
  text-align: center;
  padding: 14px 20px;
  border-right: 1px solid var(--line);
  color: var(--muted-2);
  font-family: Georgia, serif;
  opacity: .75;
  transition: opacity var(--t);
}
.brands__row > *:last-child { border-right: 0; }
.brands__row > *:hover { opacity: 1; color: var(--ink); }
.brand-logo { font-size: 14px; letter-spacing: .14em; line-height: 1.2; }
.brand-logo .big { display: block; font-size: 22px; letter-spacing: .2em; font-weight: 600; }
.brand-logo--script { font-style: italic; font-size: 26px; letter-spacing: 0; }

/* ============================================================
   TEAM
   ============================================================ */
.team { background: var(--bg); }
.team__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}
.tcard { background: #fff; }
.tcard__img { aspect-ratio: 4/3.4; overflow: hidden; }
.tcard__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 600ms ease; }
.tcard:hover .tcard__img img { transform: scale(1.05); }
.tcard__name { padding: 18px 16px 6px; text-align: center; font-weight: 600; color: var(--ink); font-size: 15px; border-top: 1px solid var(--line); }
.tcard__role { text-align: center; font-size: 13px; color: var(--muted); }
.tcard__bio { padding: 16px 22px 14px; font-size: 13px; text-align: center; line-height: 1.7; color: var(--muted); }
.tcard__social {
  display: flex; justify-content: center; gap: 6px;
  padding: 6px 16px 18px;
}
.tcard__social a {
  width: 34px; height: 34px;
  display: grid; place-items: center;
  background: #ededed;
  color: var(--muted);
  transition: background var(--t), color var(--t);
}
.tcard__social a:hover { background: var(--brand); color: #fff; }
.tcard__social svg { width: 14px; height: 14px; }

.section__nav {
  display: flex; justify-content: flex-end; gap: 6px;
  margin: -32px 0 24px;
}
.section__nav button {
  width: 32px; height: 28px;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--muted);
  display: grid; place-items: center;
  transition: background var(--t), color var(--t), border-color var(--t);
}
.section__nav button:hover { background: var(--brand); color: #fff; border-color: var(--brand); }
.section__nav svg { width: 12px; height: 12px; }

/* ============================================================
   TESTIMONIAL
   ============================================================ */
.testimonial {
  background: #b9bdc4;
  padding: 90px 0 80px;
  position: relative;
  color: #fff;
  text-align: center;
}
.testimonial .container { max-width: 820px; }
.testimonial__quote-mark {
  width: 46px; height: 46px;
  margin: 0 auto 24px;
  color: #fff;
  opacity: .9;
}
.testimonial blockquote {
  margin: 0;
  font-family: var(--ff-quote);
  font-style: italic;
  font-size: 24px;
  line-height: 1.5;
  color: #fff;
}
.testimonial__divider {
  width: 60px; height: 1px;
  background: rgba(255,255,255,.6);
  margin: 28px auto 14px;
}
.testimonial__author { color: rgba(255,255,255,.9); font-size: 13px; letter-spacing: .04em; }
.testimonial__arrows {
  position: absolute; right: 32px; top: 32px;
  display: flex; gap: 6px;
}
.testimonial__arrows button {
  width: 30px; height: 26px;
  background: rgba(255,255,255,.18);
  color: #fff;
  border: 0;
  display: grid; place-items: center;
  transition: background var(--t);
}
.testimonial__arrows button:hover { background: rgba(255,255,255,.32); }
.testimonial__arrows svg { width: 12px; height: 12px; }

/* ============================================================
   TABS
   ============================================================ */
.tabs { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.tabs__nav {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-bottom: 1px solid var(--line);
}
.tabs__nav button {
  background: transparent;
  border: 0;
  padding: 22px 16px;
  font-size: 14px; font-weight: 600;
  color: var(--muted);
  border-right: 1px solid var(--line);
  border-bottom: 2px solid transparent;
  transition: color var(--t), border-color var(--t), background var(--t);
}
.tabs__nav button:last-child { border-right: 0; }
.tabs__nav button:hover { color: var(--ink); }
.tabs__nav button[aria-selected="true"] {
  color: var(--ink);
  border-bottom-color: var(--brand);
  background: var(--bg);
}
.tabs__panels { padding: 60px 0; background: var(--bg); }
.tab-panel { display: none; }
.tab-panel[aria-current="true"] { display: grid; grid-template-columns: 1fr 1.4fr; gap: 60px; align-items: center; }
.tab-panel__img { aspect-ratio: 4/3; overflow: hidden; }
.tab-panel__img img { width: 100%; height: 100%; object-fit: cover; }
.tab-panel__copy h3 { font-size: 26px; color: var(--ink); margin: 6px 0 14px; }

/* ============================================================
   WHY CHOOSE US
   ============================================================ */
.choose { background: var(--bg); position: relative; }
.choose__top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: end;
  margin-bottom: 60px;
}
.choose__top-img { aspect-ratio: 5/3; overflow: hidden; }
.choose__top-img img { width: 100%; height: 100%; object-fit: cover; }
.choose__top-copy h2 { margin-bottom: 14px; }
.choose__cta { display: flex; gap: 14px; margin-top: 22px; flex-wrap: wrap; }

.choose__features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px 50px;
  text-align: center;
  padding-top: 40px;
  border-top: 1px solid var(--line);
}
.feature h4 { color: var(--ink); font-size: 16px; letter-spacing: 0; text-transform: none; margin-bottom: 8px; }
.feature p { font-size: 14px; line-height: 1.7; margin: 0; }

/* ============================================================
   DUAL CTA
   ============================================================ */
.dual-cta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}
.cta-card {
  padding: 40px 38px 36px;
  background: #ededed;
  position: relative;
  overflow: hidden;
}
.cta-card h3 {
  color: var(--brand);
  font-size: 24px;
  font-weight: 600;
  line-height: 1.25;
  margin-bottom: 14px;
}
.cta-card p { font-size: 14px; margin-bottom: 24px; }
.cta-card.cta--dark {
  color: #fff;
  background-size: cover; background-position: center;
}
.cta-card.cta--dark::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(46,68,95,.85), rgba(46,68,95,.7));
}
.cta-card.cta--dark > * { position: relative; }
.cta-card.cta--dark h3 { color: #fff; }
.cta-card.cta--dark p { color: rgba(255,255,255,.9); }
.cta-card.cta--dark .btn { background: transparent; border-color: rgba(255,255,255,.7); color: #fff; }
.cta-card.cta--dark .btn:hover { background: rgba(255,255,255,.15); border-color: #fff; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--footer-bg);
  color: var(--footer-text);
  padding: 80px 0 30px;
  font-size: 14px;
}
.footer h5 {
  color: #fff;
  font-size: 13px; letter-spacing: .2em; text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 26px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--footer-line);
  position: relative;
}
.footer h5::after {
  content: ""; position: absolute; left: 0; bottom: -1px;
  width: 36px; height: 2px; background: var(--brand);
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1.4fr 2fr;
  gap: 60px;
}
.footer-about p { line-height: 1.8; color: #9ea3ab; margin-bottom: 24px; }
.footer-about .info-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.footer-about .info-list li {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 10px; align-items: start;
  font-size: 13px;
}
.footer-about .info-list svg { width: 16px; height: 16px; color: var(--brand); margin-top: 2px; }

.links-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 28px;
}
.links-cols a {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 4px 0;
  color: #b6b9bf;
  font-size: 13px;
}
.links-cols a:hover { color: var(--brand); }
.links-cols .caret { color: var(--brand); }

.posts { display: grid; gap: 22px; }
.post {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 16px;
  border-bottom: 1px solid var(--footer-line);
  padding-bottom: 20px;
}
.post:last-child { border-bottom: 0; }
.post__img { width: 60px; height: 60px; background-size: cover; background-position: center; }
.post__title { color: #d3d6db; font-size: 13px; line-height: 1.45; margin-bottom: 6px; }
.post__title:hover { color: var(--brand); }
.post__date { font-size: 11px; letter-spacing: .14em; color: var(--brand); text-transform: uppercase; font-weight: 600; }

/* Sub footer */
.subfooter {
  background: var(--footer-bg-2);
  color: #8a8e95;
  padding: 18px 0;
  font-size: 12px;
}
.subfooter .container {
  display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap;
}
.subfooter a { color: #8a8e95; }
.subfooter a:hover { color: var(--brand); }
.subfooter__right { display: flex; align-items: center; gap: 18px; }
.subfooter__socials { display: flex; gap: 10px; }
.subfooter__socials a { display: inline-flex; width: 28px; height: 28px; align-items: center; justify-content: center; }
.subfooter__socials svg { width: 14px; height: 14px; }

/* Back to top */
.to-top {
  position: fixed; right: 22px; bottom: 22px;
  width: 44px; height: 44px;
  background: var(--brand); color: #fff;
  border: 0;
  display: grid; place-items: center;
  border-radius: 2px;
  opacity: 0; pointer-events: none;
  transform: translateY(10px);
  transition: opacity var(--t), transform var(--t), background var(--t);
  z-index: 80;
}
.to-top.show { opacity: 1; pointer-events: auto; transform: translateY(0); }
.to-top:hover { background: var(--brand-700); }
.to-top svg { width: 16px; height: 16px; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
  .nav__list > li > a { padding: 12px 8px; font-size: 11px; letter-spacing: .08em; }
  .nav__caret { display: none; }
}
@media (max-width: 1024px) {
  .section { padding: 64px 0; }
  .hero__inner { padding: 90px 20px 140px; }
  .hero__inner h1 { font-size: 40px; }
  .welcome-grid { grid-template-columns: 1fr; gap: 40px; }
  .welcome-photos { max-width: 520px; }
  .family-birth, .immediate { grid-template-columns: 1fr; }
  .family-birth__img, .immediate__img { min-height: 360px; }
  .family-birth__copy, .immediate__copy { padding: 50px 36px; }
  .tab-panel[aria-current="true"] { grid-template-columns: 1fr; gap: 30px; }
  .choose__top { grid-template-columns: 1fr; gap: 30px; }
}

@media (max-width: 1024px) {
  .utility { display: none; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--line); padding: 12px 20px; box-shadow: var(--shadow-md); }
  .nav.open { display: block; }
  .nav__list { flex-direction: column; gap: 0; }
  .nav__list > li > a { padding: 14px 12px; border-bottom: 1px solid var(--line); width: 100%; }
  .nav-toggle { display: inline-flex; }
  .header { position: sticky; }
  .header .container { min-height: 70px; position: relative; }
  .brand__logo { height: 40px; }

  /* Mobile submenu — inline accordion */
  .nav__list > li { position: static; }
  .nav__list > li > a { display: inline-block; width: calc(100% - 50px); vertical-align: middle; }
  .nav__sub-toggle { display: inline-flex; vertical-align: middle; float: right; margin-top: 4px; }
  .nav__list > li.menu-item-has-children > a::after { display: none; }
  .nav__list .sub-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border-top: 0;
    background: var(--bg);
    padding: 0;
    width: 100%;
    min-width: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 300ms ease;
  }
  .nav__list > li.is-open > .sub-menu {
    max-height: 600px;
  }
  .nav__list .sub-menu a {
    padding: 12px 32px;
    border-bottom: 1px solid var(--line);
    text-transform: none;
    font-weight: 500;
    letter-spacing: 0;
  }

  .hero__viewport { min-height: 420px; }
  .hero__inner { padding: 60px 20px 130px; }
  .hero__inner h1 { font-size: 32px; }
  .hero-cards { margin-top: -60px; }
  .hero-cards__grid { grid-template-columns: 1fr; }
  .hcard { padding: 28px 24px; }

  .stats { padding: 60px 0; }
  .stats__grid { grid-template-columns: repeat(2, 1fr); gap: 36px 20px; }
  .stat__num { font-size: 36px; }

  .values-intro { grid-template-columns: 1fr; gap: 18px; padding: 40px 0; }
  .service-cards { grid-template-columns: 1fr; }
  .check-grid { grid-template-columns: 1fr; }
  .brands__row { grid-template-columns: repeat(2, 1fr); }
  .brands__row > * { border-bottom: 1px solid var(--line); }
  .team__grid { grid-template-columns: repeat(2, 1fr); }
  .section__nav { margin: 0 0 18px; justify-content: center; }
  .choose__features { grid-template-columns: 1fr; gap: 28px; }
  .dual-cta { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; gap: 40px; }
  .links-cols { grid-template-columns: 1fr 1fr; }
  .testimonial__arrows { position: static; justify-content: center; margin-top: 24px; }
  .testimonial blockquote { font-size: 20px; }

  .family-birth__copy, .immediate__copy { padding: 40px 24px; }
  .emerg-bar__text { font-size: 18px; text-align: center; }
}

@media (max-width: 520px) {
  h1 { font-size: 28px !important; }
  .hero__inner h1 { font-size: 28px; }
  .stats__grid { grid-template-columns: 1fr 1fr; }
  .brands__row { grid-template-columns: 1fr 1fr; }
  .team__grid { grid-template-columns: 1fr; }
  .tabs__nav { grid-template-columns: 1fr; }
  .tabs__nav button { border-right: 0; border-bottom: 1px solid var(--line); }
  .subfooter .container { justify-content: center; text-align: center; }
}

/* Reveal animation */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity 700ms ease, transform 700ms ease; }
.reveal.in { opacity: 1; transform: translateY(0); }

/* ============================================================
   BLOG (archive + single)
   ============================================================ */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.blog-grid--3 { grid-template-columns: repeat(3, 1fr); }
.bcard {
  background: #fff;
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  transition: transform var(--t), box-shadow var(--t), border-color var(--t);
}
.bcard:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: transparent; }
.bcard__media {
  display: block;
  aspect-ratio: 16/10;
  overflow: hidden;
  position: relative;
  background: var(--bg-muted);
}
.bcard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 600ms ease; }
.bcard:hover .bcard__media img { transform: scale(1.05); }
.bcard__placeholder { width: 100%; height: 100%; display: grid; place-items: center; color: var(--brand); opacity: .6; }
.bcard__tag {
  position: absolute; left: 14px; top: 14px;
  background: var(--brand); color: #fff;
  padding: 4px 12px;
  font-size: 10px; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
}
.bcard__body { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.bcard__meta {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  font-size: 11px; color: var(--muted); letter-spacing: .08em; text-transform: uppercase; font-weight: 600;
}
.bcard__meta svg { vertical-align: -2px; color: var(--brand); }
.bcard__title { margin: 4px 0 6px; font-size: 18px; line-height: 1.35; color: var(--ink); }
.bcard__title a { color: inherit; }
.bcard__title a:hover { color: var(--brand); }
.bcard__excerpt { margin: 0; font-size: 14px; line-height: 1.7; color: var(--muted); flex: 1; }
.bcard__more {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 8px;
  color: var(--brand);
  font-size: 11px; font-weight: 700;
  letter-spacing: .18em; text-transform: uppercase;
  align-self: flex-start;
}
.bcard__more:hover { color: var(--brand-700); }
.bcard__more:hover .arrow { transform: translateX(4px); }
.bcard__more .arrow { transition: transform var(--t); }

.blog-pagination {
  margin-top: 60px;
  display: flex;
  justify-content: center;
}
.blog-pagination .nav-links {
  display: flex;
  gap: 6px;
}
.blog-pagination .page-numbers {
  display: inline-flex;
  width: 40px; height: 40px;
  align-items: center; justify-content: center;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--ink);
  font-weight: 600;
  font-size: 14px;
  transition: background var(--t), color var(--t), border-color var(--t);
}
.blog-pagination .page-numbers:hover,
.blog-pagination .page-numbers.current {
  background: var(--brand);
  color: #fff;
  border-color: var(--brand);
}
.blog-pagination .dots { background: transparent; border: 0; }
.blog-pagination svg { vertical-align: middle; }

/* Blog single content */
.blog-content { font-size: 16px; line-height: 1.85; color: var(--ink-2); }
.blog-content > * + * { margin-top: 1em; }
.blog-content h2 { font-size: 26px; color: var(--ink); margin: 1.8em 0 .6em; padding-bottom: 12px; border-bottom: 1px solid var(--line); position: relative; }
.blog-content h2::after { content: ""; position: absolute; left: 0; bottom: -1px; width: 40px; height: 2px; background: var(--brand); }
.blog-content h3 { font-size: 20px; color: var(--ink); margin: 1.5em 0 .5em; }
.blog-content p { margin: 0 0 1em; }
.blog-content ul, .blog-content ol { padding-left: 1.4em; margin: 0 0 1em; }
.blog-content li { margin-bottom: .4em; }
.blog-content blockquote {
  margin: 1.4em 0;
  padding: 18px 24px;
  background: var(--bg);
  border-left: 4px solid var(--brand);
  font-style: italic;
  color: var(--ink);
}
.blog-content strong { color: var(--ink); }
.blog-content img { display: block; margin: 1.4em 0; width: 100%; height: auto; }
.blog-content a { color: var(--brand); text-decoration: underline; text-underline-offset: 2px; }

.blog-tags {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  display: flex; gap: 8px; flex-wrap: wrap; align-items: center;
  font-size: 13px;
}
.blog-tags strong { color: var(--ink); margin-right: 6px; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; }
.blog-tag {
  display: inline-block;
  padding: 5px 12px;
  background: var(--bg);
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
  transition: background var(--t), color var(--t);
}
.blog-tag:hover { background: var(--brand); color: #fff; border-color: var(--brand); }

.blog-share {
  margin-top: 18px;
  display: flex; gap: 8px; align-items: center;
  font-size: 13px;
}
.blog-share strong { color: var(--ink); margin-right: 6px; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; }
.blog-share a {
  width: 34px; height: 34px;
  display: grid; place-items: center;
  background: var(--bg);
  color: var(--muted);
  transition: background var(--t), color var(--t);
}
.blog-share a:hover { background: var(--brand); color: #fff; }

.blog-nav {
  margin-top: 50px;
  padding: 24px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}
.blog-nav__prev, .blog-nav__next {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--ink);
  font-size: 13px;
}
.blog-nav__next { grid-column: 2; justify-content: flex-end; text-align: right; }
.blog-nav__prev:hover, .blog-nav__next:hover { color: var(--brand); }
.blog-nav span { display: block; color: var(--muted); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 4px; }
.blog-nav strong { color: var(--ink); font-weight: 600; font-size: 14px; }
.blog-nav__prev svg, .blog-nav__next svg { color: var(--brand); flex: 0 0 14px; }

.related-posts {
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid var(--line);
}

@media (max-width: 1024px) {
  .blog-grid { grid-template-columns: repeat(2, 1fr); gap: 22px; }
}
@media (max-width: 640px) {
  .blog-grid { grid-template-columns: 1fr; }
  .blog-nav { grid-template-columns: 1fr; gap: 18px; }
  .blog-nav__next { grid-column: 1; justify-content: flex-start; text-align: left; }
}

/* ============================================================
   DOCTOR SINGLE PAGE
   ============================================================ */
.doctor-layout {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 50px;
  margin-top: -50px;
  position: relative;
  z-index: 2;
}
.doctor-aside { display: flex; flex-direction: column; gap: 22px; }
.doctor-photo {
  background: #fff;
  border: 1px solid var(--line);
  padding: 8px;
  box-shadow: var(--shadow-md);
}
.doctor-photo img { width: 100%; height: auto; display: block; aspect-ratio: 4/4.4; object-fit: cover; }
.doctor-photo__placeholder { aspect-ratio: 4/4.4; background: var(--bg-muted); display: grid; place-items: center; color: var(--muted); }

.doctor-info-card {
  background: #fff;
  border: 1px solid var(--line);
  padding: 22px 24px;
  font-size: 14px;
}
.dic-row {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}
.dic-row:last-of-type { border-bottom: 0; }
.dic-label { font-weight: 600; color: var(--ink); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; padding-top: 2px; }
.dic-social-icons { display: flex; gap: 6px; }
.dic-social-icons a {
  width: 30px; height: 30px;
  background: var(--bg-muted);
  display: grid; place-items: center;
  color: var(--muted);
  transition: background var(--t), color var(--t);
}
.dic-social-icons a:hover { background: var(--brand); color: #fff; }
.dic-cta { margin-top: 14px; padding-top: 18px; border-top: 1px solid var(--line); display: flex; gap: 8px; flex-wrap: wrap; }
.dic-cta .btn { flex: 1; justify-content: center; min-width: 120px; padding: 10px 14px; font-size: 10px; }

.doctor-main { display: flex; flex-direction: column; gap: 36px; padding-top: 30px; }

.dsec { background: #fff; border: 1px solid var(--line); padding: 32px 36px; }
.dsec__title {
  font-size: 20px;
  color: var(--ink);
  margin: 0 0 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
  position: relative;
}
.dsec__title::after {
  content: "";
  position: absolute; left: 0; bottom: -1px;
  width: 44px; height: 2px;
  background: var(--brand);
}

.dlist { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.dlist li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; font-size: 14px; line-height: 1.7; }
.dlist__dot {
  width: 18px; height: 18px;
  border-radius: 999px;
  background: var(--brand);
  display: grid; place-items: center;
  color: #fff;
  margin-top: 4px;
}
.dlist__dot--brand { background: var(--brand); }

.dchips { display: flex; flex-wrap: wrap; gap: 10px; }
.dchip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: var(--bg);
  border: 1px solid var(--line);
  font-size: 13px;
  color: var(--ink);
}
.dchip svg { color: var(--brand); }

@media (max-width: 1024px) {
  .doctor-layout { grid-template-columns: 1fr; gap: 30px; margin-top: -40px; }
  .doctor-aside { flex-direction: column; }
  .doctor-photo img { aspect-ratio: 16/9; }
  .doctor-main { padding-top: 0; }
  .dsec { padding: 24px 22px; }
}

/* ============================================================
   CONTACT PAGE (page-templates/contact.php)
   ============================================================ */
.contact-page {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}
.contact-form-side, .contact-map-side { min-height: 540px; }
.contact-form-side { padding: 60px 60px; background: #fff; }
.contact-map-side { background: var(--bg-muted); position: relative; }
.contact-map-side iframe { border: 0; width: 100%; height: 100%; display: block; min-height: 540px; }
.contact-form-side h2 { margin-bottom: 8px; }
.contact-form-side p.lead { color: var(--muted); margin-bottom: 28px; }

.cform { display: grid; gap: 16px; }
.cform__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.cform label { display: block; font-size: 12px; font-weight: 600; color: var(--ink); letter-spacing: .04em; text-transform: uppercase; margin-bottom: 6px; }
.cform input,
.cform textarea,
.cform select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  background: #fff;
  font-family: inherit;
  font-size: 14px;
  color: var(--ink);
  transition: border-color var(--t), box-shadow var(--t);
}
.cform input:focus,
.cform textarea:focus,
.cform select:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(14,124,139,.12);
}
.cform textarea { resize: vertical; min-height: 120px; }
.cform__submit { display: flex; justify-content: flex-start; }

.contact-quick {
  background: var(--bg);
  padding: 50px 0 30px;
}
.contact-quick__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.contact-quick__card {
  background: #fff;
  padding: 26px 24px;
  border: 1px solid var(--line);
  text-align: left;
}
.contact-quick__card .icon {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  background: var(--brand);
  color: #fff;
  margin-bottom: 14px;
}
.contact-quick__card .icon svg { width: 22px; height: 22px; }
.contact-quick__card h4 { margin: 0 0 6px; color: var(--ink); font-size: 14px; letter-spacing: .12em; text-transform: uppercase; }
.contact-quick__card p, .contact-quick__card a { margin: 0; font-size: 15px; color: var(--muted); line-height: 1.6; }
.contact-quick__card a { color: var(--ink); font-weight: 600; }
.contact-quick__card a:hover { color: var(--brand); }

@media (max-width: 1024px) {
  .contact-page { grid-template-columns: 1fr; }
  .contact-form-side { padding: 40px 28px; }
  .cform__row { grid-template-columns: 1fr; }
  .contact-quick__grid { grid-template-columns: 1fr; }
}

/* ============================================================
   CLINIC SINGLE PAGE
   ============================================================ */
.clinic-hero {
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-700) 100%);
  color: #fff;
  padding: 80px 0 90px;
  position: relative;
  overflow: hidden;
}
.clinic-hero::after {
  content: "";
  position: absolute; right: -80px; top: -80px;
  width: 360px; height: 360px;
  border-radius: 999px;
  background: rgba(255,255,255,.06);
}
.clinic-hero__icon {
  width: 64px; height: 64px;
  background: rgba(255,255,255,.16);
  display: grid; place-items: center;
  color: #fff;
  margin-bottom: 20px;
}
.clinic-hero__icon svg { width: 36px; height: 36px; }
.clinic-hero h1 { color: #fff; font-size: clamp(28px, 4vw, 44px); margin: 0; }
.clinic-hero .crumb { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; opacity: .85; margin-bottom: 14px; }
.clinic-hero .crumb a { color: #fff; }

.clinic-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 50px;
  margin-top: -40px;
  position: relative;
  z-index: 2;
}
.clinic-main { display: flex; flex-direction: column; gap: 36px; }
.clinic-main .dsec:first-child { padding-top: 36px; }
.clinic-aside { display: flex; flex-direction: column; gap: 22px; padding-top: 36px; }

.clinic-feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 10px;
}
.clinic-feature {
  display: flex;
  gap: 14px;
  padding: 16px;
  background: var(--bg);
  border-left: 3px solid var(--brand);
}
.clinic-feature__icon { width: 36px; height: 36px; flex: 0 0 36px; background: #fff; display: grid; place-items: center; color: var(--brand); }
.clinic-feature__icon svg { width: 18px; height: 18px; }
.clinic-feature h5 { margin: 0 0 4px; color: var(--ink); font-size: 14px; font-weight: 600; }
.clinic-feature p { margin: 0; font-size: 13px; color: var(--muted); line-height: 1.5; }

.clinic-doctors-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 10px;
}
.clinic-doc-card {
  background: #fff;
  border: 1px solid var(--line);
  padding: 20px;
  text-align: center;
}
.clinic-doc-card img { width: 90px; height: 90px; border-radius: 999px; object-fit: cover; margin: 0 auto 12px; }
.clinic-doc-card .placeholder { width: 90px; height: 90px; border-radius: 999px; background: var(--bg-muted); display: grid; place-items: center; margin: 0 auto 12px; color: var(--muted); }
.clinic-doc-card h5 { margin: 0 0 4px; font-size: 14px; color: var(--ink); }
.clinic-doc-card .role { font-size: 12px; color: var(--muted); }

.clinic-appointment-card {
  background: var(--brand);
  color: #fff;
  padding: 28px 26px;
}
.clinic-appointment-card h3 { color: #fff; font-size: 18px; margin: 0 0 10px; }
.clinic-appointment-card p { font-size: 13px; opacity: .9; margin: 0 0 18px; line-height: 1.6; }
.clinic-appointment-card .btn { width: 100%; justify-content: center; padding: 12px; background: #fff; color: var(--brand); border-color: #fff; }
.clinic-appointment-card .btn:hover { background: rgba(255,255,255,.9); color: var(--brand-700); }
.clinic-appointment-card .btn--ghost { background: transparent; border-color: rgba(255,255,255,.6); color: #fff; margin-top: 8px; }
.clinic-appointment-card .btn--ghost:hover { background: rgba(255,255,255,.15); color: #fff; }

@media (max-width: 1024px) {
  .clinic-layout { grid-template-columns: 1fr; gap: 0; margin-top: 0; padding-top: 30px; }
  .clinic-aside { padding-top: 0; }
  .clinic-feature-grid { grid-template-columns: 1fr; }
  .clinic-doctors-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) {
  .clinic-doctors-grid { grid-template-columns: 1fr; }
}
/* MD/PARK yama: fonksiyonel tıp bilgi maddeleri */
.mdpark-info-list {
    padding: 14px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}
.mdpark-info-list .progress__head {
    font-size: 15px;
    line-height: 1.6;
}
