:root {
  --bg: #ffffff;
  --soft: #f1fbfe;
  --soft-2: #e4f8fd;
  --text: #16313c;
  --muted: #607780;
  --line: #d7ebf1;
  --brand: #23cdfd;
  --brand-hover: #09bce9;
  --brand-strong: #12b9e7;
  --brand-dark: #0ea9d1;
  --brand-deep: #0aa3ca;
  --white: #ffffff;
  --radius: 22px;
  --radius-sm: 14px;
  --shadow: 0 18px 55px rgba(15, 82, 103, .10);
  --shadow-hover: 0 22px 65px rgba(15, 82, 103, .17);
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  background: var(--bg);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
button { color: inherit; }
svg { display: block; }
.svg-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon, .button__icon, .floating-contacts__icon, .benefit-card__icon, .contact-list__icon {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: -80px;
  z-index: 1000;
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--brand-strong);
  color: white;
  transition: top .2s ease;
}
.skip-link:focus { top: 16px; }

.container { width: min(calc(100% - 40px), var(--container)); margin-inline: auto; }
.section { padding: 96px 0; }
.section--soft { background: var(--soft); }

h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { line-height: 1.14; letter-spacing: -.022em; }
h1 { max-width: 780px; margin-bottom: 22px; font-size: clamp(38px, 4.5vw, 54px); }
h1 span { color: var(--brand-strong); }
h2 { margin-bottom: 18px; font-size: clamp(28px, 3.4vw, 40px); }
h3 { margin-bottom: 12px; font-size: 20px; }
p { margin-bottom: 16px; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  margin: 0 0 14px;
  padding: 7px 12px;
  border: 1px solid rgba(35, 205, 253, .26);
  border-radius: 999px;
  background: rgba(35, 205, 253, .11);
  color: var(--brand-strong);
  font-size: 13px;
  font-weight: 750;
  letter-spacing: 0;
  text-transform: none;
}
.eyebrow::before {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 0 4px rgba(35, 205, 253, .12);
  content: "";
}
.section-heading { max-width: 760px; margin-bottom: 42px; }
.section-heading > p:last-child { color: var(--muted); font-size: 17px; }
.section-heading--compact { margin-top: 76px; }
.section-action { display: flex; justify-content: center; margin-top: 34px; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 20px;
  border: 1px solid var(--brand);
  border-radius: 13px;
  background: linear-gradient(135deg, var(--brand-strong), var(--brand));
  color: #ffffff;
  font-weight: 780;
  line-height: 1.2;
  cursor: pointer;
  box-shadow: 0 10px 25px rgba(35, 205, 253, .20);
  transition: transform .2s ease, background .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.button:hover { transform: translateY(-2px); background: linear-gradient(135deg, var(--brand-hover), var(--brand-strong)); border-color: var(--brand-hover); box-shadow: 0 14px 30px rgba(35, 205, 253, .28); }
.button--ghost { border-color: var(--line); background: white; color: var(--text); box-shadow: none; }
.button--ghost:hover { border-color: var(--brand); background: var(--soft); }
.button--light { border-color: rgba(255,255,255,.82); background: rgba(255,255,255,.18); color: #ffffff; box-shadow: none; backdrop-filter: blur(6px); }
.button--light:hover { background: rgba(255,255,255,.28); border-color: rgba(255,255,255,.92); }
.button--small { min-height: 42px; padding: 9px 15px; font-size: 14px; }
.button__icon { width: 18px; height: 18px; }
.text-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--brand-strong);
  font-weight: 760;
  cursor: pointer;
}
.text-button:hover { color: var(--brand-dark); }

.site-header { position: relative; z-index: 60; }
.topbar { background: var(--brand-dark); color: rgba(255,255,255,.92); font-size: 13px; }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 38px; }
.topbar__contacts { display: flex; gap: 18px; }
.topbar a:hover { color: var(--brand); }
.nav-wrap { position: sticky; top: 0; z-index: 55; border-bottom: 1px solid rgba(215,235,241,.8); background: rgba(255,255,255,.94); backdrop-filter: blur(16px); }
.nav { display: flex; align-items: center; gap: 28px; min-height: 76px; }
.brand { display: inline-flex; align-items: center; gap: 12px; flex: 0 0 auto; }
.brand__mark { display: grid; place-items: center; width: 42px; height: 42px; color: var(--brand-strong); }
.brand__mark svg { width: 100%; height: 100%; }
.brand b { display: block; font-size: 14px; letter-spacing: .02em; }
.brand small { display: block; color: var(--muted); font-size: 10px; }
.main-nav { display: flex; align-items: center; gap: 20px; margin-left: auto; font-size: 14px; font-weight: 660; }
.main-nav a { position: relative; padding: 26px 0; }
.main-nav a::after { position: absolute; right: 0; bottom: 20px; left: 0; height: 2px; border-radius: 2px; background: var(--brand); transform: scaleX(0); transition: transform .2s ease; content: ""; }
.main-nav a:hover::after { transform: scaleX(1); }
.menu-toggle { display: none; margin-left: auto; padding: 9px; border: 0; background: transparent; cursor: pointer; }
.menu-toggle span { display: block; width: 24px; height: 2px; margin: 5px 0; border-radius: 2px; background: var(--text); }

.hero {
  overflow: hidden;
  padding-top: 72px;
  background:
    radial-gradient(circle at 84% 10%, rgba(35,205,253,.24), transparent 31%),
    radial-gradient(circle at 15% 95%, rgba(35,205,253,.10), transparent 27%),
    linear-gradient(180deg, #fff 0%, #f7fdff 100%);
}
.hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 64px; align-items: center; }
.hero__lead { max-width: 650px; color: var(--muted); font-size: clamp(18px, 2vw, 22px); }
.hero__stats { display: flex; gap: 18px; margin: 30px 0; }
.hero__stats > div { min-width: 190px; padding: 16px 18px; border: 1px solid var(--line); border-radius: 16px; background: rgba(255,255,255,.85); box-shadow: 0 10px 30px rgba(27,94,113,.05); }
.hero__stats strong { display: block; margin-bottom: 2px; color: var(--brand-strong); font-size: 19px; }
.hero__stats span { color: var(--muted); font-size: 13px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__note { margin: 15px 0 0; color: var(--muted); font-size: 12px; }
.hero__visual { position: relative; }
.hero__image-wrap { position: relative; overflow: hidden; border: 1px solid rgba(35,205,253,.2); border-radius: 30px; background: var(--soft-2); box-shadow: var(--shadow); }
.hero__image-wrap::before { position: absolute; z-index: 1; inset: 0; border: 8px solid rgba(255,255,255,.5); border-radius: inherit; pointer-events: none; content: ""; }
.hero__image-wrap img { width: 100%; aspect-ratio: 1.08; object-fit: cover; }
.hero__rating { position: absolute; right: 18px; bottom: 18px; z-index: 2; display: flex; align-items: center; gap: 10px; padding: 12px 15px; border: 1px solid rgba(255,255,255,.7); border-radius: 14px; background: rgba(255,255,255,.92); box-shadow: 0 10px 30px rgba(7,50,64,.12); backdrop-filter: blur(10px); }
.hero__rating b { color: var(--brand-strong); font-size: 23px; }
.hero__rating span { max-width: 112px; color: var(--muted); font-size: 11px; line-height: 1.25; }

.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 64px; }
.feature-card { padding: 26px; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(255,255,255,.9); box-shadow: 0 12px 38px rgba(22,85,105,.06); }
.feature-card__icon, .service-card__icon, .cost-card__icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(35,205,253,.24);
  border-radius: 14px;
  background: rgba(35,205,253,.11);
  color: var(--brand-strong);
}
.feature-card__icon .icon, .service-card__icon .icon, .cost-card__icon .icon { width: 24px; height: 24px; }
.feature-card h2 { margin: 18px 0 10px; font-size: 20px; letter-spacing: -.012em; }
.feature-card p { margin-bottom: 0; color: var(--muted); font-size: 14px; }

.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.service-card { min-height: 330px; padding: 26px; border: 1px solid var(--line); border-radius: var(--radius); background: white; box-shadow: 0 12px 36px rgba(22,85,105,.05); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.service-card:hover { transform: translateY(-4px); border-color: rgba(35,205,253,.55); box-shadow: var(--shadow-hover); }
.service-card h3 { margin: 18px 0 14px; font-size: 21px; }
.service-card ul, .cost-card ul { margin: 0; padding: 0; list-style: none; }
.service-card li, .cost-card li { position: relative; padding-left: 18px; color: var(--muted); }
.service-card li + li, .cost-card li + li { margin-top: 8px; }
.service-card li::before, .cost-card li::before { position: absolute; left: 0; top: .68em; width: 6px; height: 6px; border-radius: 50%; background: var(--brand); content: ""; }

.price-tabs { display: inline-flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; padding: 5px; border: 1px solid var(--line); border-radius: 15px; background: var(--soft); }
.price-tab { padding: 10px 16px; border: 0; border-radius: 11px; background: transparent; color: var(--muted); font-weight: 720; cursor: pointer; }
.price-tab.is-active { background: white; color: var(--brand-strong); box-shadow: 0 6px 20px rgba(17,90,112,.09); }
.price-panels { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: white; box-shadow: 0 12px 38px rgba(22,85,105,.05); }
.price-panel { display: none; }
.price-panel.is-active { display: block; }
.price-row { display: flex; justify-content: space-between; gap: 24px; padding: 17px 22px; border-bottom: 1px solid var(--line); }
.price-row:last-child { border-bottom: 0; }
.price-row span { color: var(--muted); }
.price-row b { white-space: nowrap; color: var(--brand-strong); }

.cost-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
.cost-card { display: flex; flex-direction: column; padding: 25px; border: 1px solid var(--line); border-radius: var(--radius); background: white; box-shadow: 0 12px 36px rgba(22,85,105,.05); }
.cost-card h3 { margin: 18px 0 10px; font-size: 20px; }
.cost-card__caption { margin: -3px 0 12px; color: var(--muted); font-size: 13px; }
.cost-card ul { flex: 1; font-size: 14px; }
.cost-card__total { display: flex; justify-content: space-between; gap: 12px; align-items: end; margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line); }
.cost-card__total span { color: var(--muted); font-size: 13px; }
.cost-card__total b { color: var(--brand-strong); font-size: 18px; }

.trust { background: linear-gradient(135deg, var(--brand-strong), var(--brand)); color: white; }
.trust__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 58px; align-items: center; }
.trust__image img { width: 100%; border: 1px solid rgba(255,255,255,.16); border-radius: 26px; box-shadow: 0 24px 60px rgba(0,0,0,.22); }
.trust .eyebrow { border-color: rgba(255,255,255,.55); background: rgba(255,255,255,.16); color: #ffffff; }
.trust__content p:not(.eyebrow) { color: rgba(255,255,255,.9); font-size: 17px; }
.benefits-grid { display: grid; grid-template-columns: repeat(5,1fr); gap: 12px; margin-top: 58px; }
.benefit-card { padding: 22px; border: 1px solid rgba(255,255,255,.2); border-radius: 18px; background: rgba(255,255,255,.12); }
.benefit-card__top { display: flex; align-items: center; gap: 11px; }
.benefit-card__icon { width: 24px; height: 24px; color: #ffffff; }
.benefit-card__top strong { color: #ffffff; font-size: 17px; }
.benefit-card h3 { margin: 14px 0 7px; font-size: 17px; }
.benefit-card p { margin-bottom: 0; color: rgba(255,255,255,.84); font-size: 13px; }

.loyalty { display: grid; grid-template-columns: .9fr 1.1fr; gap: 46px; align-items: center; padding: 32px; border: 1px solid var(--line); border-radius: 28px; background: white; box-shadow: var(--shadow); }
.loyalty__visual img { width: 100%; aspect-ratio: 1.35; border-radius: 20px; object-fit: cover; object-position: center; }
.loyalty__badges { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0; }
.loyalty__badges span { padding: 8px 11px; border: 1px solid rgba(35,205,253,.22); border-radius: 999px; background: var(--soft); color: var(--brand-dark); font-size: 12px; font-weight: 720; }
.loyalty__actions { display: flex; align-items: center; flex-wrap: wrap; gap: 16px; }
.disclosure { margin-top: 17px; padding: 15px; border: 1px solid var(--line); border-radius: 13px; background: var(--soft); color: var(--muted); }
.disclosure p { margin: 0; }

.doctors-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; }
.doctor-card { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: white; box-shadow: 0 12px 36px rgba(22,85,105,.05); transition: transform .2s ease, box-shadow .2s ease; }
.doctor-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.doctor-card img { width: 100%; aspect-ratio: .76; object-fit: cover; object-position: top; background: var(--soft); }
.doctor-card > div { padding: 20px; }
.doctor-card h3 { margin-bottom: 9px; font-size: 18px; }
.doctor-card p { min-height: 64px; color: var(--muted); font-size: 13px; }

.gallery-grid { display: grid; grid-template-columns: 1.35fr .65fr; grid-template-rows: repeat(2, 240px); gap: 16px; }
.gallery-card { position: relative; overflow: hidden; margin: 0; border-radius: 22px; background: var(--soft); box-shadow: 0 12px 36px rgba(22,85,105,.07); }
.gallery-card--wide { grid-row: 1 / 3; }
.gallery-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.gallery-card--wide img { object-position: center; }
.gallery-card:hover img { transform: scale(1.025); }
.gallery-card figcaption { position: absolute; right: 14px; bottom: 14px; left: 14px; display: flex; align-items: center; gap: 9px; padding: 10px 12px; border: 1px solid rgba(255,255,255,.42); border-radius: 12px; background: rgba(18,185,231,.84); color: white; font-size: 13px; font-weight: 680; backdrop-filter: blur(10px); }
.gallery-card figcaption .icon { width: 18px; height: 18px; color: var(--brand); }

.reviews-summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 18px; padding: 22px; border: 1px solid var(--line); border-radius: 18px; background: white; }
.reviews-summary > div { display: flex; align-items: center; gap: 12px; }
.reviews-summary b { font-size: 34px; }
.reviews-summary small { color: var(--muted); }
.stars { color: #f5a623; letter-spacing: 1px; }
.reviews-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 16px; }
.review-card { position: relative; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: white; box-shadow: 0 12px 36px rgba(22,85,105,.045); }
.review-card__icon { display: grid; place-items: center; width: 36px; height: 36px; margin-bottom: 14px; border-radius: 11px; background: var(--soft); color: var(--brand-strong); }
.review-card__icon .icon { width: 19px; height: 19px; }
.review-card__head { display: flex; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.review-card__head span { color: var(--brand-strong); font-size: 12px; font-weight: 740; }
.review-card p { margin-bottom: 0; color: var(--muted); }
.review-card .text-button { margin-top: 12px; }
.review-text.is-collapsed { display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 4; }

.promo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.promo-card { position: relative; min-height: 330px; overflow: hidden; border-radius: 24px; box-shadow: var(--shadow); }
.promo-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.promo-card:hover img { transform: scale(1.03); }
.promo-card__overlay { position: absolute; z-index: 1; inset: 0; display: flex; flex-direction: column; align-items: flex-start; justify-content: end; padding: 30px; color: white; background: linear-gradient(0deg, rgba(18,185,231,.92), rgba(18,185,231,.16)); }
.promo-card__overlay--dark { background: linear-gradient(0deg, rgba(14,169,209,.94), rgba(14,169,209,.18)); }
.promo-card h3 { margin-bottom: 9px; font-size: 25px; }
.promo-card p { max-width: 460px; }
.promo-card .button { margin-top: 7px; }
.promo-note { margin: 20px 0 0; color: var(--muted); text-align: center; font-size: 13px; }

.contact { background: linear-gradient(135deg, #e9f9fd, #f9fdff); }
.contact__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 58px; align-items: center; }
.contact__content > p:not(.eyebrow) { color: var(--muted); font-size: 17px; }
.contact-list { display: grid; gap: 16px; margin: 28px 0; }
.contact-list div { display: grid; grid-template-columns: 128px 1fr; gap: 16px; }
.contact-list dt { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 13px; }
.contact-list__icon { width: 17px; height: 17px; color: var(--brand-strong); }
.contact-list dd { margin: 0; font-weight: 650; }
.contact-list a:hover { color: var(--brand-strong); }
.contact-form { padding: 30px; border: 1px solid var(--line); border-radius: 24px; background: white; box-shadow: var(--shadow); }
.contact-form h3 { font-size: 23px; }
.contact-form label, .modal-form label { display: grid; gap: 7px; margin-bottom: 14px; font-size: 13px; font-weight: 700; }
.contact-form input, .contact-form textarea, .modal-form input, .modal-form textarea { width: 100%; padding: 13px 14px; border: 1px solid var(--line); border-radius: 11px; outline: none; background: #fff; color: var(--text); }
.contact-form input:focus, .contact-form textarea:focus, .modal-form input:focus, .modal-form textarea:focus { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(35,205,253,.15); }
.checkbox { grid-template-columns: 20px 1fr !important; align-items: start; color: var(--muted); font-size: 12px !important; font-weight: 500 !important; }
.checkbox input { width: 18px; height: 18px; margin: 2px 0 0; }
.checkbox a { color: var(--brand-strong); text-decoration: underline; }
.form-status { margin: 11px 0 0; color: var(--brand-strong); font-size: 13px; }
.map-card { margin-top: 46px; overflow: hidden; border: 1px solid var(--line); border-radius: 24px; background: white; box-shadow: var(--shadow); }
.map-card__head { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 22px 24px; }
.map-card__head h3 { margin: 0; font-size: 21px; }
.map-card__head .eyebrow { margin-bottom: 9px; }
.map-card iframe { display: block; width: 100%; height: 380px; border: 0; }

.footer { padding: 62px 0 24px; background: linear-gradient(135deg, var(--brand-strong), var(--brand)); color: rgba(255,255,255,.88); }
.footer__grid { display: grid; grid-template-columns: 1.35fr repeat(4,1fr); gap: 34px; }
.footer h3 { margin-bottom: 14px; color: white; font-size: 14px; }
.footer a, .footer span { display: block; margin: 7px 0; font-size: 12px; }
.footer a:hover { color: var(--brand); }
.brand--footer { margin-bottom: 16px; color: white; }
.brand--footer .brand__mark { color: var(--brand); }
.brand--footer small { color: rgba(255,255,255,.72); }
.footer__brand-col > p { max-width: 310px; color: rgba(255,255,255,.78); font-size: 12px; }
.footer__requisites { margin-top: 20px; padding: 14px; border: 1px solid rgba(255,255,255,.22); border-radius: 13px; background: rgba(255,255,255,.12); }
.footer__requisites strong { display: block; color: white; font-size: 13px; }
.footer__requisites span { color: rgba(255,255,255,.62); }
.footer__bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 42px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.22); color: rgba(255,255,255,.72); font-size: 11px; }
.footer__bottom span { margin: 0; }

.floating-contacts { position: fixed; right: 16px; bottom: 16px; z-index: 35; display: grid; gap: 8px; }
.floating-contacts a { display: grid; place-items: center; width: 46px; height: 46px; border: 1px solid rgba(255,255,255,.7); border-radius: 50%; background: linear-gradient(135deg, var(--brand-strong), var(--brand)); color: #ffffff; box-shadow: 0 10px 28px rgba(16,95,119,.22); transition: transform .2s ease, background .2s ease; }
.floating-contacts a:hover { transform: translateY(-2px); background: linear-gradient(135deg, var(--brand-hover), var(--brand-strong)); }
.floating-contacts__icon { width: 21px; height: 21px; }

.modal { width: min(620px, calc(100% - 28px)); max-height: min(82vh, 760px); overflow: auto; padding: 0; border: 0; border-radius: 22px; box-shadow: 0 30px 90px rgba(0,0,0,.3); }
.modal::backdrop { background: rgba(4,30,40,.68); backdrop-filter: blur(5px); }
.modal__content { padding: 34px; }
.modal__content h2 { padding-right: 30px; font-size: 31px; }
.modal__content > p:not(.eyebrow) { color: var(--muted); }
.modal__content details { margin: 18px 0; padding: 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--soft); }
.modal__content summary { color: var(--brand-strong); font-weight: 750; cursor: pointer; }
.modal__content details p { margin: 12px 0 0; color: var(--muted); font-size: 13px; }
.modal__close { position: sticky; z-index: 2; top: 10px; float: right; width: 38px; height: 38px; margin: 10px 10px -48px 0; border: 0; border-radius: 50%; background: var(--soft); font-size: 22px; cursor: pointer; }

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

@media (max-width: 1120px) {
  .main-nav { display: none; }
  .menu-toggle { display: block; }
  .main-nav.is-open { position: fixed; z-index: 49; inset: 114px 0 0; display: flex; flex-direction: column; align-items: stretch; gap: 0; padding: 26px 20px; background: white; font-size: 20px; }
  .main-nav.is-open a { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav > .button { display: none; }
  .hero__grid, .trust__grid, .loyalty, .contact__grid { grid-template-columns: 1fr; }
  .hero__content { max-width: 820px; }
  .hero__visual { max-width: 760px; }
  .services-grid, .cost-grid { grid-template-columns: repeat(2,1fr); }
  .benefits-grid { grid-template-columns: repeat(3,1fr); }
  .doctors-grid { grid-template-columns: repeat(2,1fr); }
  .footer__grid { grid-template-columns: repeat(3,1fr); }
  .footer__brand-col { grid-column: span 3; }
}

@media (max-width: 760px) {
  .container { width: min(calc(100% - 28px), var(--container)); }
  .section { padding: 72px 0; }
  .topbar__inner { align-items: flex-start; min-height: 48px; padding-block: 7px; }
  .topbar__item { max-width: 58%; }
  .topbar__contacts { display: grid; gap: 1px; text-align: right; }
  .nav { min-height: 68px; }
  .brand b { font-size: 12px; }
  .brand__mark { width: 36px; height: 36px; }
  .main-nav.is-open { inset: 116px 0 0; }
  .hero { padding-top: 48px; }
  h1 { font-size: 36px; }
  h2 { font-size: 28px; }
  .hero__grid { gap: 38px; }
  .hero__stats { display: grid; gap: 10px; }
  .hero__stats > div { min-width: 0; }
  .hero__actions .button { width: 100%; }
  .feature-grid, .services-grid, .cost-grid, .benefits-grid, .reviews-grid, .promo-grid, .doctors-grid, .footer__grid { grid-template-columns: 1fr; }
  .feature-grid { margin-top: 40px; }
  .service-card { min-height: auto; }
  .price-tabs { display: grid; width: 100%; grid-template-columns: 1fr; }
  .price-row { align-items: flex-start; padding: 15px; }
  .price-row span, .price-row b { font-size: 13px; }
  .section-heading--compact { margin-top: 64px; }
  .trust__grid { gap: 34px; }
  .benefits-grid { margin-top: 40px; }
  .loyalty { gap: 26px; padding: 20px; }
  .loyalty__visual img { aspect-ratio: 1.5; }
  .gallery-grid { grid-template-columns: 1fr; grid-template-rows: 300px 260px 260px; }
  .gallery-card--wide { grid-row: auto; }
  .reviews-summary { align-items: stretch; flex-direction: column; }
  .reviews-summary > div { flex-wrap: wrap; }
  .reviews-summary .button { width: 100%; }
  .promo-card { min-height: 390px; }
  .promo-card__overlay { padding: 23px; }
  .contact__grid { gap: 36px; }
  .contact-list div { grid-template-columns: 1fr; gap: 4px; }
  .contact-form { padding: 22px; }
  .map-card__head { align-items: stretch; flex-direction: column; }
  .map-card__head .button { width: 100%; }
  .map-card iframe { height: 330px; }
  .footer__brand-col { grid-column: auto; }
  .footer__bottom { flex-direction: column; }
  .floating-contacts { right: 10px; bottom: 10px; }
  .floating-contacts a { width: 43px; height: 43px; }
  .modal__content { padding: 28px 21px; }
  .modal__content h2 { font-size: 27px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

.legal-page { max-width: 880px; padding: 42px; border: 1px solid var(--line); border-radius: 24px; background: white; box-shadow: var(--shadow); }
.legal-page > .text-button { margin-bottom: 30px; }
.legal-page h1 { margin-bottom: 24px; font-size: clamp(34px, 5vw, 50px); }
.legal-page h2 { margin-top: 34px; font-size: 25px; }
.legal-page p { color: var(--muted); }
.legal-page strong { color: var(--text); }
.legal-page a { color: var(--brand-strong); text-decoration: underline; }
.legal-note { margin-top: 34px; padding: 14px 16px; border-left: 3px solid var(--brand); border-radius: 8px; background: var(--soft); }
@media (max-width: 760px) { .legal-page { padding: 26px 20px; } }


/* v3 refinement: brighter brand sections and readable primary CTAs */
.button--ghost { color: var(--brand-strong); border-color: rgba(35,205,253,.42); }
.button--ghost:hover { color: var(--brand-strong); }
.topbar a:hover { color: #ffffff; opacity: .9; }
.main-nav a:hover { color: var(--brand-strong); }
.hero__rating b, .price-row b, .cost-card__total b, .contact-list a:hover, .form-status, .review-card__head span { color: var(--brand-strong); }

/* =========================================================
   ART-DIRECTION PASS v4
   Cleaner hierarchy, calmer brand usage, stronger contrast
   ========================================================= */
:root {
  --brand: #23cdfd;
  --brand-hover: #16bfe9;
  --brand-strong: #079fc8;
  --brand-dark: #077f9f;
  --brand-deep: #056a85;
  --text: #15313b;
  --muted: #61747c;
  --line: #dcebf0;
  --soft: #f4fbfd;
  --soft-2: #eaf8fc;
  --shadow: 0 16px 42px rgba(17, 84, 103, .08);
  --shadow-hover: 0 20px 52px rgba(17, 84, 103, .13);
  --radius: 20px;
  --radius-sm: 12px;
}

body { background: #fff; }
.section { padding: 84px 0; }
.section--soft { background: linear-gradient(180deg, #f7fcfe 0%, #f1fafd 100%); }

h1, h2, h3 { letter-spacing: -.018em; }
h1 { max-width: 720px; font-size: clamp(36px, 4vw, 49px); line-height: 1.08; }
h2 { font-size: clamp(27px, 3vw, 36px); line-height: 1.12; }
h3 { font-size: 19px; }

.section-heading { max-width: 700px; margin-bottom: 34px; }
.section-heading > p:last-child { max-width: 650px; font-size: 16px; }
.section-heading--compact { margin-top: 64px; }

.eyebrow {
  gap: 9px;
  margin-bottom: 12px;
  padding: 7px 12px 7px 9px;
  border-color: rgba(35,205,253,.34);
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(35,205,253,.16), rgba(35,205,253,.07));
  color: var(--brand-dark);
  font-size: 12px;
  font-weight: 750;
}
.eyebrow::before {
  width: 21px;
  height: 21px;
  border-radius: 7px;
  background: var(--brand);
  box-shadow: none;
  content: "";
  clip-path: polygon(50% 12%, 61% 39%, 90% 50%, 61% 61%, 50% 88%, 39% 61%, 10% 50%, 39% 39%);
}

/* Buttons */
.button {
  min-height: 48px;
  padding: 12px 20px;
  border-color: var(--brand-strong);
  border-radius: 12px;
  background: linear-gradient(135deg, var(--brand-strong), var(--brand));
  color: #fff;
  font-weight: 760;
  box-shadow: 0 10px 24px rgba(7,159,200,.20);
}
.button:hover {
  background: linear-gradient(135deg, var(--brand-dark), var(--brand-hover));
  border-color: var(--brand-dark);
  box-shadow: 0 13px 28px rgba(7,159,200,.27);
}
.button:focus-visible,
.text-button:focus-visible,
.price-tab:focus-visible,
.menu-toggle:focus-visible {
  outline: 3px solid rgba(35,205,253,.35);
  outline-offset: 3px;
}
.button--ghost {
  border-color: rgba(7,159,200,.34);
  background: #fff;
  color: var(--brand-dark);
  box-shadow: none;
}
.button--ghost:hover {
  border-color: var(--brand-strong);
  background: var(--soft-2);
  color: var(--brand-dark);
  box-shadow: none;
}
.button--light {
  border-color: rgba(255,255,255,.78);
  background: #fff;
  color: var(--brand-dark);
  box-shadow: 0 8px 20px rgba(3,89,111,.12);
  backdrop-filter: none;
}
.button--light:hover {
  border-color: #fff;
  background: #f7fdff;
  color: var(--brand-deep);
}
.text-button { color: var(--brand-dark); }
.text-button:hover { color: var(--brand-strong); }

/* Header */
.topbar {
  background: linear-gradient(90deg, var(--brand-strong), var(--brand));
  color: #fff;
}
.topbar a { color: inherit; }
.topbar a:hover { color: #fff; opacity: .82; }
.nav-wrap { box-shadow: 0 1px 0 rgba(20,75,91,.04); }
.nav { min-height: 72px; }
.brand__mark { color: var(--brand-strong); }
.brand b { letter-spacing: .035em; }
.main-nav { gap: 19px; }
.main-nav a { padding: 24px 0; color: #28434d; }
.main-nav a::after { bottom: 18px; }

/* Hero */
.hero {
  position: relative;
  padding-top: 62px;
  background:
    radial-gradient(circle at 88% 12%, rgba(35,205,253,.18), transparent 27%),
    linear-gradient(180deg, #fff 0%, #f8fdff 100%);
}
.hero::after {
  position: absolute;
  right: -80px;
  top: 90px;
  width: 310px;
  height: 310px;
  border: 1px solid rgba(35,205,253,.16);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}
.hero__grid { gap: 54px; }
.hero__lead { max-width: 610px; font-size: clamp(17px, 1.7vw, 20px); line-height: 1.55; }
.hero__stats { gap: 12px; margin: 26px 0; }
.hero__stats > div {
  min-width: 180px;
  padding: 14px 16px;
  border-color: rgba(7,159,200,.17);
  border-radius: 14px;
  background: rgba(255,255,255,.94);
  box-shadow: none;
}
.hero__stats strong { color: var(--brand-dark); font-size: 18px; }
.hero__image-wrap {
  border-color: rgba(7,159,200,.16);
  border-radius: 24px;
  box-shadow: 0 22px 56px rgba(13,87,107,.13);
}
.hero__image-wrap::before { border-width: 6px; }
.hero__rating {
  right: 15px;
  bottom: 15px;
  border-radius: 12px;
  box-shadow: 0 10px 26px rgba(7,72,91,.12);
}
.hero__rating b { color: var(--brand-dark); }

/* Cards */
.feature-grid { gap: 14px; margin-top: 50px; }
.feature-card,
.service-card,
.cost-card,
.doctor-card,
.review-card,
.contact-form,
.map-card,
.loyalty {
  border-color: var(--line);
  box-shadow: var(--shadow);
}
.feature-card { padding: 23px; border-radius: 18px; }
.feature-card h2 { margin-top: 16px; font-size: 19px; line-height: 1.25; }
.feature-card__icon,
.service-card__icon,
.cost-card__icon {
  width: 46px;
  height: 46px;
  border-color: rgba(35,205,253,.30);
  border-radius: 13px;
  background: linear-gradient(135deg, rgba(35,205,253,.19), rgba(35,205,253,.07));
  color: var(--brand-dark);
}

.services-grid,
.cost-grid { gap: 14px; }
.service-card {
  position: relative;
  min-height: 310px;
  padding: 23px;
  border-radius: 18px;
  overflow: hidden;
}
.service-card::before {
  position: absolute;
  top: 0;
  left: 24px;
  width: 56px;
  height: 3px;
  border-radius: 0 0 3px 3px;
  background: var(--brand);
  content: "";
}
.service-card:hover { transform: translateY(-3px); }
.service-card h3 { margin-top: 16px; font-size: 19px; }
.service-card li,
.cost-card li { font-size: 14px; line-height: 1.48; }

/* Price */
.price-tabs {
  margin-bottom: 14px;
  padding: 4px;
  border-radius: 13px;
  background: #edf8fb;
}
.price-tab { padding: 9px 15px; border-radius: 9px; font-size: 14px; }
.price-tab.is-active { color: var(--brand-dark); box-shadow: 0 5px 16px rgba(10,104,130,.08); }
.price-panels { border-radius: 18px; box-shadow: var(--shadow); }
.price-row { padding: 15px 20px; }
.price-row b { color: var(--brand-dark); }
.cost-card { padding: 22px; border-radius: 18px; }
.cost-card__total b { color: var(--brand-dark); }

/* Trust / benefits */
.trust {
  background:
    radial-gradient(circle at 15% 15%, rgba(255,255,255,.16), transparent 24%),
    linear-gradient(135deg, var(--brand-dark), var(--brand));
}
.trust__grid { gap: 48px; }
.trust__image img { border-radius: 20px; box-shadow: 0 22px 54px rgba(4,88,109,.24); }
.trust .eyebrow {
  border-color: rgba(255,255,255,.42);
  background: rgba(255,255,255,.15);
  color: #fff;
}
.trust .eyebrow::before { background: #fff; }
.trust__content p:not(.eyebrow) { color: rgba(255,255,255,.88); font-size: 16px; }
.benefits-grid { gap: 10px; margin-top: 46px; }
.benefit-card {
  padding: 19px;
  border-color: rgba(255,255,255,.25);
  border-radius: 16px;
  background: rgba(255,255,255,.13);
  backdrop-filter: blur(8px);
}
.benefit-card__top strong,
.benefit-card__icon { color: #fff; }
.benefit-card p { color: rgba(255,255,255,.82); }

/* Loyalty */
.loyalty {
  gap: 40px;
  padding: 27px;
  border-radius: 22px;
}
.loyalty__visual img { border-radius: 16px; }
.loyalty__badges { gap: 7px; }
.loyalty__badges span {
  border-color: rgba(7,159,200,.19);
  background: #f2fbfd;
  color: var(--brand-dark);
}
.disclosure { border-radius: 12px; background: #f6fbfd; }

/* Doctors / gallery / reviews */
.doctors-grid { gap: 14px; }
.doctor-card { border-radius: 18px; }
.doctor-card > div { padding: 18px; }
.doctor-card h3 { font-size: 17px; line-height: 1.28; }
.doctor-card p { min-height: 60px; }
.gallery-grid { gap: 14px; }
.gallery-card { border-radius: 18px; box-shadow: var(--shadow); }
.gallery-card figcaption {
  right: 12px;
  bottom: 12px;
  left: 12px;
  border-color: rgba(255,255,255,.55);
  border-radius: 10px;
  background: rgba(7,159,200,.84);
}
.reviews-summary { padding: 18px 20px; border-radius: 16px; }
.reviews-summary b { font-size: 30px; color: var(--brand-dark); }
.reviews-grid { gap: 14px; }
.review-card { padding: 21px; border-radius: 18px; }
.review-card__icon { background: #edf9fc; color: var(--brand-dark); }
.review-card__head span { color: var(--brand-dark); }

/* Promotions */
.promo-grid { gap: 14px; }
.promo-card { min-height: 315px; border-radius: 20px; }
.promo-card__overlay {
  padding: 26px;
  background: linear-gradient(0deg, rgba(4,113,142,.94), rgba(35,205,253,.08) 72%);
}
.promo-card__overlay--dark {
  background: linear-gradient(0deg, rgba(5,104,131,.96), rgba(35,205,253,.10) 72%);
}
.promo-card h3 { font-size: 23px; }

/* Contacts */
.contact { background: linear-gradient(180deg, #f1fbfd 0%, #fff 100%); }
.contact__grid { gap: 48px; }
.contact-form { padding: 26px; border-radius: 20px; }
.contact-form .button { width: 100%; }
.contact-list { gap: 14px; }
.contact-list__icon { color: var(--brand-dark); }
.map-card { margin-top: 38px; border-radius: 20px; }
.map-card__head { padding: 19px 21px; }

/* Footer */
.footer {
  padding-top: 54px;
  background:
    radial-gradient(circle at 85% 5%, rgba(255,255,255,.14), transparent 22%),
    linear-gradient(135deg, var(--brand-dark), var(--brand));
  color: rgba(255,255,255,.86);
}
.footer__grid { gap: 28px; }
.footer__requisites { border-color: rgba(255,255,255,.23); background: rgba(255,255,255,.13); }
.footer__requisites span { color: rgba(255,255,255,.78); }
.footer__bottom { color: rgba(255,255,255,.74); }
.brand--footer .brand__mark { color: #fff; }

/* Floating contacts */
.floating-contacts a {
  background: linear-gradient(135deg, var(--brand-dark), var(--brand));
  color: #fff;
  box-shadow: 0 9px 24px rgba(7,127,159,.25);
}

/* Modal */
.modal { border-radius: 18px; }
.modal__content h2 { font-size: 28px; }
.modal__close { color: var(--brand-dark); }

@media (max-width: 1120px) {
  .hero__grid { gap: 42px; }
  .benefits-grid { grid-template-columns: repeat(3,1fr); }
}

@media (max-width: 760px) {
  .section { padding: 64px 0; }
  h1 { font-size: 33px; }
  h2 { font-size: 26px; }
  .section-heading { margin-bottom: 28px; }
  .eyebrow { font-size: 11.5px; }
  .topbar__inner { display: grid; grid-template-columns: 1fr auto; align-items: center; }
  .topbar__item { max-width: 190px; line-height: 1.25; }
  .topbar__contacts { gap: 0; font-size: 12px; }
  .hero { padding-top: 42px; }
  .hero::after { display: none; }
  .hero__grid { gap: 32px; }
  .hero__lead { font-size: 17px; }
  .hero__stats { grid-template-columns: 1fr 1fr; }
  .hero__stats > div { padding: 13px; }
  .hero__stats strong { font-size: 16px; }
  .hero__stats span { font-size: 12px; }
  .hero__image-wrap { border-radius: 19px; }
  .feature-grid { margin-top: 34px; }
  .feature-card,
  .service-card,
  .cost-card,
  .review-card { padding: 20px; }
  .section-heading--compact { margin-top: 54px; }
  .loyalty { padding: 18px; }
  .promo-card { min-height: 355px; }
  .promo-card__overlay { padding: 21px; }
  .contact-form { padding: 20px; }
  .footer { padding-top: 46px; }
}

@media (max-width: 420px) {
  h1 { font-size: 30px; }
  .hero__stats { grid-template-columns: 1fr; }
  .topbar__item { display: none; }
  .topbar__inner { display: flex; justify-content: flex-end; }
  .main-nav.is-open { inset: 106px 0 0; }
}

/* Final mobile refinement */
@media (max-width: 760px) {
  .benefits-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
  }
  .benefit-card { min-width: 0; min-height: 148px; }
  .benefit-card:last-child { grid-column: 1 / -1; min-height: 0; }
  .benefit-card h3 { font-size: 15px; }
  .benefit-card p { font-size: 12px; }
  .benefit-card__top strong { font-size: 15px; }

  .doctor-card p { min-height: 0; font-size: 13.5px; }

  .promo-card__overlay,
  .promo-card__overlay--dark {
    background: linear-gradient(0deg, rgba(5,104,131,.98) 0%, rgba(7,159,200,.86) 58%, rgba(35,205,253,.20) 100%);
  }
  .promo-card h3 { font-size: 21px; }
  .promo-card p { font-size: 14px; line-height: 1.45; }

  .footer a,
  .footer span { font-size: 12.5px; }
}

@media (max-width: 420px) {
  .topbar__contacts a:last-child { display: none; }
  .topbar__contacts { font-size: 12.5px; }
  .topbar__inner { justify-content: center; }
  .benefits-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .floating-contacts a:not(:first-child) { display: none; }
  .floating-contacts a { width: 42px; height: 42px; }
}


/* v5 refinements */
.brand__mark--logo {
  width: 148px;
  height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  color: inherit;
}
.brand__mark--logo img {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
}
.brand b { letter-spacing: 0; }

.button {
  border-color: #1cc6f2;
  background: linear-gradient(180deg, #33d6ff 0%, #22cdfd 54%, #18c5f1 100%);
  box-shadow: 0 8px 22px rgba(35, 205, 253, .18);
}
.button:hover {
  background: linear-gradient(180deg, #41dbff 0%, #27d1ff 55%, #1dc8f5 100%);
  box-shadow: 0 11px 26px rgba(35, 205, 253, .24);
}
.button--ghost {
  border-color: rgba(35,205,253,.35);
  background: #ffffff;
  color: var(--brand-dark);
  box-shadow: none;
}
.button--ghost:hover {
  border-color: rgba(35,205,253,.65);
  background: #f5fdff;
}
.button--light {
  border-color: rgba(255,255,255,.92);
  background: #ffffff;
  color: var(--brand-dark);
  box-shadow: 0 10px 24px rgba(5,104,131,.12);
  backdrop-filter: none;
}
.button--light:hover {
  background: #f4fcff;
  border-color: #ffffff;
}

/* Section: services */
.service-card::before { display: none; }
.service-card {
  min-height: 0;
}

/* Trust block */
.trust .button { box-shadow: 0 10px 24px rgba(255,255,255,.14); }
.trust__content .button { margin-top: 4px; }

/* Loyalty image should show fully */
.loyalty__visual {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px;
  border-radius: 18px;
  background: linear-gradient(180deg, #ffffff 0%, #f6fcfe 100%);
}
.loyalty__visual img {
  width: 100%;
  height: 100%;
  max-height: 360px;
  aspect-ratio: auto;
  object-fit: contain;
  object-position: center;
  background: transparent;
}

/* Gallery */
.gallery-card figcaption .icon { color: #ffffff; }

/* Reviews */
.review-card__icon { display: none; }
.review-card__rating {
  display: inline-block;
  margin-bottom: 12px;
  color: #f7b731;
  font-size: 16px;
  letter-spacing: 2px;
  line-height: 1;
}
.review-card__head { margin-bottom: 10px; }

/* Promotions */
.promo-card img {
  filter: saturate(1.02) brightness(.72);
}
.promo-card__overlay {
  justify-content: flex-end;
  background: linear-gradient(0deg, rgba(5,104,131,.88) 0%, rgba(5,104,131,.60) 45%, rgba(5,104,131,.12) 100%);
}
.promo-card__overlay--dark {
  background: linear-gradient(0deg, rgba(7,126,159,.90) 0%, rgba(7,126,159,.64) 46%, rgba(7,126,159,.14) 100%);
}
.promo-card h3,
.promo-card p { text-shadow: 0 1px 2px rgba(0,0,0,.18); }

/* Contacts */
.contact__content {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #ffffff;
  box-shadow: var(--shadow);
}
.contact-list div {
  padding: 14px 16px;
  border: 1px solid rgba(35,205,253,.16);
  border-radius: 16px;
  background: #fafeff;
}
.contact__content > .button { margin-top: 8px; }

/* Footer brand */
.brand--footer {
  align-items: center;
}
.brand--footer .brand__mark--logo { width: 168px; }
.brand--footer .brand__mark--logo img {
  filter: brightness(0) invert(1);
}

@media (max-width: 1120px) {
  .brand__mark--logo { width: 132px; }
}

@media (max-width: 760px) {
  .brand { gap: 10px; }
  .brand__mark--logo { width: 118px; }
  .brand span:last-child small { display: none; }
  .loyalty__visual { padding: 10px; }
  .loyalty__visual img { max-height: 300px; }
  .contact__content { padding: 22px; }
  .contact-list div { padding: 12px 14px; }
  .brand--footer .brand__mark--logo { width: 148px; }
}


/* v6 integrated header, clean footer, equal contact cards */
.topbar { display: none !important; }
.nav-wrap {
  position: sticky;
  top: 0;
  z-index: 55;
  border-bottom: 1px solid rgba(7,127,159,.10);
  background: rgba(255,255,255,.96);
  box-shadow: 0 8px 26px rgba(17,75,92,.055);
  backdrop-filter: blur(18px);
}
.nav {
  min-height: 86px;
  gap: 22px;
}
.brand { gap: 0; }
.brand > span:not(.brand__mark) { display: none; }
.brand__mark--logo { width: 150px; }
.main-nav {
  gap: 17px;
  margin-left: 8px;
  font-size: 13px;
}
.main-nav a { padding: 31px 0 27px; }
.main-nav a::after { bottom: 22px; }
.main-nav__mobile-contacts { display: none; }
.header-info {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-left: auto;
  padding-left: 20px;
  border-left: 1px solid var(--line);
}
.header-info__address,
.header-info__phones {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--muted);
  font-size: 11.5px;
  line-height: 1.28;
}
.header-info__address:hover,
.header-info__phones a:hover { color: var(--brand-dark); }
.header-info__phones > span { display: grid; gap: 2px; }
.header-info__phones a { color: var(--text); font-size: 12.5px; font-weight: 720; white-space: nowrap; }
.header-info__icon {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  fill: none;
  stroke: var(--brand-dark);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.nav > .button { flex: 0 0 auto; }

.contact__grid {
  align-items: stretch;
}
.contact__content,
.contact-form {
  height: 100%;
}
.contact__content {
  display: flex;
  flex-direction: column;
}
.contact-list { flex: 1; }
.contact-form {
  display: flex;
  flex-direction: column;
}
.contact-form .button { margin-top: auto; }
.form-status { min-height: 20px; }

.footer { padding: 48px 0 40px; }
.footer__grid--clean {
  grid-template-columns: 1.25fr .7fr 1.05fr 1.15fr .8fr;
  align-items: start;
  gap: 28px;
}
.footer__brand-col { grid-column: auto; }
.brand--footer { margin-bottom: 18px; }
.brand--footer .brand__mark--logo { width: 180px; }
.footer__brand-col > p { margin: 0; max-width: 270px; }
.footer__column h3,
.footer__requisites--single h3 { margin-bottom: 14px; }
.footer__requisites--single {
  margin-top: 0;
  padding: 16px;
  border-radius: 16px;
}
.footer__requisites--single strong { margin-bottom: 8px; line-height: 1.35; }
.footer__bottom { display: none !important; }

@media (max-width: 1180px) {
  .nav { gap: 16px; }
  .brand__mark--logo { width: 132px; }
  .main-nav { gap: 14px; font-size: 12.5px; }
  .header-info { gap: 12px; padding-left: 14px; }
  .header-info__address { display: none; }
  .footer__grid--clean { grid-template-columns: repeat(3,1fr); }
  .footer__brand-col { grid-column: span 3; }
}

@media (max-width: 1120px) {
  .header-info { margin-left: auto; }
  .main-nav.is-open {
    inset: 86px 0 0;
  }
  .main-nav__mobile-contacts {
    display: grid;
    gap: 8px;
    margin-top: 20px;
    padding: 18px;
    border-radius: 16px;
    background: var(--soft);
  }
  .main-nav__mobile-contacts a {
    padding: 0 !important;
    border: 0 !important;
    color: var(--muted);
    font-size: 14px;
  }
}

@media (max-width: 760px) {
  .nav { min-height: 72px; }
  .brand__mark--logo { width: 126px; }
  .header-info { display: none; }
  .main-nav.is-open { inset: 72px 0 0; }
  .contact__content,
  .contact-form { min-height: 0; }
  .footer__grid--clean { grid-template-columns: 1fr 1fr; gap: 24px 18px; }
  .footer__brand-col { grid-column: 1 / -1; }
  .footer__requisites--single { grid-column: 1 / -1; }
}

@media (max-width: 520px) {
  .footer__grid--clean { grid-template-columns: 1fr; }
  .footer__brand-col,
  .footer__requisites--single { grid-column: auto; }
}

/* =========================================================
   v7 — requested layout and content refinement
   ========================================================= */

/* Restore the previous, cleaner button system */
.button {
  min-height: 48px;
  padding: 12px 20px;
  border: 1px solid var(--brand-strong);
  border-radius: 12px;
  background: linear-gradient(135deg, var(--brand-strong), var(--brand));
  color: #fff;
  font-weight: 760;
  box-shadow: 0 10px 24px rgba(7,159,200,.20);
}
.button:hover {
  transform: translateY(-2px);
  border-color: var(--brand-dark);
  background: linear-gradient(135deg, var(--brand-dark), var(--brand-hover));
  color: #fff;
  box-shadow: 0 13px 28px rgba(7,159,200,.27);
}
.button--ghost {
  border-color: rgba(7,159,200,.34);
  background: #fff;
  color: var(--brand-dark);
  box-shadow: none;
}
.button--ghost:hover {
  border-color: var(--brand-strong);
  background: var(--soft-2);
  color: var(--brand-dark);
  box-shadow: none;
}
.button--light {
  border-color: rgba(255,255,255,.78);
  background: #fff;
  color: var(--brand-dark);
  box-shadow: 0 8px 20px rgba(3,89,111,.12);
  backdrop-filter: none;
}
.button--light:hover {
  border-color: #fff;
  background: #f7fdff;
  color: var(--brand-deep);
}

/* Header: logo and contacts on the left, concise menu on the right */
.nav {
  min-height: 88px;
  gap: 0;
}
.brand__mark--logo { width: 154px; }
.header-info {
  order: 2;
  margin: 0 0 0 24px;
  padding: 0 0 0 24px;
  border-left: 1px solid var(--line);
  gap: 22px;
}
.header-info__address,
.header-info__phones {
  font-size: 11px;
  line-height: 1.3;
}
.header-info__phones a { font-size: 12px; }
.main-nav {
  order: 3;
  margin-left: auto;
  gap: 22px;
  font-size: 13px;
}
.main-nav a {
  padding: 33px 0 29px;
  color: #29434d;
  transition: color .2s ease;
}
.main-nav a::after { display: none; }
.main-nav a:hover { color: var(--brand-dark); }
.nav > .button {
  order: 4;
  margin-left: 20px;
}
.menu-toggle {
  order: 5;
  margin-left: 16px;
}

/* Hero image uses the supplied portrait without an awkward crop */
.hero__visual {
  width: 100%;
  max-width: 510px;
  margin-left: auto;
}
.hero__image-wrap img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center 45%;
}

/* Services: remove decorative lines above icons */
.service-card::before { display: none !important; }

/* About clinic */
.trust__image img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center;
}

/* Loyalty banner must remain fully visible */
.loyalty__visual {
  padding: 12px;
  background: #fff;
}
.loyalty__visual img {
  width: 100%;
  height: auto;
  max-height: none;
  aspect-ratio: auto;
  object-fit: contain;
  object-position: center;
}

/* Gallery: three equal photo cards */
.gallery-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-rows: none;
  gap: 16px;
}
.gallery-card,
.gallery-card--wide {
  grid-row: auto;
  aspect-ratio: 3 / 4;
}
.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.gallery-card figcaption .icon { color: #fff; }

/* Review cards show the individual 5-star score */
.review-card__icon { display: none !important; }
.review-card__rating {
  display: inline-block;
  margin-bottom: 12px;
  color: #f7b731;
  font-size: 17px;
  line-height: 1;
  letter-spacing: 2px;
}

/* Promotion photos act as backgrounds, not ready-made text banners */
.promo-card { min-height: 370px; }
.promo-card img {
  filter: saturate(1.02) brightness(.74);
}
.promo-card:first-child img { object-position: center 58%; }
.promo-card:nth-child(2) img { object-position: center 48%; }
.promo-card__overlay,
.promo-card__overlay--dark {
  background: linear-gradient(0deg, rgba(4,91,116,.94) 0%, rgba(7,126,159,.68) 46%, rgba(7,126,159,.10) 100%);
}

/* Balanced contact cards and a more substantial form */
.contact__grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
  gap: 34px;
}
.contact__content,
.contact-form {
  min-height: 590px;
  height: 100%;
  padding: 32px;
  border-radius: 22px;
}
.contact__content h2 { margin-bottom: 16px; }
.contact__content > p:not(.eyebrow) {
  max-width: 500px;
  font-size: 17px;
}
.contact-list { margin: 24px 0; }
.contact-list div { padding: 15px 16px; }
.contact-form h3 {
  margin-bottom: 24px;
  font-size: 29px;
  line-height: 1.15;
}
.contact-form label {
  gap: 9px;
  margin-bottom: 18px;
  font-size: 14px;
}
.contact-form input,
.contact-form textarea {
  min-height: 54px;
  padding: 15px 16px;
  border-radius: 13px;
  font-size: 16px;
}
.contact-form textarea {
  min-height: 126px;
  resize: vertical;
}
.contact-form .checkbox {
  margin-top: 2px;
  margin-bottom: 20px;
}
.contact-form .button {
  min-height: 54px;
  margin-top: auto;
  font-size: 15px;
}
.form-status { min-height: 18px; }

/* Footer: requisites in a separate lower row */
.footer__grid--clean {
  grid-template-columns: 1.2fr .7fr 1.15fr 1fr;
  gap: 34px;
}
.footer__brand-col { grid-column: auto; }
.footer__requisites-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-top: 30px;
  padding: 19px 0 0;
  border-top: 1px solid rgba(255,255,255,.22);
  color: rgba(255,255,255,.78);
  font-size: 12px;
}
.footer__requisites-row strong { color: #fff; }
.footer__requisites-label {
  padding: 5px 9px;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 8px;
  background: rgba(255,255,255,.10);
  color: #fff;
  font-weight: 750;
}

@media (max-width: 1180px) {
  .header-info__address { display: none; }
  .header-info { margin-left: 18px; padding-left: 18px; }
  .main-nav { gap: 17px; }
  .nav > .button { margin-left: 16px; }
  .footer__grid--clean { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .footer__brand-col { grid-column: 1 / -1; }
}

@media (max-width: 1120px) {
  .header-info {
    order: 2;
    margin-left: 20px;
  }
  .main-nav { order: 4; }
  .menu-toggle { margin-left: auto; }
}

@media (max-width: 760px) {
  .nav { min-height: 72px; }
  .brand__mark--logo { width: 126px; }
  .header-info { display: none; }
  .hero__visual { max-width: 100%; margin: 0; }
  .hero__image-wrap img { aspect-ratio: 4 / 5; }
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-card,
  .gallery-card--wide { aspect-ratio: 4 / 5; }
  .contact__grid { grid-template-columns: 1fr; gap: 22px; }
  .contact__content,
  .contact-form {
    min-height: 0;
    padding: 23px;
  }
  .contact-form h3 { font-size: 25px; }
  .contact-form input,
  .contact-form textarea { font-size: 16px; }
  .footer__grid--clean { grid-template-columns: 1fr; gap: 26px; }
  .footer__brand-col { grid-column: auto; }
  .footer__requisites-row {
    display: grid;
    gap: 7px;
    padding-top: 18px;
  }
  .footer__requisites-label { width: fit-content; }
}


/* =========================================================
   v8 — final targeted refinements only
   ========================================================= */

/* Cleaner brand buttons: exact #23cdfd, no outline */
.button {
  border: 0;
  background: linear-gradient(180deg, #38d8ff 0%, #23cdfd 58%, #18c5f2 100%);
  color: #ffffff;
  box-shadow: 0 8px 20px rgba(35, 205, 253, .20);
}
.button:hover {
  border: 0;
  background: linear-gradient(180deg, #43dcff 0%, #23cdfd 52%, #12bde9 100%);
  color: #ffffff;
  box-shadow: 0 11px 24px rgba(35, 205, 253, .27);
}
.button--ghost {
  border: 0;
  background: #edfaff;
  color: var(--brand-dark);
  box-shadow: none;
}
.button--ghost:hover {
  border: 0;
  background: #dcf7ff;
  color: var(--brand-dark);
  box-shadow: none;
}
.button--light {
  border: 0;
  background: #ffffff;
  color: var(--brand-dark);
  box-shadow: 0 8px 18px rgba(3, 89, 111, .12);
}
.button--light:hover {
  border: 0;
  background: #f3fcff;
  color: var(--brand-deep);
}

/* Header divider belongs between address and phone numbers */
.header-info {
  padding-left: 0;
  border-left: 0;
}
.header-info__phones {
  padding-left: 22px;
  border-left: 1px solid var(--line);
}

/* Hero portrait: natural proportions, no crop, balanced against text */
.hero__visual {
  max-width: 440px;
  align-self: center;
}
.hero__image-wrap {
  display: grid;
  place-items: center;
}
.hero__image-wrap img {
  width: 100%;
  height: auto;
  max-height: 590px;
  aspect-ratio: auto;
  object-fit: contain;
  object-position: center;
}

/* About photo: preserve the entire frame and reduce vertical dominance */
.trust__image {
  width: 100%;
  max-width: 390px;
  margin-inline: auto;
}
.trust__image img {
  width: 100%;
  height: auto;
  max-height: 590px;
  aspect-ratio: auto;
  object-fit: contain;
  object-position: center;
}

/* UDS banner: full width, without oversized white margins */
.loyalty__visual {
  padding: 0;
  overflow: hidden;
  border-radius: 18px;
  background: transparent;
}
.loyalty__visual img {
  width: 100%;
  height: auto;
  max-height: none;
  border-radius: 18px;
  object-fit: contain;
}

/* Simple, concise requisites */
.footer__requisites-row {
  gap: 8px 18px;
  margin-top: 26px;
  padding-top: 16px;
  font-size: 12px;
  color: rgba(255,255,255,.72);
}
.footer__requisites-row strong {
  font-weight: 700;
  color: #ffffff;
}
.footer__requisites-label { display: none; }

@media (max-width: 1180px) {
  .header-info__phones {
    padding-left: 0;
    border-left: 0;
  }
}

@media (max-width: 760px) {
  .hero__visual,
  .trust__image {
    max-width: 420px;
    margin-inline: auto;
  }
  .hero__image-wrap img,
  .trust__image img {
    max-height: none;
  }
  .loyalty__visual { border-radius: 14px; }
  .loyalty__visual img { border-radius: 14px; }
  .footer__requisites-row {
    display: flex;
    gap: 5px 14px;
  }
}

/* =========================================================
   v9 — mobile layout audit only
   Desktop design remains unchanged.
   ========================================================= */

/* Slider controls are injected by script and hidden on desktop. */
.mobile-slider-controls {
  display: none;
}

@media (max-width: 1120px) {
  /* Stable burger menu: one integrated panel below the sticky header. */
  .nav-wrap {
    position: sticky;
    top: 0;
  }
  .nav {
    position: relative;
    min-height: 78px;
  }
  .main-nav {
    display: none;
  }
  .main-nav.is-open {
    position: fixed;
    z-index: 54;
    inset: var(--mobile-menu-top, 78px) 0 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin: 0;
    padding: 18px max(20px, calc((100vw - var(--container)) / 2));
    height: calc(100dvh - var(--mobile-menu-top, 78px));
    overflow-y: auto;
    overscroll-behavior: contain;
    background: #ffffff;
    box-shadow: 0 18px 44px rgba(16,75,92,.12);
    backdrop-filter: blur(18px);
  }
  .main-nav.is-open > a {
    display: flex;
    align-items: center;
    min-height: 54px;
    padding: 13px 2px;
    border-bottom: 1px solid var(--line);
    color: var(--text);
    font-size: 18px;
    font-weight: 720;
    line-height: 1.25;
  }
  .main-nav.is-open > a::after {
    display: none;
  }
  .main-nav__mobile-contacts {
    display: grid;
    gap: 0;
    margin-top: 18px;
    padding: 8px 16px;
    border: 1px solid rgba(35,205,253,.18);
    border-radius: 16px;
    background: var(--soft);
  }
  .main-nav__mobile-contacts a {
    min-height: 46px;
    padding: 12px 0 !important;
    border: 0 !important;
    border-bottom: 1px solid rgba(35,205,253,.15) !important;
    color: var(--muted) !important;
    font-size: 14px !important;
    font-weight: 620 !important;
    line-height: 1.35;
  }
  .main-nav__mobile-contacts a:last-child {
    border-bottom: 0 !important;
  }
  .menu-toggle {
    position: relative;
    z-index: 56;
    display: block;
    width: 44px;
    height: 44px;
    margin-left: auto;
    padding: 10px;
    border-radius: 12px;
    background: var(--soft);
  }
  .menu-toggle span {
    position: absolute;
    left: 10px;
    width: 24px;
    height: 2px;
    margin: 0;
    background: var(--text);
    transition: transform .2s ease, opacity .2s ease, top .2s ease;
  }
  .menu-toggle span:nth-child(1) { top: 13px; }
  .menu-toggle span:nth-child(2) { top: 21px; }
  .menu-toggle span:nth-child(3) { top: 29px; }
  .menu-toggle[aria-expanded="true"] span:nth-child(1) {
    top: 21px;
    transform: rotate(45deg);
  }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }
  .menu-toggle[aria-expanded="true"] span:nth-child(3) {
    top: 21px;
    transform: rotate(-45deg);
  }
}

@media (max-width: 760px) {
  .nav {
    min-height: 72px;
  }
  .main-nav.is-open {
    inset: var(--mobile-menu-top, 72px) 0 0;
    height: calc(100dvh - var(--mobile-menu-top, 72px));
    padding: 14px 16px 28px;
  }

  /* Mobile card sliders: short sections with a visible next-card cue. */
  .services-grid,
  .cost-grid,
  .doctors-grid,
  .gallery-grid,
  .reviews-grid,
  .promo-grid {
    display: flex;
    align-items: stretch;
    gap: 12px;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 2px 28px 14px 0;
    scroll-padding-inline: 0 28px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    overscroll-behavior-inline: contain;
    -webkit-overflow-scrolling: touch;
  }
  .services-grid::-webkit-scrollbar,
  .cost-grid::-webkit-scrollbar,
  .doctors-grid::-webkit-scrollbar,
  .gallery-grid::-webkit-scrollbar,
  .reviews-grid::-webkit-scrollbar,
  .promo-grid::-webkit-scrollbar {
    display: none;
  }

  .services-grid > *,
  .cost-grid > *,
  .doctors-grid > *,
  .gallery-grid > *,
  .reviews-grid > *,
  .promo-grid > * {
    flex: 0 0 calc(100% - 34px);
    min-width: 0;
    scroll-snap-align: start;
    scroll-snap-stop: always;
  }


  .doctor-card img {
    aspect-ratio: 4 / 5;
  }
  .doctor-card p {
    min-height: 0;
  }

  .gallery-card,
  .gallery-card--wide {
    height: auto;
    aspect-ratio: 4 / 5;
  }

  .promo-card {
    min-height: 390px;
  }

  /* Keep the price categories compact instead of stacking three tall buttons. */
  .price-tabs {
    display: flex;
    flex-wrap: nowrap;
    width: 100%;
    overflow-x: auto;
    padding: 4px;
    scrollbar-width: none;
  }
  .price-tabs::-webkit-scrollbar { display: none; }
  .price-tab {
    flex: 0 0 auto;
    white-space: nowrap;
  }

  .mobile-slider-controls {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    width: min(calc(100% - 28px), var(--container));
    margin: 2px auto 0;
  }
  .mobile-slider-controls button {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #edfaff;
    color: var(--brand-dark);
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
  }
  .mobile-slider-controls button:disabled {
    opacity: .35;
    cursor: default;
  }
}

@media (max-width: 420px) {
  .services-grid > *,
  .cost-grid > *,
  .doctors-grid > *,
  .gallery-grid > *,
  .reviews-grid > *,
  .promo-grid > * {
    flex-basis: calc(100% - 24px);
  }
}


/* =========================================================
   v10 — requested mobile-only refinements
   ========================================================= */
@media (max-width: 1120px) {
  .main-nav.is-open {
    top: var(--mobile-menu-top, 78px);
    right: 0;
    bottom: 0;
    left: 0;
    inset: var(--mobile-menu-top, 78px) 0 0;
    min-height: 0;
  }
}

@media (max-width: 760px) {
  /* First-screen advantages: compact vertical list, no slider. */
  .feature-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 30px;
    padding: 0;
    overflow: visible;
  }
  .feature-grid > * {
    width: 100%;
    min-width: 0;
  }
  .feature-card {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    column-gap: 13px;
    row-gap: 5px;
    align-items: start;
    padding: 17px 18px;
  }
  .feature-card__icon {
    grid-row: 1 / span 2;
    width: 42px;
    height: 42px;
    border-radius: 12px;
  }
  .feature-card__icon .icon { width: 21px; height: 21px; }
  .feature-card h2 {
    margin: 1px 0 0;
    font-size: 17px;
    line-height: 1.25;
  }
  .feature-card p {
    margin: 0;
    font-size: 13px;
    line-height: 1.45;
  }

  /* About-clinic advantages: compact vertical list, no slider. */
  .benefits-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 9px;
    margin-top: 30px;
    padding: 0;
    overflow: visible;
  }
  .benefits-grid > * {
    width: 100%;
    min-width: 0;
  }
  .benefit-card,
  .benefit-card:last-child {
    display: grid;
    grid-template-columns: minmax(88px, auto) minmax(0, 1fr);
    grid-template-areas:
      "top title"
      "top text";
    column-gap: 15px;
    row-gap: 4px;
    min-height: 0;
    padding: 15px 17px;
  }
  .benefit-card__top {
    grid-area: top;
    align-self: center;
    min-width: 88px;
  }
  .benefit-card h3 {
    grid-area: title;
    margin: 0;
    font-size: 15px;
    line-height: 1.25;
  }
  .benefit-card p {
    grid-area: text;
    margin: 0;
    font-size: 12.5px;
    line-height: 1.4;
  }

  /* Cleaner slider arrows, no counters. */
  .mobile-slider-controls {
    gap: 10px;
    margin-top: 6px;
  }
  .mobile-slider-controls button {
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 12px;
    background: #f1fbfe;
    color: var(--brand-dark);
    box-shadow: 0 5px 14px rgba(11, 123, 151, .08);
  }
  .mobile-slider-controls button:hover:not(:disabled) {
    background: #e3f8fe;
  }
  .mobile-slider-controls button:disabled {
    opacity: .3;
    box-shadow: none;
  }
  .mobile-slider-controls svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
  }
}


/* v11 — точечные изменения */
.button--outline-light {
  border: 1px solid rgba(255,255,255,.92);
  background: transparent;
  color: #ffffff;
  box-shadow: none;
}
.button--outline-light:hover {
  border-color: #ffffff;
  background: rgba(255,255,255,.12);
  color: #ffffff;
  box-shadow: none;
}


/* Telegram form states */
.form-honeypot { position: absolute !important; left: -9999px !important; width: 1px !important; height: 1px !important; opacity: 0 !important; pointer-events: none !important; }
.form-status.is-success { color: #12805c; }
.form-status.is-error { color: #b42318; }
button:disabled { cursor: wait; opacity: .72; transform: none !important; }


/* Form submission success notice */
body.success-notice-open { overflow: hidden; }
.submission-success {
  position: fixed;
  z-index: 1000;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .22s ease, visibility .22s ease;
}
.submission-success.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.submission-success__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(11, 43, 54, .52);
  backdrop-filter: blur(5px);
}
.submission-success__card {
  position: relative;
  width: min(100%, 440px);
  padding: 34px 30px 30px;
  border-radius: 22px;
  background: #ffffff;
  box-shadow: 0 28px 80px rgba(11, 43, 54, .24);
  text-align: center;
  transform: translateY(14px) scale(.98);
  transition: transform .22s ease;
}
.submission-success.is-visible .submission-success__card {
  transform: translateY(0) scale(1);
}
.submission-success__icon {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: rgba(35, 205, 253, .14);
  color: #0ea9d1;
}
.submission-success__icon svg {
  width: 30px;
  height: 30px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.3;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.submission-success__card h3 {
  margin: 0 0 10px;
  font-size: 25px;
  line-height: 1.2;
}
.submission-success__message {
  margin: 0 auto 22px;
  max-width: 340px;
  color: var(--muted);
  font-size: 15px;
}
.submission-success__button { min-width: 150px; }

@media (max-width: 560px) {
  .submission-success { padding: 16px; }
  .submission-success__card {
    padding: 30px 22px 24px;
    border-radius: 18px;
  }
  .submission-success__card h3 { font-size: 22px; }
  .submission-success__button { width: 100%; }
}
