/* ==========================================================================
   ТОЧКА БЫТА — ТРК «Красный Кит», Мытищи
   Редизайн v3 — Clean Mint Glass + Dark Emerald Dock
   ========================================================================== */

:root {
  --navy: #123d24;
  --navy-d: #081a11;
  --green: #22c55e;
  --green-soft: #a7f3d0;
  --paper: #f2f9f4;
  --card: #ffffff;
  --ink: #0d1f14;
  --muted: #4b6354;
  --line: #ddeae2;
  --ok: #22c55e;
  --err: #ef4444;
  --r: 20px;
  --sh: 0 2px 12px rgba(14,50,30,0.06), 0 8px 32px rgba(14,50,30,0.08);
  --sh-lg: 0 20px 60px -12px rgba(14,50,30,0.16);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  font-size: 16px;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  width: 100%;
}

body {
  overflow-x: hidden;
  width: 100%;
  max-width: 100vw;
  background:
    radial-gradient(ellipse 65% 50% at 6% 12%, rgba(204, 235, 255, 0.45) 0%, transparent 50%),
    radial-gradient(ellipse 60% 45% at 94% 20%, rgba(254, 243, 199, 0.4) 0%, rgba(187, 247, 208, 0.3) 30%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 50% 85%, rgba(209, 250, 229, 0.25) 0%, transparent 60%),
    #f8faf8;
  min-height: 100vh;
}

.wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 24px; }

/* =========================================================
   УНИВЕРСАЛЬНЫЙ ЗНАЧОК SVG
   .ic используется везде в тексте/кнопках — строго 1em×1em
   ========================================================= */
.ic {
  display: inline-block;
  width: 1em;
  height: 1em;
  flex: none;
  vertical-align: -0.14em;
  overflow: visible;
}

/* =========================================================
   PROGRESS BAR
   ========================================================= */
.progress {
  position: fixed; top: 0; left: 0; height: 3px;
  background: linear-gradient(90deg, var(--green), var(--green-soft));
  z-index: 9999; width: 0; transition: width .15s;
}

/* =========================================================
   FLOATING PILL TOPBAR
   ========================================================= */
.topbar-wrap {
  position: fixed;
  top: 12px;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0 20px;
  pointer-events: none;
}

.topbar {
  pointer-events: all;
  background: rgba(255,255,255,.88);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1.5px solid rgba(255,255,255,.95);
  box-shadow: 0 4px 6px rgba(14,50,30,.04), 0 12px 32px rgba(14,50,30,.09);
  border-radius: 9999px;
  transition: box-shadow .25s, background .25s;
  max-width: 1200px;
  margin: 0 auto;
}

.topbar.stuck {
  background: rgba(255,255,255,.97);
  box-shadow: 0 4px 6px rgba(14,50,30,.06), 0 16px 40px rgba(14,50,30,.14);
}

.topbar-in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 62px;
  padding: 0 24px;
  gap: 16px;
}

/* Brand */
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }

.brand-logo-img {
  height: 32px; width: auto; display: block; object-fit: contain;
  filter: drop-shadow(0 1px 4px rgba(0,0,0,.1));
  transition: transform .2s;
}
.brand-logo-img:hover { transform: scale(1.03); }

.brand-t {
  display: flex; flex-direction: column;
  line-height: 1.2;
  border-left: 1px solid rgba(18,61,36,.15);
  padding-left: 10px;
}
.brand-t b   { font-size: .9rem; font-weight: 800; color: var(--ink); letter-spacing: -.01em; }
.brand-t small { font-size: .68rem; color: var(--muted); font-weight: 500; }

/* Nav */
.nav { display: none; align-items: center; gap: 20px; }
@media (min-width: 960px) { .nav { display: flex; } }
@media (max-width: 959px) {
  .nav.open {
    display: flex; flex-direction: column;
    position: fixed; top: 72px; left: 16px; right: 16px;
    background: rgba(255,255,255,.98);
    backdrop-filter: blur(28px); -webkit-backdrop-filter: blur(28px);
    border: 1.5px solid rgba(18, 61, 36, 0.14);
    border-radius: 22px;
    padding: 16px 14px; box-shadow: 0 20px 50px rgba(14,50,30,.22);
    z-index: 10001; gap: 4px;
    pointer-events: auto;
    animation: navFadeDown .22s cubic-bezier(0.16, 1, 0.3, 1);
  }
  .nav.open a {
    font-size: 1.02rem;
    font-weight: 700;
    padding: 12px 16px;
    border-radius: 12px;
    color: var(--ink);
    text-decoration: none;
    transition: background .18s, color .18s;
  }
  .nav.open a:active,
  .nav.open a:hover {
    background: rgba(34, 197, 94, 0.12);
    color: var(--navy);
  }
}
@keyframes navFadeDown {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

.nav a { text-decoration: none; font-size: .88rem; font-weight: 600; color: var(--ink); transition: color .2s; }
.nav a:hover { color: var(--green); }

/* Top call button */
.top-call {
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--navy); color: #fff !important;
  text-decoration: none;
  padding: 9px 20px;
  border-radius: 9999px;
  font-size: .85rem; font-weight: 700;
  transition: transform .2s, background .2s, box-shadow .2s;
  box-shadow: 0 4px 14px rgba(18,61,36,.22);
  white-space: nowrap;
  flex-shrink: 0;
}
.top-call:hover { background: #195231; transform: translateY(-1px); box-shadow: 0 6px 18px rgba(18,61,36,.32); }
.top-call .ic { font-size: 15px; }

/* Burger */
.burger {
  display: flex; flex-direction: column; gap: 4px;
  background: transparent; border: none; cursor: pointer;
  padding: 6px; border-radius: 50%;
  transition: background .2s;
  flex-shrink: 0;
}
@media (min-width: 960px) { .burger { display: none; } }
.burger span {
  width: 20px; height: 2px;
  background: var(--ink);
  border-radius: 2px;
  display: block;
  transition: transform .25s ease, opacity .2s ease;
}
.burger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}
.burger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.burger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* =========================================================
   HERO (По образцу конкурентов, в фирменной палитре)
   ========================================================= */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 84px 0 0;
  overflow: hidden;
  box-sizing: border-box;
}
@media (min-width: 960px) {
  .hero {
    height: 100vh;
    height: 100dvh;
    padding: 80px 0 0;
  }
}

.hero-contour {
  position: absolute; inset: 0;
  pointer-events: none; z-index: 0;
}

.hero-in {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  align-items: center;
  position: relative; z-index: 2;
  padding: 20px 24px 24px;
}
@media (min-width: 960px) {
  .hero-in {
    grid-template-columns: 1.08fr .92fr;
    gap: 48px;
    padding: 20px 24px 30px;
  }
}
@media (min-width: 960px) and (max-height: 820px) {
  .hero-in {
    padding: 10px 24px 16px;
    gap: 36px;
  }
  .hero h1 {
    font-size: clamp(1.9rem, 3.2vw, 2.7rem) !important;
    margin-bottom: 12px !important;
  }
  .hero .lead {
    font-size: .95rem !important;
    margin-bottom: 18px !important;
    line-height: 1.5 !important;
  }
  .rot-line {
    margin-bottom: 12px !important;
  }
  .showcase-wrap,
  .showcase-frame {
    max-width: 490px !important;
  }
  .showcase-img {
    height: clamp(260px, 34vh, 340px) !important;
  }
}

.hero-t { display: flex; flex-direction: column; align-items: flex-start; }

/* Eyebrow pill */
.eyebrow {
  display: inline-flex; align-items: center; gap: 6px;
  background: #ffffff;
  border: 1px solid rgba(18,61,36,.12);
  box-shadow: 0 2px 8px rgba(14,50,30,.04);
  border-radius: 9999px;
  padding: 6px 15px;
  font-size: .8rem; font-weight: 600; color: var(--navy);
  margin-bottom: 18px;
}
.eyebrow svg { width: 13px; height: 13px; color: var(--green); }

/* H1 */
.hero h1 {
  font-size: clamp(2.1rem, 4.4vw, 3.4rem);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -.03em;
  color: var(--navy);
  margin-bottom: 18px;
}

/* Горизонтальная плашка выделения как на макете */
.hl-bar {
  position: relative;
  display: inline-block;
  color: var(--navy);
  z-index: 1;
}
.hl-bar::before {
  content: "";
  position: absolute;
  left: -6px;
  right: -80px;
  top: 12%;
  bottom: 8%;
  background: #bbf7d0;
  border-radius: 6px;
  z-index: -1;
  box-shadow: 0 2px 10px rgba(34,197,94,.18);
}
@media (max-width: 768px) {
  .hl-bar::before { right: -12px; }
}

/* Rotating word */
.rot-line { font-size: 1.12rem; font-weight: 600; color: var(--ink); margin-bottom: 16px; }
.rot-blank {
  display: inline-block;
  border-bottom: 2.5px solid var(--navy);
  color: var(--navy); font-weight: 800;
  padding: 0 4px; min-width: 60px; text-align: center;
  transition: opacity .22s, transform .22s;
}
.rot-blank.out { opacity: 0; transform: translateY(-6px); }

/* Lead */
.hero .lead {
  font-size: 1.02rem; color: var(--muted);
  line-height: 1.65; margin-bottom: 30px;
  max-width: 520px;
}

/* CTA row */
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }

/* =========================================================
   BUTTONS — все кнопки, все размеры
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 9999px;
  font-weight: 700;
  font-size: .92rem;
  line-height: 1;
  cursor: pointer;
  border: 1.5px solid transparent;
  text-decoration: none;
  transition: transform .18s, box-shadow .18s, background .18s, border-color .18s;
  user-select: none;
  white-space: nowrap;
  font-family: inherit;
}
.btn:active { transform: scale(.97) !important; }

/* Force icon size inside any button */
.btn .ic,
.btn svg {
  width: 17px !important;
  height: 17px !important;
  flex: none;
  display: inline-block;
  vertical-align: middle;
}

.btn-primary {
  background: var(--navy); color: #fff;
  border-color: var(--navy);
  box-shadow: 0 4px 16px rgba(18,61,36,.22);
}
.btn-primary:hover {
  background: #185a30; border-color: #185a30;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(18,61,36,.32);
}

.btn-ghost {
  background: #ffffff;
  border: 1.5px solid var(--navy);
  color: var(--navy);
  box-shadow: 0 2px 8px rgba(0,0,0,.03);
}
.btn-ghost:hover {
  background: rgba(18,61,36,.04);
  transform: translateY(-2px); box-shadow: 0 6px 16px rgba(0,0,0,.06);
}



.btn-wide { width: 100%; }

/* Small ghost for cookie */
.btn-ghost-d {
  background: rgba(255,255,255,.12); color: #fff;
  border: 1px solid rgba(255,255,255,.22);
  font-size: .78rem; font-weight: 600;
  padding: 7px 15px; border-radius: 9999px;
  cursor: pointer; transition: background .2s; font-family: inherit;
}
.btn-ghost-d:hover { background: rgba(255,255,255,.24); }

.btn-light {
  background: #22c55e; color: #082914;
  border: none; font-size: .78rem; font-weight: 800;
  padding: 7px 18px; border-radius: 9999px;
  cursor: pointer; transition: background .2s, transform .15s; font-family: inherit;
}
.btn-light:hover { background: #16a34a; color: #fff; transform: translateY(-1px); }

/* =========================================================
   3D SHOWCASE FRAME + FLOATING BADGES (Как на образце)
   ========================================================= */
.hero-vis {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.showcase-wrap {
  position: relative;
  width: 100%;
  max-width: 540px;
}

/* 3D Изумрудная подложка за карточкой (в точности по концепту) */
.showcase-backplate {
  position: absolute;
  inset: -14px -22px -20px 22px;
  background: linear-gradient(135deg, #1b5332 0%, #0e321e 100%);
  border-radius: 42px;
  z-index: 0;
  box-shadow: 0 24px 60px rgba(14, 50, 30, 0.32);
  transform: rotate(3.8deg);
  pointer-events: none;
}

/* Стеклянная 3D рамка фото */
.showcase-frame {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 13px;
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 2px solid rgba(255, 255, 255, 0.9);
  box-shadow:
    0 26px 70px -15px rgba(14, 50, 30, 0.22),
    0 8px 24px -5px rgba(0, 0, 0, 0.06),
    inset 0 1px 2px rgba(255, 255, 255, 0.85);
  border-radius: 34px;
  transform-style: preserve-3d;
  transition: transform .25s ease-out;
}

.showcase-img {
  width: 100%;
  height: clamp(280px, 37vh, 410px);
  object-fit: cover;
  border-radius: 22px;
  display: block;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

/* Линии-указатели к услугам (удалены по запросу) */

/* 5 Orbiting Badges (Стеклянные круглые бейджи с микро-подсветкой) */
.fl-pill {
  position: absolute;
  width: 58px;
  height: 58px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 2px solid rgba(255, 255, 255, 0.95);
  box-shadow: 0 10px 26px rgba(14, 50, 30, 0.18), 0 2px 6px rgba(14, 50, 30, 0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  transition: transform .25s, box-shadow .25s, color .2s, background .2s;
  z-index: 10;
}
.fl-pill:hover {
  transform: scale(1.15) !important;
  background: #ffffff;
  color: var(--green);
  box-shadow: 0 14px 32px rgba(34, 197, 94, 0.35);
}
.fl-pill .ic { font-size: 28px; width: 28px; height: 28px; }

/* 1. Слева: телефон */
.fl-p1 {
  top: 30%;
  left: -29px;
  border-radius: 18px;
}

/* 2. Справа сверху: ключи */
.fl-p2 {
  top: 22%;
  right: -29px;
}

/* 3. Сверху по центру: часы */
.fl-p3 {
  top: -29px;
  left: 50%;
  transform: translateX(-50%);
}

/* 4. Слева снизу: очки */
.fl-p4 {
  bottom: 28%;
  left: -29px;
  border-radius: 18px;
}

/* 5. Снизу по центру: ювелир/кольцо */
.fl-p5 {
  bottom: -29px;
  left: 50%;
  transform: translateX(-50%);
}

/* =========================================================
   SERVICE DOCK
   ========================================================= */
.service-dock-wrap { position: relative; z-index: 5; }

.service-dock {
  background: linear-gradient(180deg, #0f3620 0%, #07190d 100%);
  border-top-left-radius: 36px;
  border-top-right-radius: 36px;
  padding: 22px 20px 26px;
  box-shadow: 0 -8px 30px rgba(7,25,13,.22);
  border-top: 1px solid rgba(167,243,208,.18);
}

.dock-inner {
  display: flex; align-items: center; gap: 10px;
  max-width: 1240px; margin: 0 auto;
}

.dock-arrow {
  width: 30px; height: 30px; border-radius: 50%;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.14);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; flex-shrink: 0;
  transition: background .2s, transform .2s;
}
.dock-arrow:hover { background: rgba(255,255,255,.2); transform: scale(1.1); }
.dock-arrow svg { width: 16px; height: 16px; }

.dock-track {
  display: flex; align-items: center; gap: 10px;
  overflow-x: auto; scroll-behavior: smooth;
  scrollbar-width: none; -webkit-overflow-scrolling: touch;
  padding: 8px 2px;
}
.dock-track::-webkit-scrollbar { display: none; }

.dock-item {
  display: flex; flex-direction: column; align-items: center;
  gap: 5px; flex-shrink: 0; text-decoration: none;
}

.dock-pill {
  display: flex; align-items: center; gap: 7px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  padding: 8px 15px;
  border-radius: 9999px;
  color: #fff; font-size: .85rem; font-weight: 600;
  transition: all .2s; position: relative;
}
.dock-pill .ic { font-size: 17px; color: var(--green-soft); }

.dock-item:hover .dock-pill {
  background: rgba(255,255,255,.15);
  border-color: var(--green);
  transform: translateY(-2px);
}
.dock-item.active .dock-pill {
  background: rgba(34,197,94,.18);
  border-color: #22c55e;
  box-shadow: 0 0 14px rgba(34,197,94,.3);
}

.dock-tag {
  position: absolute; top: -8px; right: 10px;
  background: #facc15; color: #0b2214;
  font-size: .6rem; font-weight: 800;
  padding: 2px 7px; border-radius: 9999px;
  text-transform: uppercase; letter-spacing: .04em;
}
.dock-tag.tag-mint { background: #a7f3d0; color: #082917; }

.dock-sub { font-size: .66rem; color: rgba(255,255,255,.55); font-weight: 500; }

/* =========================================================
   WAVE MARQUEE (Волнообразная бесконечная бегущая строка)
   ========================================================= */
.wave-marquee {
  position: relative;
  width: 100%;
  margin-top: auto;
  flex-shrink: 0;
  overflow: hidden;
  z-index: 4;
}

.wave-svg {
  display: block;
  width: 100%;
  height: 74px;
  color: var(--navy);
  fill: currentColor;
  margin-bottom: -1px;
}

.marquee {
  background: var(--navy);
  color: #ffffff;
  overflow: hidden;
  padding: 16px 0 22px;
  position: relative;
  user-select: none;
  pointer-events: none; /* Никогда не останавливается при наведении */
}

.mq-track {
  display: flex;
  width: max-content;
  white-space: nowrap;
  animation: mq-scroll 28s linear infinite !important;
  will-change: transform;
}

.mq-group {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.mq-group span {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 0 28px;
  font-size: 0.94rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.015em;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
}

.mq-group .ic {
  font-size: 17px;
  color: #a7f3d0;
  flex: none;
}

@keyframes mq-scroll {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(-50%, 0, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .mq-track { animation: none !important; }
}

/* =========================================================
   STATS («Точка быта» в цифрах — 4 интерактивных блока)
   ========================================================= */
.stats {
  position: relative;
  padding: 64px 0 76px;
  background: linear-gradient(180deg, #f4fbf7 0%, #ffffff 100%);
  overflow: hidden;
}

.stats::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    radial-gradient(circle at 10% 20%, rgba(34, 197, 94, 0.08) 0%, transparent 45%),
    radial-gradient(circle at 90% 75%, rgba(18, 61, 36, 0.06) 0%, transparent 50%);
  pointer-events: none;
}

.stats-head {
  text-align: center;
  margin-bottom: 34px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  position: relative;
  z-index: 2;
}

.eyebrow-mint {
  display: inline-block;
  background: #dcfce7;
  color: #14532d;
  border: 1px solid rgba(34, 197, 94, 0.3);
  border-radius: 9999px;
  padding: 6px 18px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: 0 2px 8px rgba(34, 197, 94, 0.12);
}

.stats-head h2 {
  font-size: 2.35rem;
  font-weight: 900;
  color: #0b2f18;
  letter-spacing: -0.025em;
  margin: 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  position: relative;
  z-index: 2;
}

.stat-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 26px 24px;
  background: #ffffff;
  border-radius: 26px;
  box-shadow: 
    0 14px 34px rgba(18, 61, 36, 0.06),
    0 2px 8px rgba(0, 0, 0, 0.02);
  border: 1.5px solid rgba(34, 197, 94, 0.14);
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.28s ease, border-color 0.28s ease;
  position: relative;
  overflow: hidden;
  min-height: 148px;
}

.stat-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: linear-gradient(180deg, rgba(240, 253, 244, 0.4) 0%, transparent 100%);
  pointer-events: none;
}

.stat-card:hover {
  transform: translateY(-5px);
  box-shadow: 
    0 22px 48px rgba(18, 61, 36, 0.12),
    0 4px 12px rgba(0, 0, 0, 0.03);
  border-color: rgba(34, 197, 94, 0.38);
}

.stat-card-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  z-index: 2;
}

.stat-num {
  font-size: 2.85rem;
  font-weight: 900;
  color: #0b2f18;
  line-height: 1;
  letter-spacing: -0.03em;
  margin-bottom: 8px;
  font-variant-numeric: tabular-nums;
  font-feature-settings: 'tnum' 1, 'case' 1;
  white-space: nowrap;
}

.stat-num-range {
  font-size: 2.45rem;
  letter-spacing: -0.035em;
}

.stat-dash {
  display: inline-block;
  margin: 0 0.06em;
  transform: translateY(-0.06em);
  vertical-align: middle;
}

.stat-desc {
  font-size: 0.92rem;
  font-weight: 700;
  color: #0e321e;
  line-height: 1.35;
  margin: 0;
  opacity: 0.92;
}

.stat-card-icon {
  width: 86px;
  height: 86px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2;
  margin-left: 12px;
}

.stat-card-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 10px 18px rgba(18, 61, 36, 0.14));
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.stat-card:hover .stat-card-icon img {
  transform: scale(1.08) rotate(2deg);
}

@media (max-width: 1024px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  .stat-num {
    font-size: 2.5rem;
  }
}

@media (max-width: 600px) {
  .stats {
    padding: 44px 0 54px;
  }
  .stats-head h2 {
    font-size: 1.75rem;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .stat-card {
    padding: 18px 14px;
    border-radius: 20px;
    min-height: 120px;
  }
  .stat-num {
    font-size: 1.85rem;
    margin-bottom: 6px;
  }
  .stat-desc {
    font-size: 0.78rem;
    line-height: 1.25;
  }
  .stat-card-icon {
    width: 58px;
    height: 58px;
    margin-left: 6px;
  }
}

@media (max-width: 380px) {
  .stats-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .stat-card {
    padding: 20px 18px;
  }
}

/* =========================================================
   SECTION BASE
   ========================================================= */
.sec { padding: 80px 0; }
.sec-alt { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.sec h2 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 900; color: var(--ink);
  letter-spacing: -.025em; margin-bottom: 10px; text-align: center;
}
.sec-sub {
  font-size: 1rem; color: var(--muted);
  text-align: center; max-width: 640px;
  margin: 0 auto 40px; line-height: 1.6;
}

/* =========================================================
   SERVICE CARDS (в точности по макету конкурента: 4 колонки, карточки с фото)
   ========================================================= */
.cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
}
@media (min-width: 600px) {
  .cards {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 900px) {
  .cards {
    grid-template-columns: repeat(3, 1fr);
  }
}

.card {
  background: #ffffff;
  border: 1.5px solid rgba(18, 61, 36, 0.14);
  border-radius: 24px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  box-shadow: 
    0 10px 28px rgba(18, 61, 36, 0.07),
    0 2px 6px rgba(0, 0, 0, 0.02);
  display: flex;
  flex-direction: column;
  transition: transform .28s cubic-bezier(.16,1,.3,1), box-shadow .28s ease, border-color .28s ease;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 
    0 22px 48px rgba(18, 61, 36, 0.14),
    0 4px 12px rgba(0, 0, 0, 0.03);
  border-color: rgba(34, 197, 94, 0.55);
}

.card-media {
  height: 195px;
  background: #f1f5f9;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .4s ease;
}

.card:hover .card-media img {
  transform: scale(1.05);
}

.card-media .ic {
  font-size: 52px;
  color: var(--navy);
}

.card-b {
  padding: 22px 20px 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.card-b h3 {
  font-size: 1.15rem;
  font-weight: 800;
  color: #0b2f18;
  margin-bottom: 8px;
  line-height: 1.25;
  letter-spacing: -.015em;
}

.card-b p {
  font-size: .88rem;
  color: #475569;
  line-height: 1.48;
  margin-bottom: 16px;
  flex-grow: 1;
}

.card-from {
  margin-top: auto;
  font-size: 1.05rem;
  font-weight: 800;
  color: #0b2f18;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: color .2s ease;
}

.card:hover .card-from {
  color: #15803d;
}

.card-arr {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: currentColor;
  transition: transform .2s ease;
}

.card:hover .card-arr {
  transform: translateX(4px);
}

/* =========================================================
   PRICE SEARCH & LIST (в точности по образцу Image 3)
   ========================================================= */
.search { max-width: 980px; margin: 0 auto 24px; position: relative; }
.search .ic { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: #64748b; pointer-events: none; }
.search input {
  max-width: 520px;
  width: 100%;
  padding: 13px 20px 13px 46px;
  border-radius: 12px;
  border: 1.5px solid #e2e8f0;
  background: #fbfbfa;
  font-size: .92rem;
  font-family: inherit;
  outline: none;
  box-shadow: none;
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.search input:focus {
  background: #ffffff;
  border-color: #22c55e;
  box-shadow: 0 0 0 3px rgba(34,197,94,.12);
}

.price-list { display: grid; gap: 12px; max-width: 980px; margin: 0 auto; }
.no-res { padding: 24px; background: #fff; border-radius: 18px; text-align: center; border: 1.5px solid #e2e8f0; }
.disc { margin-top: 24px; color: #64748b; font-size: .88rem; text-align: left; max-width: 980px; margin-left: auto; margin-right: auto; padding-left: 4px; }

/* Категории прайса — карточки-аккордеоны по Image 3 */
.cat {
  background: #ffffff;
  border: 1.5px solid #cbd5e1;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(18, 61, 36, 0.04);
  transition: border-color .2s ease, box-shadow .2s ease;
}

.cat:hover {
  border-color: #16a34a;
  box-shadow: 0 6px 20px rgba(22, 163, 74, 0.12);
}

.cat[open] {
  border-color: #16a34a;
  box-shadow: 0 8px 26px rgba(22, 163, 74, 0.16);
}

.cat-head {
  padding: 14px 20px;
  background: #ffffff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  user-select: none;
  list-style: none;
}

.cat-head::-webkit-details-marker,
.cat-head::marker {
  display: none !important;
}

.cat-left {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-grow: 1;
  min-width: 0;
}

.cat-ic {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #15803d;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(21, 128, 61, 0.28);
  transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
}

.cat:hover .cat-ic {
  transform: scale(1.05);
  background: #16a34a;
  box-shadow: 0 6px 16px rgba(22, 163, 74, 0.38);
}

.cat-ic .ic {
  width: 22px;
  height: 22px;
  stroke: #ffffff;
  color: #ffffff;
  display: block;
}

.cat-t {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.cat-name {
  font-size: 1.08rem;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.25;
  margin-bottom: 2px;
}

.cat-lead {
  font-size: 0.86rem;
  color: #64748b;
  line-height: 1.35;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

.cat-right {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
  margin-left: 16px;
}

.cat-n {
  font-size: 0.82rem;
  font-weight: 600;
  color: #123d24;
  background: #e8f5ec;
  padding: 4px 10px;
  border-radius: 8px;
  white-space: nowrap;
  letter-spacing: -0.01em;
  transition: background .2s ease, color .2s ease;
}

.cat:hover .cat-n,
.cat[open] .cat-n {
  background: #dcfce7;
  color: #0f351f;
}

.cat-arr {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #64748b;
  transition: transform .25s cubic-bezier(0.16, 1, 0.3, 1), color .2s ease;
}

.cat:hover .cat-arr {
  color: #166534;
}

.cat[open] .cat-arr {
  transform: rotate(180deg);
  color: #16a34a;
}

.cat[open] .cat-arr {
  transform: rotate(180deg);
  color: #166534;
}

.cat[open] .cat-head {
  border-bottom: 1px solid #f1f5f3;
}

.cat-body {
  padding: 12px 24px 24px;
  background: #ffffff;
  /* Для предотвращения прыжков при анимации */
  overflow: hidden;
  will-change: height, opacity;
}

.cat-body .notes {
  margin: 16px 0 0;
  padding-left: 20px;
  font-size: 0.82rem;
  color: #64748b;
  line-height: 1.5;
}

.grp {
  margin-top: 14px;
}

.grp h4 {
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #166534;
  margin: 16px 0 10px;
  padding-bottom: 4px;
  border-bottom: 1px dashed rgba(34, 197, 94, 0.22);
}

.row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 13px 0;
  border-bottom: 1px solid #f1f5f3;
  gap: 16px;
}

.row:last-child {
  border-bottom: none;
}

.r-name {
  font-weight: 600;
  color: #0e321e;
  font-size: 0.95rem;
  display: flex;
  flex-direction: column;
  gap: 3px;
  flex-grow: 1;
}

.r-name small {
  font-size: 0.8rem;
  color: #64748b;
  font-weight: 400;
}

.r-price {
  font-weight: 800;
  font-size: 1.05rem;
  color: #0b2f18;
  white-space: nowrap;
}

.r-price em {
  font-size: 0.85rem;
  font-weight: 500;
  color: #64748b;
  font-style: normal;
}

.r-vp {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.r-vp span {
  font-size: 0.82rem;
  color: #64748b;
  background: #f8faf9;
  padding: 4px 8px;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
}

.r-vp span b {
  color: #0b2f18;
  margin-left: 4px;
}

.r-vp span b.na {
  color: #94a3b8;
}

.r-btn {
  padding: 6px 16px;
  border-radius: 9999px;
  background: #ecfdf5;
  color: #065f46;
  border: 1px solid rgba(34, 197, 94, 0.3);
  font-weight: 700;
  font-size: 0.82rem;
  cursor: pointer;
  transition: all .2s ease;
  white-space: nowrap;
}

.r-btn:hover {
  background: #10b981;
  color: #ffffff;
  border-color: #10b981;
  transform: translateY(-1px);
}

@media (max-width: 640px) {
  .cat-head {
    padding: 14px 16px;
  }
  .cat-ic {
    width: 42px;
    height: 42px;
    border-radius: 12px;
  }
  .cat-ic .ic {
    width: 20px;
    height: 20px;
  }
  .cat-name {
    font-size: 1rem;
  }
  .cat-lead {
    white-space: normal;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
  }
  .cat-right {
    gap: 8px;
    margin-left: 10px;
  }
  .cat-n {
    font-size: 0.76rem;
    padding: 3px 8px;
    border-radius: 6px;
  }
  .row {
    flex-wrap: wrap;
    gap: 8px;
  }
  .r-price {
    margin-left: auto;
  }
}

/* =========================================================
   HOW WE WORK (Как мы работаем — в точности по макету)
   ========================================================= */
.how {
  position: relative;
  background: radial-gradient(circle at 5% 35%, rgba(167, 243, 208, 0.45) 0%, transparent 40%),
              radial-gradient(circle at 95% 35%, rgba(167, 243, 208, 0.45) 0%, transparent 40%),
              #f4faf6;
  padding: 85px 0 110px;
  overflow: hidden;
  z-index: 1;
}

.how-bg-lines {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.85;
}

.how-bg-lines svg {
  width: 100%;
  height: 100%;
}

.how-wrap {
  position: relative;
  z-index: 2;
}

.how h2 {
  color: #0b2f18 !important;
  font-size: clamp(1.8rem, 3.2vw, 2.5rem);
  font-weight: 900;
  letter-spacing: -0.025em;
  margin-bottom: 0;
  text-align: center;
}

.how h2::after {
  display: none !important;
}

.how-bar {
  width: 40px;
  height: 3.5px;
  border-radius: 3px;
  background: #22c55e;
  margin: 12px auto 14px;
}

.how .sec-sub {
  font-size: 0.95rem;
  color: #526058;
  text-align: center;
  margin: 0 auto 52px;
  max-width: 600px;
}

.timeline-container {
  position: relative;
  width: 100%;
}

.timeline-track {
  position: absolute;
  left: -20px;
  right: -20px;
  top: 50%;
  transform: translateY(-50%);
  height: 12px;
  pointer-events: none;
  z-index: 1;
  display: none;
}

@media (min-width: 960px) {
  .timeline-track {
    display: block;
  }
}

.track-line {
  position: absolute;
  left: 0;
  right: 18px;
  top: 5px;
  height: 0;
  border-top: 1.8px dashed rgba(34, 197, 94, 0.7);
}

.track-dot {
  position: absolute;
  top: 1px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #16a34a;
  border: 1.5px solid #86efac;
  transform: translateX(-50%);
}

.track-dot.dot-start { left: 12px; }
.track-dot.dot-1-2 { display: none; }
.track-dot.dot-2-3 { display: none; }
.track-dot.dot-3-4 { display: none; }
.track-dot.dot-end { right: 26px; transform: none; }

.track-arrow {
  position: absolute;
  right: 6px;
  top: -1px;
}

.timeline {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 34px;
  position: relative;
  z-index: 2;
}

@media (min-width: 960px) {
  .timeline {
    grid-template-columns: repeat(4, 1fr);
    gap: 26px;
  }
}

.t-card {
  background: #ffffff;
  border-radius: 22px;
  border: 2px solid #86efac;
  box-shadow: 0 10px 28px rgba(18, 61, 36, 0.06), 0 2px 6px rgba(34, 197, 94, 0.08);
  padding: 26px 24px 30px;
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 2;
  transition: transform .25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow .25s ease, border-color .25s ease;
}

.t-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(18, 61, 36, 0.14);
  border-color: #22c55e;
}

/* Стрелки между карточками на десктопе (направо →) */
@media (min-width: 960px) {
  .t-card:not(:last-child)::after {
    content: "";
    position: absolute;
    right: -17px;
    top: 50%;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: #ffffff;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2315803d' stroke-width='2.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12h16M13 5l7 7-7 7'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    border: 2px solid #86efac;
    box-shadow: 0 4px 12px rgba(18, 61, 36, 0.1);
    z-index: 4;
    pointer-events: none;
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
  }

  .t-card:hover::after {
    border-color: #22c55e;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 18px rgba(34, 197, 94, 0.28);
  }
}

.t-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
}

.t-badge {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #dcfce7;
  border: 2px solid rgba(34, 197, 94, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.t-badge-in {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #0d3822;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 3px 8px rgba(13, 56, 34, 0.28);
  transition: transform .2s ease, background .2s ease;
}

.t-card:hover .t-badge-in {
  transform: scale(1.06);
  background: #166534;
}

.t-badge-in .ic {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.t-num {
  font-size: 1.75rem;
  font-weight: 500;
  color: #64748b;
  letter-spacing: -0.02em;
  line-height: 1;
}

.t-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: #0b2f18;
  margin: 0 0 10px;
  line-height: 1.3;
}

.t-desc {
  font-size: 0.92rem;
  color: #526058;
  line-height: 1.5;
  margin: 0;
}

/* =========================================================
   WHY US GRID (Темно-зеленый фон по Image 1)
   ========================================================= */
.why {
  background: #123d24;
  color: #ffffff;
  padding: 70px 0 95px;
  position: relative;
  z-index: 3;
}

.why h2 {
  color: #ffffff !important;
  font-size: clamp(1.7rem, 3.2vw, 2.5rem);
  font-weight: 900;
  letter-spacing: -.025em;
  margin-bottom: 12px;
  text-align: center;
}

.why h2::after {
  content: "";
  display: block;
  height: 3.5px;
  width: 52px;
  margin: 12px auto 0;
  border-radius: 4px;
  background: linear-gradient(90deg, #22c55e, #86efac);
}

.why-wave-top {
  position: absolute;
  top: -48px;
  left: 0;
  width: 100%;
  height: 50px;
  pointer-events: none;
  z-index: 3;
}

.why-wave-bottom {
  position: absolute;
  bottom: -48px;
  left: 0;
  width: 100%;
  height: 50px;
  pointer-events: none;
  z-index: 3;
}

.why-wave-svg {
  display: block;
  width: 100%;
  height: 50px;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 22px;
  margin-top: 44px;
}

@media (min-width: 960px) {
  .why-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.why-i {
  background: #ffffff;
  border: 2px solid #14532d;
  border-radius: 20px;
  padding: 30px 26px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.22), 0 2px 6px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform .25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow .25s ease, border-color .25s ease;
}

.why-i:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.32);
  border-color: #22c55e;
}

.why-i .ic {
  font-size: 32px;
  width: 32px;
  height: 32px;
  color: #16a34a;
}

.why-i h3 {
  font-size: 1.12rem;
  font-weight: 800;
  color: #0b2f18;
  margin: 0;
  line-height: 1.3;
}

.why-i p {
  font-size: 0.9rem;
  color: #526058;
  line-height: 1.55;
  margin: 0;
}

/* =========================================================
   NOTPOINT SECTION (not-a-pickup-point)
   ========================================================= */
.notpoint { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.np-in { display: grid; grid-template-columns: 1fr; gap: 44px; align-items: center; }
@media (min-width: 960px) { .np-in { grid-template-columns: 1.1fr .9fr; } }

.np-t h2 { text-align: left; }
.np-t .sec-sub { text-align: left; margin-left: 0; }
.np-list { list-style: none; padding: 0; margin: 20px 0 28px; display: grid; gap: 13px; }
.np-list li { display: flex; gap: 12px; align-items: flex-start; }
.np-list .ic { font-size: 20px; color: var(--ok); flex: none; margin-top: 2px; }

.np-img img { width: 100%; height: auto; border-radius: var(--r); box-shadow: var(--sh-lg); object-fit: cover; }

/* =========================================================
   HOW TO FIND — STEPS + NOTICE + MAP
   ========================================================= */
.steps {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 18px; list-style: none; margin-top: 28px;
}
.steps li {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--r); overflow: hidden;
  box-shadow: var(--sh); display: flex; flex-direction: column;
  transition: transform .2s, box-shadow .2s;
}
.steps li:hover { transform: translateY(-3px); box-shadow: var(--sh-lg); }
.steps li img { width: 100%; height: 185px; object-fit: cover; }
.steps li div { padding: 16px; display: flex; flex-direction: column; gap: 5px; }
.steps li .n {
  width: 26px; height: 26px; border-radius: 50%;
  background: var(--navy); color: #fff;
  font-size: .8rem; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 3px;
}
.steps h3 { font-size: 1rem; font-weight: 700; }
.steps p  { font-size: .85rem; color: var(--muted); line-height: 1.4; }

.notice {
  background: #edf7f1; border: 1px solid rgba(34,197,94,.28);
  border-radius: var(--r); padding: 22px; margin-bottom: 28px;
}
.notice-t { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 14px; }
.notice-t .ic { font-size: 28px; color: var(--navy); flex-shrink: 0; }
.notice-t h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 4px; }
.notice-t p  { font-size: .88rem; color: var(--muted); line-height: 1.5; }

.notice-tags { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; }
.notice-tags li {
  background: #fff; border: 1px solid rgba(18,61,36,.14);
  padding: 5px 13px; border-radius: 9999px;
  font-size: .8rem; font-weight: 700; color: var(--navy);
}

.find-grid { display: grid; grid-template-columns: 1fr; gap: 22px; margin-top: 32px; }
@media (min-width: 960px) { .find-grid { grid-template-columns: 1.3fr 1fr; } }

.map { border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); min-height: 360px; background: #e2ede6; position: relative; }
.map iframe { width: 100%; height: 100%; min-height: 360px; border: 0; display: block; }
.map-ph {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 10px; padding: 24px; text-align: center;
  background: #e2ede6;
}
.map-ph .ic { font-size: 32px; color: var(--navy); }
.map-ph b { font-size: 1rem; font-weight: 700; color: var(--ink); }
.map-ph small { font-size: .78rem; color: var(--muted); line-height: 1.4; max-width: 280px; }
.map-ph a { font-size: .82rem; color: var(--navy); text-underline-offset: 2px; }

.contact-card {
  background: #fff; border: 1.5px solid #cbd5e1;
  border-radius: var(--r); padding: 26px;
  box-shadow: 0 4px 16px rgba(14,50,30,0.06); display: flex; flex-direction: column; gap: 11px;
}
.contact-card h3 { font-size: 1.25rem; color: var(--ink); margin-bottom: 4px; }
.contact-card p { display: flex; gap: 9px; align-items: flex-start; color: var(--muted); font-size: .92rem; }
.contact-card .ic { font-size: 18px; color: var(--navy); margin-top: 2px; flex-shrink: 0; }
.contact-card a { color: var(--navy); font-weight: 700; text-decoration: none; }
.contact-card a:hover { text-decoration: underline; }

/* Кнопка прямого звонка внутри карточки контактов (белый читаемый текст и иконка) */
.contact-card .btn-primary,
.contact-card a.btn-primary {
  color: #ffffff !important;
  text-decoration: none !important;
}
.contact-card .btn-primary .ic,
.contact-card a.btn-primary .ic {
  color: #ffffff !important;
  stroke: #ffffff;
}
.contact-card .btn-primary:hover,
.contact-card a.btn-primary:hover {
  color: #ffffff !important;
  text-decoration: none !important;
}

.transport { margin-top: 12px; font-size: .88rem; border-top: 1px solid var(--line); padding-top: 12px; }
.transport summary { cursor: pointer; font-weight: 700; color: var(--navy); }
.transport ul { padding-left: 18px; color: var(--muted); margin-top: 8px; display: grid; gap: 3px; }

/* =========================================================
   REQUEST FORM
   ========================================================= */
.req-grid { display: grid; grid-template-columns: 1fr; gap: 36px; align-items: start; }
@media (min-width: 960px) { .req-grid { grid-template-columns: .88fr 1.12fr; } }
.req-info h2 { text-align: left; margin-bottom: 10px; }
.req-info .sec-sub { text-align: left; margin-left: 0; }

.facts { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.facts li { display: flex; gap: 11px; align-items: center; color: var(--ink); font-weight: 500; font-size: .92rem; }
.facts .ic {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #dcfce7;
  color: #15803d;
  padding: 3.5px;
  box-sizing: border-box;
  flex-shrink: 0;
}
.facts a {
  color: #123d24;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color .2s ease;
}
.facts a:hover {
  color: #15803d;
}

.form {
  background: #fff;
  border: 1.5px solid #94a3b8;
  border-radius: var(--r);
  padding: 32px 30px;
  box-shadow: 0 4px 20px rgba(14, 50, 30, 0.08);
}
.f-row { margin-bottom: 16px; display: flex; flex-direction: column; gap: 5px; }
.f-row label { font-size: .85rem; font-weight: 700; color: var(--ink); }
.f-row input, .f-row select, .f-row textarea {
  padding: 11px 14px; border-radius: 12px;
  border: 1.5px solid #94a3b8; background: #ffffff;
  outline: none; font-size: .92rem; font-family: inherit;
  transition: border-color .2s, box-shadow .2s;
}
.f-row input:hover, .f-row select:hover, .f-row textarea:hover {
  border-color: #64748b;
}
.f-row input:focus, .f-row select:focus, .f-row textarea:focus {
  border-color: var(--green); box-shadow: 0 0 0 3px rgba(34,197,94,.16);
}

.f-grid { display: grid; grid-template-columns: 1fr; gap: 14px; }
@media (min-width: 580px) { .f-grid { grid-template-columns: 1fr 1fr; } }

.opt { color: var(--muted); font-weight: 400; font-size: .85em; }
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; pointer-events: none; }

.consent {
  display: flex; gap: 10px; align-items: flex-start;
  font-weight: 400 !important; font-size: .82rem !important;
  color: var(--muted); margin-bottom: 16px; line-height: 1.4;
}
.consent input { margin-top: 2px; width: 17px; height: 17px; flex: none; accent-color: var(--green); }
.consent a { color: var(--navy); text-decoration: underline; }

.f-msg { margin: 8px 0 0; min-height: 1.4em; font-weight: 600; font-size: .88rem; }
.f-msg.ok  { color: var(--ok);  }
.f-msg.err { color: var(--err); }

.hint {
  background: #f0fdf4; border: 1px solid rgba(34,197,94,.28);
  border-radius: 11px; padding: 11px 15px;
  font-size: .88rem; color: #14532d; margin-bottom: 16px;
}
.hint b { font-weight: 700; color: #15803d; }
.hint small { display: block; margin-top: 4px; font-size: .8rem; color: #166534; opacity: .88; }

/* =========================================================
   OFFERS (акции)
   ========================================================= */
.offers { padding: 48px 0 0; }
.offers-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 18px; }

/* =========================================================
   FOOTER (Точное соответствие макету заказчика)
   ========================================================= */
.footer {
  position: relative;
  background: transparent;
  padding: 0;
  margin-top: 30px;
  line-height: 1.6;
}

.foot-wave {
  display: block;
  width: 100%;
  height: 40px;
  overflow: hidden;
  line-height: 0;
  margin-bottom: -1px;
}

.foot-wave svg {
  display: block;
  width: 100%;
  height: 100%;
}

.foot-body {
  background: #0f2a17;
  color: #c6edd8;
  padding: 24px 0 22px;
}

.foot-wrap {
  max-width: 950px;
  margin: 0 auto;
  padding: 0 16px;
}

.foot-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.95fr 1.3fr;
  gap: 36px;
  align-items: start;
}

.foot-brand .foot-head {
  color: #ffffff;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}

.foot-services .foot-head,
.foot-legal .foot-head {
  color: #ffffff;
  font-size: 1.1rem;
  font-weight: 400;
  line-height: 1.35;
  margin-bottom: 18px;
  letter-spacing: 0;
}

.foot-address {
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.86rem;
  line-height: 1.5;
  margin-bottom: 14px;
}

.foot-contacts {
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.86rem;
  line-height: 1.5;
  white-space: nowrap;
}

.foot-phone {
  color: #ffffff;
  text-decoration: none;
  font-weight: 500;
}

.foot-phone:hover {
  text-decoration: underline;
  color: #a7f3d0;
}

.foot-services-list {
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.86rem;
  line-height: 1.55;
}

.foot-legal-links p {
  margin-bottom: 12px;
  font-size: 0.86rem;
  line-height: 1.45;
}

.foot-legal-links p:last-child {
  margin-bottom: 0;
}

.foot-legal-links a {
  color: rgba(255, 255, 255, 0.82);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s;
}

.foot-legal-links a:hover {
  color: #ffffff;
}

.foot-divider {
  width: 100%;
  height: 1px;
  background: rgba(255, 255, 255, 0.12);
  margin: 28px 0 18px;
}

.foot-bottom {
  text-align: center;
}

.foot-bottom p {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.82rem;
  letter-spacing: 0.01em;
}

@media (max-width: 900px) {
  .foot-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .foot-wrap {
    max-width: 100%;
    padding: 0 20px;
  }
  .foot-wave {
    height: 30px;
  }
}

/* =========================================================
   SENT SUCCESS STATE
   ========================================================= */
.sent {
  display: none; flex-direction: column; align-items: center;
  gap: 12px; padding: 32px; text-align: center;
  color: var(--navy);
}
.sent[hidden] { display: none !important; }
.sent:not([hidden]) { display: flex !important; }
.sent svg { width: 52px; height: 52px; color: var(--ok); }
.sent b { font-size: 1.1rem; font-weight: 800; }
.sent span { font-size: .9rem; color: var(--muted); }

/* =========================================================
   REVEAL ANIMATION (intersection observer)
   ========================================================= */
.reveal {
  opacity: 0; transform: translateY(16px);
  transition: opacity .5s cubic-bezier(.22,1,.36,1), transform .5s cubic-bezier(.22,1,.36,1);
  transition-delay: var(--d, 0s);
}
.reveal.in { opacity: 1; transform: none; }

/* =========================================================
   RESPONSIVE ADJUSTMENTS — ULTRA POLISHED MOBILE ADAPTATION
   ========================================================= */

@media (max-width: 959px) {
  .hero-in {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .cards {
    grid-template-columns: repeat(2, 1fr);
  }
  .timeline-track {
    display: none;
  }
}

@media (max-width: 768px) {
  .wrap {
    padding: 0 16px;
  }
  .sec {
    padding: 52px 0;
  }

  /* --- Topbar & Navigation on Mobile --- */
  .topbar-wrap {
    top: 8px;
    padding: 0 10px;
  }
  .topbar-in {
    height: 54px;
    padding: 0 10px 0 14px;
    gap: 10px;
  }
  .brand {
    min-width: 0;
    flex: 1 1 auto;
    gap: 8px;
  }
  .brand-logo-img {
    height: 28px;
    max-width: 120px;
  }
  .brand-t small {
    display: none;
  }
  .brand-t b {
    font-size: 0.86rem;
  }
  .top-call {
    width: 38px;
    height: 38px;
    padding: 0;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 3px 10px rgba(18, 61, 36, 0.25);
  }
  .top-call span {
    display: none;
  }
  .top-call .ic {
    font-size: 17px;
    width: 17px;
    height: 17px;
    margin: 0;
    stroke: #ffffff;
    fill: currentColor;
  }
  .burger {
    width: 38px;
    height: 38px;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #f0fdf4;
    border: 1.5px solid rgba(18, 61, 36, 0.12);
    flex-shrink: 0;
    gap: 4px;
  }
  .burger span {
    width: 18px;
    height: 2px;
    background: var(--navy);
  }

  /* --- Hero Section Mobile --- */
  .hero {
    padding: 72px 0 0;
    min-height: auto;
  }
  .hero-in {
    padding: 14px 16px 20px;
    gap: 24px;
  }
  .eyebrow {
    font-size: 0.76rem;
    padding: 5px 12px;
    margin-bottom: 14px;
  }
  .hero h1 {
    font-size: clamp(1.9rem, 7vw, 2.45rem);
    line-height: 1.18;
    margin-bottom: 12px;
  }
  .hl-bar::before {
    right: -8px;
  }
  .rot-line {
    font-size: 1.02rem;
    margin-bottom: 12px;
  }
  .hero .lead {
    font-size: 0.94rem;
    line-height: 1.55;
    margin-bottom: 22px;
  }
  .hero-cta {
    flex-direction: column;
    width: 100%;
    gap: 10px;
  }
  .hero-cta .btn {
    width: 100%;
    justify-content: center;
    padding: 13px 20px;
    font-size: 0.92rem;
  }
  .hero-vis {
    overflow: hidden;
    padding: 8px 4px;
    width: 100%;
    max-width: 100%;
  }
  .showcase-wrap {
    max-width: 100%;
  }
  .showcase-backplate {
    inset: -6px -6px -8px 6px;
    transform: rotate(1.5deg);
    border-radius: 26px;
  }
  .showcase-frame {
    border-radius: 24px;
    padding: 8px;
  }
  .showcase-img {
    height: clamp(230px, 34vh, 310px);
    border-radius: 18px;
  }
  .fl-pill {
    width: 44px;
    height: 44px;
  }
  .fl-pill .ic {
    font-size: 22px;
    width: 22px;
    height: 22px;
  }
  .fl-p1 { left: -6px; top: 28%; }
  .fl-p2 { right: -6px; top: 20%; }
  .fl-p3 { top: -6px; }
  .fl-p4 { left: -6px; bottom: 24%; }
  .fl-p5 { bottom: -6px; }

  .service-dock {
    border-radius: 24px 24px 0 0;
    padding: 16px 12px 18px;
  }
  .dock-pill {
    padding: 7px 12px;
    font-size: 0.8rem;
  }

  /* --- Stats Section Mobile --- */
  .stats {
    padding: 46px 0 54px;
  }
  .stats-head h2 {
    font-size: clamp(1.7rem, 5.5vw, 2.1rem);
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .stat-card {
    padding: 16px 14px;
    border-radius: 20px;
    min-height: 116px;
  }
  .stat-num {
    font-size: 1.95rem;
    margin-bottom: 4px;
  }
  .stat-num-range {
    font-size: 1.7rem;
  }
  .stat-desc {
    font-size: 0.8rem;
    line-height: 1.25;
  }
  .stat-card-icon {
    width: 52px;
    height: 52px;
    margin-left: 4px;
  }

  /* --- Service Cards Mobile --- */
  .cards {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .card {
    border-radius: 20px;
  }
  .card-media {
    height: clamp(190px, 52vw, 240px);
  }
  .card-b {
    padding: 18px 16px 20px;
  }
  .card-b h3 {
    font-size: 1.15rem;
  }
  .card-b p {
    font-size: 0.88rem;
    margin-bottom: 14px;
  }
  .card-from {
    font-size: 1rem;
  }

  /* --- Price Accordion & Search Mobile --- */
  .search {
    margin-bottom: 18px;
  }
  .search input {
    max-width: 100%;
    font-size: 16px; /* Prevents auto-zoom in mobile Safari */
    padding: 12px 16px 12px 44px;
  }
  .cat {
    border-radius: 14px;
  }
  .cat-head {
    padding: 12px 14px;
    gap: 8px;
  }
  .cat-left {
    gap: 10px;
  }
  .cat-ic {
    width: 40px;
    height: 40px;
    border-radius: 10px;
  }
  .cat-ic .ic {
    width: 18px;
    height: 18px;
  }
  .cat-name {
    font-size: 0.96rem;
  }
  .cat-lead {
    font-size: 0.78rem;
    white-space: normal;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
  }
  .cat-right {
    gap: 6px;
    margin-left: 4px;
  }
  .cat-n {
    font-size: 0.74rem;
    padding: 3px 7px;
  }
  .cat-body {
    padding: 8px 14px 18px;
  }
  .row {
    padding: 11px 0;
    gap: 8px;
    flex-wrap: wrap;
  }
  .r-name {
    width: 100%;
  }
  .r-name b {
    font-size: 0.92rem;
  }
  .r-name small {
    font-size: 0.78rem;
  }
  .r-price {
    font-size: 0.98rem;
  }
  .r-btn {
    margin-left: auto;
    font-size: 0.8rem;
    padding: 6px 14px;
  }
  .r-vp {
    width: 100%;
  }

  /* --- How We Work (Timeline) Mobile --- */
  .how {
    padding: 52px 0 64px;
  }
  .how h2 {
    font-size: clamp(1.7rem, 6vw, 2.2rem);
  }
  .how .sec-sub {
    margin-bottom: 32px;
    font-size: 0.9rem;
  }
  .timeline {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .t-card {
    padding: 20px 18px;
    border-radius: 18px;
    position: relative;
  }
  /* Пунктирный вертикальный коннектор между карточками */
  .t-card:not(:last-child)::before {
    content: "";
    position: absolute;
    bottom: -36px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 36px;
    border-left: 2px dashed rgba(34, 197, 94, 0.45);
    z-index: 1;
    pointer-events: none;
  }
  /* Круглый бейдж со стрелкой вниз (↓) строго по центру между карточками */
  .t-card:not(:last-child)::after {
    content: "";
    position: absolute;
    bottom: -18px;
    left: 50%;
    transform: translateX(-50%);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: #ffffff;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%2315803d' stroke-width='2.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 4v16M5 13l7 7 7-7'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    border: 2px solid #86efac;
    box-shadow: 0 4px 14px rgba(18, 61, 36, 0.14);
    z-index: 2;
    pointer-events: none;
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
  }
  .t-card:hover::after {
    border-color: #22c55e;
    transform: translateX(-50%) scale(1.08);
    box-shadow: 0 6px 18px rgba(34, 197, 94, 0.28);
  }
  .t-head {
    margin-bottom: 14px;
  }
  .t-title {
    font-size: 1.08rem;
  }
  .t-desc {
    font-size: 0.88rem;
  }

  /* --- Why Us / Not Point Mobile --- */
  .why {
    padding: 52px 0 66px;
  }
  .why-grid {
    grid-template-columns: 1fr;
    gap: 14px;
    margin-top: 26px;
  }
  .why-i {
    padding: 22px 18px;
    border-radius: 16px;
  }
  .np-in {
    gap: 24px;
  }
  .np-t h2 {
    font-size: clamp(1.6rem, 5.5vw, 2.1rem);
  }
  .np-list {
    margin: 16px 0 22px;
    gap: 10px;
  }
  .np-list li {
    font-size: 0.92rem;
  }

  /* --- Find & Contacts Mobile --- */
  .find-grid {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 22px;
  }
  .map {
    min-height: 280px;
    height: 280px;
  }
  .map iframe {
    min-height: 280px;
    height: 280px;
  }
  .contact-card {
    padding: 20px 18px;
    border-radius: 18px;
  }
  .contact-card .btn-primary {
    width: 100%;
    justify-content: center;
    padding: 13px 18px;
  }
  .steps {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .notice {
    padding: 16px;
  }

  /* --- Request Form Mobile --- */
  .req-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .form {
    padding: 22px 18px;
    border-radius: 18px;
    border: 1.5px solid #94a3b8;
  }
  .f-grid {
    grid-template-columns: 1fr;
  }
  .f-row input,
  .f-row select,
  .f-row textarea {
    font-size: 16px; /* Prevents auto-zoom in mobile Safari */
    padding: 12px 14px;
    border: 1.5px solid #94a3b8;
  }
  .form .btn-primary {
    width: 100%;
    justify-content: center;
    padding: 13px 20px;
  }

  /* --- Footer Mobile --- */
  .foot-body {
    padding: 22px 0 20px;
  }
  .foot-wrap {
    padding: 0 16px;
  }
  .foot-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .foot-brand .foot-head,
  .foot-services .foot-head,
  .foot-legal .foot-head {
    margin-bottom: 12px;
    font-size: 1.05rem;
  }
  .foot-address,
  .foot-contacts,
  .foot-services-list,
  .foot-legal-links p {
    font-size: 0.86rem;
  }
  .foot-divider {
    margin: 20px 0 16px;
  }
  .foot-bottom p {
    font-size: 0.8rem;
  }
}

@media (max-width: 540px) {
  .topbar-wrap {
    top: 6px;
    padding: 0 8px;
  }
  .topbar-in {
    height: 50px;
    padding: 0 8px 0 12px;
    gap: 8px;
  }
  .brand-t {
    display: none;
  }
  .brand-logo-img {
    height: 26px;
  }
  .top-call {
    width: 36px;
    height: 36px;
  }
  .top-call .ic {
    font-size: 16px;
    width: 16px;
    height: 16px;
  }
  .burger {
    width: 36px;
    height: 36px;
  }
  .burger span {
    width: 16px;
  }
}

@media (max-width: 380px) {
  .wrap {
    padding: 0 12px;
  }
  .stats-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .stat-card {
    padding: 16px 16px;
    min-height: auto;
  }
  .stat-num {
    font-size: 2.1rem;
  }
  .stat-desc {
    font-size: 0.88rem;
  }
  .stat-card-icon {
    width: 56px;
    height: 56px;
  }
  .hero h1 {
    font-size: 1.85rem;
  }
}

}
