:root {
  --paper: #f7f3ed;
  --cream: #fbfaf7;
  --white: #ffffff;
  --ink: #22211f;
  --muted: #77716a;
  --soft: #b6aaa0;
  --line: rgba(74, 67, 60, 0.13);
  --gold: #bf9162;
  --gold-dark: #9d714a;
  --shadow: 0 22px 70px rgba(77, 66, 54, 0.12);
  --sans: Inter, Arial, sans-serif;
  --serif: "Playfair Display", Georgia, serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: var(--sans);
  overflow-x: hidden;
}

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

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

button,
input,
textarea {
  font: inherit;
}

.topbar {
  position: fixed;
  z-index: 40;
  top: 0;
  left: 0;
  right: 0;
  height: 78px;
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr) auto;
  align-items: center;
  gap: 22px;
  padding: 0 64px;
  background: rgba(251, 250, 247, 0.8);
  backdrop-filter: blur(18px);
}

.brand-lockup {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand {
  min-width: 0;
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

.brand img {
  width: 214px;
}

.brand-separator {
  width: 1px;
  height: 38px;
  flex: 0 0 auto;
  background: var(--line);
}

.niif-logo {
  width: 58px;
  max-height: 46px;
  flex: 0 0 auto;
  object-fit: contain;
}

.text-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #0d2848;
}

.brand-mark {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(13, 40, 72, .24);
  border-radius: 50%;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 19px;
  line-height: 1;
}

.brand-copy {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 24px;
  line-height: .82;
}

.brand-copy small {
  font-family: Inter, Arial, sans-serif;
  color: #6b737a;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.nav {
  display: flex;
  justify-content: center;
  gap: clamp(22px, 3vw, 54px);
  color: #5f5a55;
  font-size: 13px;
  font-weight: 600;
}

.nav a {
  position: relative;
  padding: 10px 0;
  white-space: nowrap;
}

.nav a.active,
.nav a:hover {
  color: var(--gold-dark);
}

.nav a.active::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 4px;
  height: 4px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: var(--gold);
}

.nav-cta,
.button {
  min-height: 47px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 8px;
  font-weight: 800;
  cursor: pointer;
}

.nav-cta,
.button.primary {
  padding: 0 28px;
  color: #fff;
  background: var(--gold);
  box-shadow: 0 16px 34px rgba(191, 145, 98, 0.22);
}

.button.text {
  color: #5f5a55;
}

.button.text::after {
  content: "";
  width: 16px;
  height: 16px;
  margin-left: 8px;
  border-top: 1px solid currentColor;
  border-right: 1px solid currentColor;
  transform: rotate(45deg) scale(.62);
}

.hero {
  position: relative;
  min-height: 640px;
  display: grid;
  grid-template-columns: 47% 53%;
  padding-top: 78px;
  background:
    radial-gradient(circle at 72% 18%, rgba(213, 197, 179, .32), transparent 35%),
    linear-gradient(90deg, #fbfaf7 0%, #f8f5ef 48%, #f7f2eb 100%);
  overflow: hidden;
}

.hero-copy {
  position: relative;
  z-index: 2;
  min-width: 0;
  padding: 116px 0 42px 82px;
}

.kicker {
  margin: 0 0 18px;
  color: var(--gold-dark);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .22em;
  text-transform: uppercase;
}

h1,
h2 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: 0;
  line-height: .96;
}

h1 {
  max-width: 620px;
  font-size: clamp(56px, 4.8vw, 82px);
}

h2 {
  font-size: clamp(38px, 4vw, 64px);
}

h3,
p {
  margin: 0;
  max-width: 100%;
}

.section-intro,
.doctor-info,
.story-copy,
.cta-copy,
.booking-form,
.contact-card,
.treatment-grid article,
.result-card {
  min-width: 0;
}

.section-intro,
.doctor-info,
.story-copy,
.cta-copy,
.booking-form,
.contact-card {
  overflow-wrap: break-word;
}

.hero-line {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-top: 30px;
}

.hero-line span {
  width: 42px;
  height: 1px;
  background: var(--gold);
}

.hero-line p {
  max-width: min(560px, calc(100vw - 150px));
  color: #5c5853;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-top: 44px;
}

.hero-trust {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(180px, 1fr));
  gap: 18px 24px;
  margin-top: 54px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.hero-trust div {
  display: grid;
  grid-template-columns: 30px 1fr;
  column-gap: 13px;
  align-items: start;
}

.hero-trust strong {
  color: #5d5751;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.hero-trust span {
  grid-column: 2;
  color: var(--muted);
  font-size: 11px;
}

.line-icon,
.service-icon,
.mini-icon {
  display: inline-block;
  border: 1.4px solid #8e8378;
}

.line-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
}

.line-icon.foot {
  border-radius: 45% 55% 55% 45%;
  transform: rotate(-18deg);
}

.line-icon.star {
  border-radius: 0;
  transform: rotate(45deg) scale(.8);
}

.line-icon.surgery {
  border-radius: 4px;
  transform: rotate(-10deg);
}

.hero-art {
  position: relative;
  min-width: 0;
  overflow: hidden;
}

.hero-art::before,
.hero-art::after {
  content: "";
  position: absolute;
  z-index: 1;
  top: 40px;
  left: 4%;
  width: 740px;
  height: 740px;
  border: 1px solid rgba(191, 145, 98, .15);
  border-radius: 50%;
}

.hero-art::after {
  top: 92px;
  left: 13%;
  width: 570px;
  height: 570px;
}

.hero-art > img {
  position: absolute;
  z-index: 2;
  right: -10px;
  bottom: 0;
  width: min(980px, 104%);
  height: 590px;
  object-fit: contain;
  object-position: right bottom;
}

.focus-card {
  position: absolute;
  z-index: 3;
  top: 150px;
  left: 13%;
  width: 210px;
  min-height: 210px;
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, .78);
  border-radius: 8px;
  background: rgba(255, 255, 255, .66);
  box-shadow: 0 25px 60px rgba(75, 66, 58, .12);
  backdrop-filter: blur(16px);
}

.focus-card span {
  color: var(--gold-dark);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.focus-card p {
  margin-top: 22px;
  color: #5f5a55;
  font-size: 13px;
  line-height: 1.7;
}

.focus-card b {
  position: absolute;
  right: 28px;
  bottom: 24px;
  color: var(--soft);
  font-size: 20px;
  font-weight: 500;
}

.focus-card::after {
  content: "";
  position: absolute;
  left: 30px;
  bottom: 31px;
  width: 38px;
  height: 1px;
  background: var(--gold);
}

.hero-index {
  position: absolute;
  z-index: 3;
  top: 178px;
  right: 58px;
  display: grid;
  gap: 74px;
  color: #a79b90;
  font-size: 13px;
}

.hero-index span:first-child::after {
  content: "";
  display: block;
  width: 1px;
  height: 55px;
  margin: 12px auto 0;
  background: #c8bcb0;
}

.surgeon-panel {
  width: min(1420px, calc(100% - 88px));
  margin: 24px auto 0;
  display: grid;
  grid-template-columns: 33% 42% 25%;
  overflow: hidden;
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.doctor-photo,
.clinic-photo {
  min-height: 354px;
  overflow: hidden;
}

.doctor-photo {
  background: #e6eaf0;
}

.doctor-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}

.clinic-photo img,
.story-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.doctor-info {
  padding: 62px 50px 42px;
}

.doctor-info h2 {
  font-size: clamp(36px, 3vw, 52px);
}

.role {
  margin-top: 14px;
  color: var(--gold-dark);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.bio-note {
  max-width: 640px;
  margin-top: 20px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.credentials {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 22px;
  margin-top: 28px;
}

.credentials span {
  display: flex;
  gap: 10px;
  align-items: center;
  color: #5d5751;
  font-size: 12px;
  font-weight: 700;
}

.mini-icon {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  flex: 0 0 auto;
}

.expert-docs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 24px;
}

.expert-docs button {
  min-width: 0;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 4px 10px;
  align-items: center;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: #4f4943;
  background: rgba(255, 255, 255, .72);
  text-align: left;
  cursor: pointer;
}

.expert-docs button:hover {
  border-color: rgba(191, 145, 98, .42);
  box-shadow: 0 14px 34px rgba(77, 66, 54, .08);
}

.doc-icon {
  grid-row: span 2;
  position: relative;
  width: 30px;
  height: 38px;
  border: 1.5px solid var(--gold-dark);
  border-radius: 4px;
  background: linear-gradient(145deg, rgba(255,255,255,.98), rgba(246,239,230,.96));
}

.doc-icon::before {
  content: "";
  position: absolute;
  top: -1px;
  right: -1px;
  width: 10px;
  height: 10px;
  border-left: 1.5px solid var(--gold-dark);
  border-bottom: 1.5px solid var(--gold-dark);
  border-radius: 0 4px 0 3px;
  background: var(--cream);
}

.expert-docs span {
  color: var(--gold-dark);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.expert-docs b {
  min-width: 0;
  color: #4f4943;
  font-size: 11px;
  line-height: 1.25;
}

.stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  margin-top: 48px;
  padding-top: 34px;
  border-top: 1px solid var(--line);
}

.stats strong {
  display: block;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 36px;
  font-weight: 500;
}

.stats span {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.treatments,
.diagnostics,
.journey,
.results,
.reviews,
.faq {
  display: grid;
  grid-template-columns: 360px minmax(0, 1fr);
  gap: 64px;
  width: min(1420px, calc(100% - 120px));
  margin: 0 auto;
  padding: 68px 0;
}

.section-intro a,
.section-intro p:not(.kicker) {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.section-intro h2 {
  max-width: none;
  font-size: clamp(34px, 2.45vw, 44px);
  line-height: 1.04;
  overflow-wrap: normal;
  word-break: keep-all;
  hyphens: none;
}

.section-intro h2 span {
  display: block;
  white-space: nowrap;
  overflow-wrap: normal;
  word-break: keep-all;
  hyphens: none;
}

.reviews .section-intro h2 {
  white-space: nowrap;
  overflow-wrap: normal;
  word-break: keep-all;
  hyphens: none;
}

.diagnostics .section-intro h2 {
  font-size: clamp(28px, 2.25vw, 38px);
  line-height: 1.05;
}

.section-intro a {
  display: inline-flex;
  margin-top: 34px;
  color: var(--gold-dark);
  font-weight: 800;
}

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

.treatment-grid article,
.treatment-card {
  position: relative;
  min-height: 222px;
  display: block;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, .62);
}

.treatment-card {
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.treatment-card:hover {
  border-color: rgba(191, 145, 98, .42);
  box-shadow: 0 18px 44px rgba(77, 66, 54, .07);
  transform: translateY(-2px);
}

.service-icon {
  width: 36px;
  height: 44px;
  border-radius: 48% 52% 54% 46%;
  border-color: #706961;
}

.service-icon.joint {
  width: 26px;
  border-radius: 16px;
}

.service-icon.footline {
  transform: rotate(-20deg);
}

.service-icon.run {
  border-radius: 50%;
}

.service-icon.heel {
  width: 42px;
  height: 30px;
  border-radius: 58% 42% 48% 52%;
  transform: rotate(-12deg);
}

.treatment-grid h3 {
  margin-top: 22px;
  font-size: 18px;
  line-height: 1.2;
}

.treatment-grid p {
  margin-top: 12px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.treatment-grid article > span,
.treatment-card > span {
  position: absolute;
  right: 28px;
  bottom: 22px;
  color: var(--soft);
  font-size: 13px;
}

.diagnostics {
  align-items: end;
  padding-top: 42px;
}

.diagnostic-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.diagnostic-card {
  position: relative;
  min-height: 236px;
  overflow: hidden;
  border-radius: 8px;
  background: #161514;
}

.diagnostic-card img {
  width: 100%;
  height: 100%;
  min-height: 236px;
  object-fit: cover;
}

.diagnostic-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.45), transparent 54%, rgba(0,0,0,.28));
}

.diagnostic-card.light {
  background: #cbb9a4;
}

.diagnostic-card.light::after {
  background: linear-gradient(180deg, rgba(120,94,69,.22), transparent);
}

.diagnostic-card h3 {
  position: absolute;
  z-index: 2;
  top: 24px;
  left: 22px;
  right: 22px;
  color: #fff;
  font-size: 15px;
  line-height: 1.25;
}

.diagnostic-card button {
  position: absolute;
  z-index: 2;
  right: 18px;
  bottom: 18px;
  width: 33px;
  height: 33px;
  border: 0;
  border-radius: 50%;
  background: #fff;
}

.diagnostic-card button::before,
.diagnostic-card button::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 11px;
  height: 1px;
  transform: translate(-50%, -50%);
  background: var(--gold-dark);
}

.diagnostic-card button::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.results {
  align-items: start;
  border-top: 1px solid var(--line);
}

.results .section-intro h2,
.faq .section-intro h2 {
  font-size: clamp(30px, 2.4vw, 42px);
}

.results .section-intro p:not(.kicker) {
  margin-top: 18px;
}

.results-carousel {
  min-width: 0;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(360px, 42%);
  gap: 18px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  padding: 2px 2px 18px;
  scrollbar-color: var(--gold) transparent;
}

.result-card {
  scroll-snap-align: start;
  min-height: 430px;
  display: flex;
  flex-direction: column;
  padding: 16px 16px 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, .68);
  box-shadow: 0 18px 44px rgba(77, 66, 54, .07);
}

.before-after {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 6px;
  background: #f3eee7;
}

.before-after img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #f3eee7;
}

.result-card h3 {
  margin-top: 20px;
  font-size: 20px;
  line-height: 1.25;
}

.result-card p {
  margin-top: 12px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.result-card span {
  display: inline-flex;
  margin-top: auto;
  padding-top: 22px;
  color: var(--gold-dark);
  font-size: 13px;
  font-weight: 800;
}

.journey {
  align-items: center;
  border-top: 1px solid var(--line);
}

.journey .section-intro {
  grid-column: 1 / -1;
  display: block;
}

.journey .section-intro h2 {
  max-width: 760px;
}

.journey .journey-steps {
  grid-column: 1 / -1;
}

.journey-steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 26px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.journey-steps::before {
  content: "";
  position: absolute;
  top: 28px;
  left: 8%;
  right: 8%;
  height: 1px;
  background: linear-gradient(90deg, transparent, #d8c8b8, transparent);
}

.journey-steps li {
  position: relative;
  z-index: 1;
  text-align: center;
}

.journey-steps span {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  margin: 0 auto 24px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--gold-dark);
  background: var(--cream);
  font-weight: 800;
}

.journey-steps h3 {
  font-size: 16px;
}

.journey-steps p {
  margin: 8px auto 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.visual-story {
  width: min(1420px, calc(100% - 88px));
  margin: 10px auto 0;
  display: grid;
  grid-template-columns: 31% 38% 31%;
  overflow: hidden;
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.reviews {
  align-items: start;
  border-top: 1px solid var(--line);
}

.prodoctorov-widget {
  min-width: 0;
  overflow: visible;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, .68);
  box-shadow: 0 18px 44px rgba(77, 66, 54, .07);
  padding: 22px;
}

.prodoctorov-widget .pd_widget_footer {
  width: 100%;
}

.prodoctorov-widget img {
  max-width: 100%;
  height: auto;
}

.faq {
  align-items: start;
  padding-top: 56px;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, .66);
  box-shadow: 0 14px 36px rgba(77, 66, 54, .06);
}

.faq summary {
  position: relative;
  cursor: pointer;
  list-style: none;
  padding: 22px 58px 22px 24px;
  color: #3d3935;
  font-size: 17px;
  font-weight: 800;
  line-height: 1.35;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "";
  position: absolute;
  right: 24px;
  top: 50%;
  width: 12px;
  height: 12px;
  border-right: 1.5px solid var(--gold-dark);
  border-bottom: 1.5px solid var(--gold-dark);
  transform: translateY(-65%) rotate(45deg);
}

.faq details[open] summary::after {
  transform: translateY(-20%) rotate(225deg);
}

.faq details p {
  padding: 0 24px 24px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.story-photo {
  min-height: 390px;
}

.story-copy {
  padding: 58px;
}

.story-copy p:not(.kicker) {
  margin-top: 22px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.75;
}

.cta {
  width: min(1420px, calc(100% - 88px));
  margin: 68px auto 32px;
  display: grid;
  grid-template-columns: minmax(300px, .9fr) minmax(390px, 1fr);
  gap: 34px 54px;
  align-items: start;
  padding: 58px 72px;
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(251,250,247,.97), rgba(251,250,247,.88), rgba(251,250,247,.68)),
    url("assets/cta-vase.png") right bottom / auto 82% no-repeat;
  box-shadow: var(--shadow);
}

.cta-copy {
  padding-top: 6px;
}

.cta-copy p:not(.kicker) {
  margin-top: 18px;
  max-width: 420px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
}

.cta-list {
  display: grid;
  align-content: start;
  gap: 16px;
  max-width: 420px;
  padding: 0;
  margin: 26px 0 0;
  list-style: none;
}

.cta-list li {
  position: relative;
  padding-left: 28px;
  color: #5f5a55;
  font-size: 13px;
  font-weight: 700;
}

.cta-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 2px;
  width: 16px;
  height: 16px;
  border: 1px solid var(--gold);
  border-radius: 50%;
}

.booking-form,
.contact-card {
  display: grid;
  gap: 12px;
  padding: 24px;
  border: 1px solid rgba(255,255,255,.68);
  border-radius: 8px;
  background: rgba(255, 255, 255, .62);
  box-shadow: 0 18px 50px rgba(77, 66, 54, .08);
  backdrop-filter: blur(10px);
}

.booking-form {
  grid-column: 2;
  grid-row: 1 / span 2;
}

.form-trap {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.booking-form label {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.booking-form input,
.booking-form textarea {
  width: 100%;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 12px;
  background: #fff;
  outline: 0;
}

.booking-form textarea {
  min-height: 92px;
  resize: vertical;
  padding: 11px 12px;
  line-height: 1.45;
}

.booking-form input[type="file"] {
  min-height: 46px;
  padding: 10px 12px;
  color: var(--muted);
}

.booking-form .consent-check {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  margin: 2px 0 4px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.45;
  text-transform: none;
}

.consent-check input {
  width: 18px;
  min-height: 18px;
  height: 18px;
  margin: 1px 0 0;
  accent-color: var(--gold-dark);
}

.consent-check a {
  color: var(--gold-dark);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.contact-card {
  grid-column: 1 / -1;
  grid-template-columns: max-content max-content minmax(260px, 1fr) max-content max-content;
  align-items: center;
  justify-content: start;
  gap: 18px 28px;
  font-style: normal;
}

.contact-card a,
.contact-card span {
  color: #5f5a55;
  font-size: 13px;
  font-weight: 700;
}

.contact-address {
  max-width: 440px;
  line-height: 1.35;
}

.contact-address small {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
}

.social-links {
  display: flex;
  gap: 8px;
  padding-left: 18px;
  border-left: 1px solid var(--line);
}

.social-links a {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--gold-dark);
  background: #fff;
  font-size: 11px;
  font-weight: 800;
}

.social-video span {
  width: 0;
  height: 0;
  margin-left: 2px;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  border-left: 10px solid var(--gold-dark);
}

.footer {
  width: min(1420px, calc(100% - 88px));
  margin: 0 auto;
  padding: 0 0 36px;
  display: flex;
  gap: 24px;
  align-items: flex-start;
  justify-content: space-between;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px 20px;
}

.footer-links a:hover {
  color: var(--gold-dark);
}

.cookie-banner {
  position: fixed;
  z-index: 80;
  left: 24px;
  right: 24px;
  bottom: 24px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  max-width: 980px;
  margin: 0 auto;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, .94);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.cookie-banner[hidden] {
  display: none;
}

.cookie-banner p {
  margin: 0;
  color: #5f5a55;
  font-size: 13px;
  line-height: 1.5;
}

.cookie-banner a {
  color: var(--gold-dark);
  font-weight: 800;
}

.cookie-banner button {
  min-height: 40px;
  border: 0;
  border-radius: 8px;
  padding: 0 18px;
  color: #fff;
  background: var(--gold);
  font-weight: 800;
  cursor: pointer;
}

.modal-open {
  overflow: hidden;
}

.form-modal {
  position: fixed;
  z-index: 120;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(36, 33, 30, .36);
  backdrop-filter: blur(8px);
}

.form-modal[hidden] {
  display: none;
}

.form-modal__panel {
  position: relative;
  width: min(420px, 100%);
  padding: 34px 34px 30px;
  border: 1px solid rgba(255, 255, 255, .74);
  border-radius: 8px;
  background: rgba(251, 250, 247, .96);
  box-shadow: 0 24px 80px rgba(56, 48, 39, .2);
}

.form-modal__panel h2 {
  margin: 10px 0 12px;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 30px;
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: 0;
}

.form-modal__panel p:not(.eyebrow) {
  margin: 0 0 24px;
  color: #6d6862;
  font-size: 16px;
  line-height: 1.55;
}

.form-modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--muted);
  background: #fff;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

.form-modal__ok {
  min-width: 150px;
  height: 46px;
}

.legal-page {
  padding-top: 78px;
}

.legal-header,
.legal-content {
  width: min(980px, calc(100% - 88px));
  margin: 0 auto;
}

.legal-header {
  padding: 76px 0 36px;
}

.legal-header h1 {
  max-width: 900px;
  font-size: clamp(42px, 5vw, 72px);
  line-height: 1;
}

.legal-header p:not(.kicker) {
  max-width: 720px;
  margin-top: 20px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.65;
}

.legal-content {
  display: grid;
  gap: 18px;
  padding-bottom: 72px;
}

.legal-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 30px;
  background: rgba(255, 255, 255, .72);
  box-shadow: 0 18px 44px rgba(77, 66, 54, .06);
}

.legal-card h2 {
  font-size: clamp(24px, 2.3vw, 34px);
}

.legal-card h3 {
  margin-top: 22px;
  font-size: 18px;
}

.legal-card p,
.legal-card li {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.legal-card p {
  margin-top: 12px;
}

.legal-card ul,
.legal-card ol {
  margin: 12px 0 0;
  padding-left: 20px;
}

.legal-card a {
  color: var(--gold-dark);
  font-weight: 800;
}

.condition-page,
.case-page {
  padding-top: 78px;
}

.condition-hero,
.case-hero {
  width: min(1180px, calc(100% - 88px));
  margin: 0 auto;
  padding: 92px 0 54px;
}

.condition-hero h1,
.case-hero h1 {
  max-width: 980px;
  font-size: clamp(48px, 5vw, 84px);
}

.case-hero h1 span {
  display: inline;
}

.case-hero > p span {
  display: inline;
}

.case-hero h1 span + span::before {
  content: " ";
}

.case-hero > p span + span::before {
  content: " ";
}

.condition-hero > p:not(.kicker),
.case-hero > p:not(.kicker) {
  max-width: 680px;
  margin-top: 24px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
}

.condition-layout,
.case-layout {
  width: min(1180px, calc(100% - 88px));
  margin: 0 auto 72px;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, .9fr);
  gap: 34px;
  align-items: start;
}

.condition-layout {
  grid-template-columns: minmax(260px, .45fr) minmax(0, 1fr);
}

.condition-aside {
  position: sticky;
  top: 104px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, .72);
  box-shadow: var(--shadow);
}

.condition-aside h2 {
  font-family: var(--sans);
  font-size: 21px;
  font-weight: 800;
  line-height: 1.2;
}

.condition-aside ul {
  display: grid;
  gap: 10px;
  margin: 20px 0;
  padding: 0;
  list-style: none;
}

.condition-aside li {
  position: relative;
  padding-left: 22px;
  color: #5d5751;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.45;
}

.condition-aside li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  width: 9px;
  height: 9px;
  border: 1px solid var(--gold);
  border-radius: 50%;
}

.condition-aside p {
  margin-top: 18px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.condition-aside .button {
  width: 100%;
  margin-top: 24px;
}

.condition-content {
  padding: 42px 48px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, .72);
  box-shadow: var(--shadow);
}

.condition-content h2 {
  margin: 34px 0 16px;
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.06;
}

.condition-content h2:first-child {
  margin-top: 0;
}

.condition-content h3 {
  margin: 28px 0 12px;
  color: #3d3935;
  font-size: 19px;
  line-height: 1.35;
}

.condition-content p,
.condition-content li {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.78;
}

.condition-content p + p {
  margin-top: 14px;
}

.condition-content ul {
  display: grid;
  gap: 10px;
  margin: 14px 0 20px;
  padding-left: 22px;
}

.case-media {
  min-width: 0;
  width: 100%;
  max-width: 100%;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.case-media-detailed {
  grid-template-columns: 1fr;
}

.case-media img {
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 620px;
  margin: 0 auto;
  object-fit: contain;
  border-radius: 8px;
  background: #f3eee7;
  box-shadow: var(--shadow);
}

.sensitive-media {
  position: relative;
  min-width: 0;
  width: 100%;
  max-width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 8px;
  background: #f3eee7;
  box-shadow: var(--shadow);
}

.sensitive-media img {
  width: auto;
  max-width: 100%;
  height: 620px;
  margin: 0 auto;
  object-fit: contain;
  background: #f3eee7;
}

.sensitive-media figcaption {
  position: absolute;
  z-index: 3;
  left: 14px;
  top: 14px;
  padding: 8px 10px;
  border-radius: 8px;
  color: #fff;
  background: rgba(35, 31, 27, .58);
  font-size: 12px;
  font-weight: 800;
  backdrop-filter: blur(8px);
}

.case-text {
  padding: 36px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, .68);
  box-shadow: var(--shadow);
}

.case-text h2 {
  margin-top: 28px;
  font-size: 32px;
}

.case-text h2:first-child {
  margin-top: 0;
}

.case-text p {
  margin-top: 14px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.72;
}

.case-text .button {
  margin-top: 30px;
}

.image-modal {
  position: fixed;
  z-index: 140;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(31, 28, 25, .62);
  backdrop-filter: blur(8px);
}

.image-modal[hidden] {
  display: none;
}

.image-modal__panel {
  position: relative;
  width: min(860px, 100%);
  max-height: calc(100vh - 48px);
  display: grid;
  gap: 12px;
  padding: 18px;
  border: 1px solid rgba(255,255,255,.66);
  border-radius: 8px;
  background: rgba(251, 250, 247, .98);
  box-shadow: 0 24px 80px rgba(0,0,0,.22);
}

.image-modal__panel img {
  max-height: calc(100vh - 150px);
  width: 100%;
  object-fit: contain;
  border-radius: 6px;
  background: #fff;
}

.image-modal__panel p {
  color: #4f4943;
  font-size: 14px;
  font-weight: 800;
}

.image-modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--muted);
  background: #fff;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

@media (max-width: 1180px) {
  .topbar {
    grid-template-columns: 270px minmax(0, 1fr) auto;
    padding: 0 28px;
  }

  .brand img {
    width: 184px;
  }

  .niif-logo {
    width: 50px;
  }

  .nav {
    gap: 18px;
    justify-content: end;
    font-size: 12px;
  }

  .hero {
    grid-template-columns: 1fr;
    padding-top: 94px;
  }

  .hero-copy {
    padding: 54px 28px 0;
  }

  .hero-trust {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 42px;
  }

  .hero-art {
    min-height: 520px;
  }

  .hero-art > img {
    right: -70px;
    height: 540px;
  }

  .surgeon-panel,
  .visual-story {
    grid-template-columns: 1fr;
  }

  .clinic-photo {
    min-height: 260px;
  }

  .treatments,
  .diagnostics,
  .journey,
  .results,
  .reviews,
  .faq {
    grid-template-columns: 1fr;
    width: min(100% - 48px, 1420px);
  }

  .section-intro h2 {
    max-width: 620px;
  }

  .journey .section-intro {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .treatment-grid,
  .diagnostic-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .results-carousel {
    grid-auto-columns: minmax(330px, 68vw);
  }

  .cta {
    grid-template-columns: 1fr;
    width: min(100% - 48px, 1420px);
  }

  .booking-form,
  .contact-card {
    grid-column: auto;
    grid-row: auto;
  }

  .contact-card {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .social-links {
    padding-left: 0;
    border-left: 0;
  }

  .condition-layout,
  .case-layout {
    grid-template-columns: 1fr;
  }

  .condition-aside {
    position: static;
  }

  .legal-header,
  .legal-content {
    width: min(100% - 48px, 980px);
  }

  .case-media img {
    height: 300px;
  }
}

@media (max-width: 680px) {
  .topbar {
    height: 70px;
    grid-template-columns: minmax(0, 1fr) auto;
    padding: 0 14px;
  }

  .brand img {
    width: 178px;
  }

  .brand-lockup {
    gap: 12px;
  }

  .brand-separator {
    height: 34px;
  }

  .niif-logo {
    width: 46px;
    max-height: 38px;
  }

  .brand-mark {
    width: 40px;
    height: 40px;
    font-size: 17px;
  }

  .brand-copy {
    font-size: 21px;
  }

  .nav,
  .nav-cta {
    display: none;
  }

  .hero-copy {
    width: 100%;
    max-width: 100vw;
    padding: 40px 14px 0;
  }

  h1 {
    max-width: min(350px, calc(100vw - 36px));
    font-size: clamp(36px, 9.8vw, 39px);
    line-height: 1.02;
    overflow-wrap: normal;
  }

  .hero-line {
    align-items: flex-start;
  }

  .hero-line p {
    max-width: 268px;
    line-height: 1.7;
    letter-spacing: .08em;
  }

  .hero-actions {
    display: grid;
    gap: 12px;
    width: calc(100vw - 28px);
  }

  .button.primary,
  .button.text {
    width: 100%;
  }

  .hero-trust,
  .treatment-grid,
  .diagnostic-grid,
  .journey-steps,
  .credentials,
  .expert-docs,
  .stats,
  .cta {
    grid-template-columns: 1fr;
  }

  .hero-art {
    min-height: 410px;
  }

  .hero-art > img {
    right: -120px;
    height: 390px;
  }

  .focus-card {
    top: 24px;
    left: 14px;
    width: 190px;
    min-height: 204px;
    padding: 22px;
  }

  .focus-card b {
    right: 20px;
    bottom: 16px;
  }

  .focus-card::after {
    bottom: 23px;
  }

  .hero-index {
    display: none;
  }

  .surgeon-panel,
  .visual-story,
  .cta,
  .legal-header,
  .legal-content,
  .footer {
    width: calc(100% - 28px);
  }

  .doctor-info,
  .story-copy,
  .cta {
    padding: 28px;
  }

  .doctor-info > *,
  .story-copy > *,
  .cta-copy > * {
    max-width: calc(100vw - 84px);
  }

  .doctor-info h2,
  .doctor-info .bio-note,
  .doctor-info .credentials,
  .doctor-info .stats {
    width: min(300px, calc(100vw - 90px));
    max-width: min(300px, calc(100vw - 90px));
  }

  .doctor-photo {
    min-height: 330px;
  }

  .treatments,
  .diagnostics,
  .journey,
  .results,
  .reviews,
  .faq {
    width: calc(100% - 28px);
    padding: 54px 0;
  }

  .results-carousel {
    grid-auto-columns: minmax(280px, 88vw);
  }

  .result-card {
    min-height: 0;
  }

  .before-after {
    aspect-ratio: 4 / 3;
  }

  .section-intro h2 {
    max-width: 100%;
    font-size: clamp(31px, 10vw, 42px);
  }

  .doctor-info p,
  .story-copy p,
  .treatment-grid p,
  .result-card p,
  .faq p,
  .cta p,
  .cta-list li,
  .credentials span,
  .stats span {
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .journey .section-intro h2 {
    font-size: clamp(34px, 11vw, 48px);
  }

  .journey-steps::before {
    display: none;
  }

  .journey-steps li {
    text-align: left;
    display: grid;
    grid-template-columns: 58px 1fr;
    gap: 0 18px;
  }

  .journey-steps span {
    grid-row: span 2;
    margin: 0;
  }

  .journey-steps p {
    margin-left: 0;
  }

  .cta {
    margin-top: 36px;
    background:
      linear-gradient(180deg, rgba(251,250,247,.95), rgba(251,250,247,.72)),
      url("assets/cta-vase.png") right bottom / auto 55% no-repeat;
  }

  .contact-card {
    grid-template-columns: 1fr;
  }

  .footer {
    flex-direction: column;
    padding-bottom: 110px;
  }

  .footer-links {
    justify-content: flex-start;
  }

  .cookie-banner {
    left: 14px;
    right: 14px;
    bottom: 14px;
    grid-template-columns: 1fr;
    padding: 16px;
  }

  .cookie-banner button {
    width: 100%;
  }

  .form-modal {
    padding: 14px;
  }

  .form-modal__panel {
    padding: 30px 22px 24px;
  }

  .form-modal__panel h2 {
    font-size: 26px;
  }

  .form-modal__ok {
    width: 100%;
  }

  .legal-header {
    padding: 54px 0 26px;
  }

  .legal-header h1 {
    font-size: clamp(34px, 10vw, 46px);
  }

  .legal-card {
    padding: 22px;
  }

  .condition-page,
  .case-page {
    padding-top: 70px;
  }

  .condition-hero,
  .condition-layout,
  .case-hero,
  .case-layout {
    width: calc(100vw - 28px);
  }

  .condition-hero,
  .case-hero {
    max-width: calc(100vw - 28px);
    padding: 54px 0 34px;
    overflow: hidden;
  }

  .condition-hero h1,
  .case-hero h1 {
    width: 100%;
    max-width: calc(100vw - 28px);
    display: block;
    font-size: clamp(34px, 9.5vw, 38px);
    line-height: 1.02;
    white-space: normal;
    overflow-wrap: break-word;
    word-break: normal;
    hyphens: none;
  }

  .case-hero h1 span {
    display: block;
  }

  .case-hero > p span {
    display: block;
  }

  .case-hero h1 span + span::before {
    content: "";
  }

  .case-hero > p span + span::before {
    content: "";
  }

  .condition-hero > p:not(.kicker),
  .case-hero > p:not(.kicker) {
    width: calc(100vw - 28px);
    max-width: 100%;
    overflow-wrap: break-word;
    word-break: normal;
  }

  .condition-content,
  .condition-aside {
    padding: 24px;
  }

  .condition-content p,
  .condition-content li {
    font-size: 15px;
  }

  .case-media {
    grid-template-columns: 1fr;
  }

  .sensitive-media {
    justify-content: flex-start;
  }

  .case-media img,
  .sensitive-media img {
    width: min(280px, 100%);
    max-width: calc(100vw - 76px);
    height: auto;
    margin: 0;
  }

  .case-text {
    padding: 28px;
  }

  .image-modal {
    padding: 14px;
  }

  .image-modal__panel {
    padding: 14px;
  }
}
