@font-face {
  font-family: "Manrope";
  src: url("../fonts/Manrope-400.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Manrope";
  src: url("../fonts/Manrope-500.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Manrope";
  src: url("../fonts/Manrope-600.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Manrope";
  src: url("../fonts/Manrope-700.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Manrope";
  src: url("../fonts/Manrope-800.ttf") format("truetype");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "LT Wave";
  src:
    url("../fonts/LTWave-Medium.otf") format("opentype"),
    local("LT Wave Medium"),
    local("LT_Wave Medium"),
    local("LTWave-Medium"),
    local("LT Wave");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "LT Wave";
  src:
    url("../fonts/LTWave-Bold.otf") format("opentype"),
    local("LT Wave Bold"),
    local("LT_Wave Bold"),
    local("LTWave-Bold"),
    local("LT Wave");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --green-900: #004728;
  --green-700: #007844;
  --green-400: #78d864;
  --green-100: #eef8ee;
  --green-150: #e1f0e1;
  --line: #dfede0;
  --paper: #f5f8f5;
  --text: #3d5b4e;
  --white: #fff;
  --radius-xl: 20px;
  --radius-lg: 16px;
  --shadow-soft: 0 22px 70px rgba(0, 71, 40, 0.08);
  --container: min(1720px, calc(100vw - 200px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: "Manrope", Arial, sans-serif;
  color: var(--text);
  background: #fdfdfd;
  line-height: 1.45;
  overflow-x: hidden;
}

body.is-locked {
  overflow: hidden;
}

button,
input {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  cursor: pointer;
}

a {
  color: inherit;
  text-decoration: none;
}

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

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.container-wide {
  width: var(--container);
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.header-desktop {
  padding: 20px 0 19px;
}

.header-top,
.header-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-top {
  gap: 30px;
  justify-content: flex-start;
}

.header-nav {
  gap: 24px;
  margin-top: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}

.brand-mark {
  width: 52px;
  height: 52px;
  display: inline-block;
  background: url("../ui/logo-mark.svg") center / contain no-repeat;
  flex: 0 0 auto;
}

.brand-text {
  display: grid;
  gap: 5px;
  white-space: nowrap;
}

.brand-text strong {
  color: var(--green-700);
  font-family: "LT Wave", "Manrope", sans-serif;
  font-size: 31px;
  font-weight: 500;
  line-height: 1;
}

.brand-text small {
  color: var(--text);
  font-size: 15px;
}

.header-info {
  display: flex;
  align-items: center;
  gap: 24px;
  width: 862px;
  min-height: 60px;
  justify-content: center;
  padding: 0 20px;
  border: 1px solid var(--green-100);
  border-radius: var(--radius-lg);
  flex: 0 0 auto;
}

.info-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.info-item span:last-child {
  display: grid;
  gap: 6px;
}

.info-item small,
.footer-contacts small,
.drawer-contact small {
  color: var(--text);
  font-size: 14px;
  font-weight: 400;
}

.info-item strong,
.footer-contacts b,
.drawer-contact strong {
  color: var(--green-700);
  font-size: 16px;
  font-weight: 600;
}

.info-item strong {
  white-space: nowrap;
}

.info-separator {
  width: 1px;
  height: 40px;
  background: var(--line);
}

.ui-icon {
  width: 24px;
  height: 24px;
  object-fit: contain;
  flex: 0 0 auto;
}

.header-info .ui-icon {
  width: 20px;
  height: 20px;
}

.header-info .ui-icon-pin {
  width: 17px;
  height: 21px;
}

.header-tools,
.header-actions,
.main-nav {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header-tools {
  gap: 10px;
  margin-left: auto;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  height: 56px;
  padding: 0 30px;
  border-radius: 12px;
  background: var(--green-100);
  color: var(--green-700);
  font-size: 18px;
  font-weight: 600;
}

.nav-link-with-icon {
  gap: 10px;
}

.nav-link-with-icon img {
  width: 12px;
  height: 5px;
  flex: 0 0 12px;
  object-fit: contain;
}

.nav-link-active {
  color: var(--white);
  background: var(--green-400);
}

.nav-link-active::before,
.hero-tags span::before {
  content: "";
  width: 8px;
  height: 8px;
  margin-right: 12px;
  border-radius: 50%;
  background: currentColor;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 0 24px;
  border: 0;
  border-radius: var(--radius-lg);
  font-size: 18px;
  font-weight: 600;
  line-height: 1;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, opacity 0.2s ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  color: var(--white);
  background: var(--green-700);
}

.button-soft {
  color: var(--green-700);
  background: var(--green-100);
}

.button-white {
  color: var(--green-700);
  background: var(--white);
}

.icon-button,
.social-button {
  display: inline-grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--green-700);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  overflow: hidden;
}

.icon-button img {
  width: 25px;
  height: 20px;
  object-fit: contain;
}

.social-button img {
  width: 56px;
  height: 56px;
  max-width: none;
  max-height: 56px;
}

.social-button-search {
  border-radius: 10px;
  background: var(--green-100);
}

.social-button-search img {
  width: 18px;
  height: 18px;
  max-width: 18px;
  max-height: 18px;
}

.footer-socials a img,
.drawer-socials a img {
  width: 50px;
  height: 50px;
  max-width: none;
  max-height: 50px;
}

.header-tools .icon-button {
  width: 25px;
  height: 20px;
  min-height: 0;
  margin-right: 10px;
  padding: 0;
  border-radius: 0;
  background: transparent;
  overflow: visible;
}

.header-tools .icon-button img {
  width: 25px;
  height: 20px;
  max-width: none;
  max-height: none;
}

.header-actions .button-soft {
  width: 160px;
}

.header-actions .button-primary {
  width: 240px;
}

.icon-search {
  position: relative;
  display: inline-block;
  width: 22px;
  height: 22px;
  color: var(--green-700);
  border: 2px solid currentColor;
}

.icon-search {
  border-radius: 50%;
}

.icon-search::after {
  content: "";
  position: absolute;
  width: 9px;
  height: 2px;
  background: currentColor;
  transform: translate(15px, 16px) rotate(45deg);
}

.header-mobile {
  display: none;
}

.hero {
  padding-bottom: 100px;
  background: linear-gradient(to bottom, var(--paper) 0 899px, var(--white) 899px 100%);
  overflow: hidden;
}

.hero-inner {
  position: relative;
  height: 899px;
  padding-top: 80px;
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 1086px;
  height: 280px;
}

.hero h1,
.benefits h2,
.consult h2,
.text-main h2,
.licenses h2,
.faq h2 {
  margin: 0;
  color: var(--green-900);
  font-family: "LT Wave", "Manrope", sans-serif;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: 0;
}

.hero h1 {
  font-size: 70px;
}

.hero h1 span {
  display: block;
  color: var(--green-400);
}

.hero-copy p {
  position: absolute;
  top: 172px;
  left: 0;
  margin: 0;
  color: var(--text);
  font-size: 20px;
  font-weight: 500;
}

.hero-tags {
  position: absolute;
  top: 226px;
  left: 0;
  display: flex;
  gap: 12px;
  margin: 0;
}

.hero-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 54px;
  padding: 0 24px;
  border: 1px solid rgba(1, 79, 45, 0.2);
  border-radius: var(--radius-lg);
  color: var(--green-700);
  font-size: 20px;
  font-weight: 700;
}

.service-cards {
  position: absolute;
  left: 0;
  top: 410px;
  z-index: 2;
  display: flex;
  gap: 12px;
  width: 900px;
  margin-top: 0;
}

.service-card {
  position: relative;
  width: 292px;
  height: 289px;
  padding: 23px;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: var(--white);
  overflow: hidden;
}

.service-card small {
  display: block;
  color: var(--text);
  font-size: 14px;
  font-weight: 500;
}

.service-card h2 {
  margin: 11px 0 24px;
  color: var(--green-700);
  font-size: 20px;
  line-height: 1.1;
}

.service-card p {
  position: relative;
  margin: 0 0 20px;
  padding-left: 16px;
  min-height: 42px;
  color: var(--text);
  font-size: 14px;
  font-weight: 500;
}

.service-card p::before {
  content: "";
  position: absolute;
  top: 5px;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green-400);
}

.service-card strong {
  position: absolute;
  left: 23px;
  top: 140px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  height: 44px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--text);
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
}

.service-card strong span {
  color: var(--green-700);
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
}

.service-card button {
  position: absolute;
  left: 23px;
  right: 23px;
  top: 214px;
  height: 50px;
  border: 0;
  border-radius: 14px;
  background: var(--green-100);
  color: var(--green-700);
  font-size: 16px;
  font-weight: 700;
}

.service-drop {
  position: absolute;
  top: 23px;
  right: 24px;
  width: 31px;
  height: 41px;
  object-fit: contain;
}

.hero-cta {
  position: absolute;
  left: 0;
  top: 759px;
  z-index: 2;
  display: flex;
  gap: 12px;
  margin-top: 0;
}

.hero-cta .button:first-child {
  width: 320px;
}

.hero-cta .button:last-child {
  width: 360px;
  background: var(--green-150);
}

.hero-media {
  position: absolute;
  inset: 0 0 0 auto;
  width: 760px;
  pointer-events: none;
}

.hero-pattern {
  position: absolute;
  top: -215px;
  right: -466px;
  width: 1096px;
  height: 1440px;
  opacity: 0.7;
}

.hero-doctor-frame {
  position: absolute;
  top: 46px;
  right: 46px;
  width: 595px;
  height: 853px;
  overflow: hidden;
}

.hero-doctor {
  position: absolute;
  top: -76px;
  left: -488px;
  width: 1522px;
  height: 1014px;
  max-width: none;
}

.benefits {
  padding: 100px 0;
  background: var(--white);
}

.benefits-inner {
  position: relative;
  width: min(1628px, calc(100vw - 64px));
  height: clamp(700px, 40.938vw, 786px);
}

.benefits h2,
.faq h2 {
  text-align: center;
  font-size: 54px;
}

.benefits h2 {
  position: relative;
  z-index: 3;
}

.benefits-scene {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
}

.iv-bag {
  position: absolute;
  left: 33.292%;
  top: 13.74%;
  z-index: 1;
  width: 32.617%;
  height: 86.26%;
  max-width: none;
  transform: none;
  object-fit: cover;
}

.benefit-circle {
  position: absolute;
  max-width: none;
  object-fit: contain;
  pointer-events: none;
}

.benefit-circle-large {
  left: 44.963%;
  top: 18.575%;
  width: 38.575%;
  height: 79.898%;
}

.benefit-circle-mid {
  left: 16.708%;
  top: 30.534%;
  width: 25.614%;
  height: 53.053%;
}

.benefit-circle-left {
  left: 2.703%;
  top: 13.613%;
  width: 12.715%;
  height: 26.336%;
}

.benefit-circle-right {
  right: 1.904%;
  top: 9.542%;
  width: 14.681%;
  height: 30.407%;
}

.benefit-circle-bottom-left {
  left: 0;
  top: 78.117%;
  width: 9.828%;
  height: 20.356%;
}

.benefit-circle-bottom-right {
  right: 0;
  top: 55.344%;
  width: 9.521%;
  height: 19.72%;
}

.benefit-card {
  position: absolute;
  z-index: 2;
  width: 354px;
  height: 220px;
  padding: 29px;
  border: 1px solid rgba(1, 79, 45, 0.2);
  border-radius: var(--radius-xl);
  background: var(--white);
}

.benefit-card strong {
  position: absolute;
  left: 29px;
  right: 29px;
  bottom: 30px;
  color: var(--green-900);
  font-size: 20px;
  line-height: 1.35;
}

.benefit-card-1 { left: 12.408%; top: 20.229%; }
.benefit-card-2 { right: 13.882%; top: 25.064%; }
.benefit-card-3 { left: 7.678%; top: 67.43%; }
.benefit-card-4 { right: 6.511%; top: 63.613%; }

.benefit-icon {
  width: 24px;
  height: 24px;
  object-fit: contain;
  object-position: left top;
}

.consult {
  padding: 100px 0;
  background: var(--white);
}

.consult-inner {
  position: relative;
  width: 100%;
  max-width: none;
  min-height: 593px;
  overflow: hidden;
  padding: 100px;
  background: var(--green-700);
}

.consult-copy {
  position: relative;
  z-index: 2;
  max-width: 920px;
}

.consult h2 {
  max-width: 863px;
  color: var(--white);
  font-size: 54px;
}

.consult-copy > p {
  margin: 50px 0 0;
  color: var(--white);
  font-size: 20px;
  font-weight: 500;
}

.consult-form {
  margin-top: 72px;
}

.consult-fields {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.field-shell {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.consult-fields .field-shell {
  align-content: start;
}

.consult-fields input,
.modal-form input:not([type="checkbox"]) {
  width: 100%;
  min-height: 56px;
  border: 0;
  border-radius: var(--radius-lg);
  outline: none;
  color: var(--green-900);
  font-size: 16px;
  font-weight: 600;
}

.consult-fields input {
  padding: 0 24px;
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
}

.consult-fields input::placeholder {
  color: rgba(255, 255, 255, 0.62);
}

.field-error {
  display: none;
  padding-left: 4px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.25;
}

.field-error.is-visible {
  display: block;
}

.field-shell input[aria-invalid="true"] {
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.72);
}

.consult-submit {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 16px;
}

.consult-submit .button {
  width: 320px;
  flex: 0 0 auto;
}

.consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--text);
  font-size: 12px;
  line-height: 1.35;
}

.consent input {
  width: 20px;
  height: 20px;
  margin: 0;
  appearance: none;
  border: 1px solid var(--green-700);
  border-radius: 4px;
  background: transparent;
  background-origin: border-box;
  background-position: center;
  background-repeat: no-repeat;
  background-size: 14px 14px;
  flex: 0 0 auto;
}

.consent input:checked {
  background-image: url("../ui/checkbox-check.svg");
}

.consent input:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 2px;
}

.consent-light {
  max-width: 360px;
  color: rgba(255, 255, 255, 0.72);
}

.consent-light input {
  border-color: var(--white);
}

.consult-pattern {
  position: absolute;
  top: -423px;
  right: -465px;
  width: 1096px;
  height: 1440px;
  opacity: 0.22;
}

.consult-doctor {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 622px;
  height: 560px;
  object-fit: cover;
  object-position: 44% top;
}

.form-alert {
  display: none;
  margin-bottom: 14px;
  padding: 12px 14px;
  border-radius: 12px;
  background: #fff0f0;
  color: #a22525;
  font-size: 14px;
  font-weight: 700;
}

.form-alert.is-visible {
  display: block;
}

.form-success {
  display: none;
  padding: 22px;
  border-radius: 16px;
  background: var(--green-100);
  color: var(--green-900);
  font-weight: 800;
}

.lead-form.is-success .form-body {
  display: none;
}

.lead-form.is-success .form-success {
  display: block;
}

.text-section {
  padding: 100px 0 80px;
  background: var(--white);
}

.text-layout {
  display: grid;
  grid-template-columns: minmax(0, 1260px) 418px;
  gap: 42px;
  align-items: start;
}

.text-main h2 {
  margin-bottom: 70px;
  font-size: 54px;
}

.text-main .h3-like {
  margin-top: 70px;
  margin-bottom: 30px;
  font-size: 36px;
}

.text-main h3 {
  margin: 38px 0 20px;
  color: var(--green-900);
  font-size: 18px;
}

.text-main p,
.text-main li {
  font-size: 16px;
}

.text-main p {
  margin: 0 0 30px;
}

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

.green-list li {
  position: relative;
  padding-left: 22px;
}

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

blockquote {
  margin: 40px 0 30px;
  padding: 30px;
  border-radius: var(--radius-xl);
  background: var(--paper);
  color: var(--green-700);
  font-size: 18px;
  font-weight: 700;
}

blockquote::before {
  content: "“";
  margin-right: 14px;
  color: var(--green-400);
  font-size: 44px;
  line-height: 0;
  vertical-align: -18px;
}

.number-list {
  display: grid;
  gap: 8px;
  margin: 0 0 30px;
  padding: 0;
  list-style: none;
  counter-reset: steps;
}

.number-list li {
  display: grid;
  grid-template-columns: 45px 1fr;
  gap: 14px;
  align-items: center;
  counter-increment: steps;
}

.number-list li::before {
  content: counter(steps, decimal-leading-zero);
  display: inline-grid;
  place-items: center;
  height: 41px;
  border-radius: 10px;
  background: var(--green-100);
  color: var(--green-400);
  font-weight: 700;
}

.doctor-quote footer,
.doctor-mini {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 30px;
  padding-top: 30px;
  border-top: 1px solid var(--line);
}

.doctor-avatar {
  position: relative;
  display: block;
  width: 100px;
  height: 100px;
  border-radius: 16px;
  background: #e5ece5;
  flex: 0 0 auto;
  overflow: hidden;
}

.doctor-avatar img {
  position: absolute;
  top: -8.75px;
  left: -106.23px;
  width: 294.18px;
  height: 196.79px;
  max-width: none;
}

.doctor-quote footer span:last-child,
.doctor-mini p {
  display: grid;
  gap: 0;
  justify-content: space-between;
  min-height: 100px;
  margin: 0;
}

.doctor-quote strong,
.doctor-mini strong {
  color: var(--green-900);
  font-size: 20px;
  line-height: 1.2;
}

.doctor-quote small,
.doctor-mini small {
  color: var(--text);
  font-size: 18px;
  font-weight: 500;
  line-height: 1.5;
}

.doctor-quote em,
.doctor-mini em {
  color: var(--green-700);
  font-style: normal;
  font-size: 16px;
  font-weight: 500;
  line-height: 1;
}

.text-images {
  display: grid;
  gap: 845px;
  padding-top: 108px;
}

.text-images img {
  width: 418px;
  height: 418px;
  border-radius: 24px;
  object-fit: cover;
}

.licenses {
  padding: 100px 0;
  background: var(--white);
}

.licenses-inner {
  display: grid;
  grid-template-columns: 510px minmax(0, 1fr);
  gap: 70px;
  align-items: center;
}

.licenses h2 {
  color: var(--green-900);
  font-size: 54px;
}

.licenses p {
  margin: 28px 0 0;
  font-size: 16px;
}

.slider-controls {
  display: flex;
  gap: 12px;
  margin-top: 54px;
}

.slider-controls button {
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--white);
}

.slider-controls button::before {
  content: "";
  display: block;
  width: 9px;
  height: 9px;
  margin: 17px auto;
  border-top: 2px solid var(--green-700);
  border-right: 2px solid var(--green-700);
  transform: rotate(45deg);
}

.slider-controls button:first-child::before {
  transform: rotate(-135deg);
}

.license-slider {
  overflow: hidden;
}

.license-track {
  display: flex;
  gap: 24px;
  transition: transform 0.35s ease;
}

.license-card {
  flex: 0 0 292px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--paper);
}

.license-card img {
  width: 100%;
  aspect-ratio: 224 / 325;
  object-fit: cover;
  border-radius: 10px;
}

.license-card span {
  display: block;
  margin-top: 12px;
  color: var(--text);
  font-size: 12px;
}

.faq {
  padding: 100px 0;
  background: var(--paper);
}

.faq-inner {
  max-width: 1720px;
}

.accordion {
  display: grid;
  gap: 12px;
  margin-top: 54px;
}

.accordion-item {
  border-radius: 12px;
  overflow: hidden;
  background: var(--white);
}

.accordion-item > button {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  min-height: 64px;
  padding: 0 20px 0 30px;
  border: 0;
  background: var(--green-100);
  color: var(--green-700);
  font-size: 18px;
  font-weight: 700;
  text-align: left;
}

.accordion-item > button span,
.mobile-nav-row span {
  position: relative;
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

.accordion-item > button span::before,
.accordion-item > button span::after {
  content: "";
  position: absolute;
  top: 8px;
  left: 3px;
  width: 12px;
  height: 2px;
  background: var(--green-700);
}

.accordion-item > button span::after {
  transform: rotate(90deg);
}

.accordion-item.is-open > button span::after {
  transform: rotate(0);
}

.accordion-panel {
  display: none;
  padding: 30px;
  background: var(--white);
}

.accordion-item.is-open .accordion-panel {
  display: block;
}

.accordion-panel p {
  margin: 0;
  font-size: 16px;
}

.site-footer {
  padding: 80px 0;
  background: var(--white);
}

.footer-inner {
  display: grid;
  grid-template-columns: 420px 1fr 1fr 420px;
  gap: 70px;
}

.footer-brand,
.footer-column {
  display: grid;
  align-content: start;
  gap: 14px;
}

.footer-search,
.mobile-search {
  position: relative;
}

.footer-search input,
.mobile-search input {
  width: 100%;
  height: 56px;
  padding: 0 52px 0 20px;
  border: 1px solid var(--line);
  border-radius: 12px;
  outline: none;
  background: var(--paper);
  color: var(--green-900);
}

.footer-search .icon-search,
.mobile-search .icon-search {
  position: absolute;
  top: 17px;
  right: 20px;
  color: var(--green-700);
}

.footer-brand .button {
  width: 240px;
}

.footer-socials,
.drawer-socials {
  display: flex;
  gap: 10px;
}

.footer-socials a,
.drawer-socials a {
  display: inline-grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border-radius: 0;
  background: transparent;
  color: var(--green-700);
  font-size: 13px;
  font-weight: 800;
}

.footer-column strong {
  color: var(--green-700);
  font-weight: 800;
}

.footer-column a {
  color: var(--green-900);
  font-size: 14px;
}

.footer-contacts p {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 8px 14px;
  margin: 0;
}

.footer-contacts .ui-icon {
  grid-row: span 2;
}

.footer-contacts b {
  color: var(--green-900);
}

.footer-legal {
  grid-column: 2 / -1;
  margin: 0;
  color: var(--text);
  font-size: 12px;
}

.mobile-drawer,
.modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: none;
}

.mobile-drawer.is-open,
.modal.is-open {
  display: block;
}

.mobile-drawer {
  background: var(--white);
  overflow-y: auto;
}

.mobile-drawer-panel {
  width: 100vw;
  min-height: 100%;
  padding: 0 16px 30px;
  background: var(--white);
}

.mobile-drawer-head {
  display: grid;
  grid-template-columns: 46px 1fr 46px;
  gap: 14px;
  align-items: center;
  min-height: 70px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.mobile-drawer-head .brand-mark,
.brand-compact .brand-mark {
  width: 46px;
  height: 46px;
}

.mobile-close,
.mobile-menu-button {
  position: relative;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 12px;
  background: var(--green-100);
}

.mobile-close::before,
.mobile-close::after,
.mobile-menu-button span {
  content: "";
  position: absolute;
  left: 14px;
  width: 18px;
  height: 2px;
  border-radius: 3px;
  background: var(--green-700);
}

.mobile-close::before { top: 22px; transform: rotate(45deg); }
.mobile-close::after { top: 22px; transform: rotate(-45deg); }
.mobile-menu-button span:first-child { top: 17px; }
.mobile-menu-button span:last-child { top: 27px; }

.mobile-search,
.mobile-wide-button,
.mobile-nav,
.drawer-contacts,
.drawer-socials {
  margin-inline: 0;
}

.mobile-search {
  margin-top: 30px;
}

.mobile-wide-button {
  width: 100%;
  margin-top: 12px;
}

.mobile-nav {
  display: grid;
  gap: 8px;
  margin-top: 30px;
}

.mobile-nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 56px;
  padding: 0 20px;
  border: 0;
  border-radius: 12px;
  background: var(--green-100);
  color: var(--green-700);
  font-size: 18px;
  font-weight: 700;
  text-align: left;
}

.mobile-nav-row span::before {
  content: "";
  position: absolute;
  top: 6px;
  left: 3px;
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--green-700);
  border-bottom: 2px solid var(--green-700);
  transform: rotate(45deg);
}

.mobile-nav-row.is-open span::before,
.mobile-nav-group.is-open > .mobile-nav-row span::before {
  top: 9px;
  transform: rotate(225deg);
}

.mobile-subnav {
  display: none;
  gap: 8px;
}

.mobile-nav-group.is-open > .mobile-subnav,
.mobile-subnav.is-open {
  display: grid;
}

.mobile-nav-row-small {
  min-height: 56px;
  background: var(--paper);
  color: var(--green-900);
  font-size: 16px;
  font-weight: 500;
}

.mobile-links {
  display: grid;
  gap: 20px;
  padding: 20px 18px;
  border-radius: 12px;
  background: var(--paper);
}

.mobile-links a {
  color: var(--text);
  font-size: 16px;
}

.drawer-contacts {
  display: grid;
  gap: 16px;
  margin-top: 30px;
}

.drawer-contact {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.drawer-contact p {
  display: grid;
  gap: 10px;
  margin: 0;
}

.drawer-contact strong {
  color: var(--green-900);
  font-size: 18px;
  line-height: 1.25;
}

.drawer-contact small {
  line-height: 1.2;
}

.drawer-socials {
  align-items: center;
  margin-top: 24px;
  gap: 10px;
}

.drawer-socials .icon-button {
  width: 25px;
  height: 50px;
  margin-left: 14px;
}

.modal {
  place-items: center;
}

.modal.is-open {
  display: grid;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 71, 40, 0.2);
  backdrop-filter: blur(5px);
}

.modal-card {
  position: relative;
  z-index: 1;
  width: min(560px, calc(100vw - 32px));
  max-height: calc(100vh - 32px);
  overflow-y: auto;
  padding: 40px 34px 34px;
  border-radius: 16px;
  background: var(--green-700);
  color: var(--white);
  box-shadow: none;
}

.modal-card h2 {
  margin: 0;
  color: var(--white);
  font-family: "LT Wave", "Manrope", sans-serif;
  font-size: 34px;
  font-weight: 700;
  line-height: 1.15;
}

.modal-card > p {
  margin: 14px 0 26px;
  color: rgba(255, 255, 255, 0.72);
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 16px;
  height: 16px;
  border: 0;
  border-radius: 0;
  background: url("../ui/modal-close.svg") center / contain no-repeat;
}

.modal-close::before,
.modal-close::after {
  display: none;
}

.modal-form .form-body {
  display: grid;
  gap: 16px;
}

.modal-form.is-success .form-body {
  display: none;
}

.modal-form label:not(.consent) {
  display: grid;
  gap: 8px;
  color: var(--white);
  font-size: 14px;
  font-weight: 500;
}

.modal-form input:not([type="checkbox"]) {
  padding: 0 24px;
  border: 0;
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  font-weight: 500;
}

.modal-form input:not([type="checkbox"])::placeholder {
  color: rgba(255, 255, 255, 0.62);
}

.modal-card .consent {
  color: rgba(255, 255, 255, 0.72);
}

.modal-card .consent input {
  border-color: var(--white);
}

.modal-card .form-alert {
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
}

.modal-card .form-success {
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
}

.modal-form .button {
  width: 100%;
  color: var(--green-700);
  background: var(--white);
}

@media (max-width: 1500px) {
  :root {
    --container: min(1180px, calc(100vw - 48px));
  }

  .header-info {
    display: none;
  }

  .hero {
    padding-bottom: 80px;
    background: linear-gradient(to bottom, var(--paper) 0 780px, var(--white) 780px 100%);
  }

  .hero-inner {
    height: 780px;
  }

  .hero h1 {
    max-width: 760px;
    font-size: 58px;
  }

  .hero-media {
    width: 560px;
  }

  .hero-doctor-frame {
    top: 46px;
    right: -20px;
    width: 500px;
    height: 734px;
  }

  .hero-doctor {
    top: -64px;
    left: -410px;
    width: 1279px;
    height: 852px;
  }

  .service-cards {
    width: 840px;
    top: 390px;
  }

  .service-card {
    width: 272px;
  }

  .hero-cta {
    top: 700px;
  }

  .benefit-card-2 { right: 150px; }
  .benefit-card-4 { right: 80px; }

  .consult-inner {
    padding-inline: 60px;
  }

  .consult-doctor {
    right: -110px;
  }

  .footer-inner {
    grid-template-columns: 340px 1fr 1fr 340px;
    gap: 40px;
  }
}

@media (max-width: 1024px) {
  :root {
    --container: min(100vw - 32px, 720px);
  }

  .header-desktop {
    display: none;
  }

  .header-mobile {
    display: grid;
    grid-template-columns: 46px 1fr 46px;
    align-items: center;
    gap: 14px;
    min-height: 70px;
    padding: 12px 16px;
  }

  .button-mobile-home {
    min-height: 46px;
    padding: 0 18px;
    border-radius: 12px;
    font-size: 16px;
    white-space: nowrap;
  }

  .hero {
    padding-bottom: 0;
    background: var(--paper);
  }

  .hero-inner {
    height: auto;
    padding: 34px 0 42px;
  }

  .hero h1 {
    max-width: 100%;
    font-size: 42px;
  }

  .hero-copy {
    height: auto;
  }

  .hero-copy p {
    position: static;
    margin-top: 22px;
    font-size: 16px;
  }

  .hero-tags {
    position: static;
    margin-top: 24px;
    flex-wrap: wrap;
  }

  .hero-tags span {
    min-height: 46px;
    font-size: 16px;
  }

  .service-cards {
    position: relative;
    left: auto;
    top: auto;
    display: flex;
    width: 100%;
    margin-top: 28px;
    overflow-x: auto;
    padding-bottom: 4px;
    scroll-snap-type: x mandatory;
  }

  .service-card {
    flex: 0 0 268px;
    scroll-snap-align: start;
  }

  .hero-cta {
    position: relative;
    left: auto;
    top: auto;
    display: grid;
    margin-top: 28px;
  }

  .hero-cta .button:first-child,
  .hero-cta .button:last-child {
    width: 100%;
  }

  .hero-media {
    position: relative;
    width: 100%;
    height: 360px;
    margin-top: 20px;
  }

  .hero-pattern {
    top: -180px;
    right: -240px;
    width: 760px;
    height: 1000px;
  }

  .hero-doctor-frame {
    top: 0;
    right: 50%;
    width: 310px;
    height: 360px;
    transform: translateX(50%);
  }

  .hero-doctor {
    top: -30px;
    left: -250px;
    width: 793px;
    height: 528px;
  }

  .benefits,
  .consult,
  .text-section,
  .licenses,
  .faq {
    padding: 64px 0;
  }

  .benefits h2,
  .consult h2,
  .text-main h2,
  .licenses h2,
  .faq h2 {
    font-size: 42px;
  }

  .benefits-inner {
    width: var(--container);
    height: auto;
  }

  .benefits-scene {
    position: static;
    display: grid;
    gap: 12px;
    width: 100%;
    height: auto;
    min-height: auto;
    margin-top: 34px;
  }

  .iv-bag,
  .benefit-card,
  .benefit-circle {
    position: static;
  }

  .benefit-circle {
    display: none;
  }

  .iv-bag {
    width: min(360px, 100%);
    height: auto;
    margin-inline: auto;
    transform: none;
  }

  .benefit-card {
    width: 100%;
    height: auto;
    min-height: 132px;
  }

  .benefit-card strong {
    position: static;
    display: block;
    margin-top: 34px;
    font-size: 18px;
  }

  .consult-inner {
    min-height: auto;
    padding: 40px 16px 0;
  }

  .consult-copy > p {
    margin-top: 22px;
    font-size: 16px;
  }

  .consult-form {
    margin-top: 30px;
  }

  .consult-fields {
    grid-template-columns: 1fr;
  }

  .consult-submit {
    display: grid;
  }

  .consult-submit .button,
  .consent-light {
    width: 100%;
    max-width: none;
  }

  .consult-doctor {
    position: relative;
    right: auto;
    width: 100%;
    height: 320px;
    margin-top: 24px;
    object-position: 50% 0;
  }

  .consult-pattern {
    width: 660px;
    height: 866px;
    right: -330px;
    top: -240px;
  }

  .text-layout {
    grid-template-columns: 1fr;
  }

  .text-main h2 {
    margin-bottom: 34px;
  }

  .text-images {
    grid-row: 2;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    padding: 0;
  }

  .text-images img {
    width: 100%;
    height: auto;
    aspect-ratio: 1;
  }

  .licenses-inner,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .license-card {
    flex-basis: min(292px, calc(100vw - 56px));
  }

  .footer-legal {
    grid-column: auto;
  }

  .accordion-item > button {
    min-height: 58px;
    padding: 16px;
    font-size: 15px;
  }

  .accordion-panel {
    padding: 20px 16px;
  }

  .mobile-drawer-panel {
    width: 100vw;
    padding-inline: 16px;
  }

  .mobile-search,
  .mobile-wide-button,
  .mobile-nav,
  .drawer-contacts,
  .drawer-socials {
    margin-left: 0;
    margin-right: 0;
  }
}

@media (max-width: 520px) {
  .brand-text {
    display: none;
  }

  .modal-card {
    width: min(320px, 100vw);
    padding: 40px 16px 26px;
  }

  .modal-card h2 {
    padding-right: 28px;
    font-size: 26px;
  }

  .doctor-quote footer,
  .doctor-mini {
    align-items: flex-start;
  }
}
