/* СаМаМогу — дизайн-система
   По просьбе клиента: тёмно-серый фон, жёлтые акценты, логотип из макета.
   Фирменный приём — белая бирка проката на графите. */

/* Шрифт Rubik — ближайший бесплатный к логотипу (рубленый, со скруглёнными углами, есть кириллица).
   Лежит в папке fonts/ (переменный, лицензия SIL OFL) — без Google */
@font-face { font-family: 'Rubik'; font-style: normal; font-weight: 300 900; font-display: swap;
  src: url(../fonts/rubik-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Rubik'; font-style: normal; font-weight: 300 900; font-display: swap;
  src: url(../fonts/rubik-latin.woff2) format('woff2');
  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: 'Rubik'; font-style: normal; font-weight: 300 900; font-display: swap;
  src: url(../fonts/rubik-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
:root {
  --yellow: #FFDD00;
  --yellow-h: #FFE84D;
  --bg: #2F3035;        /* графит из макета */
  --bg-2: #26272B;      /* тёмные секции */
  --panel: #3A3C42;     /* панели на графите */
  --line: #4C4F57;
  --text: #F3F3F1;
  --muted: #B8BBC2;
  --ink: #1C1D21;       /* текст на жёлтом и белом */
  --ink-muted: #5B5F68;
  --paper: #FFFFFF;
  --paper-line: #D9DCDF;
  --ok: #7BE0A2;
  --err: #FF8A80;
  --display: 'Rubik', 'Arial Black', sans-serif;
  --body: 'Rubik', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --r: 16px;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body { margin: 0; font: 400 17px/1.55 var(--body); color: var(--text); background: var(--bg); }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select { font: inherit; color: inherit; }
h1, h2, h3, p, figure { margin: 0; }
.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.skip { position: absolute; left: 12px; top: -60px; background: var(--yellow); color: var(--ink); padding: 10px 14px; z-index: 100; border-radius: 8px; }
.skip:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }

/* ---------- type ---------- */
.h2 { font: 700 clamp(28px, 4.2vw, 46px)/1.08 var(--display); letter-spacing: -0.02em; max-width: 18ch; }
.h3 { font: 700 22px/1.2 var(--display); letter-spacing: -0.01em; }
.head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 12px 40px; margin-bottom: clamp(24px, 4vw, 40px); }
.head__sub { max-width: 50ch; color: var(--muted); }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px; padding: 0 26px; border-radius: 999px; border: 2px solid transparent; font-weight: 600; font-size: 16px; text-decoration: none; cursor: pointer; transition: transform .15s, background-color .15s, border-color .15s; text-align: center; line-height: 1.2; }
.btn:active { transform: translateY(1px); }
.btn .ic { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.btn--yellow { background: var(--yellow); color: var(--ink); }
.btn--yellow:hover { background: var(--yellow-h); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: #000; }
.btn--line { border-color: rgba(255,255,255,.55); color: #fff; }
.btn--line:hover { border-color: var(--yellow); color: var(--yellow); }
.btn--ghost { border-color: var(--ink); color: var(--ink); }
.btn--ghost:hover { background: rgba(0,0,0,.08); }
.btn--ghost-dark { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn--ghost-dark:hover { background: #F1F2F3; }
.btn--sm { min-height: 42px; padding: 0 18px; font-size: 15px; }
.btn--block { width: 100%; }

/* ---------- logo (как в макете клиента) ---------- */
.logo { display: inline-flex; align-items: center; flex: none; text-decoration: none; }
.logo img { height: 44px; width: auto; }
.logo--sm img { height: 34px; }

/* ---------- header ---------- */
.top { position: sticky; top: 0; z-index: 40; background: rgba(38,39,43,.94); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.top__in { display: flex; align-items: center; gap: 24px; height: 72px; }
.nav { display: flex; gap: 22px; margin-left: auto; }
.nav a { text-decoration: none; font-weight: 500; font-size: 15px; padding: 6px 0; border-bottom: 2px solid transparent; color: var(--muted); }
.nav a:hover { border-color: var(--yellow); color: #fff; }
.top__cta { display: flex; align-items: center; gap: 16px; }
.top__phone { font-weight: 700; text-decoration: none; white-space: nowrap; color: var(--yellow); }
.burger { display: none; width: 46px; height: 46px; border: 0; background: var(--yellow); border-radius: 50%; cursor: pointer; position: relative; }
.burger span, .burger span::before, .burger span::after { position: absolute; left: 13px; width: 20px; height: 2px; background: var(--ink); content: ''; transition: transform .2s; }
.burger span { top: 22px; } .burger span::before { left: 0; top: -6px; } .burger span::after { left: 0; top: 6px; }
.nav-open .burger span { background: transparent; }
.nav-open .burger span::before { transform: translateY(6px) rotate(45deg); }
.nav-open .burger span::after { transform: translateY(-6px) rotate(-45deg); }

/* ---------- hero ---------- */
.hero { padding: clamp(28px, 5vw, 64px) 0 clamp(40px, 6vw, 72px); position: relative; overflow: hidden; }
.hero::before { content: ''; position: absolute; right: -10vw; top: -16vw; width: 50vw; height: 50vw; max-width: 700px; max-height: 700px; border-radius: 50%; background: var(--yellow); z-index: -1; }
.hero__grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.hero__kicker { font: 600 15px/1.4 var(--body); letter-spacing: 0; color: var(--muted); margin-bottom: 16px; display: flex; align-items: center; gap: 10px; }
.hero__kicker::before { content: ''; width: 28px; height: 3px; background: var(--yellow); }
.hero__title { font-family: var(--display); letter-spacing: -0.035em; line-height: 1; margin-bottom: 22px; }
.hero__line { display: block; font-weight: 500; font-size: clamp(24px, 3.2vw, 40px); margin-bottom: 10px; }
/* «Сама могу.» — тот же логотип, что в шапке (по просьбе клиента — один шрифт) */
.hero__brand { display: block; width: min(100%, 560px); margin: 6px 0 4px -6px; transform-origin: left bottom; animation: stamp .5s cubic-bezier(.2,1.4,.4,1) .15s both; }
.hero__brand img { width: 100%; height: auto; }
@keyframes stamp { from { transform: rotate(-5deg) scale(.9); } to { transform: none; } }

.offer { display: grid; gap: 4px; border: 2px solid var(--yellow); border-radius: var(--r); padding: 16px 20px; max-width: 520px; position: relative; }
.offer__name { font: 700 15px/1.2 var(--display); color: var(--yellow); }
.offer__price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 12px; }
.offer__price b { font: 800 clamp(30px, 3.6vw, 40px)/1.05 var(--display); letter-spacing: -0.02em; }
.offer__sep { color: var(--muted); font-size: 15px; }
.offer__what { color: var(--muted); font-size: 15px; line-height: 1.45; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }

/* ---------- hero: живое фото ---------- */
.hero__media { position: relative; justify-self: center; width: 100%; max-width: 440px; margin-top: 12px; }
.hero__media img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 60%; border-radius: 22px; border: 3px solid var(--ink); box-shadow: 12px 14px 0 var(--ink); transform: rotate(2deg); }
.hero__chip { position: absolute; left: -24px; bottom: 28px; max-width: 260px; background: var(--paper); color: var(--ink); border: 2px solid var(--ink); border-radius: 14px; padding: 12px 14px; font-size: 14px; line-height: 1.35; box-shadow: 6px 6px 0 var(--ink); }
.hero__chip b { display: block; font: 800 19px/1.1 var(--display); }
.hero__lead { font-size: 17px; color: var(--muted); max-width: 52ch; margin: -6px 0 20px; }

/* ---------- compare ---------- */
.qty--dark button { background: transparent; border-color: var(--yellow); color: var(--yellow); }
.qty--dark button:hover { background: var(--yellow); color: var(--ink); }
.seg--dark > label > span { border-color: var(--line); color: #fff; }
.seg--dark input:checked + span { background: var(--yellow); border-color: var(--yellow); color: var(--ink); }

/* instructions page */
.instr-nav { margin-left: auto; }
.instr-nav a { text-decoration: none; color: var(--muted); font-weight: 500; }
.instr-nav a:hover { color: #fff; }
.instr__lead { color: var(--muted); max-width: 60ch; margin: 16px 0 24px; }
.instr__toc { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.instr__toc a { padding: 8px 14px; border: 2px solid var(--line); border-radius: 999px; text-decoration: none; font-size: 14px; font-weight: 600; }
.instr__toc a:hover { border-color: var(--yellow); }
.instr__card { background: var(--panel); border-radius: 20px; padding: clamp(18px, 3vw, 28px); margin-bottom: 18px; display: grid; grid-template-columns: 200px 1fr; gap: 24px; align-items: start; scroll-margin-top: 90px; }
.instr__card > img { width: 100%; height: auto; background: #fff; border-radius: 14px; padding: 10px; object-fit: contain; aspect-ratio: 1; }
.instr__card--warn, .instr__card--help { grid-template-columns: 1fr; }
.instr__card--warn { border-left: 6px solid var(--yellow); }
.instr__card ol, .instr__card ul { margin: 12px 0 0; padding-left: 22px; display: grid; gap: 8px; color: var(--text); }
.instr__card li::marker { color: var(--yellow); font-weight: 700; }
.instr__for { color: var(--muted); margin-top: 6px; }
.instr__tip { margin-top: 14px; padding: 12px 14px; background: var(--bg-2); border-radius: 12px; color: var(--muted); font-size: 15px; }
.instr__card--help a { color: var(--yellow); font-weight: 700; }
.page-instr .foot { padding-bottom: 40px; }
/* политика и согласие */
.doc { max-width: 800px; }
.doc__meta { color: var(--muted); margin: 10px 0 8px; font-size: 15px; }
.doc h2 { font: 700 19px/1.3 var(--display); margin: 32px 0 10px; }
.doc p + p { margin-top: 10px; }
.doc ul { margin: 8px 0; padding-left: 22px; display: grid; gap: 6px; }
.doc li::marker { color: var(--yellow); }
.doc a { color: var(--yellow); }
.foot a { color: inherit; }
/* галочка согласия в форме */
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; line-height: 1.45; color: var(--ink-muted); margin-bottom: 14px; cursor: pointer; }
.consent input { flex: none; width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--ink); cursor: pointer; }
.consent a { color: var(--ink); font-weight: 600; }
@media (max-width: 640px) { .instr__card { grid-template-columns: 1fr; } .instr__card > img { max-width: 180px; } .page-instr .top__phone { display: none; } }
@media print {
  .top, .instr__toc, .foot, .skip { display: none !important; }
  body { background: #fff; color: #000; }
  .instr__card { background: #fff; border: 1px solid #ccc; break-inside: avoid; }
  .instr__tip, .instr__lead, .instr__for { color: #333; background: #f3f3f3; }
}


/* contract */
.contract { margin-top: 48px; background: var(--panel); border-radius: 20px; padding: clamp(20px, 3vw, 32px); }
.contract__head p { color: var(--muted); margin: 10px 0 20px; }
.faq__list a { color: var(--yellow); font-weight: 600; }

.guide__note { color: var(--muted); margin: -12px 0 24px; font-size: 15px; }
.rm { flex: none; width: 36px; height: 36px; border-radius: 50%; border: 2px solid #8A8F98; background: #fff; color: var(--ink); cursor: pointer; font-size: 20px; line-height: 1; }
.rm:hover { border-color: var(--ink); background: var(--yellow); }
.seg--dark input:focus-visible + span { outline-color: var(--yellow); }


/* ---------- sections ---------- */
.section { padding: clamp(56px, 8vw, 100px) 0; }

/* tasks */

/* catalog */
.catalog { background: var(--bg-2); }
.grid-tags { display: grid; grid-template-columns: repeat(4, 1fr); gap: 36px 20px; padding-top: 10px; }
.tag { position: relative; background: var(--paper); color: var(--ink); border-radius: 18px 18px var(--r) var(--r); padding: 40px 20px 20px; display: flex; flex-direction: column; gap: 10px; }
.tag::before { content: ''; position: absolute; left: 50%; top: 0; width: 88px; height: 22px; transform: translateX(-50%); background: var(--bg-2); border-radius: 0 0 44px 44px; }
.tag__hole { position: absolute; left: 50%; top: 4px; width: 12px; height: 12px; margin-left: -6px; border-radius: 50%; border: 2px solid var(--line); background: var(--bg-2); z-index: 1; }
.tag__label { position: absolute; top: 32px; right: 0; background: var(--yellow); font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 8px 0 0 8px; z-index: 1; }
.tag__pic { height: 170px; display: flex; align-items: center; justify-content: center; margin: 0 -6px; }
.tag__pic img { max-height: 100%; width: auto; max-width: 100%; object-fit: contain; }
.tag__name { font: 700 17px/1.25 var(--display); letter-spacing: -0.01em; }
.tag__desc { color: var(--ink-muted); font-size: 14px; line-height: 1.45; flex: 1; }
.tag__prices { display: grid; grid-template-columns: 1fr 1fr; margin: 4px 0 8px; border-top: 2px dashed var(--paper-line); padding-top: 12px; }
.tag__prices--one { grid-template-columns: 1fr; }
.tag__prices div + div { border-left: 2px dashed var(--paper-line); padding-left: 12px; }
.tag__prices dt { font-size: 12px; color: var(--ink-muted); }
.tag__prices dd { margin: 0; font: 700 21px/1.2 var(--display); letter-spacing: -0.02em; white-space: nowrap; }
.tag__prices small { font: 500 12px var(--body); color: var(--ink-muted); }
.tag--hit { box-shadow: 0 0 0 4px var(--yellow); }

.extras { margin-top: clamp(48px, 6vw, 72px); display: grid; grid-template-columns: .7fr 1.3fr; gap: 24px 48px; align-items: start; }
.extras__head p { color: var(--muted); margin-top: 10px; }
.extras__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px; }
.extras__list li { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.extras__name { flex: 1; font-size: 15px; line-height: 1.35; }
.extras__name small, .extras__price small { display: block; color: var(--muted); font-size: 13px; font-weight: 400; }
.extras__price { font-weight: 700; white-space: nowrap; text-align: right; }
.pm { flex: none; width: 36px; height: 36px; border-radius: 50%; border: 2px solid var(--yellow); background: transparent; color: var(--yellow); cursor: pointer; font-size: 20px; line-height: 1; font-weight: 600; }
.pm:hover { background: var(--yellow); color: var(--ink); }

/* ---------- order ---------- */
.order__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.order__intro { position: sticky; top: 100px; }
.order__intro > p { margin: 18px 0 28px; font-size: 17px; max-width: 42ch; color: var(--muted); }
.terms { margin: 0; display: grid; gap: 14px; }
.terms div { border-top: 2px solid var(--yellow); padding-top: 10px; display: grid; grid-template-columns: 110px 1fr; gap: 12px; }
.terms dt { font-weight: 700; }
.terms dd { margin: 0; color: var(--muted); }
.calc { background: var(--paper); color: var(--ink); border-radius: 22px; padding: clamp(20px, 3vw, 32px); box-shadow: 10px 10px 0 var(--yellow); display: grid; gap: 24px; }
.calc fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.calc legend { font: 700 18px/1.2 var(--display); padding: 0; margin-bottom: 12px; }
.calc__row { display: grid; grid-template-columns: auto 1fr; gap: 16px 24px; }
.calc__items { list-style: none; margin: 0 0 10px; padding: 0; }
.calc__items li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--paper-line); font-size: 15px; line-height: 1.35; }
.calc__empty { color: var(--ink-muted); font-size: 15px; margin-bottom: 10px; }
.qty { display: inline-flex; align-items: center; gap: 4px; flex: none; }
.qty b { min-width: 24px; text-align: center; }
.qty button, .stepper button { width: 38px; height: 38px; border-radius: 50%; border: 2px solid var(--ink); background: #fff; cursor: pointer; font-size: 18px; font-weight: 600; line-height: 1; color: var(--ink); }
.qty button:hover, .stepper button:hover { background: var(--yellow); }
select, input[type="text"], input[type="date"] { width: 100%; min-height: 50px; border: 2px solid #8A8F98; border-radius: 12px; padding: 0 14px; background: #fff; color: var(--ink); }
select:focus, input:focus { border-color: var(--ink); outline: none; box-shadow: 0 0 0 3px var(--yellow); }
input[aria-invalid="true"] { border-color: #C62828; }
.field { display: grid; gap: 6px; align-content: start; }
.field__l { font-size: 14px; font-weight: 600; }
.field__err { color: #C62828; font-size: 14px; }
.stepper { display: inline-flex; align-items: center; gap: 10px; min-height: 50px; }
.stepper output { font: 700 22px var(--display); min-width: 34px; text-align: center; }
.seg { display: flex; flex-wrap: wrap; gap: 6px; }
.seg label { cursor: pointer; }
.seg input { position: absolute; opacity: 0; }
.seg > label > span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border: 2px solid #8A8F98; border-radius: 999px; font-size: 14px; font-weight: 600; }
.seg input:checked + span { border-color: var(--ink); background: var(--yellow); }
.seg input:focus-visible + span { outline: 3px solid var(--ink); outline-offset: 2px; }
.calc__sum { background: #F1F2F3; border-radius: 14px; padding: 16px 18px; }
.calc__lines { list-style: none; margin: 0 0 8px; padding: 0; font-size: 14px; color: var(--ink-muted); }
.calc__lines li { display: flex; justify-content: space-between; gap: 12px; padding: 4px 0; }
.calc__lines b { color: var(--ink); white-space: nowrap; font-weight: 600; }
.calc__lines .is-disc, .calc__lines .is-disc b { color: #1B7A43; }
.calc__total { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; border-top: 2px solid var(--ink); padding-top: 10px; }
.calc__total span { font-weight: 600; }
.calc__total b { font: 800 30px/1 var(--display); letter-spacing: -0.02em; }
.calc__note { font-size: 13px; color: var(--ink-muted); margin-top: 8px; }
.calc__send { display: grid; gap: 10px; }
.calc__status { font-size: 15px; }
.calc__status.is-ok { color: #1B7A43; font-weight: 600; }
.calc__status.is-err { color: #C62828; font-weight: 600; }
.calc__small { font-size: 14px; color: var(--ink-muted); text-align: center; }
.calc__small a { color: var(--ink); font-weight: 700; }

/* ---------- how ---------- */
.how { background: var(--bg-2); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; position: relative; }
.steps::before { content: ''; position: absolute; left: 28px; right: 28px; top: 27px; height: 3px; background: var(--yellow); }
.steps li { position: relative; }
.steps__n { display: grid; place-items: center; width: 56px; height: 56px; background: var(--yellow); color: var(--ink); font: 800 24px var(--display); margin-bottom: 18px; position: relative; }
.steps h3 { font: 700 18px/1.25 var(--display); margin-bottom: 8px; }
.steps p { color: var(--muted); font-size: 15px; max-width: 30ch; }
.how__b2b { margin-top: 40px; padding: 18px 22px; border-left: 6px solid var(--yellow); background: var(--panel); border-radius: 0 12px 12px 0; max-width: 760px; }

/* ---------- guide ---------- */
.guide__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 72px); align-items: center; }
.guide__media img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 22px; }
.guide__steps { margin: 26px 0 30px; padding: 0; list-style: none; counter-reset: g; }
.guide__steps li { counter-increment: g; position: relative; padding: 14px 0 14px 54px; border-top: 1px solid var(--line); color: var(--muted); }
.guide__steps li::before { content: counter(g); position: absolute; left: 0; top: 12px; width: 36px; height: 36px; border-radius: 50%; background: var(--yellow); color: var(--ink); font: 800 16px/36px var(--display); text-align: center; }
.guide__steps b { color: #fff; }

/* ---------- bonus ---------- */
.bonus { background: var(--bg-2); }
.bonus__grid { display: grid; grid-template-columns: .6fr 1.4fr; gap: 20px 48px; align-items: start; }
.bonus__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.bonus__list li { padding: 20px; background: var(--panel); border-radius: 16px; display: grid; gap: 8px; align-content: start; color: var(--muted); }
.bonus__list b { font: 800 34px/1 var(--display); color: var(--yellow); letter-spacing: -0.02em; }

/* ---------- faq ---------- */
.faq__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 20px 48px; }
.faq__list details { border-bottom: 1px solid var(--line); }
.faq__list details:first-child { border-top: 1px solid var(--line); }
.faq__list summary { list-style: none; cursor: pointer; padding: 20px 52px 20px 0; font-weight: 600; font-size: 18px; position: relative; }
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary::after { content: '+'; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); width: 34px; height: 34px; border-radius: 50%; background: var(--yellow); color: var(--ink); display: grid; place-items: center; font-size: 22px; font-weight: 500; transition: transform .2s; }
.faq__list details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq__list details p { padding: 0 52px 22px 0; color: var(--muted); }

/* ---------- final ---------- */
.final { background: var(--bg-2); padding: clamp(56px, 8vw, 100px) 0; border-top: 6px solid var(--yellow); }
.final__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 32px; align-items: end; }
.final__title { font: 800 clamp(34px, 5.6vw, 68px)/1.04 var(--display); letter-spacing: -0.035em; }
.final__title span { color: var(--yellow); display: block; }
.final__logo { display: block; width: min(100%, 460px); height: auto; margin: 0 0 14px -6px; }
.final__sub { color: var(--muted); margin-top: 18px; max-width: 48ch; }
.final__phone { display: block; font: 700 clamp(26px, 3.4vw, 40px)/1.1 var(--display); color: var(--yellow); text-decoration: none; margin-bottom: 18px; letter-spacing: -0.02em; }
.final__msg { display: flex; flex-wrap: wrap; gap: 10px; }

.foot { background: var(--bg-2); color: #8D919A; border-top: 1px solid var(--line); padding: 28px 0 110px; font-size: 14px; }
.foot__in { display: flex; flex-wrap: wrap; gap: 10px 28px; align-items: center; }

/* ---------- toast & mobile bar ---------- */
.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 140%); background: var(--paper); color: var(--ink); border-radius: 999px; padding: 10px 10px 10px 20px; display: flex; gap: 14px; align-items: center; z-index: 60; font-size: 15px; transition: transform .25s, visibility .25s; max-width: calc(100% - 32px); box-shadow: 0 6px 24px rgba(0,0,0,.4); visibility: hidden; }
.toast.is-on { transform: translate(-50%, 0); visibility: visible; }
.toast span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.toast a { flex: none; background: var(--yellow); color: var(--ink); text-decoration: none; font-weight: 600; padding: 8px 14px; border-radius: 999px; }
.mbar { display: none; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .grid-tags { grid-template-columns: repeat(3, 1fr); }
  .nav { gap: 16px; }
  .top__phone { display: none; }
  .bonus__list { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .burger { display: block; }
  .nav { position: fixed; inset: 72px 0 auto 0; flex-direction: column; gap: 0; background: var(--bg-2); padding: 8px 20px 20px; border-bottom: 3px solid var(--yellow); transform: translateY(-120%); visibility: hidden; transition: transform .25s, visibility .25s; }
  .nav a { padding: 14px 0; font-size: 18px; border-bottom: 1px solid var(--line); color: #fff; }
  .nav-open .nav { transform: none; visibility: visible; }
  .top__cta { margin-left: auto; }
  .hero__grid, .order__grid, .guide__grid, .bonus__grid, .faq__grid, .final__grid, .extras { grid-template-columns: 1fr; }
  .order__intro { position: static; }
  .grid-tags { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr 1fr; gap: 32px 20px; }
  .steps::before { display: none; }
  .hero::before { width: 90vw; height: 90vw; right: -45vw; top: -10vw; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .top__in { height: 64px; gap: 12px; }
  .nav { inset: 64px 0 auto 0; }
  html { scroll-padding-top: 76px; }
  .top .btn--sm { display: none; }
  .logo img { height: 36px; }
  .hero__actions .btn { width: 100%; }
  .hero::before { top: auto; bottom: 60px; right: -50vw; width: 110vw; height: 110vw; }
  .grid-tags { grid-template-columns: 1fr; gap: 28px; }
  .extras__list { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .calc { box-shadow: 6px 6px 0 var(--yellow); }
  .calc__row { grid-template-columns: 1fr; }
  .terms div { grid-template-columns: 1fr; gap: 2px; }
  .mbar { display: flex; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); background: rgba(38,39,43,.96); border-top: 1px solid var(--line); backdrop-filter: blur(8px); }
  .mbar__ic { flex: none; width: 52px; height: 52px; border-radius: 50%; background: var(--yellow); display: grid; place-items: center; }
  .mbar__ic svg { width: 22px; height: 22px; fill: var(--ink); }
  .mbar__go { flex: 1; padding: 0 10px; font-size: 15px; }
  .toast { bottom: calc(88px + env(safe-area-inset-bottom)); }
  html { scroll-padding-bottom: 100px; }
  .faq__list summary { font-size: 17px; }
}

/* ---------- каталог: фото кликабельно ---------- */
.tag__pic { border: 0; background: none; padding: 0; cursor: zoom-in; border-radius: 12px; font: inherit; }
.tag__pic img { transition: transform .2s; }
.tag__pic:hover img { transform: scale(1.04); }
.tag__more { align-self: flex-start; background: none; border: 0; padding: 2px 0; font: 600 14px/1.3 var(--body); color: var(--ink); text-decoration: underline; text-decoration-color: var(--yellow); text-decoration-thickness: 3px; text-underline-offset: 4px; cursor: pointer; }
.tag__more:hover { text-decoration-color: var(--ink); }

/* ---------- до и после ---------- */
.results__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.res { display: grid; gap: 10px; align-content: start; }
.res--pair { grid-column: span 2; }
.res--video { grid-row: span 2; }
.res__pair { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.res__img { position: relative; display: block; width: 100%; padding: 0; border: 0; background: var(--bg-2); border-radius: 16px; overflow: hidden; cursor: zoom-in; }
.res__img img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; object-position: 50% 50%; display: block; border-radius: 16px; }
.res video { width: 100%; aspect-ratio: 9 / 16; object-fit: cover; display: block; border-radius: 16px; background: var(--bg-2); }
.res--pair .res__img img { aspect-ratio: 4 / 5; }
.res__img:hover img { transform: scale(1.03); }
.res__img img { transition: transform .25s; }
.res__tag { position: absolute; left: 10px; top: 10px; background: var(--ink); color: #fff; font: 700 13px/1 var(--display); padding: 7px 10px; border-radius: 8px; text-transform: uppercase; letter-spacing: .04em; }
.res__tag--after { background: var(--yellow); color: var(--ink); }
.res p { color: var(--muted); font-size: 15px; line-height: 1.4; }

/* ---------- окно (подробно / фото крупно) ---------- */
.dlg { width: min(920px, calc(100% - 24px)); max-height: calc(100% - 24px); padding: 0; border: 0; border-radius: 22px; background: var(--paper); color: var(--ink); box-shadow: 0 20px 60px rgba(0,0,0,.5); overflow: hidden; }
.dlg::backdrop { background: rgba(10,10,12,.75); }
.dlg[open] { display: flex; flex-direction: column; }
.dlg__body { overflow-y: auto; padding: clamp(20px, 3vw, 32px); }
.dlg__x { position: absolute; right: 12px; top: 12px; z-index: 2; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--ink); color: #fff; font-size: 26px; line-height: 1; cursor: pointer; }
.dlg :focus-visible { outline-color: var(--ink); }
.eqd { display: grid; grid-template-columns: .85fr 1.15fr; gap: 28px; align-items: start; }
.eqd__pic { position: relative; background: #F4F5F6; border-radius: 18px; padding: 20px; display: grid; place-items: center; }
.eqd__pic img { max-height: 340px; width: auto; max-width: 100%; object-fit: contain; }
.eqd__pic .tag__label { top: 16px; left: 0; right: auto; border-radius: 0 8px 8px 0; }
.eqd__name { font: 700 clamp(21px, 2.6vw, 27px)/1.2 var(--display); letter-spacing: -0.01em; padding-right: 40px; margin-bottom: 8px; }
.eqd__text { margin-bottom: 4px; }
.eqd__h { font: 700 17px/1.3 var(--display); margin: 18px 0 6px; }
.eqd__specs { margin: 0; display: grid; }
.eqd__specs div { display: flex; justify-content: space-between; gap: 16px; padding: 8px 0; border-bottom: 1px dashed var(--paper-line); font-size: 15px; }
.eqd__specs dt { color: var(--ink-muted); }
.eqd__specs dd { margin: 0; font-weight: 600; text-align: right; }
.eqd__src { font-size: 12px; color: var(--ink-muted); margin-top: 6px; }
.eqd__act { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.zoom img { width: 100%; max-height: 72vh; object-fit: contain; border-radius: 14px; background: #F4F5F6; }
.zoom figcaption { margin-top: 12px; padding-right: 40px; font-weight: 600; }

/* ---------- WhatsApp / MAX ---------- */
.calc__btns { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.top__max { border-color: rgba(255,255,255,.55); }
.hero .btn--line, .mbar__max { background: var(--bg); }
.toast--wrap { border-radius: 16px; padding: 12px 18px; }
.toast--wrap span { white-space: normal; }

@media (max-width: 900px) {
  .results__list { grid-template-columns: 1fr 1fr; }
  .eqd { grid-template-columns: 1fr; }
  .eqd__pic img { max-height: 220px; }
  .hero__media { max-width: 380px; }
  .hero__chip { left: -8px; }
}
@media (max-width: 640px) {
  .results__list { grid-template-columns: 1fr 1fr; gap: 14px; }
  .res p { font-size: 13px; }
  .calc__btns { grid-template-columns: 1fr; }
  .hero__media { max-width: 320px; margin-top: 8px; }
  .hero__media img { box-shadow: 8px 10px 0 var(--ink); }
  .hero__chip { position: static; max-width: none; margin-top: 18px; }
  .mbar__max { flex: none; padding: 0 16px; font-size: 15px; border-color: var(--yellow); color: var(--yellow); }
  .dlg { width: 100%; max-width: none; max-height: 100%; height: 100%; border-radius: 0; margin: 0; }
}
/* «или позвоните» под кнопками первого экрана */
.hero__call { flex-basis: 100%; color: var(--muted); text-decoration: none; font-size: 16px; margin-top: 2px; }
.hero__call b { color: var(--yellow); white-space: nowrap; }
.hero__call:hover b { text-decoration: underline; }
@media (max-width: 640px) { .hero__call { text-align: center; } }
