:root {
  --paper: #fffefa;
  --cream: #f7f4eb;
  --forest: #174b3b;
  --leaf: #28764c;
  --mint: #e5f0df;
  --mint-deep: #d5e8d1;
  --coral: #ff725f;
  --peach: #f4c6ac;
  --ink: #26352f;
  --muted: #76847d;
  --line: #e8e9e2;
  --shadow: 0 12px 32px rgba(33, 70, 50, .10);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font: 15px/1.55 Manrope, Arial, sans-serif; }
a { color: inherit; }
.container { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }

.topline { color: #e5f0e8; background: var(--forest); font-size: 11px; }
.topline__inner { display: flex; justify-content: space-between; gap: 20px; padding-block: 7px; }
.header { position: relative; z-index: 5; background: rgba(255,254,250,.97); border-bottom: 1px solid var(--line); }
.header__inner { min-height: 72px; display: flex; align-items: center; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; color: var(--forest); font-size: 20px; font-weight: 800; letter-spacing: -.04em; white-space: nowrap; }
.brand__logo { width: 41px; height: 39px; display: grid; place-items: center; border-radius: 11px; background: #fff; overflow: hidden; }
.brand__logo img { display: block; width: 38px; height: 37px; object-fit: contain; }
.nav { margin-left: auto; display: flex; align-items: center; gap: 26px; }
.nav a, .phone { color: #34463e; text-decoration: none; font-size: 12px; white-space: nowrap; }
.nav a:hover, .phone:hover, .contacts__links a:hover { color: var(--leaf); }
.header__actions { display: flex; align-items: center; gap: 15px; }
.button { min-height: 42px; display: inline-flex; align-items: center; justify-content: center; padding: 0 21px; border: 0; border-radius: 13px; font: 700 13px Manrope, sans-serif; text-decoration: none; cursor: pointer; transition: transform .18s, box-shadow .18s; }
.button:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(23,75,59,.15); }
.button--header { min-height: 39px; padding-inline: 18px; background: var(--forest); color: white; font-size: 12px; }
.menu-button { display: none; border: 0; padding: 6px; background: transparent; color: var(--forest); font-size: 24px; }

.hero { position: relative; min-height: 420px; display: flex; align-items: center; overflow: hidden; isolation: isolate; background: var(--cream); }
.hero__image { position: absolute; z-index: -2; inset: 0 0 0 auto; width: 75%; height: 100%; object-fit: cover; object-position: center 18%; }
.hero__veil { position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg, rgba(250,248,240,.99) 0%, rgba(250,248,240,.97) 31%, rgba(250,248,240,.75) 47%, rgba(250,248,240,.08) 68%, rgba(250,248,240,0) 100%); }
.hero__inner { position: relative; min-height: 420px; display: flex; align-items: center; }
.hero__copy { width: 48%; max-width: 500px; padding-block: 40px 34px; }
.eyebrow { display: flex; align-items: center; gap: 9px; color: var(--leaf); font-size: 10px; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; }
.eyebrow > span { width: 7px; height: 7px; border-radius: 50%; background: var(--peach); }
h1, h2, h3, p { margin-top: 0; }
h1 { margin: 17px 0 10px; color: var(--forest); font-size: clamp(38px, 4.2vw, 58px); line-height: .99; letter-spacing: -.065em; font-weight: 800; }
.hero__copy>p { max-width: 355px; margin: 0 0 18px; color: #4c5f54; font-size: 14px; line-height: 1.45; }
.button--coral { min-height: 39px; padding-inline: 21px; background: var(--coral); color: #fff; }
.hero__address { display: flex; align-items: center; gap: 7px; width: fit-content; margin-top: 14px; color: var(--forest); font-size: 11px; font-weight: 700; text-decoration: none; }
.pin { color: var(--leaf); font-size: 17px; }
.hero__badge { position: absolute; left: 57%; top: 20%; display: flex; align-items: center; gap: 9px; padding: 10px 13px; border-radius: 13px; background: rgba(255,255,255,.9); color: #456453; box-shadow: 0 8px 22px rgba(23,75,59,.09); font-size: 10px; line-height: 1.25; }
.hero__badge b { color: var(--forest); }
.badge-heart { display: grid; place-items: center; width: 27px; height: 27px; border-radius: 9px; background: var(--peach); color: var(--forest); font-size: 17px; }

.services { position: relative; z-index: 1; padding: 17px 0 22px; background: var(--paper); }
.services__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.service-card { position: relative; min-height: 140px; padding: 16px 18px; border-radius: 17px; color: var(--forest); text-decoration: none; transition: transform .18s, box-shadow .18s; }
.service-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.service-card--green { background: #e5f0df; }
.service-card--mint { background: #ebf3e7; }
.service-card--pale { background: #f0f3e9; }
.service-icon { display: block; height: 35px; color: var(--leaf); font-size: 27px; line-height: 1; }
.service-card h2 { margin: 4px 0 5px; font-size: 15px; line-height: 1.15; letter-spacing: -.03em; }
.service-card p { margin: 0; color: #506457; font-size: 10px; line-height: 1.35; }
.service-arrow { position: absolute; right: 13px; bottom: 12px; display: grid; place-items: center; width: 23px; height: 23px; border-radius: 50%; background: #78a962; color: white; font-size: 14px; }

.doctor { padding: 0 0 18px; background: var(--paper); }
.doctor__card { position: relative; min-height: 172px; display: grid; grid-template-columns: 155px 1fr; gap: 22px; align-items: center; padding: 11px 18px 11px 11px; overflow: hidden; border-radius: 18px; background: linear-gradient(95deg, #f6f4eb 0%, #fffefa 70%); }
.doctor__card>img { width: 155px; height: 150px; object-fit: cover; object-position: center 29%; border-radius: 13px; }
.doctor__copy { padding: 7px 0; }
.tag { display: inline-flex; padding: 4px 9px; border-radius: 10px; background: var(--mint-deep); color: var(--forest); font-size: 9px; font-weight: 800; }
.doctor__copy h2 { margin: 7px 0 5px; color: var(--forest); font-size: 21px; line-height: 1.08; letter-spacing: -.04em; }
.doctor__copy p { max-width: 520px; margin-bottom: 10px; color: #5e6f64; font-size: 11px; }
.button--outline { min-height: 31px; padding-inline: 12px; border: 1px solid #7aa47c; background: transparent; color: var(--forest); font-size: 10px; }
.doctor__note { position: absolute; right: 12px; bottom: 8px; color: #7c8880; font-size: 8px; }

.reviews { padding: 12px 0 18px; }
.section-title { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.section-title h2 { margin: 0; color: var(--forest); font-size: 18px; letter-spacing: -.04em; }
.section-title>a { color: var(--forest); font-size: 10px; font-weight: 700; text-decoration: none; }
.reviews__panel { display: flex; align-items: center; gap: 15px; padding: 15px 18px; border: 1px solid #ecece5; border-radius: 15px; background: #fff; }
.review-mark { flex: 0 0 auto; display: grid; place-items: center; width: 45px; height: 45px; border-radius: 13px; background: #eef3e7; color: var(--leaf); font-size: 11px; font-weight: 800; }
.reviews__panel h3 { margin: 0 0 3px; color: var(--forest); font-size: 14px; }
.reviews__panel p { margin: 0; color: #6e7b73; font-size: 10px; }
.button--review { margin-left: auto; min-height: 34px; padding-inline: 14px; border: 1px solid #a3b99e; background: #fff; color: var(--forest); font-size: 10px; white-space: nowrap; }

.booking { position: relative; padding: 20px 0; overflow: hidden; background: #e8f0df; }
.booking::before, .booking::after { content: ""; position: absolute; left: -24px; bottom: -38px; width: 160px; height: 105px; border-radius: 100% 0 100% 0; background: rgba(95,145,72,.18); transform: rotate(-25deg); }
.booking::after { left: 20px; bottom: -52px; width: 120px; height: 84px; transform: rotate(23deg); background: rgba(80,132,64,.13); }
.booking__inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 22px; align-items: center; }
.booking__copy h2 { margin: 0 0 5px; color: var(--forest); font-size: 20px; letter-spacing: -.04em; }
.booking__copy p { max-width: 300px; margin: 0 0 10px; color: #58705d; font-size: 10px; line-height: 1.4; }
.booking__copy .button { min-height: 34px; font-size: 10px; }
.booking__phone, .booking__address { min-height: 74px; display: grid; grid-template-columns: 31px 1fr; align-content: center; column-gap: 10px; border-left: 1px solid rgba(41,91,55,.2); padding-left: 18px; }
.round-icon { grid-row: span 2; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: white; color: var(--leaf); font-size: 15px; }
.booking__phone>a { color: var(--forest); font-size: 14px; font-weight: 800; text-decoration: none; }
.booking__phone small, .booking__address a { color: #6e7c70; font-size: 9px; text-decoration: none; }
.booking__address b { color: var(--forest); font-size: 11px; }

.about { padding: 52px 0; background: #fbfaf6; }
.about__inner { display: grid; grid-template-columns: 1fr .85fr; gap: 44px; align-items: center; }
.about__inner h2, .contacts h2 { margin: 9px 0 13px; color: var(--forest); font-size: 30px; line-height: 1.05; letter-spacing: -.05em; }
.about__inner p { max-width: 560px; color: #58685f; font-size: 13px; }
.about__inner>img { width: 100%; height: 260px; object-fit: cover; border-radius: 16px; }
.medical-note { padding-left: 12px; border-left: 2px solid var(--coral); font-size: 11px !important; }
.contacts { padding: 36px 0; background: #fff; }
.contacts__inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.contacts h2 { font-size: 24px; }
.contacts p { margin: 4px 0; color: #596960; font-size: 12px; }
.contact-phone { display: inline-block; margin-top: 8px; color: var(--forest); font-size: 17px; font-weight: 800; text-decoration: none; }
.contacts__links { display: flex; flex-direction: column; gap: 12px; }
.contacts__links a { color: var(--forest); font-size: 12px; font-weight: 700; text-decoration: none; }
.footer { padding: 17px 0 14px; background: #f5f5ef; color: #66736b; font-size: 10px; }
.footer__inner { display: flex; align-items: center; justify-content: space-between; gap: 15px; }
.footer__inner > a:not(.brand), .footer__inner > span { color: #34463e; font-size: 14px; line-height: 1.4; }
.footer__inner > a:not(.brand) { text-decoration: none; }
.brand--footer { font-size: 16px; }
.brand--footer .brand__logo { width: 32px; height: 31px; }
.brand--footer .brand__logo img { width: 30px; height: 29px; }
.footer__legal { margin-top: 10px; padding-top: 9px; border-top: 1px solid #e4e6dd; font-size: 9px; }
.mobile-call { display: none; }

@media (min-width: 1400px) {
  .hero, .hero__inner { min-height: 465px; }
  .hero__copy { padding-left: 18px; }
  .services { padding-top: 20px; }
}
@media (max-width: 900px) {
  .header__inner { gap: 15px; }
  .nav { gap: 14px; }
  .nav a, .phone { font-size: 11px; }
  .hero, .hero__inner { min-height: 390px; }
  .hero__copy { width: 51%; }
  .hero__badge { left: 55%; }
  .booking__inner { grid-template-columns: 1fr 1fr; }
  .booking__address { grid-column: 2; }
  .booking__phone { border-left: 0; }
}
@media (max-width: 680px) {
  body { padding-bottom: 0; }
  .container { width: min(100% - 30px, 520px); }
  .topline { font-size: 9px; }
  .topline__inner { padding-block: 6px; }
  .topline__inner span:last-child { display: none; }
  .header__inner { min-height: 60px; flex-wrap: wrap; gap: 0; }
  .brand { font-size: 18px; }
  .brand__logo { width: 36px; height: 34px; }
  .brand__logo img { width: 34px; height: 32px; }
  .menu-button { display: block; margin-left: auto; }
  .nav { display: none; order: 3; width: 100%; margin: 0; padding: 6px 0 12px; flex-direction: column; align-items: stretch; gap: 0; }
  .nav.nav--open { display: flex; }
  .nav a { padding: 11px 4px; border-top: 1px solid var(--line); font-size: 13px; }
  .header__actions { display: none; }
  .hero { display: block; min-height: 0; }
  .hero__image { position: relative; inset: auto; z-index: 0; display: block; width: 100%; height: clamp(220px, 64vw, 300px); object-position: 64% center; }
  .hero__veil { display: none; }
  .hero__inner { min-height: 0; display: block; background: var(--cream); }
  .hero__copy { width: 100%; max-width: 520px; padding: 22px 0 25px; margin-inline: auto; }
  h1 { max-width: 100%; margin: 12px 0 9px; font-size: clamp(34px, 9vw, 40px); }
  .hero__copy>p { max-width: 100%; font-size: 14px; }
  .hero__badge { display: none; }
  .hero__address { margin-top: 11px; }
  .services { padding: 12px 0 15px; }
  .services__grid { grid-template-columns: 1fr; gap: 9px; }
  .service-card { min-height: 108px; display: grid; grid-template-columns: 44px minmax(0, 1fr) 25px; grid-template-rows: auto auto; column-gap: 10px; padding: 14px; }
  .service-icon { grid-column: 1; grid-row: 1 / 3; align-self: center; height: auto; font-size: 25px; }
  .service-card h2 { grid-column: 2; grid-row: 1; min-width: 0; align-self: end; margin: 0 0 3px; font-size: 15px; }
  .service-card p { grid-column: 2; grid-row: 2; min-width: 0; align-self: start; font-size: 12px; }
  .service-arrow { right: 13px; top: 50%; bottom: auto; transform: translateY(-50%); }
  .doctor { padding-bottom: 12px; }
  .doctor__card { grid-template-columns: 96px minmax(0, 1fr); gap: 12px; min-height: 0; padding: 10px; }
  .doctor__card>img { width: 96px; height: 120px; }
  .doctor__copy { min-width: 0; }
  .doctor__copy h2 { font-size: 17px; }
  .doctor__copy p { font-size: 11px; line-height: 1.4; }
  .doctor__note { position: static; grid-column: 1 / -1; text-align: right; font-size: 9px; }
  .button--outline { min-height: 34px; padding-inline: 10px; font-size: 10px; }
  .reviews { padding: 8px 0 13px; }
  .section-title { align-items: flex-start; gap: 10px; }
  .section-title h2 { font-size: 17px; }
  .section-title>a { flex: 0 0 auto; font-size: 10px; }
  .reviews__panel { display: grid; grid-template-columns: 38px minmax(0, 1fr); gap: 10px; padding: 13px; }
  .review-mark { width: 38px; height: 38px; }
  .reviews__panel>div:nth-child(2) { min-width: 0; }
  .reviews__panel h3 { font-size: 13px; line-height: 1.35; }
  .reviews__panel p { font-size: 11px; }
  .button--review { grid-column: 2; justify-self: start; margin: 0; min-height: 40px; font-size: 12px; }
  .booking { padding: 18px 0; }
  .booking__inner { grid-template-columns: 1fr; gap: 13px; }
  .booking__copy h2 { font-size: 19px; }
  .booking__phone, .booking__address { min-height: auto; padding: 9px 0 0; border: 0; border-top: 1px solid rgba(41,91,55,.18); }
  .booking__address { grid-column: auto; }
  .about { padding: 35px 0; }
  .about__inner { grid-template-columns: 1fr; gap: 18px; }
  .about__inner h2 { font-size: 27px; }
  .about__inner p { font-size: 12px; }
  .about__inner>img { height: 200px; }
  .contacts__inner { align-items: flex-start; flex-direction: column; }
  .contacts__links { gap: 9px; }
  .footer__inner { align-items: flex-start; flex-direction: column; }
  .mobile-call { position: static; width: min(520px, calc(100% - 30px)); min-height: 48px; margin: 14px auto 20px; display: flex; border-radius: 14px; background: var(--coral); color: white; align-items: center; justify-content: center; font-size: 14px; font-weight: 800; text-decoration: none; box-shadow: 0 5px 18px rgba(36,68,42,.16); }
}
