/* =============================================
   ЯКИМЕНКО ТЕМА — main.css
   Фінальна версія hero без конфліктів з темою
   ============================================= */

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

:root {
  --rose:       #c9a4a4;
  --rose-deep:  #a07070;
  --rose-btn:   #8b4444;
  --blush:      #f7eeee;
  --blush-soft: #fdf8f8;
  --ivory:      #faf8f5;
  --white:      #ffffff;
  --ink:        #2c2424;
  --muted:      #3d2e2e;
  --sage:       #9aab99;
  --teal:       #7aacaa;
  --teal-soft:  #e8f4f3;
  --line:       rgba(180,140,140,0.18);
  --serif:      'Playfair Display', Georgia, serif;
  --sans:       'Jost', sans-serif;
  --ease:       cubic-bezier(0.16, 1, 0.3, 1);
  --radius:     12px;
}

html { scroll-behavior: smooth; }

body {
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 300;
  line-height: 1.65;
  overflow-x: hidden;
}

/* ── Спільні ── */
.section-label {
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--rose-deep);
  margin-bottom: 1rem;
  display: block;
}

.section-title {
  font-family: var(--serif);
  font-size: clamp(1.9rem, 3.2vw, 3rem);
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: 1.4rem;
}

.section-title em { font-style: italic; color: var(--rose-deep); }

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem 2.4rem;
  background: var(--rose-btn);
  color: var(--white);
  font-family: var(--sans);
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 500;
  text-decoration: none;
  border: none;
  cursor: pointer;
  border-radius: 4px;
  transition: background 0.25s, transform 0.2s, box-shadow 0.25s;
  box-shadow: 0 4px 16px rgba(160,112,112,0.25);
}

.btn-primary:hover {
  background: var(--ink);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(44,36,36,0.2);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 2rem;
  border: 1.5px solid var(--rose-btn);
  color: var(--rose-btn);
  background: transparent;
  font-family: var(--sans);
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 400;
  text-decoration: none;
  border-radius: 4px;
  transition: all 0.25s;
}

.btn-outline:hover {
  background: var(--rose-btn);
  color: var(--white);
}

/* CTA смуга між блоками */
.cta-strip {
  background: var(--blush);
  padding: 3.5rem 5rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.2rem;
}

.cta-strip p {
  color: var(--muted);
  font-size: 1rem;
  max-width: 50ch;
}

/* Анімації */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.visible { opacity: 1; transform: none; }

/* ══════════════════════════════
   НАВІГАЦІЯ
   ══════════════════════════════ */
nav.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 2rem;
  padding: 1.4rem 4rem;
  transition: background 0.4s, padding 0.4s, box-shadow 0.4s;
}

nav.site-nav.scrolled {
  background: rgba(250,248,245,0.96);
  backdrop-filter: blur(16px);
  padding: 0.85rem 4rem;
  box-shadow: 0 1px 0 var(--line);
}

.logo-wrap {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  text-decoration: none;
}

.logo-main {
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 500;
  color: rgba(255,255,255,0.9);
}

.logo-sub {
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--rose);
}

.nav-links {
  display: flex;
  gap: 1.8rem;
  list-style: none;
  justify-content: center;
}

.nav-links a {
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--ink); }

.nav-phone {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--rose-deep);
  text-decoration: none;
  border-bottom: 1px solid var(--rose);
  transition: color 0.2s;
  white-space: nowrap;
}

.nav-phone:hover { color: var(--ink); }

/* ══════════════════════════════
   HERO
   ══════════════════════════════ */
#hero.hero-section {
  position: relative;
  z-index: 1;
  overflow: hidden;
  background: var(--ivory);
}

.hero-container {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  position: relative;
  overflow: hidden;
}

.hero-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 9rem 4rem 5rem 4rem;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--rose-deep);
  margin-bottom: 1.8rem;
  opacity: 0;
  animation: fadeUp 0.7s 0.2s var(--ease) forwards;
}

.hero-tag::before {
  content: '';
  width: 28px;
  height: 1px;
  background: var(--rose-deep);
}

.hero-title {
  font-family: var(--serif);
  font-size: clamp(2.4rem, 4vw, 4.2rem);
  font-weight: 400;
  line-height: 1.15;
  margin-bottom: 1.4rem;
  opacity: 0;
  animation: fadeUp 0.8s 0.35s var(--ease) forwards;
}

.hero-title em { font-style: italic; color: var(--rose-deep); }

.hero-services-line {
  font-size: 1rem;
  color: var(--rose-deep);
  letter-spacing: 0.06em;
  margin-bottom: 0.8rem;
  font-weight: 400;
  opacity: 0;
  animation: fadeUp 0.8s 0.42s var(--ease) forwards;
}

.hero-desc {
  font-size: 1rem;
  color: var(--muted);
  max-width: 44ch;
  line-height: 1.8;
  margin-bottom: 2.4rem;
  opacity: 0;
  animation: fadeUp 0.8s 0.5s var(--ease) forwards;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 2.8rem;
  opacity: 0;
  animation: fadeUp 0.8s 0.62s var(--ease) forwards;
}

.hero-cta .btn-primary,
.hero-cta .btn-outline {
  min-width: 220px;
}

.hero-advantages {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  opacity: 0;
  animation: fadeUp 0.8s 0.75s var(--ease) forwards;
}

.hero-adv-item {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 0.88rem;
  color: var(--muted);
}

.hero-adv-item::before {
  content: '✦';
  color: var(--teal);
  font-size: 0.6rem;
  flex-shrink: 0;
}

.hero-right {
  position: relative;
  overflow: hidden;
  opacity: 0;
  animation: fadeUp 1s 0.4s var(--ease) forwards;
}

.hero-photo-main {
  position: absolute;
  inset: 0;
  background: var(--blush);
}

.hero-photo-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

.hero-photo-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, var(--ivory) 0%, transparent 18%);
  pointer-events: none;
}

/* ══════════════════════════════
   ПОСЛУГИ
   ══════════════════════════════ */
#services {
  padding: 7rem 4rem;
  background: var(--white);
  position: relative;
  z-index: 1;
}

.services-head {
  text-align: center;
  max-width: 55ch;
  margin: 0 auto 4rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1.5rem;
}
.srv-card:nth-child(1) { grid-column: span 2; }
.srv-card:nth-child(2) { grid-column: span 2; }
.srv-card:nth-child(3) { grid-column: span 2; }
.srv-card:nth-child(4) { grid-column: 2 / span 2; }
.srv-card:nth-child(5) { grid-column: 4 / span 2; }

.srv-card {
  background: var(--blush-soft);
  padding: 2.4rem 2rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.35s, transform 0.35s, background 0.3s;
}

.srv-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--rose-btn), var(--teal));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
}

.srv-card:hover {
  box-shadow: 0 8px 32px rgba(160,112,112,0.13);
  transform: translateY(-5px);
  background: var(--white);
}

.srv-card:hover::after { transform: scaleX(1); }

.srv-icon {
  font-size: 2.4rem;
  margin-bottom: 1.2rem;
}

.srv-card h3 {
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 500;
  margin-bottom: 0.7rem;
  color: var(--ink);
  padding-bottom: 0.7rem;
  border-bottom: 1px solid var(--line);
}

.srv-card p {
  font-size: 0.87rem;
  color: var(--muted);
  line-height: 1.75;
  flex: 1;
}

.srv-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  margin-top: 1.4rem;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  color: var(--rose-btn);
  text-decoration: none;
  text-transform: uppercase;
  font-weight: 500;
  transition: color 0.2s, gap 0.2s;
}

.srv-cta:hover {
  color: var(--ink);
  gap: 0.6rem;
}

/* ══════════════════════════════
   ПРО ЛІКАРЯ
   ══════════════════════════════ */
#about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 75vh;
  position: relative;
  z-index: 1;
}

.about-photos {
  position: relative;
  background: var(--blush);
  overflow: hidden;
}

.about-photos img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

.about-content {
  padding: 6rem 4rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--ivory);
}

.about-content p {
  color: var(--muted);
  line-height: 1.85;
  margin-bottom: 1.1rem;
  font-size: 0.95rem;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin: 2rem 0;
}

.stat-item {
  text-align: center;
  padding: 1.2rem;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--line);
}

.stat-item strong {
  display: block;
  font-family: var(--serif);
  font-size: 2rem;
  color: var(--rose-deep);
  line-height: 1;
  margin-bottom: 0.3rem;
}

.stat-item span {
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.about-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.tag {
  font-size: 0.73rem;
  letter-spacing: 0.07em;
  padding: 0.4rem 1rem;
  border: 1px solid var(--rose);
  color: var(--rose-deep);
  border-radius: 20px;
}

/* ══════════════════════════════
   ЧОМУ ОБИРАЮТЬ НАС
   ══════════════════════════════ */
#why {
  padding: 7rem 4rem;
  background: var(--teal-soft);
  position: relative;
  z-index: 1;
}

.why-head {
  text-align: center;
  max-width: 50ch;
  margin: 0 auto 4rem;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.why-card {
  background: var(--white);
  padding: 2.2rem 1.8rem;
  border-radius: var(--radius);
  text-align: center;
  box-shadow: 0 2px 16px rgba(122,172,170,0.1);
  transition: transform 0.3s, box-shadow 0.3s;
}

.why-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 28px rgba(122,172,170,0.18);
}

.why-icon {
  font-size: 2.4rem;
  margin-bottom: 1.1rem;
}

.why-card h3 {
  font-family: var(--serif);
  font-size: 1.05rem;
  margin-bottom: 0.7rem;
  color: var(--ink);
}

.why-card p {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.7;
}

/* ══════════════════════════════
   ЯК ПРОХОДИТЬ ПРИЙОМ
   ══════════════════════════════ */
#process {
  padding: 7rem 4rem;
  background: var(--white);
  position: relative;
  z-index: 1;
}

.process-head {
  text-align: center;
  max-width: 50ch;
  margin: 0 auto 4rem;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}

.process-steps::before {
  content: '';
  position: absolute;
  top: 2.5rem;
  left: 12.5%;
  right: 12.5%;
  height: 2px;
  background: linear-gradient(90deg, var(--rose), var(--teal));
  z-index: 0;
}

.step {
  text-align: center;
  padding: 0 1.5rem;
  position: relative;
  z-index: 1;
}

.step-num {
  width: 5rem;
  height: 5rem;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--rose);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.4rem;
  font-family: var(--serif);
  font-size: 1.5rem;
  color: var(--rose-deep);
  box-shadow: 0 4px 16px rgba(160,112,112,0.15);
}

.step h3 {
  font-family: var(--serif);
  font-size: 1.05rem;
  margin-bottom: 0.6rem;
  color: var(--ink);
}

.step p {
  font-size: 0.84rem;
  color: var(--muted);
  line-height: 1.7;
}

/* ══════════════════════════════
   КВАЛІФІКАЦІЯ
   ══════════════════════════════ */
#doctor {
  background: var(--ink);
  color: var(--white);
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 65vh;
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.doctor-content {
  padding: 5rem 4rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

#doctor .section-label { color: var(--rose); }
#doctor .section-title { color: var(--white); }

.doctor-content p {
  color: rgba(255,255,255,0.6);
  font-size: 0.93rem;
  line-height: 1.85;
  margin-bottom: 1rem;
}

.edu-list {
  list-style: none;
  margin-top: 1.5rem;
}

.edu-list li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 0.9rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  font-size: 0.87rem;
  color: rgba(255,255,255,0.6);
}

.edu-list li::before {
  content: '✦';
  color: var(--rose);
  font-size: 0.55rem;
  margin-top: 0.35rem;
  flex-shrink: 0;
}

.doctor-photo {
  position: relative;
  background: #3a2e2e;
  overflow: hidden;
}

.doctor-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  opacity: 0.85;
}

.doctor-photo-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, var(--ink) 0%, transparent 20%);
}

/* ══════════════════════════════
   ВІДГУКИ
   ══════════════════════════════ */
#testimonials {
  padding: 7rem 4rem;
  background: var(--blush-soft);
  position: relative;
  z-index: 1;
}

.test-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.test-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.test-card {
  background: var(--white);
  padding: 2.2rem;
  border-radius: var(--radius);
  border-bottom: 3px solid transparent;
  transition: border-color 0.3s, box-shadow 0.3s;
  box-shadow: 0 2px 12px rgba(160,112,112,0.06);
}

.test-card:hover {
  border-color: var(--rose);
  box-shadow: 0 6px 24px rgba(160,112,112,0.12);
}

.stars {
  color: #f4a234;
  font-size: 1rem;
  margin-bottom: 1rem;
  letter-spacing: 0.05em;
}

.google-rating {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  background: var(--white);
  padding: 0.9rem 1.8rem;
  border-radius: 50px;
  margin-top: 1.5rem;
  box-shadow: 0 2px 16px rgba(160,112,112,0.1);
  border: 1px solid var(--line);
}

.google-rating-stars {
  color: #f4a234;
  font-size: 1.1rem;
}

.google-rating-info {
  font-size: 0.85rem;
  color: var(--ink);
}

.google-rating-info strong {
  font-weight: 600;
  margin-right: 0.3rem;
}

.google-rating-info a {
  color: var(--rose-deep);
  text-decoration: none;
  margin-left: 0.5rem;
  font-size: 0.8rem;
}

.google-rating-info a:hover { text-decoration: underline; }

.google-logo {
  height: 18px;
  opacity: 0.7;
}

.test-text {
  font-family: var(--serif);
  font-size: 0.95rem;
  font-style: italic;
  color: var(--ink);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.test-author {
  font-size: 0.76rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ══════════════════════════════
   ЗАПИС
   ══════════════════════════════ */
#appointment {
  padding: 7rem 4rem;
  background: var(--white);
  position: relative;
  z-index: 1;
}

.appointment-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: start;
}

.appointment-info > p {
  color: var(--muted);
  margin-bottom: 2rem;
  line-height: 1.8;
}

.contact-items {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  padding: 1.1rem 1.4rem;
  border: 1px solid var(--line);
  background: var(--blush-soft);
  border-radius: var(--radius);
  transition: border-color 0.25s;
}

.contact-item:hover { border-color: var(--rose); }

.ci-icon {
  font-size: 1.3rem;
  flex-shrink: 0;
}

.ci-label {
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.ci-value {
  font-size: 0.93rem;
  color: var(--ink);
}

.form-wrap {
  background: var(--blush-soft);
  padding: 3rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
}

.form-wrap h3 {
  font-family: var(--serif);
  font-size: 1.6rem;
  margin-bottom: 0.5rem;
}

.form-wrap > p {
  color: var(--muted);
  font-size: 0.88rem;
  margin-bottom: 2rem;
}

.form-row { margin-bottom: 1.1rem; }

.form-row label {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.45rem;
}

.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  padding: 0.9rem 1.1rem;
  border: 1.5px solid var(--line);
  background: var(--white);
  font-family: var(--sans);
  font-size: 0.9rem;
  color: var(--ink);
  outline: none;
  border-radius: 6px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form-row select {
  appearance: none;
  -webkit-appearance: none;
  color: var(--ink) !important;
  -webkit-text-fill-color: var(--ink) !important;
}
.form-row select option {
  color: var(--ink);
  background: var(--white);
}
.form-row select option[disabled] {
  color: #aaa;
}
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  border-color: var(--rose-deep);
  box-shadow: 0 0 0 3px rgba(160,112,112,0.1);
}

.form-row textarea {
  resize: vertical;
  min-height: 80px;
}

.form-submit {
  width: 100%;
  padding: 1.1rem;
  background: var(--rose-btn);
  color: var(--white);
  border: none;
  cursor: pointer;
  font-family: var(--sans);
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 500;
  border-radius: 6px;
  margin-top: 0.5rem;
  transition: background 0.25s, transform 0.2s;
  box-shadow: 0 4px 16px rgba(160,112,112,0.25);
}

.form-submit:hover {
  background: var(--ink);
  transform: translateY(-1px);
}

/* ══════════════════════════════
   КОНТАКТИ
   ══════════════════════════════ */
#contacts {
  padding: 6rem 4rem;
  background: var(--ink);
  color: var(--white);
  position: relative;
  z-index: 1;
}

.contacts-inner {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 5rem;
  align-items: start;
}

#contacts .section-label { color: var(--rose); }
#contacts .section-title { color: var(--white); }

.contacts-list {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  margin: 2rem 0;
}

.contact-row {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.contact-row .ci-icon { font-size: 1.4rem; }

.contact-row .ci-label {
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
}

.contact-row .ci-value {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.85);
}

.contact-row a {
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  transition: color 0.2s;
}

.contact-row a:hover { color: var(--rose); }

.map-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  height: 320px;
  background: #3a3030;
  border: 1px solid rgba(255,255,255,0.08);
}

.map-wrap iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

.map-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  color: rgba(255,255,255,0.3);
  font-size: 0.85rem;
  text-align: center;
  padding: 2rem;
}

.map-placeholder span {
  font-size: 3rem;
  opacity: 0.4;
}

/* ══════════════════════════════
   ФУТЕР
   ══════════════════════════════ */
.site-footer { background: #1e1616; color: rgba(255,255,255,0.75); padding: 4rem 4rem 2rem; }

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 4rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  margin-bottom: 1.5rem;
}

.footer-brand p { font-size: 0.83rem; margin-top: 0.8rem; line-height: 1.75; max-width: 28ch; color: rgba(255,255,255,0.75); }

.footer-col h4 {
  font-size: 0.68rem; 
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.9);
  margin-bottom: 1.1rem;
}
.footer-col ul { list-style: none; padding-left: 0; }

.footer-col ul li { margin-bottom: 0.55rem; }

.footer-col ul a { font-size: 0.83rem; color: rgba(255,255,255,0.75); text-decoration: none; }

.footer-col ul a:hover { color: var(--rose); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
}

/* Бургер — прихований за замовчуванням на десктопі */
.burger { display: none; }
.mobile-menu { display: none; }

/* ══════════════════════════════
   RESPONSIVE
   ══════════════════════════════ */

/* Планшет */
@media (max-width: 1024px) {
  nav.site-nav,
  nav.site-nav.scrolled { padding: 1.1rem 2rem; }

  .hero-container { grid-template-columns: 1fr 1fr; }
  .hero-left { padding: 8rem 2.5rem 4rem; }

  #services,
  #why,
  #process,
  #testimonials,
  #appointment,
  #contacts { padding: 5rem 2.5rem; }

  #about { grid-template-columns: 1fr 1fr; }
  .about-content { padding: 4rem 2.5rem; }

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

  .process-steps::before { display: none; }
  .process-steps { grid-template-columns: repeat(2, 1fr); gap: 2rem; }

  .doctor-content { padding: 4rem 2.5rem; }
  .appointment-inner { gap: 3rem; }
  .contacts-inner { gap: 3rem; }
  .footer-top { gap: 2.5rem; }
}

/* Мобільний */
@media (max-width: 768px) {
  /* Фікс горизонтального скролу */
  html, body {
    overflow-x: hidden;
    max-width: 100%;
  }

  /* Навігація — приховати посилання, показати бургер */
  nav.site-nav, nav.site-nav.scrolled {
    padding: 0.9rem 1.2rem;
    background: rgba(250,248,245,0.97);
    backdrop-filter: blur(12px);
    grid-template-columns: auto 1fr auto;
  }
  .nav-links { display: none !important; }
  .nav-phone { display: none; }
  .burger { display: flex !important; }

  /* Hero */
  #hero { display: flex; flex-direction: column; min-height: auto; }
  .hero-right { display: none; }
  .hero-left {
    padding: 5rem 1.4rem 3rem;
    opacity: 1 !important; animation: none !important;
  }
  .hero-left * { opacity: 1 !important; transform: none !important; animation: none !important; }
  h1 { font-size: clamp(1.7rem, 6vw, 2.4rem); }
  .hero-desc { max-width: 100%; }
  .hero-cta { flex-direction: column; }
  .btn-primary, .btn-outline { width: 100%; text-align: center; justify-content: center; }

  /* CTA strip */
  .cta-strip { padding: 3rem 1.4rem; }

  /* Послуги — 1 колонка */
  #services { padding: 4rem 1.4rem; }
  .services-grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 1rem;
  }
  .srv-card:nth-child(n) { grid-column: span 1 !important; }

  /* Про лікаря */
  #about { grid-template-columns: 1fr; }
  .about-photos { height: 75vw; min-height: 240px; }
  .about-content { padding: 2.5rem 1.4rem; text-align: center; }
  .about-stats { grid-template-columns: repeat(3, 1fr); gap: 0.6rem; }
  .about-tags { justify-content: center; }
  .stat-item strong { font-size: 1.4rem; }

  /* Переваги */
  #why { padding: 4rem 1.4rem; }
  .why-grid { grid-template-columns: 1fr 1fr; gap: 1rem; }
  .why-card { padding: 1.4rem 1rem; }

  /* Прийом */
  #process { padding: 4rem 1.4rem; }
  .process-steps { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
  .process-steps::before { display: none; }

  /* Лікар */
  #doctor { grid-template-columns: 1fr; }
  .doctor-photo { height: 65vw; min-height: 240px; order: -1; }
  .doctor-content { padding: 2.5rem 1.4rem; text-align: center; }
  .edu-list li { text-align: left; }

  /* Відгуки */
  #testimonials { padding: 4rem 1.4rem; }
  .test-grid { grid-template-columns: 1fr; gap: 1rem; }
  .google-rating { flex-wrap: wrap; justify-content: center; padding: 0.8rem 1rem; }

  /* Запис */
  #appointment { padding: 4rem 1.4rem; }
  .appointment-inner { grid-template-columns: 1fr; gap: 2rem; }
  .form-wrap { padding: 1.8rem 1.2rem; }

  /* Контакти */
  #contacts { padding: 4rem 1.4rem; }
  .contacts-inner { grid-template-columns: 1fr; gap: 2rem; }
  .map-wrap { height: 220px; }

  /* Футер */
  .site-footer { padding: 2.5rem 1.4rem 1.5rem; }
  .footer-top { grid-template-columns: 1fr 1fr 1fr; }
  .footer-bottom { flex-direction: column; align-items: center; gap: 0.3rem; text-align: center; font-size: 0.7rem; }

  .section-title { font-size: clamp(1.6rem, 5.5vw, 2.2rem); }

  /* Бургер */
  .burger {
    display: flex; flex-direction: column; gap: 5px;
    cursor: pointer; padding: 4px; background: none; border: none;
  }
  .burger span {
    display: block; width: 24px; height: 2px;
    background: var(--ink); transition: transform 0.3s, opacity 0.3s; border-radius: 2px;
  }
  .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); }

  .mobile-menu {
    display: flex; flex-direction: column;
    position: fixed; top: 0; left: 0; right: 0; bottom: 0;
    background: var(--ivory); z-index: 190;
    justify-content: center; align-items: center; gap: 2rem;
    transform: translateX(100%); transition: transform 0.4s var(--ease);
  }
  .mobile-menu.open { transform: translateX(0); }
  .mobile-menu a { font-family: var(--serif); font-size: 1.9rem; color: var(--ink); text-decoration: none; }
  .mobile-menu .mob-phone { font-size: 1.1rem; color: var(--rose-deep); border-bottom: 1px solid var(--rose); }
}

@media (max-width: 480px) {
  .why-grid { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: 1fr; }
  .about-stats { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 769px) {
  .burger, .mobile-menu { display: none !important; }
}

/* Малі телефони */
@media (max-width: 480px) {
  .why-grid { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: 1fr; }
  .about-stats { grid-template-columns: repeat(3, 1fr); }
  .stat-item strong { font-size: 1.5rem; }

  nav.site-nav,
  nav.site-nav.scrolled { padding: 0.9rem 1rem; }
}

/* Дублікат видалено — стилі burger вже визначені вище */


/* ══════════════════════════════
   БЛОГ — АРХІВ
   ══════════════════════════════ */

.blog-main { padding-top: 80px; }

.blog-hero {
  background: var(--blush);
  padding: 5rem 4rem 4rem;
  text-align: center;
  border-bottom: 1px solid var(--line);
}

.blog-hero-inner { max-width: 60ch; margin: 0 auto; }

.blog-hero-desc {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.75;
  margin-top: 0.5rem;
}

.blog-archive { padding: 5rem 4rem; background: var(--ivory); }
.blog-archive-inner { max-width: 1200px; margin: 0 auto; }

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 3rem;
}

.blog-card {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.3s, transform 0.3s;
}

.blog-card:hover {
  box-shadow: 0 8px 32px rgba(160,112,112,0.13);
  transform: translateY(-4px);
}

.blog-card-thumb {
  display: block;
  overflow: hidden;
  height: 220px;
}

.blog-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s var(--ease);
}

.blog-card:hover .blog-card-thumb img { transform: scale(1.04); }

.blog-card-body {
  padding: 1.8rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.blog-card-meta {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--rose-deep);
  margin-bottom: 0.8rem;
}

.blog-card-title {
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 500;
  line-height: 1.35;
  margin-bottom: 0.8rem;
  color: var(--ink);
}

.blog-card-title a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}

.blog-card-title a:hover { color: var(--rose-deep); }

.blog-card-excerpt {
  font-size: 0.87rem;
  color: var(--muted);
  line-height: 1.75;
  flex: 1;
  margin-bottom: 1.2rem;
}

.blog-card-link {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--rose-btn);
  text-decoration: none;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: gap 0.2s, color 0.2s;
}

.blog-card-link:hover { gap: 0.7rem; color: var(--ink); }

.blog-empty {
  text-align: center;
  padding: 4rem 2rem;
  color: var(--muted);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

/* Пагінація */
.blog-pagination { text-align: center; margin-top: 2rem; }
.blog-pagination .nav-links { display: inline-flex; gap: 0.5rem; flex-wrap: wrap; justify-content: center; }
.blog-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.4rem;
  height: 2.4rem;
  border: 1.5px solid var(--line);
  border-radius: 4px;
  font-size: 0.85rem;
  color: var(--muted);
  text-decoration: none;
  transition: all 0.2s;
}
.blog-pagination .page-numbers.current,
.blog-pagination .page-numbers:hover {
  background: var(--rose-btn);
  border-color: var(--rose-btn);
  color: var(--white);
}
.blog-pagination .prev,
.blog-pagination .next { width: auto; padding: 0 1rem; }

/* ══════════════════════════════
   БЛОГ — ОДНА СТАТТЯ
   ══════════════════════════════ */

.single-main { padding-top: 80px; }

.single-header {
  background: var(--blush);
  padding: 4rem 4rem 3rem;
  border-bottom: 1px solid var(--line);
}

.single-header-inner { max-width: 820px; margin: 0 auto; }

.single-breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.75rem;
  color: var(--muted);
  margin-bottom: 1.5rem;
}

.single-breadcrumb a {
  color: var(--rose-deep);
  text-decoration: none;
  transition: color 0.2s;
}

.single-breadcrumb a:hover { color: var(--ink); }

.single-title {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 400;
  line-height: 1.2;
  color: var(--ink);
  margin: 0.8rem 0 1.5rem;
}

.single-thumb {
  border-radius: var(--radius);
  overflow: hidden;
  margin-top: 2rem;
}

.single-thumb img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  display: block;
}

/* Контент + сайдбар */
.single-content-wrap {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 4rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 4rem;
  align-items: start;
}

.single-content {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.9;
}

.single-content h2 {
  font-family: var(--serif);
  font-size: 1.6rem;
  color: var(--ink);
  margin: 2.5rem 0 1rem;
  font-weight: 400;
}

.single-content h3 {
  font-family: var(--serif);
  font-size: 1.25rem;
  color: var(--ink);
  margin: 2rem 0 0.8rem;
  font-weight: 400;
}

.single-content p { margin-bottom: 1.2rem; }

.single-content ul, .single-content ol {
  padding-left: 1.5rem;
  margin-bottom: 1.2rem;
}

.single-content li { margin-bottom: 0.5rem; }

.single-content a {
  color: var(--rose-btn);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.single-content a:hover { color: var(--ink); }

.single-content blockquote {
  border-left: 3px solid var(--rose);
  padding: 1rem 1.5rem;
  margin: 2rem 0;
  background: var(--blush-soft);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-family: var(--serif);
  font-style: italic;
  color: var(--ink);
}

/* Сайдбар */
.single-sidebar { position: sticky; top: 100px; }

.sidebar-cta {
  background: var(--blush-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2rem 1.8rem;
  margin-bottom: 2rem;
  text-align: center;
}

.sidebar-cta h3 {
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--ink);
  margin: 0.5rem 0 0.8rem;
}

.sidebar-cta h3 em { font-style: italic; color: var(--rose-deep); }

.sidebar-cta p {
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 1.4rem;
  line-height: 1.6;
}

.sidebar-phone {
  display: block;
  margin-top: 1rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--rose-deep);
  text-decoration: none;
  border-bottom: 1px solid var(--rose);
  padding-bottom: 2px;
  transition: color 0.2s;
}

.sidebar-phone:hover { color: var(--ink); }

.sidebar-recent {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.8rem;
}

.sidebar-title {
  font-family: var(--serif);
  font-size: 1rem;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 1.2rem;
  padding-bottom: 0.8rem;
  border-bottom: 1px solid var(--line);
}

.sidebar-post {
  display: flex;
  gap: 0.9rem;
  padding: 0.8rem 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  transition: opacity 0.2s;
}

.sidebar-post:last-child { border-bottom: none; }
.sidebar-post:hover { opacity: 0.75; }

.sidebar-post-thumb {
  width: 60px;
  height: 60px;
  border-radius: 6px;
  overflow: hidden;
  flex-shrink: 0;
}

.sidebar-post-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sidebar-post-info {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.sidebar-post-date {
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  color: var(--rose-deep);
  text-transform: uppercase;
}

.sidebar-post-title {
  font-size: 0.83rem;
  color: var(--ink);
  line-height: 1.4;
}

/* Навігація між статтями */
.single-nav {
  background: var(--blush-soft);
  border-top: 1px solid var(--line);
  padding: 3rem 4rem;
}

.single-nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 2rem;
}

.single-nav-item {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  text-decoration: none;
  max-width: 45%;
  transition: opacity 0.2s;
}

.single-nav-item:hover { opacity: 0.7; }
.single-nav-next { text-align: right; margin-left: auto; }

.single-nav-label {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--rose-deep);
}

.single-nav-title {
  font-family: var(--serif);
  font-size: 1rem;
  color: var(--ink);
  line-height: 1.35;
}

/* ══════════════════════════════
   БЛОГ RESPONSIVE
   ══════════════════════════════ */

@media (max-width: 1024px) {
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .single-content-wrap { grid-template-columns: 1fr; gap: 2rem; padding: 3rem 2.5rem; }
  .single-sidebar { position: static; }
  .single-header { padding: 3rem 2.5rem 2rem; }
  .blog-archive { padding: 4rem 2.5rem; }
}

@media (max-width: 768px) {
  .blog-hero { padding: 3rem 1.4rem 2.5rem; }
  .blog-archive { padding: 3rem 1.4rem; }
  .blog-grid { grid-template-columns: 1fr; gap: 1.2rem; }
  .blog-card-thumb { height: 180px; }
  .single-header { padding: 2.5rem 1.4rem 2rem; }
  .single-thumb img { height: 240px; }
  .single-content-wrap { padding: 2.5rem 1.4rem; }
  .single-nav { padding: 2rem 1.4rem; }
  .single-nav-inner { flex-direction: column; }
  .single-nav-item { max-width: 100%; }
  .single-nav-next { text-align: left; margin-left: 0; }
}
@media (max-width: 768px) {
  .burger,
  button.burger,
  .site-nav .burger {
    background: transparent !important;
    background-color: transparent !important;
    border: none !important;
    box-shadow: none !important;
    outline: none !important;
    appearance: none !important;
    -webkit-appearance: none !important;
    padding: 4px !important;
    border-radius: 0 !important;
  }

  .burger:hover,
  .burger:focus,
  .burger:active,
  button.burger:hover,
  button.burger:focus,
  button.burger:active {
    background: transparent !important;
    background-color: transparent !important;
    box-shadow: none !important;
    outline: none !important;
  }
}
@media (max-width: 768px) {
  .site-nav > *:last-child,
  .site-nav .menu-toggle-wrap,
  .site-nav .burger-wrap {
    background: transparent !important;
    box-shadow: none !important;
    border-radius: 0 !important;
  }
}
@media (max-width: 768px) {
  #hero.hero-section,
  #hero {
    padding-top: 120px;
  }
}