/*
Theme Name: My Burger Theme
Text Domain: mytheme
*/

:root {
  --bg: #f4efe8;
  --surface: #fffdfa;
  --surface-2: #f8f1e8;
  --surface-3: #f2e7d8;
  --text: #1f1b17;
  --muted: #6e6358;
  --line: #e7d9ca;
  --brand: #c62828;
  --brand-2: #8e0000;
  --accent: #e53935;
  --danger: #8f4a3a;
  --success: #2f6b54;
  --shadow: 0 24px 60px rgba(44, 32, 18, 0.10);
  --shadow-sm: 0 12px 28px rgba(44, 32, 18, 0.08);
  --radius-xl: 30px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --radius-sm: 12px;
  --container: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  margin: 0;
  font-family: Inter, Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(198,146,59,.08), transparent 26%),
    linear-gradient(180deg, #f8f4ee 0%, #f3eee7 100%);
  line-height: 1.5;
  overflow-x: hidden;
  padding-top: 102px;
}

body.menu-open {
  overflow: hidden;
  touch-action: none;
}

img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
:focus-visible {
  outline: 3px solid rgba(198,146,59,.45);
  outline-offset: 2px;
}

.container {
  width: min(var(--container), calc(100% - 40px));
  margin: 0 auto;
}

.topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  backdrop-filter: blur(14px);
  background: rgba(255, 251, 246, .84);
  border-bottom: 1px solid rgba(231,217,202,.9);
  width: 100%;
}

.nav {
  min-height: 82px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  padding: 10px 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  white-space: nowrap;
}

.logo-mark {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  color: #fff;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}

.logo-mark::before {
  content: "";
  position: absolute;
  inset: 10px;
  border-radius: 12px;
  border: 2px solid rgba(255,255,255,.18);
}

.logo-mark svg {
  position: relative;
  z-index: 1;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.logo-title {
  font-size: 21px;
  font-weight: 900;
  letter-spacing: -.03em;
  color: var(--brand);
}

.logo-sub {
  margin-top: 4px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--brand-2);
}

.menu {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 3px 4px;
  min-width: 0;
  width: 100%;
  overflow: hidden;
  flex-wrap: nowrap;
  justify-content: center;
  font-size: 11px;
  color: var(--muted);
  background: rgba(255,255,255,.72);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(10px);
}

/* Drawer/overlay скрыты на ПК */
.menu-overlay,
.menu-drawer {
  display: none !important;
}

.menu-overlay[hidden],
.menu-drawer[hidden] {
  display: none !important;
}

/* Бургер-кнопка для мобильной версии */
.burger {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, #fffdf9, #f5ede3);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.burger-inner {
  width: 18px;
  height: 14px;
  position: relative;
}

.burger-line {
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  border-radius: 999px;
  background: var(--brand-2);
  transition: transform .2s ease, opacity .2s ease, top .2s ease, bottom .2s ease;
}

.burger-line:nth-child(1) { top: 0; }
.burger-line:nth-child(2) { top: 50%; transform: translateY(-50%); }
.burger-line:nth-child(3) { bottom: 0; }

.burger.is-open .burger-line:nth-child(1) { top: 50%; transform: translateY(-50%) rotate(45deg); }
.burger.is-open .burger-line:nth-child(2) { opacity: 0; }
.burger.is-open .burger-line:nth-child(3) { bottom: 50%; transform: translateY(50%) rotate(-45deg); }

.menu a {
  text-decoration: none;
  padding: 6px 8px;
  border-radius: 10px;
  transition: .2s ease;
  font-weight: 700;
  white-space: nowrap;
  flex: 0 1 auto;
}

.menu a:hover {
  color: #fff;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  box-shadow: 0 10px 22px rgba(198, 40, 40, .18);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: nowrap;
  justify-content: flex-end;
  flex-shrink: 0;
}

.icon,
.phone-icon,
.btn,
.card-link,
.mini-link { text-decoration: none; }

.icon {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: linear-gradient(180deg, #fffdf9, #f5ede3);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  font-size: 12px;
  color: var(--brand);
  font-weight: 800;
  transition: transform .2s ease, border-color .2s ease;
}

.icon:hover {
  transform: translateY(-2px);
  border-color: #d8c1a5;
}

.icon[aria-label="Viber"]:hover { background:#7360F2; color:#fff; border-color:#7360F2; }
.icon[aria-label="Instagram"]:hover { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%); color:#fff; border-color:transparent; }
.icon[aria-label="Telegram"]:hover { background:#229ED9; color:#fff; border-color:#229ED9; }
.icon[aria-label="WhatsApp"]:hover { background:#25D366; color:#fff; border-color:#25D366; }

.phone-icon {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  height:40px;
  padding:0 14px;
  border-radius:12px;
  background: linear-gradient(180deg, #fffdf9, #f5ede3);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  color: var(--brand);
  font-weight:700;
  white-space: nowrap;
  transition: transform .2s ease, border-color .2s ease, background .2s ease, color .2s ease;
}

.phone-icon:hover { transform: translateY(-2px); border-color: var(--brand); background: var(--brand); color: #fff; }

.hero { padding: 42px 0 26px; }
.hero-grid { display: grid; grid-template-columns: 1.06fr .94fr; gap: 28px; align-items: stretch; }
.hero-copy, .hero-side { background: linear-gradient(180deg, #fffdf9, #f8f1e9); border: 1px solid var(--line); border-radius: 32px; box-shadow: var(--shadow); }
.hero-copy { padding: 52px; position: relative; overflow: hidden; }
.hero-copy::after { content: ""; position: absolute; right: -40px; top: -40px; width: 210px; height: 210px; border-radius: 50%; background: radial-gradient(circle, rgba(198,146,59,.18), transparent 64%); pointer-events: none; }
.badge-row { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 20px; }
.badge { display: inline-flex; align-items: center; gap: 10px; padding: 10px 14px; background: #fbf2df; color: #8a6532; border: 1px solid #ead5b1; border-radius: 999px; font-size: 14px; font-weight: 700; }
h1, h2, h3 { margin: 0 0 14px; }
h1 { font-size: clamp(38px, 5vw, 64px); line-height: 1.05; max-width: 760px; letter-spacing: -.03em; font-weight: 900; }
.hero-highlight{ color: var(--brand); position: relative; white-space: nowrap; }
.hero-highlight::after{ content:""; position:absolute; left:0; right:0; bottom:-6px; height:6px; border-radius:6px; background:linear-gradient(135deg,var(--brand),var(--brand-2)); opacity:.25; }
.lead { font-size: 20px; color: var(--muted); max-width: 640px; margin-bottom: 26px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; margin-bottom: 22px; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 54px; padding: 0 24px; border-radius: 16px; font-weight: 800; border: 1px solid transparent; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; cursor: pointer; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { color: #fff; background: linear-gradient(135deg, var(--brand), var(--brand-2)); box-shadow: 0 16px 40px rgba(166, 124, 82, .24); }
.btn-secondary { background: #fff; border-color: var(--line); color: var(--text); }
.hero-note { color: var(--muted); font-size: 14px; margin-bottom: 28px; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 10px; }
.stat { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 20px 18px; text-align: center; display: flex; flex-direction: column; justify-content: center; min-height: 90px; }
.stat b { display: block; font-size: 30px; margin-bottom: 4px; color: var(--brand); line-height: 1; }
.stat span{ font-size:14px; color:var(--muted); }

.hero-side { min-height: 590px; padding: 24px; display: grid; grid-template-rows: auto auto; gap: 18px; background: radial-gradient(circle at top right, rgba(198,146,59,.18), transparent 35%), linear-gradient(180deg, #fffaf3, #efe5d8); }
.screen { border-radius: 28px; background: linear-gradient(180deg, rgba(22,22,22,.16), rgba(22,22,22,.32)), linear-gradient(135deg, #72614f 0%, #40342d 48%, #1f1d1a 100%); color: #fff; padding: 28px; position: relative; overflow: hidden; min-height: 356px; }
.screen::before { content: ""; position: absolute; right: 130px; top: 26px; width: 90px; height: 280px; background: linear-gradient(180deg,#f2e7d8,#d8c3a8); border-right: 2px solid #c9a97c; border-top-left-radius: 12px; border-bottom-left-radius: 12px; box-shadow: inset -8px 0 14px rgba(0,0,0,.18); z-index: 0; animation: doorLeft 2.2s ease .6s forwards; }
.screen::after { content: ""; position: absolute; right: 50px; top: 26px; width: 90px; height: 280px; background: linear-gradient(180deg,#f2e7d8,#d8c3a8); border-left: 2px solid #c9a97c; border-top-right-radius: 12px; border-bottom-right-radius: 12px; box-shadow: inset 8px 0 14px rgba(0,0,0,.18); z-index: 0; animation: doorRight 2.2s ease .6s forwards; }
.screen .lift-glow { position: absolute; right: 8px; top: 18px; width: 208px; height: 312px; border-radius: 24px; background: radial-gradient(circle, rgba(245,220,164,.24), transparent 68%); opacity: 0; filter: blur(10px); animation: liftGlow 1.4s ease .35s forwards; pointer-events: none; z-index: 0; }
@keyframes doorLeft { 0% { transform: translateX(0); } 100% { transform: translateX(-14px); } }
@keyframes doorRight { 0% { transform: translateX(0); } 100% { transform: translateX(14px); } }
@keyframes liftGlow { 0% { opacity: 0; transform: scale(.92); } 100% { opacity: 1; transform: scale(1); } }
.screen-grid { margin-top: 26px; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; position: relative; z-index: 1; width: 100%; }
.mini-card { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); border-radius: 18px; padding: 14px; min-height: 100px; backdrop-filter: blur(6px); text-decoration: none; display: block; transition: transform .2s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease; }
.mini-card:hover { background: rgba(255,255,255,.16); border-color: rgba(255,255,255,.28); box-shadow: 0 12px 26px rgba(0,0,0,.18); transform: translateY(-3px); }
.lead-form { border-radius: 24px; background: rgba(255,255,255,.72); border: 1px solid rgba(231,217,202,.95); box-shadow: var(--shadow-sm); padding: 20px; }

section { padding: 34px 0; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.eyebrow { color: var(--brand); font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: .10em; margin-bottom: 10px; }
h2 { font-size: clamp(28px, 4vw, 44px); line-height: 1.05; letter-spacing: -.02em; }
.sub { color: var(--muted); max-width: 680px; }

.benefits, .gallery, .steps, .districts, .pricing, .friends, .cases { display: grid; gap: 18px; }
.benefits { grid-template-columns: repeat(4, 1fr); }
.gallery { grid-template-columns: repeat(3, 1fr); }

/* Слайдер для блока «Примеры публикаций» — по одному макету в ряд с горизонтальным скроллом */
#post-examples .post-examples-row {
  position: relative;
}

#post-examples .gallery {
  grid-auto-flow: column;
  /* Один макет на экран, шире в 2 раза */
  grid-auto-columns: minmax(520px, min(100%, 720px));
  grid-template-columns: none;
  overflow-x: auto;
  padding-bottom: 6px;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  scroll-behavior: smooth;
}

#post-examples .gallery::-webkit-scrollbar {
  display: none;
}

#post-examples .gallery .shot {
  scroll-snap-align: center;
}

.post-examples-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #f9f2e6;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 700;
  color: var(--brand);
  cursor: pointer;
  box-shadow: 0 6px 14px rgba(44, 32, 18, 0.10);
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  z-index: 3;
}

.post-examples-arrow:hover {
  background: #fff;
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(44, 32, 18, 0.16);
}

.post-examples-arrow:active {
  transform: translateY(0);
  box-shadow: 0 4px 10px rgba(44, 32, 18, 0.12);
}

.post-examples-arrow-prev {
  left: 10px;
}

.post-examples-arrow-next {
  right: 10px;
}

@media (max-width: 760px) {
  #post-examples .post-examples-row {
    grid-template-columns: auto minmax(0, 1fr) auto;
  }

  #post-examples .gallery {
    /* На мобильных макет занимает почти всю ширину экрана */
    grid-auto-columns: minmax(96vw, 1fr);
  }

  /* На мобильных стрелки не показываем, листаем свайпом */
  .post-examples-arrow {
    display: none;
  }
}

@media (min-width: 761px) {
  #post-examples .gallery {
    cursor: grab;
  }

  #post-examples .gallery.is-dragging {
    cursor: grabbing;
  }
}
.steps { grid-template-columns: repeat(3, 1fr); }
.districts { grid-template-columns: repeat(4, 1fr); }
.pricing { grid-template-columns: repeat(2, 1fr); }
@media (min-width: 761px){ .pricing { grid-template-columns: repeat(2, 1fr); } }
.friends { grid-template-columns: repeat(5, 1fr); }
.cases { grid-template-columns: repeat(3, 1fr); }

.formats-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 28px;
  align-items: stretch;
}

.benefit, .step, .review, .faq, .contact-card, .cta, .pricing-card, .district, .friend, .case, .metric, .audit-card { background: var(--surface); border: 1px solid var(--line); border-radius: 24px; box-shadow: var(--shadow); }
.benefit, .step, .pricing-card, .district, .case { padding: 24px; }

.steps .step:nth-child(odd) { background: #ffffff; color: var(--text); }
.steps .step:nth-child(even) { background: linear-gradient(135deg, var(--brand), var(--brand-2)); color: #fff; border-color: transparent; }
.steps .step:nth-child(even) .sub { color: rgba(255,255,255,.85); }
.steps .step:nth-child(even) .step-num { background: rgba(255,255,255,.18); color: #fff; }

.benefit-icon, .step-num { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 14px; background: #f7efe4; color: var(--brand); font-weight: 800; margin-bottom: 18px; }

.shot { height: 300px; border-radius: 28px; border: 1px solid var(--line); position: relative; overflow: hidden; box-shadow: var(--shadow); background-size: cover; background-position: center; background-repeat: no-repeat; }
.shot::before { content: attr(data-label); position: absolute; left: 18px; bottom: 18px; padding: 8px 12px; border-radius: 999px; background: rgba(255,251,245,.88); font-size: 14px; font-weight: 700; z-index: 2; }
.shot::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(24,18,14,.08), rgba(24,18,14,.22)); z-index: 1; pointer-events: none; }

.reviews { display: grid; grid-template-columns: 1.2fr .8fr; gap: 18px; align-items: stretch; }
.review { padding: 28px; display: grid; grid-template-columns: 88px 1fr; gap: 20px; align-items: start; min-height: 260px; height: 100%; position: relative; overflow: hidden; }
.review::before { content: "“"; position: absolute; right: 24px; top: 8px; font-size: 120px; line-height: 1; font-weight: 900; color: rgba(198,40,40,.10); pointer-events: none; }
.avatar { width: 88px; height: 88px; border-radius: 50%; object-fit: cover; border: 4px solid #fff; box-shadow: var(--shadow-sm); background: linear-gradient(180deg, #eddcc6, #caa27b); transition: opacity .25s ease, transform .25s ease; }
.review-copy { transition: opacity .3s ease, transform .45s cubic-bezier(.22,1,.36,1); position: relative; z-index: 1; }
.review.is-switching .avatar { opacity: .35; transform: translateX(-18px) scale(.96); }
.review.is-switching .review-copy { opacity: 0; transform: translateX(28px); }
.review-dots { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.review-dot { width: 10px; height: 10px; border-radius: 999px; border: 0; background: #d7c8b7; cursor: pointer; padding: 0; transition: all .2s ease; }
.review-dot.active { width: 26px; background: linear-gradient(135deg, var(--brand), var(--brand-2)); }
.score { color: var(--accent); font-size: 20px; margin-bottom: 8px; }
.quote { font-size: 22px; line-height: 1.3; margin-bottom: 12px; min-height: 120px; }

.mini-metrics { display: grid; gap: 14px; }
.metric { padding: 18px; background: linear-gradient(180deg, var(--surface), var(--surface-2)); }

/* Trustindex block in reviews section */
.reviews-trust {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow);
  padding: 16px;
  overflow: hidden;
}

.reviews-trust iframe {
  max-width: 100% !important;
}

.reviews-trust .ti-widget,
.reviews-trust [class*="ti-widget"],
.reviews-trust [class*="trustindex"] {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 auto !important;
}

@media (max-width: 760px) {
  .reviews-trust {
    padding: 10px;
    border-radius: 18px;
  }
}

.district { min-height: 190px; display: flex; flex-direction: column; justify-content: space-between; gap: 16px; }
.district .tag, .mini-tag { display: inline-flex; width: fit-content; padding: 8px 10px; border-radius: 999px; background: #f7efe4; color: var(--brand); font-size: 12px; font-weight: 700; }
.card-link, .mini-link { display: inline-flex; align-items: center; gap: 8px; color: var(--brand); font-weight: 800; }
.card-link:hover, .mini-link:hover { color: #0f3c34; }

.district-detail p {
  margin: 0 0 6px;
  font-size: 14px;
}

/* Leninsky page table styling */
.page-main {
  padding: 20px 0 36px;
}

.page-header {
  margin-bottom: 14px;
}

.page-title {
  margin: 0;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.08;
  letter-spacing: -.02em;
  color: var(--text);
}

.page-content-leninsky .page-header {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.page-body-leninsky {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow);
  padding: 14px;
  overflow-x: auto;
}

.page-body-leninsky table {
  width: 100%;
  min-width: 720px;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 14px;
}

.page-body-leninsky thead th {
  background: linear-gradient(180deg, #f8f1e8, #f3e9dc);
  color: var(--text);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .04em;
  font-size: 12px;
}

.page-body-leninsky th,
.page-body-leninsky td {
  padding: 12px 14px;
  border-right: 1px solid #ecdfd1;
  border-bottom: 1px solid #ecdfd1;
  vertical-align: top;
  text-align: left;
  line-height: 1.45;
}

.page-body-leninsky tr:nth-child(even) td {
  background: #fdf9f3;
}

.page-body-leninsky tr:hover td {
  background: #fff4e7;
}

.page-body-leninsky th:first-child,
.page-body-leninsky td:first-child {
  border-left: 1px solid #ecdfd1;
}

.page-body-leninsky thead tr:first-child th {
  border-top: 1px solid #ecdfd1;
}

.page-body-leninsky thead tr:first-child th:first-child {
  border-top-left-radius: 14px;
}

.page-body-leninsky thead tr:first-child th:last-child {
  border-top-right-radius: 14px;
}

.page-body-leninsky tbody tr:last-child td:first-child {
  border-bottom-left-radius: 14px;
}

.page-body-leninsky tbody tr:last-child td:last-child {
  border-bottom-right-radius: 14px;
}

/* Hide "Примечание" column only on Leninsky page */
.page-body-leninsky table th:nth-child(3),
.page-body-leninsky table td:nth-child(3) {
  display: none;
}

.district-intro {
  margin-bottom: 14px;
  background:
    radial-gradient(circle at right top, rgba(198, 40, 40, .07), transparent 42%),
    linear-gradient(180deg, #fffdf9, #f8f1e8);
  border: 1px solid #e7d9ca;
  border-radius: 22px;
  box-shadow: 0 14px 32px rgba(44, 32, 18, .10);
  padding: 18px;
}

.district-intro-layout {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.district-intro-region {
  width: 190px;
  height: 190px;
  border-radius: 18px;
  background:
    radial-gradient(circle at 75% 12%, rgba(255,255,255,.22), transparent 45%),
    linear-gradient(140deg, var(--brand), #9f1a1a 55%, var(--brand-2));
  color: #fff8f0;
  font-size: clamp(20px, 2vw, 28px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -.01em;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 16px;
  box-shadow: 0 14px 28px rgba(86, 14, 14, .24);
  border: 1px solid rgba(255, 255, 255, .22);
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
  text-wrap: balance;
}

.district-intro-content {
  min-width: 0;
}

.district-intro h2 {
  margin: 0 0 10px;
  font-size: clamp(24px, 2.8vw, 40px);
  line-height: 1.08;
  letter-spacing: -.02em;
}

.district-intro h3 {
  margin: 0 0 9px;
  font-size: 24px;
}

.district-intro p {
  margin: 0 0 10px;
  color: #433a32;
  line-height: 1.6;
}

.district-intro ul {
  margin: 0 0 10px;
  padding-left: 20px;
  display: grid;
  gap: 7px;
}

.district-intro li {
  color: #433a32;
  line-height: 1.52;
}

.district-intro a {
  color: var(--brand);
  font-weight: 700;
  text-decoration: none;
}

.district-intro a:hover {
  color: var(--brand-2);
}

.district-final-cta {
  margin-top: 22px;
}

.district-final-cta-card {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 82% 12%, rgba(255, 214, 150, .26), transparent 36%),
    radial-gradient(circle at 16% 92%, rgba(184, 49, 45, .22), transparent 44%),
    linear-gradient(135deg, #2e231a 0%, #5b4634 52%, #8e6b49 100%);
  border: 1px solid rgba(255, 214, 157, .26);
  border-radius: 24px;
  box-shadow: 0 26px 58px rgba(41, 28, 18, .24);
  padding: 20px;
}

.district-final-cta-layout {
  display: grid;
  grid-template-columns: 1.1fr minmax(320px, .9fr);
  gap: 18px;
  align-items: stretch;
}

.district-final-cta-chip {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  background: linear-gradient(180deg, #f8e3b5, #e5c98e);
  color: #4a341f;
  border: 1px solid rgba(255, 238, 198, .45);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .05em;
  text-transform: uppercase;
  margin-bottom: 10px;
  box-shadow: 0 8px 16px rgba(28, 18, 11, .25);
}

.district-final-cta-head h2 {
  font-size: clamp(24px, 3.4vw, 36px);
  margin-bottom: 8px;
  line-height: 1.08;
  max-width: 640px;
  color: #fff9f0;
  text-shadow: 0 2px 10px rgba(0, 0, 0, .22);
}

.district-final-cta-head p {
  margin: 0;
  color: rgba(255, 244, 231, .88);
  max-width: 620px;
}

.district-final-cta-form {
  background: linear-gradient(180deg, rgba(255, 255, 255, .97), rgba(250, 244, 236, .97));
  border: 1px solid rgba(236, 214, 188, .95);
  border-radius: 18px;
  box-shadow:
    0 16px 34px rgba(28, 20, 13, .18),
    inset 0 1px 0 rgba(255, 255, 255, .8);
  padding: 14px;
}

.lead-form-inline {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  align-content: start;
}

.lead-form-inline .lead-field span {
  font-size: 12px;
  font-weight: 700;
  color: #6b5d51;
}

.lead-form-inline .lead-note {
  grid-column: 1 / -1;
  margin: 0;
  font-size: 11px;
  text-align: center;
  color: #7b6c5f;
}

.lead-form-inline .lead-field input {
  min-height: 46px;
  background: #fffdfa;
  border: 1px solid #deccb8;
  border-radius: 12px;
  padding: 11px 12px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .85);
}

.lead-form-inline .lead-field input:focus {
  border-color: #c58b4a;
  box-shadow: 0 0 0 4px rgba(197, 139, 74, .16);
  outline: none;
}

.lead-form-inline .lead-submit {
  grid-column: 1 / -1;
  min-height: 52px;
  width: 100%;
  margin-top: 2px;
  color: #fff8f0;
  background: linear-gradient(135deg, #9f161a, #c32221 52%, #870000 100%);
  border: 1px solid rgba(255, 213, 170, .35);
  box-shadow:
    0 16px 32px rgba(123, 10, 10, .34),
    inset 0 1px 0 rgba(255, 255, 255, .25);
}

.lead-form-inline .lead-submit:hover {
  transform: translateY(-2px);
  box-shadow:
    0 18px 34px rgba(123, 10, 10, .38),
    inset 0 1px 0 rgba(255, 255, 255, .25);
}

.district-copy {
  margin-top: 18px;
  background: linear-gradient(180deg, #fffdf9, #f8f1e9);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: var(--shadow);
  padding: 18px;
}

.district-copy h2 {
  font-size: clamp(26px, 3.2vw, 36px);
  margin-bottom: 10px;
}

.district-copy h3 {
  margin-top: 16px;
  margin-bottom: 8px;
  font-size: 22px;
}

.district-copy p {
  margin: 0 0 10px;
  color: #433a32;
  line-height: 1.62;
}

.district-copy ul {
  margin: 0 0 8px;
  padding-left: 20px;
  display: grid;
  gap: 8px;
}

.district-copy li {
  color: #433a32;
  line-height: 1.58;
}

.district-map-section {
  margin-top: 16px;
  background: linear-gradient(180deg, #fffdf9, #f8f1e8);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: var(--shadow);
  padding: 16px;
}

.district-map-head h2 {
  margin: 0 0 8px;
  font-size: clamp(24px, 3.3vw, 34px);
}

.district-map-head p {
  margin: 0;
  color: var(--muted);
}

.district-map-canvas {
  margin-top: 12px;
  height: 420px;
}

.district-map-iframe {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
}

.district-map-iframe iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.district-map-loading {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #6b5d51;
  font-weight: 700;
  font-size: 14px;
}

.district-contact-box {
  margin-top: 16px;
  background: #fffdfa;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow-sm);
  padding: 16px;
}

.district-contact-box h3 {
  margin: 0 0 10px;
  font-size: 24px;
}

.district-contact-box p {
  margin: 0 0 8px;
  color: #433a32;
  line-height: 1.55;
}

.district-contact-box p:last-child {
  margin-bottom: 0;
}

.district-contact-box a {
  color: var(--brand);
  text-decoration: none;
  font-weight: 700;
}

.district-contact-box a:hover {
  color: var(--brand-2);
}

@media (max-width: 980px) {
  .district-final-cta-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .district-final-cta-card {
    border-radius: 18px;
    padding: 14px;
  }

  .district-final-cta-layout {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .district-final-cta-form {
    padding: 12px;
  }

  .lead-form-inline {
    grid-template-columns: 1fr;
  }

  .district-copy {
    border-radius: 18px;
    padding: 14px;
  }

  .district-copy h3 {
    font-size: 20px;
  }

  .district-map-section {
    border-radius: 18px;
    padding: 12px;
  }

  .district-map-canvas {
    height: 320px;
    border-radius: 14px;
  }

  .district-contact-box {
    border-radius: 14px;
    padding: 14px;
  }

  .district-contact-box h3 {
    font-size: 22px;
  }
}

@media (max-width: 760px) {
  .page-body-leninsky {
    border-radius: 18px;
    padding: 8px;
  }

  .district-intro {
    border-radius: 16px;
    padding: 13px;
  }

  .district-intro-layout {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .district-intro-region {
    width: 100%;
    height: auto;
    min-height: 104px;
    border-radius: 16px;
    font-size: 24px;
  }

  .district-intro h3 {
    font-size: 18px;
  }

  .page-body-leninsky table {
    min-width: 600px;
    font-size: 13px;
  }

  .page-body-leninsky th,
  .page-body-leninsky td {
    padding: 10px 10px;
  }
}

.format { font-size: 42px; font-weight: 800; line-height: 1; margin-bottom: 8px; color: var(--brand); }
.price { margin-top: 12px; font-size: 26px; font-weight: 800; color: var(--brand); }
.price-note { color: var(--muted); font-size: 13px; margin-top: 8px; }
.gift { margin-top: 18px; text-align: center; color: var(--brand); font-weight: 800; }

.formats-diagram-wrap {
  display: flex;
  justify-content: center;
  align-items: stretch;
  margin-bottom: 28px;
}
.formats-diagram {
  width: min(100%, 520px);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow);
  padding: 16px;
  align-self: stretch;
  display: flex;
  flex-direction: column;
}
.formats-board {
  border: 1px solid #ead9c7;
  border-radius: 18px;
  padding: 12px;
  background: linear-gradient(180deg, #fbf7f1, #f3ebe1);
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1 1 auto;
}
.format-tile {
  border-radius: 12px;
  border: 1px solid #e6d5c3;
  background: rgba(255, 255, 255, .92);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.85);
  padding: 10px;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease, background .18s ease;
}
.format-tile-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}
.format-tile b {
  color: #fff;
  background: var(--brand);
  border-radius: 8px;
  padding: 4px 8px;
  font-size: 14px;
  line-height: 1;
  font-weight: 900;
}
.format-tile span {
  color: #5e4f40;
  font-size: 12px;
  font-weight: 700;
  text-align: right;
}
.format-tile-bar {
  margin-top: 8px;
  height: 10px;
  border-radius: 999px;
  background: #efe2d3;
  overflow: hidden;
}
.format-tile-bar i {
  display: block;
  width: var(--bar, 0%);
  min-width: 10px;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--brand), #d95a5a);
}
.format-tile small {
  display: block;
  margin-top: 6px;
  color: #7a6d61;
  font-size: 12px;
  font-weight: 700;
}

@media (max-width: 760px) {
  .formats-layout {
    grid-template-columns: 1fr;
  }

  .formats-diagram-wrap {
    display: none;
  }
}
.format-tile.active { background: #fff4f4; border-color: rgba(198,40,40,.5); box-shadow: 0 0 0 2px rgba(198,40,40,.12) inset, 0 8px 20px rgba(198,40,40,.12); transform: translateY(-1px); transition: transform .22s ease, box-shadow .22s ease, background .22s ease; }
.pricing-card:hover{ box-shadow: 0 0 0 2px var(--brand), 0 14px 34px rgba(198,40,40,.10); transition: box-shadow .22s ease, transform .22s ease; transform: translateY(-2px); }

.friend { height: 96px; display: grid; place-items: center; font-weight: 800; color: #8a98aa; background: linear-gradient(180deg, #fffdfa, #f9f2e8); }

.faq-wrap { display: grid; grid-template-columns: 1.05fr .95fr; gap: 18px; }
.faq { padding: 10px; }
details { border-bottom: 1px solid var(--line); padding: 18px 10px; overflow: hidden; }
details:last-child { border-bottom: 0; }
details p,
details ul,
details ol { color: var(--muted); margin: 0; max-height: 0; opacity: 0; transform: translateY(-8px); overflow: hidden; transition: max-height .38s ease, opacity .28s ease, transform .38s ease, margin-top .38s ease; }
details.is-open p,
details.is-open ul,
details.is-open ol { opacity: 1; transform: translateY(0); margin-top: 14px; }
summary { list-style: none; cursor: pointer; font-weight: 800; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
summary .faq-icon { transition: transform .28s ease; flex-shrink: 0; }
details.is-open summary .faq-icon { transform: rotate(45deg); }
summary::-webkit-details-marker { display: none; }
details ul,
details ol { padding-left: 18px; }

.contact-card { padding: 18px; overflow: hidden; }
.map { height: 280px; border-radius: 24px; margin-bottom: 18px; position: relative; overflow: hidden; background: #efe4d7; }
.map iframe { position: relative; z-index: 1; width: 100%; height: 100%; border: 0; display: block; }
.map-marker{ position:absolute; left:50%; top:50%; transform:translate(-50%,-100%); width:44px; height:44px; border-radius:14px; display:grid; place-items:center; background:linear-gradient(135deg,var(--brand),var(--brand-2)); color:#fff; box-shadow:0 10px 22px rgba(0,0,0,.25); z-index: 3; pointer-events:none; animation:markerPulse 2.2s infinite; }
@keyframes markerPulse{ 0%{ box-shadow:0 0 0 0 rgba(198,40,40,.55),0 10px 22px rgba(0,0,0,.25); } 70%{ box-shadow:0 0 0 18px rgba(198,40,40,0),0 10px 22px rgba(0,0,0,.25); } 100%{ box-shadow:0 0 0 0 rgba(198,40,40,0),0 10px 22px rgba(0,0,0,.25); } }
.map-marker::after{ content:""; position:absolute; bottom:-8px; left:50%; transform:translateX(-50%); width:12px; height:12px; background:var(--brand); rotate:45deg; border-bottom-right-radius:2px; }
.contact-list { display: grid; gap: 12px; margin-top: 18px; }
.contact-list div { padding: 14px 16px; border-radius: 16px; background: var(--surface-2); border: 1px solid #eee1d2; }

.audit-card { padding: 26px; display: grid; grid-template-columns: 1fr auto; gap: 18px; align-items: center; background: linear-gradient(135deg, #2f2923, #6f5a45 56%, #aa8458); color: #fff; }
.audit-card .eyebrow { color: #f4d5a7; margin-bottom: 8px; }
.audit-card p { color: rgba(255,255,255,.78); margin: 0; }

.footer { padding: 30px 0 92px; color: var(--muted); }
.footer-box { padding: 18px 0; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

.floating-bar { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 55; display: none; gap: 10px; padding: 10px; border-radius: 18px; background: rgba(255,255,255,.94); border: 1px solid var(--line); box-shadow: 0 20px 40px rgba(30, 25, 18, .14); backdrop-filter: blur(14px); }
.floating-bar .btn { flex: 1; min-height: 48px; padding: 0 16px; }
body.menu-open .floating-bar {
  opacity: 0;
  transform: translateY(18px);
  pointer-events: none;
}

.lead-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15,23,42,.55);
  backdrop-filter: blur(8px);
  z-index: 1400;
  opacity: 0;
  pointer-events: none;
  transition: opacity .22s ease;
}

.lead-modal-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

.lead-modal {
  position: fixed;
  inset: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1410;
  opacity: 0;
  pointer-events: none;
  transition: opacity .22s ease, transform .22s ease;
  transform: translateY(6px);
}

.lead-modal.is-open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.lead-modal-inner {
  width: min(480px, calc(100% - 32px));
  background: #fffdfa;
  border-radius: 24px;
  box-shadow: 0 28px 80px rgba(44,32,18,.25);
  border: 1px solid var(--line);
  padding: 22px 22px 20px;
  position: relative;
}

.lead-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 30px;
  height: 30px;
  border-radius: 999px;
  border: 0;
  background: rgba(0,0,0,.04);
  cursor: pointer;
  display: grid;
  place-items: center;
  font-size: 18px;
}

.lead-modal-head h2 {
  margin: 4px 0 8px;
  font-size: 24px;
}

.lead-form-body {
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.lead-field {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 14px;
}

.lead-field input,
.lead-field textarea {
  border-radius: 10px;
  border: 1px solid var(--line);
  padding: 8px 10px;
  font-size: 14px;
}

.lead-submit {
  width: 100%;
  justify-content: center;
}

.lead-note {
  margin-top: 6px;
  font-size: 11px;
}

.lead-toast {
  position: sticky;
  top: 82px;
  z-index: 1200;
}

.lead-toast-inner {
  margin-top: 10px;
  padding: 10px 14px;
  border-radius: 999px;
  background: #e6f6ec;
  color: #165b36;
  font-size: 14px;
  border: 1px solid #b4e3c8;
  box-shadow: 0 10px 24px rgba(22,91,54,.18);
}

@media (max-width: 1260px) {
  .nav { grid-template-columns: auto minmax(0, 1fr) auto; gap: 12px; }
  .logo-title { font-size: 18px; }
  .logo-sub { font-size: 10px; letter-spacing: .12em; }
  .menu { gap: 4px; padding: 4px; font-size: 11px; }
  .menu a { padding: 8px 8px; }
  .icon { width: 38px; height: 38px; }
  .phone-icon { height: 38px; padding: 0 12px; font-size: 14px; }
}

@media (max-width: 1140px) {
  .hero-grid, .reviews, .faq-wrap, .audit-card { grid-template-columns: 1fr; }
  .benefits, .districts { grid-template-columns: repeat(2, 1fr); }
  .pricing { grid-template-columns: repeat(3, 1fr); }
  .friends { grid-template-columns: repeat(3, 1fr); }
  .gallery, .steps, .cases { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 760px) {
  body {
    padding-top: 58px;
  }

  .container {
    width: min(var(--container), calc(100% - 24px));
  }

  .nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: nowrap;
    gap: 8px;
    min-height: 56px;
    padding: 6px 0;
  }

  .logo {
    order: 1;
    gap: 7px;
    min-width: 0;
    flex: 1 1 auto;
  }

  .logo-mark {
    width: 34px;
    height: 34px;
    border-radius: 11px;
  }

  .logo-mark::before {
    inset: 6px;
    border-radius: 8px;
  }

  .logo-text {
    display: flex;
    min-width: 0;
    overflow: hidden;
  }

  .logo-title {
    font-size: 14px;
    line-height: 1;
    max-width: 130px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .logo-sub {
    display: block;
    margin-top: 2px;
    font-size: 10px;
    letter-spacing: .08em;
    max-width: 130px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .burger {
    display: inline-flex;
    order: 3;
    width: 30px;
    height: 30px;
    border-radius: 10px;
    flex: 0 0 auto;
  }

  .burger-inner {
    width: 14px;
    height: 12px;
  }

  /* На мобилке прячем десктопное меню */
  .menu.menu-desktop {
    display: none;
  }

  /* Оверлей под меню */
  .menu-overlay {
    display: block !important;
    position: fixed;
    inset: 0;
    background: transparent;
    z-index: 99998;
    opacity: 0;
    pointer-events: none;
    transition: opacity .28s ease;
  }

  .menu-overlay.is-open {
    opacity: 1;
    pointer-events: auto;
  }

  /* Drawer справа как на скрине */
  .menu-drawer {
    display: flex !important;
    flex-direction: column;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(288px, 80vw);
    background:
      radial-gradient(circle at top left, rgba(198,146,59,.08), transparent 24%),
      linear-gradient(180deg, #fffdfa 0%, #f8f1e8 100%);
    border-left: 1px solid rgba(231,217,202,.9);
    box-shadow: 0 28px 70px rgba(44, 32, 18, 0.18);
    z-index: 99999;
    transform: translateX(108%);
    opacity: 0;
    transition: transform .3s cubic-bezier(.22,1,.36,1), opacity .24s ease;
    padding: 12px 10px calc(12px + env(safe-area-inset-bottom));
    gap: 8px;
    height: 100dvh;
    overflow-y: auto;
    overflow-x: hidden;
  }

  .menu-drawer.is-open {
    transform: translateX(0);
    opacity: 1;
    box-shadow:
      0 24px 60px rgba(44, 32, 18, 0.16),
      0 0 0 100vmax rgba(15,23,42,.68);
  }

  .menu-drawer-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-bottom: 2px;
    position: sticky;
    top: 0;
    z-index: 2;
    padding-top: 2px;
    background:
      radial-gradient(circle at top left, rgba(198,146,59,.08), transparent 24%),
      linear-gradient(180deg, #fffdfa 0%, #f8f1e8 100%);
  }

  .menu-drawer-title {
    font-size: 18px;
    font-weight: 900;
    color: var(--brand);
    letter-spacing: -.02em;
  }

  .menu-drawer-close {
    width: 34px;
    height: 34px;
    border-radius: 12px;
    border: 1px solid var(--line);
    background: linear-gradient(180deg, #fffdf9, #f5ede3);
    box-shadow: var(--shadow-sm);
    color: var(--brand);
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
    transition: transform .18s ease, box-shadow .18s ease;
  }

  .menu-drawer-close:active {
    transform: scale(.97);
  }

  .menu-drawer-close:hover {
    box-shadow: 0 14px 30px rgba(44, 32, 18, 0.12);
  }

  .menu-drawer-divider {
    height: 1px;
    background: rgba(231,217,202,.9);
    flex-shrink: 0;
  }

  .menu-drawer-links {
    display: block;
    padding-right: 4px;
  }

  .menu-item {
    display: block;
    position: relative;
    width: 100%;
    padding: 11px 38px 11px 12px;
    border-radius: 14px;
    background: linear-gradient(180deg, rgba(248,241,232,.96), rgba(242,231,216,.82));
    border: 1px solid rgba(231,217,202,.95);
    box-shadow:
      0 8px 18px rgba(44, 32, 18, 0.06),
      inset 0 1px 0 rgba(255,255,255,.7);
    font-weight: 900;
    font-size: 12px;
    line-height: 1.2;
    text-decoration: none;
    color: #1f1b17;
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
    margin-bottom: 7px;
  }

  .menu-item:last-child {
    margin-bottom: 0;
  }

  .menu-item:active {
    transform: scale(.985);
  }

  .menu-item:hover {
    background: linear-gradient(180deg, rgba(248,241,232,1), rgba(242,231,216,.95));
    box-shadow: 0 16px 34px rgba(44, 32, 18, 0.10);
  }

  .menu-item-arrow {
    width: 18px;
    height: 18px;
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(198,40,40,.08);
    color: var(--brand);
    font-size: 12px;
    line-height: 1;
    flex-shrink: 0;
  }

  .menu-drawer-phone {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 10px 11px;
    border-radius: 14px;
    background: linear-gradient(180deg, rgba(248,241,232,.96), rgba(242,231,216,.82));
    border: 1px solid rgba(231,217,202,.95);
    box-shadow:
      0 8px 18px rgba(44, 32, 18, 0.06),
      inset 0 1px 0 rgba(255,255,255,.7);
    color: var(--brand);
    font-weight: 900;
    text-decoration: none;
    font-size: 12px;
  }

  .menu-drawer-phone-icon {
    width: 18px;
    height: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #2f2923;
    flex-shrink: 0;
  }

  .menu-drawer-social {
    display: flex;
    justify-content: center;
    gap: 7px;
  }

  .menu-drawer-social-btn {
    width: 36px;
    height: 36px;
    border-radius: 11px;
    background: linear-gradient(180deg, #fffdf9, #f5ede3);
    border: 1px solid var(--line);
    box-shadow:
      0 8px 18px rgba(44, 32, 18, 0.06),
      inset 0 1px 0 rgba(255,255,255,.7);
    display: grid;
    place-items: center;
    text-decoration: none;
    color: var(--brand);
    font-weight: 900;
    transition: transform .18s ease, box-shadow .18s ease;
  }

  .menu-drawer-social-btn[aria-label="WhatsApp"] {
    color: #25D366;
  }

  .menu-drawer-social-btn:active {
    transform: scale(.97);
  }

  .menu-drawer-social-btn:hover {
    box-shadow: 0 14px 30px rgba(44, 32, 18, 0.10);
  }

  /* Убираем кнопку "Позвонить" в шапке на мобильной версии */
  .nav-actions .phone-icon { display: none; }

  .nav-actions {
    order: 2;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 4px;
    flex: 0 0 auto;
    margin-left: auto;
  }
  .nav-actions .icon {
    width: 30px;
    height: 30px;
    border-radius: 10px;
    font-size: 11px;
  }
  .hero-copy { padding: 28px; }
  .hero-side { padding: 18px; }
  .stats, .benefits, .gallery, .steps, .districts, .pricing, .friends, .cases { grid-template-columns: 1fr; }
  .review { grid-template-columns: 1fr; }
  .audit-card { grid-template-columns: 1fr; }
  h1 { font-size: 38px; }
  .lead { font-size: 18px; }
  .screen::before { right: 96px; top: 20px; width: 70px; height: 200px; }
  .screen::after { right: 26px; top: 20px; width: 70px; height: 200px; }
  .floating-bar { display: flex; transition: opacity .22s ease, transform .22s ease; }
  .footer { padding-bottom: 116px; }
}

@media (max-width: 760px) {
  #friends .friends {
    display: flex;
    overflow-x: auto;
    overflow-y: hidden;
    gap: 14px;
    padding: 4px 2px 12px;
    margin: 0 -2px;
    scroll-snap-type: x mandatory;
    scroll-padding: 0 6px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  #friends .friends::-webkit-scrollbar {
    display: none;
  }

  #friends .friend {
    flex: 0 0 min(82vw, 290px);
    min-width: 0;
    height: 112px;
    padding: 12px;
    border-radius: 20px;
    border: 1px solid #ead9c7;
    background:
      radial-gradient(circle at 80% 10%, rgba(198, 40, 40, .10), transparent 45%),
      linear-gradient(180deg, #fffdfa, #f6eee4);
    box-shadow:
      0 14px 26px rgba(44, 32, 18, .12),
      inset 0 1px 0 rgba(255,255,255,.9);
    scroll-snap-align: center;
  }

  #friends .friend img {
    max-height: 54px;
    width: auto;
    max-width: 100%;
    margin: 0 auto;
    filter: drop-shadow(0 4px 8px rgba(44, 32, 18, .12));
  }
}

