/* ЯргСтрой — стили. Сначала телефон, потом широкие экраны. */

@font-face { font-family: "Oswald"; font-weight: 200 700; font-display: swap;
  src: url("fonts/oswald-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Oswald"; font-weight: 200 700; font-display: swap;
  src: url("fonts/oswald-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+20AC, U+20BD, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Golos"; font-weight: 400 900; font-display: swap;
  src: url("fonts/golos-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Golos"; font-weight: 400 900; font-display: swap;
  src: url("fonts/golos-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+20AC, U+20BD, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  /* Палитра материалов */
  --lime: #eee8df;        /* известковая штукатурка, основной фон */
  --lime-hi: #f7f3ed;     /* светлая сторона штукатурки, поля форм */
  --stone: #dcd3c6;       /* песчаник */
  --concrete: #cfc9c1;    /* бетон */
  --concrete-d: #9d978e;
  --oak: #9a6b43;         /* дуб */
  --graphite: #26272a;
  --graphite-2: #333438;
  --terra: #c0532b;       /* единственный акцент */
  --terra-d: #a5441f;
  --ink: #26272a;
  --muted: #5d5852;
  --line: rgba(38, 39, 42, .16);

  /* Движение: сдержанно, без отскоков */
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);   /* появление и уход элементов */
  --dur-fast: 150ms;                            /* наведение, нажатие, закрытие */
  --dur-base: 220ms;                            /* появление окон и блоков */

  --f-head: "Oswald", "Arial Narrow", sans-serif;
  --f-body: "Golos", system-ui, -apple-system, "Segoe UI", sans-serif;
  --gut: 16px;
  --max: 1240px;
  --r: 6px;
  --noise: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 72px; }
body { margin: 0; background: var(--lime); color: var(--ink); font: 400 1rem/1.55 var(--f-body);
  padding-bottom: calc(64px + env(safe-area-inset-bottom)); overflow-x: hidden; }
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .18em; }
a:hover { color: var(--terra); }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3 { margin: 0; font-family: var(--f-head); font-weight: 500; line-height: 1.04; letter-spacing: -.005em; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--terra); outline-offset: 3px; }
[hidden] { display: none !important; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gut); }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--graphite); color: #fff; padding: 8px 12px; }
.skip:focus { left: 8px; }
.h2 { font-size: clamp(2.1rem, 8.5vw, 4rem); }
.h3 { font-size: clamp(1.5rem, 5.5vw, 2rem); }
.lede { color: var(--muted); max-width: 56ch; font-size: 1.05rem; }
.head { display: grid; gap: 14px; margin-bottom: 28px; }

/* ---------- Кнопки ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 0 24px;
  border: 0; border-radius: var(--r); font-weight: 600; font-size: 1rem; text-decoration: none; text-align: center;
  transition: background-color var(--dur-fast) ease, color var(--dur-fast) ease, box-shadow var(--dur-fast) ease,
    transform var(--dur-fast) var(--ease-out); }
.btn:active { transform: translateY(1px); }
.btn--terra { background: var(--terra); color: #fff; }
.btn--terra:hover { background: var(--terra-d); color: #fff; }
.btn--light { background: var(--lime-hi); color: var(--graphite); }
.btn--light:hover { background: #fff; color: var(--graphite); }
.btn--graphite { background: var(--graphite); color: var(--lime-hi); }
.btn--graphite:hover { background: #000; color: #fff; }
.btn--ghost { background: transparent; color: var(--lime-hi); box-shadow: inset 0 0 0 1.5px rgba(247, 243, 237, .55); }
.btn--ghost:hover { color: #fff; box-shadow: inset 0 0 0 1.5px #fff; }
.btn--ghost-dark { background: transparent; color: var(--graphite); box-shadow: inset 0 0 0 1.5px var(--graphite); }
.btn--ghost-dark:hover { background: var(--graphite); color: var(--lime-hi); }
.btn--wide { width: 100%; }
.link-btn { padding: 0; border: 0; background: none; color: var(--terra-d); font-weight: 600; text-decoration: underline;
  text-underline-offset: .25em; text-decoration-thickness: 1.5px; min-height: 44px; text-align: left; }
.link-btn:hover { color: var(--graphite); }

/* ---------- Шапка ---------- */
.top { position: sticky; top: 0; z-index: 40; background: var(--graphite); color: var(--lime-hi); }
.top__in { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 58px;
  max-width: var(--max); margin: 0 auto; padding: 0 var(--gut); }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--lime-hi); }
.logo:hover { color: #fff; }
.logo__mark { width: 28px; height: 28px; }
.logo__word { font: 600 1.4rem/1 var(--f-head); letter-spacing: .01em; }
.top__phone { font-weight: 600; text-decoration: none; white-space: nowrap; font-size: .95rem; }
.top__phone:hover { color: #fff; text-decoration: underline; }

/* ---------- Первый экран ---------- */
.hero { position: relative; isolation: isolate; min-height: calc(100svh - 58px); display: flex; align-items: flex-end;
  color: var(--lime-hi); background: var(--graphite); overflow: hidden; }
.hero__bg, .hero__bg img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__bg { z-index: -2; }
.hero__bg img { object-fit: cover; object-position: 50% 40%; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(25, 25, 27, .1) 0%, rgba(25, 25, 27, .2) 38%, rgba(25, 25, 27, .86) 72%, rgba(25, 25, 27, .94) 100%); }
.hero__in { padding-top: 120px; padding-bottom: 32px; }
.hero__title { font-size: clamp(2.9rem, 13.2vw, 7.4rem); font-weight: 600; line-height: .94; max-width: 11ch;
  text-wrap: balance; letter-spacing: -.01em; }
.hero__sub { margin-top: 18px; font-size: 1.1rem; font-weight: 500; color: #fff; }
.hero__btns { display: grid; gap: 10px; margin-top: 26px; }
.hero__note { margin-top: 22px; font-size: .82rem; color: rgba(247, 243, 237, .66); }
@media (prefers-reduced-motion: no-preference) {
  .hero__title, .hero__sub, .hero__btns { animation: rise 450ms var(--ease-out) both; }
  .hero__sub { animation-delay: 60ms; }
  .hero__btns { animation-delay: 120ms; }
}
@keyframes rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

/* ---------- Услуги: прайс-лист ---------- */
.services { padding: 64px 0 72px; }
.svc-list { border-top: 2px solid var(--graphite); }
.svc { display: grid; gap: 8px; padding: 22px 0 18px; border-bottom: 1px solid var(--line); }
.svc__title { font-size: 1.6rem; }
.svc__price { font: 500 2.1rem/1 var(--f-head); color: var(--graphite); white-space: nowrap; }
.svc__from { font-size: .5em; font-weight: 400; color: var(--muted); vertical-align: .35em; margin-right: 2px; }
.svc__unit { font-size: .55em; font-weight: 400; color: var(--muted); }
.svc__text { color: var(--muted); max-width: 52ch; }

/* Приёмка — «смотровой лист» на плотной бумаге */
.sheet { position: relative; margin-top: 44px; padding: 26px 20px 24px; background: var(--lime-hi);
  border: 1.5px solid var(--graphite); border-radius: 2px; box-shadow: 8px 8px 0 var(--stone); }
.sheet::before { content: ""; position: absolute; inset: 0; background: var(--noise); opacity: .05; pointer-events: none; }
.sheet__top { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 20px;
  padding-bottom: 14px; border-bottom: 1.5px dashed var(--concrete-d); }
.sheet__title { font-size: 1.65rem; max-width: 16ch; }
.sheet__price { font: 600 2.6rem/1 var(--f-head); color: var(--terra-d); }
.sheet__lead { margin: 16px 0 14px; max-width: 52ch; }
.sheet__list { list-style: none; margin: 0 0 22px; padding: 0; display: grid; gap: 0; }
.sheet__list li { position: relative; padding: 9px 0 9px 34px; border-bottom: 1px solid var(--line); }
.sheet__list li::before { content: ""; position: absolute; left: 0; top: 10px; width: 20px; height: 20px;
  border: 1.5px solid var(--graphite); border-radius: 2px; }
.sheet__list li::after { content: ""; position: absolute; left: 6px; top: 12px; width: 7px; height: 12px;
  border: solid var(--terra); border-width: 0 2.5px 2.5px 0; transform: rotate(45deg); }

/* ---------- Калькулятор ---------- */
.calc { position: relative; padding: 64px 0 72px; background: var(--graphite); color: var(--lime-hi); isolation: isolate; }
.calc::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--noise); opacity: .09; }
.calc__intro { display: grid; gap: 14px; margin-bottom: 30px; }
.calc__intro p { color: rgba(247, 243, 237, .74); max-width: 46ch; }
.calc__form { display: grid; gap: 28px; }
.calc__types { border: 0; margin: 0; padding: 0; min-width: 0; }
.calc__legend { display: block; padding: 0; margin-bottom: 12px; font-size: .95rem; color: rgba(247, 243, 237, .74); }
.segs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.seg { position: relative; display: block; }
.seg input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.seg span { display: flex; align-items: center; min-height: 64px; height: 100%; padding: 10px 14px; border-radius: var(--r);
  background: var(--graphite-2); box-shadow: inset 0 0 0 1px rgba(247, 243, 237, .14); font-weight: 600; line-height: 1.25;
  transition: background-color var(--dur-fast) ease, color var(--dur-fast) ease, box-shadow var(--dur-fast) ease; }
.seg input:checked + span { background: var(--lime-hi); color: var(--graphite); box-shadow: none; }
.seg input:focus-visible + span { outline: 3px solid var(--terra); outline-offset: 2px; }

.tape__row { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.tape__num { font: 500 1.6rem/1 var(--f-head); white-space: nowrap; }
.tape__num input { width: 4.2ch; padding: 4px 6px; border: 0; border-bottom: 2px solid var(--terra); background: transparent;
  font: inherit; text-align: right; color: #fff; -moz-appearance: textfield; }
.tape__num input::-webkit-outer-spin-button, .tape__num input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
/* Ползунок в виде строительной рулетки */
.tape__track { position: relative; height: 64px; margin-top: 4px; border-radius: 3px;
  background: linear-gradient(180deg, #d9a23b, #c98f2a); box-shadow: inset 0 -2px 0 rgba(0, 0, 0, .18); overflow: hidden; }
.tape__ticks { position: absolute; inset: 0 10px; pointer-events: none; }
.tape__ticks i { position: absolute; top: 0; width: 1px; height: 12px; background: rgba(38, 39, 42, .7); }
.tape__ticks i.mid { height: 20px; }
.tape__ticks i.big { height: 30px; width: 2px; background: var(--graphite); }
.tape__ticks b { position: absolute; top: 33px; transform: translateX(-50%); font: 600 .8rem/1 var(--f-head); color: var(--graphite); }
.tape__range { -webkit-appearance: none; appearance: none; position: absolute; inset: 0; width: 100%; height: 100%; margin: 0;
  background: transparent; cursor: ew-resize; z-index: 2; }
.tape__range::-webkit-slider-runnable-track { height: 64px; background: transparent; }
.tape__range::-moz-range-track { height: 64px; background: transparent; }
.tape__range::-webkit-slider-thumb { -webkit-appearance: none; width: 20px; height: 64px; border: 0;
  background: linear-gradient(90deg, transparent 8px, var(--terra) 8px 12px, transparent 12px); }
.tape__range::-moz-range-thumb { width: 20px; height: 64px; border: 0; border-radius: 0;
  background: linear-gradient(90deg, transparent 8px, var(--terra) 8px 12px, transparent 12px); }
.tape__range:focus-visible { outline: 3px solid var(--lime-hi); outline-offset: 3px; }

.calc__out { padding-top: 18px; border-top: 1px solid rgba(247, 243, 237, .16); }
.calc__result { display: block; font: 500 clamp(3rem, 15vw, 6.2rem)/.95 var(--f-head); color: #fff; letter-spacing: -.01em; }
.calc__result b { font-weight: 600; }
.calc__note { margin-top: 10px; color: #f0b79e; font-weight: 600; }
/* Место под строку занято всегда, чтобы кнопка ниже не прыгала */
.calc__note { transition: opacity var(--dur-fast) ease, visibility var(--dur-fast); }
.calc__note.is-off { opacity: 0; visibility: hidden; }

/* ---------- Почему мы: бетон ---------- */
.why { position: relative; padding: 64px 0 72px; background: var(--concrete); isolation: isolate; }
.why::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--noise); opacity: .22; }
.why__in { display: grid; gap: 34px; }
.why__year { margin-top: 26px; font: 600 clamp(5.5rem, 30vw, 12rem)/.8 var(--f-head); color: var(--graphite); letter-spacing: -.02em; }
.why__year span { display: block; font: 500 1.05rem/1.3 var(--f-body); letter-spacing: 0; color: var(--muted); margin-bottom: 10px; }
.why__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.why__list li { padding: 16px 0; border-top: 1.5px solid rgba(38, 39, 42, .28); font-size: 1.05rem; max-width: 46ch; }
.why__list strong { display: block; font: 500 1.4rem/1.15 var(--f-head); margin-bottom: 4px; }

/* ---------- Рассрочка ---------- */
.credit { background: var(--terra); color: #fff; }
.credit__in { display: grid; max-width: var(--max); margin: 0 auto; }
.credit__text { padding: 48px var(--gut) 52px; display: grid; gap: 16px; align-content: center; justify-items: start; }
.credit__title { font-size: clamp(2.6rem, 12vw, 5.4rem); font-weight: 600; line-height: .95; }
.credit__text p { max-width: 42ch; font-size: 1.1rem; }
.credit__text .btn { margin-top: 8px; }
.credit__img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; order: -1; }

/* ---------- Наши работы ---------- */
.works { padding: 64px 0 72px; }
.chips { display: flex; gap: 8px; overflow-x: auto; margin: 0 calc(var(--gut) * -1); padding: 2px var(--gut) 6px;
  scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: none; min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1.5px solid var(--graphite);
  background: transparent; font-weight: 600; }
.chip[aria-pressed="true"] { background: var(--graphite); color: var(--lime-hi); }
.chip:hover { border-color: var(--terra); }
.works__grid { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 8px; }
.work { position: relative; overflow: hidden; margin: 0 0 8px; border-radius: 3px; background: var(--stone); break-inside: avoid; }
.work img { aspect-ratio: 4 / 3; }
.work--tall img { aspect-ratio: 3 / 4; }
.works__more { display: flex; justify-content: center; margin-top: 18px; }
.work__open, .work__still { display: block; width: 100%; height: 100%; padding: 0; border: 0; background: none; }
.work img { width: 100%; height: auto; object-fit: cover; transition: transform 250ms var(--ease-out); }
.work__open { cursor: zoom-in; }
/* Только для мыши: на сенсорном экране :hover «залипает» после тапа */
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .work__open:hover img { transform: scale(1.03); }
}
.work__cap { position: absolute; left: 8px; bottom: 8px; padding: 3px 8px; border-radius: 3px; background: rgba(38, 39, 42, .78);
  color: var(--lime-hi); font-size: .78rem; font-weight: 600; }

/* ---------- Дома и видео ---------- */
.house { padding: 64px 0 72px; background: var(--stone); }
.house__in { display: grid; gap: 36px; }
.house__text { display: grid; gap: 16px; justify-items: start; }
.phone { margin: 0 auto; width: min(68vw, 290px); }
.phone__frame { position: relative; padding: 10px; border-radius: 42px; background: #1b1b1d;
  box-shadow: 0 0 0 1.5px #4a4b50, 0 24px 40px -18px rgba(0, 0, 0, .55); }
.phone__frame::before { content: ""; position: absolute; top: 18px; left: 50%; width: 30%; height: 20px; transform: translateX(-50%);
  border-radius: 20px; background: #1b1b1d; z-index: 2; }
.phone__video { width: 100%; aspect-ratio: 9 / 16; object-fit: cover; border-radius: 32px; background: #3a3a3d; }
.phone__cap { margin-top: 14px; text-align: center; font: 500 1.25rem/1.2 var(--f-head); }
.house__photos { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.house__ph { display: block; padding: 0; border: 0; background: none; overflow: hidden; border-radius: 3px; aspect-ratio: 4 / 3; }
.house__ph:first-child { grid-column: span 2; }
button.house__ph { cursor: zoom-in; }
.house__ph img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Как мы работаем ---------- */
.process { padding: 64px 0 72px; }
.steps { list-style: none; margin: 30px 0 0; padding: 0; counter-reset: step; display: grid; gap: 0; }
.step { counter-increment: step; position: relative; padding: 18px 0 20px 64px; border-top: 1px solid var(--line); }
.step::before { content: counter(step); position: absolute; left: 0; top: 12px; font: 500 2.6rem/1 var(--f-head); color: var(--terra-d); }
.step h3 { font-size: 1.45rem; margin-bottom: 6px; }
.step p { color: var(--muted); max-width: 40ch; }

/* ---------- Контакты ---------- */
.contacts { padding: 64px 0 72px; background: var(--stone); }
.contacts__in { display: grid; gap: 40px; }
.dl { margin: 26px 0 24px; display: grid; gap: 0; }
.dl div { display: grid; gap: 2px; padding: 12px 0; border-top: 1px solid var(--line); }
.dl dt { font-size: .9rem; color: var(--muted); }
.dl dd { margin: 0; font-weight: 600; font-size: 1.1rem; overflow-wrap: anywhere; }
.map { position: relative; aspect-ratio: 4 / 3; border-radius: 3px; overflow: hidden; background: var(--concrete); isolation: isolate; }
.map::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--noise); opacity: .2; }
.map iframe { display: block; width: 100%; height: 100%; border: 0; }
.map__stub { display: grid; place-content: center; justify-items: center; gap: 14px; height: 100%; padding: 20px; text-align: center; }
.map__stub p { max-width: 30ch; }
.contacts__form { padding: 24px 18px; background: var(--lime-hi); border-radius: 3px; }
.contacts__form .h3 { margin-bottom: 18px; }

/* ---------- Формы ---------- */
.form { display: grid; gap: 14px; }
.field { display: grid; gap: 6px; }
.field__label { font-size: .9rem; font-weight: 600; }
.field input, .field select, .field textarea { width: 100%; min-height: 50px; padding: 12px 14px; border: 1.5px solid var(--concrete-d);
  border-radius: var(--r); background: #fff; font-size: 1rem; }
.field textarea { resize: vertical; min-height: 92px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--graphite); box-shadow: 0 0 0 3px rgba(192, 83, 43, .35); }
.field--half { max-width: 220px; }
.field .is-bad, .consent.is-bad span { border-color: var(--terra-d); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.consent { display: grid; grid-template-columns: 24px 1fr; gap: 10px; align-items: start; font-size: .9rem; line-height: 1.45; }
.consent input { width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--terra); }
.consent.is-bad { color: var(--terra-d); }
.form__err { padding: 10px 12px; border-radius: var(--r); background: #f6dfd5; color: #7d2e12; font-weight: 600; font-size: .95rem; }
.form__note { font-size: .85rem; color: var(--muted); }
.form__done { display: grid; gap: 10px; padding: 18px 0; }
.form__done h3 { font-size: 1.8rem; }
.form__done { transition: opacity var(--dur-base) var(--ease-out), transform var(--dur-base) var(--ease-out); }
@starting-style { .form__done { opacity: 0; transform: translateY(6px); } }
.calc-sum { padding: 14px 16px; border-radius: var(--r); background: var(--graphite); color: var(--lime-hi); }
.calc-sum__label { font-size: .85rem; color: rgba(247, 243, 237, .7); }
.calc-sum__line { font-weight: 600; }
.calc-sum__total { font: 600 1.9rem/1.1 var(--f-head); margin-top: 2px; }

/* ---------- Окно заявки ---------- */
.modal { width: 100%; max-width: 100%; max-height: 100%; height: 100%; margin: 0; padding: 0; border: 0; background: transparent; }
.modal::backdrop { background: rgba(20, 20, 22, .62); }
/* Открытие 220 мс: окно поднимается на 16 px и проявляется. Закрытие 150 мс.
   Браузеры без @starting-style открывают мгновенно, как раньше. */
.modal { opacity: 0; transform: translateY(16px);
  transition: opacity var(--dur-fast) var(--ease-out), transform var(--dur-fast) var(--ease-out),
    overlay var(--dur-fast) allow-discrete, display var(--dur-fast) allow-discrete; }
.modal[open] { opacity: 1; transform: none; transition-duration: var(--dur-base); }
.modal:not([open]) { pointer-events: none; }
@starting-style { .modal[open] { opacity: 0; transform: translateY(16px); } }
.modal::backdrop { opacity: 0; transition: opacity var(--dur-fast) var(--ease-out),
  overlay var(--dur-fast) allow-discrete, display var(--dur-fast) allow-discrete; }
.modal[open]::backdrop { opacity: 1; transition-duration: var(--dur-base); }
@starting-style { .modal[open]::backdrop { opacity: 0; } }
.modal__box { position: relative; min-height: 100%; padding: 22px var(--gut) 28px; background: var(--lime-hi); }
.modal__box .h3 { margin: 4px 48px 18px 0; }
.modal__close { position: absolute; top: 10px; right: 10px; width: 44px; height: 44px; border: 0; border-radius: 50%;
  background: var(--stone); font-size: 1.6rem; line-height: 1; }
.modal__close:hover { background: var(--graphite); color: #fff; }

/* ---------- Просмотр фото ---------- */
.lb { width: 100vw; height: 100vh; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0;
  background: rgba(14, 14, 15, .96); }
.lb[open] { display: grid; place-items: center; }
.lb::backdrop { background: rgba(14, 14, 15, .9); }
.lb__img { max-width: 100vw; max-height: 100dvh; width: auto; height: auto; object-fit: contain; }
/* Открытие 220 мс, закрытие 150 мс. Только прозрачность: окно на весь экран, двигать нечего.
   Браузеры без @starting-style просто открывают мгновенно, как раньше. */
.lb { opacity: 0; transition: opacity var(--dur-fast) var(--ease-out),
  overlay var(--dur-fast) allow-discrete, display var(--dur-fast) allow-discrete; }
.lb[open] { opacity: 1; transition-duration: var(--dur-base); }
.lb:not([open]) { pointer-events: none; }
@starting-style { .lb[open] { opacity: 0; } }
.lb::backdrop { opacity: 0; transition: opacity var(--dur-fast) var(--ease-out),
  overlay var(--dur-fast) allow-discrete, display var(--dur-fast) allow-discrete; }
.lb[open]::backdrop { opacity: 1; transition-duration: var(--dur-base); }
@starting-style { .lb[open]::backdrop { opacity: 0; } }
/* Новое фото проявляется после загрузки; старое сразу скрывается */
.lb__img { transition: opacity 180ms var(--ease-out); }
.lb__img.is-loading { opacity: 0; transition: none; }
.lb__btn { position: absolute; width: 48px; height: 48px; border: 0; border-radius: 50%; background: rgba(247, 243, 237, .14);
  color: #fff; font-size: 1.9rem; line-height: 1; }
.lb__btn:hover { background: rgba(247, 243, 237, .3); }
.lb__close { top: 12px; right: 12px; }
.lb__prev { left: 10px; top: 50%; transform: translateY(-50%); }
.lb__next { right: 10px; top: 50%; transform: translateY(-50%); }

/* ---------- Подвал ---------- */
.foot { padding: 48px 0 28px; background: var(--graphite); color: rgba(247, 243, 237, .8); font-size: .95rem; }
.foot a { color: var(--lime-hi); }
.foot a:hover { color: #fff; }
.foot__in { display: grid; gap: 26px; }
.foot__brand, .foot__legal { display: grid; gap: 14px; align-content: start; }
.foot__name { font: 600 1.8rem/1 var(--f-head); color: var(--lime-hi); }
.foot__about { max-width: 38ch; }
.foot__copy { margin-top: 32px; font-size: .82rem; color: rgba(247, 243, 237, .55); }

/* ---------- Cookie ---------- */
.cookie { position: fixed; left: 8px; right: 8px; bottom: calc(68px + env(safe-area-inset-bottom)); z-index: 60;
  display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 12px; padding: 10px 10px 10px 14px; border-radius: var(--r); background: var(--graphite); color: var(--lime-hi);
  font-size: .82rem; line-height: 1.4; box-shadow: 0 14px 34px -12px rgba(0, 0, 0, .6); }
/* Появляется мягко; закрывается сразу — человек нажал кнопку */
.cookie { transition: opacity var(--dur-base) var(--ease-out), transform var(--dur-base) var(--ease-out); }
@starting-style { .cookie { opacity: 0; transform: translateY(8px); } }
.cookie a { color: #fff; }
.cookie .btn { min-height: 44px; padding: 0 16px; font-size: .9rem; }
/* Пока плашка видна, снизу страницы есть место под неё: она не закрывает кнопки заявки и подвал */
.has-cookie body { padding-bottom: calc(64px + env(safe-area-inset-bottom) + var(--cookie-h, 0px) + 8px); }

/* ---------- Кнопка звонка на телефоне ---------- */
.callbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; display: flex; align-items: center; justify-content: center;
  gap: 10px; height: calc(60px + env(safe-area-inset-bottom)); padding-bottom: env(safe-area-inset-bottom);
  background: var(--terra); color: #fff; font: 600 1.15rem/1 var(--f-body); text-decoration: none;
  box-shadow: 0 -6px 18px -8px rgba(0, 0, 0, .4); }
.callbar:hover { color: #fff; background: var(--terra-d); }
.callbar svg { width: 22px; height: 22px; }

/* ---------- Документы ---------- */
.doc { padding: 48px 0 72px; }
.doc__in { max-width: 760px; }
.doc h1 { font-size: clamp(2.2rem, 8vw, 3.6rem); margin-bottom: 10px; }
.doc__meta { color: var(--muted); margin-bottom: 30px; }
.doc h2 { font-size: 1.6rem; margin: 34px 0 12px; }
.doc p, .doc li { max-width: 70ch; }
.doc p + p { margin-top: 12px; }
.doc ul, .doc ol { padding-left: 1.2em; display: grid; gap: 6px; margin: 10px 0; }
.doc__card { margin: 20px 0; padding: 18px 20px; background: var(--lime-hi); border-left: 4px solid var(--terra); }
.doc__back { display: inline-block; margin-bottom: 26px; font-weight: 600; }

/* =================== Планшет =================== */
@media (min-width: 640px) {
  :root { --gut: 28px; }
  .hero__btns { grid-auto-flow: column; justify-content: start; }
  .segs { grid-template-columns: repeat(4, 1fr); }
  .works__grid { columns: 3; }
  .house__photos { grid-template-columns: 1fr 1fr 1fr; }
  .house__ph:first-child { grid-column: auto; }
  .steps { grid-template-columns: 1fr 1fr; column-gap: 32px; }
  .cookie { left: auto; right: 16px; max-width: 440px; padding: 16px; font-size: .9rem; }
  .modal { width: min(560px, calc(100% - 32px)); height: auto; max-height: calc(100% - 32px); margin: auto; }
  /* Окно по центру: вместо подъёма лёгкий масштаб от центра */
  .modal { transform: scale(.97); }
  .modal[open] { transform: none; }
  @starting-style { .modal[open] { transform: scale(.97); } }
  .modal__box { min-height: 0; padding: 30px 30px 32px; border-radius: 4px; }
  .foot__in { grid-template-columns: 1fr 1fr; }
}

/* =================== Компьютер =================== */
@media (min-width: 900px) {
  body { padding-bottom: 0; }
  .callbar { display: none; }
  .cookie { bottom: 16px; }
  .has-cookie body { padding-bottom: calc(var(--cookie-h, 0px) + 24px); }
  .top__in { height: 66px; }
  html { scroll-padding-top: 80px; }
  .top__phone { font-size: 1.05rem; }

  .hero { min-height: min(calc(100vh - 66px), 860px); }
  .hero__bg img { object-position: 50% 50%; }
  .hero::after { background: linear-gradient(90deg, rgba(25, 25, 27, .9) 0%, rgba(25, 25, 27, .72) 34%, rgba(25, 25, 27, .1) 66%),
    linear-gradient(0deg, rgba(25, 25, 27, .5), transparent 40%); }
  .hero__in { padding-bottom: 72px; }
  /* На ~четверть меньше прежнего и с учётом высоты окна, чтобы кнопки помещались при 768–900 px */
  .hero__title { font-size: clamp(3.4rem, min(5.5vw, 10.5vh), 5.7rem); }
  .hero__sub { font-size: 1.3rem; }

  .services, .works, .process, .contacts, .house, .why, .calc { padding: 104px 0 112px; }
  .head { grid-template-columns: 1fr 1fr; align-items: end; gap: 40px; margin-bottom: 40px; }
  .head--row { grid-template-columns: auto 1fr; }
  .head--row .chips { justify-content: flex-end; margin: 0; padding: 0; }
  .svc { grid-template-columns: 1.15fr .8fr 1.6fr 10rem; align-items: baseline; gap: 28px; padding: 30px 0; }
  .svc__title { font-size: 1.75rem; }
  .svc__price { font-size: 2.4rem; }

  .sheet { display: grid; grid-template-columns: 1fr 1.1fr; column-gap: 48px; margin: 64px 0 0 auto; max-width: 1000px;
    padding: 36px 40px; transform: rotate(-.6deg); box-shadow: 12px 12px 0 var(--stone); }
  .sheet__top { grid-column: 1 / -1; }
  .sheet__lead { font-size: 1.1rem; }
  .sheet__list { grid-column: 2; grid-row: 2 / span 2; margin: 16px 0 0; }
  .sheet .btn { align-self: end; justify-self: start; }

  .calc__in { display: grid; grid-template-columns: .85fr 1.15fr; gap: 64px; align-items: start; }
  .calc__intro { position: sticky; top: 110px; }

  .why__in { grid-template-columns: 1fr 1fr; gap: 64px; align-items: end; }
  .why__list li:last-child { border-bottom: 1.5px solid rgba(38, 39, 42, .28); }

  .credit__in { grid-template-columns: 1fr 1fr; max-width: none; }
  .credit__text { padding: 88px 64px 88px max(var(--gut), calc((100vw - var(--max)) / 2 + var(--gut))); }
  .credit__img { order: 0; height: 100%; aspect-ratio: auto; }

  .works__grid { columns: 4; column-gap: 12px; }
  .work { margin-bottom: 12px; }

  .house__in { grid-template-columns: 1fr 300px; grid-template-rows: auto auto; column-gap: 72px; row-gap: 40px; align-items: start; }
  .phone { grid-column: 2; grid-row: 1 / span 2; width: 300px; }
  .house__text { align-self: end; }
  .house__photos { grid-column: 1; grid-row: 2; grid-template-columns: 1.4fr 1fr; grid-template-rows: 1fr 1fr; }
  .house__ph { aspect-ratio: auto; }
  .house__ph:first-child { grid-row: span 2; }

  .steps { grid-template-columns: repeat(3, 1fr); column-gap: 40px; margin-top: 44px; }
  .step { padding: 70px 0 28px; }
  .step::before { top: 16px; font-size: 3rem; }

  .contacts__in { grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
  .contacts__form { padding: 36px 36px 32px; }

}

@media (min-width: 1200px) {
  .house__in { grid-template-columns: 1fr 320px; }
  .phone { width: 320px; }
}

/* Уменьшить движение: перемещения и масштаб убираем, смену цвета и прозрачности оставляем.
   Анимация первого экрана и увеличение фото включаются только при no-preference. */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn:active { transform: none; }
  .modal, .modal[open] { transform: none; }
  @starting-style {
    .modal[open] { transform: none; }
    .cookie { transform: none; }
    .form__done { transform: none; }
  }
}
.is-folded { display: none !important; }


/* =================== Многостраничность: меню, внутренние страницы, подвал =================== */
/* ---------- Меню ---------- */
.nav__list, .nav__sub { list-style: none; margin: 0; padding: 0; }
.nav a { display: block; text-decoration: none; color: rgba(247, 243, 237, .86); }
.nav a:hover { color: #fff; }
.nav a[aria-current="page"] { color: #fff; text-decoration: underline; text-decoration-color: var(--terra);
  text-decoration-thickness: 2px; text-underline-offset: .3em; }
.burger { display: none; }
@media (max-width: 899px) {
  .top__phone { margin-left: auto; }
  /* Без JS: строка из трёх ссылок под шапкой */
  html:not(.js) .top__in { flex-wrap: wrap; height: auto; min-height: 58px; padding-top: 14px; row-gap: 6px; }
  html:not(.js) .nav { order: 5; width: 100%; }
  html:not(.js) .nav__list { display: flex; gap: 20px; overflow-x: auto; padding-bottom: 12px; }
  html:not(.js) .nav__sub { display: none; }
  html:not(.js) .nav a { padding: 4px 0; font-weight: 600; white-space: nowrap; }
  /* С JS: бургер открывает панель под шапкой */
  .js .burger { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 44px; height: 44px;
    margin-right: -10px; padding: 0; border: 0; background: none; color: var(--lime-hi); }
  .burger__bars, .burger__bars::before, .burger__bars::after { display: block; width: 22px; height: 2px; background: currentColor;
    border-radius: 1px; transition: transform var(--dur-fast) var(--ease-out), background-color var(--dur-fast) ease; }
  .burger__bars { position: relative; }
  .burger__bars::before, .burger__bars::after { content: ""; position: absolute; left: 0; }
  .burger__bars::before { top: -7px; }
  .burger__bars::after { top: 7px; }
  .top.is-open .burger__bars { background: transparent; }
  .top.is-open .burger__bars::before { transform: translateY(7px) rotate(45deg); }
  .top.is-open .burger__bars::after { transform: translateY(-7px) rotate(-45deg); }
  .js .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; max-height: calc(100dvh - 58px); overflow-y: auto;
    padding: 4px var(--gut) 24px; background: var(--graphite); border-top: 1px solid rgba(247, 243, 237, .12);
    box-shadow: 0 18px 30px -16px rgba(0, 0, 0, .6); }
  .js .top.is-open .nav { display: block; }
  .js .nav__link { padding: 14px 0; font: 500 1.4rem/1.2 var(--f-head); border-bottom: 1px solid rgba(247, 243, 237, .12); }
  .js .nav__sub { padding: 6px 0 10px 14px; border-bottom: 1px solid rgba(247, 243, 237, .12); }
  .js .nav__sub a { padding: 9px 0; font-size: 1rem; }
}
@media (max-width: 379px) { .js .top__phone { display: none; } .js .burger { margin-left: auto; } }

/* ---------- Внутренние страницы ---------- */
.h1 { font-size: clamp(2.3rem, 9vw, 4.4rem); font-weight: 600; text-wrap: balance; }
.page-top { padding-top: 24px !important; }
.crumbs ol { list-style: none; margin: 0 0 22px; padding: 0; display: flex; flex-wrap: wrap; font-size: .88rem; color: var(--muted); }
.crumbs li + li::before { content: "/"; margin: 0 8px; color: var(--concrete-d); }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--terra); }

.svc__title a, .sheet__title a { text-decoration: none; }
.svc__title a:hover, .sheet__title a:hover { color: var(--terra-d); }
.svc__acts { display: flex; flex-wrap: wrap; gap: 0 22px; }
.sheet__acts { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 24px; }
.sheet__unit { font-size: .42em; font-weight: 400; color: var(--muted); }
.works__all { display: flex; justify-content: center; margin-top: 28px; }
.chips--page { margin-bottom: 20px; }

/* Первый экран услуги: заголовок и карточка цены */
.intro { padding: 0 0 52px; }
.intro__in { display: grid; gap: 30px; }
.intro__text { display: grid; gap: 16px; align-content: start; }
.price { position: relative; display: grid; gap: 10px; align-content: start; padding: 22px 20px 24px; background: var(--lime-hi);
  border: 1.5px solid var(--graphite); border-radius: 2px; box-shadow: 8px 8px 0 var(--stone); }
.price__value { font: 600 clamp(2.6rem, 12vw, 3.8rem)/1 var(--f-head); color: var(--graphite); white-space: nowrap; }
.price__from { font-size: .45em; font-weight: 400; color: var(--muted); vertical-align: .4em; margin-right: 4px; }
.price__unit { font-size: .45em; font-weight: 400; color: var(--muted); }
.price__note { color: var(--terra-d); font-weight: 600; }
.price__btns { display: grid; gap: 10px; margin-top: 10px; }

/* Что входит и кому подходит */
.scope { position: relative; padding: 56px 0 64px; background: var(--concrete); isolation: isolate; }
.scope::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--noise); opacity: .22; }
.scope__in { display: grid; gap: 40px; }
.ticks { list-style: none; margin: 18px 0 0; padding: 0; display: grid; }
.ticks li { position: relative; padding: 12px 0 12px 32px; border-top: 1.5px solid rgba(38, 39, 42, .28); font-size: 1.05rem; }
.ticks li::before { content: ""; position: absolute; left: 5px; top: 16px; width: 7px; height: 13px;
  border: solid var(--terra-d); border-width: 0 2.5px 2.5px 0; transform: rotate(45deg); }
.ticks--dot li::before { left: 3px; top: 21px; width: 9px; height: 9px; border: 0; border-radius: 50%; background: var(--graphite); transform: none; }

/* Фото услуги */
.shots-sec { padding: 64px 0 72px; }
.shots { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.shot { min-width: 0; }
.shots[data-n="3"] .shot:first-child, .shots[data-n="5"] .shot:first-child { grid-column: span 2; }
.shot__in { display: block; width: 100%; height: 100%; padding: 0; border: 0; overflow: hidden; border-radius: 3px;
  background: var(--stone); aspect-ratio: 4 / 3; }
.shot__in img { width: 100%; height: 100%; object-fit: cover; transition: transform 250ms var(--ease-out); }
.shot--tall img { object-position: 50% 22%; }
button.shot__in { cursor: zoom-in; }
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  button.shot__in:hover img { transform: scale(1.03); }
}
.pricecard-sec { padding: 0 0 72px; }
.sheet--solo { margin-top: 0; }

/* Подписи к работам на странице «Наши работы» */
.work--meta { background: var(--lime-hi); }
.work__meta { display: grid; gap: 2px; padding: 10px 12px 12px; font-size: .88rem; color: var(--muted); line-height: 1.35; }
.work__meta b { font: 500 1.1rem/1.2 var(--f-head); color: var(--ink); }

/* Видео-обзоры */
.vids-sec { padding: 64px 0 72px; background: var(--stone); }
.vids { list-style: none; margin: 0; padding: 0; display: grid; gap: 32px; }
.vid { width: 100%; max-width: 300px; margin: 0 auto; }
.vid__frame { position: relative; overflow: hidden; border-radius: 14px; background: #1b1b1d; }
.vid__video { width: 100%; aspect-ratio: 9 / 16; object-fit: cover; background: #1b1b1d; }
.vid__sound { position: absolute; top: 10px; left: 10px; min-height: 40px; padding: 0 14px; border: 0; border-radius: 999px;
  background: rgba(38, 39, 42, .84); color: #fff; font-weight: 600; font-size: .88rem;
  transition: background-color var(--dur-fast) ease; }
.vid__sound:hover { background: var(--graphite); }
.vid__sound[aria-pressed="true"] { background: var(--terra); }
.vid__cap { display: grid; gap: 2px; margin-top: 12px; text-align: center; font-size: .9rem; color: var(--muted); }
.vid__cap b { font: 500 1.2rem/1.2 var(--f-head); color: var(--ink); }

/* Другие услуги */
.others-sec { padding: 64px 0 72px; }
.others { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 10px; }
.other { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 6px 16px; height: 100%;
  padding: 18px 20px; border-radius: var(--r); background: var(--lime-hi); box-shadow: inset 0 0 0 1.5px var(--graphite);
  color: var(--ink); text-decoration: none; transition: background-color var(--dur-fast) ease, color var(--dur-fast) ease; }
.other:hover { background: var(--graphite); color: var(--lime-hi); }
.other__title { font: 500 1.35rem/1.15 var(--f-head); }
.other__price { font-weight: 600; white-space: nowrap; }

/* Контакты: ВК и MAX, страница контактов */
.social { display: flex; flex-wrap: wrap; gap: 10px; }
.social .btn { min-height: 44px; padding: 0 18px; }
.social--block { margin-bottom: 24px; }
.contacts__lede { margin-top: 16px; }

/* Подвал */
.foot__col { display: grid; gap: 12px; align-content: start; }
.foot__h { font: 500 1.25rem/1.2 var(--f-head); color: var(--lime-hi); }
.foot__h a { text-decoration: none; }
.foot__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }

@media (min-width: 640px) {
  .shots { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .shots[data-n="3"] .shot:first-child, .shots[data-n="6"] .shot:first-child { grid-column: span 2; grid-row: span 2; }
  .shots[data-n="4"] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .vids { grid-template-columns: repeat(2, 1fr); }
  .others { grid-template-columns: 1fr 1fr; }
  .price__btns { grid-auto-flow: column; justify-content: start; }
}
@media (min-width: 900px) {
  .nav { margin-left: auto; }
  .nav__list { display: flex; align-items: center; gap: 28px; font-size: .95rem; }
  .nav__item--sub { position: relative; padding: 22px 0; margin: -22px 0; }
  .nav__item--sub > .nav__link::after { content: ""; display: inline-block; width: 6px; height: 6px; margin: 0 0 3px 8px;
    border: solid currentColor; border-width: 0 1.5px 1.5px 0; transform: rotate(45deg); }
  .nav__item.is-active > .nav__link { color: #fff; }
  .nav__sub { display: none; position: absolute; top: 100%; left: -18px; min-width: 300px; padding: 8px 0;
    background: var(--graphite); border-radius: 0 0 var(--r) var(--r); box-shadow: 0 18px 30px -16px rgba(0, 0, 0, .6); }
  .nav__item--sub:hover .nav__sub, .nav__item--sub:focus-within .nav__sub { display: block; }
  .nav__sub a { padding: 10px 18px; }
  .nav__sub a:hover { background: var(--graphite-2); }
  .top__phone { margin-left: 28px; }

  .page-top { padding-top: 36px !important; }
  .intro { padding-bottom: 88px; }
  .intro__in { grid-template-columns: 1.35fr 1fr; gap: 64px; align-items: end; }
  .price { padding: 30px 32px 32px; box-shadow: 12px 12px 0 var(--stone); }
  .scope { padding: 96px 0 104px; }
  .scope__in { grid-template-columns: 1fr 1fr; gap: 64px; }
  .shots-sec, .vids-sec, .others-sec { padding: 104px 0 112px; }
  .pricecard-sec { padding-bottom: 112px; }
  .sheet--solo { margin: 0 auto; }
  .sheet__acts { align-self: end; }
  .svc__acts { flex-direction: column; align-items: flex-end; justify-self: end; }
  .vids { grid-template-columns: repeat(3, 1fr); column-gap: 28px; row-gap: 44px; }
  .others { grid-template-columns: repeat(4, 1fr); }
  .foot__in { grid-template-columns: 1.3fr 1fr 1fr 1.2fr; gap: 40px; }
}

/* =================== Акция (client.json → promo) =================== */
.gift { flex: none; width: 1.3em; height: 1.3em; }
/* Плашка над шапкой: не закреплена, уезжает вместе со страницей и не закрывает меню */
.promo { background: var(--terra); color: #fff; }
.promo__in { display: flex; align-items: center; justify-content: center; gap: 10px; max-width: var(--max); margin: 0 auto;
  padding: 7px var(--gut); font-size: .8rem; line-height: 1.3; }
.promo__text b { font-weight: 700; }
.promo__note { margin-left: 4px; font-size: .9em; color: rgba(255, 255, 255, .86); white-space: nowrap; }
/* Блок рядом с ценой на страницах услуг */
.promo-accent { display: flex; align-items: flex-start; gap: 12px; margin-top: 4px; padding: 12px 14px; border-radius: var(--r);
  background: #f6dfd5; color: #6d2810; }
.promo-accent .gift { width: 28px; height: 28px; color: var(--terra-d); }
.promo-accent p { display: grid; gap: 3px; font-size: .98rem; line-height: 1.35; }
.promo-accent__note { font-size: .8rem; color: var(--muted); }
/* Строка в результате калькулятора; место занято всегда, чтобы кнопка не прыгала */
.calc__promo { display: flex; align-items: center; gap: 10px; margin-top: 10px; color: #fff;
  transition: opacity var(--dur-fast) ease, visibility var(--dur-fast); }
.calc__promo .gift { width: 26px; height: 26px; color: #f0b79e; }
.calc__promo b { font-size: 1.05rem; font-weight: 700; }
.calc__promo small { display: block; font-size: .8rem; color: rgba(247, 243, 237, .7); }
.calc__promo.is-off { opacity: 0; visibility: hidden; }
@media (min-width: 640px) {
  .promo__in { font-size: .9rem; }
}
