/* iShop11 — фирменный цвет Тиффани, как на вывеске магазина */

@font-face { font-family: Manrope; src: url(fonts/manrope-400-cyr.woff2) format('woff2'); font-weight: 400; font-display: swap; unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: Manrope; src: url(fonts/manrope-400-lat.woff2) format('woff2'); font-weight: 400; font-display: swap; 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+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD, U+20BD; }
@font-face { font-family: Manrope; src: url(fonts/manrope-600-cyr.woff2) format('woff2'); font-weight: 600; font-display: swap; unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: Manrope; src: url(fonts/manrope-600-lat.woff2) format('woff2'); font-weight: 600; font-display: swap; 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+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD, U+20BD; }
@font-face { font-family: Manrope; src: url(fonts/manrope-800-cyr.woff2) format('woff2'); font-weight: 800; font-display: swap; unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: Manrope; src: url(fonts/manrope-800-lat.woff2) format('woff2'); font-weight: 800; font-display: swap; 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+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD, U+20BD; }
@font-face { font-family: Unbounded; src: url(fonts/unbounded-700-cyr.woff2) format('woff2'); font-weight: 700; font-display: swap; unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: Unbounded; src: url(fonts/unbounded-700-lat.woff2) format('woff2'); font-weight: 700; font-display: swap; 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+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --brand: #0abab5;
  --brand-hi: #81d8d0;
  --brand-deep: #06817d;
  --brand-soft: #e3f7f5;
  --ink: #0b1416;
  --ink-2: #4a5759;
  --line: #e3e8e9;
  --bg: #f4f7f7;
  --card: #fff;
  --dark: #0b1416;
  --dark-2: #132124;
  --dark-line: #22363a;
  --ok: #18a46b;
  --mid: #e2a521;
  --low: #e0573a;
  --r: 24px;
  --display: Unbounded, 'Manrope', system-ui, sans-serif;
  --text: Manrope, -apple-system, 'Segoe UI', Roboto, sans-serif;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 400 16px/1.55 var(--text); color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select { font: inherit; color: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.08; letter-spacing: -.01em; }
h2 { font: 700 clamp(28px, 4.4vw, 48px)/1.08 var(--display); letter-spacing: -.02em; }
h3 { font-weight: 800; font-size: 18px; }
p { margin: 0; }
.wrap { width: min(1240px, 100% - 40px); margin-inline: auto; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 99; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 10px; }
.skip:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--brand-hi); outline-offset: 3px; }

/* ---------- Логотип ---------- */
.logo { display: inline-flex; align-items: center; font: 700 21px/1 var(--display); letter-spacing: -.03em; text-decoration: none; color: var(--ink); white-space: nowrap; }
.logo-i { display: grid; place-items: center; width: 1.45em; height: 1.45em; margin-right: .12em; border-radius: .42em; background: linear-gradient(140deg, var(--brand-hi), var(--brand) 55%, var(--brand-deep)); color: #fff; font-size: .9em; box-shadow: inset 0 -2px 0 rgba(0,0,0,.12); }
.logo-11 { margin-left: .1em; color: var(--brand); font-size: .62em; align-self: flex-start; margin-top: .05em; }
.logo-sm { font-size: 17px; }
.logo-xl { font-size: clamp(40px, 6vw, 64px); color: #fff; }

/* ---------- Кнопки ---------- */
.btn { --h: 50px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: var(--h); padding: 0 24px; border-radius: 999px; border: 0; font-weight: 800; font-size: 15px; text-decoration: none; cursor: pointer; transition: transform .15s ease, background .2s, box-shadow .2s, color .2s; white-space: nowrap; }
.btn:active { transform: scale(.97); }
.btn-main { background: var(--brand); color: var(--ink); box-shadow: 0 8px 24px -10px var(--brand); }
.btn-main:hover { background: var(--brand-hi); }
.btn-tg { background: var(--ink); color: #fff; }
.btn-tg::before { content: ''; width: 18px; height: 18px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M21.4 3.6 2.9 10.8c-1.2.5-1.2 1.2-.2 1.5l4.7 1.5 1.8 5.6c.2.6.1.8.7.8.5 0 .7-.2 1-.5l2.3-2.2 4.8 3.5c.9.5 1.5.2 1.7-.8l3.1-14.8c.3-1.3-.5-1.9-1.4-1.5ZM8.3 13.6l10.3-6.5c.5-.3.9-.1.6.2l-8.6 7.8-.3 3.8-2-5.3Z'/%3E%3C/svg%3E") center/contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M21.4 3.6 2.9 10.8c-1.2.5-1.2 1.2-.2 1.5l4.7 1.5 1.8 5.6c.2.6.1.8.7.8.5 0 .7-.2 1-.5l2.3-2.2 4.8 3.5c.9.5 1.5.2 1.7-.8l3.1-14.8c.3-1.3-.5-1.9-1.4-1.5ZM8.3 13.6l10.3-6.5c.5-.3.9-.1.6.2l-8.6 7.8-.3 3.8-2-5.3Z'/%3E%3C/svg%3E") center/contain no-repeat; }
.btn-tg:hover { background: var(--brand-deep); }
.btn-ghost { background: rgba(255,255,255,.08); color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.25); }
.btn-ghost:hover { background: rgba(255,255,255,.16); }
.btn-ghost-dark { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn-ghost-dark:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn-sm { --h: 42px; padding: 0 18px; font-size: 14px; }
.btn-wide { width: 100%; }
.link { background: none; border: 0; padding: 0; color: var(--brand-deep); font-weight: 800; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }

/* ---------- Шапка ---------- */
.top { position: sticky; top: 0; z-index: 20; color: #fff; background: rgba(11,20,22,.55); backdrop-filter: saturate(1.6) blur(16px); -webkit-backdrop-filter: saturate(1.6) blur(16px); border-bottom: 1px solid transparent; transition: border-color .2s, background .2s; }
.top.is-scrolled { border-color: var(--dark-line); background: rgba(11,20,22,.92); }
.top .logo { color: #fff; }
.top-row { display: flex; align-items: center; gap: 28px; height: 70px; }
.top-nav { display: flex; gap: 4px; margin-left: 12px; }
.top-nav a { position: relative; padding: 8px 14px; border-radius: 999px; text-decoration: none; font-weight: 600; font-size: 15px; color: #b8c9cb; transition: background .2s, color .2s; }
.top-nav a:hover { background: rgba(255,255,255,.1); color: #fff; }
.dot { position: absolute; top: 7px; right: 6px; width: 7px; height: 7px; border-radius: 50%; background: var(--brand); }
.top-phone { margin-left: auto; font-weight: 800; text-decoration: none; white-space: nowrap; }
.top-tg { --h: 44px; padding: 0 20px; background: var(--brand); color: var(--ink); }
.top-tg:hover { background: var(--brand-hi); }

/* ---------- Первый экран ---------- */
.hero { position: relative; overflow: hidden; background: var(--dark); color: #fff; margin-top: -71px; padding: 120px 0 60px; isolation: isolate; }
.hero-glow { position: absolute; inset: -20% -10% auto auto; width: 70vw; height: 70vw; max-width: 980px; max-height: 980px; background: radial-gradient(circle at 50% 50%, rgba(10,186,181,.40), rgba(10,186,181,.12) 40%, transparent 68%); z-index: -1; filter: blur(10px); }
.hero::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(transparent 70%, rgba(11,20,22,.9)), repeating-linear-gradient(90deg, rgba(255,255,255,.03) 0 1px, transparent 1px 120px); }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: 40px; min-height: min(640px, 78vh); }
.kicker { display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 12px; border-radius: 999px; background: rgba(255,255,255,.08); box-shadow: inset 0 0 0 1px rgba(255,255,255,.14); font-weight: 600; font-size: 14px; color: #cfe9ec; }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--brand-hi); box-shadow: 0 0 0 0 rgba(129,216,208,.7); animation: pulse 2s infinite; flex: none; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(129,216,208,0); } 100% { box-shadow: 0 0 0 0 rgba(129,216,208,0); } }
.hero h1 { margin: 22px 0 20px; font: 700 clamp(38px, 5.4vw, 74px)/1.02 var(--display); letter-spacing: -.035em; }
.hero h1 span { background: linear-gradient(95deg, #0abab5, var(--brand-hi) 55%, #e6fffb); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-lead { max-width: 520px; font-size: clamp(17px, 1.6vw, 19px); color: #b8c9cb; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 10px 34px; margin: 42px 0 0; padding: 0; list-style: none; color: #8fa3a6; font-size: 14px; }
.hero-facts b { display: block; color: #fff; font: 700 20px/1.2 var(--display); letter-spacing: -.02em; }
.hero-art { position: relative; display: grid; place-items: center; aspect-ratio: 1; }
.hero-art img { position: relative; width: 92%; height: auto; filter: drop-shadow(0 40px 60px rgba(0,0,0,.55)); animation: float 7s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-14px) rotate(-1deg); } }
.orbit { position: absolute; border-radius: 50%; border: 1px solid rgba(129,216,208,.24); }
.orbit-1 { inset: 4%; }
.orbit-2 { inset: 16%; border-style: dashed; border-color: rgba(255,255,255,.12); animation: spin 60s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.hero-chip { position: absolute; display: flex; align-items: center; gap: 6px; padding: 10px 14px; border-radius: 16px; background: rgba(19,33,36,.72); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: inset 0 0 0 1px rgba(255,255,255,.12); font-weight: 800; font-size: 14px; }
.hero-chip i { width: 16px; height: 16px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgba(255,255,255,.3); }
.hero-chip span { margin-left: 4px; }
.chip-a { left: 0; bottom: 18%; }
.chip-b { right: 2%; top: 16%; color: var(--brand-hi); }

/* ---------- Категории ---------- */
.cats { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; margin-top: -34px; }
.cat { position: relative; display: grid; grid-template-rows: 1fr auto auto; padding: 14px 16px 16px; min-height: 196px; border-radius: var(--r); background: var(--card); text-decoration: none; box-shadow: 0 20px 40px -28px rgba(11,20,22,.35); overflow: hidden; transition: transform .25s ease, box-shadow .25s; }
.cat:hover { transform: translateY(-4px); box-shadow: 0 28px 50px -28px rgba(11,20,22,.45); }
.cat img { height: 112px; width: 100%; object-fit: contain; mix-blend-mode: multiply; transition: transform .35s ease; }
.cat:hover img { transform: scale(1.06); }
.cat span { font-weight: 800; font-size: 17px; margin-top: 8px; }
.cat small { color: var(--ink-2); font-size: 13px; }
.cat-used { background: var(--brand); color: var(--ink); }
.cat-used small { color: #0b3a39; }
.cat-used img { mix-blend-mode: normal; border-radius: 14px; object-fit: cover; }

/* ---------- Блоки ---------- */
.block { padding: clamp(64px, 9vw, 110px) 0; }
.block-dark { background: var(--dark); color: #fff; }
.block-soft { background: #fff; }
.block-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px 40px; flex-wrap: wrap; margin-bottom: 28px; }
.eyebrow { margin-bottom: 14px; font-weight: 800; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--brand); }
.block-dark .eyebrow { color: var(--brand-hi); }
.sub { margin-top: 14px; max-width: 560px; color: var(--ink-2); font-size: 17px; }
.block-dark .sub { color: #9fb1b4; }

.search { flex: 0 1 380px; }
.search input { width: 100%; height: 54px; padding: 0 20px 0 50px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' fill='none' stroke='%234a5759' stroke-width='2'%3E%3Ccircle cx='9' cy='9' r='6.5'/%3E%3Cpath d='m14 14 4 4'/%3E%3C/svg%3E") 20px 50%/20px no-repeat; transition: border-color .2s; }
.search input:focus { outline: none; border-color: var(--brand); }

.tabs { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin-bottom: 24px; padding-bottom: 2px; }
.tabs::-webkit-scrollbar { display: none; }
.tab { flex: none; height: 42px; padding: 0 18px; border-radius: 999px; border: 0; background: #fff; box-shadow: inset 0 0 0 1.5px var(--line); font-weight: 700; font-size: 15px; cursor: pointer; transition: background .2s, color .2s, box-shadow .2s; }
.tab:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }
.tab[aria-selected="true"], .tab[aria-pressed="true"] { background: var(--ink); color: #fff; box-shadow: none; }
.tabs-dark .tab { background: var(--dark-2); color: #cfdcde; box-shadow: inset 0 0 0 1.5px var(--dark-line); }
.tabs-dark .tab:hover { box-shadow: inset 0 0 0 1.5px #557; }
.tabs-dark .tab[aria-pressed="true"] { background: var(--brand); color: var(--ink); box-shadow: none; }

/* ---------- Карточки новой техники ---------- */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.card { position: relative; display: flex; flex-direction: column; border-radius: var(--r); background: var(--card); overflow: hidden; transition: transform .25s ease, box-shadow .25s; }
.card:hover { transform: translateY(-4px); box-shadow: 0 30px 60px -36px rgba(11,20,22,.5); }
.card-hero { grid-column: span 2; flex-direction: row; }
.card-hit { position: absolute; inset: 0; z-index: 2; border: 0; background: none; cursor: pointer; border-radius: inherit; }
.badge { position: absolute; top: 16px; left: 16px; z-index: 1; padding: 5px 11px; border-radius: 999px; background: var(--brand); color: var(--ink); font-size: 12px; font-weight: 800; }
.card-art { aspect-ratio: 1; background: #f5f5f7; display: grid; place-items: center; overflow: hidden; }
.card-art img { width: 82%; height: 82%; object-fit: contain; mix-blend-mode: multiply; transition: transform .4s ease; }
.card-art.is-cover img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.card-art.is-contain { background: #fff; }
.card-art.is-contain img { mix-blend-mode: normal; width: 70%; }
.card:hover .card-art img { transform: scale(1.05); }
.card-hero .card-art { flex: 0 0 46%; aspect-ratio: auto; min-height: 340px; }
.card-body { display: flex; flex-direction: column; gap: 8px; padding: 20px 22px 22px; flex: 1; }
.card-hero .card-body { justify-content: center; padding: 30px; }
.card-hero h3 { font: 700 clamp(22px, 2.4vw, 30px)/1.1 var(--display); letter-spacing: -.02em; }
.card-body p { color: var(--ink-2); font-size: 15px; }
.card-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 4px; }
.swatches { display: inline-flex; gap: 5px; position: relative; z-index: 3; }
.swatches i { width: 18px; height: 18px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgba(0,0,0,.14); cursor: pointer; }
.chip { padding: 4px 10px; border-radius: 999px; background: var(--bg); font-size: 13px; font-weight: 600; color: var(--ink-2); }
.card-specs { margin: 10px 0 0; padding: 0; list-style: none; display: grid; gap: 6px; font-size: 14px; color: var(--ink-2); }
.card-specs li::before { content: ''; display: inline-block; width: 6px; height: 6px; margin: 0 10px 2px 0; border-radius: 50%; background: var(--brand); }
.card-cta { margin-top: auto; padding-top: 10px; font-weight: 800; color: var(--brand-deep); }
.card-cta b { display: inline-block; transition: transform .2s; }
.card:hover .card-cta b { transform: translateX(4px); }
.empty { padding: 40px 0; text-align: center; color: var(--ink-2); }

/* ---------- Б/у ---------- */
.stock-stamp { display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px; border-radius: 999px; background: var(--dark-2); box-shadow: inset 0 0 0 1px var(--dark-line); color: #cfdcde; font-weight: 600; font-size: 14px; }
.demo-note { margin: -6px 0 24px; padding: 14px 18px; border-radius: 16px; background: rgba(226,165,33,.1); box-shadow: inset 0 0 0 1px rgba(226,165,33,.35); color: #f2d595; font-size: 14px; }
.used-tools { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; margin-bottom: 8px; }
.used-tools .tabs { margin: 0; }
.used-filters { display: flex; flex-wrap: wrap; gap: 10px; }
.select select { height: 42px; padding: 0 38px 0 16px; border-radius: 999px; border: 0; background: var(--dark-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%23cfdcde' stroke-width='2'%3E%3Cpath d='m1 1 5 5 5-5'/%3E%3C/svg%3E") right 16px center no-repeat; box-shadow: inset 0 0 0 1.5px var(--dark-line); color: #e8f0f1; font-weight: 600; font-size: 14px; -webkit-appearance: none; appearance: none; cursor: pointer; }
.toggle { display: inline-flex; align-items: center; gap: 10px; height: 42px; padding: 0 16px 0 10px; border-radius: 999px; box-shadow: inset 0 0 0 1.5px var(--dark-line); background: var(--dark-2); font-weight: 600; font-size: 14px; cursor: pointer; color: #e8f0f1; }
.toggle input { -webkit-appearance: none; appearance: none; width: 36px; height: 22px; border-radius: 99px; background: #2c4246; position: relative; margin: 0; cursor: pointer; transition: background .2s; }
.toggle input::after { content: ''; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; transition: transform .2s; }
.toggle input:checked { background: var(--brand); }
.toggle input:checked::after { transform: translateX(14px); }
.count { margin: 18px 0 16px; color: #8fa3a6; font-size: 14px; }
.grid-used { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.ucard { display: flex; flex-direction: column; border-radius: var(--r); background: var(--dark-2); box-shadow: inset 0 0 0 1px var(--dark-line); overflow: hidden; transition: transform .25s ease, box-shadow .25s; }
.ucard:hover { transform: translateY(-4px); box-shadow: inset 0 0 0 1px var(--brand), 0 30px 60px -30px rgba(10,186,181,.4); }
.ucard-art { position: relative; aspect-ratio: 4 / 3; background: #fff; display: grid; place-items: center; }
.ucard-art img { height: 88%; width: 88%; object-fit: contain; }
.cond { position: absolute; left: 12px; top: 12px; padding: 5px 11px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 12px; font-weight: 800; }
.ucard-body { display: flex; flex-direction: column; gap: 6px; padding: 18px 20px 20px; flex: 1; }
.ucard h3 { font-size: 19px; }
.ucard h3 span { color: var(--brand-hi); }
.ucolor { color: #8fa3a6; font-size: 14px; }
.facts { display: grid; gap: 7px; margin: 10px 0 0; padding: 12px 0 0; border-top: 1px solid var(--dark-line); font-size: 14px; }
.facts div { display: flex; justify-content: space-between; gap: 10px; }
.facts dt { color: #8fa3a6; }
.facts dd { margin: 0; display: inline-flex; align-items: center; gap: 8px; font-weight: 600; text-align: right; }
.batt { position: relative; width: 26px; height: 12px; border-radius: 3px; box-shadow: inset 0 0 0 1.5px currentColor; color: var(--ok); }
.batt::before { content: ''; position: absolute; inset: 2.5px; width: calc((100% - 5px) * var(--v) / 100%); border-radius: 1.5px; background: currentColor; }
.batt.mid { color: var(--mid); }
.batt.low { color: var(--low); }
.unote { margin-top: 6px; font-size: 13px; font-weight: 700; color: var(--brand-hi); }
.ucard-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 16px; }
.price { font: 700 22px/1 var(--display); letter-spacing: -.02em; white-space: nowrap; }
.wait-card { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 18px 30px; margin-top: 18px; padding: 26px 28px; border-radius: var(--r); background: linear-gradient(120deg, #045e5b, var(--brand-deep) 60%, #0a9e9a); }
.wait-card h3 { font: 700 22px/1.2 var(--display); }
.wait-card p { margin-top: 6px; color: #dcf7f4; }
.wait-card .btn-main { background: #fff; color: var(--ink); box-shadow: none; }
.wait-card .btn-main:hover { background: var(--ink); color: #fff; }

/* ---------- Трейд-ин ---------- */
.trade { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.trade-form { display: grid; gap: 14px; padding: 28px; border-radius: 28px; background: #fff; box-shadow: 0 30px 60px -40px rgba(11,20,22,.4); }
.trade-form > label { display: grid; gap: 6px; font-weight: 700; font-size: 14px; }
.trade-form input, .trade-form select { height: 50px; padding: 0 16px; border-radius: 14px; border: 1.5px solid var(--line); background: var(--bg); font-weight: 600; font-size: 16px; }
.trade-form input:focus, .trade-form select:focus { outline: none; border-color: var(--brand); background: #fff; }
.trade-form fieldset { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; border: 0; }
.trade-form legend { margin-bottom: 6px; font-weight: 700; font-size: 14px; }
.pill input { position: absolute; opacity: 0; }
.pill span { display: inline-block; padding: 10px 16px; border-radius: 999px; background: var(--bg); box-shadow: inset 0 0 0 1.5px var(--line); font-weight: 700; font-size: 14px; cursor: pointer; }
.pill input:checked + span { background: var(--brand-soft); box-shadow: inset 0 0 0 1.5px var(--brand); color: var(--brand-deep); }
.pill input:focus-visible + span { outline: 3px solid var(--brand-hi); outline-offset: 2px; }
.trade-form .btn { margin-top: 6px; }

/* ---------- Условия и отзывы ---------- */
.terms { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 30px; }
.terms article { padding: 26px; border-radius: var(--r); background: var(--bg); }
.terms h3 { margin-bottom: 10px; font: 700 19px/1.2 var(--display); letter-spacing: -.02em; }
.terms h3::before { content: ''; display: block; width: 34px; height: 4px; margin-bottom: 16px; border-radius: 4px; background: var(--brand); }
.terms p { color: var(--ink-2); }
.terms .link { display: inline-block; margin-top: 10px; }
.reviews { display: grid; grid-template-columns: 1fr 1fr auto; gap: 14px; margin-top: 30px; align-items: stretch; }
.reviews figure { margin: 0; padding: 28px; border-radius: var(--r); background: #fff; display: flex; flex-direction: column; justify-content: space-between; gap: 20px; }
.reviews blockquote { margin: 0; font-size: 19px; font-weight: 600; line-height: 1.45; }
.reviews blockquote::before { content: '★★★★★'; display: block; margin-bottom: 12px; color: var(--brand); letter-spacing: 3px; font-size: 15px; }
.reviews figcaption { color: var(--ink-2); font-size: 14px; }
.reviews-more { display: flex; flex-direction: column; justify-content: center; gap: 10px; }

/* ---------- Контакты ---------- */
.contacts-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center; }
.contacts address { margin-top: 22px; font-style: normal; font-size: 20px; color: #cfdcde; }
.contacts-phone { display: inline-block; margin-top: 8px; font: 700 clamp(26px, 3.4vw, 38px)/1.2 var(--display); text-decoration: none; letter-spacing: -.02em; }
.contacts-phone:hover { color: var(--brand-hi); }
.contacts-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.contacts .btn-tg { background: var(--brand); color: var(--ink); }
.contacts .btn-tg:hover { background: var(--brand-hi); }
.contacts-card { position: relative; display: grid; place-content: center; gap: 14px; min-height: 300px; padding: 40px; border-radius: 32px; background: linear-gradient(140deg, var(--brand-hi), var(--brand) 45%, var(--brand-deep)); text-align: center; overflow: hidden; }
.contacts-card::before { content: ''; position: absolute; inset: auto -20% -60% -20%; height: 80%; background: radial-gradient(closest-side, rgba(255,255,255,.28), transparent); }
.contacts-card .logo { justify-content: center; }
.contacts-card .logo-i { background: #fff; color: var(--brand-deep); }
.contacts-card .logo-11 { color: var(--dark); }
.contacts-card p { position: relative; color: #e6fbf8; font-weight: 700; }

.foot { padding: 28px 0 40px; background: var(--dark); color: #8fa3a6; font-size: 14px; border-top: 1px solid var(--dark-line); }
.foot-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; }
.foot .logo { color: #fff; }
.foot a { color: #cfdcde; }

.fab { display: none; }

/* ---------- Конфигуратор ---------- */
.sheet { width: min(1000px, calc(100% - 32px)); max-height: calc(100dvh - 32px); padding: 0; border: 0; border-radius: 32px; background: #fff; color: var(--ink); overflow: auto; }
.sheet::backdrop { background: rgba(11,20,22,.55); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.sheet[open] { animation: rise .3s cubic-bezier(.2,.9,.3,1.1); }
@keyframes rise { from { opacity: 0; transform: translateY(24px) scale(.98); } }
.sheet-close { position: absolute; top: 14px; right: 14px; z-index: 3; width: 42px; height: 42px; border-radius: 50%; border: 0; background: #fff; box-shadow: 0 4px 14px rgba(11,20,22,.18); font-size: 26px; line-height: 1; cursor: pointer; }
.sheet-close:hover { background: var(--brand-soft); }
.sheet-grid { display: grid; grid-template-columns: 1fr 1fr; }
.sheet-art { position: relative; display: grid; place-items: center; background: #f5f5f7; min-height: 420px; overflow: hidden; }
.sheet-art img { width: 80%; max-height: 520px; object-fit: contain; mix-blend-mode: multiply; }
.sheet-art.is-cover img { position: absolute; inset: 0; width: 100%; height: 100%; max-height: none; object-fit: cover; object-position: 50% 30%; }
.sheet-art.is-contain { background: #fff; }
.sheet-art.is-contain img { mix-blend-mode: normal; width: 66%; }
.sheet-body { display: flex; flex-direction: column; padding: 36px 34px 30px; }
.sheet-body h2 { font-size: clamp(26px, 3vw, 34px); }
.sheet-lead { margin-top: 10px; color: var(--ink-2); }
.opt { margin-top: 22px; }
.opt-label { margin-bottom: 10px; font-size: 14px; color: var(--ink-2); }
.opt-label b { color: var(--ink); }
.opt-list { display: flex; flex-wrap: wrap; gap: 8px; }
.opt-btn { min-width: 64px; height: 46px; padding: 0 16px; border-radius: 14px; border: 0; background: var(--bg); box-shadow: inset 0 0 0 1.5px var(--line); font-weight: 700; cursor: pointer; transition: box-shadow .15s, background .15s; }
.opt-btn:hover { box-shadow: inset 0 0 0 1.5px var(--ink-2); }
.opt-btn[aria-checked="true"] { background: var(--brand-soft); box-shadow: inset 0 0 0 2px var(--brand); color: var(--brand-deep); }
.opt-btn:has(.sw) { min-width: 46px; width: 46px; padding: 0; border-radius: 50%; display: grid; place-items: center; background: #fff; }
.sw { width: 32px; height: 32px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgba(0,0,0,.15); }
.sheet-specs { margin: 22px 0 0; padding: 0; list-style: none; display: grid; gap: 6px; font-size: 14px; color: var(--ink-2); }
.sheet-specs li::before { content: '—'; margin-right: 8px; color: var(--brand); }
.sheet-total { display: grid; gap: 10px; margin-top: auto; padding-top: 24px; }
#sheet-summary { padding: 14px 16px; border-radius: 14px; background: var(--bg); font-weight: 800; }
.fine { font-size: 13px; color: var(--ink-2); text-align: center; }

/* ---------- Адаптив ---------- */
@media (max-width: 1080px) {
  .top-nav { display: none; }
  .cats { grid-template-columns: repeat(3, 1fr); }
  .terms { grid-template-columns: 1fr 1fr; }
  .reviews { grid-template-columns: 1fr 1fr; }
  .reviews-more { grid-column: 1 / -1; flex-direction: row; flex-wrap: wrap; }
}
@media (max-width: 820px) {
  .hero { padding: 100px 0 70px; }
  .hero-grid { grid-template-columns: 1fr; gap: 10px; min-height: 0; }
  .hero-art { order: -1; width: min(380px, 86%); margin: 0 auto -20px; }
  .card-hero { grid-column: auto; flex-direction: column; }
  .card-hero .card-art { min-height: 0; aspect-ratio: 1; }
  .card-hero .card-body { padding: 20px 22px 22px; }
  .trade, .contacts-grid { grid-template-columns: 1fr; }
  .sheet-grid { grid-template-columns: 1fr; }
  .sheet-art { min-height: 0; aspect-ratio: 4 / 3; }
  .sheet-art.is-cover { aspect-ratio: 16 / 10; }
  .contacts-card { min-height: 200px; }
}
@media (max-width: 620px) {
  .wrap { width: calc(100% - 28px); }
  .top-row { height: 62px; gap: 12px; }
  .top-phone { font-size: 14px; }
  .top-tg { display: none; }
  .hero { margin-top: -63px; }
  .hero-facts { gap: 10px 22px; }
  .hero-facts b { font-size: 17px; }
  .hero-cta .btn { flex: 1 1 100%; }
  .cats { grid-template-columns: 1fr 1fr; gap: 10px; }
  .cat { min-height: 170px; }
  .cat img { height: 92px; }
  .cat-used { grid-column: 1 / -1; grid-template-columns: 1fr auto; grid-template-rows: auto auto; min-height: 0; align-items: center; }
  .cat-used img { grid-row: 1 / 3; grid-column: 2; width: 92px; height: 92px; }
  .cat-used span { margin: 0; }
  .grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .grid-used { grid-template-columns: 1fr; }
  .card-hero { grid-column: 1 / -1; }
  .card-body { padding: 14px 14px 16px; }
  .card-body p { font-size: 13px; }
  .card:not(.card-hero) .chip { display: none; }
  .card h3 { font-size: 16px; }
  .terms, .reviews { grid-template-columns: 1fr; }
  .used-filters { width: 100%; display: grid; grid-template-columns: 1fr 1fr; }
  .used-filters .select select { width: 100%; }
  .used-filters .toggle { grid-column: 1 / -1; grid-row: 1; }
  .trade-form { padding: 20px; }
  .sheet { width: 100%; max-width: 100%; max-height: 94dvh; margin: auto 0 0; inset-inline: 0; border-radius: 28px 28px 0 0; }
  .hero-art { width: min(260px, 70%); margin-bottom: 0; }
  .hero-chip { font-size: 12px; padding: 8px 10px; }
  .hero h1 { margin-top: 16px; }
  .sheet-body { padding: 24px 20px calc(20px + env(safe-area-inset-bottom)); }
  .fab { display: inline-flex; position: fixed; right: 14px; bottom: calc(14px + env(safe-area-inset-bottom)); z-index: 15; box-shadow: 0 14px 30px -10px rgba(11,20,22,.6); }
  .foot { padding-bottom: 90px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}

/* ---------- Анимации (fx.js) ---------- */

/* Первый экран: появление по очереди */
@keyframes up { from { opacity: 0; transform: translateY(36px); filter: blur(8px); } }
@keyframes rise-phone { from { opacity: 0; transform: translateY(80px) scale(.92) rotate(-4deg); } }
.hero-copy > * { animation: up .9s cubic-bezier(.2,.8,.2,1) both; }
.hero-copy > :nth-child(2) { animation-delay: .08s; }
.hero-copy > :nth-child(3) { animation-delay: .2s; }
.hero-copy > :nth-child(4) { animation-delay: .3s; }
.hero-copy > :nth-child(5) { animation-delay: .4s; }
.hero-art { animation: rise-phone 1.2s .15s cubic-bezier(.2,.8,.2,1) both; perspective: 1100px; }
.hero-tilt { position: absolute; inset: 0; display: grid; place-items: center; transform-style: preserve-3d; transition: transform .5s cubic-bezier(.2,.8,.2,1); }
.hero-tilt .hero-chip { transform: translateZ(60px); }
.hero-chip { animation: up .8s both; }
.chip-a { animation-delay: .9s; }
.chip-b { animation-delay: 1.05s; }
.hero h1 span { background-size: 200% 100%; animation: shimmer 6s ease-in-out infinite; }
@keyframes shimmer { 50% { background-position: 100% 0; } }
.hero::before { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(500px circle at var(--mx, 70%) var(--my, 40%), rgba(129,216,208,.14), transparent 60%); transition: background .2s; }

/* Бегущая строка */
.ticker { overflow: hidden; margin-top: 46px; padding: 18px 0; background: var(--ink); color: #fff; transform: rotate(-1.2deg); box-shadow: 0 0 0 1px var(--dark-line); }
.ticker-track { display: flex; align-items: center; gap: 34px; width: max-content; animation: marquee 34s linear infinite; font: 700 clamp(18px, 2.2vw, 26px)/1 var(--display); letter-spacing: -.02em; white-space: nowrap; }
.ticker-track i { font-style: normal; color: var(--brand); font-size: .8em; }
.ticker:hover .ticker-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Появление при прокрутке */
.fx .rv { opacity: 0; transform: translateY(40px) scale(.98); transition: opacity .8s cubic-bezier(.2,.8,.2,1) var(--d, 0s), transform .8s cubic-bezier(.2,.8,.2,1) var(--d, 0s); }
.fx .rv.in { opacity: 1; transform: none; }
.fx .card.rv.in, .fx .ucard.rv.in, .fx .cat.rv.in { transition: opacity .8s cubic-bezier(.2,.8,.2,1) var(--d, 0s), transform .25s ease, box-shadow .25s; }
.fx .ucard.rv .batt::before { width: 0; transition: width 1.2s cubic-bezier(.2,.8,.2,1) .3s; }
.fx .ucard.rv.in .batt::before { width: calc((100% - 5px) * var(--v) / 100%); }

/* Блик под курсором на карточках */
.card::after, .ucard::after, .cat::after { content: ''; position: absolute; inset: 0; pointer-events: none; border-radius: inherit; opacity: 0; transition: opacity .3s; background: radial-gradient(420px circle at var(--px, 50%) var(--py, 0%), rgba(255,255,255,.55), transparent 45%); mix-blend-mode: soft-light; z-index: 3; }
.ucard { position: relative; }
.ucard::after { background: radial-gradient(380px circle at var(--px, 50%) var(--py, 0%), rgba(129,216,208,.18), transparent 50%); mix-blend-mode: normal; }
.card:hover::after, .ucard:hover::after, .cat:hover::after { opacity: 1; }
.card, .ucard, .cat { will-change: transform; }

/* Подсветка тёмных блоков за курсором */
.block-dark { position: relative; background: radial-gradient(700px circle at var(--sx, 80%) var(--sy, -10%), rgba(10,186,181,.13), transparent 60%), var(--dark); }

/* Блеск на главных кнопках */
.btn-main { position: relative; overflow: hidden; isolation: isolate; }
.btn-main::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.55) 50%, transparent 70%); transform: translateX(-120%); }
.btn-main:hover::after { transform: translateX(120%); transition: transform .7s ease; }
.hero-cta .btn-main::after { animation: gleam 4.5s 2s infinite; }
@keyframes gleam { 0%, 70% { transform: translateX(-120%); } 85%, 100% { transform: translateX(120%); } }

/* Витрина цветов: секция прилипает, цвет меняется прокруткой */
.show { --tint: #6f9cc4; --k: 0; position: relative; height: 340vh; background: var(--dark); color: #fff; }
.show-sticky { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; display: grid; align-items: center; }
.show-bg { position: absolute; inset: 0; background: radial-gradient(60% 70% at 70% 50%, color-mix(in srgb, var(--tint) 70%, transparent), transparent 70%), radial-gradient(40% 50% at 15% 90%, rgba(10,186,181,.18), transparent 70%), var(--dark); transition: background 1s ease; }
@supports not (background: color-mix(in srgb, red, blue)) { .show-bg { background: radial-gradient(60% 70% at 70% 50%, var(--tint), transparent 70%), var(--dark); opacity: .9; } }
.show-grid { position: relative; display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 40px; }
.show-copy h2 { font-size: clamp(32px, 5vw, 64px); }
.show-copy h2 span { display: inline-block; color: var(--brand-hi); }
.show-dots { display: flex; gap: 12px; margin: 30px 0 24px; }
.show-dots button { width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--c); cursor: pointer; box-shadow: inset 0 0 0 1px rgba(255,255,255,.3), 0 0 0 0 transparent; transition: box-shadow .3s, transform .3s; }
.show-dots button[aria-pressed="true"] { box-shadow: inset 0 0 0 1px rgba(255,255,255,.3), 0 0 0 3px var(--dark), 0 0 0 5px var(--brand-hi); transform: scale(1.1); }
.show-text { max-width: 440px; color: #b8c9cb; font-size: 17px; margin-bottom: 28px; }
.show-stage { position: relative; display: grid; place-items: center; height: min(78vh, 720px); }
.show-halo { position: absolute; width: 80%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--tint) 85%, white 15%), transparent 65%); filter: blur(40px); opacity: .7; transition: background 1s; }
.show-phone { position: relative; height: 82%; aspect-ratio: 346 / 596; border-radius: 15% / 8.7%; overflow: hidden; box-shadow: 0 60px 100px -30px rgba(0,0,0,.8), inset 0 0 0 1px rgba(255,255,255,.2); transform: perspective(1200px) rotateY(calc(-18deg + var(--k) * 36deg)) rotateZ(calc(3deg - var(--k) * 6deg)); background: #1a2224; }
.show-phone img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 100%; opacity: 0; transform: scale(1.12); transition: opacity .7s ease, transform 1.1s cubic-bezier(.2,.8,.2,1); }
.show-phone img.on { opacity: 1; transform: none; }
.show-phone::after { content: ''; position: absolute; inset: 0; background: linear-gradient(105deg, transparent 35%, rgba(255,255,255,.35) 50%, transparent 65%); transform: translateX(calc(-100% + var(--k) * 200%)); }
.show-hint { position: absolute; bottom: -6px; font-size: 13px; color: #8fa3a6; letter-spacing: .08em; text-transform: uppercase; }
.show-progress { position: absolute; left: 50%; bottom: 28px; width: 160px; height: 3px; margin-left: -80px; border-radius: 3px; background: rgba(255,255,255,.12); overflow: hidden; }
.show-progress b { position: absolute; inset: 0; background: var(--brand); transform-origin: 0 50%; transform: scaleX(var(--k)); }

@media (max-width: 820px) {
  .show { height: 300vh; }
  .show-grid { grid-template-columns: 1fr; gap: 14px; text-align: center; }
  .show-copy { order: 2; }
  .show-copy .eyebrow { margin-bottom: 8px; }
  .show-dots { justify-content: center; margin: 16px 0 14px; }
  .show-text { display: none; }
  .show-stage { height: 46vh; }
  .show-hint { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .show { height: auto; }
  .show-sticky { position: relative; height: auto; padding: 90px 0; }
  .show-phone { transform: none; }
  .ticker-track { animation: none !important; }
}
