:root {
  --primary: #2ec1b6;
  --primary-dark: #18a99f;
  --primary-soft: #eaf9f7;
  --cyan: #43c7d6;
  --ink: #28224e;
  --ink-2: #3d385f;
  --text: #48475b;
  --muted: #77798d;
  --line: #dfeceb;
  --white: #ffffff;
  --bg: #f7fbfb;
  --shadow: 0 18px 50px rgba(38, 82, 86, 0.11);
  --radius: 24px;
  --radius-sm: 16px;
  --container: 1320px;
  --page-gutter: 28px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Rubik", "Segoe UI", Arial, sans-serif;
  color: var(--text);
  background: #fff;
  line-height: 1.55;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }

.container { width: min(var(--container), calc(100% - (var(--page-gutter) * 2))); margin: 0 auto; }
.section { padding: 88px 0; position: relative; }
.section--soft { background: linear-gradient(180deg, #f2fcfb 0%, #fbfefe 100%); }

.topbar { background: var(--primary); color: #fff; font-size: 14px; }
.topbar__inner { min-height: 40px; display: flex; align-items: center; justify-content: center; gap: 38px; }
.topbar a { font-weight: 700; }

.nav-wrap { background: rgba(255,255,255,.94); position: sticky; top: 0; z-index: 30; border-bottom: 1px solid rgba(36, 50, 70, .06); backdrop-filter: blur(16px); }
.nav { min-height: 88px; display: flex; align-items: center; gap: 26px; }
.logo { display: inline-flex; align-items: center; flex: 0 0 auto; width: 164px; }
.logo__image { width: 100%; height: auto; max-height: 78px; object-fit: contain; object-position: left center; }
.logo--footer { width: 174px; }
.logo--footer .logo__image { max-height: 86px; }
.menu { display: flex; gap: 24px; margin-left: auto; }
.menu a { font-size: 14px; font-weight: 600; color: var(--ink-2); position: relative; }
.menu a::after { content: ""; position: absolute; height: 2px; left: 0; right: 100%; bottom: -7px; background: var(--primary); transition: .25s; }
.menu a:hover::after { right: 0; }
.nav__actions { display: flex; align-items: center; gap: 16px; }
.phone { font-weight: 800; font-size: 13px; color: var(--ink); white-space: nowrap; }
.menu-toggle { display: none; border: 0; background: transparent; width: 44px; height: 44px; padding: 10px; }
.menu-toggle span { display: block; height: 2px; background: var(--ink); margin: 6px 0; }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 24px; border-radius: 12px; font-weight: 800; font-size: 14px; transition: .25s ease; border: 1px solid transparent; cursor: pointer; }
.btn--primary { color: #fff; background: linear-gradient(135deg, var(--primary), #18bdb7); box-shadow: 0 10px 24px rgba(46,193,182,.24); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 14px 28px rgba(46,193,182,.32); }
.btn--outline { color: var(--primary-dark); border-color: var(--primary); background: #fff; }
.btn--small { min-height: 44px; padding: 0 18px; }
.btn--full { width: 100%; }

.hero { padding: 42px 0 0; min-height: 620px; overflow: hidden; background: linear-gradient(90deg, #fff 0%, #fff 48%, #eafaf8 100%); }
.hero__grid { display: grid; grid-template-columns: 1.02fr .98fr; align-items: center; min-height: 560px; }
.hero__content { padding: 52px 0 72px; z-index: 2; }
.eyebrow, .section-label { display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 999px; background: #eef9f8; color: var(--ink-2); font-size: 13px; font-weight: 600; }
.hero h1 { color: var(--ink); font-size: clamp(42px, 5vw, 70px); line-height: 1.02; margin: 20px 0 18px; letter-spacing: -2.4px; }
.lead { font-size: 19px; max-width: 630px; color: var(--ink-2); margin: 0 0 26px; }
.check-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 11px; }
.check-list li { position: relative; padding-left: 30px; }
.check-list li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; background: var(--primary); color: #fff; font-size: 12px; font-weight: 900; }
.hero__buttons { display: flex; gap: 12px; margin: 30px 0 22px; flex-wrap: wrap; }
.hero__note { font-size: 13px; color: var(--ink-2); font-weight: 600; }
.hero__media { align-self: stretch; position: relative; display: flex; align-items: end; justify-content: center; min-height: 560px; }
.hero__blob { position: absolute; width: 620px; height: 520px; right: -90px; bottom: -20px; border-radius: 44% 0 0 0 / 52% 0 0 0; background: radial-gradient(circle at 38% 30%, rgba(255,255,255,.95), rgba(197,247,242,.85) 35%, rgba(80,205,203,.22) 75%); }
.hero__doctor { position: relative; z-index: 2; width: min(520px, 95%); height: 520px; object-fit: cover; object-position: center 18%; border-radius: 38% 38% 12px 12px; mix-blend-mode: multiply; }
.doctor-card { position: absolute; right: 8px; bottom: 52px; z-index: 3; width: 220px; padding: 20px; border-radius: 18px; background: rgba(255,255,255,.96); box-shadow: var(--shadow); }
.doctor-card strong { color: var(--ink); display: block; margin-bottom: 8px; }
.doctor-card span { font-size: 12px; color: var(--muted); }
.hero__glow { position: absolute; border-radius: 50%; filter: blur(2px); opacity: .45; }
.hero__glow--1 { width: 300px; height: 300px; background: #c7f7f0; right: 18%; top: 30px; }
.hero__glow--2 { width: 180px; height: 180px; border: 36px solid #dff9f5; right: 4%; bottom: 60px; }

.section-head { text-align: center; margin: 0 auto 40px; max-width: 760px; }
.section-head span { color: var(--primary-dark); font-weight: 800; font-size: 14px; text-transform: uppercase; letter-spacing: .08em; }
.section-head h2, .about__content h2 { color: var(--ink); font-size: clamp(30px, 3vw, 44px); line-height: 1.1; letter-spacing: -1.2px; margin: 8px 0 0; }
.section-head--left { text-align: left; margin-left: 0; }

.services-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.service-card { background: #fff; border-radius: var(--radius-sm); padding: 28px 18px; text-align: center; border: 1px solid #e4efee; box-shadow: 0 10px 30px rgba(36, 91, 94, .07); transition: .25s; }
.service-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.service-card .icon { width: 58px; height: 58px; border-radius: 50%; margin: 0 auto 18px; display: grid; place-items: center; background: var(--primary-soft); color: var(--primary-dark); font-size: 28px; }
.service-card .icon img { width: 34px; height: 34px; display: block; object-fit: contain; }
.service-card h3 { color: var(--ink); font-size: 16px; margin: 0 0 10px; }
.service-card p { font-size: 12px; color: var(--muted); margin: 0; }

.about { background: #fff; }
.about__grid { display: grid; grid-template-columns: .95fr 1.05fr .55fr; gap: 44px; align-items: center; }
.about__photo img { border-radius: 26px; height: 470px; width: 100%; object-fit: cover; object-position: center; box-shadow: var(--shadow); }
.about__content p { margin: 18px 0 22px; }
.check-list--compact { gap: 12px; font-size: 14px; }
.stats { display: grid; gap: 16px; }
.stat { background: #fff; border: 1px solid #e3efee; box-shadow: 0 12px 30px rgba(45,100,103,.08); border-radius: 18px; padding: 22px; }
.stat strong { display: block; color: var(--ink); font-size: 34px; line-height: 1; margin-bottom: 8px; }
.stat span { font-size: 12px; color: var(--muted); }

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.step { background: #fff; border-radius: 20px; padding: 26px 24px 24px; position: relative; border: 1px solid #e4efee; min-height: 250px; }
.step b { position: absolute; top: 18px; left: 18px; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: #dff9f5; color: var(--primary-dark); }
.step__icon { margin: 36px auto 20px; width: 66px; height: 66px; border-radius: 50%; display: grid; place-items: center; background: var(--primary-soft); color: var(--primary-dark); font-size: 30px; }
.step__icon img { width: 38px; height: 38px; display: block; object-fit: contain; }
.step h3 { color: var(--ink); font-size: 16px; margin: 0 0 10px; text-align: center; }
.step p { font-size: 12px; text-align: center; color: var(--muted); margin: 0; }

.reviews-booking { background: #fff; }
.reviews-booking__grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: 32px; }
.reviews, .booking { border-radius: 28px; padding: 36px; background: linear-gradient(180deg, #fbfefe, #f5fbfb); border: 1px solid #e5efee; }
.review-card { display: none; background: #fff; border: 1px solid #e5efee; border-radius: 18px; padding: 24px; box-shadow: 0 12px 28px rgba(50, 88, 92, .06); }
.review-card.active { display: block; }
.review-top { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.avatar { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--primary); color: #fff; font-weight: 800; }
.stars { color: #f0b33a; letter-spacing: 2px; font-size: 14px; }
.review-dots { display: flex; gap: 8px; justify-content: center; margin-top: 18px; }
.dot { width: 8px; height: 8px; border-radius: 50%; border: 0; background: #cdd7d7; cursor: pointer; }
.dot.active { background: var(--primary); }
.booking p { margin-top: -18px; margin-bottom: 22px; color: var(--muted); }
.booking-form { display: grid; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.schedule-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 14px; align-items: start; }
.field { display: grid; gap: 8px; }
.booking-form label, .booking-form .field { font-size: 12px; font-weight: 700; color: var(--ink-2); }
.booking-form label > span, .booking-form .field > span { display: block; }
.booking-form input, .booking-form select {
  width: 100%; border: 1px solid #dce9e8; border-radius: 14px; min-height: 56px; padding: 0 16px;
  background: #fff; outline: none; color: var(--ink); font-size: 16px; font-weight: 500;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.booking-form input:focus, .booking-form select:focus {
  border-color: var(--primary); box-shadow: 0 0 0 4px rgba(46,193,182,.10);
}
.field__control { position: relative; }
.field__control::after {
  content: ""; position: absolute; right: 16px; top: 50%; transform: translateY(-50%);
  width: 18px; height: 18px; opacity: .58; pointer-events: none; background-size: contain; background-repeat: no-repeat;
}
.field__control--date::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%2328224e' stroke-width='1.8'%3E%3Crect x='3' y='5' width='18' height='16' rx='3'/%3E%3Cpath d='M16 3v4M8 3v4M3 10h18'/%3E%3C/svg%3E");
}
.field__control input[type="date"] { padding-right: 46px; }
.field__control input[type="date"]::-webkit-calendar-picker-indicator {
  opacity: 0; position: absolute; inset: 0; width: 100%; height: 100%; cursor: pointer;
}
.time-slots {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px;
  padding: 14px; border: 1px solid #dce9e8; border-radius: 18px; background: rgba(255,255,255,.78);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.7);
}
.time-slots.is-error { border-color: #df6767; box-shadow: 0 0 0 4px rgba(223,103,103,.10); }
.time-slot {
  min-height: 48px; border: 1px solid #d9e9e7; border-radius: 14px; background: #fff;
  color: var(--ink-2); font-weight: 700; font-size: 14px; cursor: pointer;
  transition: .2s ease; padding: 0 10px;
}
.time-slot:hover { transform: translateY(-1px); border-color: rgba(46,193,182,.55); box-shadow: 0 8px 18px rgba(46,193,182,.12); }
.time-slot.is-active {
  color: #fff; border-color: transparent; background: linear-gradient(135deg, var(--primary), #18bdb7);
  box-shadow: 0 10px 24px rgba(46,193,182,.26);
}
.booking-form small { color: var(--muted); font-size: 11px; line-height: 1.5; }
.field-hint { margin-top: 2px; }
.form-error, .form-success {
  display: none; padding: 13px 14px; border-radius: 12px; font-weight: 700; font-size: 13px;
}
.form-error { background: #fff2f2; color: #c54d4d; border: 1px solid #ffd4d4; }
.form-error.show { display: block; }
.form-success { background: #e8faf7; color: #127f78; }
.form-success.show { display: block; }

.contacts { padding: 34px 0 46px; border-top: 1px solid #e8eeee; }
.contacts__grid { display: grid; grid-template-columns: 1.2fr 1.1fr .8fr .8fr; gap: 30px; align-items: center; }
.contacts strong { color: var(--ink); font-size: 14px; }
.contacts p { margin: 5px 0 0; font-size: 12px; color: var(--muted); }

.floating-cta { position: fixed; right: 22px; bottom: 22px; z-index: 50; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--primary); color: #fff; font-size: 24px; box-shadow: 0 12px 28px rgba(46,193,182,.34); }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity .65s ease, transform .65s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

@media (max-width: 1080px) {
  .menu { gap: 14px; }
  .nav__actions .phone { display: none; }
  .services-grid { grid-template-columns: repeat(3, 1fr); }
  .about__grid { grid-template-columns: 1fr 1.1fr; }
  .stats { grid-column: 1 / -1; grid-template-columns: repeat(3, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 820px) {
  .topbar { display: none; }
  .nav { min-height: 72px; gap: 14px; }
  .menu-toggle { display: block; margin-left: auto; }
  .menu { position: absolute; top: 72px; left: 20px; right: 20px; background: #fff; border-radius: 16px; box-shadow: var(--shadow); padding: 18px; display: none; flex-direction: column; gap: 12px; }
  .menu.is-open { display: flex; }
  .nav__actions { display: none; }
  .hero { padding-top: 0; }
  .hero__grid { grid-template-columns: 1fr; }
  .hero__content { padding: 64px 0 32px; }
  .hero__media { min-height: 430px; }
  .hero__doctor { height: 420px; width: min(520px, 100%); }
  .doctor-card { right: 4%; bottom: 34px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .about__grid { grid-template-columns: 1fr; }
  .about__photo img { height: 420px; }
  .stats { grid-column: auto; grid-template-columns: repeat(3, 1fr); }
  .reviews-booking__grid { grid-template-columns: 1fr; }
  .contacts__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 560px) {
  .container { width: min(var(--container), calc(100% - 24px)); }
  .section { padding: 64px 0; }
  .logo { width: 138px; }
  .logo__image { height: auto; max-height: 64px; }
  .logo--footer { width: 160px; }
  .logo--footer .logo__image { height: auto; max-height: 78px; }
  .hero h1 { font-size: 44px; }
  .lead { font-size: 17px; }
  .hero__buttons { flex-direction: column; }
  .hero__buttons .btn { width: 100%; }
  .hero__media { min-height: 360px; }
  .hero__doctor { height: 360px; }
  .doctor-card { width: 185px; padding: 14px; right: 0; bottom: 18px; }
  .services-grid { grid-template-columns: 1fr; }
  .service-card { text-align: left; display: grid; grid-template-columns: 58px 1fr; column-gap: 14px; align-items: center; }
  .service-card .icon { margin: 0; grid-row: 1 / span 2; }
  .service-card h3 { margin-bottom: 4px; }
  .stats { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .reviews, .booking { padding: 24px; }
  .form-row { grid-template-columns: 1fr; }
  .schedule-grid { grid-template-columns: 1fr; }
  .time-slots { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .contacts__grid { grid-template-columns: 1fr; }
}

/* ===== Doctor-specific landing ===== */
.hero--doctor-page .hero__grid { grid-template-columns: .92fr 1.08fr; }
.hero--doctor-page .hero__media { align-items: center; }
.hero--doctor-page .hero__doctor { transform: translateY(-10px); }
.hero--doctor-page .doctor-card { bottom: 68px; }
.hero--doctor-page h1 { max-width: 690px; margin: 18px 0 10px; font-size: clamp(38px, 4.35vw, 60px); line-height: .98; letter-spacing: -2px; }
.hero__promise { max-width: 650px; margin: 0 0 18px; color: var(--ink-2); font-size: clamp(19px, 1.75vw, 25px); line-height: 1.28; font-weight: 700; letter-spacing: -.35px; }
.hero__specialties { max-width: 650px; margin: 0 0 16px; }
.lead--compact { max-width: 650px; margin-bottom: 20px; font-size: 16px; line-height: 1.55; }
.hero__specialties > strong { display: block; margin-bottom: 10px; color: var(--ink); font-size: 14px; }
.hero__specialty-list { display: flex; flex-wrap: wrap; gap: 8px; }
.hero__specialty-list span { display: inline-flex; align-items: center; min-height: 34px; padding: 7px 12px; border: 1px solid rgba(46,193,182,.28); border-radius: 999px; background: rgba(234,249,247,.82); color: var(--ink-2); font-size: 12px; font-weight: 800; }
.hero__doctor--real { mix-blend-mode: normal; object-position: center 18%; background: #fff; border-radius: 30px; }
.doctor-card--wide { width: min(310px, 74%); }
.services-grid--doctor { grid-template-columns: repeat(3, 1fr); gap: 18px; }
.services-grid--doctor .service-card { text-align: left; padding: 28px; }
.services-grid--doctor .service-card .icon { margin: 0 0 18px; }
.services-grid--doctor .service-card p { font-size: 13px; line-height: 1.65; }
.about__grid--doctor { grid-template-columns: .9fr 1.1fr .52fr; }
.about__grid--doctor .about__title { max-width: 620px; margin: 0 0 18px; font-size: clamp(28px, 2.15vw, 34px); line-height: 1.15; letter-spacing: -.8px; }
.about__grid--doctor .about__photo img { object-position: center 20%; }
.education-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.education-card { background: #fff; border: 1px solid #e3efee; border-radius: 20px; padding: 26px; box-shadow: 0 12px 30px rgba(45,100,103,.06); }
.education-year { display: inline-flex; min-height: 36px; align-items: center; padding: 0 12px; border-radius: 999px; background: var(--primary-soft); color: var(--primary-dark); font-weight: 800; margin-bottom: 18px; }
.education-card h3 { color: var(--ink); margin: 0 0 10px; font-size: 17px; }
.education-card p { color: var(--muted); font-size: 13px; line-height: 1.65; margin: 0; }
.certificate-note { display: flex; gap: 20px; justify-content: center; align-items: center; margin-top: 24px; padding: 18px 24px; background: #fff; border: 1px solid #e3efee; border-radius: 18px; }
.certificate-note strong { color: var(--ink); }
.certificate-note span { color: var(--muted); font-size: 13px; }
.doctor-benefits { background: #fff; }
.doctor-trust { background: linear-gradient(180deg, #fff 0%, #f8fcfc 100%); }
.trust-layout { display: grid; grid-template-columns: .88fr 1.12fr; gap: 48px; align-items: center; }
.trust-visual { position: relative; }
.trust-photo-wrap { position: relative; min-height: 580px; }
.trust-photo-wrap::before {
  content: ""; position: absolute; inset: 24px 22px 0 0; border-radius: 32px;
  background: linear-gradient(180deg, #effaf9 0%, #dff7f3 100%);
}
.trust-photo-wrap::after {
  content: ""; position: absolute; width: 170px; height: 170px; right: -18px; top: 36px;
  border-radius: 50%; background: rgba(199,247,240,.72); filter: blur(2px);
}
.trust-photo { position: absolute; left: 0; top: 54px; width: calc(100% - 72px); height: 470px; object-fit: cover; object-position: center 18%; border-radius: 30px; box-shadow: var(--shadow); z-index: 2; }
.trust-badge {
  position: absolute; z-index: 3; background: rgba(255,255,255,.98); border: 1px solid #e3efee; border-radius: 20px;
  box-shadow: 0 20px 40px rgba(45,100,103,.10); padding: 18px 20px;
}
.trust-badge strong { display: block; color: var(--ink); font-size: 28px; line-height: 1; margin-bottom: 8px; }
.trust-badge span { display: block; color: var(--muted); font-size: 14px; line-height: 1.45; max-width: 180px; }
.trust-badge--years { right: 26px; bottom: 42px; }
.trust-badge--status { left: 36px; bottom: -6px; max-width: 250px; }
.trust-content h2 { color: var(--ink); font-size: clamp(32px, 3.3vw, 48px); line-height: 1.08; letter-spacing: -1.4px; margin: 10px 0 16px; }
.trust-eyebrow { display: inline-flex; align-items: center; min-height: 34px; padding: 0 14px; border-radius: 999px; background: #eef9f8; color: var(--primary-dark); font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.trust-lead { max-width: 680px; margin: 0 0 26px; color: var(--ink-2); font-size: 18px; line-height: 1.6; }
.trust-points { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.trust-point {
  display: grid; grid-template-columns: 64px 1fr; gap: 16px; align-items: start;
  padding: 22px 22px 20px; background: #fff; border: 1px solid #e3efee; border-radius: 22px; box-shadow: 0 10px 28px rgba(45,100,103,.06);
}
.trust-point__icon { width: 64px; height: 64px; border-radius: 18px; display: grid; place-items: center; background: var(--primary-soft); }
.trust-point__icon img { width: 34px; height: 34px; object-fit: contain; }
.trust-point__body h3 { margin: 0 0 8px; color: var(--ink); font-size: 20px; line-height: 1.2; }
.trust-point__body p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.62; }
.reviews-booking--single { background: linear-gradient(180deg,#f7fcfb,#fff); }
.booking--wide { display: grid; grid-template-columns: .85fr 1.15fr; gap: 42px; align-items: center; max-width: 1080px; margin: 0 auto; }
.booking__intro p { margin: -18px 0 22px; color: var(--muted); }
.booking-doctor-mini { display: flex; gap: 14px; align-items: center; background: #fff; border: 1px solid #e4efee; border-radius: 16px; padding: 12px; }
.booking-doctor-mini img { width: 70px; height: 70px; border-radius: 14px; object-fit: cover; object-position: center 20%; }
.booking-doctor-mini strong { display: block; color: var(--ink); font-size: 14px; margin-bottom: 4px; }
.booking-doctor-mini span { display: block; color: var(--muted); font-size: 12px; }

@media (max-width: 1080px) {
  .trust-layout { grid-template-columns: 1fr; gap: 32px; }
  .trust-photo-wrap { min-height: 540px; }
  .trust-photo { width: min(560px, calc(100% - 96px)); }
  .trust-badge--status { left: 22px; }
  .trust-points { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .about__grid--doctor { grid-template-columns: 1fr 1.1fr; }
  .about__grid--doctor .stats { grid-column: 1 / -1; }
  .education-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 820px) {
  .trust-photo-wrap { min-height: 500px; }
  .trust-photo { top: 24px; width: calc(100% - 48px); height: 420px; }
  .trust-badge { padding: 16px 18px; }
  .trust-badge strong { font-size: 24px; }
  .trust-badge span { font-size: 13px; }
  .trust-points { grid-template-columns: 1fr; }
  .hero--doctor-page .hero__grid { grid-template-columns: 1fr; }
  .hero--doctor-page .hero__media { align-items: center; }
  .hero--doctor-page .hero__doctor { transform: none; }
  .hero--doctor-page .doctor-card { bottom: 34px; }
  .services-grid--doctor { grid-template-columns: repeat(2, 1fr); }
  .about__grid--doctor { grid-template-columns: 1fr; }
  .booking--wide { grid-template-columns: 1fr; gap: 24px; }
  .certificate-note { align-items: flex-start; flex-direction: column; gap: 6px; }
}
@media (max-width: 560px) {
  .trust-content h2 { font-size: 34px; }
  .trust-lead { font-size: 16px; margin-bottom: 18px; }
  .trust-photo-wrap { min-height: 400px; }
  .trust-photo-wrap::before { inset: 14px 10px 0 0; border-radius: 24px; }
  .trust-photo-wrap::after { width: 118px; height: 118px; right: -10px; top: 16px; }
  .trust-photo { top: 18px; width: calc(100% - 34px); height: 310px; border-radius: 24px; }
  .trust-badge { position: static; margin-top: 12px; }
  .trust-badge span { max-width: none; }
  .trust-point { grid-template-columns: 56px 1fr; gap: 14px; padding: 18px; }
  .trust-point__icon { width: 56px; height: 56px; border-radius: 16px; }
  .trust-point__body h3 { font-size: 18px; }
  .trust-point__body p { font-size: 14px; }
  .hero--doctor-page h1 { font-size: 38px; line-height: 1.02; letter-spacing: -1.4px; margin-bottom: 10px; }
  .hero__promise { font-size: 18px; line-height: 1.32; margin-bottom: 16px; }
  .lead--compact { font-size: 15px; margin-bottom: 18px; }
  .services-grid--doctor { grid-template-columns: 1fr; }
  .services-grid--doctor .service-card { display: grid; grid-template-columns: 58px 1fr; column-gap: 14px; align-items: center; }
  .services-grid--doctor .service-card .icon { margin: 0; grid-row: 1 / span 2; }
  .education-grid { grid-template-columns: 1fr; }
  .time-slots { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .doctor-card--wide { width: 210px; }
  .hero--doctor-page .hero__doctor { object-position: center 16%; }
}

.doctor-card--experience { width: 210px; padding: 18px 20px; }
.doctor-card--experience strong { font-size: 28px; line-height: 1; color: var(--primary-dark); margin-bottom: 7px; }
.doctor-card--experience span { display: block; max-width: 160px; line-height: 1.4; color: var(--ink-2); font-weight: 600; }

/* ===== v7: desktop hero/header alignment refinements ===== */
@media (min-width: 1081px) {
  .nav {
    display: grid;
    grid-template-columns: 190px minmax(0, 1fr) auto;
    align-items: center;
    gap: 24px;
  }
  .menu {
    margin-left: 0;
    justify-self: center;
    justify-content: center;
  }
  .nav__actions {
    justify-self: end;
  }

  .hero--doctor-page h1 {
    max-width: 560px;
    font-size: 42px;
    line-height: 1.06;
    letter-spacing: -1.45px;
    margin: 18px 0 12px;
  }

  .hero--doctor-page .hero__media {
    min-height: 540px;
    align-items: center;
  }
  .hero--doctor-page .hero__doctor {
    width: min(470px, 88%);
    height: 470px;
    transform: translateY(-34px);
  }
  .hero--doctor-page .hero__blob {
    width: 560px;
    height: 455px;
    right: -56px;
    bottom: 32px;
  }
  .hero--doctor-page .doctor-card {
    right: 24px;
    bottom: 104px;
  }
  .hero--doctor-page .hero__glow--1 {
    width: 270px;
    height: 270px;
    top: -12px;
    right: 17%;
  }
  .hero--doctor-page .hero__glow--2 {
    right: 3%;
    bottom: 104px;
  }
}

/* ===== v8: unified typography scale ===== */
:root {
  --type-xs: 12px;
  --type-sm: 13px;
  --type-body: 15px;
  --type-body-lg: 16px;
  --type-card-title: 17px;
  --type-section-kicker: 13px;
  --type-section-title: clamp(30px, 2.55vw, 38px);
  --type-hero-title: clamp(36px, 3vw, 42px);
}

body {
  font-size: var(--type-body);
  line-height: 1.6;
}

/* Header */
.topbar { font-size: 13px; }
.menu { gap: 30px; }
.menu a {
  font-size: 15px;
  line-height: 1.2;
  font-weight: 650;
}
.phone { font-size: 14px; }
.btn {
  font-size: 14px;
  line-height: 1.2;
}

/* Hero */
.eyebrow,
.section-label {
  font-size: 13px;
}
.hero--doctor-page h1 {
  font-size: var(--type-hero-title);
  line-height: 1.05;
  letter-spacing: -1.35px;
}
.hero__promise {
  font-size: clamp(19px, 1.55vw, 22px);
  line-height: 1.3;
}
.hero__specialties > strong { font-size: 14px; }
.hero__specialty-list span { font-size: 15px; }
.lead--compact {
  font-size: 18px;
  line-height: 1.62;
}
.hero--doctor-page .check-list {
  font-size: 15px;
  line-height: 1.55;
}
.hero__note { font-size: 12.5px; }

/* Global section headings */
.section-head {
  max-width: 820px;
  margin-bottom: 38px;
}
.section-head span {
  font-size: var(--type-section-kicker);
  line-height: 1.25;
}
.section-head h2,
.about__content h2 {
  font-size: var(--type-section-title);
  line-height: 1.12;
  letter-spacing: -1px;
}
.about__grid--doctor .about__title {
  font-size: clamp(28px, 2.1vw, 33px);
  line-height: 1.16;
}

/* Complaint cards */
.services-grid--doctor .service-card {
  padding: 28px 28px 30px;
}
.service-card .icon {
  width: 72px;
  height: 72px;
}
.service-card .icon img {
  width: 50px;
  height: 50px;
}
.services-grid--doctor .service-card .icon { margin-bottom: 19px; }
.service-card h3,
.services-grid--doctor .service-card h3 {
  font-size: 17px;
  line-height: 1.35;
  margin-bottom: 10px;
}
.service-card p,
.services-grid--doctor .service-card p {
  font-size: 16px;
  line-height: 1.62;
}

/* Doctor/about */
.about__content > p {
  font-size: 18px;
  line-height: 1.65;
}
.check-list--compact {
  font-size: 15px;
  line-height: 1.55;
}
.stat {
  padding: 20px 22px;
}
.stat strong {
  font-size: 20px;
  line-height: 1.08;
  letter-spacing: -.5px;
}
.stat span {
  font-size: 13px;
  line-height: 1.5;
}

/* Education */
.education-year { font-size: 14px; }
.education-card h3 {
  font-size: 17px;
  line-height: 1.35;
}
.education-card p {
  font-size: 15px;
  line-height: 1.6;
}
.certificate-note strong { font-size: 14px; }
.certificate-note span {
  font-size: 13.5px;
  line-height: 1.5;
}

/* Trust cards */
.step {
  padding: 26px 22px 26px;
  min-height: 270px;
}
.step b { font-size: 13px; }
.step h3 {
  font-size: 17px;
  line-height: 1.38;
  margin-bottom: 12px;
}
.step p {
  font-size: 15px;
  line-height: 1.58;
}

/* Booking */
.booking__intro > p {
  font-size: 18px;
  line-height: 1.62;
}
.booking-doctor-mini strong { font-size: 14px; }
.booking-doctor-mini span {
  font-size: 12.5px;
  line-height: 1.45;
}
.booking-form label { font-size: 16px; }
.booking-form input { font-size: 17px; }
.booking-form small {
  font-size: 11px;
  line-height: 1.45;
}

/* Footer */
.contacts strong { font-size: 14px; }
.contacts p {
  font-size: 13px;
  line-height: 1.5;
}

@media (min-width: 1081px) {
  .menu a { font-size: 15.5px; }
  .hero--doctor-page h1 {
    font-size: 42px;
    max-width: 560px;
  }
}

@media (max-width: 820px) {
  .menu a { font-size: 16px; }
  .section-head h2,
  .about__content h2 {
    font-size: clamp(28px, 5vw, 35px);
  }
  .stat strong { font-size: 26px; }
}

@media (max-width: 560px) {
  body { font-size: 14.5px; }
  .hero--doctor-page h1 {
    font-size: 34px;
    line-height: 1.06;
    letter-spacing: -1px;
  }
  .hero__promise { font-size: 18px; }
  .lead--compact { font-size: 14.5px; }
  .hero--doctor-page .check-list { font-size: 13.5px; }
  .section-head h2,
  .about__content h2,
  .about__grid--doctor .about__title {
    font-size: 28px;
    line-height: 1.14;
  }
  .services-grid--doctor .service-card {
    grid-template-columns: 64px 1fr;
    padding: 22px;
  }
  .service-card .icon {
    width: 60px;
    height: 60px;
  }
  .service-card .icon img {
    width: 44px;
    height: 44px;
  }
  .service-card h3,
  .services-grid--doctor .service-card h3 { font-size: 16px; }
  .service-card p,
  .services-grid--doctor .service-card p { font-size: 13.5px; }
  .step h3 { font-size: 16.5px; }
  .step p { font-size: 13.5px; }
}

/* v9: emphasize header phone number */
@media (min-width: 821px) {
  .nav__actions .phone {
    font-size: 16.5px;
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: -0.15px;
  }
}

/* ===== v12: layout width / responsive gutters ===== */
@media (max-width: 1360px) {
  :root { --page-gutter: 24px; }
}
@media (max-width: 820px) {
  :root { --page-gutter: 20px; }
}
@media (max-width: 560px) {
  :root { --page-gutter: 12px; }
}


/* ===== Clean trust block v15 ===== */
.doctor-trust--clean {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 14%, rgba(46,193,182,.10) 0 115px, transparent 116px),
    radial-gradient(circle at 94% 82%, rgba(67,199,214,.08) 0 145px, transparent 146px),
    linear-gradient(180deg, #ffffff 0%, #f8fcfc 100%);
}
.doctor-trust--clean::before {
  content: "";
  position: absolute;
  width: 240px;
  height: 240px;
  right: 7%;
  top: -110px;
  border: 1px solid rgba(46,193,182,.12);
  border-radius: 50%;
}
.trust-clean {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 72px;
  align-items: center;
  padding: 18px 0;
}
.trust-clean__intro {
  position: static;
  padding: 12px 0 8px;
}
.trust-clean__intro h2 {
  max-width: 620px;
  margin: 12px 0 18px;
  color: var(--ink);
  font-size: clamp(36px, 3.6vw, 52px);
  line-height: 1.06;
  letter-spacing: -1.6px;
}
.trust-clean__intro > p {
  max-width: 620px;
  margin: 0;
  color: var(--ink-2);
  font-size: 18px;
  line-height: 1.7;
}
.trust-clean__list {
  padding: 6px 0;
}
.trust-line {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 20px;
  align-items: start;
  padding: 26px 0;
  border-bottom: 1px solid #e3efee;
}
.trust-line:first-child { padding-top: 4px; }
.trust-line:last-child { border-bottom: 0; padding-bottom: 4px; }
.trust-line__icon {
  width: 76px;
  height: 76px;
  display: grid;
  place-items: center;
  border-radius: 20px;
  background: linear-gradient(180deg, #ebfaf8 0%, #e1f7f4 100%);
  border: 1px solid rgba(46,193,182,.14);
}
.trust-line__icon img {
  width: 44px;
  height: 44px;
  object-fit: contain;
}
.trust-line h3 {
  margin: 2px 0 8px;
  color: var(--ink);
  font-size: 20px;
  line-height: 1.2;
}
.trust-line p {
  max-width: 650px;
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.65;
}
@media (max-width: 1080px) {
  .trust-clean { grid-template-columns: 1fr; gap: 34px; }
  .trust-clean__intro { position: static; }
  .trust-clean__intro h2 { max-width: 780px; }
  .trust-clean__intro > p { max-width: 780px; }
}
@media (max-width: 720px) {
  .trust-clean { gap: 24px; }
  .trust-clean__intro h2 { font-size: 36px; letter-spacing: -1px; }
  .trust-clean__intro > p { font-size: 16px; line-height: 1.6; }
  .trust-line { grid-template-columns: 58px 1fr; gap: 14px; padding: 20px 0; }
  .trust-line__icon { width: 58px; height: 58px; border-radius: 16px; }
  .trust-line__icon img { width: 30px; height: 30px; }
  .trust-line h3 { font-size: 19px; }
  .trust-line p { font-size: 14px; }
}

@media (max-width: 560px) {
  .trust-line { grid-template-columns: 62px 1fr; gap: 14px; }
  .trust-line__icon { width: 62px; height: 62px; border-radius: 18px; }
  .trust-line__icon img { width: 36px; height: 36px; }
}

/* ===== Footer typography refinement ===== */
.contacts {
  padding: 42px 0 50px;
}

.contacts__grid {
  grid-template-columns: 1.15fr 1.1fr .9fr .85fr;
  gap: 46px;
}

.contacts strong {
  display: block;
  color: var(--ink);
  font-size: 17px;
  line-height: 1.28;
  font-weight: 700;
  letter-spacing: -0.15px;
}

.contacts p {
  margin: 7px 0 0;
  color: #77798d;
  font-size: 15px;
  line-height: 1.5;
  font-weight: 400;
}

.contacts__grid > div:nth-child(3) strong {
  font-size: 18px;
  font-weight: 800;
}

.logo--footer {
  width: 190px;
}

@media (max-width: 820px) {
  .contacts__grid {
    gap: 28px 36px;
  }
}

@media (max-width: 560px) {
  .contacts {
    padding: 34px 0 40px;
  }

  .contacts strong {
    font-size: 16px;
  }

  .contacts p {
    font-size: 14px;
  }

  .contacts__grid > div:nth-child(3) strong {
    font-size: 17px;
  }

  .logo--footer {
    width: 176px;
  }
}



/* ===== Button typography refinement ===== */
.btn {
  font-weight: 700;
  letter-spacing: -0.08px;
}

.btn--outline {
  font-weight: 600;
}

.btn--primary {
  font-weight: 700;
}

.btn--small {
  font-weight: 700;
}

/* ===== Global button typography ===== */
button,
.btn,
.btn--primary,
.btn--outline,
.btn--small,
.btn--full,
.time-slot {
  font-size: 15px;
  font-weight: 400;
}


/* ===== Volkova photo placeholders ===== */
.doctor-photo-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--ink-2);
  background:
    radial-gradient(circle at 50% 34%, rgba(255,255,255,.96) 0 72px, transparent 73px),
    linear-gradient(180deg, #eefaf8 0%, #dff6f3 100%);
  border: 1px solid rgba(46,193,182,.18);
}
.doctor-photo-placeholder span { font-size: 64px; line-height: 1; font-weight: 600; color: var(--primary-dark); letter-spacing: -3px; }
.doctor-photo-placeholder small { font-size: 14px; font-weight: 400; color: var(--muted); }
.hero__doctor--placeholder { position: relative; z-index: 2; width: min(460px, 88%); height: 470px; border-radius: 30px; transform: translateY(-10px); box-shadow: var(--shadow); }
.doctor-photo-placeholder--about { width: 100%; height: 470px; border-radius: 26px; box-shadow: var(--shadow); }
.booking-doctor-mini__placeholder { flex: 0 0 70px; width: 70px; height: 70px; border-radius: 14px; display: grid; place-items: center; background: var(--primary-soft); color: var(--primary-dark); font-size: 22px; font-weight: 600; }
.education-grid--volkova { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 1080px) { .education-grid--volkova { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 820px) { .education-grid--volkova { grid-template-columns: 1fr; } .hero__doctor--placeholder { height: 420px; width: min(500px, 100%); } }
@media (max-width: 560px) { .hero__doctor--placeholder { height: 340px; } .doctor-photo-placeholder--about { height: 380px; } .doctor-photo-placeholder span { font-size: 52px; } }


/* ===== Volkova education + qualification ===== */
.education-section--volkova .section-head { margin-bottom: 34px; }
.education-grid--six { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.education-grid--six .education-card { min-height: 205px; }
.education-grid--six .education-card h3 { font-size: 18px; line-height: 1.35; }
.education-grid--six .education-card p { font-size: 14px; line-height: 1.62; }

.qualification-block {
  margin-top: 28px;
  padding: 30px;
  background: #fff;
  border: 1px solid #e3efee;
  border-radius: 24px;
  box-shadow: 0 12px 30px rgba(45,100,103,.06);
}
.qualification-block__head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 22px; }
.qualification-block__head > span { color: var(--primary-dark); font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.qualification-block__head h3 { margin: 0; color: var(--ink); font-size: 27px; line-height: 1.2; font-weight: 600; letter-spacing: -.5px; }
.qualification-list { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px 18px; }
.qualification-item { display: grid; grid-template-columns: 64px 1fr; gap: 14px; align-items: start; padding: 16px; border: 1px solid #e8f1f0; border-radius: 16px; background: #fbfefe; }
.qualification-year { display: grid; place-items: center; min-height: 42px; padding: 0 8px; border-radius: 12px; background: var(--primary-soft); color: var(--primary-dark); font-size: 14px; font-weight: 700; }
.qualification-item strong { display: block; color: var(--ink); font-size: 16px; line-height: 1.35; font-weight: 600; }
.qualification-item p { margin: 5px 0 0; color: var(--muted); font-size: 14px; line-height: 1.45; }
.education-section--volkova .certificate-note { margin-top: 18px; }

@media (max-width: 1080px) {
  .education-grid--six { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 820px) {
  .qualification-block__head { display: block; }
  .qualification-block__head h3 { margin-top: 7px; font-size: 24px; }
  .qualification-list { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .education-grid--six { grid-template-columns: 1fr; }
  .education-grid--six .education-card { min-height: 0; }
  .qualification-block { padding: 20px; border-radius: 20px; }
  .qualification-item { grid-template-columns: 56px 1fr; padding: 14px; }
  .qualification-item strong { font-size: 15px; }
}


/* ===== Patient reviews ===== */
.patient-reviews {
  background: linear-gradient(180deg, #f7fbfb 0%, #ffffff 100%);
}
.patient-reviews .section-head {
  max-width: 820px;
  margin-bottom: 38px;
}
.reviews-intro {
  max-width: 720px;
  margin: 16px auto 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.65;
}
.patient-reviews__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  max-width: 1180px;
  margin: 0 auto;
}
.patient-review {
  position: relative;
  min-height: 280px;
  padding: 30px 30px 26px;
  border: 1px solid #e3efee;
  border-radius: 24px;
  background: rgba(255,255,255,.96);
  box-shadow: 0 14px 34px rgba(45,100,103,.07);
  overflow: hidden;
}
.patient-review::after {
  content: "";
  position: absolute;
  width: 120px;
  height: 120px;
  right: -46px;
  top: -48px;
  border-radius: 50%;
  background: rgba(46,193,182,.07);
}
.patient-review__quote {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 15px;
  background: var(--primary-soft);
  color: var(--primary-dark);
  font-size: 34px;
  line-height: 1;
  font-weight: 500;
  font-family: Georgia, serif;
}
.patient-review h3 {
  position: relative;
  z-index: 1;
  margin: 0 0 14px;
  color: var(--ink);
  font-size: 20px;
  line-height: 1.32;
  font-weight: 600;
}
.patient-review p {
  position: relative;
  z-index: 1;
  margin: 0;
  color: var(--text);
  font-size: 15px;
  line-height: 1.7;
  font-weight: 400;
}
.patient-review__meta {
  position: relative;
  z-index: 1;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid #e8f0ef;
  color: var(--primary-dark);
  font-size: 13px;
  line-height: 1.4;
  font-weight: 500;
}
@media (max-width: 820px) {
  .patient-reviews__grid { grid-template-columns: 1fr; }
  .patient-review { min-height: 0; }
}
@media (max-width: 560px) {
  .patient-review { padding: 24px 22px 22px; border-radius: 20px; }
  .patient-review h3 { font-size: 18px; }
  .patient-review p { font-size: 14px; }
  .reviews-intro { font-size: 15px; }
}

/* ===== Volkova real photos ===== */
.hero__doctor--volkova {
  width: min(520px, 94%);
  height: 470px;
  object-fit: cover;
  object-position: 72% 48%;
  border-radius: 30px;
  box-shadow: var(--shadow);
  mix-blend-mode: normal;
}
.about__photo-img--volkova {
  width: 100%;
  height: 470px;
  object-fit: cover;
  object-position: 63% 46%;
  border-radius: 26px;
  box-shadow: var(--shadow);
}
.booking-doctor-mini img { object-position: 68% 42%; }
@media (max-width: 820px) {
  .hero__doctor--volkova { width: min(560px, 100%); height: 420px; object-position: 70% 46%; }
  .about__photo-img--volkova { height: 420px; object-position: 62% 45%; }
}
@media (max-width: 560px) {
  .hero__doctor--volkova { height: 350px; object-position: 69% 44%; }
  .about__photo-img--volkova { height: 360px; object-position: 61% 44%; }
}

.hero__specialty-note {
  display: block;
  margin-top: 9px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
  font-weight: 400;
}
