@font-face {
  font-family: "Wix Madefor Display";
  src: url("assets/fonts/wixdisplay-cyrillic.woff2") format("woff2");
  font-weight: 400 800;
  font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Wix Madefor Display";
  src: url("assets/fonts/wixdisplay-latin.woff2") format("woff2");
  font-weight: 400 800;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
    U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Golos Text";
  src: url("assets/fonts/golos-cyrillic.woff2") format("woff2");
  font-weight: 400 900;
  font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Golos Text";
  src: url("assets/fonts/golos-latin.woff2") format("woff2");
  font-weight: 400 900;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
    U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --ink: #0a0a0b;
  --ink-2: #101012;
  --ink-3: #17171a;
  --line: #26262a;
  --line-soft: #1b1b1e;
  --fg: #f3f1ed;
  --fg-2: #a19c92;
  --fg-3: #8a857c; /* держит 4.5:1 на --ink и --ink-2 */
  --gold: #d8b064;
  --gold-hi: #f2ddaf;
  --gold-dim: #7b6129;

  --disp: "Wix Madefor Display", system-ui, sans-serif;
  --text: "Golos Text", system-ui, sans-serif;

  --pad: clamp(1.25rem, 5vw, 4.5rem);
  --gap: clamp(3.25rem, 6.5vw, 6.25rem);
  --max: 1180px;

  --ease: cubic-bezier(.16, 1, .3, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 5.5rem; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--ink);
  color: var(--fg);
  font: 400 clamp(1rem, .96rem + .2vw, 1.0625rem)/1.65 var(--text);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

h1, h2, h3 { font-family: var(--disp); font-weight: 700; letter-spacing: -.035em; line-height: 1.02; margin: 0; }

p { margin: 0; text-wrap: pretty; }

a { color: inherit; }

::selection { background: var(--gold); color: #12100a; }

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 2px;
}

::-webkit-scrollbar { width: 11px; height: 11px; }
::-webkit-scrollbar-track { background: var(--ink); }
::-webkit-scrollbar-thumb { background: #2a2a2e; border: 3px solid var(--ink); border-radius: 99px; }
::-webkit-scrollbar-thumb:hover { background: var(--gold-dim); }
html { scrollbar-color: #2a2a2e var(--ink); }

.skip {
  position: fixed; top: .75rem; left: .75rem; z-index: 200;
  padding: .7rem 1.1rem; background: var(--gold); color: #12100a;
  font: 600 .9375rem var(--text); border-radius: 2px;
  transform: translateY(-200%);
}
.skip:focus { transform: none; }


/* ---------- header ---------- */

.head {
  position: fixed; inset: 0 0 auto; z-index: 100;
  background: color-mix(in srgb, var(--ink) 82%, transparent);
  backdrop-filter: blur(14px) saturate(1.2);
  border-bottom: 1px solid transparent;
  transition: border-color .4s var(--ease), background .4s var(--ease);
}
.head.stuck { border-bottom-color: var(--line-soft); background: color-mix(in srgb, var(--ink) 94%, transparent); }

.head__in {
  max-width: var(--max); margin: 0 auto;
  padding: .85rem var(--pad);
  display: flex; align-items: center; gap: clamp(1rem, 3vw, 2.5rem);
}

.head__mark { display: flex; align-items: center; gap: .6rem; text-decoration: none; margin-right: auto; }
.head__mark img { width: 40px; height: auto; }
.head__mark span {
  font-family: var(--disp); font-weight: 800; font-size: 1.125rem;
  letter-spacing: -.03em;
}

.nav { display: flex; gap: clamp(.9rem, 2vw, 1.9rem); }
/* только прямые потомки: в низ панели меню едут ссылки со своим оформлением */
.nav > a {
  position: relative;
  font-size: .9375rem; color: var(--fg-2); text-decoration: none;
  padding: .3rem 0;
  transition: color .3s var(--ease);
}
.nav > a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0;
  height: 1px; background: var(--gold);
  transform: scaleX(0); transform-origin: left;
  transition: transform .4s var(--ease);
}
.nav > a:hover, .nav > a.on { color: var(--fg); }
.nav > a:hover::after, .nav > a.on::after { transform: scaleX(1); }

.head__tel {
  font-family: var(--disp); font-weight: 600; font-size: .9375rem;
  letter-spacing: -.01em; text-decoration: none;
  white-space: nowrap;
  transition: color .3s var(--ease);
}
.head__tel:hover { color: var(--gold); }

/* ---------- hero ---------- */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex; align-items: flex-end;
  padding: 8rem var(--pad) clamp(2.5rem, 6vw, 4.5rem);
  isolation: isolate;
  overflow: hidden;
}

.hero__shot {
  position: absolute; inset: 0; z-index: -2;
  background: #08080a url("assets/hero-mobile.webp") center 35% / cover no-repeat;
  transform: scale(1.06);
  animation: settle 2.4s var(--ease) forwards;
}
@keyframes settle { to { transform: scale(1); } }

.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(to top, var(--ink) 4%, color-mix(in srgb, var(--ink) 72%, transparent) 38%, transparent 78%),
    linear-gradient(to right, color-mix(in srgb, var(--ink) 80%, transparent), transparent 62%);
}

.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  opacity: .22; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
}

.hero__wrap { max-width: var(--max); width: 100%; margin: 0 auto; position: relative; }

.hero__h {
  font-size: clamp(2.35rem, 7.2vw, 5.5rem);
  letter-spacing: -.045em;
  font-weight: 800;
  max-width: 21ch; /* три строки на десктопе, как в контракте направления */
}
.hero__h em { font-style: normal; color: var(--gold); }

.hero__sub {
  margin-top: clamp(1.1rem, 2.5vw, 1.6rem);
  max-width: 46ch;
  color: var(--fg-2);
  font-size: clamp(1rem, .95rem + .35vw, 1.1875rem);
}

.hero__act {
  display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1.5rem;
  margin-top: clamp(1.6rem, 3.5vw, 2.4rem);
}
/* доказательство стоит рядом с действием, а не в подвале первого экрана */
.hero__rate {
  display: inline-flex; align-items: baseline; gap: .4rem;
  padding-left: 1.5rem; border-left: 1px solid var(--line);
  font-size: .875rem; color: var(--fg-2); text-decoration: none;
  transition: color .3s var(--ease);
}
.hero__rate:hover { color: var(--gold-hi); }
.hero__rate b { font-family: var(--disp); font-weight: 700; color: var(--gold); font-size: 1.0625rem; }

.hero__meta {
  margin-top: clamp(1.5rem, 3vw, 2.25rem);
  padding-top: 1.25rem;
  border-top: 1px solid var(--line-soft);
  font-size: .875rem; color: var(--fg-3);
}

/* ---------- buttons ---------- */

.btn {
  --bg: transparent;
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 3rem; padding: .8rem 1.5rem;
  background: var(--bg); color: var(--fg);
  border: 1px solid var(--line); border-radius: 2px;
  font: 600 .9375rem/1 var(--text); letter-spacing: .005em;
  text-decoration: none; cursor: pointer;
  transition: border-color .35s var(--ease), color .35s var(--ease), background .35s var(--ease);
}
.btn::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, transparent 35%, color-mix(in srgb, var(--gold-hi) 55%, transparent) 50%, transparent 65%);
  transform: translateX(-120%);
  transition: transform .75s var(--ease);
}
.btn:hover { border-color: var(--gold-dim); color: var(--gold-hi); }
.btn:hover::after { transform: translateX(120%); }

.btn--gold {
  background: var(--gold); border-color: var(--gold); color: #14110a;
  font-weight: 700;
}
.btn--gold:hover { background: var(--gold-hi); border-color: var(--gold-hi); color: #14110a; }
.btn--gold::after { background: linear-gradient(100deg, transparent 35%, rgba(255,255,255,.6) 50%, transparent 65%); }

.lnk {
  display: inline-flex; align-items: center; gap: .45rem;
  background: none; border: 0; padding: 0;
  color: var(--gold); font: 600 .9375rem/1.4 var(--text);
  cursor: pointer; text-decoration: none;
  border-bottom: 1px solid color-mix(in srgb, var(--gold) 35%, transparent);
  padding-bottom: 2px;
  transition: color .3s var(--ease), border-color .3s var(--ease);
}
/* авторская стрелка: тот же штрих 1.5px, что и волосяные линии страницы */
.lnk::after {
  content: ""; flex: none; width: 15px; height: 10px;
  background: currentColor;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='15' height='10' fill='none' stroke='%23000' stroke-width='1.5'%3E%3Cpath d='M0 5h13M9 1l4 4-4 4'/%3E%3C/svg%3E") center/contain no-repeat;
  transition: transform .35s var(--ease);
}
.lnk:hover { color: var(--gold-hi); border-color: var(--gold-hi); }
.lnk:hover::after { transform: translateX(4px); }

/* ---------- sections ---------- */

.sec { max-width: var(--max); margin: 0 auto; padding: var(--gap) var(--pad); }
.sec--wide { max-width: 1400px; }

.sec__head { max-width: 40rem; margin-bottom: clamp(2.25rem, 5vw, 3.75rem); }
.sec__head h2 {
  font-size: clamp(1.85rem, 4.2vw, 3.15rem);
  font-weight: 800;
}
.sec__head p { margin-top: 1rem; color: var(--fg-2); max-width: 52ch; }

/* ---------- services ---------- */

.svc { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-soft); }

.svc__row {
  position: relative;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
  gap: clamp(1rem, 4vw, 4rem);
  padding: clamp(1.75rem, 3.5vw, 2.75rem) 0;
  border-bottom: 1px solid var(--line-soft);
  transition: border-color .5s var(--ease);
}
.svc__row::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px;
  background: linear-gradient(90deg, var(--gold), transparent 70%);
  transform: scaleX(0); transform-origin: left;
  transition: transform .7s var(--ease);
}
.svc__row:hover::after { transform: scaleX(1); }

.svc__row h3 {
  font-size: clamp(1.3rem, 2.6vw, 1.9rem);
  font-weight: 700;
  transition: color .4s var(--ease);
}
.svc__row:hover h3 { color: var(--gold-hi); }

.svc__body p { color: var(--fg-2); max-width: 46ch; }
.svc__body .lnk { margin-top: 1.15rem; }

/* ---------- gallery ---------- */

.gal {
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: clamp(.75rem, 1.5vw, 1.25rem);
  grid-template-columns: repeat(6, 1fr);
}
.gal__i { grid-column: span 2; }
.gal__i--wide { grid-column: span 4; grid-row: span 1; }
.gal__i--tall { grid-column: span 2; grid-row: span 2; }
/* пятый кадр закрывает сетку во всю ширину — нижний ряд не остаётся рваным */
.gal__i--full { grid-column: span 6; }

/* светящаяся плашка: кадр снят в светлом боксе, тьма вокруг делает его источником */
.gal__i, .about__f {
  position: relative;
  isolation: isolate;
}
.gal__i::before, .about__f::before {
  content: ""; position: absolute; z-index: -1;
  inset: -1.75rem -1.25rem -1.25rem;
  background: radial-gradient(60% 55% at 50% 45%, color-mix(in srgb, var(--gold) 20%, transparent), transparent 72%);
  filter: blur(26px);
  opacity: .7;
  transition: opacity .6s var(--ease);
  pointer-events: none;
}
.gal__i:hover::before { opacity: 1; }

.gal__i figure {
  position: relative; display: block; width: 100%; height: 100%;
  margin: 0; background: var(--ink-2);
  overflow: hidden; border-radius: 2px;
  /* верхняя кромка ловит свет, как лип плёнки */
  box-shadow: inset 0 1px 0 color-mix(in srgb, var(--gold-hi) 22%, transparent),
              0 0 0 1px var(--line-soft);
}
.gal__i img {
  width: 100%; height: 100%; object-fit: cover;
  filter: brightness(.92);
  transition: transform .9s var(--ease), filter .6s var(--ease);
}
.gal__i--wide img { aspect-ratio: 16 / 9; }
.gal__i--full img { aspect-ratio: 24 / 9; }
.gal__i:not(.gal__i--tall):not(.gal__i--wide) img { aspect-ratio: 4 / 3; }
.gal__i--tall img { aspect-ratio: 3 / 4; }

.gal__i figure::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(to top, rgba(6,6,8,.88), transparent 45%);
  opacity: .9; transition: opacity .5s var(--ease);
}
.gal__i:hover img { transform: scale(1.045); filter: brightness(1.04); }
.gal__i:hover figure::before { opacity: 1; }

.gal__i figcaption {
  position: absolute; z-index: 2; left: 1.1rem; right: 1.1rem; bottom: .95rem;
  font: 600 .875rem/1.3 var(--text); color: var(--fg);
  text-align: left;
}
.gal__i:hover figcaption { color: var(--gold-hi); }

/* ---------- calculator ---------- */

.calc {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .85fr);
  gap: clamp(1.5rem, 3vw, 3rem);
  align-items: start;
}

.calc__set { border: 0; margin: 0; padding: 0; }
.calc__set legend,
.calc__field label,
.calc__lbl {
  display: block; padding: 0;
  font: 600 .75rem/1 var(--text); letter-spacing: .09em; text-transform: uppercase;
  color: var(--fg-3); margin-bottom: .85rem;
}

.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip {
  padding: .65rem 1rem; border-radius: 2px;
  background: var(--ink-2); border: 1px solid var(--line-soft); color: var(--fg-2);
  font: 500 .9375rem/1.2 var(--text); cursor: pointer; text-align: left;
  transition: all .3s var(--ease);
}
.chip:hover { border-color: var(--line); color: var(--fg); }
.chip[aria-checked="true"] {
  background: color-mix(in srgb, var(--gold) 12%, var(--ink-2));
  border-color: var(--gold-dim); color: var(--gold-hi);
}

.calc__field { margin-top: 1.75rem; }
.calc__field input {
  width: 100%; padding: .85rem 1rem;
  background: var(--ink-2); border: 1px solid var(--line-soft); border-radius: 2px;
  color: var(--fg); font: 400 1rem var(--text);
  transition: border-color .3s var(--ease), background .3s var(--ease);
}
.calc__field input::placeholder { color: var(--fg-3); }
.calc__field input:hover { border-color: var(--line); }
.calc__field input:focus { outline: 0; border-color: var(--gold-dim); background: var(--ink-3); }

.calc__out {
  padding: clamp(1.25rem, 2.5vw, 1.9rem);
  background: var(--ink-2);
  border: 1px solid var(--line-soft);
  border-radius: 2px;
  position: sticky; top: 6rem;
}

.bubble {
  position: relative;
  padding: 1rem 1.15rem;
  background: color-mix(in srgb, var(--gold) 14%, var(--ink-3));
  border: 1px solid color-mix(in srgb, var(--gold) 22%, transparent);
  border-radius: 14px 14px 14px 3px;
  font-size: .9375rem; line-height: 1.55; color: var(--fg);
  min-height: 6.5rem;
  white-space: pre-wrap;
}
.bubble em {
  font-style: normal;
  color: var(--gold-hi);
  border-bottom: 1px dashed color-mix(in srgb, var(--gold) 45%, transparent);
}
.bubble .dim { color: var(--fg-3); }

.calc__act { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.15rem; }
.calc__act .btn { flex: 1 1 auto; }

.calc__hint { margin-top: .9rem; font-size: .8125rem; color: var(--fg-3); line-height: 1.5; }
.calc__hint.ok { color: var(--gold); }

/* ---------- steps ---------- */

.steps {
  list-style: none; margin: 0; padding: 0;
  counter-reset: s;
  display: grid; gap: 1px;
  /* шесть шагов, поэтому колонки делят их нацело — пустых клеток в сетке нет */
  grid-template-columns: repeat(3, minmax(0, 1fr));
  background: var(--line-soft);
  border: 1px solid var(--line-soft);
}
.steps li {
  counter-increment: s;
  background: var(--ink);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  transition: background .4s var(--ease);
}
.steps li:hover { background: var(--ink-2); }
.steps li::before {
  content: counter(s, decimal-leading-zero);
  display: block; margin-bottom: 1.5rem;
  font: 600 .8125rem/1 var(--disp); letter-spacing: .12em;
  color: var(--gold-dim);
}
.steps h3 { font-size: 1.125rem; font-weight: 700; }
.steps p { margin-top: .5rem; color: var(--fg-2); font-size: .9375rem; }

/* ---------- advantages ---------- */

.adv { margin: 0; display: grid; gap: 0; }
.adv > div {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr);
  gap: clamp(1rem, 4vw, 4rem);
  padding: clamp(1.25rem, 2.5vw, 1.75rem) 0;
  border-top: 1px solid var(--line-soft);
}
.adv > div:last-child { border-bottom: 1px solid var(--line-soft); }
.adv dt { font-family: var(--disp); font-weight: 700; font-size: 1.0625rem; letter-spacing: -.02em; }
.adv dd { margin: 0; color: var(--fg-2); }

/* ---------- reviews ---------- */

/* пять отзывов: 3 + 2, оба ряда заполнены целиком */
.rev {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 1.75rem);
}
.rev li { grid-column: span 2; display: flex; flex-direction: column; }
.rev li:nth-child(4), .rev li:nth-child(5) { grid-column: span 3; }
.rev li {
  padding: clamp(1.35rem, 2.5vw, 1.9rem);
  background: var(--ink-2); border: 1px solid var(--line-soft); border-radius: 2px;
  transition: border-color .4s var(--ease);
}
.rev li:hover { border-color: var(--line); }
.rev p { font-size: .9375rem; color: #ddd9d2; }
.rev footer { margin-top: auto; padding-top: 1rem; border-top: 1px solid var(--line-soft); }
.rev p { margin-bottom: 1.15rem; }
.rev b { display: block; font-family: var(--disp); font-weight: 700; font-size: .9375rem; letter-spacing: -.015em; }
.rev span { display: block; margin-top: .25rem; font-size: .8125rem; color: var(--fg-3); }
.rev__all { margin-top: clamp(1.5rem, 3vw, 2.25rem); }

/* ---------- about ---------- */

.about {
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  gap: clamp(2rem, 5vw, 4.5rem); align-items: center;
}
.about__t h2 { font-size: clamp(1.85rem, 4.2vw, 3.15rem); font-weight: 800; }
.about__t p { margin-top: 1.25rem; color: var(--fg-2); max-width: 48ch; }
.about__f { margin: 0; }
.about__f img {
  display: block; width: 100%; border-radius: 2px; filter: brightness(.95);
  box-shadow: inset 0 1px 0 color-mix(in srgb, var(--gold-hi) 22%, transparent),
              0 0 0 1px var(--line-soft);
}
.about__f figcaption { margin-top: .85rem; font-size: .8125rem; color: var(--fg-3); }

/* ---------- faq ---------- */

/* мера чтения: плюс не должен улетать на полтора экрана от вопроса */
.faq { border-top: 1px solid var(--line-soft); max-width: 58rem; }
.faq details { border-bottom: 1px solid var(--line-soft); }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  padding: clamp(1.15rem, 2.2vw, 1.5rem) 0;
  font-family: var(--disp); font-weight: 700; font-size: clamp(1rem, 1.8vw, 1.25rem);
  letter-spacing: -.02em;
  transition: color .3s var(--ease);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 13px; height: 13px;
  background: linear-gradient(var(--gold), var(--gold)) center/100% 1.5px no-repeat,
              linear-gradient(var(--gold), var(--gold)) center/1.5px 100% no-repeat;
  transition: transform .45s var(--ease);
}
.faq details[open] summary { color: var(--gold-hi); }
.faq details[open] summary::after { transform: rotate(135deg); }
.faq summary:hover { color: var(--gold-hi); }
.faq details p {
  padding-bottom: clamp(1.15rem, 2.2vw, 1.5rem);
  max-width: 58ch; color: var(--fg-2);
}

/* ---------- contacts ---------- */

.cont {
  display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: clamp(1.75rem, 4vw, 3.5rem);
}
.cont__addr { font-family: var(--disp); font-weight: 700; font-size: clamp(1.35rem, 2.6vw, 1.85rem); letter-spacing: -.03em; line-height: 1.3; }
.cont__addr span { color: var(--fg-3); font-weight: 400; }
.cont__tel { margin-top: 1.5rem; }
.cont__tel a {
  font-family: var(--disp); font-weight: 700; font-size: clamp(1.5rem, 3.2vw, 2.25rem);
  letter-spacing: -.035em; text-decoration: none; color: var(--gold);
  transition: color .3s var(--ease);
}
.cont__tel a:hover { color: var(--gold-hi); }
.cont__note { margin-top: 1.25rem; color: var(--fg-2); font-size: .9375rem; max-width: 38ch; }
.cont__act { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.75rem; }

.map {
  align-self: start;
  background: var(--ink-2);
  border: 1px solid var(--line-soft); border-radius: 2px;
  overflow: hidden;
}
.map iframe {
  display: block; width: 100%; height: clamp(20rem, 42vh, 26rem); border: 0;
  background: var(--ink-2);
  /* виджет светлый по умолчанию — подтягиваем его к тёмной среде страницы */
  filter: grayscale(.35) contrast(1.05) brightness(.88);
}
.map__links {
  padding: .85rem 1.1rem;
  border-top: 1px solid var(--line-soft);
  font-size: .875rem;
}
.map__links a {
  color: var(--fg-2); text-decoration: none;
  transition: color .3s var(--ease);
}
.map__links a:hover { color: var(--gold-hi); }

/* ---------- footer ---------- */

.foot { border-top: 1px solid var(--line-soft); padding: clamp(2.5rem, 5vw, 4rem) var(--pad) 6.5rem; }
.foot__in { max-width: var(--max); margin: 0 auto; display: grid; gap: 1.5rem; }
.foot__mark { width: 96px; opacity: .85; }
.foot p { color: var(--fg-3); font-size: .875rem; line-height: 1.6; }
/* Разделы живут в подвале: на узком экране это единственная навигация,
   на широком — дубль шапки, который ничего не ломает. */
.foot__nav {
  display: flex; flex-wrap: wrap; gap: .75rem 1.75rem;
  padding-bottom: 1.5rem; margin-bottom: .25rem;
  border-bottom: 1px solid var(--line-soft);
}
.foot__nav a {
  font-family: var(--disp); font-weight: 600; font-size: .9375rem;
  color: var(--fg); text-decoration: none;
  transition: color .3s var(--ease);
}
.foot__nav a:hover { color: var(--gold); }

.foot__l { display: flex; flex-wrap: wrap; gap: .75rem 1.75rem; }
.foot__l a { color: var(--fg-2); text-decoration: none; transition: color .3s var(--ease); }
.foot__l a:hover { color: var(--gold); }
.demo-note {
  width: fit-content;
  margin-top: .5rem;
  padding: .55rem .8rem;
  border: 1px solid var(--gold-dim);
  color: var(--gold) !important;
  font-size: .75rem !important;
  line-height: 1.4 !important;
}

/* ---------- mobile dock ---------- */

.dock {
  position: fixed; inset: auto 0 0; z-index: 90;
  display: none; gap: 1px;
  background: var(--line-soft);
  border-top: 1px solid var(--line);
  padding-bottom: env(safe-area-inset-bottom);
}
/* Основная цель на телефоне: крупная площадь под палец, а не полоска текста. */
.dock a {
  flex: 1;
  min-height: 3.5rem; padding: .5rem;
  display: flex; align-items: center; justify-content: center;
  background: var(--ink);
  text-align: center; text-decoration: none;
  font: 700 .9375rem/1.2 var(--text); color: var(--fg);
}
.dock a:first-child { color: var(--fg-2); }
.dock a.dock--go { background: var(--gold); color: #14110a; flex: 1.4; }

/* ---------- reveal ---------- */

.rise { opacity: 0; transform: translateY(18px); }
.rise.in { opacity: 1; transform: none; transition: opacity .8s var(--ease), transform .8s var(--ease); }

/* ---------- responsive ---------- */

@media (min-width: 760px) {
  .hero__shot { background-image: url("assets/hero.webp"); background-position: center 45%; }
}

@media (max-width: 1000px) {
  .calc { grid-template-columns: 1fr; }
  .calc__out { position: static; }
  .about { grid-template-columns: 1fr; }
  .about__f { max-width: 32rem; }
  .cont { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  /* Бургера нет: на узком экране шапка несёт знак и телефон, разделы
     собраны в подвале, а связь живёт в нижней панели. */
  .nav { display: none; }

  .svc__row, .adv > div { grid-template-columns: 1fr; gap: .75rem; }

  .gal { grid-template-columns: repeat(2, 1fr); }
  .gal__i, .gal__i--wide, .gal__i--tall { grid-column: span 2; grid-row: auto; }
  .gal__i--tall img { aspect-ratio: 4 / 3; }

  .dock { display: flex; }
  .rev { grid-template-columns: minmax(0, 1fr); }
  .rev li, .rev li:nth-child(4), .rev li:nth-child(5) { grid-column: span 1; }
  .gal__i--full { grid-column: span 2; }
  .gal__i--full img { aspect-ratio: 16 / 9; }

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

  /* нижняя панель перекрывает последнюю строку первого экрана — отдаём ей место */
  .hero { padding-bottom: calc(clamp(2.5rem, 6vw, 4.5rem) + 3.5rem + env(safe-area-inset-bottom)); }
}

@media (max-width: 560px) {
  .steps { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 420px) {
  .hero__act .btn, .calc__act .btn, .cont__act .btn { width: 100%; }
  .chip { width: 100%; }
}

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