/* ═══════════════════════════════════════════════════════
   DENDRONI — PUBLIC STYLESHEET  (matches design template)
   ═══════════════════════════════════════════════════════ */

:root {
  --green-dark:   #1E4D35;
  --green-mid:    #2A6041;
  --green-light:  #4A8C63;
  --green-pale:   #D8EAE0;
  --green-mist:   #EEF5F1;
  --cream:        #F6F3EE;
  --warm-white:   #FAFAF7;
  --brown-soft:   #7A6A58;
  --text-dark:    #1A2B22;
  --text-mid:     #3D5045;
  --text-muted:   #6B7D71;
  --border:       #D6D9D5;
  --card-shadow:  0 1px 3px rgba(30,77,53,0.08);
  --nav-h:        64px;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Noto Sans Georgian', 'Segoe UI', system-ui, sans-serif;
  background: var(--warm-white);
  color: var(--text-dark);
  font-size: 15px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a   { color: inherit; text-decoration: none; }
ul  { list-style: none; }
button { cursor: pointer; font-family: inherit; }
input, textarea, select { font-family: inherit; }

/* ── Container ── */
.container         { max-width: 1140px; margin: 0 auto; padding: 0 40px; }
.container--narrow { max-width: 800px; margin: 0 auto; padding: 0 40px; }

/* ── Utility ── */
.text-center { text-align: center; }
.text-muted  { color: var(--text-muted); }
.text-sm     { font-size: 13px; }
.required    { color: #c0392b; }
.divider     { height: 1px; background: var(--border); margin: 0 40px; }

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 9px 22px; border-radius: 6px;
  font-size: 13px; font-weight: 600; line-height: 1;
  cursor: pointer; transition: all .2s; text-decoration: none; border: none;
}
.btn--primary     { background: var(--green-mid); color: #fff; }
.btn--primary:hover { background: var(--green-dark); }
.btn--outline     { background: transparent; color: var(--green-mid); border: 1.5px solid var(--green-mid); }
.btn--outline:hover { background: var(--green-mist); }
.btn--ghost       { background: transparent; color: rgba(255,255,255,.8); border: 1.5px solid rgba(255,255,255,.25); }
.btn--ghost:hover { background: rgba(255,255,255,.08); }
.btn--white       { background: #fff; color: var(--green-dark); }
.btn--white:hover { background: var(--green-mist); }
.btn--sm          { padding: 7px 16px; font-size: 12px; }
.btn--lg          { padding: 14px 36px; font-size: 15px; border-radius: 8px; }
.btn--full        { width: 100%; }

/* ── Flash ── */
.flash { padding: 12px 0; font-size: 13px; font-weight: 500; }
.flash--error   { background: #fef2f2; color: #c0392b; border-bottom: 1px solid #fecaca; }
.flash--success { background: #f0fdf4; color: #2E7D4F; border-bottom: 1px solid #bbf7d0; }

/* ── Alert ── */
.alert { padding: 11px 14px; border-radius: 6px; margin-bottom: 18px; font-size: 13px; }
.alert--error   { background: #fef2f2; color: #c0392b; border: 1px solid #fecaca; }
.alert--success { background: #f0fdf4; color: #2E7D4F; border: 1px solid #bbf7d0; }

/* ═══════════════════════════════════════════════════════
   NAVIGATION
   ═══════════════════════════════════════════════════════ */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: #fff; border-bottom: 1px solid var(--border);
  padding: 0 40px;
  display: flex; align-items: center;
  justify-content: space-between;
  height: var(--nav-h);
}
.nav__logo { display: flex; align-items: center; gap: 6px; text-decoration: none; }
.nav__logo-icon { width: auto; height: 84px; flex-shrink: 0; object-fit: contain; filter: brightness(0) saturate(100%) invert(21%) sepia(29%) saturate(1200%) hue-rotate(107deg) brightness(94%); }
.nav__logo-text { font-size: 20px; font-weight: 700; letter-spacing: -.3px; color: var(--green-dark); display: block; line-height: 1.2; }
.nav__logo-sub  { font-size: 10px; color: var(--text-muted); letter-spacing: .5px; text-transform: uppercase; display: block; line-height: 1; margin-top: 2px; }
.nav__center { display: flex; gap: 28px; }
.nav__center a { text-decoration: none; color: var(--text-mid); font-size: 14px; font-weight: 400; transition: color .2s; }
.nav__center a:hover,
.nav__center a.active { color: var(--green-dark); font-weight: 600; }
.nav__right { display: flex; align-items: center; gap: 20px; }
.nav__phone { font-size: 14px; font-weight: 600; color: var(--text-dark); text-decoration: none; }
.nav__phone:hover { color: var(--green-mid); }

/* Mobile nav */
.nav__toggle { display: none; flex-direction: column; gap: 5px; padding: 8px; background: none; border: none; }
.nav__toggle span { width: 22px; height: 2px; background: var(--text-dark); border-radius: 2px; transition: .2s; }
.nav__mobile { display: none; }

/* ═══════════════════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════════════════ */
.hero {
  background: var(--green-dark);
  position: relative; overflow: hidden;
  padding: 80px 0 56px;
  min-height: 520px;
  display: flex; align-items: center;
}
.hero-bg-pattern {
  position: absolute; inset: 0; opacity: .06;
  background-image:
    radial-gradient(circle at 20% 50%, #fff 1px, transparent 1px),
    radial-gradient(circle at 80% 20%, #fff 1px, transparent 1px),
    radial-gradient(circle at 60% 80%, #fff 1px, transparent 1px);
  background-size: 60px 60px, 80px 80px, 40px 40px;
}
.hero__leaf {
  position: absolute; right: 60px; top: 50%;
  transform: translateY(-50%); opacity: .12; pointer-events: none;
}
.hero__inner { position: relative; width: 100%; }
.hero__tag {
  display: inline-block;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.2);
  color: rgba(255,255,255,.85); font-size: 14px; font-weight: 500;
  padding: 5px 14px; border-radius: 40px; letter-spacing: .3px;
  margin-bottom: 22px;
}
.hero__title {
  font-size: 44px; font-weight: 700; color: #fff;
  line-height: 1.2; letter-spacing: -.5px; margin-bottom: 18px;
}
.hero__title span { color: #8EC8A6; }
.hero__desc { font-size: 16px; color: rgba(255,255,255,.7); line-height: 1.7; margin-bottom: 36px; max-width: 440px; }
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }

/* Quick-grid inside hero */
.hero__quick-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 0;
  border: 1px solid rgba(255,255,255,.15); border-radius: 12px;
  overflow: hidden; background: rgba(255,255,255,.07); margin-top: 48px;
}
.hero__quick-card {
  padding: 28px 28px; border-right: 1px solid rgba(255,255,255,.12);
  text-decoration: none; display: flex; flex-direction: column;
  gap: 12px; transition: background .2s; cursor: pointer;
}
.hero__quick-card:last-child { border-right: none; }
.hero__quick-card:hover { background: rgba(255,255,255,.1); }
.hero__quick-icon {
  width: 40px; height: 40px;
  background: rgba(255,255,255,.12); border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
}
.hero__quick-icon svg { width: 20px; height: 20px; }
.hero__quick-title { font-size: 14px; font-weight: 600; color: rgba(255,255,255,.9); line-height: 1.4; }
.hero__quick-desc  { font-size: 12px; color: rgba(255,255,255,.5); line-height: 1.5; }

/* ═══════════════════════════════════════════════════════
   TRUST BAR
   ═══════════════════════════════════════════════════════ */
.trust-bar {
  background: var(--green-mist);
  border-top: 1px solid var(--green-pale);
  border-bottom: 1px solid var(--green-pale);
  padding: 20px 40px;
  display: flex; align-items: center; justify-content: center;
  gap: 48px; flex-wrap: wrap;
}
.trust-item { display: flex; align-items: center; gap: 10px; }
.trust-item svg { width: 18px; height: 18px; color: var(--green-mid); flex-shrink: 0; }
.trust-text { font-size: 13px; color: var(--text-mid); font-weight: 500; }

/* ═══════════════════════════════════════════════════════
   STATS BAR
   ═══════════════════════════════════════════════════════ */
.stats-bar { background: #fff; border-bottom: 1px solid var(--border); padding: 0 40px; }
.stats-bar__inner { max-width: 1140px; margin: 0 auto; display: flex; align-items: stretch; justify-content: center; }
.stats-bar__item {
  padding: 28px 56px 28px 0; display: flex; align-items: center;
  border-right: 1px solid var(--border); margin-right: 56px;
}
.stats-bar__item:last-child { border-right: none; margin-right: 0; }
.stat-num   { font-size: 32px; font-weight: 700; color: var(--green-dark); display: block; line-height: 1; }
.stat-label { font-size: 13px; color: var(--text-muted); display: block; margin-top: 5px; line-height: 1.4; }

/* ═══════════════════════════════════════════════════════
   SECTIONS
   ═══════════════════════════════════════════════════════ */
.section      { padding: 80px 0; }
.section--alt { background: var(--cream); }
.section__header { margin-bottom: 48px; }

.section-tag {
  display: inline-block; background: var(--green-pale); color: var(--green-dark);
  font-size: 11px; font-weight: 600; padding: 4px 12px; border-radius: 40px;
  letter-spacing: .5px; text-transform: uppercase; margin-bottom: 14px;
}
.section-title    { font-size: 32px; font-weight: 700; color: var(--text-dark); letter-spacing: -.3px; line-height: 1.25; margin-bottom: 14px; }
.section-subtitle { font-size: 15px; color: var(--text-muted); max-width: 520px; line-height: 1.7; }

/* ── Page Hero (inner pages) ── */
.page-hero {
  background: var(--green-dark); padding: 56px 0 48px;
  position: relative; overflow: hidden;
}
.page-hero::after {
  content: ''; position: absolute; inset: 0; opacity: .06;
  background-image: radial-gradient(circle at 20% 50%, #fff 1px, transparent 1px);
  background-size: 60px 60px;
}
.page-hero__inner { position: relative; z-index: 1; }
.page-hero__tag {
  display: inline-block; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.2);
  color: rgba(255,255,255,.8); font-size: 11px; font-weight: 600; padding: 4px 12px;
  border-radius: 40px; letter-spacing: .5px; text-transform: uppercase; margin-bottom: 16px;
}
.page-hero__icon  { font-size: 2.5rem; margin-bottom: 14px; }
.page-hero__title { font-size: 36px; font-weight: 700; color: #fff; letter-spacing: -.3px; line-height: 1.2; margin-bottom: 10px; }
.page-hero__desc  { font-size: 15px; color: rgba(255,255,255,.7); max-width: 520px; line-height: 1.7; }

.breadcrumb { display: flex; align-items: center; gap: 8px; margin-bottom: 20px; font-size: 13px; }.breadcrumb a    { color: rgba(255,255,255,.6); transition: .2s; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb span { color: rgba(255,255,255,.35); }

/* ═══════════════════════════════════════════════════════
   ABOUT SECTION
   ═══════════════════════════════════════════════════════ */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-visual {
  position: relative; border-radius: 16px; overflow: hidden;
  background: var(--green-pale); height: 420px;
}
.about-visual-inner { width: 100%; height: 100%; }
.about-visual-img { width: 100%; height: 100%; object-fit: cover; display: block; }
.about-text h2 { font-size: 30px; font-weight: 700; color: var(--text-dark); letter-spacing: -.3px; line-height: 1.3; margin-bottom: 18px; }
.about-text p  { font-size: 15px; color: var(--text-muted); line-height: 1.75; margin-bottom: 16px; }
.about-features {
  display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 32px;
}
.about-feature {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 16px; background: var(--green-mist);
  border-radius: 10px; border: 1px solid var(--green-pale);
}
.about-feature-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green-light); flex-shrink: 0; margin-top: 5px; }
.about-feature p   { font-size: 13px; color: var(--text-mid); margin: 0; line-height: 1.5; font-weight: 500; }

/* ═══════════════════════════════════════════════════════
   SERVICE CARDS
   ═══════════════════════════════════════════════════════ */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

.service-card {
  background: #fff; border: 1px solid var(--border);
  border-radius: 14px; padding: 32px 28px;
  transition: all .25s; cursor: pointer;
  position: relative; overflow: hidden;
  text-decoration: none; display: flex; flex-direction: column;
}
.service-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: var(--green-mid); transform: scaleX(0); transform-origin: left;
  transition: transform .3s;
}
.service-card:hover { border-color: var(--green-light); box-shadow: 0 4px 20px rgba(42,96,65,.12); transform: translateY(-2px); }
.service-card:hover::before { transform: scaleX(1); }

.service-icon-wrap {
  width: 52px; height: 52px; background: var(--green-pale);
  border-radius: 12px; display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.service-icon-wrap svg  { width: 26px; height: 26px; color: var(--green-dark); }
.service-icon-emoji     { font-size: 26px; }
.service-name  { font-size: 18px; font-weight: 700; color: var(--text-dark); margin-bottom: 10px; letter-spacing: -.2px; line-height: 1.3; }
.service-desc  { font-size: 14px; color: var(--text-muted); line-height: 1.7; margin-bottom: 22px; flex: 1; }
.service-link  { font-size: 13px; font-weight: 600; color: var(--green-mid); display: flex; align-items: center; gap: 6px; transition: gap .2s; margin-top: auto; }
.service-link svg { width: 14px; height: 14px; }
.service-link:hover { gap: 10px; color: var(--green-dark); }

/* ═══════════════════════════════════════════════════════
   SPECIALIST / DOCTOR CARDS
   ═══════════════════════════════════════════════════════ */
.specialists-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }

.specialist-card {
  background: #fff; border: 1px solid var(--border);
  border-radius: 14px; overflow: hidden;
  transition: all .25s; cursor: pointer; text-decoration: none;
}
.specialist-card:hover { border-color: var(--green-light); box-shadow: 0 4px 16px rgba(42,96,65,.1); transform: translateY(-2px); }

.specialist-photo {
  height: 200px; background: var(--green-pale);
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
}
.specialist-photo img {
  width: 100%; height: 100%; object-fit: cover;
}
.specialist-avatar {
  width: 80px; height: 80px; border-radius: 50%;
  background: var(--green-mid); display: flex;
  align-items: center; justify-content: center;
  font-size: 24px; font-weight: 700; color: #fff;
}
.specialist-badge {
  position: absolute; bottom: 12px; left: 12px;
  background: var(--green-dark); color: rgba(255,255,255,.9);
  font-size: 10px; font-weight: 600; padding: 4px 10px;
  border-radius: 20px; letter-spacing: .3px;
}
.specialist-body { padding: 18px 18px 20px; }
.specialist-name { font-size: 15px; font-weight: 700; color: var(--text-dark); margin-bottom: 4px; line-height: 1.3; }
.specialist-role { font-size: 12px; color: var(--green-light); font-weight: 600; margin-bottom: 8px; text-transform: uppercase; letter-spacing: .4px; }
.specialist-exp  { font-size: 12px; color: var(--text-muted); margin-bottom: 14px; }
.specialist-book {
  display: block; text-align: center; padding: 8px;
  background: var(--green-mist); border: 1px solid var(--green-pale);
  border-radius: 6px; font-size: 12px; font-weight: 600;
  color: var(--green-dark); transition: background .2s;
}
.specialist-book:hover { background: var(--green-pale); }

/* ═══════════════════════════════════════════════════════
   BOOKING SECTION
   ═══════════════════════════════════════════════════════ */
.booking-section { background: var(--green-dark); padding: 80px 0; }
.booking-inner {
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px;
  align-items: start; max-width: 900px; margin: 0 auto; padding: 0 40px;
}
.booking-left h2 { font-size: 30px; font-weight: 700; color: #fff; letter-spacing: -.3px; line-height: 1.3; margin-bottom: 16px; }
.booking-left  > p { font-size: 15px; color: rgba(255,255,255,.65); line-height: 1.7; margin-bottom: 28px; }
.booking-info-items { display: flex; flex-direction: column; gap: 14px; }
.booking-info-item  { display: flex; align-items: flex-start; gap: 12px; }
.info-dot {
  width: 32px; height: 32px; border-radius: 8px;
  background: rgba(255,255,255,.1); display: flex;
  align-items: center; justify-content: center; flex-shrink: 0;
}
.info-dot svg { width: 16px; height: 16px; color: rgba(255,255,255,.75); }
.info-label { font-size: 12px; color: rgba(255,255,255,.45); display: block; line-height: 1; margin-bottom: 3px; text-transform: uppercase; letter-spacing: .4px; }
.info-val   { font-size: 14px; color: rgba(255,255,255,.9); font-weight: 500; }

/* ═══════════════════════════════════════════════════════
   BOOKING FORM (white card)
   ═══════════════════════════════════════════════════════ */
.booking-form-card {
  background: #fff; border-radius: 16px; padding: 32px 28px;
}
.form-group    { margin-bottom: 18px; }
.form-row      { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-label    { display: block; font-size: 12px; font-weight: 600; color: var(--text-muted); text-transform: uppercase; letter-spacing: .5px; margin-bottom: 7px; }
.form-input, .form-select, .form-textarea {
  width: 100%; padding: 10px 14px;
  border: 1.5px solid var(--border); border-radius: 8px;
  font-family: 'Noto Sans Georgian', 'Segoe UI', sans-serif;
  font-size: 14px; color: var(--text-dark);
  background: var(--warm-white); transition: border-color .2s; outline: none;
  appearance: none;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--green-light); background: #fff;
}
.form-textarea { resize: none; min-height: 80px; line-height: 1.6; resize: vertical; }
.form-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236B7D71' fill='none' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center; padding-right: 36px;
}
.form-submit {
  width: 100%; padding: 13px;
  background: var(--green-mid); color: #fff; border: none;
  border-radius: 8px; font-family: 'Noto Sans Georgian', sans-serif;
  font-size: 14px; font-weight: 700; cursor: pointer;
  transition: background .2s; margin-top: 4px; letter-spacing: .2px;
}
.form-submit:hover { background: var(--green-dark); }
.form-note { text-align: center; font-size: 11px; color: var(--text-muted); margin-top: 10px; line-height: 1.5; }
.form-hint { font-size: 11px; color: var(--text-muted); margin-top: 4px; }

/* ═══════════════════════════════════════════════════════
   TIME SLOT PICKER (doctor detail)
   ═══════════════════════════════════════════════════════ */
.time-slots   { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.time-slot-btn {
  padding: 8px 16px; border-radius: 6px;
  border: 1.5px solid var(--border); background: #fff;
  font-size: 13px; font-weight: 500; cursor: pointer; transition: .2s;
}
.time-slot-btn:hover { border-color: var(--green-light); color: var(--green-mid); }
.time-slot-btn.active { background: var(--green-mid); color: #fff; border-color: var(--green-mid); }
.time-slots__none { color: var(--text-muted); font-size: 13px; margin-top: 8px; }
.loading { color: var(--text-muted); font-size: 13px; }
.selected-slot { padding: 10px 14px; background: var(--green-mist); border-radius: 6px; margin-bottom: 18px; font-size: 13px; font-weight: 600; color: var(--green-dark); }
.booking-step  { margin-bottom: 18px; }

/* Booking success state */
.booking-success { text-align: center; padding: 40px 20px; }
.booking-success__icon {
  width: 60px; height: 60px; border-radius: 50%;
  background: var(--green-mid); color: #fff; font-size: 26px; font-weight: 700;
  display: flex; align-items: center; justify-content: center; margin: 0 auto 18px;
}
.booking-success h3 { font-size: 20px; font-weight: 700; margin-bottom: 8px; color: var(--text-dark); }
.booking-success p  { color: var(--text-muted); margin-bottom: 20px; }

/* ═══════════════════════════════════════════════════════
   DOCTOR PROFILE (detail page)
   ═══════════════════════════════════════════════════════ */
.doctor-profile { display: grid; grid-template-columns: 1fr 420px; gap: 48px; align-items: start; }
.doctor-profile__photo-wrap {
  width: 120px; height: 120px; border-radius: 50%; overflow: hidden;
  background: var(--green-pale); margin-bottom: 20px;
  display: flex; align-items: center; justify-content: center;
}
.doctor-profile__photo   { width: 100%; height: 100%; object-fit: cover; }
.doctor-profile__initials { font-size: 36px; font-weight: 700; color: var(--green-mid); }
.doctor-profile__name     { font-size: 28px; font-weight: 700; color: var(--text-dark); letter-spacing: -.3px; margin-bottom: 6px; }
.doctor-profile__specialty{ color: var(--green-light); font-size: 14px; font-weight: 600; text-transform: uppercase; letter-spacing: .4px; margin-bottom: 14px; }
.doctor-profile__email    { font-size: 13px; color: var(--text-muted); margin-bottom: 24px; display: block; }

/* ═══════════════════════════════════════════════════════
   BLOG CARDS
   ═══════════════════════════════════════════════════════ */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.blog-card {
  background: #fff; border: 1px solid var(--border); border-radius: 14px;
  padding: 28px; transition: all .25s; display: flex; flex-direction: column;
  text-decoration: none;
}
.blog-card:hover { border-color: var(--green-light); box-shadow: 0 4px 16px rgba(42,96,65,.1); transform: translateY(-2px); }
.blog-card__meta   { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; flex-wrap: wrap; }
.blog-card__author { font-size: 12px; font-weight: 600; color: var(--green-mid); }
.blog-card__dot    { color: var(--text-muted); font-size: 12px; }
.blog-card__date   { font-size: 12px; color: var(--text-muted); }
.blog-card__title  { font-size: 17px; font-weight: 700; color: var(--text-dark); margin-bottom: 10px; line-height: 1.35; }
.blog-card__excerpt{ font-size: 13px; color: var(--text-muted); line-height: 1.7; flex: 1; margin-bottom: 16px; }
.blog-card__link   { font-size: 13px; font-weight: 600; color: var(--green-mid); margin-top: auto; }
.blog-card--featured { grid-column: 1 / -1; }

/* ═══════════════════════════════════════════════════════
   ARTICLE (blog detail)
   ═══════════════════════════════════════════════════════ */
.article-layout { display: grid; grid-template-columns: 1fr 300px; gap: 48px; align-items: start; }
.article__header { margin-bottom: 32px; padding-bottom: 24px; border-bottom: 1px solid var(--border); }
.article__meta   { display: flex; align-items: center; gap: 8px; margin-bottom: 14px; font-size: 13px; }
.article__author { color: var(--green-mid); font-weight: 600; }
.article__dot, .article__date { color: var(--text-muted); }
.article__title  { font-size: 32px; font-weight: 700; color: var(--text-dark); letter-spacing: -.3px; line-height: 1.2; margin-bottom: 14px; }
.article__excerpt{ font-size: 17px; color: var(--text-muted); line-height: 1.6; }
.article__footer { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--border); }
.article__byline p{ font-size: 14px; }

.sidebar-card { background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: 22px; margin-bottom: 18px; }
.sidebar-card__title { font-size: 14px; font-weight: 700; color: var(--text-dark); margin-bottom: 12px; }
.related-posts { display: flex; flex-direction: column; gap: 10px; }
.related-posts a { font-size: 13px; color: var(--green-mid); line-height: 1.4; transition: .2s; }
.related-posts a:hover { color: var(--green-dark); }

/* ═══════════════════════════════════════════════════════
   PROSE (rendered markdown)
   ═══════════════════════════════════════════════════════ */
.prose h2, .prose h3, .prose h4 {
  color: var(--text-dark); margin: 1.8em 0 .6em; line-height: 1.3;
}
.prose h2 { font-size: 22px; font-weight: 700; }
.prose h3 { font-size: 18px; font-weight: 700; }
.prose p  { margin-bottom: 1.1em; color: var(--text-mid); line-height: 1.8; }
.prose ul, .prose ol { margin: 1em 0 1em 1.4em; }
.prose li { margin-bottom: .5em; color: var(--text-mid); }
.prose strong { font-weight: 700; color: var(--text-dark); }
.prose em { font-style: italic; }
.prose a  { color: var(--green-mid); text-decoration: underline; }
.prose blockquote {
  border-left: 4px solid var(--green-light); padding: 12px 20px; margin: 1.5em 0;
  background: var(--green-mist); border-radius: 0 8px 8px 0; color: var(--text-muted);
}
.prose table { width: 100%; border-collapse: collapse; margin: 1.5em 0; font-size: 14px; }
.prose th, .prose td { padding: 10px 14px; border: 1px solid var(--border); text-align: left; }
.prose th { background: var(--green-mist); font-weight: 700; }
.prose hr { border: none; border-top: 1px solid var(--border); margin: 2em 0; }

.prose-cta {
  margin-top: 40px; padding: 28px; border-radius: 12px;
  background: var(--green-mist); border: 1px solid var(--green-pale);
}
.prose-cta h3 { font-size: 18px; font-weight: 700; color: var(--text-dark); margin-bottom: 8px; }
.prose-cta p  { color: var(--text-muted); margin-bottom: 18px; }
.prose-cta__actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ═══════════════════════════════════════════════════════
   CONTACT PAGE
   ═══════════════════════════════════════════════════════ */
.contact-layout { display: grid; grid-template-columns: 1fr 1.4fr; gap: 64px; }
.contact-info__title { font-size: 22px; font-weight: 700; color: #fff; margin-bottom: 24px; }
.contact-info__item  { display: flex; gap: 14px; margin-bottom: 20px; }
.contact-info__icon  { font-size: 1.2rem; flex-shrink: 0; margin-top: 2px; }
.contact-info__item strong { font-weight: 600; color: rgba(255,255,255,.9); display: block; margin-bottom: 2px; font-size: 12px; text-transform: uppercase; letter-spacing: .4px; }
.contact-info__item p { font-size: 14px; color: rgba(255,255,255,.75); }
.contact-info__item a { color: rgba(255,255,255,.9); }

/* ═══════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════ */
.footer { background: #111D16; padding: 56px 0 0; }
.footer__top {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px; margin-bottom: 48px;
}
.footer__brand-name { font-size: 22px; font-weight: 700; color: #fff; margin-bottom: 10px; display: block; }
.footer__brand-desc { font-size: 13px; color: rgba(255,255,255,.4); line-height: 1.7; margin-bottom: 20px; }
.footer__contact    { font-size: 14px; color: rgba(255,255,255,.6); line-height: 1.9; }
.footer__contact a  { color: rgba(255,255,255,.85); }
.footer__col-title  { font-size: 12px; font-weight: 700; color: rgba(255,255,255,.4); text-transform: uppercase; letter-spacing: .8px; margin-bottom: 16px; }
.footer__col-links  { display: flex; flex-direction: column; gap: 10px; }
.footer__col-links a { font-size: 13px; color: rgba(255,255,255,.55); transition: color .2s; }
.footer__col-links a:hover { color: #fff; }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,.08); padding: 24px 0;
  display: flex; align-items: center; justify-content: space-between;
}
.footer__copy  { font-size: 12px; color: rgba(255,255,255,.3); }
.footer__badge { font-size: 11px; color: rgba(255,255,255,.25); background: rgba(255,255,255,.06); padding: 4px 12px; border-radius: 20px; }

/* ═══════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .hero__quick-grid    { grid-template-columns: repeat(2, 1fr); }
  .specialists-grid    { grid-template-columns: repeat(2, 1fr); }
  .footer__top         { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .doctor-profile      { grid-template-columns: 1fr; }
  .article-layout      { grid-template-columns: 1fr; }
  .contact-layout      { grid-template-columns: 1fr; }
  .about-grid          { grid-template-columns: 1fr; }
  .booking-inner       { grid-template-columns: 1fr; }
  .services-grid       { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 680px) {
  .nav                 { padding: 0 20px; }
  .nav__logo-icon      { height: 48px; }
  .nav__center, .nav__right { display: none; }
  .nav__toggle { display: flex; }
  .nav__mobile {
    display: none; flex-direction: column; gap: 0;
    position: absolute; top: var(--nav-h); left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--border); padding: 8px 0;
    box-shadow: 0 4px 12px rgba(0,0,0,.08);
  }
  .nav__mobile.open { display: flex; }
  .nav__mobile a { padding: 12px 24px; font-size: 15px; color: var(--text-mid); transition: .15s; }
  .nav__mobile a:hover { background: var(--green-mist); color: var(--green-dark); }
  .hero { padding: 48px 0 36px; min-height: auto; }
  .hero__title { font-size: 28px; }
  .hero__desc   { max-width: none; }
  .hero__quick-grid    { grid-template-columns: 1fr; margin-top: 32px; }
  .hero__quick-card    { border-right: none; border-bottom: 1px solid rgba(255,255,255,.12); }
  .hero__quick-card:last-child { border-bottom: none; }
  .trust-bar           { gap: 16px 24px; padding: 16px 20px; justify-content: flex-start; }
  .stats-bar           { padding: 0 20px; }
  .stats-bar__inner    { flex-wrap: wrap; justify-content: flex-start; gap: 20px 0; }
  .stats-bar__item     { padding: 16px 24px 16px 0; margin-right: 24px; flex: 1 1 auto; min-width: 120px; }
  .stat-num            { font-size: 24px; }
  .page-hero           { padding: 40px 0 32px; }
  .page-hero__title    { font-size: 26px; }
  .section-title       { font-size: 24px; }
  .about-text h2       { font-size: 24px; }
  .services-grid       { grid-template-columns: 1fr; }
  .specialists-grid    { grid-template-columns: repeat(2, 1fr); }
  .about-visual        { height: 240px; }
  .about-features      { grid-template-columns: 1fr; }
  .blog-grid           { grid-template-columns: 1fr; }
  .footer__top         { grid-template-columns: 1fr; }
  .footer__bottom      { flex-direction: column; align-items: flex-start; gap: 10px; }
  .form-row            { grid-template-columns: 1fr; }
  .section             { padding: 48px 0; }
  .container, .container--narrow { padding: 0 20px; }
  .booking-inner       { padding: 0 20px; }
  .doctor-profile__name{ font-size: 24px; }
  .article__title      { font-size: 26px; }
  .prose table         { display: block; overflow-x: auto; white-space: nowrap; }
}

@media (max-width: 420px) {
  .specialists-grid    { grid-template-columns: 1fr; }
  .trust-bar            { gap: 14px 20px; }
  .hero__title          { font-size: 24px; }
  .stats-bar__item      { min-width: 100%; border-right: none; margin-right: 0; padding: 12px 0; border-bottom: 1px solid var(--border); }
  .stats-bar__item:last-child { border-bottom: none; }
}
