:root {
  --red: #E30016;
  --red-deep: #B8000F;
  --navy: #0E2233;
  --steel: #3E5568;
  --ice: #E9F2F7;
  --frost: #F7FBFD;
  --line: #C9DCE7;
  --tag: #FFD60A;
  --ok: #14804A;
  --white: #FFFFFF;
  --display: "Dela Gothic One", "Arial Black", sans-serif;
  --body: "Golos Text", "Segoe UI", system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Consolas, monospace;
  --r: 18px;
  --pad: clamp(16px, 4vw, 48px);
  --max: 1280px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 150px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ice);
  color: var(--navy);
  font: 400 16px/1.5 var(--body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
button, input, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
a { color: inherit; }
svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; border-radius: 10px; }
h1, h2, h3 { margin: 0; }
h2 {
  font: 400 clamp(30px, 4.4vw, 52px)/1.02 var(--display);
  letter-spacing: -.01em;
  text-transform: uppercase;
}

/* ---------- кнопки ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 54px; padding: 0 28px;
  border-radius: 999px;
  font-weight: 600; font-size: 17px; text-decoration: none;
  transition: transform .2s var(--ease), background .2s, box-shadow .2s, color .2s;
}
.btn:active { transform: scale(.97); }
.btn-red { background: var(--red); color: var(--white); box-shadow: 0 10px 24px -10px rgba(227, 0, 22, .7); }
.btn-red:hover { background: var(--red-deep); }
.btn-line { border: 2px solid var(--navy); color: var(--navy); }
.btn-line:hover { background: var(--navy); color: var(--white); }
.btn-wide { width: 100%; }
.icon-btn {
  width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--ice); transition: background .2s;
}
.icon-btn:hover { background: var(--line); }
.icon-btn svg { width: 22px; height: 22px; }

/* ---------- шапка ---------- */
.top {
  position: sticky; top: 0; z-index: 40;
  background: rgba(247, 251, 253, .86);
  backdrop-filter: blur(14px) saturate(1.4);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  border-bottom: 1px solid rgba(201, 220, 231, .7);
}
.top-in {
  max-width: var(--max); margin: 0 auto;
  display: flex; align-items: center; gap: 22px;
  padding: 10px var(--pad);
}
.brand img { width: 112px; height: auto; }
.top-nav { display: flex; gap: 26px; margin-right: auto; margin-left: 18px; }
.top-nav a { text-decoration: none; font-weight: 500; position: relative; padding: 6px 0; }
.top-nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease);
}
.top-nav a:hover::after { transform: scaleX(1); }
.city-btn {
  display: inline-flex; align-items: center; gap: 6px;
  height: 44px; padding: 0 14px; border-radius: 999px;
  font-weight: 600; background: var(--white); border: 1px solid var(--line);
}
.city-btn svg { width: 18px; height: 18px; color: var(--red); }
/* RU / KZ */
.lang {
  display: inline-flex; padding: 3px; border-radius: 999px; background: var(--white); border: 1px solid var(--line);
}
.lang button {
  height: 36px; min-width: 40px; padding: 0 10px; border-radius: 999px;
  font: 600 13px/1 var(--mono); letter-spacing: .04em; transition: background .25s, color .25s;
}
.lang button[aria-checked="true"] { background: var(--navy); color: var(--white); }
.menu-btn {
  display: none; width: 44px; height: 44px; border-radius: 50%; place-items: center;
  background: var(--white); border: 1px solid var(--line);
}
.menu-btn svg { width: 22px; height: 22px; }
.menu {
  display: grid; gap: 2px; max-width: var(--max); margin: 0 auto; padding: 6px var(--pad) 14px;
}
.menu a {
  padding: 12px 4px; font-weight: 600; font-size: 18px; text-decoration: none;
  border-bottom: 1px solid var(--line);
}
.menu.on { animation: panelin .3s var(--ease); }
.cart-btn {
  position: relative; display: inline-flex; align-items: center; gap: 10px;
  height: 48px; padding: 0 18px 0 14px; border-radius: 999px;
  background: var(--navy); color: var(--white); font-weight: 600;
}
.cart-btn svg { width: 22px; height: 22px; }
.cart-count {
  position: absolute; left: 28px; top: 4px;
  min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px;
  background: var(--red); color: var(--white);
  font: 600 12px/20px var(--mono); text-align: center;
  transform: scale(0); transition: transform .3s var(--ease);
}
.cart-btn.has .cart-count { transform: scale(1); }
.cart-btn.bump { animation: bump .5s var(--ease); }
@keyframes bump { 30% { transform: scale(1.12) rotate(-4deg); } 60% { transform: scale(.96) rotate(2deg); } }

/* ---------- первый экран ---------- */
.hero {
  max-width: var(--max); margin: 0 auto;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(24px, 4vw, 56px);
  align-items: center;
  padding: clamp(28px, 5vw, 64px) var(--pad) clamp(40px, 6vw, 80px);
}
.eyebrow {
  margin: 0 0 18px;
  font: 600 13px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--red);
}
.hero h1 {
  font: 400 clamp(34px, 3.8vw, 58px)/1 var(--display);
  letter-spacing: -.015em;
  text-transform: uppercase;
}
.lead { margin: 22px 0 26px; font-size: clamp(17px, 1.5vw, 20px); max-width: 30em; }
.city-line {
  padding: 18px; border-radius: 24px;
  background: var(--white); border: 1px solid var(--line);
  box-shadow: 0 18px 40px -30px rgba(14, 34, 51, .5);
}
.city-line-label { margin: 0 0 12px; font: 400 20px/1 var(--display); text-transform: uppercase; }
.city-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.city-tile {
  position: relative; overflow: hidden;
  display: flex; align-items: center; gap: 12px;
  min-height: 68px; padding: 10px 14px; border-radius: 16px;
  text-align: left;
  background: var(--ice); border: 2px solid transparent;
  transition: transform .25s var(--ease), background .25s, border-color .25s, color .25s, box-shadow .25s;
}
.city-tile:hover { transform: translateY(-2px); border-color: var(--navy); }
.city-tile:active { transform: scale(.97); }
.city-pin {
  flex: none; width: 38px; height: 38px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--white); color: var(--red);
  transition: background .25s, color .25s, transform .35s var(--ease);
}
.city-pin svg { width: 20px; height: 20px; stroke-width: 2; }
.city-tile b { display: block; font-size: 17px; font-weight: 700; line-height: 1.15; }
.city-tile small { display: block; margin-top: 3px; font: 500 12px/1.2 var(--mono); color: var(--steel); transition: color .25s; }
.city-tile[aria-checked="true"] {
  background: var(--navy); color: var(--white); border-color: var(--navy);
  box-shadow: 0 14px 26px -16px rgba(14, 34, 51, .9);
}
.city-tile[aria-checked="true"] small { color: #9CC3DA; }
.city-tile[aria-checked="true"] .city-pin { background: var(--red); color: var(--white); animation: drop .5s var(--ease); }
@keyframes drop { 0% { transform: translateY(-10px) scale(.6); } 60% { transform: translateY(2px) scale(1.08); } }
/* пока город не выбран — по плиткам пробегает морозный блик */
.city-tiles.need .city-tile::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 50%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .95), transparent);
  transform: skewX(-18deg);
  animation: glint 3.2s var(--ease) infinite;
  pointer-events: none;
}
.city-tiles.need .city-tile:nth-child(2)::after { animation-delay: .12s; }
.city-tiles.need .city-tile:nth-child(3)::after { animation-delay: .24s; }
.city-tiles.need .city-tile:nth-child(4)::after { animation-delay: .36s; }
@keyframes glint { 0%, 55% { left: -60%; } 100% { left: 130%; } }
.city-terms { margin: 12px 2px 0; font-size: 15px; font-weight: 500; min-height: 1.5em; }
.city-terms.flash { animation: slidein .4s var(--ease); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }

/* дверь морозилки */
.door {
  position: relative;
  padding: 16px;
  border-radius: 30px;
  background: linear-gradient(160deg, #FFFFFF 0%, #DCE8F0 55%, #C7D9E5 100%);
  box-shadow: 0 30px 60px -30px rgba(14, 34, 51, .45), inset 0 1px 0 #fff, inset 0 -2px 0 rgba(14, 34, 51, .08);
}
.door-led {
  position: absolute; top: -14px; right: 34px; z-index: 3;
  display: flex; align-items: center; gap: 8px;
  padding: 6px 12px; border-radius: 8px;
  background: var(--navy); color: #FF4B5C;
  font: 600 15px/1 var(--mono); letter-spacing: .06em;
  text-shadow: 0 0 8px rgba(255, 75, 92, .8);
  box-shadow: 0 6px 14px -6px rgba(14, 34, 51, .6);
}
.door-led i { width: 7px; height: 7px; border-radius: 50%; background: #3BE07A; box-shadow: 0 0 8px #3BE07A; animation: blink 2.4s steps(1) infinite; }
@keyframes blink { 50% { opacity: .25; } }
.door-handle {
  position: absolute; left: -9px; top: 26%; height: 48%; width: 18px; z-index: 3;
  border-radius: 10px;
  background: linear-gradient(90deg, #9FB3C1, #EEF4F8 45%, #8DA3B3);
  box-shadow: 0 8px 18px -8px rgba(14, 34, 51, .6);
}
.glass {
  position: relative; overflow: hidden;
  aspect-ratio: 1.55;
  border-radius: 20px;
  background: #A9C4D6;
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .7), inset 0 0 40px rgba(14, 34, 51, .35);
  cursor: crosshair;
  /* палец по стеклу только протирает: без прокрутки и без «потяни, чтобы обновить» */
  touch-action: none;
  overscroll-behavior: contain;
  -webkit-user-select: none; user-select: none;
  -webkit-touch-callout: none;
}
.glass img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.glass img { filter: saturate(1.05) contrast(1.04); }
.glass::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 2;
  background:
    linear-gradient(115deg, rgba(255, 255, 255, .28) 0%, rgba(255, 255, 255, 0) 32%, rgba(255, 255, 255, 0) 62%, rgba(255, 255, 255, .14) 70%, rgba(255, 255, 255, 0) 78%),
    radial-gradient(120% 90% at 50% 0%, rgba(160, 205, 235, .18), rgba(14, 34, 51, .25));
}
.glass canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; }
/* подсказка: крупная плашка по центру, пока человек сам не протрёт стекло */
.glass-cta {
  position: absolute; z-index: 3; left: 50%; top: 50%;
  width: max-content; max-width: 78%;
  padding: 16px 22px 15px; border-radius: 20px;
  background: rgba(255, 255, 255, .94); color: var(--navy);
  box-shadow: 0 18px 40px -18px rgba(14, 34, 51, .55);
  text-align: center;
  transform: translate(-50%, -40%) scale(.94); opacity: 0;
  transition: opacity .45s, transform .5s var(--ease);
  pointer-events: none;
}
.glass-cta b { display: block; font: 400 22px/1.1 var(--display); text-transform: uppercase; }
.glass-cta span { display: block; margin-top: 6px; font-size: 15px; font-weight: 500; }
.glass-cta.on { opacity: 1; transform: translate(-50%, -50%) scale(1); animation: cta-glow 2.4s ease-in-out .6s infinite; }
@keyframes cta-glow {
  0%, 100% { box-shadow: 0 18px 40px -18px rgba(14, 34, 51, .55), 0 0 0 0 rgba(227, 0, 22, .35); }
  50% { box-shadow: 0 18px 40px -18px rgba(14, 34, 51, .55), 0 0 0 10px rgba(227, 0, 22, 0); }
}
.glass-cta.off { opacity: 0; transform: translate(-50%, -60%) scale(.9); }
/* рука, которая показывает, как протирать */
.glass-hand {
  position: absolute; z-index: 4; left: 0; top: 0;
  width: 58px; height: 58px; margin: -12px 0 0 -18px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--red); color: var(--white);
  box-shadow: 0 10px 22px -8px rgba(227, 0, 22, .8), 0 0 0 6px rgba(255, 255, 255, .55);
  opacity: 0; transition: opacity .15s;
  pointer-events: none; will-change: transform;
}
.glass-hand svg { width: 30px; height: 30px; stroke-width: 2; }
.glass-hand.on { opacity: 1; }

/* ---------- каталог ---------- */
.catalog { max-width: var(--max); margin: 0 auto; padding: 0 var(--pad) 40px; }
.cat-bar {
  position: sticky; top: 69px; z-index: 30;
  margin: 0 calc(var(--pad) * -1); padding: 14px var(--pad) 12px;
  background: rgba(233, 242, 247, .92);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.cat-bar-in { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; }
.cat-bar h2 { margin-right: auto; }
.search {
  display: flex; align-items: center; gap: 8px;
  width: min(360px, 100%); height: 48px; padding: 0 16px;
  border-radius: 999px; background: var(--white); border: 1px solid var(--line);
  transition: border-color .2s, box-shadow .2s;
}
.search:focus-within { border-color: var(--navy); box-shadow: 0 0 0 4px rgba(14, 34, 51, .08); }
.search svg { width: 20px; height: 20px; color: var(--steel); flex: none; }
.search input { border: 0; outline: 0; background: none; width: 100%; height: 100%; font-size: 16px; }
.search input::-webkit-search-cancel-button { -webkit-appearance: none; }
.switch { display: inline-flex; align-items: center; gap: 10px; font-weight: 500; }
.switch-track {
  width: 46px; height: 28px; border-radius: 14px; padding: 3px;
  background: var(--line); transition: background .25s;
}
.switch-dot {
  display: block; width: 22px; height: 22px; border-radius: 50%;
  background: var(--white); box-shadow: 0 2px 6px rgba(14, 34, 51, .25);
  transition: transform .3s var(--ease);
}
.switch[aria-checked="true"] .switch-track { background: var(--ok); }
.switch[aria-checked="true"] .switch-dot { transform: translateX(18px); }

.chips {
  position: relative;
  display: flex; gap: 8px; margin-top: 14px;
  overflow-x: auto; scrollbar-width: none; padding-bottom: 2px;
}
.chips::-webkit-scrollbar { display: none; }
.chip {
  position: relative; z-index: 1; flex: none;
  display: inline-flex; align-items: center; gap: 8px;
  height: 42px; padding: 0 16px; border-radius: 999px;
  font-weight: 600; white-space: nowrap;
  background: var(--white); border: 1px solid var(--line);
  transition: color .25s, border-color .25s;
}
.chip svg { width: 22px; height: 22px; stroke-width: 1.6; }
.chip small { font: 500 12px/1 var(--mono); opacity: .7; }
.chip[aria-selected="true"] { color: var(--white); border-color: transparent; background: transparent; }
.chip-ink {
  position: absolute; z-index: 0; top: 0; height: 42px; border-radius: 999px;
  background: var(--navy);
  transition: transform .45s var(--ease), width .45s var(--ease);
}

.stock-note {
  margin: 14px 0 0; padding: 14px 18px; border-radius: var(--r);
  background: #FFF6CC; border: 1px solid #F2DC74; font-weight: 500;
}
.shelf { margin-top: 34px; }
.shelf-title {
  display: flex; align-items: baseline; gap: 12px; margin-bottom: 16px;
  font: 400 clamp(22px, 2.4vw, 30px)/1.1 var(--display); text-transform: uppercase;
}
.shelf-title small { font: 500 13px/1 var(--mono); color: var(--steel); text-transform: none; }
.shelf-more {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  width: 100%; height: 54px; margin-top: 14px; border-radius: 999px;
  background: var(--white); border: 1px dashed var(--steel);
  font-weight: 600; font-size: 16px;
  transition: background .2s, color .2s, border-color .2s;
}
.shelf-more svg { width: 20px; height: 20px; transition: transform .3s var(--ease); }
.shelf-more:hover { background: var(--navy); color: var(--white); border-color: var(--navy); }
.shelf-more:hover svg { transform: translateX(4px); }
.grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }

.card {
  position: relative; display: flex; flex-direction: column;
  border-radius: 22px; background: var(--white);
  border: 1px solid rgba(201, 220, 231, .8);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: 0 22px 40px -26px rgba(14, 34, 51, .5); }
.card-top { position: relative; }
.card-pic {
  position: relative; display: block; width: 100%;
  aspect-ratio: 1; border-radius: 21px 21px 0 0; overflow: hidden;
  background: var(--white);
}
.card-pic img { width: 100%; height: 100%; object-fit: contain; padding: 6%; transition: transform .5s var(--ease); }
.card:hover .card-pic img { transform: scale(1.05); }
.card-pic .ph {
  position: absolute; inset: 10%; display: grid; place-items: center;
  border-radius: 50%; background: var(--ice); color: #7FA3BA;
}
.card-pic .ph svg { width: 46%; height: 46%; stroke-width: 1.2; }
.weight {
  position: absolute; left: 12px; top: 12px; z-index: 1;
  padding: 6px 9px; border-radius: 8px;
  background: var(--ice); font: 600 12px/1 var(--mono); letter-spacing: .02em;
}
.tag {
  position: absolute; right: 10px; bottom: -14px; z-index: 2;
  padding: 8px 12px 7px; border-radius: 6px;
  background: var(--tag); color: var(--navy);
  font: 400 20px/1 var(--display);
  box-shadow: 0 6px 14px -8px rgba(14, 34, 51, .6);
  transform: rotate(-3deg);
}
.tag small { font: 600 12px/1 var(--mono); margin-left: 2px; }
.card-body { display: flex; flex-direction: column; gap: 6px; padding: 22px 16px 16px; flex: 1; }
.card-name { font-weight: 600; font-size: 16px; line-height: 1.3; text-align: left; }
.card-name:hover { color: var(--red); }
.card-note { font-size: 14px; color: var(--steel); }
.card-bag { font: 500 12px/1.3 var(--mono); color: var(--steel); }
.avail { display: flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 500; margin-top: auto; padding-top: 6px; }
.avail::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; flex: none; }
.avail.yes { color: var(--ok); }
.avail.no { color: var(--steel); }
.avail.ask { color: #1F6FA8; }
.card.out .card-pic img { filter: grayscale(.85) opacity(.55); }
.card.out .tag { background: var(--line); }

.buy { margin-top: 10px; height: 46px; }
.add {
  width: 100%; height: 100%; border-radius: 999px;
  border: 2px solid var(--navy); font-weight: 600;
  transition: background .2s, color .2s;
}
.add:hover { background: var(--navy); color: var(--white); }
.add:disabled { border-color: var(--line); color: var(--steel); background: none; cursor: default; }
.step {
  display: flex; align-items: center; justify-content: space-between;
  height: 100%; border-radius: 999px; background: var(--navy); color: var(--white); padding: 4px;
  animation: pop .35s var(--ease);
}
@keyframes pop { from { transform: scale(.9); opacity: .4; } }
.step button {
  width: 38px; height: 38px; border-radius: 50%;
  display: grid; place-items: center; font-size: 22px; line-height: 1;
  background: rgba(255, 255, 255, .12); color: var(--white);
  transition: background .2s;
}
.step button:hover { background: var(--red); }
.step output { font: 600 15px/1 var(--mono); }

.empty { padding: 40px 0; font-size: 18px; text-align: center; }

/* ---------- шаги, доставка, о нас ---------- */
.steps, .info { max-width: var(--max); margin: 0 auto; padding: clamp(48px, 7vw, 96px) var(--pad) 0; }
.steps-list {
  list-style: none; margin: 32px 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
  counter-reset: s;
}
.steps-list li {
  position: relative; padding: 28px 26px 30px; border-radius: 24px;
  background: var(--white); border: 1px solid var(--line);
}
.step-n {
  display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%;
  background: var(--red); color: var(--white);
  font: 400 24px/1 var(--display); margin-bottom: 20px;
}
.steps-list li:not(:last-child)::after {
  content: ""; position: absolute; top: 54px; left: 92px; right: -16px;
  border-top: 2px dashed var(--line);
}
.steps-list h3 { font-size: 21px; font-weight: 700; margin-bottom: 8px; }
.steps-list p { margin: 0; }

.cities { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 18px; }
.city-card {
  position: relative; text-align: left;
  padding: 24px 22px; border-radius: 24px; background: var(--white);
  border: 2px solid transparent; outline: 1px solid var(--line); outline-offset: -1px;
  transition: border-color .25s, transform .3s var(--ease);
}
.city-card:hover { transform: translateY(-3px); }
.city-card.on { border-color: var(--red); outline-color: transparent; }
.city-card h3 { font: 400 24px/1.1 var(--display); text-transform: uppercase; margin-bottom: 16px; }
.city-card dl { margin: 0; display: grid; gap: 10px; }
.city-card dt { font: 500 12px/1 var(--mono); text-transform: uppercase; letter-spacing: .08em; color: var(--steel); margin-bottom: 3px; }
.city-card dd { margin: 0; font-weight: 600; font-size: 17px; }
.city-card .on-badge {
  position: absolute; top: -11px; right: 18px; padding: 5px 9px; border-radius: 7px;
  background: var(--red); color: var(--white); font: 600 11px/1 var(--mono); text-transform: uppercase;
  opacity: 0; transform: scale(.7); transition: opacity .25s, transform .3s var(--ease);
}
.city-card.on .on-badge { opacity: 1; transform: none; }
.delivery-foot { margin: 18px 0 0; }

/* ---------- «Покупателям»: вкладки ---------- */
.info-tabs {
  position: relative; display: flex; gap: 6px; margin-top: 26px; padding: 6px;
  border-radius: 999px; background: var(--white); border: 1px solid var(--line);
  overflow-x: auto; scrollbar-width: none;
}
.info-tabs::-webkit-scrollbar { display: none; }
.info-tabs button {
  position: relative; z-index: 1; flex: none; height: 46px; padding: 0 18px; border-radius: 999px;
  font-weight: 600; white-space: nowrap; transition: color .25s;
}
.info-tabs button:hover { color: var(--red); }
.info-tabs button[aria-selected="true"] { color: var(--white); }
.info-ink {
  position: absolute; z-index: 0; top: 6px; left: 0; height: 46px; border-radius: 999px; background: var(--red);
  transition: transform .45s var(--ease), width .45s var(--ease);
}
.info-panel {
  margin-top: 18px; padding: clamp(20px, 3vw, 36px); border-radius: 28px;
  background: var(--white); border: 1px solid var(--line);
}
.info-panel.swap { animation: panelin .45s var(--ease); }
@keyframes panelin { from { opacity: 0; transform: translateY(12px); } }
.info-panel > p, .iv-block p, .iv-card p { margin: 10px 0 0; }
.iv-title { font: 400 clamp(22px, 2.6vw, 32px)/1.1 var(--display); text-transform: uppercase; }
.iv-h { margin: 30px 0 12px; font: 400 20px/1.15 var(--display); text-transform: uppercase; }
.iv-h:first-child, .iv-block:first-child .iv-h { margin-top: 0; }
.iv-lead { font-size: 19px; font-weight: 600; margin: 14px 0 0; }
.iv-about { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(20px, 3vw, 40px); align-items: center; }
.iv-about p { font-size: 17px; }
.iv-photo { margin: 0; border-radius: 22px; overflow: hidden; background: #E4E6EA; }
.iv-photo img { width: 100%; height: auto; }
.iv-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.iv-two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 18px; }
.iv-card { padding: 18px 18px 20px; border-radius: 18px; background: var(--ice); }
.iv-card > b { display: block; font-size: 17px; }
.iv-num {
  display: grid; place-items: center; width: 34px; height: 34px; margin-bottom: 12px; border-radius: 50%;
  background: var(--red); color: var(--white); font: 400 16px/1 var(--display);
}
.iv-list { margin: 10px 0 0; padding-left: 18px; display: grid; gap: 6px; }
.iv-jobs { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.iv-jobs li {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 14px 16px; border-radius: 16px; background: var(--ice);
}
.iv-jobs small { display: block; font: 500 11px/1 var(--mono); text-transform: uppercase; letter-spacing: .08em; color: var(--steel); margin-bottom: 4px; }
.iv-jobs b { font-size: 16px; }
.iv-apply {
  flex: none; display: inline-flex; align-items: center; gap: 6px;
  font-weight: 600; color: var(--red); text-decoration: none; white-space: nowrap;
}
.iv-apply svg { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.iv-apply:hover svg { transform: translateX(4px); }
.iv-card .iv-apply { margin-top: 12px; }

.faq { display: grid; gap: 8px; }
.faq-item { border-radius: 16px; background: var(--ice); transition: background .25s; }
.faq-item[open] { background: #DDEBF3; }
.faq-item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 16px 18px; font-weight: 600; font-size: 16px; cursor: pointer; list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary i {
  position: relative; flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--white);
  transition: transform .35s var(--ease), background .25s;
}
.faq-item summary i::before, .faq-item summary i::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px;
  border-radius: 1px; background: var(--navy);
}
.faq-item summary i::after { transform: rotate(90deg); transition: transform .35s var(--ease); }
.faq-item[open] summary i { background: var(--red); transform: rotate(180deg); }
.faq-item[open] summary i::before, .faq-item[open] summary i::after { background: var(--white); }
.faq-item[open] summary i::after { transform: rotate(0); }
.faq-item p { margin: 0; padding: 0 18px 18px; animation: panelin .35s var(--ease); }

.stars { color: #FBBC05; letter-spacing: 2px; }
.iv-rating {
  display: inline-flex; align-items: center; gap: 12px; padding: 12px 18px; border-radius: 18px; background: var(--ice);
}
.iv-rating b { font: 400 36px/1 var(--display); }
.iv-rating .stars { font-size: 20px; }
.iv-rating span:last-child { font-weight: 600; }
.iv-reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 18px; }
.review { margin: 0; padding: 18px; border-radius: 18px; background: var(--ice); }
.review-head { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.review-ava {
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  background: var(--navy); color: var(--white); font: 400 17px/1 var(--display);
}
.review-head b { display: block; }
.review-head small { color: var(--steel); }
.review blockquote { margin: 8px 0 0; font-size: 16px; }

.iv-news { display: grid; gap: 14px; }
.news-card { display: grid; grid-template-columns: 300px 1fr; gap: 20px; align-items: center; }
.news-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 18px; }
.news-card small { color: var(--steel); font: 500 13px/1 var(--mono); }
.news-card h3 { margin: 8px 0 0; font-size: 21px; line-height: 1.25; }
.news-card p { margin: 8px 0 12px; }

.iv-contacts { display: grid; grid-template-columns: 1.3fr 1fr; gap: 18px; }
.iv-map { position: relative; min-height: 420px; border-radius: 22px; overflow: hidden; background: var(--ice); }
.iv-map-canvas { position: absolute; inset: 0; z-index: 0; background: #E8EEF2; font: inherit; }
.iv-map-bar { z-index: 500; }
/* своя метка: красная капля с пульсом, в цвет логотипа */
.mr-pin { background: none; border: 0; }
.mr-pin-dot {
  position: absolute; left: 6px; top: 0; width: 32px; height: 32px;
  border-radius: 50% 50% 50% 0; background: var(--red); transform: rotate(-45deg);
  box-shadow: 0 8px 16px -6px rgba(14, 34, 51, .6);
}
.mr-pin-dot::after {
  content: ""; position: absolute; left: 10px; top: 10px; width: 12px; height: 12px; border-radius: 50%; background: var(--white);
}
.mr-pin-ring {
  position: absolute; left: 12px; top: 40px; width: 20px; height: 10px; border-radius: 50%;
  background: rgba(227, 0, 22, .35); animation: pin-pulse 1.8s ease-out infinite;
}
@keyframes pin-pulse { 0% { transform: scale(.6); opacity: 1; } 100% { transform: scale(2.6); opacity: 0; } }
.iv-map .leaflet-tile-pane { filter: saturate(.7) contrast(1.02); }
.iv-map .leaflet-bar { border: 0; border-radius: 12px; overflow: hidden; box-shadow: 0 8px 18px -10px rgba(14, 34, 51, .6); }
.iv-map .leaflet-bar a { width: 36px; height: 36px; line-height: 36px; color: var(--navy); font-size: 20px; }
.iv-map .leaflet-bar a:hover { background: var(--ice); }
.iv-map .leaflet-popup-content-wrapper { border-radius: 14px; }
.iv-map .leaflet-popup-content { font: 500 14px/1.4 var(--body); margin: 12px 16px; }
.iv-map .leaflet-popup-content a { color: var(--red); font-weight: 600; }
.iv-map .leaflet-control-attribution { margin-bottom: 80px; font-size: 10px; }
.map-fail::after { content: "Карта не загрузилась"; position: absolute; inset: 0; display: grid; place-items: center; color: var(--steel); }
.iv-map-bar {
  position: absolute; left: 12px; right: 12px; bottom: 12px;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 12px 16px; border-radius: 16px; background: rgba(255, 255, 255, .95);
  box-shadow: 0 10px 24px -14px rgba(14, 34, 51, .6);
}
.iv-map-bar small { display: block; font: 500 11px/1 var(--mono); text-transform: uppercase; letter-spacing: .08em; color: var(--steel); }
.iv-map-bar b { font-size: 17px; }
.iv-side { display: grid; gap: 12px; align-content: start; }
.iv-btns { display: grid; gap: 8px; }
.iv-mail { margin: 0; font-weight: 600; }
.iv-mail a { color: var(--navy); }
.iv-hours, .iv-req { margin: 10px 0 0; display: grid; grid-template-columns: auto 1fr; gap: 4px 14px; font-size: 15px; }
.iv-hours dd, .iv-req dd { margin: 0; font-weight: 600; }
.iv-req dt { color: var(--steel); }
.req-org { grid-column: 1 / -1; }
.iv-cities { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0; }
.iv-cities span { padding: 8px 14px; border-radius: 999px; background: var(--ice); font-weight: 600; }

/* «Перезвоните мне» */
.callback {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr auto; gap: 12px; align-items: end;
  margin-top: 18px; padding: 22px; border-radius: 24px;
  background: var(--navy); color: var(--white);
}
.callback h3 { font: 400 22px/1.1 var(--display); text-transform: uppercase; }
.callback-text p { margin: 8px 0 0; color: #C9DCE7; font-size: 15px; }
.callback .field { margin: 0; }
.callback .field span { color: #C9DCE7; }
.callback .field input { color: var(--navy); }
.callback .btn { height: 50px; min-height: 0; }
.callback-note { grid-column: 1 / -1; margin: 0; font-size: 13px; color: #C9DCE7; }
.callback-note .form-error { margin: 0 0 0 6px; color: #FF8A95; }

.about-b2b {
  display: inline-flex; flex-direction: column; gap: 4px; margin-top: 26px;
  padding: 16px 20px; border-radius: var(--r); background: var(--white); border: 1px solid var(--line);
}
.about-b2b span { font: 500 12px/1 var(--mono); text-transform: uppercase; letter-spacing: .08em; color: var(--steel); }
.about-b2b a { font-weight: 700; font-size: 20px; text-decoration: none; }

/* ---------- подвал ---------- */
.foot { margin-top: clamp(56px, 8vw, 110px); background: var(--navy); color: #DCE8F0; }
.foot-in {
  max-width: var(--max); margin: 0 auto; padding: 56px var(--pad) 32px;
  display: grid; grid-template-columns: 1.1fr 1fr 1.4fr 1fr; gap: 32px;
}
.foot-brand img { width: 150px; filter: brightness(0) invert(1); }
.foot-brand p { margin: 16px 0 0; }
.foot h3 { font: 600 12px/1 var(--mono); text-transform: uppercase; letter-spacing: .12em; color: #8FB0C6; margin-bottom: 14px; }
.foot-col { display: flex; flex-direction: column; gap: 9px; }
.foot-col a { text-decoration: none; }
.foot-col a:hover { color: var(--white); text-decoration: underline; }
.foot-req dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 6px 12px; font-size: 14px; }
.foot-req dt { color: #8FB0C6; }
.foot-req dd { margin: 0; overflow-wrap: anywhere; }
.foot-sub { margin-top: 12px !important; }
.socials { display: flex; gap: 8px; }
.socials a {
  display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%;
  background: rgba(220, 232, 240, .1); color: var(--white); transition: background .2s, transform .25s var(--ease);
}
.socials a:hover { background: var(--red); transform: translateY(-2px); text-decoration: none; }
.socials svg { width: 20px; height: 20px; }
.g-rating {
  display: inline-grid; grid-template-columns: auto auto; align-items: center; gap: 2px 8px;
  margin-top: 18px; padding: 10px 14px; border-radius: 16px; background: var(--white); color: var(--navy); text-decoration: none;
}
.g-rating svg { width: 24px; height: 24px; grid-row: span 2; }
.g-rating b { font: 400 22px/1 var(--display); display: inline-flex; gap: 8px; align-items: center; }
.g-rating .stars { font-size: 13px; }
.g-rating small { grid-column: 2; font-size: 12px; color: var(--steel); }
.g-rating b + .stars { grid-column: 2; grid-row: 1; justify-self: end; }
.foot-copy { max-width: var(--max); margin: 0 auto; padding: 18px var(--pad) 28px; border-top: 1px solid rgba(220, 232, 240, .14); font-size: 14px; color: #8FB0C6; }

/* ---------- WhatsApp ---------- */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 35;
  width: 60px; height: 60px; border-radius: 50%;
  display: grid; place-items: center;
  background: #25D366; color: var(--white);
  box-shadow: 0 12px 28px -10px rgba(14, 34, 51, .55);
  transition: transform .3s var(--ease);
}
.wa-float:hover { transform: scale(1.08) rotate(-6deg); }
.wa-float svg { width: 32px; height: 32px; fill: currentColor; stroke: none; }

/* ---------- корзина ---------- */
.scrim { position: fixed; inset: 0; z-index: 50; background: rgba(14, 34, 51, .45); opacity: 0; transition: opacity .3s; }
.scrim.on { opacity: 1; }
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 60;
  width: min(460px, 100%);
  display: flex; flex-direction: column;
  background: var(--frost);
  box-shadow: -20px 0 50px -20px rgba(14, 34, 51, .45);
  transform: translateX(105%); transition: transform .45s var(--ease);
  visibility: hidden;
}
.drawer.on { transform: none; visibility: visible; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.drawer-head h2 { font-size: 28px; }
.drawer-body { flex: 1; overflow-y: auto; padding: 18px 20px; overscroll-behavior: contain; }
.free { padding: 14px 16px; border-radius: 16px; background: var(--white); border: 1px solid var(--line); }
.free p { margin: 0 0 12px; font-weight: 600; font-size: 15px; }
.free-bar { position: relative; height: 10px; border-radius: 5px; background: var(--ice); }
.free-bar span {
  position: absolute; left: 0; top: 0; bottom: 0; width: 0; border-radius: 5px;
  background: linear-gradient(90deg, #6FB0D8, var(--ok));
  transition: width .6s var(--ease);
}
.free-bar b {
  position: absolute; top: 50%; left: 0; width: 26px; height: 26px; margin: -13px 0 0 -13px;
  border-radius: 50%; background: var(--white); border: 2px solid var(--ok);
  transition: left .6s var(--ease);
}
.free-bar b::after { content: ""; position: absolute; inset: 5px; border-radius: 50% 50% 40% 40%; background: #F3E3C3; box-shadow: inset 0 -2px 0 #D9BF8F; }
.free.done .free-bar b { border-color: var(--ok); animation: pop .5s var(--ease); }

.lines { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 10px; }
.line {
  display: grid; grid-template-columns: 64px 1fr; gap: 12px; align-items: center;
  padding: 10px; border-radius: 16px; background: var(--white); border: 1px solid var(--line);
  animation: slidein .35s var(--ease);
}
@keyframes slidein { from { transform: translateX(20px); opacity: 0; } }
.line-pic { width: 64px; height: 64px; border-radius: 12px; overflow: hidden; background: var(--white); display: grid; place-items: center; color: #7FA3BA; }
.line-pic img { width: 100%; height: 100%; object-fit: contain; }
.line-pic svg { width: 60%; height: 60%; stroke-width: 1.3; }
.line-name { font-weight: 600; font-size: 15px; line-height: 1.25; }
.line-meta { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 8px; }
.line-sum { font-weight: 700; }
.line .step { height: 38px; width: 124px; padding: 3px; }
.line .step button { width: 32px; height: 32px; font-size: 19px; }
.line .step output { font-size: 13px; }
.cart-empty { margin: 24px 0; text-align: center; font-size: 17px; }

.order { margin-top: 22px; }
.order h3 { font: 600 12px/1 var(--mono); text-transform: uppercase; letter-spacing: .1em; color: var(--steel); margin: 22px 0 10px; }
.field { display: block; margin-top: 10px; }
.field span { display: block; font-size: 14px; font-weight: 600; margin-bottom: 6px; }
.field input, .field textarea {
  width: 100%; padding: 13px 16px; border-radius: 14px;
  background: var(--white); border: 1px solid var(--line); outline: 0;
  font-size: 16px; resize: none;
  transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field textarea:focus { border-color: var(--navy); box-shadow: 0 0 0 4px rgba(14, 34, 51, .08); }
.field.bad input { border-color: var(--red); box-shadow: 0 0 0 4px rgba(227, 0, 22, .1); }
.seg { position: relative; display: grid; grid-template-columns: 1fr 1fr; padding: 4px; border-radius: 999px; background: var(--white); border: 1px solid var(--line); }
.seg button { position: relative; z-index: 1; height: 42px; border-radius: 999px; font-weight: 600; transition: color .25s; }
.seg button[aria-checked="true"] { color: var(--white); }
.seg::before {
  content: ""; position: absolute; top: 4px; bottom: 4px; left: 4px; width: calc(50% - 4px);
  border-radius: 999px; background: var(--navy); transition: transform .35s var(--ease);
}
.seg.alt::before { transform: translateX(100%); }
.form-error { margin: 14px 0 0; color: var(--red); font-weight: 600; }
.drawer-foot { padding: 14px 20px calc(16px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: var(--white); }
.totals { margin: 0 0 12px; display: grid; gap: 4px; }
.totals div { display: flex; justify-content: space-between; }
.totals dt { color: var(--steel); }
.totals dd { margin: 0; font-weight: 600; }
.totals .totals-sum dt, .totals .totals-sum dd { color: var(--navy); font: 400 22px/1.2 var(--display); }
.send-note { margin: 10px 0 0; font-size: 13px; text-align: center; color: var(--steel); }

/* ---------- окна ---------- */
.modal {
  border: 0; padding: 0; border-radius: 28px; background: var(--white); color: var(--navy);
  width: min(880px, calc(100% - 32px)); max-height: calc(100% - 32px);
  box-shadow: 0 40px 80px -30px rgba(14, 34, 51, .6);
}
.modal::backdrop { background: rgba(14, 34, 51, .5); backdrop-filter: blur(3px); }
.modal[open] { animation: rise .4s var(--ease); }
@keyframes rise { from { transform: translateY(24px) scale(.97); opacity: 0; } }
.modal-x { position: absolute; top: 14px; right: 14px; z-index: 2; }
.pm { display: grid; grid-template-columns: 1fr 1fr; }
.pm-pic { position: relative; aspect-ratio: 1; background: var(--white); border-right: 1px solid var(--line); }
.pm-pic img { width: 100%; height: 100%; object-fit: contain; padding: 8%; }
.pm-pic .ph { position: absolute; inset: 18%; display: grid; place-items: center; border-radius: 50%; background: var(--ice); color: #7FA3BA; }
.pm-pic .ph svg { width: 45%; height: 45%; stroke-width: 1.1; }
.pm-pic .tag { right: 22px; bottom: 22px; font-size: 26px; }
.pm-info { padding: 34px 30px 28px; display: flex; flex-direction: column; gap: 12px; }
.pm-info h2 { font: 700 26px/1.2 var(--body); text-transform: none; padding-right: 40px; }
.pm-info .card-note { font-size: 16px; }
.pm-desc { white-space: pre-line; font-size: 15px; margin: 4px 0 0; max-height: 220px; overflow-y: auto; }
.pm-info .buy { margin-top: auto; height: 52px; }
.city-modal { width: min(460px, calc(100% - 32px)); padding: 30px 26px 24px; }
.city-modal h2 { font-size: 30px; }
.city-modal > p { margin: 8px 0 18px; }
.city-list { display: grid; gap: 8px; }
.city-opt {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding: 16px 18px; border-radius: 16px; background: var(--ice); text-align: left;
  border: 2px solid transparent; transition: border-color .2s, background .2s;
}
.city-opt:hover { border-color: var(--navy); }
.city-opt.on { background: var(--navy); color: var(--white); }
.city-opt b { font-size: 18px; }
.city-opt span { font-size: 13px; opacity: .85; text-align: right; }

/* ---------- подсказки «как заказать» (tour.js) ---------- */
.coach {
  position: absolute; left: -9999px; top: 0; z-index: 25;
  width: max-content; max-width: min(320px, calc(100vw - 24px));
  opacity: 0; transform: translateY(8px) scale(.92); transform-origin: 50% 100%;
  transition: opacity .35s, transform .45s var(--ease);
  pointer-events: none;
}
.coach.up { transform-origin: 50% 0; transform: translateY(-8px) scale(.92); }
.coach.on { opacity: 1; transform: none; pointer-events: auto; }
.coach.on.away { opacity: 0; pointer-events: none; }
.coach-box {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 14px 12px 14px 14px; border-radius: 18px;
  background: var(--navy); color: var(--white);
  box-shadow: 0 20px 40px -18px rgba(14, 34, 51, .75);
}
.coach-n {
  flex: none; padding: 6px 8px; border-radius: 9px;
  background: var(--red); font: 600 12px/1 var(--mono);
}
.coach-text b { display: block; font-size: 16px; font-weight: 700; line-height: 1.2; }
.coach-text span { display: block; margin-top: 4px; font-size: 14px; line-height: 1.35; color: #C9DCE7; }
.coach-x {
  flex: none; width: 28px; height: 28px; margin: -4px -2px 0 0; border-radius: 50%;
  display: grid; place-items: center; color: #C9DCE7; transition: background .2s, color .2s;
}
.coach-x:hover { background: rgba(255, 255, 255, .12); color: var(--white); }
.coach-x svg { width: 16px; height: 16px; stroke-width: 2.2; }
.coach-arrow {
  position: absolute; width: 44px; height: 58px;
  stroke: var(--red); stroke-width: 3.2; fill: none;
  filter: drop-shadow(0 2px 0 rgba(255, 255, 255, .9));
}
.coach.up .coach-arrow { transform: scaleY(-1); }
.coach.side { transform: translateX(10px) scale(.92); transform-origin: 0 50%; }
.coach.side.on { transform: none; }
.coach.side .coach-arrow { transform: rotate(90deg); }
.coach.side.on .coach-arrow { animation-name: nudge-left; }
@keyframes nudge-left { 50% { translate: -6px 0; } }
.coach-arrow path { stroke-dasharray: 80; stroke-dashoffset: 80; }
.coach.on .coach-arrow path { animation: draw .6s .2s var(--ease) forwards; }
.coach.on .coach-arrow path + path { animation-delay: .65s; }
.coach.on .coach-arrow { animation: nudge 1.4s 1.1s ease-in-out infinite; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes nudge { 50% { translate: 0 6px; } }
.coach.up.on .coach-arrow { animation-name: nudge-up; }
@keyframes nudge-up { 50% { translate: 0 -6px; } }
/* цель подсказки мягко пульсирует */
.coach-target { animation: ring 1.6s ease-out infinite; }
@keyframes ring {
  0% { box-shadow: 0 0 0 0 rgba(227, 0, 22, .45); }
  100% { box-shadow: 0 0 0 14px rgba(227, 0, 22, 0); }
}

/* летящая пачка */
.flyer {
  position: fixed; z-index: 70; pointer-events: none;
  border-radius: 14px; background: var(--white); object-fit: contain;
  box-shadow: 0 16px 30px -12px rgba(14, 34, 51, .55);
}

/* появление при прокрутке */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in, .shot .reveal { opacity: 1; transform: none; }
.shot .reveal { transition: none; }

/* ---------- адаптив ---------- */
@media (max-width: 1100px) {
  .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hero { grid-template-columns: 1fr; }
  .hero h1 { font-size: clamp(30px, 6.6vw, 64px); }
  .door { max-width: 760px; }
  .menu-btn { display: grid; }
  .brand { margin-right: auto; }
  .iv-grid, .iv-reviews { grid-template-columns: repeat(2, 1fr); }
  .iv-contacts { grid-template-columns: 1fr; }
  .callback { grid-template-columns: 1fr 1fr; }
  .callback-text { grid-column: 1 / -1; }
  .cities { grid-template-columns: repeat(2, 1fr); }
  .top-nav { display: none; }
  .foot-in { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  html { scroll-padding-top: 170px; }
  .top-in { gap: 10px; padding-top: 8px; padding-bottom: 8px; }
  .brand { margin-right: auto; }
  .brand img { width: 92px; }
  .city-btn { height: 40px; padding: 0 12px; font-size: 14px; }
  .cart-btn { height: 44px; padding: 0 12px; }
  .cart-sum { display: none; }
  .cart-count { left: 24px; }
  .hero { grid-template-columns: 1fr; padding-top: 22px; }
  .door { order: -1; padding: 10px; border-radius: 22px; margin: 6px 4px 0 10px; }
  .door-led { right: 20px; top: -12px; font-size: 13px; }
  .door-handle { left: -7px; width: 13px; }
  .glass { aspect-ratio: 1.45; border-radius: 15px; }
  .glass-cta { padding: 12px 16px 11px; max-width: 84%; }
  .glass-cta b { font-size: 17px; }
  .glass-cta span { font-size: 13px; }
  .glass-hand { width: 48px; height: 48px; }
  .glass-hand svg { width: 25px; height: 25px; }
  .hero-cta .btn { flex: 1 1 100%; }
  .city-line { padding: 14px; }
  .city-tiles { gap: 8px; }
  .city-tile { flex-direction: column; align-items: flex-start; gap: 8px; padding: 10px 12px 12px; }
  .city-pin { width: 30px; height: 30px; }
  .city-pin svg { width: 17px; height: 17px; }
  .city-tile b { font-size: 15px; }
  .cat-bar { top: 61px; }
  .cat-bar h2 { font-size: 26px; }
  .search { width: 100%; order: 3; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .card { border-radius: 18px; }
  .card-pic { border-radius: 17px 17px 0 0; }
  .card-body { padding: 20px 11px 11px; }
  .card-name { font-size: 15px; }
  .tag { font-size: 17px; right: 8px; }
  .weight { left: 8px; top: 8px; }
  .step button { width: 34px; height: 34px; }
  .steps-list { grid-template-columns: 1fr; }
  .steps-list li:not(:last-child)::after { display: none; }
  .cities { grid-template-columns: 1fr; }
  .city-btn { display: none; }
  .lang button { height: 34px; min-width: 34px; padding: 0 8px; }
  .menu-btn { width: 42px; height: 42px; }
  .iv-about, .iv-two, .iv-jobs, .iv-grid, .iv-reviews, .news-card, .callback { grid-template-columns: 1fr; }
  .iv-jobs li { flex-wrap: wrap; }
  .iv-map { min-height: 320px; }
  .info-tabs button { height: 42px; padding: 0 14px; }
  .info-ink { height: 42px; }
  .info-panel { border-radius: 22px; }
  .foot-in { grid-template-columns: 1fr; }
  .wa-float { right: 14px; bottom: 14px; width: 54px; height: 54px; }
  .drawer { top: auto; width: 100%; height: calc(100% - 40px); border-radius: 24px 24px 0 0; transform: translateY(105%); }
  .pm { grid-template-columns: 1fr; }
  .pm-pic { border-right: 0; border-bottom: 1px solid var(--line); aspect-ratio: 1.25; }
  .pm-info { padding: 22px 20px 20px; }
  .modal { border-radius: 22px; }
}

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