:root {
  --accent: #ffc727;
  --accent-hi: #ffd54f;
  --accent-deep: #c99a00;
  --accent-ink: #0b0f17;
  --ink: #0b0f17;
  --navy: #111724;
  --navy-2: #182030;
  --line: rgba(255, 255, 255, .16);
  --text: #12161d;
  --muted: #5d6573;
  --bg: #f3f4f7;
  --white: #fff;
  --r: 14px;
  --r-lg: 22px;
  --shadow: 0 10px 30px rgba(17, 23, 36, .08);
  --head: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 16px/1.55 var(--body); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3 { margin: 0; line-height: 1.12; }
svg { width: 1em; height: 1em; flex: none; }
.container { width: 100%; max-width: 1264px; margin: 0 auto; padding: 0 24px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--accent); color: var(--accent-ink); padding: 10px 14px; border-radius: 10px; font-weight: 700; }
.skip:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 22px; border-radius: 12px; border: 1.5px solid transparent; font-weight: 700; font-size: 15px; line-height: 1.2; white-space: nowrap; transition: background .2s, border-color .2s, transform .15s, box-shadow .2s; }
.btn:active { transform: translateY(1px); }
.btn svg { width: 20px; height: 20px; }
.btn--yellow { background: var(--accent); color: var(--accent-ink); box-shadow: 0 8px 24px color-mix(in srgb, var(--accent) 30%, transparent); }
.btn--yellow:hover { background: var(--accent-hi); }
.btn--ghost { background: rgba(11, 15, 23, .35); border-color: rgba(255, 255, 255, .55); color: #fff; backdrop-filter: blur(6px); }
.btn--ghost:hover { border-color: #fff; background: rgba(255, 255, 255, .08); }
.btn--dark { background: var(--navy); color: #fff; }
.btn--dark:hover { background: #222c40; }
.btn--dark svg { color: var(--accent); }
.btn--line { border-color: #c9ced7; background: #fff; color: var(--text); }
.btn--line:hover { border-color: var(--text); }
.btn--line-light { border-color: var(--line); color: #fff; background: transparent; }
.btn--line-light:hover { border-color: rgba(255, 255, 255, .5); }
.btn--line-light svg { color: var(--accent); }
.btn--big { min-height: 62px; padding: 0 26px; justify-content: flex-start; text-align: left; gap: 14px; }
.btn--big svg { width: 24px; height: 24px; }
.btn--big span { display: grid; gap: 2px; }
.btn--big b { font-size: 16px; }
.btn--big small { font-size: 14px; font-weight: 600; opacity: .85; }
.btn--ghost.btn--big small { font-weight: 500; opacity: .75; }
.btn--wide { width: 100%; }

/* ---------- header ---------- */
.header { position: absolute; inset: 0 0 auto 0; z-index: 30; color: #fff; transition: background .25s, box-shadow .25s; }
.header.is-fixed { position: fixed; background: rgba(11, 15, 23, .94); backdrop-filter: blur(10px); box-shadow: 0 6px 24px rgba(0, 0, 0, .25); animation: drop .25s ease-out; }
@keyframes drop { from { transform: translateY(-100%); } }
.header__row { display: flex; align-items: center; gap: 28px; height: 96px; transition: height .25s; }
.header.is-fixed .header__row { height: 72px; }
.logo { display: flex; align-items: center; gap: 12px; flex: none; }
.logo__icon { width: 60px; height: 38px; color: var(--accent); }
.logo__icon.sq { width: 40px; height: 40px; }
.logo__text { display: grid; line-height: 1; }
.logo__text b { font: 800 23px/1 var(--head); text-transform: uppercase; letter-spacing: .01em; }
.logo__text small { margin-top: 5px; font-size: 11.5px; font-weight: 600; letter-spacing: .32em; text-transform: uppercase; color: #c7ccd6; }
.nav { display: flex; gap: 30px; margin-left: 20px; }
.nav a { position: relative; padding: 8px 0; white-space: nowrap; font-weight: 500; font-size: 16px; color: #e9ecf1; transition: color .2s; }
.nav a:hover { color: #fff; }
.nav a.is-active { color: var(--accent); }
.nav a.is-active::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 3px; border-radius: 3px; background: var(--accent); }
.nav__call { display: none; }
.hphone { display: flex; align-items: center; gap: 12px; margin-left: auto; padding: 7px 18px 7px 8px; border: 1px solid var(--line); border-radius: 14px; background: rgba(11, 15, 23, .55); backdrop-filter: blur(6px); transition: border-color .2s; }
.hphone:hover { border-color: rgba(255, 255, 255, .4); }
.hphone__ico { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; background: color-mix(in srgb, var(--accent) 13%, transparent); color: var(--accent); }
.hphone__ico svg { width: 20px; height: 20px; }
.hphone__txt { display: grid; line-height: 1.15; }
.hphone__txt b { font-size: 18px; font-weight: 600; letter-spacing: .01em; white-space: nowrap; }
.hphone__txt small { font-size: 12px; color: #aab1bd; }
.header__cb { min-height: 52px; }
.header__icon-call, .burger { display: none; place-items: center; width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--line); background: rgba(11, 15, 23, .55); color: #fff; }
.header__icon-call { color: var(--accent-ink); background: var(--accent); border-color: var(--accent); }
.header__icon-call svg, .burger svg { width: 22px; height: 22px; }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--ink); color: #fff; min-height: 680px; padding: 150px 0 70px; }
.hero__photo { position: absolute; top: 0; bottom: 0; right: 0; width: 72%; }
.hero__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 62%; }
.hero__photo::after { content: ""; position: absolute; inset: 0; background:
  linear-gradient(90deg, var(--ink) 0%, rgba(11, 15, 23, .82) 22%, rgba(11, 15, 23, .25) 48%, rgba(11, 15, 23, 0) 70%),
  linear-gradient(0deg, rgba(11, 15, 23, .92) 0%, rgba(11, 15, 23, .35) 24%, rgba(11, 15, 23, 0) 42%),
  linear-gradient(180deg, rgba(11, 15, 23, .7) 0%, rgba(11, 15, 23, 0) 22%); }
.hero__content { position: relative; z-index: 2; }
.eyebrow { margin: 0 0 14px; font-size: 15px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: #d3d7de; }
.hero__title { font: 900 clamp(44px, 6.1vw, 82px)/.98 var(--head); letter-spacing: -.01em; }
.hero__title span { display: block; }
.hero__title em { font-style: normal; color: var(--accent); }
.hero__lead { margin: 22px 0 30px; font-size: 19px; line-height: 1.45; color: #eef0f4; }
.hero__btns { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__btns .btn--yellow { min-width: 236px; }
.msg { position: relative; }
.msg__menu { position: absolute; left: 0; top: calc(100% + 8px); z-index: 10; display: grid; min-width: 100%; padding: 6px; border-radius: 14px; background: #fff; box-shadow: 0 16px 40px rgba(0, 0, 0, .35); opacity: 0; visibility: hidden; transform: translateY(-6px); transition: .18s; }
.msg.is-open .msg__menu { opacity: 1; visibility: visible; transform: none; }
.msg__menu a { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 10px; color: var(--text); font-weight: 600; }
.msg__menu a:hover { background: var(--bg); }
.msg__menu svg { width: 22px; height: 22px; }
.msg__viber svg { color: #7360f2; }
.msg__tg svg { color: #229ed9; }
.zsu { display: inline-flex; align-items: center; gap: 10px; margin: 22px 0 0; padding: 7px 14px 7px 8px; border-radius: 999px; background: rgba(255, 255, 255, .08); border: 1px solid var(--line); font-size: 14px; font-weight: 600; color: #eef0f4; }
.zsu__flag { width: 22px; height: 15px; border-radius: 3px; background: linear-gradient(#0057b7 50%, #ffd700 50%); }
.feats { display: grid; grid-template-columns: repeat(5, auto); justify-content: space-between; gap: 18px; margin: 46px 0 0; padding: 0; list-style: none; }
.feats li { display: flex; align-items: center; gap: 14px; font-size: 15.5px; font-weight: 500; line-height: 1.35; color: #f1f3f6; }
.feats svg { width: 36px; height: 36px; color: var(--accent); }

/* ---------- services sheet ---------- */
.sheet { position: relative; z-index: 3; margin-top: -26px; padding: 34px 0 56px; border-radius: 28px 28px 0 0; background: var(--bg); }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 22px; }
.sec-head h2 { font: 800 clamp(26px, 3vw, 34px)/1.15 var(--head); letter-spacing: -.01em; }
.sec-head--col { display: grid; justify-content: start; gap: 10px; }
.sec-head--col p { margin: 0; max-width: 640px; color: var(--muted); font-size: 17px; }
.more { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 15px; color: var(--text); }
.more svg { width: 18px; height: 18px; transition: transform .2s; }
.more:hover svg { transform: translateX(3px); }
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.card { overflow: hidden; border-radius: var(--r); background: #fff; box-shadow: var(--shadow); transition: transform .25s, box-shadow .25s; }
.card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(17, 23, 36, .14); }
.card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.card__body { padding: 16px 18px 20px; }
.card h3 { font: 700 18px/1.25 var(--body); }
.card p { margin: 6px 0 0; color: var(--muted); font-size: 15px; }

.why { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 30px; margin-top: 30px; padding: 26px 34px; border-radius: var(--r-lg); background: var(--ink); color: #fff; }
.why__title { font: 700 20px/1.2 var(--body); white-space: nowrap; }
.why__list { display: grid; grid-template-columns: repeat(5, auto); justify-content: space-between; gap: 20px; margin: 0; padding: 0; list-style: none; }
.why__list li { display: flex; align-items: center; gap: 14px; font-size: 16px; line-height: 1.35; color: #e8ebf0; }
.why__list svg { width: 36px; height: 36px; color: var(--accent); }

/* ---------- CTA ---------- */
.cta { position: relative; overflow: hidden; background: var(--navy); color: #fff; padding: 48px 0; border-radius: 28px 28px 0 0; }
.cta__bg { position: absolute; inset: 0 auto 0 0; width: 58%; background: url("../img/cta.webp") center 55% / cover no-repeat; opacity: .55; }
.cta__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(17, 23, 36, .55) 0%, rgba(17, 23, 36, .7) 45%, var(--navy) 100%); }
.cta__row { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 40px; }
.cta__text h2 { font: 800 clamp(26px, 2.5vw, 32px)/1.15 var(--head); white-space: nowrap; }
.cta__text p { margin: 12px 0 0; max-width: 470px; font-size: 18px; color: #d8dce3; }
.cta__form { position: relative; display: flex; align-items: center; flex-wrap: wrap; gap: 14px 18px; padding-left: 36px; border-left: 1px solid var(--line); }
.cta__or { color: #aab1bd; }
.cta__note { position: absolute; right: 0; bottom: -24px; font-size: 13px; color: #9aa2af; }
.field { position: relative; display: flex; align-items: center; }
.field > svg { position: absolute; left: 16px; width: 20px; height: 20px; color: #9aa2af; pointer-events: none; }
.field input { width: 270px; height: 56px; padding: 0 16px 0 48px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, .22); background: rgba(255, 255, 255, .06); color: #fff; font: 500 17px var(--body); transition: border-color .2s, background .2s; }
.field input::placeholder { color: #8f97a4; }
.field input:focus { outline: none; border-color: var(--accent); background: rgba(255, 255, 255, .1); }
.field.is-bad input { border-color: #ff6b6b; }
.cta__form .btn--yellow { min-height: 56px; padding: 0 26px; font-size: 16px; }
.btn--viber { min-height: 56px; padding: 0 12px 0 14px; border-color: rgba(255, 255, 255, .28); background: rgba(255, 255, 255, .04); color: #fff; gap: 12px; }
.btn--viber:hover { border-color: rgba(255, 255, 255, .55); }
.btn--viber .ico-chat { width: 34px; height: 34px; padding: 7px; border-radius: 9px; background: rgba(255, 255, 255, .08); color: #d8dce3; }
.btn--viber .ico-viber { width: 30px; height: 30px; color: #8f7dff; }
.form-msg { flex-basis: 100%; margin: 0; min-height: 0; font-size: 15px; font-weight: 600; }
.form-msg:empty { display: none; }
.form-msg.ok { color: #7ee2a0; }
.form-msg.err { color: #ff8a8a; }
/* privacy line under the callback / booking submit buttons */
.pnote { flex-basis: 100%; margin: 0; font-size: 12.5px; line-height: 1.45; color: #9aa2af; }
.pnote a { color: inherit; text-decoration: underline; }
.modal .pnote { color: var(--muted); text-align: center; }

/* ---------- generic sections ---------- */
.section { padding: 72px 0; }
.section--white { background: #fff; }

.prices { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 18px; }
.price { padding: 26px 24px 24px; border-radius: var(--r); background: #fff; box-shadow: var(--shadow); border: 1px solid #e7e9ee; }
.price h3 { font: 700 18px/1.3 var(--body); }
.price__val { margin: 14px 0 16px; font: 800 40px/1 var(--head); }
.price__val small { font: 600 16px var(--body); color: var(--muted); }
.price__val--txt { font-size: 26px; line-height: 1.15; }
.price ul { display: grid; gap: 9px; margin: 0; padding: 16px 0 0; border-top: 1px solid #eceef2; list-style: none; color: #3c4350; font-size: 15px; }
.price li { position: relative; padding-left: 24px; }
.price li::before { content: ""; position: absolute; left: 2px; top: 6px; width: 12px; height: 7px; border-left: 2.5px solid var(--accent-deep); border-bottom: 2.5px solid var(--accent-deep); transform: rotate(-45deg); }
.price--accent { background: var(--ink); color: #fff; border-color: var(--ink); }
.price--accent .price__val { color: var(--accent); }
.price--accent ul { color: #d7dbe2; border-color: var(--line); }
.price--accent li::before { border-color: var(--accent); }
.prices__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 26px; }

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin: 0; padding: 0; list-style: none; counter-reset: s; }
.steps li { position: relative; padding: 26px 24px; border-radius: var(--r); background: var(--bg); }
.steps b { display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 16px; border-radius: 12px; background: var(--accent); font: 800 20px var(--head); color: var(--accent-ink); }
.steps h3 { font: 700 18px/1.3 var(--body); }
.steps p { margin: 8px 0 0; color: var(--muted); font-size: 15px; }

.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.gallery button { position: relative; overflow: hidden; padding: 0; border: 0; border-radius: var(--r); background: #dfe2e8; aspect-ratio: 3 / 4; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.gallery button:hover img { transform: scale(1.04); }

.faq-wrap { max-width: 880px; }
.faq { display: grid; gap: 12px; }
.faq details { border-radius: var(--r); background: var(--bg); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 22px; font-weight: 600; font-size: 17px; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { width: 22px; height: 22px; color: var(--muted); transition: transform .2s; }
.faq details[open] summary svg { transform: rotate(180deg); }
.faq details p { margin: 0; padding: 0 22px 20px; color: #3c4350; }

/* ---------- contacts & footer ---------- */
.contacts { background: var(--ink); color: #fff; padding: 72px 0 0; }
.contacts__row { display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: center; padding-bottom: 56px; }
.contacts h2 { font: 800 clamp(26px, 3vw, 36px)/1.15 var(--head); }
.contacts h2 span { display: block; color: var(--accent); }
.contacts__phone { display: inline-block; margin: 18px 0 20px; font: 800 clamp(30px, 4vw, 44px)/1 var(--head); color: #fff; }
.contacts__phone:hover { color: var(--accent); }
.contacts__list { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; color: #d8dce3; }
.contacts__list li { display: flex; align-items: center; gap: 12px; }
.contacts__list svg { width: 22px; height: 22px; color: var(--accent); }
.contacts__btns { display: grid; grid-template-columns: repeat(2, minmax(220px, 1fr)); gap: 14px; }
.contacts__btns .btn--ghost svg { color: var(--accent); }
.footer { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-top: 26px; padding-bottom: 30px; color: #8f97a4; font-size: 14px; }
.footer::before { content: ""; position: absolute; top: 0; left: 24px; right: 24px; border-top: 1px solid var(--line); }
.footer p { margin: 0; }
.logo--sm .logo__icon { width: 46px; height: 30px; }
.logo--sm .logo__icon.sq { width: 32px; height: 32px; }
.logo--sm .logo__text b { font-size: 18px; color: #fff; }
.logo--sm .logo__text small { font-size: 10px; }

/* ---------- mobile call bar ---------- */
.callbar { display: none; }

/* ---------- modal ---------- */
.modal { width: min(440px, calc(100vw - 32px)); padding: 0; border: 0; border-radius: 22px; background: transparent; color: var(--text); }
.modal::backdrop { background: rgba(6, 9, 14, .7); backdrop-filter: blur(3px); }
.modal[open] { animation: pop .2s ease-out; }
@keyframes pop { from { opacity: 0; transform: translateY(10px) scale(.98); } }
.modal__box { position: relative; display: grid; gap: 12px; padding: 30px 26px 24px; border-radius: 22px; background: #fff; }
.modal h2 { font: 800 26px/1.15 var(--head); padding-right: 30px; }
.modal__sub { margin: 0 0 6px; color: var(--muted); }
.modal__x { position: absolute; top: 14px; right: 14px; display: grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: 10px; background: var(--bg); }
.modal__x svg { width: 20px; height: 20px; }
.field--light input { width: 100%; height: 54px; border-color: #d5d9e0; background: #fff; color: var(--text); }
.field--light input::placeholder { color: #8a919d; }
.field--light input:focus { background: #fff; border-color: var(--accent-deep); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 32%, transparent); }
.field--plain input { padding-left: 16px; }
.modal .form-msg.ok { color: #14853f; }
.modal .form-msg.err { color: #c62828; }
.modal__alt { margin: 4px 0 0; text-align: center; color: var(--muted); font-size: 14px; }
.modal__alt a { color: var(--text); font-weight: 700; white-space: nowrap; }

.lightbox { width: 100vw; height: 100vh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(6, 9, 14, .94); }
.lightbox[open] { display: grid; place-items: center; }
.lightbox::backdrop { background: transparent; }
.lightbox img { max-width: min(92vw, 900px); max-height: 88vh; width: auto; height: auto; border-radius: 12px; }
.lightbox button { position: absolute; display: grid; place-items: center; width: 50px; height: 50px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .12); color: #fff; }
.lightbox button:hover { background: rgba(255, 255, 255, .22); }
.lightbox button svg { width: 24px; height: 24px; }
.lightbox__x { top: 18px; right: 18px; }
.lightbox__prev { left: 18px; top: 50%; transform: translateY(-50%); }
.lightbox__prev svg { transform: rotate(90deg); }
.lightbox__next { right: 18px; top: 50%; transform: translateY(-50%); }
.lightbox__next svg { transform: rotate(-90deg); }

/* ---------- responsive ---------- */
@media (max-width: 1220px) {
  .nav { gap: 22px; margin-left: 4px; }
  .header__row { gap: 20px; }
  .hphone__txt small { display: none; }
  .feats { grid-template-columns: repeat(3, auto); justify-content: start; column-gap: 40px; }
  .why { grid-template-columns: 1fr; gap: 18px; }
  .cta__row { grid-template-columns: 1fr; gap: 26px; }
  .cta__form { padding-left: 0; border-left: 0; }
  .cta__note { position: static; flex-basis: 100%; }
  .cta__text h2 { white-space: normal; }
}
@media (max-width: 1080px) {
  .hphone { display: none; }
  .header__cb { margin-left: auto; }
  .cards, .steps { grid-template-columns: repeat(2, 1fr); }
  .why__list { grid-template-columns: repeat(3, auto); justify-content: start; column-gap: 40px; }
  .contacts__row { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .header__cb { display: none; }
  .header__icon-call, .burger { display: grid; }
  .header__icon-call { margin-left: auto; }
  .nav { position: fixed; inset: 72px 0 auto 0; display: grid; gap: 0; margin: 0; padding: 8px 16px 18px; background: rgba(11, 15, 23, .98); box-shadow: 0 20px 40px rgba(0, 0, 0, .4); transform: translateY(-12px); opacity: 0; visibility: hidden; transition: .2s; }
  .header.is-open .nav { transform: none; opacity: 1; visibility: visible; }
  .nav a { padding: 14px 4px; border-bottom: 1px solid rgba(255, 255, 255, .08); font-size: 17px; }
  .nav a.is-active::after { display: none; }
  .nav__call { display: flex; align-items: center; gap: 10px; margin-top: 10px; padding: 14px 16px !important; border: 0 !important; border-radius: 12px; background: var(--accent); color: var(--accent-ink) !important; font-weight: 700 !important; }
  .nav__call svg { width: 20px; height: 20px; }
  .header__row { height: 72px; }
  .header.is-open { background: rgba(11, 15, 23, .98); }
}
@media (max-width: 760px) {
  .container { padding: 0 16px; }
  html { scroll-padding-top: 76px; }
  .logo__icon { width: 48px; height: 30px; }
  .logo__icon.sq { width: 34px; height: 34px; }
  .logo__text b { font-size: 19px; }
  .logo__text small { font-size: 10px; letter-spacing: .28em; }
  .hero { min-height: 0; padding: calc(56vw + 40px) 0 52px; }
  .hero__photo { top: 56px; bottom: auto; left: 0; width: 100%; height: 72vw; }
  .hero__photo img { object-position: 62% 60%; }
  .hero__photo::after { background: linear-gradient(0deg, var(--ink) 0%, rgba(11, 15, 23, .55) 28%, rgba(11, 15, 23, 0) 55%), linear-gradient(180deg, var(--ink) 0%, rgba(11, 15, 23, 0) 22%); }
  .eyebrow { font-size: 12.5px; letter-spacing: .12em; }
  .hero__lead { font-size: 17px; margin: 16px 0 22px; }
  .hero__btns { display: grid; grid-template-columns: 1fr; }
  .hero__btns .btn, .msg__toggle { width: 100%; }
  .feats { grid-template-columns: 1fr 1fr; gap: 16px 14px; margin-top: 32px; }
  .feats li { font-size: 14px; gap: 10px; }
  .feats svg { width: 30px; height: 30px; }
  .feats li:last-child { grid-column: 1 / -1; }
  .sheet { padding-top: 28px; padding-bottom: 40px; border-radius: 22px 22px 0 0; }
  .sec-head { align-items: center; }
  .more { display: none; }
  .cards { display: flex; gap: 14px; margin: 0 -16px; padding: 4px 16px 10px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .cards::-webkit-scrollbar { display: none; }
  .card { flex: 0 0 78%; scroll-snap-align: start; }
  .why { padding: 22px 20px; }
  .why__list { grid-template-columns: 1fr 1fr; gap: 16px 14px; }
  .why__list li { font-size: 14.5px; gap: 10px; }
  .why__list svg { width: 30px; height: 30px; }
  .why__list li:last-child { grid-column: 1 / -1; }
  .cta { padding: 40px 0; border-radius: 22px 22px 0 0; }
  .cta__bg { width: 100%; opacity: .3; }
  .cta__form { display: grid; grid-template-columns: 1fr; gap: 12px; }
  .field input { width: 100%; }
  .cta__or { text-align: center; }
  .cta__note { text-align: center; }
  .section { padding: 52px 0; }
  .prices, .steps { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; gap: 10px; }
  .contacts { padding-top: 52px; }
  .contacts__btns { grid-template-columns: 1fr; }
  .footer { display: grid; justify-items: start; padding-bottom: 96px; }
  .footer::before { left: 16px; right: 16px; }
  .callbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: grid; grid-template-columns: 1.6fr 1fr; gap: 10px; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: rgba(11, 15, 23, .96); backdrop-filter: blur(10px); box-shadow: 0 -8px 24px rgba(0, 0, 0, .25); transform: translateY(110%); transition: transform .25s; }
  .callbar.is-on { transform: none; }
  .callbar .btn { min-height: 50px; }
  .callbar:has(> :nth-child(3)) { grid-template-columns: 1.2fr 1fr 1fr; gap: 8px; }
  .callbar:has(> :nth-child(3)) .btn { padding: 0 10px; gap: 6px; font-size: 14px; }
  .callbar .btn--dark { border: 1px solid var(--line); }
  .callbar .btn--dark svg { color: #a99cff; }
  .lightbox__prev, .lightbox__next { top: auto; bottom: 24px; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ---------- demo bar (only on demo.service-lab.site) ---------- */
.demo-bar { position: relative; z-index: 35; display: flex; align-items: center; justify-content: center; gap: 14px; min-height: 42px; padding: 6px 16px; background: var(--accent); color: var(--accent-ink); font-size: 14px; line-height: 1.3; text-align: center; }
.demo-bar b { font-weight: 800; }
.demo-bar__btn { flex: none; padding: 7px 14px; border-radius: 999px; background: var(--ink); color: #fff; font-weight: 700; font-size: 13px; }
body.has-demo .header { top: 42px; }
body.has-demo .header.is-fixed { top: 0; }
body.has-demo .hero { padding-top: 186px; }
@media (max-width: 900px) {
  body.has-demo .header:not(.is-fixed) .nav { top: 114px; }
}
@media (max-width: 760px) {
  .demo-bar { min-height: 52px; justify-content: space-between; text-align: left; font-size: 12.5px; }
  body.has-demo .header { top: 52px; }
  body.has-demo .header:not(.is-fixed) .nav { top: 124px; }
  body.has-demo .hero { padding-top: calc(56vw + 92px); }
  body.has-demo .hero__photo { top: 108px; }
}
