/* ============ ТОКЕНЫ ============ */
:root {
  --bg: #F3F1EC;
  --surface: #FFFFFF;
  --ink: #111315;
  --muted: #474C52;
  --line: #DCD8CF;
  --accent: #0B7A83;
  --accent-ink: #075B62;
  --accent-soft: #D7ECEC;
  --dark: #15181B;

  --f-head: "Unbounded", system-ui, sans-serif;
  --f-body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;

  --step-hero: clamp(2rem, 0.9rem + 3.6vw, 4.2rem);
  --step-h2: clamp(1.6rem, 0.9rem + 2vw, 2.7rem);
  --step-h3: clamp(1.1rem, 1rem + 0.4vw, 1.35rem);
  --step-body: clamp(1rem, 0.95rem + 0.2vw, 1.125rem);
  --step-small: 0.9rem;

  --space-section: clamp(4.5rem, 3rem + 6vw, 9.5rem);
  --radius: 18px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  background: var(--bg);
  color: var(--ink);
  font: var(--step-body)/1.6 var(--f-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 clamp(1rem, 4vw, 2rem); }
section { padding-block: var(--space-section); }
h1, h2, h3 { font-family: var(--f-head); font-weight: 700; }
h1 { font-size: var(--step-hero); line-height: 1.04; letter-spacing: -0.035em; }
h2 { font-size: var(--step-h2); line-height: 1.1; letter-spacing: -0.03em; }
h3 { font-size: var(--step-h3); line-height: 1.25; letter-spacing: -0.01em; font-weight: 600; }
p { max-width: 62ch; color: var(--muted); }
.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: var(--step-small); font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--accent-ink);
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: currentColor; }
.section-head { display: grid; gap: 1rem; margin-bottom: clamp(2rem, 4vw, 3.5rem); }
.section-head p { font-size: 1.1rem; }

/* ============ КНОПКИ ============ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  padding: 1.05rem 1.8rem;
  background: var(--accent); color: #fff;
  border: 0; border-radius: 12px;
  font: 700 1rem/1 var(--f-body);
  text-decoration: none; cursor: pointer;
  box-shadow: 0 6px 18px -8px rgba(11,122,131,.7);
  transition: transform .25s var(--ease), background .25s var(--ease), box-shadow .25s var(--ease);
}
.btn:hover { background: var(--accent-ink); transform: translateY(-2px); box-shadow: 0 12px 24px -10px rgba(11,122,131,.8); }
.btn:active { transform: translateY(0); }
.btn svg { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn--ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn--ghost:hover { background: var(--ink); color: #fff; box-shadow: inset 0 0 0 1.5px var(--ink); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

/* ============ ШАПКА ============ */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(243,241,236,.88);
  backdrop-filter: saturate(1.4) blur(12px);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  transition: box-shadow .3s var(--ease);
}
.header.is-scrolled { box-shadow: 0 1px 0 var(--line); }
.header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1.2rem; height: 72px; }
.logo { display: flex; align-items: center; gap: .6rem; text-decoration: none; font: 700 1.2rem/1 var(--f-head); letter-spacing: -.02em; }
.logo-mark { width: 36px; height: 36px; border-radius: 10px; background: var(--ink); display: grid; place-items: center; flex: none; }
.logo-mark svg { width: 20px; height: 20px; }
.logo small { font: 600 .72rem/1.2 var(--f-body); color: var(--muted); letter-spacing: 0; display: block; margin-top: 3px; }
.nav { display: flex; gap: 1.6rem; }
.nav a { text-decoration: none; font-weight: 600; font-size: .95rem; position: relative; white-space: nowrap; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 2px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.nav a:hover::after { transform: scaleX(1); }
.header-right { display: flex; align-items: center; gap: 1rem; }
.phone { text-decoration: none; font-weight: 700; white-space: nowrap; }
.phone span { display: block; font-size: .72rem; font-weight: 600; color: var(--muted); }
.header .btn { padding: .8rem 1.2rem; font-size: .92rem; white-space: nowrap; }

/* переключатель языков */
.lang { display: flex; background: #E6E2DA; border-radius: 10px; padding: 3px; }
.lang button {
  font: 700 .78rem/1 var(--f-body); letter-spacing: .03em;
  padding: .5rem .6rem; border: 0; border-radius: 8px; background: transparent; color: var(--muted); cursor: pointer;
  transition: background .2s var(--ease), color .2s var(--ease);
}
.lang button:hover { color: var(--ink); }
.lang button[aria-pressed="true"] { background: var(--surface); color: var(--ink); box-shadow: 0 1px 3px rgba(0,0,0,.12); }

/* ============ HERO ============ */
.hero { padding-block: clamp(2.5rem, 2rem + 4vw, 5.5rem) var(--space-section); }
.hero .wrap { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.hero h1 { margin-top: 1.2rem; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero-lead { font-size: clamp(1.05rem, 1rem + .35vw, 1.25rem); margin: 1.6rem 0 2.2rem; color: var(--muted); }
.hero-cta { display: flex; flex-wrap: wrap; gap: .8rem; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 2.2rem; margin-top: 3rem; padding-top: 1.8rem; border-top: 1px solid var(--line); }
.hero-facts b { display: block; font: 700 1.5rem/1.1 var(--f-head); letter-spacing: -.03em; }
.hero-facts span { font-size: .88rem; color: var(--muted); }

.stage { position: relative; aspect-ratio: 4/5; max-width: 460px; margin-left: auto; width: 100%; }
.door {
  position: absolute; inset: 0 8% 0 0;
  border-radius: 26px;
  background:
    linear-gradient(90deg, rgba(0,0,0,.05) 1px, transparent 1px) 0 0/28px 100%,
    linear-gradient(160deg, #8A6A4F, #6B5039 60%, #5A4230);
  box-shadow: inset 0 0 0 10px rgba(0,0,0,.08), 0 40px 80px -40px rgba(40,25,10,.55);
}
.door::after { content: ""; position: absolute; inset: 7% 9%; border-radius: 14px; box-shadow: inset 0 0 0 2px rgba(255,255,255,.08), inset 0 0 0 10px rgba(0,0,0,.06); }
.lock {
  position: absolute; top: 20%; right: 18%;
  width: 38%; aspect-ratio: 1/2.7;
  border-radius: 22px;
  background: linear-gradient(180deg, #23272B, #0E1012);
  box-shadow: 0 30px 50px -20px rgba(0,0,0,.7), inset 0 1px 0 rgba(255,255,255,.12);
  padding: 12% 10%;
  display: flex; flex-direction: column; align-items: center; gap: 7%;
}
.lock-screen { width: 100%; height: 11%; border-radius: 8px; background: #06090A; display: flex; align-items: center; justify-content: center; gap: 6%; }
.lock-screen i { width: 8%; aspect-ratio: 1; border-radius: 50%; background: #2A3136; transition: background .2s; }
.lock-screen i.on { background: #45D3DC; box-shadow: 0 0 8px #45D3DC; }
.lock.open .lock-screen i { background: #58E08A; box-shadow: 0 0 8px #58E08A; }
.keypad { width: 100%; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8% 10%; }
.keypad span { font: 600 clamp(.6rem, .4rem + .5vw, .85rem)/1 var(--f-body); color: #7FDDE3; text-align: center; opacity: .75; text-shadow: 0 0 6px rgba(69,211,220,.6); }
.finger { width: 48%; aspect-ratio: 1; border-radius: 50%; background: #0A0C0D; display: grid; place-items: center; box-shadow: inset 0 0 0 2px #2B3236; margin-top: auto; }
.finger svg { width: 62%; }
.handle {
  position: absolute; top: 66%; right: -2%;
  width: 46%; height: 5.5%;
  border-radius: 999px; background: linear-gradient(180deg, #3A4045, #151819);
  box-shadow: 0 10px 20px -8px rgba(0,0,0,.7);
  transform-origin: 90% 50%;
  transition: transform .5s var(--ease);
}
.lock.open ~ .handle { transform: rotate(-14deg); }
.toast {
  position: absolute; left: -6%; bottom: 12%;
  background: var(--surface); border-radius: 16px; padding: .9rem 1.1rem;
  display: flex; gap: .8rem; align-items: center;
  box-shadow: 0 24px 48px -18px rgba(17,19,21,.35), 0 0 0 1px rgba(17,19,21,.04);
  min-width: 230px;
  transition: transform .5s var(--ease), opacity .5s var(--ease);
}
.toast.hide { opacity: 0; transform: translateY(10px); }
.toast-ic { width: 38px; height: 38px; border-radius: 11px; background: var(--accent-soft); display: grid; place-items: center; flex: none; }
.toast-ic svg { width: 20px; height: 20px; }
.toast b { display: block; font-size: .92rem; }
.toast small { color: var(--muted); font-size: .8rem; }
.chip {
  position: absolute; top: 7%; left: -4%;
  background: var(--ink); color: #fff; border-radius: 999px;
  padding: .55rem 1rem; font-size: .82rem; font-weight: 600;
  display: flex; align-items: center; gap: .5rem;
  box-shadow: 0 14px 30px -14px rgba(0,0,0,.6);
}
.chip b { color: #7FDDE3; }

/* ============ БОЛЬ ============ */
.pains { display: grid; grid-template-columns: repeat(12, 1fr); gap: 1rem; }
.pain { background: var(--surface); border-radius: var(--radius); padding: clamp(1.4rem, 3vw, 2.2rem); display: flex; flex-direction: column; gap: .8rem; border: 1px solid var(--line); }
.pain:nth-child(1) { grid-column: span 7; }
.pain:nth-child(2) { grid-column: span 5; background: var(--ink); color: #fff; border-color: var(--ink); }
.pain:nth-child(2) p { color: #B9BEC3; }
.pain:nth-child(3) { grid-column: span 5; }
.pain:nth-child(4) { grid-column: span 7; }
.pain-n { font: 700 .85rem/1 var(--f-head); color: var(--accent); }
.pain:nth-child(2) .pain-n { color: #7FDDE3; }
.pain h3 { font-size: clamp(1.2rem, 1rem + .7vw, 1.6rem); }

/* ============ СПОСОБЫ ОТКРЫТИЯ ============ */
.methods { background: var(--dark); color: #fff; border-radius: clamp(20px, 3vw, 36px); margin-inline: clamp(.5rem, 2vw, 1.5rem); }
.methods h2 { color: #fff; }
.methods .eyebrow { color: #7FDDE3; }
.methods .section-head p { color: #B9BEC3; }
.method-list { display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid #2E3439; }
.method { padding: 1.8rem 1.4rem 1.8rem 0; border-right: 1px solid #2E3439; display: grid; gap: .8rem; align-content: start; }
.method:last-child { border-right: 0; }
.method + .method { padding-left: 1.4rem; }
.method svg { width: 34px; height: 34px; color: #7FDDE3; }
.method b { font: 600 1.05rem/1.25 var(--f-head); }
.method span { color: #B9BEC3; font-size: .95rem; line-height: 1.5; }
.methods-note { margin-top: 2.5rem; color: #B9BEC3; }
.methods-note strong { color: #fff; }

/* ============ КАТАЛОГ ============ */
.filter { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2rem; }
.filter button {
  font: 600 .95rem/1 var(--f-body); padding: .75rem 1.2rem; border-radius: 999px;
  border: 1.5px solid var(--line); background: transparent; color: var(--ink); cursor: pointer;
  transition: background .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease);
}
.filter button:hover { border-color: var(--ink); }
.filter button[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.filter .count { opacity: .55; margin-left: .3rem; font-weight: 700; }
.catalog { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.card {
  background: var(--surface); border-radius: var(--radius); border: 1px solid var(--line);
  display: flex; flex-direction: column; overflow: hidden;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: 0 24px 50px -30px rgba(17,19,21,.4); }
.card[hidden] { display: none; }
.card--hit { grid-column: span 2; flex-direction: row; }
.card-img { position: relative; background: #fff; aspect-ratio: 4/3; display: grid; place-items: center; border-bottom: 1px solid var(--line); overflow: hidden; }
.card-img img { width: 100%; height: 100%; object-fit: contain; padding: 6%; transition: transform .5s var(--ease); }
.card:hover .card-img img { transform: scale(1.04); }
.card--hit .card-img { aspect-ratio: auto; flex: 1 1 50%; min-height: 340px; border-bottom: 0; border-right: 1px solid var(--line); }
.card-img .mini { width: 22%; aspect-ratio: 1/2.8; border-radius: 12px; background: linear-gradient(180deg, #2A2F33, #0E1012); box-shadow: 0 20px 30px -14px rgba(0,0,0,.55); position: relative; }
.card-img .mini::before { content: ""; position: absolute; left: 22%; right: 22%; top: 12%; height: 30%; border-radius: 6px; background: repeating-linear-gradient(0deg, transparent 0 7px, rgba(127,221,227,.35) 7px 9px); }
.card-img .mini::after { content: ""; position: absolute; right: -70%; top: 52%; width: 110%; height: 7%; border-radius: 99px; background: #1b1f22; }
.badge { position: absolute; top: 14px; left: 14px; z-index: 1; background: var(--ink); color: #fff; font-size: .75rem; font-weight: 700; padding: .35rem .7rem; border-radius: 999px; letter-spacing: .02em; }
.badge--accent { background: var(--accent); }
.brand { position: absolute; top: 14px; right: 14px; z-index: 1; font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.card-body { padding: 1.3rem 1.3rem 1.4rem; display: flex; flex-direction: column; gap: .7rem; flex: 1; }
.card--hit .card-body { padding: clamp(1.5rem, 3vw, 2.5rem); flex: 1 1 50%; justify-content: center; }
.card--hit h3 { font-size: clamp(1.4rem, 1rem + 1vw, 2rem); }
.tags { display: flex; flex-wrap: wrap; gap: .4rem; }
.tags span { font-size: .76rem; font-weight: 600; padding: .3rem .55rem; border-radius: 8px; background: var(--bg); color: var(--muted); }
.card p { font-size: .95rem; }
.price-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; margin-top: auto; padding-top: .8rem; }
.price b { font: 700 1.4rem/1 var(--f-head); letter-spacing: -.03em; display: block; }
.price small { color: var(--muted); font-size: .8rem; }
.card-link { font-weight: 700; color: var(--accent-ink); text-decoration: none; font-size: .95rem; white-space: nowrap; }
.card-link:hover { text-decoration: underline; text-underline-offset: 3px; }
.catalog-note { margin-top: 1.5rem; font-size: .95rem; }

/* ============ УМНЫЙ ДОМ ============ */
.home-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.tile { background: var(--bg); padding: 2rem 1.7rem; display: grid; gap: .7rem; align-content: start; transition: background .3s var(--ease); }
.tile:hover { background: var(--surface); }
.tile svg { width: 36px; height: 36px; color: var(--accent); }
.tile p { font-size: .96rem; }
.tile .tag { justify-self: start; font-size: .75rem; font-weight: 700; padding: .3rem .6rem; border-radius: 999px; background: var(--accent-soft); color: var(--accent-ink); }
.tile .tag--muted { background: #E6E2DA; color: var(--muted); }

/* ============ ПРОЦЕСС ============ */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; counter-reset: s; }
.step { position: relative; padding-top: 3.8rem; }
.step::before { counter-increment: s; content: "0" counter(s); position: absolute; top: 0; left: 0; font: 700 2.4rem/1 var(--f-head); color: transparent; -webkit-text-stroke: 1.5px var(--ink); letter-spacing: -.04em; }
.step::after { content: ""; position: absolute; top: 1.2rem; left: 5rem; right: -1rem; height: 1px; background: var(--line); }
.step:last-child::after { display: none; }
.step h3 { margin-bottom: .5rem; }
.step p { font-size: .96rem; }

/* ============ ГЕОГРАФИЯ ============ */
.geo { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.geo-box { background: var(--surface); border-radius: var(--radius); border: 1px solid var(--line); padding: clamp(1.5rem, 3vw, 2.5rem); }
.geo-box--kz { background: var(--accent); color: #fff; border-color: var(--accent); }
.geo-box--kz p { color: #D8F0F1; }
.geo-box h3 { font-size: clamp(1.3rem, 1rem + 1vw, 1.8rem); margin-bottom: .6rem; }
.cities { display: flex; flex-wrap: wrap; gap: .45rem; margin-top: 1.4rem; }
.cities span { padding: .45rem .8rem; border-radius: 999px; font-size: .88rem; font-weight: 600; background: rgba(255,255,255,.14); }
.cities span.main { background: #fff; color: var(--accent-ink); }
.geo-box:not(.geo-box--kz) .cities span { background: var(--bg); }
.pay { margin-top: 1.2rem; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.pay > div { padding: 1.4rem; border-radius: var(--radius); border: 1px dashed #C9C4B9; }
.pay b { display: block; margin-bottom: .3rem; }
.pay span { font-size: .92rem; color: var(--muted); }

/* ============ ГАРАНТИЯ ============ */
.offer { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.offer h2 { margin: 1rem 0 1.2rem; }
.offer-list { display: grid; border-top: 1.5px solid var(--ink); }
.offer-list li { list-style: none; display: grid; grid-template-columns: 3rem 1fr; gap: 1rem; padding: 1.3rem 0; border-bottom: 1px solid var(--line); }
.offer-list svg { width: 28px; height: 28px; color: var(--accent); }
.offer-list b { display: block; font-size: 1.08rem; }
.offer-list span { color: var(--muted); font-size: .96rem; }

/* ============ FAQ ============ */
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.faq-grid .section-head { position: sticky; top: 110px; }
details { border-bottom: 1px solid var(--line); }
details:first-of-type { border-top: 1px solid var(--line); }
summary { list-style: none; cursor: pointer; padding: 1.4rem 3rem 1.4rem 0; position: relative; font-weight: 700; font-size: 1.08rem; }
summary::-webkit-details-marker { display: none; }
summary::after { content: ""; position: absolute; right: .4rem; top: 50%; width: 14px; height: 14px; margin-top: -9px; border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: rotate(45deg); transition: transform .3s var(--ease); }
details[open] summary::after { transform: rotate(-135deg); margin-top: -3px; }
details p { padding-bottom: 1.4rem; }

/* ============ ФОРМА ============ */
.final { background: var(--dark); color: #fff; }
.final .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.final h2 { color: #fff; margin-top: 1rem; }
.final .eyebrow { color: #7FDDE3; }
.final p { color: #B9BEC3; margin-top: 1.2rem; }
.contacts { margin-top: 2rem; display: grid; gap: .8rem; }
.contacts a, .contacts div { text-decoration: none; display: inline-flex; gap: .7rem; align-items: flex-start; font-weight: 700; }
.contacts div { font-weight: 500; color: #B9BEC3; }
.contacts a:hover { color: #7FDDE3; }
.contacts svg { width: 20px; height: 20px; color: #7FDDE3; flex: none; margin-top: 2px; }
.form { background: var(--surface); color: var(--ink); border-radius: 22px; padding: clamp(1.5rem, 3vw, 2.4rem); display: grid; gap: 1rem; box-shadow: 0 40px 80px -40px rgba(0,0,0,.8); }
.form h3 { font-size: 1.3rem; }
.field { display: grid; gap: .4rem; }
.field > label, .field > span { font-size: .85rem; font-weight: 700; }
.field input, .field select {
  font: 500 1rem/1.2 var(--f-body); color: var(--ink);
  padding: .95rem 1rem; border-radius: 12px; border: 1.5px solid var(--line); background: var(--bg);
  transition: border-color .2s var(--ease), background .2s var(--ease);
  width: 100%;
}
.field input:focus, .field select:focus { outline: none; border-color: var(--accent); background: #fff; }
.field input.err { border-color: #C23B3B; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; }
.radios { display: flex; flex-wrap: wrap; gap: .4rem; }
.radios label { cursor: pointer; position: relative; }
.radios input { position: absolute; opacity: 0; pointer-events: none; }
.radios span { display: inline-block; padding: .6rem .9rem; border-radius: 10px; border: 1.5px solid var(--line); font-size: .9rem; font-weight: 600; transition: all .2s var(--ease); }
.radios input:checked + span { background: var(--ink); color: #fff; border-color: var(--ink); }
.radios input:focus-visible + span { outline: 3px solid var(--accent); outline-offset: 2px; }
.form .btn { width: 100%; padding: 1.15rem; font-size: 1.05rem; }
.form-note { font-size: .82rem; color: var(--muted); text-align: center; margin: 0 auto; }
.form-note.err { color: #C23B3B; }

/* ============ ФУТЕР ============ */
.footer { background: var(--dark); color: #8C9399; padding: 2.5rem 0 6rem; border-top: 1px solid #2A2F34; font-size: .88rem; }
.footer .wrap { display: flex; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; }
.footer a { text-decoration: none; }
.footer a:hover { color: #fff; }

.fab {
  position: fixed; right: 18px; bottom: 18px; z-index: 60;
  width: 58px; height: 58px; border-radius: 50%;
  background: #25D366; display: grid; place-items: center;
  box-shadow: 0 12px 28px -10px rgba(0,0,0,.45);
  transition: transform .25s var(--ease);
}
.fab:hover { transform: scale(1.07); }
.fab svg { width: 30px; height: 30px; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ============ АДАПТИВ ============ */
@media (max-width: 1140px) {
  .nav { display: none; }
}
@media (max-width: 1024px) {
  .method-list { grid-template-columns: repeat(3, 1fr); }
  .method:nth-child(3) { border-right: 0; }
  .method:nth-child(4) { padding-left: 0; }
  .method:nth-child(n+4) { border-top: 1px solid #2E3439; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .step:nth-child(2)::after { display: none; }
  .catalog, .home-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 820px) {
  .hero .wrap, .offer, .faq-grid, .final .wrap, .geo { grid-template-columns: 1fr; }
  .stage { margin: 1rem auto 0; max-width: 380px; }
  .pain:nth-child(n) { grid-column: span 12; }
  .card--hit { grid-column: span 2; flex-direction: column; }
  .card--hit .card-img { min-height: 260px; border-right: 0; border-bottom: 1px solid var(--line); }
  .faq-grid .section-head { position: static; }
  .pay { grid-template-columns: 1fr; }
  .phone { display: none; }
}
@media (max-width: 600px) {
  .catalog, .steps, .home-grid { grid-template-columns: 1fr; }
  .card--hit { grid-column: auto; }
  .method-list { grid-template-columns: 1fr 1fr; border-top: 0; }
  .method:nth-child(n) { border-right: 0; padding-left: 0; padding-right: 1rem; border-top: 1px solid #2E3439; }
  .step::after { display: none; }
  .row2 { grid-template-columns: 1fr; }
  .hero-facts { gap: 1.4rem; }
  .toast { left: 0; min-width: 0; }
  .chip { left: 0; }
  .header .btn { display: none; }
  .logo small { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}

/* ============ ССЫЛКИ В КАРТОЧКАХ ============ */
a.card-img { text-decoration: none; color: inherit; }
.card-title { text-decoration: none; }
.card-title:hover { color: var(--accent-ink); }

/* ============ СТРАНИЦА ТОВАРА ============ */
.crumbs { display: flex; flex-wrap: wrap; gap: .5rem; font-size: .88rem; color: var(--muted); padding-top: 1.5rem; }
.crumbs a { text-decoration: none; font-weight: 600; }
.crumbs a:hover { color: var(--accent-ink); }
.crumbs span[aria-hidden] { opacity: .5; }
.pp { padding-block: 1.5rem var(--space-section); }
.pp-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(1.5rem, 4vw, 4rem); align-items: start; }
.gallery { position: sticky; top: 90px; display: grid; gap: .8rem; }
.gallery-main { background: #fff; border: 1px solid var(--line); border-radius: 22px; aspect-ratio: 1; display: grid; place-items: center; overflow: hidden; }
.gallery-main img { width: 100%; height: 100%; object-fit: contain; padding: 6%; }
.thumbs { display: flex; gap: .6rem; flex-wrap: wrap; }
.thumbs button { width: 76px; height: 76px; border-radius: 12px; border: 1.5px solid var(--line); background: #fff; padding: 6px; cursor: pointer; transition: border-color .2s var(--ease); }
.thumbs button img { width: 100%; height: 100%; object-fit: contain; }
.thumbs button:hover { border-color: var(--muted); }
.thumbs button[aria-pressed="true"] { border-color: var(--accent); box-shadow: 0 0 0 2px var(--accent-soft); }
.pp-info { display: grid; gap: 1.2rem; }
.pp-brand { font-size: .8rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--accent-ink); }
.pp-info h1 { font-size: clamp(1.7rem, 1rem + 2.2vw, 2.8rem); line-height: 1.1; }
.pp-stock { display: inline-flex; align-items: center; gap: .45rem; font-size: .9rem; font-weight: 700; color: #1C7C3F; }
.pp-stock::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #25A55A; box-shadow: 0 0 0 4px rgba(37,165,90,.15); }
.pp-price { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; display: grid; gap: 1.1rem; }
.pp-price b { font: 700 clamp(2rem, 1.4rem + 1.6vw, 2.6rem)/1 var(--f-head); letter-spacing: -.03em; }
.pp-price small { display: block; color: var(--muted); font-size: .9rem; margin-top: .4rem; }
.pp-actions { display: flex; flex-wrap: wrap; gap: .6rem; }
.pp-actions .btn { flex: 1 1 200px; }
.pp-benefits { list-style: none; display: grid; gap: .55rem; font-size: .95rem; }
.pp-benefits li { display: flex; gap: .6rem; align-items: flex-start; }
.pp-benefits svg { width: 20px; height: 20px; color: var(--accent); flex: none; margin-top: 2px; }
.pp-block h2 { font-size: 1.25rem; margin-bottom: .8rem; }
.specs { display: grid; border-top: 1px solid var(--line); }
.specs div { display: grid; grid-template-columns: 42% 1fr; gap: 1rem; padding: .85rem 0; border-bottom: 1px solid var(--line); font-size: .96rem; }
.specs dt { color: var(--muted); }
.specs dd { font-weight: 600; }
.fit { background: var(--accent); color: #fff; border-radius: var(--radius); padding: 1.5rem; display: grid; gap: .7rem; }
.fit h2 { color: #fff; font-size: 1.2rem; margin: 0; }
.fit p { color: #D8F0F1; }
.fit .btn { background: #fff; color: var(--accent-ink); justify-self: start; box-shadow: none; }
.fit .btn:hover { background: var(--ink); color: #fff; }
.similar { padding-top: 0; }
.similar .catalog .card--hit { grid-column: auto; flex-direction: column; }
@media (max-width: 900px) {
  .pp-grid { grid-template-columns: 1fr; }
  .gallery { position: static; }
}
@media (max-width: 600px) {
  .thumbs button { width: 64px; height: 64px; }
  .specs div { grid-template-columns: 1fr; gap: .2rem; }
}
.tile-link { text-decoration: none; }
.tile-link:hover { color: var(--accent-ink); text-decoration: underline; text-underline-offset: 3px; }
