@font-face {
  font-family: "Lato Local";
  src: url("../assets/fonts/Lato-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Lato Local";
  src: url("../assets/fonts/Lato-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Lato Local";
  src: url("../assets/fonts/Lato-Semibold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Lato Local";
  src: url("../assets/fonts/Lato-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
:root {
  --ink: #28374a;
  --blue: #28374a;
  --blue-dark: #1b2938;
  --brand-sky: #68aace;
  --brand-sky-strong: #2e7399;
  --paper: #f5f7f7;
  --white: #fbfcfc;
  --muted: #596677;
  --line: #d5dfe4;
  --warm: #c85e3d;
  --warm-strong: #b84c2d;
  --verified: #23684e;
  --warm-soft: #f2c9b8;
  --radius: 12px;
  --radius-lg: 20px;
  --shell: 1180px;
  --shadow: 0 18px 46px rgba(40, 55, 74, 0.12);
  --shadow-soft: 0 10px 28px rgba(40, 55, 74, 0.07);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
:where(section, footer)[id] { scroll-margin-top: 84px; }
body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--paper);
  font-family: "Lato Local", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
}
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
img { display: block; max-width: 100%; }
a { color: inherit; }
.icon-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.feature-icon svg, .contact-method svg, .contact-address svg, .callback-icon svg, .callback-close svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.shell { width: min(calc(100% - 48px), var(--shell)); margin-inline: auto; }
.skip-link { position: fixed; left: 12px; top: -80px; z-index: 100; padding: 10px 14px; background: var(--white); }
.skip-link:focus { top: 12px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(245, 247, 247, 0.95);
  border-bottom: 1px solid rgba(40, 55, 74, 0.12);
  backdrop-filter: blur(12px);
}
.header-row { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; flex: 0 0 auto; }
.brand img { width: auto; height: 66px; }
.header-actions { display: flex; align-items: center; gap: 22px; }
.header-place { color: var(--muted); font-size: 14px; }
.phone-link { font-weight: 700; text-decoration: none; white-space: nowrap; }

.button {
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 22px;
  border: 1px solid var(--blue);
  border-radius: var(--radius);
  background: var(--blue);
  color: var(--white);
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 160ms ease, color 160ms ease, transform 160ms ease;
}
.button:hover { background: var(--blue-dark); transform: translateY(-2px); }
.button:active { transform: translateY(0) scale(.98); }
.button:focus-visible, a:focus-visible, button:focus-visible, input:focus-visible, summary:focus-visible { outline: 3px solid rgba(104, 170, 206, 0.8); outline-offset: 3px; }
.button-small { min-height: 44px; padding: 9px 17px; font-size: 15px; }
.button-outline { color: var(--blue); background: transparent; }
.button-outline:hover { color: var(--white); }
.button-dark { background: var(--ink); border-color: var(--ink); }
.button-dark:hover { background: var(--blue-dark); }
.button-light { background: var(--white); color: var(--blue-dark); border-color: var(--white); }
.button-light:hover { background: #e6f0f5; }
.text-link { font-weight: 700; text-underline-offset: 5px; }

.hero { min-height: 650px; display: flex; align-items: stretch; background: var(--paper); border-bottom: 1px solid var(--line); }
.hero-grid { display: grid; grid-template-columns: minmax(0, .92fr) minmax(500px, 1.08fr); gap: 48px; align-items: center; }
.hero-copy { padding: 64px 0; display: flex; flex-direction: column; align-items: flex-start; animation: hero-copy-in 620ms cubic-bezier(.22,.72,.24,1) both; }
h1, h2, h3, p { margin-top: 0; }
h1 { margin-bottom: 24px; max-width: 640px; font-size: clamp(42px, 3.75vw, 52px); line-height: 1.1; letter-spacing: -.01em; }
.hero-title-accent { display: inline; padding: 0 .1em .05em; background: var(--warm-soft); box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.hero-offer-kicker { margin-bottom: 16px; padding: 7px 12px; color: var(--white); background: var(--warm-strong); border-radius: 8px; box-shadow: 4px 4px 0 #8b3923; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.hero-lead { max-width: 580px; margin-bottom: 24px; color: var(--muted); font-size: 19px; line-height: 1.5; }
.hero-payment { position: relative; width: 100%; max-width: 460px; display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "label label" "value period" "note note"; gap: 4px 14px; margin: 0 0 32px; padding: 22px 24px 20px; overflow: visible; color: var(--white); background: var(--warm-strong); border: 2px solid #9e3e24; border-radius: var(--radius); box-shadow: 9px 9px 0 var(--blue-dark), 0 18px 42px rgba(40,55,74,.2); animation: promo-float 5s ease-in-out 900ms infinite; }
.hero-payment::after { content: ""; position: absolute; top: -18px; right: 18px; width: 54px; height: 54px; border: 1px solid rgba(255,255,255,.2); border-radius: 50%; box-shadow: 0 0 0 9px rgba(255,255,255,.06); pointer-events: none; }
.hero-payment-label { grid-area: label; width: fit-content; margin-bottom: 2px; padding: 5px 9px; color: #7d2c18; background: #f8d9cb; border-radius: 7px; font-size: 13px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.hero-payment-value { grid-area: value; display: flex; align-items: baseline; gap: 9px; }
.hero-payment-value small { color: #fff4ef; font-size: 20px; font-weight: 600; }
.hero-payment-value strong { font-size: clamp(42px, 3.8vw, 54px); line-height: 1.02; font-variant-numeric: tabular-nums; }
.hero-payment-period { grid-area: period; align-self: end; padding-bottom: 6px; color: #fff4ef; font-size: 17px; font-weight: 600; }
.hero-payment-note { grid-area: note; margin-top: 5px; color: #fff4ef; font-size: 12px; font-weight: 500; }
.hero-facts { width: 100%; max-width: 590px; display: grid; gap: 0; margin: 0 0 28px; border-top: 1px solid var(--line); }
.hero-facts div { display: grid; grid-template-columns: 112px 1fr; gap: 18px; padding: 11px 0; border-bottom: 1px solid var(--line); }
.hero-facts dt { color: var(--muted); font-size: 13px; }
.hero-facts dd { margin: 0; font-size: 14px; font-weight: 600; }
.hero-buttons { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.hero-photo { min-width: 0; margin: 40px 0; animation: hero-photo-in 720ms cubic-bezier(.22,.72,.24,1) 100ms both; }
.hero-media { position: relative; overflow: hidden; border-radius: var(--radius-lg); background: #e4ecef; box-shadow: var(--shadow); }
.hero-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform 500ms cubic-bezier(.22,.72,.24,1); }
.hero-photo figcaption { display: grid; gap: 3px; padding: 7px 4px 0; color: var(--muted); font-size: 9px; line-height: 1.35; }

.medical-warning { padding: 18px 0; color: var(--white); background: var(--blue-dark); font-size: 18px; font-weight: 700; text-align: center; }

.section { padding: 80px 0; }
.split-heading { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; align-items: start; margin-bottom: 48px; }
h2 { margin-bottom: 0; max-width: 720px; font-size: clamp(34px, 3.2vw, 42px); line-height: 1.18; letter-spacing: 0; }
.section-intro { max-width: 760px; margin-bottom: 0; color: var(--muted); font-size: 18px; }
.concerns { background: var(--paper); }
.concern-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.concern-list article { min-width: 0; overflow: hidden; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-soft); }
.concern-card { display: flex; flex-direction: column; }
.concern-card > img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; background: #edf2f4; }
.concern-card-copy { flex: 1; display: flex; align-items: flex-start; flex-direction: column; padding: 22px 20px 20px; }
.feature-icon { width: 48px; height: 48px; display: grid; place-items: center; margin-bottom: 34px; color: var(--brand-sky-strong); background: #e2f0f6; border-radius: var(--radius); }
.concern-list h3 { margin-bottom: 12px; font-size: 20px; line-height: 1.25; }
.concern-list p { margin-bottom: 20px; color: var(--muted); font-size: 15px; }
.concern-cta { width: 100%; margin-top: auto; padding-inline: 12px; font-size: 14px; }
.illustration-note { margin-top: 12px; color: var(--muted); font-size: 9px; line-height: 1.35; }
.types { background: var(--white); }
.prosthesis-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 18px; }
.prosthesis-card { min-width: 0; grid-column: span 5; overflow: hidden; background: #edf2f4; border-radius: var(--radius-lg); }
.prosthesis-card-wide { grid-column: span 7; }
.prosthesis-card img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.prosthesis-card-copy { display: grid; grid-template-columns: 36px minmax(0, 1fr); grid-template-areas: "number title" ". text" ". note"; gap: 8px 12px; padding: 24px; }
.prosthesis-card-copy span { grid-area: number; padding-top: 4px; color: var(--warm); font-size: 13px; font-weight: 700; font-variant-numeric: tabular-nums; }
.prosthesis-card-copy h3 { grid-area: title; margin: 0; font-size: 23px; line-height: 1.2; }
.prosthesis-card-copy p { grid-area: text; margin: 0; color: var(--ink); font-size: 16px; }
.prosthesis-card-copy small { grid-area: note; color: var(--muted); font-size: 14px; line-height: 1.5; }
.prosthesis-note { margin-top: 12px; color: var(--muted); font-size: 9px; line-height: 1.35; }
.cases { background: #eaf0f2; }
.cases-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.case-card { min-width: 0; margin: 0; overflow: hidden; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-soft); transition: transform 180ms ease, box-shadow 180ms ease; }
.case-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.case-media { position: relative; margin: 12px 12px 0; overflow: hidden; background: #fff; border-radius: 14px; }
.case-media img { width: 100%; aspect-ratio: .9 / 1; object-fit: cover; transform: scale(1.08); }
.case-label { position: absolute; left: 14px; z-index: 1; padding: 7px 10px; color: var(--white); border-radius: 7px; font-size: 13px; font-weight: 700; line-height: 1; box-shadow: 0 4px 14px rgba(27,41,56,.16); }
.case-label-before { top: 14px; background: var(--blue-dark); }
.case-label-after { top: calc(50% + 14px); background: var(--warm-strong); }
.case-before-cover { position: absolute; z-index: 3; inset: 0 0 50%; display: grid; place-content: center; justify-items: center; gap: 10px; padding: 18px; color: var(--white); background-color: rgba(40,55,74,.9); background-image: radial-gradient(circle, rgba(255,255,255,.2) 1px, transparent 1.5px); background-size: 7px 7px; border: 0; cursor: pointer; backdrop-filter: blur(18px); transition: opacity 220ms ease, background-color 180ms ease; }
.case-before-cover:hover { background-color: rgba(27,41,56,.94); }
.case-before-cover:focus-visible { outline: 3px solid var(--brand-sky); outline-offset: -5px; }
.case-before-cover.is-revealed { opacity: 0; }
.case-before-cover svg { width: 30px; height: 30px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.case-before-cover strong { font-size: 15px; line-height: 1.3; text-align: center; }
.case-card figcaption { display: flex; flex-direction: column; align-items: flex-start; padding: 22px 20px 24px; }
.case-card h3 { margin: 0 0 8px; font-size: 22px; line-height: 1.2; }
.case-card p { margin: 0 0 20px; color: var(--muted); }
.case-cta { width: 100%; margin-top: auto; }
.type-overview { margin-top: -4px; margin-bottom: 28px; }
.type-overview-media { overflow: hidden; background: #e8ecef; border: 1px solid var(--line); border-radius: var(--radius-lg) var(--radius-lg) 0 0; }
.type-overview-media img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; object-position: center; }
.type-overview-legend { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0; padding: 0; background: #f7f9fa; border: 1px solid var(--line); border-top: 0; list-style: none; }
.type-overview-legend li { min-width: 0; display: flex; align-items: baseline; gap: 10px; padding: 15px 18px; }
.type-overview-legend li + li { border-left: 1px solid var(--line); }
.type-overview-legend span { flex: 0 0 auto; color: var(--warm); font-size: 12px; font-weight: 700; font-variant-numeric: tabular-nums; }
.type-overview-legend strong { font-size: 15px; line-height: 1.3; }
.type-overview figcaption { padding: 9px 4px 0; color: var(--muted); font-size: 12px; line-height: 1.45; }
.type-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.type-card { min-width: 0; display: grid; grid-template-columns: 54px minmax(0, 1fr); grid-template-areas: "number title" "number detail"; gap: 20px 18px; padding: 28px; background: #edf2f4; border-radius: var(--radius-lg); }
.type-card-main { grid-column: 1 / -1; grid-template-columns: 54px minmax(260px, .82fr) minmax(0, 1.18fr); grid-template-areas: "number title detail"; align-items: start; background: var(--blue-dark); color: var(--white); }
.type-card-accent { background: #e2f0f6; }
.type-number { grid-area: number; color: var(--warm); font-size: 15px; font-weight: 700; font-variant-numeric: tabular-nums; }
.type-card h3 { margin-bottom: 10px; font-size: 23px; line-height: 1.2; }
.type-card p { margin-bottom: 0; color: var(--muted); }
.type-card-main p { color: #c9d4e4; }
.type-card dl { grid-area: detail; display: grid; gap: 18px; margin: 0; }
.type-card-main dl { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.type-card dl div { padding-top: 16px; border-top: 1px solid rgba(16, 33, 58, .16); }
.type-card-main dl div { border-color: rgba(255, 255, 255, .2); }
.type-card dt { margin-bottom: 5px; color: var(--muted); font-size: 13px; font-weight: 700; }
.type-card-main dt { color: #aebed1; }
.type-card dd { margin: 0; font-size: 15px; line-height: 1.5; }
.type-card dd strong { font-size: 22px; font-variant-numeric: tabular-nums; }

.pricing { background: #edf2f4; }
.pricing-grid { display: grid; grid-template-columns: minmax(300px, .72fr) minmax(0, 1.28fr); gap: 72px; align-items: start; }
.pricing-copy h2 { margin-bottom: 24px; }
.pricing-copy p { max-width: 54ch; margin-bottom: 30px; color: var(--muted); font-size: 17px; }
.price-list { padding: 10px 28px 24px; background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow-soft); }
.price-list > div { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.price-list span { color: var(--muted); }
.price-list strong { text-align: right; font-variant-numeric: tabular-nums; }
.price-list small { display: block; margin-top: 18px; color: var(--muted); line-height: 1.5; }

.faq { background: var(--white); }
.faq-grid { display: grid; grid-template-columns: minmax(260px, .62fr) minmax(520px, 1.38fr); gap: 72px; align-items: start; }
.faq-heading { position: sticky; top: 118px; }
.faq-heading h2 { margin-bottom: 20px; }
.faq-heading p { max-width: 34ch; color: var(--muted); font-size: 17px; }
.faq-list { border-top: 1px solid var(--ink); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { position: relative; padding: 24px 52px 24px 0; font-size: 19px; font-weight: 700; cursor: pointer; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; top: 19px; right: 4px; width: 32px; height: 32px; display: grid; place-items: center; color: var(--blue); border: 1px solid var(--line); border-radius: 50%; font-size: 20px; font-weight: 500; }
.faq-list details[open] summary::after { content: "−"; }
.faq-list details p { max-width: 66ch; margin-bottom: 24px; color: var(--muted); }

.process { background: var(--white); }
.process-grid { display: grid; grid-template-columns: .82fr 1.18fr; gap: 72px; align-items: start; }
.process-heading { position: sticky; top: 118px; }
.process-heading h2 { margin-bottom: 38px; }
.process-photo { margin: 34px 0 0; overflow: hidden; border-radius: var(--radius-lg); box-shadow: var(--shadow-soft); }
.process-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.steps { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--ink); }
.steps li { display: grid; grid-template-columns: 78px 1fr; gap: 24px; padding: 30px 0 34px; border-bottom: 1px solid var(--line); }
.steps > li > span { color: var(--brand-sky-strong); font-weight: 700; font-size: 20px; }
.steps h3 { margin-bottom: 8px; font-size: 21px; }
.steps p { margin-bottom: 0; color: var(--muted); }

.quiz-section { background: var(--blue-dark); color: var(--white); }
.quiz-shell { display: grid; grid-template-columns: minmax(300px, .72fr) minmax(520px, 1.28fr); gap: 64px; align-items: start; }
.quiz-aside h2 { margin-bottom: 24px; font-size: clamp(32px, 2.8vw, 38px); line-height: 1.2; }
.quiz-aside > p { color: #becbe0; font-size: 18px; }
.quiz { min-height: 570px; padding: 40px; background: var(--blue); border: 1px solid rgba(255,255,255,.16); border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.quiz-progress { height: 3px; margin-bottom: 16px; background: rgba(255,255,255,.17); }
.quiz-progress span { display: block; width: 25%; height: 100%; background: var(--brand-sky); transition: width 180ms ease; }
.quiz-counter { margin-bottom: 42px; color: #b9c9e4; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; }
.quiz-step { display: none; margin: 0; padding: 0; border: 0; }
.quiz-step.is-active { display: grid; gap: 11px; }
.quiz-step legend { width: 100%; margin-bottom: 25px; padding: 0; font-size: 27px; line-height: 1.2; font-weight: 700; }
.choice { display: block; cursor: pointer; }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice span { display: block; padding: 15px 17px; border: 1px solid rgba(255,255,255,.28); border-radius: var(--radius); transition: background-color 140ms ease, border-color 140ms ease; }
.choice span::before { content: ""; display: inline-block; width: 10px; height: 10px; margin-right: 12px; border: 1px solid rgba(255,255,255,.65); border-radius: 50%; vertical-align: 1px; }
.choice:hover span { border-color: rgba(255,255,255,.7); }
.choice input:checked + span { background: var(--white); color: var(--blue-dark); border-color: var(--white); }
.choice input:checked + span::before { border: 3px solid var(--brand-sky); background: var(--blue-dark); }
.choice input:focus-visible + span { outline: 3px solid rgba(104,170,206,.85); outline-offset: 2px; }
.quiz-contact { gap: 18px !important; }
.field span { display: block; margin-bottom: 7px; color: #c5d2e6; font-size: 13px; }
.field input { width: 100%; min-height: 52px; padding: 12px 14px; border: 1px solid rgba(255,255,255,.35); border-radius: var(--radius); background: rgba(255,255,255,.06); color: var(--white); }
.field input::placeholder { color: #93a6c4; }
.consent { display: grid; grid-template-columns: 20px 1fr; gap: 10px; align-items: start; color: #bfcaDC; font-size: 14px; }
.consent input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--brand-sky); }
.quiz-error { min-height: 24px; margin: 16px 0 4px; color: #ffb29f; font-size: 14px; }
.captcha-slot { min-width: 0; }
.quiz-controls { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-top: 4px; }
.quiz-back { padding: 11px 0; border: 0; background: transparent; color: #ccd6e7; text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
.quiz-success { grid-column: 2; min-height: 430px; padding: 50px; background: var(--blue); border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.quiz-success h3 { margin-bottom: 18px; font-size: 32px; line-height: 1.2; }
.quiz-success p { max-width: 560px; color: #c7d2e4; }
.quiz-success .button { margin-top: 20px; }

.doctor-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.doctor-card { margin: 0; overflow: hidden; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-soft); }
.doctor-image { height: 480px; overflow: hidden; background: #e9e9e7; }
.doctor-image img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 24%; }
.doctor-card figcaption { padding: 24px 26px 28px; }
.doctor-card small { color: var(--muted); }
.doctor-card h3 { margin: 7px 0 0; font-size: 22px; }
.doctor-facts { display: grid; gap: 7px; margin: 18px 0 16px; padding: 0; color: #465268; list-style: none; }
.doctor-facts li { position: relative; padding-left: 18px; }
.doctor-facts li::before { content: ""; position: absolute; left: 0; top: .72em; width: 8px; height: 2px; background: var(--brand-sky-strong); }
.doctor-profile { color: var(--blue); font-size: 14px; font-weight: 700; text-underline-offset: 4px; }

.reputation { background: #e8eff2; }
.reputation-heading { display: flex; align-items: end; justify-content: space-between; gap: 48px; margin-bottom: 40px; }
.reputation-heading > div { max-width: 720px; }
.reputation-heading h2 { margin-bottom: 14px; }
.reputation-heading p { max-width: 62ch; margin: 0; color: var(--muted); font-size: 18px; }
.reputation-heading > span { flex: 0 0 auto; padding-bottom: 5px; color: var(--muted); font-size: 14px; }
.reputation-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 16px; }
.reputation-card { min-width: 0; grid-column: span 5; min-height: 250px; display: flex; flex-direction: column; justify-content: space-between; gap: 24px; padding: 28px; color: var(--ink); background: var(--white); border-radius: var(--radius-lg); text-decoration: none; box-shadow: 0 8px 24px rgba(40,55,74,.06); transition: transform 160ms ease, box-shadow 160ms ease, background-color 160ms ease; }
.reputation-card:nth-child(even) { grid-column: span 7; background: #f1f4f4; box-shadow: none; }
.reputation-card-yandex { grid-column: span 7; background: var(--blue-dark); color: var(--white); }
.reputation-card-yandex + .reputation-card { grid-column: span 5; }
.reputation-platform { min-width: 0; display: flex; align-items: center; gap: 14px; }
.reputation-platform > span:last-child { min-width: 0; display: grid; gap: 3px; }
.reputation-platform strong { font-size: 20px; line-height: 1.25; }
.reputation-platform small { color: var(--muted); font-size: 14px; line-height: 1.4; }
.reputation-card-yandex .reputation-platform small { color: #c3cfda; }
.verified-note { display: flex; align-items: flex-start; gap: 6px; color: var(--verified) !important; font-weight: 600; }
.verified-note svg { flex: 0 0 auto; width: 18px; height: 18px; margin-top: 1px; fill: none; stroke: currentColor; stroke-width: 2.3; stroke-linecap: round; stroke-linejoin: round; }
.platform-logo { flex: 0 0 auto; width: 64px; height: 64px; display: grid; place-items: center; overflow: hidden; padding: 8px; background: var(--white); border: 1px solid var(--line); border-radius: 12px; }
.platform-logo img { display: block; width: 100%; height: 100%; object-fit: contain; }
.reputation-value { display: grid; gap: 4px; }
.reputation-value strong { font-size: 46px; line-height: 1; font-variant-numeric: tabular-nums; }
.reputation-value small { color: var(--muted); font-size: 15px; }
.reputation-link, .reputation-card-yandex > a { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 16px; border-top: 1px solid var(--line); color: var(--ink); font-weight: 700; text-underline-offset: 4px; }
.reputation-card-yandex > a { color: var(--white); border-top-color: rgba(255,255,255,.2); }
.yandex-rating-row { display: flex; align-items: center; gap: 24px; }
.yandex-rating-badge { display: block; background: #f7f7f5; border-radius: 8px; }
.yandex-review-count { display: grid; gap: 2px; }
.yandex-review-count strong { color: var(--white); font-size: 30px; line-height: 1; font-variant-numeric: tabular-nums; }
.yandex-review-count small { color: #c3cfda; font-size: 14px; line-height: 1.35; }
.reputation-foot { display: flex; align-items: center; justify-content: space-between; gap: 32px; margin-top: 24px; }
.reputation-foot p { max-width: 56ch; margin: 0; color: var(--muted); font-size: 14px; }

@keyframes hero-copy-in {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes hero-photo-in {
  from { opacity: 0; transform: translateX(20px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes promo-float {
  0%, 100% { transform: translateY(0) rotate(-.65deg); }
  50% { transform: translateY(-4px) rotate(-.15deg); }
}
@keyframes callback-in {
  from { opacity: 0; transform: translateY(18px) scale(.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes callback-backdrop-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

@media (hover: hover) {
  .hero-photo:hover img { transform: scale(1.025); }
  .concern-card, .prosthesis-card, .doctor-card { transition: transform 180ms ease, box-shadow 180ms ease; }
  .concern-card > img, .prosthesis-card img, .doctor-image img { transition: transform 420ms cubic-bezier(.22,.72,.24,1); }
  .concern-card:hover, .prosthesis-card:hover, .doctor-card:hover { transform: translateY(-4px); box-shadow: 0 16px 34px rgba(40,55,74,.12); }
  .concern-card:hover > img, .prosthesis-card:hover img, .doctor-card:hover .doctor-image img { transform: scale(1.025); }
  .reputation-card:hover { transform: translateY(-3px); box-shadow: 0 16px 34px rgba(40,55,74,.12); }
  .faq-list summary:hover { color: var(--blue); }
}

.clinic { background: var(--white); }
.clinic-gallery { display: grid; grid-template-columns: 1.15fr .85fr .85fr; grid-template-rows: repeat(2, 250px); gap: 14px; }
.clinic-gallery figure { margin: 0; overflow: hidden; background: #e8ebee; border-radius: var(--radius); }
.clinic-gallery .clinic-main { grid-row: 1 / 3; }
.clinic-gallery figure:last-child { grid-column: 2 / 4; }
.clinic-gallery img { width: 100%; height: 100%; object-fit: cover; }

.contact { background: var(--ink); color: var(--white); }
.contact-heading { display: grid; grid-template-columns: 1.05fr .95fr; gap: 80px; align-items: end; margin-bottom: 42px; }
.contact-heading h2 { color: var(--white); }
.contact-heading p { margin: 18px 0 0; color: #b8c7da; font-size: 18px; }
.contact-address { display: grid; grid-template-columns: 40px 1fr; gap: 16px; align-items: start; font-style: normal; }
.contact-address > svg { width: 30px; height: 30px; color: var(--brand-sky); }
.contact-address span, .contact-address strong, .contact-address small { display: block; }
.contact-address strong { font-size: 18px; line-height: 1.4; }
.contact-address small { margin-top: 7px; color: #aebed1; font-size: 14px; }
.contact-methods { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.contact-method { min-width: 0; display: grid; grid-template-columns: 46px minmax(0, 1fr); gap: 14px; align-items: center; padding: 20px; color: inherit; background: #33485f; border: 1px solid rgba(255,255,255,.14); border-radius: var(--radius); font: inherit; text-align: left; text-decoration: none; cursor: pointer; }
.contact-method:hover { background: #3e5874; border-color: rgba(255,255,255,.3); }
.contact-method > svg { width: 25px; height: 25px; color: var(--brand-sky); }
.contact-method span, .contact-method small, .contact-method strong { display: block; min-width: 0; }
.contact-method small { color: #aebed1; font-size: 12px; }
.contact-method strong { margin-top: 2px; overflow: hidden; font-size: 16px; text-overflow: ellipsis; }
.map-links { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 14px; }
.map-links a { display: flex; justify-content: space-between; gap: 16px; padding: 18px 20px; background: transparent; border: 1px solid rgba(255,255,255,.24); border-radius: var(--radius); text-decoration: none; }
.map-links a::after { content: "↗"; }
.map-links a:hover { color: var(--brand-sky); }

body.modal-open { overflow: hidden; }
.callback-dialog { position: fixed; width: min(calc(100% - 32px), 480px); max-height: min(720px, calc(100dvh - 32px)); margin: auto; padding: 40px; overflow: auto; color: var(--ink); background: var(--paper); border: 0; border-radius: var(--radius-lg); box-shadow: 0 30px 90px rgba(27,41,56,.32); animation: callback-in 220ms cubic-bezier(.22,.72,.24,1) both; }
.callback-dialog::backdrop { background: rgba(7,19,37,.64); backdrop-filter: blur(4px); animation: callback-backdrop-in 180ms ease both; }
.callback-close { position: absolute; top: 18px; right: 18px; width: 44px; height: 44px; display: grid; place-items: center; padding: 0; color: var(--muted); background: transparent; border: 1px solid var(--line); border-radius: 50%; cursor: pointer; transition: color 160ms ease, background-color 160ms ease, transform 160ms ease; }
.callback-close:hover { color: var(--ink); background: #e6eef1; transform: rotate(4deg); }
.callback-icon { width: 52px; height: 52px; display: grid; place-items: center; margin-bottom: 24px; color: var(--white); background: var(--blue); border-radius: var(--radius); box-shadow: 5px 5px 0 var(--warm-strong); }
.callback-dialog h2 { max-width: 350px; margin: 0 52px 12px 0; font-size: 34px; line-height: 1.16; }
.callback-dialog > p { max-width: 400px; margin-bottom: 28px; color: var(--muted); font-size: 17px; }
.callback-form { display: grid; gap: 18px; }
.callback-field span { display: block; margin-bottom: 7px; color: var(--ink); font-size: 14px; font-weight: 600; }
.callback-field input { width: 100%; min-height: 56px; padding: 13px 15px; color: var(--ink); background: var(--white); border: 1px solid #9ba7b3; border-radius: var(--radius); transition: border-color 160ms ease, box-shadow 160ms ease; }
.callback-field input::placeholder { color: #697587; }
.callback-field input:hover { border-color: var(--blue); }
.callback-field input:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(104,170,206,.25); }
.callback-consent { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 10px; align-items: start; color: var(--muted); font-size: 14px; }
.callback-consent input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--blue); }
.callback-consent a { color: var(--blue); text-underline-offset: 3px; }
.callback-error { min-height: 22px; margin: -4px 0 -2px; color: #9f2f20; font-size: 14px; }
.callback-form .button { width: 100%; }
.callback-success h3 { margin: 0 0 12px; font-size: 28px; line-height: 1.2; }
.callback-success p { margin-bottom: 24px; color: var(--muted); }
.callback-success .button { width: 100%; }

.site-footer { padding: 50px 0 90px; background: var(--blue-dark); color: #c5d0da; font-size: 13px; }
.footer-grid { display: grid; grid-template-columns: 170px 1.15fr 1.2fr .95fr; gap: 32px; align-items: start; }
.footer-grid > img { width: 170px; height: auto; }
.footer-grid p { margin-bottom: 0; }
.footer-legal { display: grid; gap: 8px; }
.footer-legal a { text-underline-offset: 3px; }
.footer-legal a:hover { color: var(--white); }

.cookie-banner { position: fixed; z-index: 70; right: 24px; bottom: 24px; width: min(680px, calc(100% - 48px)); display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; align-items: center; padding: 22px; color: var(--ink); background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: 0 22px 60px rgba(27,41,56,.24); }
.cookie-banner p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.45; }
.cookie-banner a { color: var(--blue); text-underline-offset: 3px; }
.cookie-actions { display: grid; gap: 8px; }
.cookie-actions .button { white-space: nowrap; }
.mobile-bar { display: none; }

[hidden] { display: none !important; }

@media (max-width: 980px) {
  .header-place { display: none; }
  .hero-grid { grid-template-columns: minmax(0, .9fr) minmax(430px, 1.1fr); gap: 32px; }
  .hero { min-height: 620px; }
  .hero-copy { padding-top: 56px; }
  .concern-list { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { gap: 42px; }
  .faq-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .faq-heading { position: static; }
  .process-grid, .quiz-shell { gap: 54px; }
  .quiz-shell { grid-template-columns: .7fr 1.3fr; }
  .quiz { padding: 30px; }
  .contact-heading { gap: 48px; }
  .contact-methods { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 150px 1fr 1fr; }
  .footer-grid > p:last-child { grid-column: 2 / 4; }
}

@media (max-width: 800px) {
  body { font-size: 16px; padding-bottom: 62px; }
  .shell { width: min(calc(100% - 30px), var(--shell)); }
  .site-header { position: relative; }
  .header-row { min-height: 68px; }
  .brand img { width: auto; height: 54px; }
  .header-actions .phone-link { display: none; }
  .header-callback { min-height: 44px; padding: 9px 12px; font-size: 13px; }
  .hero { min-height: auto; }
  .hero-grid { width: 100%; min-width: 0; grid-template-columns: minmax(0, 1fr); gap: 0; }
  .hero-copy, .hero-photo { min-width: 0; }
  .hero-copy { padding: 48px 15px 32px; }
  h1 { max-width: 100%; font-size: clamp(32px, 8.9vw, 36px); line-height: 1.14; letter-spacing: 0; }
  .hero-lead { font-size: 18px; }
  .hero-payment { width: auto; max-width: none; align-self: stretch; grid-template-columns: minmax(0, 1fr) auto; padding: 20px 18px 18px; }
  .hero-payment-value strong { font-size: clamp(42px, 13vw, 50px); }
  .hero-payment-period { font-size: 15px; }
  .hero-facts div { grid-template-columns: 94px 1fr; }
  .hero-buttons { align-items: flex-start; flex-direction: column; }
  .hero-photo { margin: 0 15px 32px; }
  .hero-photo img { aspect-ratio: 4 / 3; }
  .medical-warning { padding: 16px 0; font-size: 16px; text-align: left; }
  .section { padding: 64px 0; }
  .split-heading, .pricing-grid, .process-grid, .quiz-shell, .faq-grid, .contact-heading { grid-template-columns: minmax(0, 1fr); gap: 38px; }
  .split-heading { gap: 16px; margin-bottom: 42px; }
  h2 { font-size: 30px; line-height: 1.2; }
  .concern-list { grid-template-columns: 1fr; }
  .feature-icon { margin-bottom: 24px; }
  .prosthesis-grid { grid-template-columns: minmax(0, 1fr); }
  .prosthesis-card, .prosthesis-card-wide { grid-column: auto; }
  .prosthesis-card img { aspect-ratio: 3 / 2; }
  .prosthesis-card-copy { padding: 22px 20px; }
  .cases-grid { width: 100%; display: flex; gap: 12px; overflow-x: auto; padding: 0 15px 14px; scroll-snap-type: x mandatory; scrollbar-width: thin; }
  .case-card { flex: 0 0 min(84vw, 360px); scroll-snap-align: start; }
  .case-card:hover { transform: none; }
  .case-label { font-size: 16px; }
  .case-before-cover strong { font-size: 16px; }
  .case-card h3 { font-size: 21px; }
  .type-grid { grid-template-columns: minmax(0, 1fr); grid-auto-rows: auto; }
  .type-overview { margin-bottom: 22px; }
  .type-overview-media img { aspect-ratio: auto; object-fit: contain; object-position: center; }
  .type-overview-legend li { align-items: flex-start; flex-direction: column; gap: 3px; padding: 12px 9px; }
  .type-overview-legend strong { font-size: 12px; }
  .type-card-main { grid-column: auto; grid-template-columns: 40px minmax(0, 1fr); grid-template-areas: "number title" "number detail"; }
  .type-card { grid-template-columns: 40px minmax(0, 1fr); padding: 24px 20px; }
  .type-card-main dl { grid-template-columns: minmax(0, 1fr); }
  .price-list { padding: 8px 20px 22px; }
  .price-list > div { grid-template-columns: minmax(0, 1fr); gap: 5px; padding: 17px 0; }
  .price-list strong { text-align: left; }
  .faq-heading { position: static; }
  .faq-list summary { padding-top: 21px; padding-bottom: 21px; font-size: 18px; }
  .faq-list summary::after { top: 16px; }
  .process-heading { position: static; }
  .process-heading .button { width: 100%; }
  .process-photo { margin-top: 24px; }
  .steps li { grid-template-columns: 52px 1fr; gap: 14px; }
  .quiz-aside h2 { font-size: 27px; }
  .quiz { min-height: 540px; margin-inline: 0; padding: 28px 20px; }
  .quiz-step legend { font-size: 24px; }
  .quiz-success { grid-column: 1; margin-inline: 0; padding: 36px 22px; }
  .doctor-grid { grid-template-columns: 1fr; }
  .doctor-image { height: 430px; }
  .reputation-heading { align-items: flex-start; flex-direction: column; gap: 14px; margin-bottom: 32px; }
  .reputation-heading > span { padding-bottom: 0; font-size: 16px; }
  .reputation-grid { grid-template-columns: minmax(0, 1fr); }
  .reputation-card,
  .reputation-card:nth-child(even),
  .reputation-card-yandex,
  .reputation-card-yandex + .reputation-card { grid-column: auto; min-height: 230px; padding: 24px 20px; }
  .reputation-value strong { font-size: 42px; }
  .platform-logo { width: 56px; height: 56px; }
  .yandex-rating-row { align-items: flex-start; flex-direction: column; gap: 16px; }
  .yandex-review-count { grid-template-columns: auto minmax(0, 1fr); align-items: baseline; gap: 8px; }
  .yandex-review-count small { font-size: 16px; }
  .reputation-foot { align-items: flex-start; flex-direction: column; }
  .reputation-foot .button { width: 100%; }
  .clinic-gallery { width: min(calc(100% - 30px), var(--shell)); display: flex; gap: 12px; overflow-x: auto; padding: 0 0 12px; scroll-snap-type: x mandatory; }
  .clinic-gallery figure, .clinic-gallery .clinic-main, .clinic-gallery figure:last-child { flex: 0 0 82vw; height: 260px; grid-column: auto; grid-row: auto; scroll-snap-align: start; }
  .contact-heading { margin-bottom: 32px; }
  .contact-methods, .map-links { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 26px; }
  .footer-grid > p:last-child { grid-column: auto; }
  .cookie-banner { inset: auto 12px 74px; width: auto; grid-template-columns: minmax(0, 1fr); gap: 12px; padding: 16px; }
  .cookie-actions { grid-template-columns: minmax(0, 1fr); }
  .callback-dialog { width: min(calc(100% - 24px), 480px); padding: 32px 20px 24px; border-radius: 16px; }
  .callback-close { top: 12px; right: 12px; }
  .callback-icon { margin-bottom: 20px; }
  .callback-dialog h2 { margin-right: 48px; font-size: 29px; }
  .callback-dialog > p { margin-bottom: 24px; font-size: 16px; }
  button, input, select, textarea,
  .button-small,
  .hero-offer-kicker,
  .hero-payment-label,
  .hero-payment-period,
  .hero-payment-note,
  .hero-photo figcaption,
  .illustration-note,
  .concern-list p,
  .concern-cta,
  .prosthesis-card-copy span,
  .prosthesis-card-copy small,
  .prosthesis-note,
  .price-list small,
  .doctor-card small,
  .doctor-profile,
  .review-author small,
  .platform-mark,
  .review-rating strong,
  .review-context,
  .review-card footer,
  .review-gallery figcaption,
  .review-photo figcaption,
  .review-platforms span,
  .reputation-platform small,
  .reputation-value small,
  .reputation-foot p,
  .quiz-counter,
  .field span,
  .consent,
  .quiz-error,
  .contact-address small,
  .contact-method small,
  .callback-field span,
  .callback-consent,
  .callback-error,
  .cookie-banner p,
  .site-footer { font-size: 16px; }
  .hero-photo figcaption { font-size: 10px; line-height: 1.35; }
  .illustration-note { font-size: 10px; line-height: 1.35; }
  .prosthesis-note { font-size: 10px; line-height: 1.35; }
  .mobile-bar { position: fixed; z-index: 40; inset: auto 0 0; display: grid; grid-template-columns: .8fr 1.2fr; min-height: 62px; box-shadow: 0 -6px 24px rgba(0,0,0,.14); }
  .mobile-bar a, .mobile-bar button { display: flex; align-items: center; justify-content: center; padding: 12px; border: 0; font-weight: 700; text-decoration: none; }
  .mobile-bar a { background: var(--white); color: var(--blue); }
  .mobile-bar button { background: var(--blue); color: var(--white); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}
