@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url('../assets/fonts/inter-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url('../assets/fonts/inter-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215,
    U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'veles';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../assets/fonts/veles.woff') format('woff');
}

:root {
  --bg: #e8e8e8;
  --card: #ffffff;
  --ink: #303030;
  --muted: #969696;
  --box: #f5f5f5;
  --accent: #526b9e;
  --accent-hover: #415a8b;
  --red: #910000;

  --radius: 15px;
  --shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
  --shadow-soft: 0 2px 12px rgba(0, 0, 0, 0.04);

  --maxw: 760px;
  --pad: clamp(24px, 5vw, 50px);

  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial,
    sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, p, ul { margin: 0; }
button { font-family: inherit; }

.page {
  min-height: 100vh;
  padding: clamp(40px, 6vw, 70px) 16px clamp(40px, 6vw, 90px);
  display: flex;
  flex-direction: column;
  align-items: center;
}
.wrap { width: 100%; max-width: var(--maxw); }
.slide { display: none; width: 100%; }
.slide.is-active { display: flex; flex-direction: column; align-items: center; }
@media screen and (max-width: 1199px) {
    .wrap {
        width: 760px;
    }
}
@media screen and (max-width: 959px) {
    .wrap {
        width: 600px;
    }
}
@media screen and (max-width: 639px) {
    .wrap {
        width: 330px;
    }
}
.card {
  width: 100%;
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: var(--pad);
  overflow: hidden;
}

@media screen and (max-width: 959px) {
    .card {
      padding: clamp(24px, 5vw, 30px)
;
    }
}
@media screen and (max-width: 639px) {
    .card {
      padding: clamp(20px, 5vw, 20px)
    }
}

.back-link-top {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  text-decoration: none;
  font-size: 18px;
  margin: 0 0 22px 4px;
  transition: color 0.15s ease;
}
.back-link-top:hover { color: var(--ink); }

.progress-top {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: #f38749;
  z-index: 100;
  transition: width 0.3s ease;
}

.author {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 40px;
}
.author__avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--bg);
  flex: none;
}
.author__body {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 14px;
}
.author__name {
  flex: 1;
  font-size: clamp(18px, 4.4vw, 22px);
  font-weight: 700;
  line-height: 1.2;
}
.author__side { text-align: right; flex: none; }
.author__meta { color: var(--muted); font-size: clamp(15px, 3.6vw, 18px); white-space: nowrap; }
.author__stats {
  display: flex;
  gap: 20px;
  justify-content: flex-end;
  color: var(--muted);
  font-size: clamp(15px, 3.6vw, 18px);
  margin-top: 10px;
}
.author__stat { display: inline-flex; align-items: center; gap: 7px; }
.author__stat img { width: 20px; height: auto; }
@media (max-width: 620px) {
  .author__body { flex-direction: column; align-items: flex-start; gap: 4px; }
  .author__name { flex: none; }
  .author__side { text-align: left; }
  .author__stats { justify-content: flex-start; margin-top: 6px; }
}

.hero-title {
  font-size: clamp(28px, 7vw, 44px);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin-top: 8px;
}
.hero-sub {
  font-size: clamp(20px, 5vw, 28px);
  line-height: 1.2;
  margin-top: 26px;
}
.section-title {
  font-size: clamp(27px, 6vw, 42px);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin: 46px 0 22px;
}
@media screen and (max-width: 959px) {
    .section-title {
      font-size: 36px;
      line-height: 43px;
    }
}
@media screen and (max-width: 639px) {
    .section-title {
      font-size: 24px;
      line-height: 29px;
    }
}
.section-title:first-of-type { margin-top: 8px; }
.section-subtitle {
  font-size: 32px;
  font-weight: 600;
  line-height: 38px;
  letter-spacing: -0.01em;
  margin: 46px 0 22px;
}
@media screen and (max-width: 959px) {
    .section-subtitle {
      font-size: 28px;
      line-height: 34px;
    }
}
@media screen and (max-width: 639px) {
    .section-subtitle {
      font-size: 20px;
      line-height: 24px;
    }
}
.prose {
  font-size: clamp(17px, 4.3vw, 20px);
  line-height: 1.3;
  margin: 20px 0;
}
@media screen and (max-width: 959px) {
    .prose {
      font-size: 18px;
      line-height: 23px;
    }
}
@media screen and (max-width: 639px) {
    .prose {
      font-size: 16px;
      line-height: 21px;
    }
}
.prose .h5 {
  font-size: 24px;
  line-height: 31px;
  font-weight: 700;
}
@media screen and (max-width: 959px) {
    .prose .h5 {
      font-size: 22px;
      line-height: 29px;
    }
}
@media screen and (max-width: 639px) {
    .prose .h5 {
      font-size: 18px;
      line-height: 23px;
    }
}
.prose p { font-size: inherit; line-height: inherit; }
@media screen and (max-width: 959px) {
    .prose p {
      font-size: 18px;
      line-height: 23px;
    }
}
@media screen and (max-width: 639px) {
    .prose p {
      font-size: 16px;
      line-height: 21px;
    }
}
.prose strong { font-weight: 700; }
.prose em { font-style: italic; }
.prose ul { list-style: none; padding: 0; margin: 8px 0; }
.prose ul li { position: relative; padding-left: 22px; margin: 0; }
.prose ul li::before {
  content: '';
  position: absolute;
  left: 4px;
  top: 0.62em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ink);
}
.lead { font-size: clamp(17px, 4.3vw, 20px); line-height: 1.3; }

.callout {
  background: var(--box);
  border-radius: var(--radius);
  padding: clamp(22px, 4.5vw, 34px);
  margin: 28px 0;
  font-size: clamp(16px, 4.2vw, 20px);
  line-height: 1;
}
@media screen and (max-width: 959px) {
    .callout {
      padding: 25px;
    }
}
@media screen and (max-width: 639px) {
    .callout {
      padding: 20px;
    }
}
.callout em {
  font-size: 20px;
  line-height: 26px;
  font-style: italic;
}
@media screen and (max-width: 959px) {
    .callout em {
      font-size: 18px;
      line-height: 23px;
    }
}

@media screen and (max-width: 639px) {
    .callout em {
      font-size: 16px;
      line-height: 21px;
    }
}
.callout .h5 {
  font-size: 24px;
  line-height: 31px;
  font-weight: 700;
}
@media screen and (max-width: 959px) {
    .callout .h5 {
      font-size: 22px;
      line-height: 29px;
    }
}
@media screen and (max-width: 639px) {
    .callout .h5 {
      font-size: 18px;
      line-height: 23px;
    }
}
.callout strong { font-weight: 700; }
.callout ul { list-style: none; padding: 0; margin: 6px 0; }
.callout ul li { position: relative; padding-left: 22px; margin: 6px 0; }
.callout ul li::before {
  content: '';
  position: absolute;
  left: 4px;
  top: 0.62em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.6;
}

.callout--quote {
  position: relative;
  background: #fff;
  border: 2px solid #f0a877;
  padding-top: clamp(34px, 5.5vw, 44px);
  font-style: italic;
}

.callout--quote em {
  font-size: clamp(19px, 4.8vw, 24px);
  line-height: 1.3;
}

@media screen and (max-width: 959px) {
    .callout--quote em {
      font-size: 20px;
      line-height: 26px;
    }
}

@media screen and (max-width: 639px) {
    .callout--quote em {
      font-size: 18px;
      line-height: 23px;
    }
}

.callout--quote::before {
  content: '';
  position: absolute;
  top: -27px;
  left: 22px;
  width: 73px;
  height: 55px;
  background: #fff url(../assets/img/accent.svg) no-repeat 8px center / 54px 39px;
}

.figure { margin: 30px 0; }
.figure img { width: 100%; border-radius: var(--radius); }

.img-phone {
  position: relative;
  display: inline-block;
}

.img-phone .img-phone__img {
  background-image:url('../assets/img/p4-photo2.jpg');
  background-position: 99.991% 52.291%;
  background-size: 105.762%;
  background-repeat: no-repeat;
  border-radius: var(--radius);
  height: 350px;
  width: 660px;
}

@media screen and (max-width: 959px) {
    .img-phone .img-phone__img {
      background-position: 99.991% 52.291%;
      background-size: 105.762%;
      height: 290px;
      width: 540px;
    }
}
@media screen and (max-width: 639px) {
    .img-phone .img-phone__img {
        background-position: 67.184% 36.076%;
        background-size: 124.521%;
        border-radius: 10px;
        height: 150px;
        width: 290px;
    }
}

.img-phone a {
  position: absolute;
  font-family: "veles", sans-serif;
  top: 230px;
  left: 150px;
  text-decoration: none;
  vertical-align: middle;
  color: #303787;
  font-size: 28px;
  line-height: 1.2;
  letter-spacing: -2px;
  opacity: 0.9;
  background-position: center center;
  transform: rotate(0.8deg);
}

@media screen and (max-width: 959px) {
    .img-phone a {
      top: 192px;
      left: 120px;
      font-size: 24px;
    }
}
@media screen and (max-width: 639px) {
    .img-phone a {
      top: 112px;
      left: 52px;
      font-size: 16px;
    }
}
.btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-height: 68px;
  padding: 15px 84px;
  background: var(--accent);
  color: #fff;
  font-size: 24px;
  line-height: 31px;
  font-weight: 500;
  text-align: center;
  text-decoration: none;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: background-color 0.2s ease-in-out, transform 0.08s ease;
}
@media screen and (max-width: 959px) {
    .btn {
      padding: 15px 26px;
      font-size: 20px;
      line-height: 26px;
    }
}
@media screen and (max-width: 639px) {
    .btn {
      padding: 16px 16px;
      font-size: 16px;
      line-height: 20px;
    }
}
.btn:hover { background: var(--accent-hover); }
.btn:active { transform: translateY(1px); }
.btn--next { margin-top: 40px; }

.doctors {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid #ececec;
  border-radius: 14px;
  overflow: hidden;
  margin: 26px 0;
}
.doctor { padding: 16px; text-align: left; }
.doctor + .doctor { border-left: 1px solid #ececec; }
.doctor__photo { position: relative; margin-bottom: 12px; }
.doctor__photo img {
  width: 100%;
  border-radius: 10px;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: #fff;
}
.doctor__name { font-weight: 400; font-size: 17px; line-height: 1.25; }
@media screen and (max-width: 959px) {
    .doctor__name {
      font-size: 15px;
      line-height: 20px;
    }
}
@media screen and (max-width: 639px) {
    .doctor__name {
      font-size: 10px;
      line-height: 13px;
    }
}
.doctor__city { color: var(--muted); font-size: 13px; margin-top: 2px; }
@media screen and (max-width: 959px) {
    .doctor__city {
      font-size: 11px;
      line-height: 14px;
    }
}
@media screen and (max-width: 639px) {
    .doctor__city {
      font-size: 8px;
      line-height: 10px;
    }
}
.doctor__role { font-size: 15px; margin-top: 8px; line-height: 1.35; border-bottom: 1px solid #ececec; padding-bottom: 12px;}
@media screen and (max-width: 959px) {
    .doctor__role {
      margin-top: 2px;
      font-size: 11px;
      line-height: 14px;
    }
}
@media screen and (max-width: 639px) {
    .doctor__role {
      margin-top: 2px;
      font-size: 8px;
      line-height: 10px;
    }
}
.doctor__stat { font-weight: 700; font-size: 18px; margin-top: 10px; }
@media screen and (max-width: 959px) {
    .doctor__stat {
      font-size: 15px;
      line-height: 20px;
    }
}
@media screen and (max-width: 639px) {
    .doctor__stat {
      font-size: 10px;
      line-height: 13px;
    }
}
@media (max-width: 520px) {
  .doctors { grid-template-columns: 1fr; }
  .doctor + .doctor { border-left: 0; border-top: 1px solid #ececec; }
}

.licenses { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 22px 0; }
.licenses img { border-radius: var(--radius); box-shadow: var(--shadow-soft); }

.price-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 24px 0; }
.price { border: 1px solid #e6e6e6; border-radius: var(--radius); padding: 22px; text-align: center; }
.price--hl { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent) inset; }
.price__name { font-weight: 600; font-size: clamp(15px, 3.6vw, 18px); }
.price__value { font-size: clamp(22px, 5vw, 30px); font-weight: 700; margin-top: 8px; color: var(--accent); }
@media (max-width: 520px) { .price-grid { grid-template-columns: 1fr; } }

.contacts {
  background: var(--box);
  border-radius: var(--radius);
  padding: clamp(22px, 4.5vw, 34px);
  margin: 28px 0;
  font-size: clamp(16px, 4vw, 18px);
  line-height: 1.5;
}
.contacts__label { color: var(--muted); margin-bottom: 8px; }
.contacts__phone { display: inline-block; color: #f38749; font-weight: 700; font-size: clamp(19px, 4.4vw, 22px); text-decoration: none; margin-bottom: 16px; }
.contacts__addr { margin-bottom: 14px; }
.contacts__hours { font-weight: 700; }

.cookie {
  position: fixed;
  left: 20px;
  bottom: 20px;
  z-index: 60;
  max-width: 400px;
  background: #f5f5f5;
  border: 1px solid #ddd;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  padding: 16px 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 14px;
}
.cookie a { color: var(--ink); border-bottom: 1px solid var(--ink); text-decoration: none; }
.cookie__ok {
  flex: none;
  padding: 9px 20px;
  border: 1px solid #999;
  border-radius: 6px;
  background: #f5f5f5;
  color: #555;
  cursor: pointer;
  font-weight: 500;
  transition: 0.2s;
}
.cookie__ok:hover { color: #111; border-color: #111; background: #e8e8e8; }
.cookie.is-hidden { display: none; }
@media (max-width: 980px) {
  .cookie {
    left: 0;
    right: 0;
    bottom: 0;
    max-width: none;
    border-radius: 0;
    border-left: 0;
    border-right: 0;
    border-bottom: 0;
    justify-content: space-between;
    padding: 16px clamp(16px, 4vw, 30px);
    font-size: 15px;
  }
}

.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.5s ease, transform 0.5s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

.qmodal { position: fixed; inset: 0; z-index: 200; display: flex; align-items: center; justify-content: center; padding: 20px; }
.qmodal[hidden] { display: none; }
.qmodal__backdrop { position: absolute; inset: 0; background: rgba(40, 40, 40, 0.72); }
.qmodal__box {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 680px;
  height: 600px;
  max-height: 92vh;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.35);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.qmodal__progress { flex: none; height: 4px; background: #fbe0cd; }
.qmodal__progress-bar { height: 100%; width: 16.66%; background: #f38749; transition: width 0.3s ease; }
.qmodal__close {
  position: fixed;
  top: 14px;
  right: 20px;
  z-index: 3;
  background: none;
  border: none;
  color: #fff;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  padding: 6px;
}
.qmodal__body { flex: 1; padding: clamp(22px, 4vw, 34px); overflow-y: auto; }
.qstep { display: none; }
.qstep.is-active { display: block; animation: quizIn 0.28s ease; }
@keyframes quizIn { from { opacity: 0; transform: translateX(12px); } to { opacity: 1; transform: none; } }
.qstep__title { font-size: clamp(18px, 4vw, 22px); font-weight: 700; line-height: 1.3; margin-bottom: 22px; }
.qstep__sub { color: var(--muted); font-size: 15px; line-height: 1.4; margin: -10px 0 22px; }
.qstep__options { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.qstep__hint { color: var(--muted); font-size: 14px; font-style: italic; margin-top: 16px; }
.qopt {
  display: flex;
  align-items: center;
  gap: 14px;
  text-align: left;
  padding: 18px;
  font-size: 16px;
  line-height: 1.3;
  background: #fff;
  border: 1px solid #e3e3e3;
  border-radius: 12px;
  cursor: pointer;
  transition: 0.15s;
}
.qopt:hover { border-color: #f38749; }
.qopt.is-selected { border-color: #f38749; }
.qopt__mark { flex: none; width: 28px; height: 28px; border: 2px solid #f0a877; position: relative; }
[data-qtype="radio"] .qopt__mark { border-radius: 50%; }
[data-qtype="checkbox"] .qopt__mark { border-radius: 7px; }
.qopt.is-selected .qopt__mark { border-color: #f38749; }
[data-qtype="radio"] .qopt.is-selected .qopt__mark::after { content: ''; position: absolute; inset: 5px; border-radius: 50%; background: #f38749; }
[data-qtype="checkbox"] .qopt.is-selected .qopt__mark { background: #f38749; }
[data-qtype="checkbox"] .qopt.is-selected .qopt__mark::after { content: ''; position: absolute; left: 9px; top: 4px; width: 6px; height: 12px; border: solid #fff; border-width: 0 2.5px 2.5px 0; transform: rotate(45deg); }
.qinput { width: 100%; padding: 12px 2px; font-size: 17px; border: none; border-bottom: 1.5px solid #d9d9d9; background: none; font-family: inherit; }
.qinput:focus { outline: none; border-color: var(--accent); }
.qinput.is-error { border-color: #e05a3d; }
.qconsent { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--muted); margin-top: 18px; cursor: pointer; }
.qconsent input { position: absolute; opacity: 0; width: 0; height: 0; }
.qconsent__box { flex: none; width: 22px; height: 22px; border: 2px solid #f0a877; border-radius: 6px; position: relative; margin-top: 1px; }
.qconsent input:checked + .qconsent__box { background: #f38749; border-color: #f38749; }
.qconsent input:checked + .qconsent__box::after { content: ''; position: absolute; left: 7px; top: 3px; width: 5px; height: 10px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.qconsent.is-error .qconsent__box { border-color: #e05a3d; }
.qconsent a { color: var(--accent); }
.qfield-err { color: #e05a3d; font-size: 12px; margin-top: 5px; min-height: 14px; }
.qmodal__banner { margin: 0 clamp(20px, 4vw, 32px); background: #f0603f; color: #fff; text-align: center; padding: 12px; border-radius: 8px; font-size: 14px; }
.qmodal__banner[hidden] { display: none; }
.qmodal__foot { flex: none; display: flex; justify-content: space-between; align-items: center; padding: 16px clamp(20px, 4vw, 32px) 22px; gap: 12px; }
.qmodal__step { color: var(--muted); font-size: 14px; }
.qmodal__nav { display: flex; gap: 10px; align-items: center; }
.qnav { border: none; cursor: pointer; font-family: inherit; }
.qnav--back { flex: none; width: 44px; height: 44px; border-radius: 8px; background: #fff; border: 1px solid #e3a06f; color: #f38749; font-size: 18px; }
.qnav--next { width: 64px; height: 44px; border-radius: 8px; background: var(--accent); color: #fff; font-size: 20px; }
.qnav--submit { min-width: 180px; height: 44px; padding: 0 20px; border-radius: 8px; background: var(--accent); color: #fff; font-size: 16px; font-weight: 500; }
.qnav--next:hover, .qnav--submit:hover { background: var(--accent-hover); }
.qstep--done .qdone { text-align: center; padding: 60px 20px; }
.qdone__title { font-weight: 700; font-size: 20px; margin-bottom: 8px; }
.qdone__sub { color: var(--muted); font-size: 16px; }
@media (max-width: 640px) {
  .qmodal { padding: 0; }
  .qmodal__backdrop { display: none; }
  .qmodal__box { max-width: none; width: 100%; height: 100%; max-height: none; border-radius: 0; }
  .qmodal__close { position: absolute; top: 12px; right: 16px; color: #111; }
  .qstep__options { grid-template-columns: 1fr; }
  .qmodal__step { display: none; }
  .qmodal__nav { flex: 1; }
  .qnav--next, .qnav--submit { flex: 1; width: auto; min-width: 0; }
}

.doclink { color: inherit; text-decoration: underline dashed; text-underline-offset: 2px; cursor: pointer; }
.doclink:hover { color: var(--ink); }

.lightbox { position: fixed; inset: 0; z-index: 210; display: flex; align-items: center; justify-content: center; padding: 40px; }
.lightbox[hidden] { display: none; }
.lightbox__backdrop { position: absolute; inset: 0; background: rgba(40, 40, 40, 0.82); }
.lightbox__stage { position: relative; z-index: 1; width: 100%; max-width: 560px; max-height: 88vh; display: flex; }
.lightbox__stage img { width: 100%; height: auto; max-height: 88vh; object-fit: contain; border-radius: 8px; background: #fff; }
.lightbox__close { position: fixed; top: 16px; right: 22px; z-index: 3; background: none; border: none; color: #fff; font-size: 30px; line-height: 1; cursor: pointer; padding: 6px; }
.lightbox__nav { position: absolute; z-index: 2; top: 50%; transform: translateY(-50%); width: 33px; height: 33px; border-radius: 50%; border: none; background: #f38749; color: #fff; font-size: 23px; line-height: 1; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.lightbox__nav:hover { background: #e0743a; }
.lightbox__prev { left: max(12px, calc(50% - 360px)); }
.lightbox__next { right: max(12px, calc(50% - 360px)); }
@media (max-width: 640px) {
  .lightbox { padding: 16px; }
  .lightbox__prev { left: 8px; }
  .lightbox__next { right: 8px; }
}

.reqmodal { position: fixed; inset: 0; z-index: 210; display: flex; align-items: center; justify-content: center; padding: 20px; }
.reqmodal[hidden] { display: none; }
.reqmodal__backdrop { position: absolute; inset: 0; background: rgba(40, 40, 40, 0.72); }
.reqmodal__close { position: fixed; top: 14px; right: 20px; z-index: 3; background: none; border: none; color: #fff; font-size: 26px; line-height: 1; cursor: pointer; padding: 6px; }
.reqmodal__box { position: relative; z-index: 1; width: 100%; max-width: 480px; background: #fff; border-radius: 14px; box-shadow: 0 24px 70px rgba(0, 0, 0, 0.35); padding: clamp(26px, 5vw, 36px); }
.reqmodal__box h3 { font-size: clamp(20px, 4.6vw, 24px); font-weight: 700; margin-bottom: 16px; }
.reqmodal__box p { font-size: 16px; line-height: 1.5; margin: 12px 0; color: var(--ink); }
.reqmodal__accent a { color: #f38749; font-weight: 700; text-decoration: none; display: inline-block; }
.reqmodal__box .btn { margin-top: 18px; min-height: 54px; font-size: 17px; }

@keyframes fadeInUp {
  from { opacity: 0; transform: translate3d(0, 100%, 0); }
  to { opacity: 1; transform: translate3d(0, 0, 0); }
}
@keyframes fadeOutDown {
  from { opacity: 1; transform: translate3d(0, 0, 0); }
  to { opacity: 0; transform: translate3d(0, 100%, 0); }
}
.anim-in { animation: fadeInUp 0.5s both; }
.anim-out { animation: fadeOutDown 0.5s both; }
@media (prefers-reduced-motion: reduce) {
  .anim-in, .anim-out { animation: none; }
}

.back-start { display: block; text-align: center; color: var(--muted); text-decoration: none; font-size: 16px; margin-top: 30px; }
.back-start:hover { color: var(--ink); }

.policy h1 { font-size: clamp(22px, 5vw, 32px); font-weight: 700; margin-bottom: 4px; }
.policy .policy__sub { color: var(--muted); margin-bottom: 26px; }
.policy h2 { font-size: clamp(18px, 4vw, 22px); font-weight: 600; margin: 28px 0 10px; }
.policy p { font-size: 15px; line-height: 1.6; margin: 8px 0; color: #444; }
.policy a { color: var(--accent); }
.policy .back-link { display: inline-block; margin-top: 30px; color: var(--accent); text-decoration: none; font-weight: 600; }



@media screen and (max-width: 1199px) {
    .wrap {
        width: 760px;
    }
}
@media screen and (max-width: 959px) {
    .wrap {
        width: 600px;
    }
}
@media screen and (max-width: 639px) {
    .wrap {
        width: 330px;
    }
}