/* ═══════════════════════════════════════════
   PREMIUM MEDLINE — Blue/Red Medical Design
   Primary: #1B4FA8  Accent: #E02B2B
   Light: #F0F5FF    Dark: #0D1B3E
════════════════════════════════════════════ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

:root {
  --blue:       #1B4FA8;
  --blue-dark:  #0D1B3E;
  --blue-mid:   #2563EB;
  --blue-light: #EFF6FF;
  --blue-pale:  #F0F5FF;
  --red:        #E02B2B;
  --red-dark:   #b81e1e;
  --red-light:  #FFF0F0;
  --white:      #ffffff;
  --gray-50:    #F8FAFC;
  --gray-100:   #F1F5F9;
  --gray-200:   #E2E8F0;
  --gray-500:   #64748B;
  --gray-700:   #334155;
  --gray-900:   #0F172A;
  --border:     #E2E8F0;
  --shadow:     0 4px 24px rgba(27,79,168,0.10);
  --shadow-lg:  0 12px 48px rgba(27,79,168,0.16);
  --radius:     10px;
  --radius-lg:  16px;
  --transition: 0.28s cubic-bezier(0.25,0.8,0.25,1);
}

body {
  font-family: 'Inter', sans-serif;
  background: var(--white);
  color: var(--gray-900);
  line-height: 1.7;
  font-size: 15px;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a   { text-decoration: none; color: inherit; }
ul  { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 30px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.5px;
  transition: var(--transition);
  white-space: nowrap;
  cursor: pointer;
  border: 2px solid transparent;
}
.btn-red { background: var(--red); color: var(--white); }
.btn-red:hover { background: var(--red-dark); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(224,43,43,0.35); }

.btn-outline-blue { background: transparent; border-color: var(--white); color: var(--white); }
.btn-outline-blue:hover { background: var(--white); color: var(--blue); }

.btn-sm { padding: 9px 20px; font-size: 12px; }
.btn-full { width: 100%; }

/* ── Section base ── */
.section { padding: 90px 0; }
.section-header { text-align: center; max-width: 620px; margin: 0 auto 56px; }
.eyebrow {
  font-size: 11px; font-weight: 700; letter-spacing: 3px;
  text-transform: uppercase; color: var(--red); margin-bottom: 10px;
}
.section-title {
  font-family: 'Raleway', sans-serif;
  font-size: clamp(26px, 3.5vw, 40px);
  font-weight: 800;
  color: var(--blue-dark);
  line-height: 1.2;
  margin-bottom: 14px;
}
.section-desc { color: var(--gray-500); font-size: 15px; line-height: 1.75; }

/* ══════════════════════════════════════
   NAVBAR
══════════════════════════════════════ */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 16px 0;
  transition: background var(--transition), padding var(--transition), box-shadow var(--transition);
}
.navbar.scrolled {
  background: var(--white); padding: 10px 0;
  box-shadow: 0 2px 16px rgba(27,79,168,0.12);
  border-bottom: 2px solid var(--blue-light);
}
.navbar__inner { display: flex; align-items: center; gap: 32px; }

.navbar__logo { display: flex; align-items: center; gap: 10px; }
.navbar__logo img { height: 72px; width: auto; }
.navbar__brand-text { display: flex; flex-direction: column; }
.navbar__brand-name {
  font-family: 'Raleway', sans-serif; font-weight: 800;
  font-size: 16px; color: var(--white); line-height: 1;
  transition: color var(--transition);
}
.navbar__brand-city {
  font-size: 11px; font-weight: 500; color: rgba(255,255,255,0.7);
  letter-spacing: 1px; transition: color var(--transition);
}
.navbar.scrolled .navbar__brand-name { color: var(--blue-dark); }
.navbar.scrolled .navbar__brand-city { color: var(--gray-500); }

.navbar__links { display: flex; align-items: center; gap: 28px; flex: 1; }
.navbar__links a {
  font-size: 13px; font-weight: 600; color: rgba(255,255,255,0.85);
  transition: color var(--transition); position: relative; padding-bottom: 3px;
}
.navbar__links a::after {
  content: ''; position: absolute; bottom: 0; left: 0;
  width: 0; height: 2px; background: var(--red);
  transition: width var(--transition);
}
.navbar__links a:hover { color: var(--white); }
.navbar__links a:hover::after { width: 100%; }
.navbar.scrolled .navbar__links a { color: var(--gray-700); }
.navbar.scrolled .navbar__links a:hover { color: var(--blue); }

.navbar__right { display: flex; align-items: center; gap: 16px; margin-left: auto; }

.lang-switcher { display: flex; align-items: center; gap: 6px; }
.lang-switcher span { color: rgba(255,255,255,0.4); font-size: 11px; }
.navbar.scrolled .lang-switcher span { color: var(--gray-200); }
.lang-btn { font-size: 11px; font-weight: 700; color: rgba(255,255,255,0.6); transition: color var(--transition); }
.lang-btn.active, .lang-btn:hover { color: var(--red); }
.navbar.scrolled .lang-btn { color: var(--gray-500); }
.navbar.scrolled .lang-btn.active, .navbar.scrolled .lang-btn:hover { color: var(--red); }

.navbar__cta { padding: 10px 22px; font-size: 12px; }

.burger { display: none; flex-direction: column; gap: 5px; padding: 4px; }
.burger span { display: block; width: 22px; height: 2px; background: var(--white); border-radius: 2px; transition: var(--transition); }
.navbar.scrolled .burger span { background: var(--blue-dark); }
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ══════════════════════════════════════
   HERO
══════════════════════════════════════ */
.hero {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue) 60%, #2563EB 100%);
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 80px;
}

.hero__shapes { position: absolute; inset: 0; pointer-events: none; }
.shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.07;
  background: var(--white);
}
.shape-1 { width: 600px; height: 600px; top: -200px; right: -100px; }
.shape-2 { width: 300px; height: 300px; bottom: 50px; left: -80px; }
.shape-3 { width: 150px; height: 150px; top: 40%; right: 30%; background: var(--red); opacity: 0.12; }

.hero__content {
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
  padding: 80px 24px;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 30px;
  padding: 6px 16px;
  font-size: 12px;
  font-weight: 600;
  color: rgba(255,255,255,0.9);
  letter-spacing: 0.5px;
  margin-bottom: 20px;
}
.hero__badge::before { content: '🏥'; font-size: 14px; }

.hero__title {
  font-family: 'Raleway', sans-serif;
  font-size: clamp(32px, 5vw, 58px);
  font-weight: 800;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 20px;
}
.hero__title span { color: var(--red); }

.hero__subtitle {
  font-size: 16px; color: rgba(255,255,255,0.8);
  line-height: 1.75; margin-bottom: 36px; max-width: 500px;
}

.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 52px; }

.hero__stats {
  display: flex; gap: 0; flex-wrap: wrap;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.stat {
  flex: 1; padding: 20px 24px; text-align: center;
  border-right: 1px solid rgba(255,255,255,0.12);
  min-width: 90px;
}
.stat:last-child { border-right: none; }
.stat__num {
  display: block;
  font-family: 'Raleway', sans-serif;
  font-size: 28px; font-weight: 800;
  color: var(--white); line-height: 1; margin-bottom: 4px;
}
.stat__label { display: block; font-size: 11px; color: rgba(255,255,255,0.6); letter-spacing: 0.5px; }

/* Hero cards */
.hero__visual { display: flex; flex-direction: column; gap: 16px; }
.hero__card {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  transition: var(--transition);
  cursor: default;
}
.hero__card:hover { background: rgba(255,255,255,0.16); transform: translateX(6px); }
.hero__card-icon { font-size: 28px; flex-shrink: 0; }
.hero__card p { font-weight: 600; color: var(--white); font-size: 15px; margin-bottom: 2px; }
.hero__card span { font-size: 12px; color: rgba(255,255,255,0.65); }
.hero__card--main { border-left: 3px solid var(--red); }
.hero__card--secondary { border-left: 3px solid #60A5FA; margin-left: 24px; }
.hero__card--third { border-left: 3px solid #34D399; }

/* ══════════════════════════════════════
   ABOUT
══════════════════════════════════════ */
.about { background: var(--gray-50); }
.about__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.about__text .eyebrow { text-align: left; }
.about__text .section-title { text-align: left; }
.about__desc { color: var(--gray-500); margin-bottom: 14px; line-height: 1.8; }
.about__features { margin-top: 24px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.about__feat { display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 500; color: var(--gray-700); }
.feat-icon { color: var(--red); font-size: 12px; font-weight: 700; flex-shrink: 0; }

.about__visual { position: relative; }
.about__img-main {
  width: 100%; padding-bottom: 110%;
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
}
.about__img-main img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; display: block;
}
.about__stat-card {
  position: absolute;
  background: var(--white);
  border-radius: var(--radius);
  padding: 16px 22px;
  box-shadow: var(--shadow-lg);
  text-align: center;
  border-top: 3px solid var(--blue);
}
.about__stat-card--2 { top: 32px; right: -24px; border-top-color: var(--red); }

.about__photo-card {
  position: absolute;
  bottom: 32px; left: -24px;
  width: 200px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 3px solid var(--white);
}
.about__photo-card img { width: 100%; height: 140px; object-fit: cover; display: block; }
.big-num { display: block; font-family: 'Raleway', sans-serif; font-size: 32px; font-weight: 800; color: var(--blue-dark); }
.about__stat-card span:last-child { font-size: 12px; color: var(--gray-500); }

/* ══════════════════════════════════════
   SERVICES
══════════════════════════════════════ */
.services { background: var(--white); }
.services__grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 24px; }
.services__grid .svc-card { grid-column: span 2; }
/* last 2 of 8: center the pair by placing at cols 2-4 and 4-6 */
.services__grid .svc-card:nth-last-child(2):nth-child(3n+1) { grid-column: 2 / 4; }
.services__grid .svc-card:nth-last-child(1):nth-child(3n+2)  { grid-column: 4 / 6; }

@media (max-width: 1024px) {
  .services__grid .svc-card { grid-column: span 1; }
  .services__grid .svc-card:nth-last-child(2):nth-child(3n+1) { grid-column: auto; }
  .services__grid .svc-card:nth-last-child(1):nth-child(3n+2) { grid-column: auto; }
}

.svc-card {
  background: var(--white);
  border: 3px solid #0f172a;
  border-radius: var(--radius-lg);
  padding: 40px 28px 36px;
  position: relative;
  transition: var(--transition);
  overflow: hidden;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.svc-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-5px); border-color: var(--blue-light); }

/* even cards = blue */
.svc-card:nth-child(even) {
  background: var(--blue-dark);
  border: none;
}
.svc-card:nth-child(even) h3 { color: var(--white); }
.svc-card:nth-child(even) p  { color: rgba(255,255,255,0.65); }
.svc-card:nth-child(even) .svc-card__num { color: rgba(255,255,255,0.07); }

/* number as background watermark */
.svc-card__num {
  font-family: 'Raleway', sans-serif;
  font-size: 100px; font-weight: 800;
  color: rgba(27,79,168,0.07);
  line-height: 1;
  position: absolute;
  top: 12px; left: 50%;
  transform: translateX(-50%);
  pointer-events: none;
  user-select: none;
  z-index: 0;
}
.svc-card__icon {
  font-size: 40px;
  margin-bottom: 14px;
  position: relative; z-index: 1;
}
.svc-card h3 {
  font-size: 17px; font-weight: 700;
  color: var(--blue-dark); margin-bottom: 10px;
  position: relative; z-index: 1;
}
.svc-card p {
  font-size: 13px; color: var(--gray-500);
  line-height: 1.65;
  position: relative; z-index: 1;
}

/* ══════════════════════════════════════
   WHY US
══════════════════════════════════════ */
.why-us {
  background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue) 100%);
  padding: 64px 0;
}
.why-us__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.why-item { text-align: center; padding: 24px 16px; }
.why-item__icon { font-size: 36px; margin-bottom: 14px; }
.why-item h4 { font-family: 'Raleway', sans-serif; font-size: 17px; font-weight: 700; color: var(--white); margin-bottom: 10px; }
.why-item p { font-size: 13px; color: rgba(255,255,255,0.65); line-height: 1.65; }

/* ══════════════════════════════════════
   DOCTORS
══════════════════════════════════════ */
.doctors { background: var(--gray-50); }
.doctors__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

.doc-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1.5px solid var(--border);
  transition: var(--transition);
}
.doc-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-5px); }

.doc-card__photo {
  background: var(--blue-pale);
  display: flex; align-items: center; justify-content: center;
  aspect-ratio: 1;
  padding: 32px;
}
.doc-card__photo svg { width: 80px; height: 80px; }
.doc-card__info { padding: 20px 20px 24px; }
.doc-card__info h3 { font-size: 16px; font-weight: 700; color: var(--blue-dark); margin-bottom: 5px; }
.doc-spec { font-size: 12px; font-weight: 600; color: var(--red); letter-spacing: 0.5px; margin-bottom: 6px; }
.doc-exp { font-size: 12px; color: var(--gray-500); margin-bottom: 16px; }

/* ══════════════════════════════════════
   PRICES
══════════════════════════════════════ */
.prices { background: var(--white); }
.prices__tabs { display: flex; justify-content: center; gap: 8px; margin-bottom: 36px; flex-wrap: wrap; }
.ptab {
  padding: 10px 26px; border-radius: 30px;
  font-size: 13px; font-weight: 600; color: var(--gray-500);
  border: 1.5px solid var(--border); background: var(--white);
  transition: var(--transition);
}
.ptab:hover { border-color: var(--blue); color: var(--blue); }
.ptab.active { background: var(--blue); border-color: var(--blue); color: var(--white); }

.prices__wrap { max-width: 720px; margin: 0 auto; }
.ptable {
  display: none; width: 100%; border-collapse: collapse;
  background: var(--white); border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow);
  border: 1.5px solid var(--border);
}
.ptable.active { display: table; }
.ptable thead tr { background: var(--blue-dark); }
.ptable thead th {
  padding: 16px 24px; text-align: left;
  font-size: 11px; font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase; color: rgba(255,255,255,0.8);
}
.ptable thead th:last-child { text-align: right; }
.ptable tbody tr { border-bottom: 1px solid var(--border); transition: background var(--transition); }
.ptable tbody tr:last-child { border-bottom: none; }
.ptable tbody tr:hover { background: var(--blue-pale); }
.ptable tbody td { padding: 16px 24px; font-size: 14px; color: var(--gray-700); }
.ptable tbody td:last-child {
  text-align: right; font-weight: 700;
  color: var(--blue); font-family: 'Raleway', sans-serif; font-size: 16px;
}
.prices__note { text-align: center; margin-top: 20px; font-size: 13px; color: var(--gray-500); font-style: italic; }

/* ══════════════════════════════════════
   REVIEWS
══════════════════════════════════════ */
.reviews { background: var(--gray-50); }
.reviews__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.review-card {
  background: var(--white); border-radius: var(--radius-lg);
  padding: 32px 28px; border: 1.5px solid var(--border);
  transition: var(--transition);
}
.review-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.review-card__stars { color: #F59E0B; font-size: 16px; letter-spacing: 2px; margin-bottom: 16px; }
.review-card__text { font-size: 14px; color: var(--gray-700); line-height: 1.75; margin-bottom: 24px; font-style: italic; }
.review-card__author { display: flex; align-items: center; gap: 12px; }
.review-card__av {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--blue); color: var(--white);
  font-family: 'Raleway', sans-serif; font-weight: 700; font-size: 16px;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.review-card__name { font-size: 14px; font-weight: 600; color: var(--blue-dark); }
.review-card__dept { font-size: 12px; color: var(--red); }

/* ══════════════════════════════════════
   CONTACT
══════════════════════════════════════ */
.contact { background: var(--white); }
.contact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: start; }
.contact__info .eyebrow, .contact__info .section-title { text-align: left; }
.contact__desc { color: var(--gray-500); line-height: 1.8; margin-bottom: 32px; }
.contact__items { display: flex; flex-direction: column; gap: 20px; }
.contact__item { display: flex; align-items: flex-start; gap: 14px; }
.ci-icon { font-size: 20px; flex-shrink: 0; margin-top: 2px; }
.ci-label { font-size: 11px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--blue); margin-bottom: 3px; }
.ci-val { font-size: 14px; color: var(--gray-700); line-height: 1.5; }
a.ci-val:hover { color: var(--red); }

.contact__form {
  background: var(--gray-50); border-radius: var(--radius-lg);
  padding: 40px 36px; border: 1.5px solid var(--border);
  box-shadow: var(--shadow);
}
.contact__form h3 {
  font-family: 'Raleway', sans-serif; font-size: 22px; font-weight: 800;
  color: var(--blue-dark); margin-bottom: 28px;
}
.fg { margin-bottom: 18px; }
.fg label {
  display: block; font-size: 11px; font-weight: 700;
  letter-spacing: 1px; text-transform: uppercase;
  color: var(--blue); margin-bottom: 7px;
}
.fg input, .fg select, .fg textarea {
  width: 100%; padding: 12px 14px;
  border: 1.5px solid var(--border); border-radius: var(--radius);
  background: var(--white); font-family: 'Inter', sans-serif;
  font-size: 14px; color: var(--gray-900);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none; appearance: none;
}
.fg input:focus, .fg select:focus, .fg textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(27,79,168,0.10);
}
.fg textarea { resize: vertical; min-height: 100px; }
.fg--check { display: flex; align-items: flex-start; gap: 10px; }
.fg--check input[type="checkbox"] { width: 17px; height: 17px; min-width: 17px; accent-color: var(--blue); margin-top: 3px; cursor: pointer; }
.fg--check label { font-size: 12px; letter-spacing: 0; text-transform: none; font-weight: 400; color: var(--gray-500); line-height: 1.6; margin-bottom: 0; }
.form-success {
  display: none; margin-top: 14px; padding: 12px 18px;
  background: var(--blue-pale); border: 1px solid var(--blue);
  border-radius: var(--radius); color: var(--blue);
  font-size: 14px; text-align: center;
}
.form-success.show { display: block; }

/* ══════════════════════════════════════
   SUCCESS POPUP
══════════════════════════════════════ */
.popup-overlay {
  display: none;
  position: fixed; inset: 0; z-index: 2000;
  background: rgba(13,27,62,0.6);
  align-items: center; justify-content: center;
  padding: 20px;
}
.popup-overlay.show { display: flex; }
.popup-card {
  position: relative;
  background: var(--white);
  border-radius: var(--radius-lg);
  max-width: 380px; width: 100%;
  padding: 40px 32px 32px;
  text-align: center;
  box-shadow: var(--shadow-lg);
  animation: popupIn 0.3s ease;
}
@keyframes popupIn {
  from { opacity: 0; transform: scale(0.92) translateY(10px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}
.popup-close {
  position: absolute; top: 14px; right: 14px;
  width: 32px; height: 32px;
  border: none; background: transparent;
  color: var(--gray-500); font-size: 16px;
  cursor: pointer; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s;
}
.popup-close:hover { background: var(--gray-100); }
.popup-icon {
  width: 64px; height: 64px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: var(--blue);
  color: var(--white);
  font-size: 30px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.popup-title {
  font-size: 20px; font-weight: 700;
  color: var(--gray-900); margin-bottom: 10px;
}
.popup-text {
  font-size: 14px; color: var(--gray-500); line-height: 1.6;
}

/* ══════════════════════════════════════
   LOCATION
══════════════════════════════════════ */
.location { background: var(--gray-50); padding-bottom: 60px; }
.location .section-header { margin-bottom: 40px; }

.location__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
.location__block { display: flex; flex-direction: column; gap: 0; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.location__map-wrap { height: 300px; }
.location__map-wrap iframe { width: 100%; height: 100%; border: none; display: block; }
.location__card--inline {
  background: var(--white);
  border-top: 4px solid var(--blue);
  padding: 20px 24px;
  display: flex; flex-direction: column; align-items: flex-start; gap: 6px;
}
.location__card-logo img { height: 36px; }
.location__card-name { font-family: 'Raleway', sans-serif; font-size: 15px; font-weight: 800; color: var(--blue-dark); }
.location__card-addr { font-size: 13px; color: var(--gray-500); line-height: 1.5; }
.location__card--inline .btn { margin-top: 6px; }

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

/* ══════════════════════════════════════
   FOOTER
══════════════════════════════════════ */
.footer { background: var(--blue-dark); padding-top: 64px; }
.footer__inner {
  display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer__brand img { height: 48px; margin-bottom: 10px; }
.footer__name { font-family: 'Raleway', sans-serif; font-size: 18px; font-weight: 800; color: var(--white); margin-bottom: 6px; }
.footer__tagline { font-size: 13px; color: rgba(255,255,255,0.5); line-height: 1.6; max-width: 240px; }
.footer__col-title { font-size: 11px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--red); margin-bottom: 16px; }
.footer__col { display: flex; flex-direction: column; gap: 9px; }
.footer__col a, .footer__col p { font-size: 13px; color: rgba(255,255,255,0.6); transition: color var(--transition); line-height: 1.5; }
.footer__col a:hover { color: var(--white); }
.footer__bottom { text-align: center; padding: 22px; }
.footer__bottom p { font-size: 12px; color: rgba(255,255,255,0.3); }

/* ══════════════════════════════════════
   BACK TO TOP
══════════════════════════════════════ */
.back-top {
  position: fixed; bottom: 28px; right: 28px; z-index: 999;
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--blue); color: var(--white);
  font-size: 18px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 16px rgba(27,79,168,0.4);
  opacity: 0; transform: translateY(16px);
  transition: opacity var(--transition), transform var(--transition);
  pointer-events: none;
}
.back-top.visible { opacity: 1; transform: translateY(0); pointer-events: auto; }
.back-top:hover { background: var(--red); transform: translateY(-3px); }

/* ══════════════════════════════════════
   FADE IN
══════════════════════════════════════ */
.fade-up { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* ══════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════ */
@media (max-width: 1024px) {
  .hero__content { grid-template-columns: 1fr; }
  .hero__visual { flex-direction: row; flex-wrap: wrap; }
  .hero__card { flex: 1; min-width: 200px; }
  .hero__card--secondary { margin-left: 0; }
  .services__grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .services__grid .svc-card:last-child:nth-child(2n+1) { grid-column: 1 / -1; max-width: 50%; margin: 0 auto; }
  .doctors__grid { grid-template-columns: repeat(2, 1fr); }
  .about__grid { grid-template-columns: 1fr; gap: 48px; }
  .contact__grid { grid-template-columns: 1fr; gap: 48px; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
  .why-us__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .section { padding: 64px 0; }
  .navbar__links, .navbar__cta { display: none; }
  .burger { display: flex; }
  .navbar__links.open {
    display: flex; flex-direction: column;
    position: fixed; top: 0; left: 0; right: 0; bottom: 0;
    background: var(--blue-dark); z-index: 999;
    justify-content: center; align-items: center; gap: 24px;
  }
  .navbar__links.open a { font-size: 20px; color: var(--white); }
  .services__grid { grid-template-columns: 1fr; max-width: 100%; margin: 0; gap: 12px; }
  .services__grid .svc-card:last-child:nth-child(2n+1) { grid-column: auto; max-width: 100%; }
  .svc-card__num { font-size: 64px; }
  .reviews__grid { grid-template-columns: 1fr; }
  .doctors__grid { grid-template-columns: repeat(2, 1fr); }
  .why-us__grid { grid-template-columns: 1fr 1fr; }
  .hero__stats { flex-wrap: wrap; }
  .stat { min-width: 44%; }
  .location__card { position: relative; top: auto; right: auto; margin: 0 16px; transform: translateY(-30px); }
  .location__wrap { height: 340px; }
  .contact__form { padding: 28px 20px; }
  .hero__visual { display: none; }
  .footer__inner { grid-template-columns: 1fr; gap: 32px; }
  .footer__brand { grid-column: 1; }
}

@media (max-width: 480px) {
  .doctors__grid { grid-template-columns: 1fr; max-width: 300px; margin: 0 auto; }
  .why-us__grid { grid-template-columns: 1fr; }
  .about__features { grid-template-columns: 1fr; }
}
