/* ============================================================
   MediCare Plus — Medical Clinic Template
   Plain CSS3. No frameworks. No external images.
   ============================================================ */

/* ------------------------------------------------------------
   DESIGN SYSTEM / REBRAND
   To rebrand: change the variables below. --brand sets the
   primary color, --accent the secondary. Update --font-* to
   swap typefaces (also update the <link> in index.html head).
   ------------------------------------------------------------ */
:root {
  /* Colors */
  --brand:        #2563eb;  /* medical blue (primary)  */
  --brand-dark:   #1d4ed8;
  --accent:       #0ea5a4;  /* teal (accent)           */
  --ink:          #0f1f3d;  /* dark text               */
  --ink-soft:     #50607a;  /* muted text              */
  --bg:           #ffffff;  /* page background         */
  --bg-alt:       #f1f6fe;  /* soft alternate section  */
  --line:         #e3ebf6;  /* borders / dividers      */
  --white:        #ffffff;

  /* Gradients */
  --grad: linear-gradient(135deg, var(--brand) 0%, var(--accent) 100%);

  /* Typography */
  --font-head: 'Poppins', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;

  /* Effects */
  --radius:    18px;
  --radius-sm: 12px;
  --shadow-sm: 0 4px 16px rgba(15, 31, 61, .06);
  --shadow:    0 14px 40px rgba(15, 31, 61, .10);
  --shadow-lg: 0 24px 60px rgba(37, 99, 235, .18);
  --transition: .3s cubic-bezier(.4, 0, .2, 1);

  /* Layout */
  --container: 1180px;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.15; color: var(--ink); font-weight: 700; }
a  { color: inherit; text-decoration: none; }
ul { list-style: none; }
img, svg { display: block; max-width: 100%; }

/* ------------------------------------------------------------ LAYOUT HELPERS */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }

.section { padding: 90px 0; }
.section--alt { background: var(--bg-alt); }

.section__head { max-width: 680px; margin: 0 auto 56px; text-align: center; }
.section__title { font-size: clamp(1.7rem, 3.5vw, 2.6rem); margin: 12px 0; }
.section__sub  { color: var(--ink-soft); font-size: 1.05rem; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .82rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--brand);
  background: rgba(37, 99, 235, .08);
  padding: 6px 14px;
  border-radius: 999px;
}

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

.grid { display: grid; gap: 26px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

/* ------------------------------------------------------------ BUTTONS */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-head); font-weight: 600; font-size: .98rem;
  padding: 13px 26px; border-radius: 999px; border: 2px solid transparent;
  cursor: pointer; transition: var(--transition); white-space: nowrap;
}
.btn--lg { padding: 16px 34px; font-size: 1.02rem; }
.btn--block { width: 100%; }

.btn--primary { background: var(--grad); color: #fff; box-shadow: var(--shadow-lg); }
.btn--primary:hover { transform: translateY(-3px); box-shadow: 0 28px 64px rgba(37, 99, 235, .3); }

.btn--ghost { background: #fff; color: var(--brand); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--brand); transform: translateY(-3px); }

.btn--white { background: #fff; color: var(--brand); }
.btn--white:hover { transform: translateY(-3px); box-shadow: var(--shadow); }

.link-arrow { color: var(--brand); font-weight: 600; font-size: .92rem; transition: var(--transition); }
.link-arrow:hover { color: var(--accent); letter-spacing: .02em; }

.badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: #fff; color: var(--ink); font-weight: 600; font-size: .85rem;
  padding: 8px 16px; border-radius: 999px; box-shadow: var(--shadow-sm);
}

/* ------------------------------------------------------------ TOP BAR */
.topbar { background: var(--ink); color: #d7e2f5; font-size: .85rem; }
.topbar__inner { display: flex; justify-content: space-between; align-items: center; min-height: 42px; flex-wrap: wrap; gap: 6px; }
.topbar__left, .topbar__right { display: flex; align-items: center; gap: 20px; }
.topbar__item { display: inline-flex; align-items: center; gap: 6px; transition: var(--transition); }
.topbar__item:hover { color: #fff; }
.topbar__emergency { color: #fff; font-weight: 600; background: rgba(14, 165, 164, .25); padding: 4px 12px; border-radius: 999px; }

/* ------------------------------------------------------------ HEADER / NAV */
.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .92); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line); transition: var(--transition);
}
.header.scrolled { box-shadow: var(--shadow-sm); }
.header__inner { display: flex; align-items: center; justify-content: space-between; min-height: 76px; }

.logo { display: flex; align-items: center; gap: 10px; font-family: var(--font-head); font-weight: 700; font-size: 1.35rem; }
.logo__mark { display: grid; place-items: center; }
.logo__plus { color: var(--accent); }
.logo--light, .logo--light .logo__text { color: #fff; }

.nav { display: flex; align-items: center; gap: 34px; }
.nav__list { display: flex; gap: 28px; }
.nav__link { font-weight: 500; color: var(--ink-soft); position: relative; transition: var(--transition); }
.nav__link::after {
  content: ''; position: absolute; left: 0; bottom: -6px; width: 0; height: 2px;
  background: var(--grad); transition: var(--transition); border-radius: 2px;
}
.nav__link:hover { color: var(--brand); }
.nav__link:hover::after { width: 100%; }

/* Hamburger */
.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; }
.hamburger span { width: 26px; height: 3px; background: var(--ink); border-radius: 3px; transition: var(--transition); }
.hamburger.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ------------------------------------------------------------ HERO */
.hero {
  position: relative;
  background: radial-gradient(circle at 80% 10%, rgba(14,165,164,.10), transparent 45%),
              radial-gradient(circle at 10% 90%, rgba(37,99,235,.10), transparent 45%),
              var(--bg-alt);
  padding: 80px 0 130px;
  overflow: hidden;
}
.hero__inner { display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 40px; }
.hero__title { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 800; margin: 18px 0; }
.hero__text { color: var(--ink-soft); font-size: 1.12rem; max-width: 520px; margin-bottom: 30px; }
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 26px; }
.hero__trust { display: flex; gap: 22px; flex-wrap: wrap; color: var(--ink-soft); font-size: .92rem; font-weight: 500; }

/* Hero art */
.hero__art { position: relative; display: grid; place-items: center; min-height: 360px; }
.hero__blob {
  position: absolute; inset: 0; margin: auto; width: 340px; height: 340px;
  background: var(--grad); opacity: .14;
  border-radius: 42% 58% 60% 40% / 45% 45% 55% 55%;
  animation: morph 9s ease-in-out infinite;
}
@keyframes morph {
  0%,100% { border-radius: 42% 58% 60% 40% / 45% 45% 55% 55%; }
  50%     { border-radius: 60% 40% 38% 62% / 55% 60% 40% 45%; }
}
.hero__figure { position: relative; z-index: 1; filter: drop-shadow(0 20px 40px rgba(37,99,235,.2)); }

.hero__card {
  position: absolute; z-index: 2; display: flex; align-items: center; gap: 10px;
  background: #fff; padding: 12px 16px; border-radius: 14px; box-shadow: var(--shadow);
  font-size: .85rem;
}
.hero__card strong { display: block; color: var(--ink); }
.hero__card small { color: var(--ink-soft); }
.hero__card-emoji { font-size: 1.5rem; }
.hero__card--pulse { top: 18%; left: -4%; animation: float 4s ease-in-out infinite; }
.hero__card--doc   { bottom: 16%; right: -2%; animation: float 4s ease-in-out infinite 1.5s; }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

.hero__wave { position: absolute; bottom: -1px; left: 0; width: 100%; line-height: 0; }
.hero__wave svg { width: 100%; height: 80px; }

/* ------------------------------------------------------------ CARDS (shared) */
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px; box-shadow: var(--shadow-sm); transition: var(--transition);
}
.card:hover { transform: translateY(-8px); box-shadow: var(--shadow); border-color: rgba(37,99,235,.25); }

/* ------------------------------------------------------------ SERVICES */
.service__icon, .feature__icon {
  display: grid; place-items: center; width: 60px; height: 60px; font-size: 1.7rem;
  background: var(--bg-alt); border-radius: 16px; margin-bottom: 18px;
}
.service h3 { font-size: 1.2rem; margin-bottom: 8px; }
.service p { color: var(--ink-soft); font-size: .95rem; margin-bottom: 16px; }
.service { position: relative; overflow: hidden; }
.service::before {
  content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 4px;
  background: var(--grad); transform: scaleX(0); transform-origin: left; transition: var(--transition);
}
.service:hover::before { transform: scaleX(1); }

/* ------------------------------------------------------------ FEATURES */
.feature { text-align: center; padding: 30px 22px; }
.feature__icon { margin: 0 auto 18px; width: 68px; height: 68px; font-size: 2rem; }
.feature h3 { font-size: 1.15rem; margin-bottom: 8px; }
.feature p { color: var(--ink-soft); font-size: .93rem; }

/* ------------------------------------------------------------ DOCTORS */
.doctor { text-align: center; }
.doctor__avatar {
  width: 92px; height: 92px; border-radius: 50%; margin: 0 auto 18px;
  display: grid; place-items: center; color: #fff; font-family: var(--font-head);
  font-weight: 700; font-size: 1.7rem; letter-spacing: .04em;
}
.doctor__avatar--1 { background: linear-gradient(135deg, #2563eb, #0ea5a4); }
.doctor__avatar--2 { background: linear-gradient(135deg, #0ea5a4, #22c55e); }
.doctor__avatar--3 { background: linear-gradient(135deg, #6366f1, #2563eb); }
.doctor__avatar--4 { background: linear-gradient(135deg, #0ea5a4, #2563eb); }
.doctor h3 { font-size: 1.12rem; }
.doctor__spec { color: var(--accent); font-weight: 600; font-size: .92rem; margin-bottom: 14px; }
.doctor__social { display: flex; justify-content: center; gap: 10px; }
.doctor__social a {
  width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%;
  background: var(--bg-alt); transition: var(--transition); font-size: .95rem;
}
.doctor__social a:hover { background: var(--brand); transform: translateY(-3px); }

/* ------------------------------------------------------------ APPOINTMENT */
.appt { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; margin-bottom: 70px; }
.appt__info .section__title { text-align: left; }
.appt__list { margin-top: 24px; display: grid; gap: 12px; }
.appt__list li { color: var(--ink-soft); font-weight: 500; }

.appt__form { padding: 34px; }
.appt__form-title { font-size: 1.3rem; margin-bottom: 22px; }
.field { margin-bottom: 18px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field label { display: block; font-weight: 600; font-size: .88rem; margin-bottom: 7px; }
.field input, .field select {
  width: 100%; padding: 13px 15px; border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  font-family: var(--font-body); font-size: .96rem; color: var(--ink);
  background: #fff; transition: var(--transition);
}
.field input:focus, .field select:focus {
  outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(37,99,235,.12);
}
.field input.invalid, .field select.invalid { border-color: #ef4444; }
.error { color: #ef4444; font-size: .8rem; display: block; margin-top: 5px; min-height: 1em; }
.form-success { color: var(--accent); font-weight: 600; margin-top: 16px; text-align: center; }
.form-note { color: var(--ink-soft); font-size: .8rem; text-align: center; margin-top: 12px; }

/* ------------------------------------------------------------ STATS */
.stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
  background: var(--grad); border-radius: var(--radius); padding: 44px 30px;
  box-shadow: var(--shadow-lg);
}
.stat { text-align: center; color: #fff; }
.stat__num { display: block; font-family: var(--font-head); font-weight: 800; font-size: 2.6rem; line-height: 1; }
.stat__label { display: block; margin-top: 8px; font-size: .92rem; opacity: .9; }

/* ------------------------------------------------------------ TESTIMONIALS */
.testimonial { display: flex; flex-direction: column; gap: 14px; }
.testimonial__stars { color: #f59e0b; letter-spacing: 2px; font-size: 1.05rem; }
.testimonial blockquote { color: var(--ink-soft); font-style: italic; font-size: .98rem; }
.testimonial figcaption { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.testimonial__avatar {
  width: 46px; height: 46px; border-radius: 50%; background: var(--grad); color: #fff;
  display: grid; place-items: center; font-family: var(--font-head); font-weight: 700; font-size: .9rem;
}
.testimonial figcaption strong { display: block; font-family: var(--font-head); font-size: .95rem; }
.testimonial figcaption small { color: var(--ink-soft); }

/* ------------------------------------------------------------ CTA STRIP */
.cta-strip { background: var(--ink); color: #fff; padding: 60px 0; }
.cta-strip__inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.cta-strip h2 { color: #fff; font-size: clamp(1.5rem, 3vw, 2.1rem); }
.cta-strip p { color: #c3d2ec; margin-top: 8px; }

/* ------------------------------------------------------------ FOOTER */
.footer { background: #0a1730; color: #b6c4dd; padding-top: 64px; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 36px; padding-bottom: 48px; }
.footer__brand p { margin: 16px 0 18px; font-size: .92rem; max-width: 300px; }
.footer__social { display: flex; gap: 10px; }
.footer__social a {
  width: 40px; height: 40px; display: grid; place-items: center; border-radius: 10px;
  background: rgba(255,255,255,.08); transition: var(--transition);
}
.footer__social a:hover { background: var(--brand); transform: translateY(-3px); }
.footer__col h4 { color: #fff; font-size: 1.02rem; margin-bottom: 18px; }
.footer__col ul { display: grid; gap: 11px; }
.footer__col a { font-size: .92rem; transition: var(--transition); }
.footer__col a:hover { color: #fff; padding-left: 4px; }
.footer__contact li { font-size: .9rem; line-height: 1.5; }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 22px 0; }
.footer__bottom-inner { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; font-size: .86rem; }
.footer__links a:hover { color: #fff; }

/* ------------------------------------------------------------ BACK TO TOP */
.to-top {
  position: fixed; bottom: 26px; right: 26px; z-index: 90;
  width: 48px; height: 48px; border-radius: 50%; border: none; cursor: pointer;
  background: var(--grad); color: #fff; font-size: 1.3rem; box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translateY(20px); transition: var(--transition);
}
.to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { transform: translateY(-4px); }

/* ------------------------------------------------------------ SCROLL REVEAL */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
/* Fallback: if JS disabled, show everything */
.no-js .reveal { opacity: 1; transform: none; }

/* ------------------------------------------------------------ RESPONSIVE */
@media (max-width: 992px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .hero__inner { grid-template-columns: 1fr; text-align: center; }
  .hero__content { order: 2; }
  .hero__art { order: 1; min-height: 300px; }
  .hero__text { margin-left: auto; margin-right: auto; }
  .hero__actions, .hero__trust { justify-content: center; }
  .appt { grid-template-columns: 1fr; }
  .appt__info .section__title { text-align: center; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  /* Mobile nav */
  .nav {
    position: fixed; top: 0; right: -100%; height: 100vh; width: min(78%, 320px);
    background: #fff; flex-direction: column; align-items: flex-start; justify-content: flex-start;
    padding: 100px 32px 32px; gap: 22px; box-shadow: -10px 0 40px rgba(0,0,0,.12);
    transition: right .35s ease; z-index: 99;
  }
  .nav.open { right: 0; }
  .nav__list { flex-direction: column; gap: 18px; width: 100%; }
  .nav__link { font-size: 1.1rem; }
  .nav__cta { width: 100%; }
  .hamburger { display: flex; z-index: 100; }

  .grid--3, .grid--4 { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 30px 16px; }
  .field-row { grid-template-columns: 1fr; }
  .section { padding: 64px 0; }
  .cta-strip__inner { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  .footer__grid { grid-template-columns: 1fr; }
  .topbar__left { gap: 12px; }
  .hero__card { display: none; }
}

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

/* ============================================================
   MULTI-PAGE ADDITIONS
   Appended styles for inner pages (services, doctors, about,
   appointment). Built on the same medical blue/teal theme.
   ============================================================ */

/* ------------------------------------------------------------ ACTIVE NAV STATE */
.nav__link.active { color: var(--brand); font-weight: 600; }
.nav__link.active::after { width: 100%; }

/* ------------------------------------------------------------ PAGE BANNER + BREADCRUMB */
.page-banner {
  position: relative;
  background: radial-gradient(circle at 85% 15%, rgba(14,165,164,.12), transparent 45%),
              radial-gradient(circle at 5% 95%, rgba(37,99,235,.12), transparent 45%),
              var(--bg-alt);
  border-bottom: 1px solid var(--line);
  padding: 64px 0 70px;
  text-align: center;
  overflow: hidden;
}
.page-banner__inner { max-width: 760px; margin: 0 auto; }
.page-banner__title {
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 800;
  margin: 14px 0 14px;
}
.page-banner__sub { color: var(--ink-soft); font-size: 1.08rem; max-width: 620px; margin: 0 auto 22px; }

.breadcrumb {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .9rem; font-weight: 500; color: var(--ink-soft);
  background: rgba(255,255,255,.7); border: 1px solid var(--line);
  padding: 8px 18px; border-radius: 999px;
}
.breadcrumb a { color: var(--brand); transition: var(--transition); }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb__sep { color: var(--line); }
.breadcrumb [aria-current="page"] { color: var(--ink); }

/* ------------------------------------------------------------ HOW IT WORKS / STEPS */
.step {
  position: relative; text-align: center;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 40px 24px 30px; box-shadow: var(--shadow-sm); transition: var(--transition);
}
.step:hover { transform: translateY(-8px); box-shadow: var(--shadow); border-color: rgba(37,99,235,.25); }
.step__num {
  display: grid; place-items: center; width: 54px; height: 54px; margin: 0 auto 18px;
  background: var(--grad); color: #fff; border-radius: 50%;
  font-family: var(--font-head); font-weight: 700; font-size: 1.4rem;
  box-shadow: var(--shadow-lg);
}
.step h3 { font-size: 1.12rem; margin-bottom: 8px; }
.step p { color: var(--ink-soft); font-size: .93rem; }

/* ------------------------------------------------------------ DOCTOR PROFILES (doctors page) */
.doctor-profile { text-align: center; display: flex; flex-direction: column; }
.doctor-profile .doctor__avatar { width: 86px; height: 86px; font-size: 1.6rem; }
.doctor-profile h3 { font-size: 1.18rem; }
.doctor-profile__meta {
  text-align: left; margin: 16px 0 14px; display: grid; gap: 7px;
  font-size: .88rem; color: var(--ink-soft);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  padding: 16px 0;
}
.doctor-profile__meta strong { color: var(--ink); font-weight: 600; }
.doctor-profile__bio { color: var(--ink-soft); font-size: .92rem; margin-bottom: 20px; }
.doctor-profile .btn { margin-top: auto; }

/* ------------------------------------------------------------ VALUE / ACCREDITATION CARDS (about page) */
.value h3, .accred h3 { font-size: 1.15rem; margin-bottom: 8px; }
.value p, .accred p { color: var(--ink-soft); font-size: .93rem; }
.accred { text-align: center; }
.accred__icon {
  display: grid; place-items: center; width: 64px; height: 64px; margin: 0 auto 16px;
  font-size: 1.9rem; background: var(--bg-alt); border-radius: 16px;
}

/* ------------------------------------------------------------ ABOUT — SPLIT / STORY */
.split { display: grid; grid-template-columns: .9fr 1.1fr; gap: 50px; align-items: center; }
.split__body .section__title { margin-bottom: 14px; }
.split__body p { color: var(--ink-soft); margin-bottom: 16px; }
.split__media { display: grid; place-items: center; }
.about-art {
  position: relative; display: grid; place-items: center;
  width: 100%; min-height: 320px;
}
.about-art .hero__blob { width: 300px; height: 300px; }
.about-art svg { position: relative; z-index: 1; filter: drop-shadow(0 20px 40px rgba(37,99,235,.2)); }

/* ------------------------------------------------------------ APPOINTMENT — INFO / EMERGENCY / CONTACT */
.appt .section { padding: 0; }
.emergency-box {
  display: flex; align-items: flex-start; gap: 14px; margin-top: 28px;
  background: rgba(239, 68, 68, .07); border: 1px solid rgba(239, 68, 68, .25);
  border-radius: var(--radius-sm); padding: 18px 20px;
}
.emergency-box__icon { font-size: 1.6rem; line-height: 1; }
.emergency-box strong { display: block; color: var(--ink); margin-bottom: 4px; }
.emergency-box p { color: var(--ink-soft); font-size: .9rem; margin: 0; }
.emergency-box a { color: #ef4444; font-weight: 600; }

.info-card { text-align: left; }
.info-card h3 { font-size: 1.15rem; margin-bottom: 14px; }
.info-card p { color: var(--ink-soft); font-size: .93rem; }
.hours-list, .contact-list { display: grid; gap: 10px; }
.hours-list li {
  display: flex; justify-content: space-between; gap: 12px;
  font-size: .9rem; color: var(--ink-soft);
  padding-bottom: 8px; border-bottom: 1px dashed var(--line);
}
.hours-list li:last-child { border-bottom: none; padding-bottom: 0; }
.hours-list li span:last-child { color: var(--ink); font-weight: 600; }
.contact-list li { font-size: .92rem; color: var(--ink-soft); }
.contact-list a { color: var(--brand); transition: var(--transition); }
.contact-list a:hover { color: var(--accent); }
.map-placeholder {
  margin-top: 16px; display: grid; place-items: center; text-align: center;
  background: var(--bg-alt); border: 1px dashed var(--line); border-radius: var(--radius-sm);
  padding: 24px 18px; color: var(--ink-soft); font-size: .85rem; font-weight: 500;
}

/* ------------------------------------------------------------ RESPONSIVE (multi-page) */
@media (max-width: 992px) {
  .split { grid-template-columns: 1fr; text-align: center; }
  .split__body .section__title { text-align: center; }
  .doctor-profile__meta { text-align: center; }
}

@media (max-width: 768px) {
  .page-banner { padding: 48px 0 52px; }
  .grid--4 .step, .grid--4 .accred { } /* inherit single-column from base grid rules */
}

/* ------------------------------------------------------------ PHOTO HELPER
   Turns gradient/solid placeholders into real photo areas while
   keeping the calm theme, rounded corners, and hover effects. */
.has-photo {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* Hero photo block — replaces the CSS/SVG art with a real image */
.hero__photo {
  position: relative; z-index: 1;
  width: 100%; max-width: 460px; aspect-ratio: 4 / 3;
  border-radius: 28px; box-shadow: var(--shadow-lg);
  border: 6px solid #fff;
}

/* About / story split photo */
.about-photo {
  width: 100%; min-height: 320px; aspect-ratio: 4 / 3;
  border-radius: var(--radius); box-shadow: var(--shadow-lg);
  border: 6px solid #fff;
}

/* Why-us / section visuals (two-up media) */
.media-split {
  display: grid; grid-template-columns: 1fr 1fr; gap: 26px;
  margin-top: 48px;
}
.media-photo {
  width: 100%; aspect-ratio: 16 / 11;
  border-radius: var(--radius); box-shadow: var(--shadow);
  border: 1px solid var(--line); transition: var(--transition);
}
.media-photo:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
@media (max-width: 768px) {
  .media-split { grid-template-columns: 1fr; }
}

/* Doctor avatar as real photo — circle stays, initials hidden */
.doctor__avatar.has-photo {
  color: transparent; font-size: 0;
  border: 4px solid #fff; box-shadow: var(--shadow-sm);
}
