:root {
  --ink: #251f28;
  --muted: #6d6670;
  --line: #e8e2e8;
  --paper: #ffffff;
  --soft: #f8f5f7;
  --accent: #4a394f;
  --accent-2: #8c6d4f;
  --green: #4e8c75;
  --danger: #b65c47;
  --shadow: 0 18px 48px rgba(37, 31, 40, .12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: Arial, "Helvetica Neue", sans-serif;
  font-size: 16px;
  line-height: 1.55;
  background: var(--paper);
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

.container {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(14px);
}

.header-grid {
  min-height: 82px;
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 28px;
}

.logo img {
  width: 150px;
  height: auto;
}

.nav {
  display: flex;
  justify-content: center;
  gap: 24px;
  color: var(--muted);
  font-size: 15px;
}

.nav a,
.button {
  text-decoration: none;
}

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

.header-contact {
  display: grid;
  justify-items: end;
  gap: 2px;
  font-size: 13px;
  color: var(--muted);
}

.header-contact a {
  color: var(--ink);
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 12px 20px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
}

.button-primary {
  color: #fff;
  background: var(--danger);
  box-shadow: 0 10px 20px rgba(182, 92, 71, .22);
}

.button-outline {
  color: var(--accent);
  border-color: #cfc2d2;
  background: #fff;
}

.button-light {
  color: var(--accent);
  background: #fff;
}

.hero {
  padding: 74px 0 60px;
  background:
    linear-gradient(90deg, rgba(255,255,255,.94) 0%, rgba(255,255,255,.72) 46%, rgba(255,255,255,.92) 100%),
    url("assets/img_0005-1-e1723627858378-25d08df466.png") right center / auto 100% no-repeat,
    var(--soft);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(360px, .72fr);
  gap: 48px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent-2);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  max-width: 760px;
  margin: 0;
  font-size: 54px;
  line-height: 1.04;
}

h2 {
  margin: 0;
  font-size: 38px;
  line-height: 1.12;
}

h3 {
  margin: 0;
  font-size: 21px;
  line-height: 1.2;
}

.lead {
  max-width: 650px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 20px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.hero-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  max-width: 760px;
  margin-top: 38px;
}

.hero-facts span {
  border-left: 3px solid var(--green);
  padding: 10px 12px;
  color: var(--muted);
  background: rgba(255,255,255,.72);
}

.hero-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.hero-photo {
  width: 100%;
  height: 210px;
  object-fit: cover;
}

.lead-form {
  display: grid;
  gap: 14px;
  padding: 26px;
}

.lead-form h2 {
  font-size: 28px;
}

.lead-form p {
  margin: 0;
  color: var(--muted);
}

.lead-form label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 14px;
}

.lead-form input[type="text"],
.lead-form input[type="tel"] {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 14px;
  color: var(--ink);
  font: inherit;
  background: #fff;
}

.check {
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 10px !important;
}

.check input {
  margin-top: 4px;
}

.form-status {
  min-height: 24px;
  color: var(--green) !important;
  font-weight: 700;
}

.notice {
  padding: 24px 0;
  color: #fff;
  background: var(--accent);
}

.notice-grid {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
}

.notice p {
  margin: 0;
  color: rgba(255,255,255,.82);
}

.section {
  padding: 78px 0;
}

.section:nth-of-type(even) {
  background: var(--soft);
}

.section-head {
  max-width: 760px;
  margin-bottom: 34px;
}

.direction-grid,
.doctor-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.direction-card,
.doctor-card,
.benefit-grid article,
.review-grid article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.direction-card {
  min-height: 245px;
  padding: 26px;
}

.direction-card img,
.benefit-grid img {
  width: 62px;
  height: 62px;
  margin-bottom: 20px;
  object-fit: contain;
}

.direction-card p,
.benefit-grid p,
.doctor-card p,
.review-grid p,
.promo-card p,
.split-grid p {
  color: var(--muted);
}

.split-grid {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(360px, 1fr);
  gap: 44px;
  align-items: center;
}

.check-list {
  display: grid;
  gap: 12px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 30px;
  color: var(--muted);
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--green);
}

.wide-image {
  width: 100%;
  height: 420px;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.benefit-grid,
.review-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.benefit-grid article,
.review-grid article {
  padding: 28px;
}

.promo-card {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, .9fr);
  gap: 32px;
  align-items: center;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 28px;
  background: #fff;
  box-shadow: var(--shadow);
}

.promo-card img {
  width: 100%;
  border-radius: 8px;
}

.promo-card .button {
  margin-top: 10px;
}

.doctor-card {
  overflow: hidden;
}

.doctor-card img {
  width: 100%;
  aspect-ratio: 1 / .86;
  object-fit: cover;
  object-position: top center;
}

.doctor-card h3,
.doctor-card p {
  margin-left: 20px;
  margin-right: 20px;
}

.doctor-card h3 {
  margin-top: 20px;
}

.doctor-card p {
  margin-bottom: 22px;
}

.stars {
  margin-bottom: 14px;
  color: #d49a32;
  font-size: 20px;
  letter-spacing: 0;
}

.review-grid span {
  color: var(--accent);
  font-weight: 700;
}

.contact-section {
  background: var(--soft);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, .72fr);
  gap: 36px;
  align-items: start;
}

.contact-list {
  display: grid;
  gap: 14px;
  margin-top: 26px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.contact-list p {
  margin: 0;
}

.contact-list a {
  color: var(--accent);
  font-weight: 700;
  text-decoration: none;
}

.contact-form {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.site-footer {
  padding: 34px 0;
  color: #fff;
  background: var(--accent);
}

.footer-grid {
  display: grid;
  grid-template-columns: 120px 1fr auto;
  align-items: center;
  gap: 28px;
}

.footer-grid img {
  width: 96px;
}

.footer-grid p {
  margin: 0;
  color: rgba(255,255,255,.82);
  font-size: 14px;
}

@media (max-width: 1040px) {
  .header-grid {
    grid-template-columns: auto 1fr auto;
  }

  .nav {
    display: none;
  }

  .hero-grid,
  .split-grid,
  .promo-card,
  .contact-grid {
    grid-template-columns: 1fr;
  }

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

  h1 {
    font-size: 44px;
  }
}

@media (max-width: 760px) {
  .container {
    width: min(100% - 28px, 1180px);
  }

  .site-header {
    position: static;
  }

  .header-grid {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 16px 0;
  }

  .header-contact {
    justify-items: start;
  }

  .hero {
    padding: 44px 0;
    background:
      linear-gradient(180deg, rgba(255,255,255,.94), rgba(255,255,255,.96)),
      url("assets/img_0005-1-e1723627858378-25d08df466.png") right top / 360px auto no-repeat,
      var(--soft);
  }

  h1 {
    font-size: 36px;
  }

  h2 {
    font-size: 30px;
  }

  .lead {
    font-size: 18px;
  }

  .hero-facts,
  .notice-grid,
  .direction-grid,
  .benefit-grid,
  .doctor-grid,
  .review-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-card {
    margin-top: 10px;
  }

  .wide-image {
    height: 280px;
  }

  .section {
    padding: 54px 0;
  }
}
