:root {
  --bg: #f7f3ee;
  --bg-soft: #fbf8f4;
  --card: rgba(255,255,255,.72);
  --card-solid: #ffffff;
  --text: #221f1c;
  --muted: #6b625a;
  --line: rgba(34,31,28,.1);
  --accent: #b68a5a;
  --accent-dark: #946d43;
  --accent-2: #d7c2ab;
  --success: #1f7a55;
  --danger: #b84646;
  --shadow: 0 20px 60px rgba(40, 29, 18, 0.12);
  --bg-shape-opacity: 0.35;
  --radius-xl: 24px;
  --radius-lg: 24px;
  --radius-md: 24px;
  --radius-sm: 12px;
  --container: 1280px;
  --font-size: 15px;
}

* { box-sizing: border-box; }
html { overflow-x: clip; }

/* Отступ для якорных элементов с учётом sticky topbar */
[id] {
  scroll-margin-top: 100px;
}

@media (max-width: 860px) {
  [id] {
    scroll-margin-top: 70px;
  }
}

body {
  margin: 0;
  font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: var(--font-size);
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(215,194,171,.45), transparent 30%),
    linear-gradient(180deg, #f9f6f1 0%, #f5f0ea 45%, #f9f6f1 100%);
  line-height: 1.6;
  position: relative;
}

/* ── Прелоадер ── */
#preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: #f7f3ee;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: opacity 0.5s ease;
}
#preloader.hide { opacity: 0; pointer-events: none; }
#preloader-mirror {
  width: 70px;
  height: 95px;
  border: 1px solid rgba(182,138,90,.6);
  background: linear-gradient(135deg, rgba(215,194,171,.3), transparent 70%);
  animation: mirror-morph 4s ease-in-out infinite;
}
@keyframes mirror-morph {
  0%   { border-radius: 8px;               transform: scale(1,1); }
  25%  { border-radius: 35px 35px 8px 8px; transform: scale(1,1); }
  50%  { border-radius: 50%;               transform: scale(.85,.78); }
  75%  { border-radius: 35px 35px 8px 8px; transform: scale(.78,1); }
  100% { border-radius: 8px;               transform: scale(1,1); }
}
#preloader-dots {
  display: flex;
  gap: 8px;
  margin-top: 20px;
}
#preloader-dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(182,138,90,.2);
  transition: background 0.3s ease;
}
#preloader-dots span.active { background: rgba(182,138,90,.85); }

/* Параллакс фон */
.parallax-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

/* Базовые круги */
.parallax-circle {
  position: absolute;
  border-radius: 50%;
  will-change: transform;
}

/* opacity разная у каждого — создаёт глубину */
.parallax-circle--1 {
  width: 520px;
  height: 520px;
  top: 8%;
  left: -12%;
  opacity: calc(var(--bg-shape-opacity) * 0.86);
  background: radial-gradient(circle at 40% 40%, rgba(215,194,171,.28), rgba(182,138,90,.08) 55%, transparent 80%);
  border: 1.5px solid rgba(182,138,90,.20);
  --dur: 12s;
}

.parallax-circle--2 {
  width: 360px;
  height: 360px;
  top: 42%;
  right: -6%;
  opacity: calc(var(--bg-shape-opacity) * 1.14);
  background: radial-gradient(circle at 60% 35%, rgba(215,194,171,.20), transparent 70%);
  border: 1.5px solid rgba(182,138,90,.16);
  --dur: 15s; --delay: 1s;
  animation-direction: reverse;
}

.parallax-circle--3 {
  width: 650px;
  height: 650px;
  top: 78%;
  left: 5%;
  opacity: calc(var(--bg-shape-opacity) * 0.63);
  background: radial-gradient(circle at 50% 50%, rgba(215,194,171,.16), transparent 65%);
  border: 1px solid rgba(182,138,90,.10);
  --dur: 18s; --delay: 4s;
}

.parallax-circle--4 {
  width: 280px;
  height: 280px;
  top: 130%;
  right: 12%;
  opacity: calc(var(--bg-shape-opacity) * 1.29);
  background: radial-gradient(circle at 45% 45%, rgba(215,194,171,.22), transparent 70%);
  border: 1.5px solid rgba(182,138,90,.18);
  --dur: 13s; --delay: 2s;
  animation-direction: reverse;
}

.parallax-circle--5 {
  width: 440px;
  height: 440px;
  top: 170%;
  left: 52%;
  opacity: calc(var(--bg-shape-opacity) * 0.80);
  background: radial-gradient(circle at 50% 50%, rgba(215,194,171,.16), transparent 70%);
  border: 1px solid rgba(182,138,90,.12);
  --dur: 16s; --delay: 6s;
}

/* Формы зеркал */
.mirror-shape {
  position: absolute;
  will-change: transform;
  border: 1.5px solid rgba(182,138,90,.18);
}

.mirror-shape--rect-1 {
  width: 200px;
  height: 290px;
  top: 22%;
  right: 6%;
  border-radius: 16px;
  opacity: calc(var(--bg-shape-opacity) * 1.0);
  background: linear-gradient(135deg, rgba(215,194,171,.12), transparent 60%);
  --base-rotate: 12deg;
  --dur: 13s; --delay: 1s;
}

.mirror-shape--rect-2 {
  width: 150px;
  height: 220px;
  top: 88%;
  left: 2%;
  border-radius: 12px;
  opacity: calc(var(--bg-shape-opacity) * 0.80);
  background: linear-gradient(135deg, rgba(215,194,171,.10), transparent 60%);
  --base-rotate: -8deg;
  --dur: 16s; --delay: 3s;
  animation-direction: reverse;
}

.mirror-shape--arch-1 {
  width: 170px;
  height: 245px;
  top: 58%;
  right: 18%;
  border-radius: 85px 85px 16px 16px;
  opacity: calc(var(--bg-shape-opacity) * 1.09);
  background: linear-gradient(180deg, rgba(215,194,171,.12), transparent 70%);
  --base-rotate: 0deg;
  --dur: 14s; --delay: 5s;
}

.mirror-shape--round-1 {
  width: 190px;
  height: 190px;
  top: 115%;
  left: 30%;
  border-radius: 50%;
  opacity: calc(var(--bg-shape-opacity) * 0.91);
  background: radial-gradient(circle, rgba(215,194,171,.14), transparent 70%);
  --base-rotate: 0deg;
  --dur: 11s; --delay: 2s;
  animation-direction: reverse;
}

/* Плавающая анимация для кругов (JS добавляет параллакс поверх) */
@keyframes float-slow {
  0%   { transform: translate(0px, 0px) scale(1); }
  20%  { transform: translate(8px, -28px) scale(1.03); }
  45%  { transform: translate(-6px, -18px) scale(1.01); }
  65%  { transform: translate(10px, 16px) scale(0.98); }
  80%  { transform: translate(-4px, 8px) scale(1.02); }
  100% { transform: translate(0px, 0px) scale(1); }
}

/* Idle-покачивание для форм зеркал (JS перезаписывает transform при скролле) */
@keyframes float-idle {
  0%   { transform: translateY(0px) translateX(0px) rotate(var(--base-rotate, 0deg)); }
  25%  { transform: translateY(-20px) translateX(6px) rotate(calc(var(--base-rotate, 0deg) + 2.5deg)); }
  50%  { transform: translateY(-10px) translateX(-4px) rotate(calc(var(--base-rotate, 0deg) + 1deg)); }
  75%  { transform: translateY(12px) translateX(5px) rotate(calc(var(--base-rotate, 0deg) - 2deg)); }
  100% { transform: translateY(0px) translateX(0px) rotate(var(--base-rotate, 0deg)); }
}

main {
  position: relative;
  z-index: 1;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }

.container {
  width: min(calc(100% - 32px), var(--container));
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(18px);
  background: rgba(247,243,238,.78);
  border-bottom: 1px solid var(--line);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.topbar--hidden {
  transform: translateY(-100%);
}

.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 78px;
}

.brand {
  display: flex;
  align-items: center;
  flex-shrink: 1;
  min-width: 0;
}

.brand__logo {
  height: 36px;
  width: auto;
  display: block;
  object-fit: contain;
}

@media (min-width: 1024px) {
  .brand__logo { height: 32px; }
}


.nav {
  display: flex;
  align-items: center;
  gap: 24px;
  color: var(--muted);
  font-size: var(--font-size);
}

.nav a:hover { color: var(--text); }

.topbar__actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.region-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 10px;
  background: transparent;
  border: none;
  outline: none;
  font-size: .875rem;
  font-weight: 400;
  color: var(--muted);
  cursor: pointer;
  transition: color .2s;
  white-space: nowrap;
  font-family: inherit;
  border-radius: 6px;
}

.region-btn:hover { color: var(--text); }
.region-btn:focus { outline: none; }

/* ── Burger button ── */
.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 8px;
  background: transparent;
  border: none;
  cursor: pointer;
  flex-shrink: 0;
  border-radius: 10px;
  transition: background 0.2s;
}

.burger:hover { background: rgba(34,31,28,.06); }

.burger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
  transform-origin: center;
}

.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Mobile menu ── */
.mobile-menu {
  display: none;
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.35s ease;
  border-top: 1px solid var(--line);
  opacity: 0;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}

@media (max-width: 860px) {
  .mobile-menu {
    display: block;
  }
}

.mobile-menu.open {
  max-height: 400px;
  opacity: 1;
  overflow-y: auto;
}

.mobile-menu__nav {
  display: flex;
  flex-direction: column;
  padding: 8px 0;
}

.mobile-menu__nav a {
  padding: 13px 16px;
  font-size: var(--font-size);
  font-weight: 600;
  color: var(--text);
  border-bottom: 1px solid var(--line);
  transition: background 0.15s;
}

.mobile-menu__nav a:last-child { border-bottom: none; }
.mobile-menu__nav a:hover { background: rgba(34,31,28,.04); }

.mobile-menu__footer {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 14px 16px;
  border-top: 1px solid var(--line);
}

.mobile-menu__footer .phone {
  font-size: 18px;
  text-align: center;
}

.phone {
  font-weight: 700;
  white-space: nowrap;
}

.btn {
  appearance: none;
  border: 0;
  cursor: pointer;
  border-radius: 999px;
  padding: 10px 18px;
  font-size: 14px;
  font-weight: 700;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  position: relative;
  overflow: hidden;
}

.btn:hover { 
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(148, 109, 67, 0.35);
}

.btn:active {
  transform: translateY(0);
  opacity: 0.95;
}

.btn--primary:hover {
  filter: brightness(1.08);
}

.btn--primary:active {
  filter: brightness(0.96);
}
.btn--primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: #fff;
  box-shadow: 0 12px 32px rgba(148,109,67,.28);
}
.btn--secondary {
  background: rgba(255,255,255,.9);
  border: 1px solid var(--line);
  color: var(--text);
}
.btn--ghost {
  background: transparent;
  border: 1px solid rgba(255,255,255,.28);
  color: #fff;
}
.btn--wide { width: 100%; }

.hero {
  padding: 16px 0 24px;
}

.hero__grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

@media (min-width: 1024px) {
  .hero {
    padding: 24px 0 32px;
  }
  .hero__grid {
    display: grid;
    grid-template-columns: 1.08fr .92fr;
    gap: 24px;
    align-items: stretch;
  }
  .hero__grid--full {
    grid-template-columns: 1fr;
  }
  .hero__grid--full .hero__content {
    min-height: 520px;
  }
  .hero__content {
    min-height: 620px;
    border-radius: 24px;
  }
  .calc-card {
    min-height: 650px;
  }
  .hero__content-inner {
    padding: 28px 32px;
  }
}

.hero__content {
  position: relative;
  min-height: 450px;
  border-radius: 24px;
  overflow: hidden;
  background:
    linear-gradient(110deg, rgba(24,19,15,.74), rgba(24,19,15,.26) 48%, rgba(24,19,15,.08) 80%),
    url('https://images.unsplash.com/photo-1505693416388-ac5ce068fe85?auto=format&fit=crop&w=1600&q=80') center/cover no-repeat;
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
}

.hero__content-inner {
  padding: 40px;
  color: #fff;
  max-width: 720px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.16);
  font-size: 12px;
  letter-spacing: .04em;
  text-transform: uppercase;
  margin-bottom: 28px;
}

h1 {
  font-size: clamp(28px, 3.5vw, 48px);
  line-height: 1.05;
  margin: 0 0 24px;
  letter-spacing: -.03em;
  max-width: 760px;
}

.hero__lead {
  font-size: clamp(15px, 1.6vw, 17px);
  max-width: 620px;
  color: rgba(255,255,255,.88);
  margin: 0 0 24px;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}

.hero__stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 12px;
  margin-top: 16px;
}

.hero__stat {
  padding: 12px;
  border-radius: 18px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.12);
  backdrop-filter: blur(8px);
  font-size: 13px;
}

.hero__stat strong {
  display: block;
  font-size: 18px;
  margin-bottom: 4px;
}

.calc-card {
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255,255,255,.92), rgba(255,255,255,.78));
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.85);
  box-shadow: 0 8px 32px rgba(31,24,24,.08), inset 0 1px 0 rgb(255,255,255);
  padding: 32px;
  display: flex;
  flex-direction: column;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

#mirrorWizard {
  flex: 1;
  display: flex;
  flex-direction: column;
}

#mirrorWizard .wizard-steps {
  flex: 1;
  padding-bottom: 72px;
}

#mirrorWizard .wizard-nav {
  margin-top: auto;
}

.calc-card__head {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-start;
  margin-bottom: 14px;
}

@media (min-width: 640px) {
  .calc-card__head {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    gap: 14px;
  }
}

.calc-card__title {
  font-size: 28px;
  line-height: 1.05;
  margin: 0 0 6px;
  letter-spacing: -.03em;
}

.calc-card__note {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  max-width: 480px;
}

.badge-live {
  padding: 10px 14px;
  border-radius: 999px;
  background: #eef8f2;
  color: var(--success);
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
  border: 1px solid rgba(31,122,85,.14);
}

.calc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 4px;
  position: relative;
}

.field--full { grid-column: 1 / -1; }

.field label {
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  transition: all 0.2s ease;
  margin-bottom: 2px;
}

/* Floating labels effect - отключено */

.field input,
.field select,
.field textarea {
  width: 100%;
  height: 48px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.98);
  padding: 0 16px;
  color: var(--text);
  outline: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(4px);
}

.field textarea {
  min-height: 110px;
  padding: 14px 16px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: rgba(182,138,90,.65);
  box-shadow: 0 0 0 3px rgba(182,138,90,.15);
  background: rgba(255,255,255,1);
  transform: translateY(-1px);
}

.field-highlighted input,
.field-highlighted select,
.field-highlighted textarea {
  border-color: rgba(31,122,85,.65);
  box-shadow: 0 0 0 4px rgba(31,122,85,.2);
  animation: highlight-pulse 0.6s ease-out;
}

@keyframes highlight-pulse {
  0% {
    box-shadow: 0 0 0 8px rgba(31,122,85,.3);
  }
  100% {
    box-shadow: 0 0 0 4px rgba(31,122,85,.2);
  }
}

.switches {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.8);
  border: 1px solid var(--line);
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}

.chip input { display: none; }
.chip input:checked + span {
  color: var(--accent-dark);
}

.chip:has(input:checked) {
  background: #fff4e8;
  border-color: rgba(182,138,90,.35);
  box-shadow: inset 0 0 0 1px rgba(182,138,90,.12);
}

.chip.field-highlighted {
  animation: chip-highlight 0.6s ease-out;
  background: #fff4e8;
  border-color: rgba(31,122,85,.65);
}

@keyframes chip-highlight {
  0% {
    border-color: rgba(31,122,85,.8);
    box-shadow: inset 0 0 0 2px rgba(31,122,85,.3);
  }
  100% {
    border-color: rgba(182,138,90,.35);
    box-shadow: inset 0 0 0 1px rgba(182,138,90,.12);
  }
}

.calc-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 14px;
}

.calc-result {
  margin-top: 14px;
  border-radius: 24px;
  background: linear-gradient(135deg, #2a2119, #574332);
  color: #fff;
  padding: 24px;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 18px;
  align-items: center;
}

.result-price {
  font-size: clamp(32px, 4vw, 52px);
  line-height: .95;
  margin: 10px 0 12px;
  font-weight: 800;
  letter-spacing: -.04em;
}

.result-meta {
  display: grid;
  gap: 10px;
  color: rgba(255,255,255,.8);
  font-size: 14px;
}

.result-box {
  padding: 18px;
  border-radius: 24px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
}

.section {
  padding: 44px 0;
}

.section__head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 20px;
  margin-bottom: 24px;
}

.section__title {
  font-size: clamp(28px, 3vw, 48px);
  line-height: 1;
  margin: 0 0 10px;
  letter-spacing: -.04em;
}

.section__lead {
  margin: 0;
  color: var(--muted);
  max-width: 760px;
  font-size: var(--font-size);
}

.cards-4 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 18px;
}

.cards-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 18px;
}

.cards-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 18px;
}

.card {
  border-radius: 24px;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(255,255,255,.88), rgba(255,255,255,.72));
  border: 1px solid rgba(255,255,255,.74);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

.card:hover {
  box-shadow: 0 24px 64px rgba(40,29,18,.16);
  border-color: rgba(182, 138, 90, 0.2);
}

.card__media {
  aspect-ratio: 1.15 / 1;
  background-size: cover;
  background-position: center;
  position: relative;
}

/* Бейджи с иконками поверх изображения */
.card__badges {
  position: absolute;
  top: 12px;
  right: 12px;
  display: flex;
  gap: 6px;
  z-index: 2;
}

.card__badge {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.16);
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
  backdrop-filter: blur(12px);
}

.card__badge svg {
  width: 18px;
  height: 18px;
  color: rgba(255, 255, 255, 0.95);
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.2));
}

.card__body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.card__kicker {
  font-size: 13px;
  color: var(--accent-dark);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: 8px;
}

.card__title {
  font-size: 22px;
  line-height: 1.05;
  margin: 0 0 10px;
  letter-spacing: -.03em;
}

.card__text {
  color: var(--muted);
  margin: 0 0 18px;
  font-size: var(--font-size);
}

.card__body .btn {
  margin-top: auto;
}

/* Карточка с акцентной полоской — для списков без медиа */
.card--accent {
  border-left: 3px solid var(--accent);
  border-radius: 16px;
}

.card--accent .card__body {
  padding: 16px 18px;
}

.card--accent .card__title {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -.01em;
  margin: 0;
  line-height: 1.4;
}

.card--accent .card__text {
  font-size: .85rem;
  margin: 4px 0 0;
}

.feature-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 18px;
}

.feature {
  padding: 24px;
  border-radius: 24px;
  background: rgba(255,255,255,.80);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.75);
  box-shadow: 0 8px 32px rgba(31,24,24,.08), inset 0 1px 0 rgb(255,255,255);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature:hover {
  background: rgba(255,255,255,.88);
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(31,24,24,.15), inset 0 1px 0 rgb(255,255,255);
}

.feature__icon {
  width: 52px;
  height: 52px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #f8e6d1, #d8b084);
  margin-bottom: 16px;
  color: #4a3728;
}

.feature__icon svg {
  width: 28px;
  height: 28px;
  color: #4a3728;
}

.feature h3 {
  margin: 0 0 10px;
  font-size: 24px;
  line-height: 1.05;
  letter-spacing: -.03em;
}

.feature p {
  margin: 0;
  color: var(--muted);
}

/* ── Why list ── */
.why-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-top: 2rem;
}

.why-item {
  display: flex;
  gap: 20px;
  padding: 28px;
  background: var(--bg-soft);
  transition: background .2s;
}

.why-item:hover { background: var(--card-solid); }

.why-item__body {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.why-item__icon {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: rgba(182,138,90,.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  margin-bottom: 4px;
}

.why-item__title {
  margin: 0;
  font-size: 1rem;
  font-weight: 650;
  line-height: 1.35;
}

.why-item__text {
  margin: 0;
  font-size: .875rem;
  color: var(--muted);
  line-height: 1.6;
}

/* CTA-карточка в why-list */
.why-item--cta {
  background: linear-gradient(135deg, rgba(182,138,90,.08), rgba(182,138,90,.04));
  border: 1.5px solid rgba(182,138,90,.25);
  transition: none;
}
.why-item--cta:hover {
  background: linear-gradient(135deg, rgba(182,138,90,.08), rgba(182,138,90,.04));
}
.why-item--cta .why-item__body {
  height: 100%;
}
.why-item--cta .why-item__icon {
  background: rgba(182,138,90,.18);
}

@media (max-width: 700px) {
  .why-list { grid-template-columns: 1fr; }
}

/* ── Cards slider ── */
.cards-slider-wrap {
  overflow: hidden;
  padding: 0 0 4px;
  margin-top: 2rem;
  padding-left: max(1rem, calc((100vw - var(--container)) / 2 + 1.5rem));
  padding-right: 1.5rem;
}

.cards-slider {
  display: flex;
  align-items: stretch;
  gap: 1.25rem;
  transition: transform .4s cubic-bezier(.4,0,.2,1);
  will-change: transform;
  cursor: grab;
  user-select: none;
  touch-action: pan-y;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
}
.cards-slider:active { cursor: grabbing; }

.cards-slider .card {
  pointer-events: auto;
}

.cards-slider .preset-btn {
  pointer-events: auto;
  touch-action: manipulation;
}

.cards-slider .card {
  flex: 0 0 280px;
  width: 280px;
  box-shadow: none;
  border-color: var(--line);
}

/* Кнопки навигации */
.slider-nav {
  display: flex;
  gap: .5rem;
  flex-shrink: 0;
}
.slider-nav__btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1.5px solid var(--line);
  background: var(--card-solid);
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background .2s, border-color .2s, color .2s;
}
.slider-nav__btn:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}
.slider-nav__btn:disabled {
  opacity: .35;
  cursor: default;
  pointer-events: none;
}

@media (max-width: 560px) {
  .cards-slider .card { flex: 0 0 80vw; width: 80vw; }
  .cards-slider-wrap { padding-left: 1rem; }
  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 180px 150px 150px;
    gap: 8px;
  }
  .form-row { grid-template-columns: 1fr; }
}

/* ── Ticker (бегущая строка) ── */
.ticker-wrap {
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 10px 0;
  background: var(--bg-soft);
  /* fade по краям */
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 6%, #000 94%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, #000 6%, #000 94%, transparent 100%);
}

.ticker {
  display: flex;
  align-items: center;
  gap: 0;
  white-space: nowrap;
  animation: ticker-scroll 32s linear infinite;
  width: max-content;
}

.ticker:hover { animation-play-state: paused; }

.ticker__item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .78rem;
  color: var(--muted);
  padding: 0 8px;
}

.ticker__item svg {
  flex-shrink: 0;
  opacity: .5;
}

.ticker__sep {
  color: var(--accent-2);
  font-size: .9rem;
  padding: 0 4px;
  user-select: none;
}

@keyframes ticker-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .ticker { animation: none; }
}

/* ── Audience grid (b2b) ── */
.audience-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.audience-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 24px 22px;
  background: var(--bg-soft);
  transition: background .2s;
}

.audience-item:hover {
  background: var(--card-solid);
}

.audience-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(182,138,90,.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  margin-top: 2px;
}

.audience-item__title {
  margin: 0 0 5px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
}

.audience-item__text {
  margin: 0;
  font-size: .875rem;
  color: var(--muted);
  line-height: 1.5;
}

/* ── Bento grid (b2b) ── */
.bento {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  grid-auto-rows: 180px;
  gap: 14px;
}

.bento__item {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  padding: 24px;
  background: var(--card-solid);
  border: 1px solid rgba(182,138,90,.15);
  box-shadow: 0 4px 24px rgba(40,29,18,.07);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 6px;
  transition: transform .25s, box-shadow .25s;
  cursor: default;
}

.bento__item:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(40,29,18,.13);
}

.bento__item--wide {
  grid-column: span 2;
}

.bento__item--tall {
  grid-row: span 2;
  justify-content: flex-start;
  padding-top: 28px;
}

.bento__item--accent {
  background: linear-gradient(135deg, #f5ede2 0%, #ede0ce 100%);
  border-color: rgba(182,138,90,.25);
}

.bento__item--accent .bento__title {
  color: #2a1f14;
}

.bento__item--accent .bento__sub {
  color: var(--muted);
}

.bento__item--dark {
  background: linear-gradient(135deg, #faf6f0 0%, #f0e8db 100%);
  border-color: rgba(182,138,90,.2);
}

.bento__glow {
  position: absolute;
  top: -40px;
  right: -40px;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(182,138,90,.18) 0%, transparent 70%);
  pointer-events: none;
}

.bento__icon {
  color: var(--accent);
  margin-bottom: 4px;
}

.bento__title {
  margin: 0;
  font-size: 1rem;
  font-weight: 650;
  line-height: 1.35;
  color: var(--text);
}

.bento__sub {
  margin: 0;
  font-size: .8rem;
  color: var(--muted);
  line-height: 1.4;
}

.bento__tag {
  display: inline-block;
  margin-top: 8px;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  background: rgba(182,138,90,.2);
  color: var(--accent);
  border: 1px solid rgba(182,138,90,.3);
  width: fit-content;
}

@media (max-width: 900px) {
  .audience-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .bento { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .bento__item--wide { grid-column: span 2; }
}

@media (max-width: 600px) {
  .audience-grid { grid-template-columns: 1fr; }
  .bento { grid-template-columns: 1fr; grid-auto-rows: auto; }
  .bento__item--wide,
  .bento__item--tall { grid-column: span 1; grid-row: span 1; }
  .bento__item { min-height: 140px; }
}

/* ── Contact channels ── */
.contact-channels {
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 12px;
}

.contact-channel {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  background: var(--card-solid);
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  text-decoration: none;
  color: var(--text);
  transition: transform .2s, box-shadow .2s, border-color .2s;
  position: relative;
}

.contact-channel:not(.contact-channel--muted):hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(40,29,18,.1);
  border-color: rgba(182,138,90,.3);
}

.contact-channel--muted {
  opacity: .7;
  cursor: default;
}

.contact-channel__icon {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: rgba(182,138,90,.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
}

.contact-channel__label {
  font-size: .75rem;
  color: var(--muted);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.contact-channel__value {
  font-size: .95rem;
  font-weight: 600;
  margin-top: 2px;
}

.contact-channel__arrow {
  margin-left: auto;
  color: var(--muted);
  flex-shrink: 0;
}

@media (max-width: 900px) {
  .contact-channels { grid-template-columns: repeat(2, minmax(0,1fr)); }
}

@media (max-width: 600px) {
  .contact-channels { grid-template-columns: 1fr; }
}

/* ── Gallery grid ─────────────────────────────────────────────────────────── */

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: 320px 240px;
  gap: 12px;
}

.gallery-grid__item--big {
  grid-column: span 2;
  grid-row: span 2;
}

.gallery-grid__item {
  display: block;
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  cursor: pointer;
  text-decoration: none;
}

.gallery-grid__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s ease;
}

.gallery-grid__item:hover img {
  transform: scale(1.04);
}

.gallery-grid__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(20,14,8,.72) 0%, transparent 55%);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 18px 20px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-grid__item:hover .gallery-grid__overlay {
  opacity: 1;
}

.gallery-grid__title {
  color: #fff;
  font-size: .9rem;
  font-weight: 500;
  line-height: 1.3;
  max-width: calc(100% - 36px);
}

.gallery-grid__zoom {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255,255,255,.18);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}

@media (max-width: 860px) {
  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 220px 180px 180px;
  }
  .gallery-grid__item--big {
    grid-column: span 2;
    grid-row: span 1;
  }
  .gallery-grid__overlay { opacity: 1; }
}

@media (max-width: 560px) {
  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 180px 150px 150px;
    gap: 8px;
  }
}

/* ── Showcase (legacy, kept for b2b page) ─────────────────────────────────── */

.showcase {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 18px;
}

.showcase__big,
.showcase__small {
  border-radius: 24px;
  overflow: hidden;
  min-height: 320px;
  box-shadow: var(--shadow);
  position: relative;
}

.showcase__big { min-height: 640px; }
.showcase__stack {
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: 18px;
}

.overlay {
  position: absolute;
  inset: auto 18px 18px 18px;
  padding: 18px;
  border-radius: 24px;
  background: rgba(255,255,255,.85);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.7);
}

.overlay strong {
  display: block;
  margin-bottom: 6px;
  font-size: 20px;
  letter-spacing: -.02em;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 16px;
}

.steps--5 {
  grid-template-columns: repeat(5, minmax(0,1fr));
}

.step {
  padding: 28px 22px;
  background: rgba(255,255,255,.75);
  border: 1px solid rgba(255,255,255,.7);
  border-radius: 20px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.step__num {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: rgba(182,138,90,.12);
  color: var(--accent);
  font-size: .8rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.step h3 {
  margin: 0;
  font-size: .95rem;
  font-weight: 650;
  line-height: 1.4;
  display: flex;
  align-items: center;
  gap: 8px;
}

.step p {
  margin: 0;
  font-size: .85rem;
  color: var(--muted);
  line-height: 1.55;
  padding-left: 36px;
}

.review {
  padding: 22px;
  border-radius: 24px;
  background: rgba(255,255,255,.78);
  border: 1px solid rgba(255,255,255,.72);
  box-shadow: var(--shadow);
}

.review__header {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 16px;
}

.review__avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  letter-spacing: .02em;
}

.review__meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.review__stars {
  color: #d29b49;
  letter-spacing: .1em;
  font-size: 16px;
  line-height: 1;
}

.review__author {
  color: var(--text);
  font-size: 14px;
  font-weight: 700;
}

.review p {
  margin: 0;
  color: var(--muted);
  font-size: var(--font-size);
  line-height: 1.6;
}

.faq {
  display: grid;
  gap: 14px;
}

details {
  background: rgba(255,255,255,.82);
  border: 1px solid rgba(255,255,255,.7);
  border-radius: 24px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 22px;
  font-weight: 700;
  font-size: 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

summary::-webkit-details-marker { display: none; }
details p {
  margin: 0;
  padding: 0 22px 20px;
  color: var(--muted);
}

.cta-banner {
  border-radius: 24px;
  padding: 34px;
  background:
    linear-gradient(110deg, rgba(34,26,19,.92), rgba(34,26,19,.72)),
    url('https://images.unsplash.com/photo-1484154218962-a197022b5858?auto=format&fit=crop&w=1600&q=80') center/cover no-repeat;
  color: #fff;
  box-shadow: var(--shadow);
}

.cta-banner h2 {
  margin: 0 0 14px;
  font-size: clamp(30px, 4vw, 56px);
  line-height: .95;
  letter-spacing: -.04em;
  max-width: 900px;
}

.cta-banner p {
  margin: 0 0 22px;
  max-width: 720px;
  color: rgba(255,255,255,.85);
  font-size: 18px;
}

.footer {
  padding: 34px 0 46px;
  color: var(--muted);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1fr .8fr .8fr .8fr .9fr;
  gap: 18px;
  padding: 24px;
  border-radius: 24px;
  background: rgba(255,255,255,.7);
  border: 1px solid rgba(255,255,255,.7);
  box-shadow: var(--shadow);
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
  isolation: isolate;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  background: rgba(255,255,255,.7);
}

.footer h4 {
  margin: 0 0 12px;
  color: var(--text);
  font-size: var(--font-size);
}

.footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 14px;
}

.footer__copyright {
  color: var(--muted);
}

.footer__legal {
  display: flex;
  gap: 20px;
}

.footer__legal a {
  color: var(--muted);
  transition: color 0.2s ease;
}

.footer__legal a:hover {
  color: var(--text);
}

.footer__dev {
  color: var(--muted);
  font-size: 14px;
  text-align: center;
}

.footer__dev a {
  color: var(--accent);
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s ease;
}

.footer__dev a:hover {
  color: var(--accent-dark);
  text-decoration: underline;
}

.sticky-mobile {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 12px;
  z-index: 1001;
  padding: 0 12px;
}

.sticky-mobile__bar {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  background: rgba(255,255,255,.9);
  backdrop-filter: blur(18px);
  border: 1px solid rgba(255,255,255,.8);
  border-radius: 24px;
  padding: 10px;
  box-shadow: var(--shadow);
}

.status {
  margin-top: 8px;
  font-size: 14px;
  min-height: 22px;
  color: var(--muted);
}

.status--error { color: var(--danger); }
.status--success { color: var(--success); }

/* Модальные окна */
.modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 2000;
  align-items: center;
  justify-content: center;
}

.modal.active {
  display: flex;
}

.modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  animation: fade-in 0.3s ease-out;
}

.modal__content {
  position: relative;
  background: #fff;
  border-radius: 24px;
  padding: 32px;
  max-width: 520px;
  width: calc(100% - 32px);
  box-shadow: 0 20px 60px rgba(40, 29, 18, 0.2);
  animation: slide-up 0.3s ease-out;
  max-height: 90vh;
  overflow-y: auto;
}

.modal__content--small {
  max-width: 400px;
}

.modal__close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  border: none;
  background: rgba(0, 0, 0, 0.05);
  border-radius: 50%;
  font-size: 28px;
  cursor: pointer;
  color: var(--text);
  transition: .2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal__close:hover {
  background: rgba(0, 0, 0, 0.1);
}

.modal__header {
  margin-bottom: 24px;
}

.modal__header--center {
  text-align: center;
}

.modal__title {
  font-size: 28px;
  line-height: 1.1;
  margin: 0 0 8px;
  letter-spacing: -.03em;
  color: var(--text);
}

.modal__subtitle {
  margin: 0;
  color: var(--muted);
  font-size: var(--font-size);
}

.modal__form {
  display: grid;
  gap: 16px;
  margin-bottom: 24px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}

.form-input {
  width: 100%;
  height: 48px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.95);
  padding: 0 14px;
  color: var(--text);
  font-size: 14px;
  outline: none;
  transition: .2s ease;
}

.form-input:focus {
  border-color: rgba(182, 138, 90, 0.65);
  box-shadow: 0 0 0 4px rgba(182, 138, 90, 0.1);
}

.form-textarea {
  height: auto;
  min-height: 100px;
  padding: 12px 14px;
  resize: vertical;
}

.form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  font-size: 14px;
  color: var(--text);
}

.form-checkbox input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  cursor: pointer;
  accent-color: var(--accent);
}

.form-checkbox a {
  color: var(--accent);
  text-decoration: none;
  transition: .2s ease;
}

.form-checkbox a:hover {
  color: var(--accent-dark);
  text-decoration: underline;
}

.form-status {
  min-height: 20px;
  font-size: 14px;
  margin-top: 8px;
}

.form-status.error {
  color: var(--danger);
}

.form-status.success {
  color: var(--success);
}

.modal__actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.modal__actions:has(> :only-child) {
  grid-template-columns: 1fr;
  justify-items: center;
}

.modal__footer {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.modal__footer-content h3 {
  font-size: 20px;
  margin: 0 0 8px;
}

.modal__footer-content p {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 14px;
}

/* Поиск региона */
.region-search {
  position: relative;
  margin-bottom: 16px;
}

.region-search__input {
  width: 100%;
  padding: 14px 44px 14px 44px;
  border: 2px solid var(--line);
  border-radius: 12px;
  font-size: 15px;
  font-family: inherit;
  transition: all 0.2s ease;
  background: var(--bg-soft);
}

.region-search__input:focus {
  outline: none;
  border-color: var(--accent);
  background: #fff;
}

.region-search__input::placeholder {
  color: var(--muted);
}

.region-search__icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted);
  pointer-events: none;
}

.region-search__clear {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  padding: 6px;
  cursor: pointer;
  color: var(--muted);
  border-radius: 6px;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.region-search__clear:hover {
  background: rgba(0, 0, 0, 0.05);
  color: var(--text);
}

/* Подсказки */
.region-hints {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
  font-size: 14px;
}

.region-hints__label {
  color: var(--muted);
}

.region-hints__item {
  background: none;
  border: none;
  color: var(--accent);
  cursor: pointer;
  padding: 0;
  font-size: 14px;
  font-family: inherit;
  text-decoration: none;
  border-bottom: 1px dashed var(--accent);
  transition: all 0.2s ease;
}

.region-hints__item:hover {
  color: var(--accent-dark);
  border-bottom-color: var(--accent-dark);
}

.region-hints__item--auto {
  color: var(--text);
  border-bottom-style: solid;
  border-bottom-color: var(--line);
}

.region-hints__item--auto:hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

.region-hints__divider {
  color: var(--muted);
}

/* Список регионов */
.region-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 24px;
  padding: 12px 0;
}

.region-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  color: var(--text);
  text-decoration: none;
  font-size: 15px;
  border-radius: 8px;
  transition: all 0.15s ease;
  cursor: pointer;
}

.region-link:hover:not(.region-link--active) {
  background: rgba(182, 138, 90, 0.08);
  color: var(--accent-dark);
}

.region-link--active {
  color: var(--accent);
  font-weight: 600;
  cursor: default;
  background: rgba(182, 138, 90, 0.05);
}

.region-link__check {
  color: var(--accent);
  flex-shrink: 0;
  margin-left: 8px;
}

/* Пустое состояние поиска */
.region-empty {
  text-align: center;
  padding: 40px 20px;
  color: var(--muted);
}

.region-empty svg {
  color: var(--muted);
  opacity: 0.5;
  margin-bottom: 16px;
}

.region-empty p {
  font-size: 18px;
  font-weight: 600;
  color: var(--text);
  margin: 0 0 8px;
}

.region-empty span {
  font-size: 14px;
  display: block;
}

.success-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--success), #0d5a3a);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.success-icon svg {
  width: 40px;
  height: 40px;
  color: #fff;
}

.error-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--danger), #8a3333);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.error-icon svg {
  width: 40px;
  height: 40px;
  color: #fff;
}

@keyframes fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slide-up {
  from {
    transform: translateY(20px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}



/* Кнопка вернуться вверх */
.scroll-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: #fff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  z-index: 999;
}

.scroll-to-top svg {
  width: 24px;
  height: 24px;
  color: #fff;
}

.scroll-to-top.show {
  opacity: 1;
  visibility: visible;
}

.scroll-to-top:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.scroll-to-top:active {
  transform: translateY(0);
}

@media (max-width: 1180px) {
  .showcase,
  .cards-4,
  .cards-3,
  .steps,
  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }

  .calc-card {
    min-height: initial;
  }

  .hero__stats { grid-template-columns: 1fr 1fr; }
  .showcase__big { min-height: 420px; }
  .feature-list { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  .audience-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .bento { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .bento__item--wide { grid-column: span 2; }
}

@media (max-width: 860px) {
  .nav,
  .phone,
  .topbar__actions .btn--secondary,
  .topbar__actions .btn--primary { display: none; }
  .topbar__inner { min-height: 56px; gap: 8px; }

  .topbar__actions { flex-shrink: 0; }
  .topbar__actions .btn { padding: 8px 14px; font-size: 13px; white-space: nowrap; }
  .burger { display: flex; }
  .mobile-menu { display: block; }

  .calc-grid,
  .calc-result,
  .cards-4,
  .cards-3,
  .cards-2,
  .showcase,
  .steps,
  .footer__grid,
  .calc-actions {
    grid-template-columns: 1fr;
  }

  .hero__content-inner,
  .cta-banner {
    padding: 22px;
  }

  .calc-card {
    padding: 18px;
  }

  .wizard-cards--3col,
  .wizard-cards--4col {
    grid-template-columns: 1fr 1fr;
  }

  .hero__stats { grid-template-columns: 1fr 1fr; }
  .showcase__stack { grid-template-rows: initial; grid-template-columns: 1fr; }
  .showcase__big, .showcase__small { min-height: 300px; }
  .sticky-mobile { display: block; }
  body { padding-bottom: 92px; }
  .parallax-bg { opacity: 0.5; }
  .parallax-circle--3,
  .parallax-circle--5,
  .mirror-shape--rect-2 { display: none; }

  .modal__content {
    padding: 24px;
    max-width: calc(100% - 24px);
  }

  .modal__actions {
    grid-template-columns: 1fr;
  }

  .scroll-to-top {
    bottom: 100px;
    right: 16px;
    width: 44px;
    height: 44px;
  }

  .footer__bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .footer__dev {
    order: 2;
    text-align: left;
  }

  .footer__legal {
    flex-direction: column;
    gap: 8px;
    font-size: 13px;
    order: 3;
  }

  .footer__copyright {
    order: 1;
  }
}

@media (max-width: 700px) {
  .why-list { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .audience-grid { grid-template-columns: 1fr; }
  .bento { grid-template-columns: 1fr; grid-auto-rows: auto; }
  .bento__item--wide,
  .bento__item--tall { grid-column: span 1; grid-row: span 1; }
  .bento__item { min-height: 140px; }
  .contact-channels { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 180px 150px 150px;
    gap: 8px;
  }
  .form-row { grid-template-columns: 1fr; }
}

/* ── Утилиты форм ── */

/* Двухколоночная строка в форме */
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

/* Обёртка формы — карточка */
.form-card {
  background: var(--card-solid);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow);
}

/* Внутренность формы */
.form-body {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Подпись под кнопкой */
.form-consent {
  font-size: .78rem;
  color: var(--muted);
  text-align: center;
  margin: 0;
}

/* Список преимуществ рядом с формой */
.form-benefits {
  margin-top: 1.5rem;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: .75rem;
}

.form-benefits li {
  display: flex;
  gap: .6rem;
  font-size: .9rem;
  color: var(--muted);
}

.form-benefits li::before {
  content: '✓';
  color: var(--accent);
  flex-shrink: 0;
}

/* Баннер региона */
.region-banner {
  position: relative;
  z-index: 999;
  background: rgba(182,138,90,.1);
  border-bottom: 1px solid rgba(182,138,90,.2);
  padding: 10px 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: 14px;
  color: var(--text);
}

.region-banner__link {
  font-weight: 700;
  color: var(--accent);
  white-space: nowrap;
}

.region-banner__close {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 18px;
  color: var(--muted);
  padding: 0 4px;
  line-height: 1;
}

/* Cookie баннер */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--card-solid);
  border-top: 1px solid var(--line);
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
  padding: 20px;
  animation: slideUp 0.4s ease-out;
}

@keyframes slideUp {
  from {
    transform: translateY(100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes slideDown {
  from {
    transform: translateY(0);
    opacity: 1;
  }
  to {
    transform: translateY(100%);
    opacity: 0;
  }
}

.cookie-banner__content {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.cookie-banner__text {
  margin: 0;
  font-size: 14px;
  color: var(--text);
  line-height: 1.5;
}

.cookie-banner__text a {
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid var(--accent);
  transition: all 0.2s ease;
}

.cookie-banner__text a:hover {
  color: var(--accent-dark);
  border-bottom-color: var(--accent-dark);
}

@media (max-width: 860px) {
  .cookie-banner {
    padding: 16px;
  }
  
  .cookie-banner__content {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }
  
  .cookie-banner__text {
    font-size: 13px;
  }
}

/* Секция с выравниванием по верху (для форм рядом с текстом) */
.cards-2--top { align-items: start; }

/* ── Вспомогательные классы секций ── */
.section--hero-compact { padding-top: 3rem; padding-bottom: 1.5rem; }
.section--tight { padding-top: 0; }

/* Мелкая подсказка под блоком */
.section__hint {
  font-size: .875rem;
  color: var(--muted);
  margin-top: .75rem;
}

/* Список ключ-значение (адрес, реквизиты) */
.info-list {
  margin: 1rem 0 0;
  display: grid;
  gap: .25rem;
}
.info-list dt {
  font-size: .75rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .04em;
  margin-top: .5rem;
}
.info-list dd {
  margin: 0;
  font-size: .95rem;
  line-height: 1.5;
}

/* Карточка реквизитов компании */
.company-card {
  margin-top: 2rem;
  padding: 1.25rem 1.5rem;
  background: var(--card-solid);
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
}
.company-card__name {
  margin: 0 0 .75rem;
  font-weight: 600;
  font-size: .9rem;
  color: var(--text);
}
.company-card__details {
  margin: 0;
  display: grid;
  gap: .15rem;
  font-size: .82rem;
  color: var(--muted);
  line-height: 2;
}
.company-card__details > div { display: flex; gap: .5rem; flex-wrap: wrap; }
.company-card__details dt { color: var(--muted); }
.company-card__details dd { margin: 0; color: var(--text); }
.company-card__links {
  margin-top: .75rem;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}
.company-card__links a {
  color: var(--accent);
  font-size: .8rem;
  text-decoration: none;
}
.company-card__links a:hover { text-decoration: underline; }

/* Модификаторы audience-item */
.audience-item--cta {
  cursor: pointer;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  text-align: center;
  gap: 12px;
  border: 1.5px dashed rgba(182,138,90,.35);
  background: rgba(182,138,90,.04);
}
.audience-item__title--accent { color: var(--accent); }
.audience-item__meta {
  font-size: .8rem;
  color: var(--muted);
  margin: .4rem 0 0;
}

/* Значение канала связи — ожидает подтверждения */
.contact-channel__value--pending {
  color: var(--muted);
  font-size: .85rem;
}

/* Группа кнопок */
.btn-group {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ── Пресеты калькулятора ── */

/* Уведомление о применении пресета */
.preset-notification {
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%) translateY(-30px);
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  background: linear-gradient(135deg, rgba(31, 122, 85, 0.96), rgba(31, 122, 85, 0.92));
  color: #fff;
  border-radius: 14px;
  font-size: 14px;
  font-weight: 600;
  box-shadow: 0 12px 32px rgba(31, 122, 85, 0.35), 0 4px 12px rgba(0, 0, 0, 0.15);
  opacity: 0;
  pointer-events: none;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  z-index: 100;
  backdrop-filter: blur(8px);
}

.preset-notification.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.preset-notification svg {
  flex-shrink: 0;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.2));
}

/* Подсветка заполненных полей */
.wizard-card.field-highlighted {
  animation: wizard-card-highlight 0.8s ease-out;
  border-color: rgba(31, 122, 85, 0.6);
  background: rgba(31, 122, 85, 0.08);
}

@keyframes wizard-card-highlight {
  0% {
    box-shadow: 0 0 0 8px rgba(31, 122, 85, 0.3);
    transform: scale(1.02);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(31, 122, 85, 0);
    transform: scale(1);
  }
}

.wizard-extra-item.field-highlighted {
  animation: extra-item-highlight 0.8s ease-out;
  border-color: rgba(31, 122, 85, 0.6);
  background: rgba(31, 122, 85, 0.05);
}

@keyframes extra-item-highlight {
  0% {
    box-shadow: 0 0 0 6px rgba(31, 122, 85, 0.25);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(31, 122, 85, 0);
  }
}

/* Адаптивность для пресетов */
@media (max-width: 560px) {
  .preset-notification {
    top: 10px;
    left: 10px;
    right: 10px;
    width: auto;
    transform: translateY(-30px);
    padding: 10px 14px;
    font-size: 12px;
    border-radius: 12px;
  }
  
  .preset-notification.show {
    transform: translateY(0);
  }
  
  .card__badges {
    top: 10px;
    right: 10px;
    gap: 5px;
  }
  
  .card__badge {
    width: 32px;
    height: 32px;
  }
  
  .card__badge svg {
    width: 16px;
    height: 16px;
  }
}

/* ── Fancybox overrides ───────────────────────────────────────────────────── */
/* Скрываем всё кроме счётчика и кнопки закрытия */
.fancybox__container [data-panzoom-action],
.fancybox__container [data-autoplay-action],
.fancybox__container [data-thumbs-action],
.fancybox__container [data-fullscreen-action],
.fancybox__thumbs {
  display: none !important;
}
