/* ============================================================
   Burov — чистый CSS. Голубоватый промышленный стиль.
   ============================================================ */

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  background: var(--bg);
  color: var(--slate-700);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
body.no-scroll { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
input, select, textarea { font: inherit; color: inherit; }
ul, ol { list-style: none; }
table { border-collapse: collapse; width: 100%; }
i[data-lucide], svg.lucide { width: 1em; height: 1em; display: inline-block; vertical-align: -0.125em; stroke-width: 2; }

/* ---------- Variables ---------- */
:root {
  --primary: #0284c7;
  --primary-strong: #0369a1;
  --primary-foreground: #ffffff;
  --bg: #f8fbff;
  --card: #ffffff;
  --border: #e2e8f0;

  --slate-900: #0f172a;
  --slate-800: #1e293b;
  --slate-700: #334155;
  --slate-600: #475569;
  --slate-500: #64748b;
  --slate-400: #94a3b8;
  --slate-300: #cbd5e1;
  --slate-200: #e2e8f0;
  --slate-100: #f1f5f9;
  --slate-50: #f8fafc;

  --sky-50: #f0f9ff;
  --sky-100: #e0f2fe;
  --sky-200: #bae6fd;
  --sky-300: #7dd3fc;
  --sky-400: #38bdf8;
  --sky-500: #0ea5e9;
  --sky-600: #0284c7;
  --sky-700: #0369a1;

  --cyan-300: #67e8f9;
  --cyan-500: #06b6d4;

  --amber-400: #fbbf24;
  --emerald-500: #10b981;
  --emerald-100: #d1fae5;

  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;

  --shadow-sm: 0 1px 2px rgba(15,23,42,.06);
  --shadow: 0 4px 12px rgba(15,23,42,.08);
  --shadow-lg: 0 12px 30px rgba(15,23,42,.12);
  --shadow-primary: 0 10px 25px rgba(2,132,199,.25);

  --container: 1280px;
  --header-h: 64px;
}

/* ---------- Layout helpers ---------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 10px; }
.container-sm { max-width: 800px; }

.section { padding: 36px 0; }
@media (min-width: 640px) { .section { padding: 44px 0; } }
.section-sky { background: rgba(240, 249, 255, .55); }
.section-white { background: #fff; }
.section-dark { background: var(--slate-900); color: #fff; }

.section-head { max-width: 720px; margin-bottom: 28px; }
.section-head-center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head-light .section-title,
.section-head-light .section-eyebrow { color: #fff; }
.section-eyebrow {
  font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--primary);
}
.section-head-light .section-eyebrow { color: var(--sky-300); }
.section-title {
  margin-top: 8px;
  font-size: 26px; line-height: 1.15; font-weight: 600; letter-spacing: -.02em;
  color: var(--slate-900); text-wrap: balance;
}
@media (min-width: 640px) { .section-title { font-size: 36px; } }
.section-subtitle {
  margin-top: 12px; color: var(--slate-600); font-size: 16px; text-wrap: balance;
}
.section-head-light .section-subtitle { color: var(--slate-300); }
.section-subtitle-light { color: #8aa0b5; }

.hide-mobile { display: none; }

@media (min-width: 768px) { .hide-mobile { display: table-cell; } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 10px 18px; border-radius: var(--radius-sm); min-height: 42px;
  font-weight: 600; font-size: 14px; line-height: 1.2;
  transition: all .15s ease; white-space: nowrap; cursor: pointer;
  border: 1px solid transparent;
}
.btn-lg { padding: 14px 24px; font-size: 16px; min-height: 52px; }
.btn-block { width: 100%; }
.btn-primary { background: var(--primary); color: #fff; box-shadow: var(--shadow-primary); }
.btn-primary:hover { background: var(--primary-strong); transform: translateY(-1px); }
.btn-primary:active { transform: translateY(0); }
.btn-primary:disabled { opacity: .65; cursor: not-allowed; transform: none; }
.btn-outline { background: #fff; color: var(--slate-700); border-color: var(--border); }
.btn-outline:hover { color: var(--primary); border-color: var(--sky-300); background: var(--sky-50); }
.btn-ghost-light {
  background: rgba(255,255,255,.1); color: #fff; border: 1px solid rgba(255,255,255,.2);
}
.btn-ghost-light:hover { background: rgba(255,255,255,.2); }
.btn-wa { background: var(--emerald-500); color: #fff; }
.btn-wa:hover { background: #059669; }
.btn-tg { background: var(--sky-500); color: #fff; }
.btn-tg:hover { background: var(--sky-600); }

.icon-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: var(--radius-sm); font-size: 20px;
}
.icon-btn-border { border: 1px solid var(--sky-100); color: var(--slate-700); }

.messenger {
  display: inline-flex; align-items: center; justify-content: center;
  width: 32px; height: 32px; border-radius: 999px; font-size: 16px;
  transition: all .15s ease;
}
.messenger-wa { background: rgba(16,185,129,.1); color: #059669; }
.messenger-wa:hover { background: var(--emerald-500); color: #fff; }
.messenger-tg { background: rgba(14,165,233,.1); color: var(--sky-600); }
.messenger-tg:hover { background: var(--sky-500); color: #fff; }

.badge {
  display: inline-flex; align-items: center; padding: 5px 12px;
  border-radius: 8px; font-size: 13px; font-weight: 600;
  background: #fff; border: 1px solid var(--sky-300);
}
.badge-sky { color: var(--sky-700); }
.badge-emerald { color: #047857; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 40; }

.nav-wrap {
  background: #fff; border-bottom: 1px solid var(--sky-100);
  transition: box-shadow .2s ease, background .2s ease;
}
.nav-wrap.is-scrolled {
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(8px);
  box-shadow: var(--shadow-sm);
}
.nav-inner { display: flex; align-items: center; gap: 16px; padding: 10px 16px; }

.logo { display: inline-flex; align-items: center; gap: 10px; flex-shrink: 0; }
.logo-badge {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: var(--radius-sm);
  background: transparent;
  color: #fff; font-size: 20px;
  box-shadow: none;
  overflow: hidden;
}
.logo-badge-img { width: 100%; height: 100%; object-fit: contain; }
.logo-text { display: flex; flex-direction: column; line-height: 1; }
.logo-name { font-size: 18px; font-weight: 800; letter-spacing: -.02em; color: var(--slate-900); }
.logo-name-light { color: #fff; }
.logo-sub { font-size: 11px; font-weight: 500; color: var(--sky-600); }
@media (max-width: 500px) { .logo-sub { display: none; } }

.nav-links { display: none; align-items: center; gap: 2px; margin: 0 auto; }
@media (min-width: 1200px) { .nav-links { display: flex; } }
.nav-links a {
  padding: 8px 8px; border-radius: var(--radius-sm);
  font-size: 14px; font-weight: 500; color: var(--slate-700);
  transition: all .15s ease;
}
.nav-links a:hover { color: var(--primary); background: var(--sky-50); }

/* Nav dropdown */
.nav-dropdown { position: relative; }
.nav-dropdown-toggle {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 8px 8px; border-radius: var(--radius-sm);
  font-family: inherit; font-size: 14px; font-weight: 500; color: var(--slate-700);
  background: transparent; border: none; cursor: pointer; transition: all .15s ease;
}
.nav-dropdown-toggle:hover { color: var(--primary); background: var(--sky-50); }
.nav-dropdown-toggle svg { width: 14px; height: 14px; transition: transform .2s ease; }
.nav-dropdown.is-open .nav-dropdown-toggle { color: var(--primary); background: var(--sky-50); }
.nav-dropdown.is-open .nav-dropdown-toggle svg { transform: rotate(180deg); }
.nav-dropdown-menu {
  position: absolute; top: calc(100% + 6px); left: 0;
  min-width: 200px; padding: 6px;
  background: #fff; border: 1px solid var(--sky-100); border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  display: flex; flex-direction: column; gap: 2px;
  opacity: 0; visibility: hidden; transform: translateY(-4px);
  transition: opacity .15s ease, transform .15s ease, visibility .15s ease;
  z-index: 50;
}
.nav-dropdown.is-open .nav-dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-dropdown-menu a {
  padding: 8px 10px; border-radius: var(--radius-sm);
  font-size: 14px; font-weight: 500; color: var(--slate-700); white-space: nowrap;
}
.nav-dropdown-menu a:hover { color: var(--primary); background: var(--sky-50); }
.nav-dropdown-item {
  display: block; padding: 8px 10px; border-radius: var(--radius-sm);
  font-size: 14px; font-weight: 500; white-space: nowrap; cursor: default;
}
.nav-dropdown-item.is-muted { color: var(--slate-700); }
.nav-subdropdown { position: relative; }
.nav-subdropdown-head { display: flex; align-items: center; justify-content: space-between; gap: 4px; }
.nav-subdropdown-head .nav-subdropdown-toggle { flex: none; padding: 8px 10px; cursor: default; }
.nav-subdropdown-link {
  flex: 1; padding: 8px 10px; border-radius: var(--radius-sm);
  font-size: 14px; font-weight: 600; color: var(--slate-700); white-space: nowrap;
}
.nav-subdropdown-link:hover { color: var(--primary); background: var(--sky-50); }
.nav-subdropdown-toggle {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.nav-subdropdown-toggle svg { width: 14px; height: 14px; transition: transform .2s ease; }
.nav-subdropdown:hover .nav-subdropdown-toggle { color: var(--primary); }
.nav-subdropdown:hover .nav-subdropdown-toggle svg { transform: rotate(45deg); }
.nav-subdropdown-menu {
  position: absolute; top: 0; left: 100%;
  min-width: 290px; padding: 6px; margin-left: 4px;
  background: #fff; border: 1px solid var(--sky-100); border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  display: flex; flex-direction: column; gap: 2px;
  max-height: calc(100vh - 100px); overflow-y: auto; overflow-x: hidden;
  opacity: 0; visibility: hidden; transform: translateX(-4px);
  transition: opacity .15s ease, transform .15s ease, visibility .15s ease;
  z-index: 60;
}
.nav-subdropdown:hover .nav-subdropdown-menu { opacity: 1; visibility: visible; transform: translateX(0); }
.nav-subdropdown-menu a {
  padding: 7px 10px; border-radius: var(--radius-sm);
  font-size: 13px; font-weight: 500; color: var(--slate-700); white-space: nowrap;
}
.nav-subdropdown-menu a:hover { color: var(--primary); background: var(--sky-50); }
.nav-subdropdown-menu::-webkit-scrollbar { width: 6px; height: 6px; }
.nav-subdropdown-menu::-webkit-scrollbar-track { background: transparent; }
.nav-subdropdown-menu::-webkit-scrollbar-thumb { background: var(--sky-400); border-radius: 999px; }
.nav-subdropdown-menu { scrollbar-width: thin; scrollbar-color: var(--sky-400) transparent; }

.nav-cta { display: none; align-items: center; gap: 12px; margin-left: auto; }
@media (min-width: 1200px) { .nav-cta { display: flex; margin-left: 0; } }
.nav-phone { display: flex; flex-direction: column; align-items: flex-end; line-height: 1.2; }
.nav-phone-num { font-size: 17px; font-weight: 700; color: var(--slate-900); transition: color .15s; }
.nav-phone:hover .nav-phone-num { color: var(--primary); }
.nav-phone-sub { font-size: 11px; color: var(--slate-500); }

.nav-mobile { display: flex; align-items: center; gap: 8px; margin-left: auto; }
@media (min-width: 1200px) { .nav-mobile { display: none; } }
.nav-mobile-phone {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: var(--radius-sm);
  background: var(--sky-50); color: var(--sky-600);
  transition: background .15s ease, color .15s ease;
}
.nav-mobile-phone > i, .nav-mobile-phone > svg { width: 20px; height: 20px; }
.nav-mobile-phone:hover { background: var(--sky-100); color: var(--sky-700); }
.nav-mobile-phone-num { display: none; font-weight: 700; font-size: 15px; color: var(--slate-900); white-space: nowrap; }
@media (min-width: 768px) {
  .nav-mobile-phone {
    width: auto; height: auto; padding: 8px 12px; gap: 8px;
    background: var(--sky-50); border-radius: var(--radius);
  }
  .nav-mobile-phone-num { display: inline; }
}

/* ---------- Mobile menu ---------- */
.mobile-menu {
  position: fixed; top: 0; right: 0; bottom: 0; width: 300px; max-width: 85vw;
  background: #fff; z-index: 60; padding: 20px;
  transform: translateX(100%); transition: transform .25s ease;
  display: flex; flex-direction: column;
  box-shadow: -10px 0 30px rgba(15,23,42,.15);
}
.mobile-menu.is-open { transform: translateX(0); }
.mobile-menu-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.mobile-menu-title { font-size: 18px; font-weight: 700; color: var(--slate-900); }
.mobile-menu-nav { display: flex; flex-direction: column; gap: 2px; }
.mobile-menu-nav a {
  padding: 10px 12px; border-radius: var(--radius-sm);
  font-size: 14px; font-weight: 500; color: var(--slate-700);
}
.mobile-menu-nav a:hover { background: var(--sky-50); color: var(--primary); }
.mm-collapse { display: flex; flex-direction: column; }
.mm-collapse-toggle {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 12px; border-radius: var(--radius-sm);
  font-family: inherit; font-size: 14px; font-weight: 500; color: var(--slate-700);
  background: transparent; border: none; cursor: pointer; text-align: left;
}
.mm-collapse-toggle svg { width: 16px; height: 16px; transition: transform .2s ease; }
.mm-collapse.is-open .mm-collapse-toggle { color: var(--primary); }
.mm-collapse.is-open .mm-collapse-toggle svg { transform: rotate(180deg); }
.mm-collapse-menu {
  display: none; flex-direction: column; gap: 2px;
  padding: 4px 0 6px 12px;
}
.mm-collapse.is-open .mm-collapse-menu { display: flex; }
.mm-collapse-menu a {
  padding: 8px 12px; border-radius: var(--radius-sm);
  font-size: 14px; font-weight: 500; color: var(--slate-500);
}
.mm-subcollapse { display: flex; flex-direction: column; }
.mm-subcollapse-head { display: flex; align-items: center; justify-content: space-between; gap: 4px; }
.mm-subcollapse-head .mm-subcollapse-toggle { flex: none; padding: 10px 12px; }
.mm-subcollapse-link {
  flex: 1; padding: 10px 12px; border-radius: var(--radius-sm);
  font-size: 14px; font-weight: 500; color: var(--slate-500);
}
.mm-subcollapse.is-open .mm-subcollapse-link,
.mm-subcollapse.is-open .mm-subcollapse-toggle { color: var(--primary); }
.mm-subcollapse-toggle {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 12px; border-radius: var(--radius-sm);
  font-family: inherit; font-size: 14px; font-weight: 500; color: var(--slate-500);
  background: transparent; border: none; cursor: pointer; text-align: left;
}
.mm-subcollapse-toggle svg { width: 14px; height: 14px; transition: transform .2s ease; }
.mm-subcollapse.is-open .mm-subcollapse-toggle svg { transform: rotate(180deg); }
.mm-subcollapse-menu {
  display: none; flex-direction: column; gap: 2px;
  padding: 4px 0 6px 12px;
  max-height: 50vh; overflow-y: auto;
}
.mm-subcollapse.is-open .mm-subcollapse-menu { display: flex; }
.mm-subcollapse-menu a {
  padding: 7px 12px; border-radius: var(--radius-sm);
  font-size: 13px; font-weight: 500; color: var(--slate-500);
}
.mobile-menu-foot { margin-top: 24px; display: grid; gap: 12px; }
.mobile-menu-meta { display: flex; align-items: center; gap: 12px; padding-top: 8px; font-size: 14px; color: var(--slate-600); }
.mobile-menu-overlay {
  position: fixed; inset: 0; background: rgba(15,23,42,.5); z-index: 55;
  opacity: 0; pointer-events: none; transition: opacity .25s ease;
}
.mobile-menu-overlay.is-open { opacity: 1; pointer-events: auto; }
@media (min-width: 1200px) { .mobile-menu, .mobile-menu-overlay { display: none; } }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--slate-900); color: #fff; }
.hero-bg { position: absolute; inset: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; opacity: .4; }
.hero-overlay { position: absolute; inset: 0; }
.hero-overlay-h { background: linear-gradient(to right, var(--slate-900), rgba(15,23,42,.85), rgba(15,23,42,.4)); }
.hero-overlay-v { background: linear-gradient(to top, var(--slate-900), transparent, rgba(15,23,42,.3)); }
.hero-darker .hero-overlay-h { background: linear-gradient(to right, var(--slate-900), rgba(15,23,42,.95), rgba(15,23,42,.5)); }
.hero-darker .hero-overlay-v { background: linear-gradient(to top, var(--slate-900), rgba(15,23,42,.2), rgba(15,23,42,.4)); }
.hero-content { position: relative; padding: 32px 16px 64px; }
@media (min-width: 640px) { .hero-content { padding: 40px 16px 80px; } }
@media (min-width: 1024px) { .hero-content { padding: 48px 16px 96px; } }
.hero-inner { max-width: 1000px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 4px 12px; border-radius: 999px;
  border: 1px solid rgba(56,189,248,.3); background: rgba(56,189,248,.1);
  color: var(--sky-200); font-size: 12px; font-weight: 500;
  backdrop-filter: blur(8px);
}
.hero-badge i { font-size: 14px; }
.hero-title {
  margin-top: 20px; font-size: 30px; line-height: 1.1; font-weight: 800; letter-spacing: -.02em;
  text-wrap: balance;
}
@media (min-width: 640px) { .hero-title { font-size: 36px; } }
@media (min-width: 1024px) { .hero-title { font-size: 48px; } }
.hero-title-accent {
  background: linear-gradient(to right, var(--sky-300), var(--cyan-300));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-text { margin-top: 20px; font-size: 16px; color: var(--slate-300); max-width: 1000px; text-wrap: balance; }
@media (min-width: 640px) { .hero-text { font-size: 18px; } }
.hero-actions { margin-top: 28px; display: flex; flex-direction: column; gap: 12px; min-height: 116px; }
@media (min-width: 640px) { .hero-actions { flex-direction: row; min-height: 52px; } }
.hero-trust {
  margin-top: 28px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px;
  font-size: 14px; color: var(--slate-300);
}
.hero-trust + .hero-trust { margin-top: 10px; }
.hero-trust-item { display: inline-flex; align-items: center; gap: 6px; }
.hero-trust-item i { color: var(--sky-400); font-size: 16px; }
.hero-trust-item svg { color: var(--sky-400); width: 16px; height: 16px; flex: none; }
.stars { display: inline-flex; }
.stars i { color: var(--amber-400); fill: var(--amber-400); }
.stars svg { color: var(--amber-400); fill: var(--amber-400); stroke: var(--amber-400); }
.hero-badges {
  margin-top: 36px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; max-width: 720px;
}
@media (min-width: 640px) { .hero-badges { grid-template-columns: repeat(4, 1fr); } }
.hero-badge-card {
  border: 1px solid rgba(255,255,255,.1); background: rgba(255,255,255,.05);
  border-radius: var(--radius); padding: 12px 16px; backdrop-filter: blur(8px);
}
.hero-badge-card dt { font-size: 20px; font-weight: 800; color: #fff; }
.hero-badge-card dd { font-size: 12px; color: var(--slate-300); margin-top: 2px; }

/* ---------- Services ---------- */
.services-grid {
  display: grid; grid-template-columns: 1fr; gap: 16px;
}
@media (min-width: 640px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .services-grid { grid-template-columns: repeat(4, 1fr); } }
.service-card {
  position: relative; overflow: hidden; background: #fff; border: 1px solid var(--sky-100);
  border-radius: var(--radius-lg);
  transition: all .2s ease;
}
.service-card:hover { border-color: var(--sky-300); box-shadow: 0 10px 25px rgba(14,165,233,.1); }
.service-card-deco {
  position: absolute; top: -24px; right: -24px; width: 80px; height: 80px;
  border-radius: 999px; background: var(--sky-50); transition: background .2s;
}
.service-card:hover .service-card-deco { background: var(--sky-100); }
.service-card-body { position: relative; padding: 20px; }
.service-card-head { display: flex; align-items: center; justify-content: space-between; }
.service-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: var(--radius);
  background: linear-gradient(135deg, var(--sky-500), var(--cyan-500));
  color: #fff; font-size: 20px;
  box-shadow: 0 4px 10px rgba(14,165,233,.3);
}
.card-tag {
  padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 600;
  background: var(--sky-100); color: var(--sky-700);
}
.service-card h3 { margin-top: 16px; font-size: 16px; font-weight: 700; color: var(--slate-900); }
.service-card-desc { margin-top: 6px; font-size: 14px; color: var(--slate-600); line-height: 1.55; }
.card-link {
  margin-top: 16px; font-size: 14px; font-weight: 600; color: var(--primary);
  display: inline-flex; gap: 4px; transition: gap .15s;
  text-decoration: none; cursor: pointer;
}
.card-link:hover { gap: 8px; }
.services-footer {
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  margin-top: 32px;
  padding: 24px; border: 2px solid var(--sky-100); border-radius: var(--radius-lg); background: #fff; text-align: center;
}
.services-footer p { color: var(--slate-700); }
@media (min-width: 640px) { .services-footer { flex-direction: row; justify-content: center; } }

/* На мобильных скрываем карточки услуг после 5-й */
/* is-extra — карточки сверх начальных 5; is-shown — открытые кнопкой */
.services-grid .service-card.is-extra { display: none; }
.services-grid .service-card.is-extra.is-shown { display: block; }
/* На десктопе/планшете показываем все карточки всегда */
@media (min-width: 640px) {
  .services-grid .service-card.is-extra { display: block; }
}
.services-more {
  display: none;
  margin: 20px auto 0;
  padding: 12px 28px;
  border: 1px solid var(--sky-200); border-radius: 999px;
  background: #fff; color: var(--sky-700);
  font-size: 15px; font-weight: 600;
  cursor: pointer; transition: all .15s;
  position: relative; z-index: 2;
}
.services-more:hover { background: var(--sky-50); border-color: var(--sky-400); }
.services-more.is-visible { display: inline-flex; align-items: center; gap: 8px; }
.services-more svg, .services-more i { width: 18px; height: 18px; transition: transform .2s; }
.services-more.is-open svg, .services-more.is-open i { transform: rotate(180deg); }

/* ---------- Advantages ---------- */
.adv-layout { display: grid; gap: 40px; }
@media (min-width: 1024px) { .adv-layout { grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; } }
@media (min-width: 1024px) { .adv-left { position: sticky; top: 112px; } }
.adv-media {
  margin-top: 32px; overflow: hidden; border: 1px solid var(--sky-100);
  border-radius: var(--radius-lg); background: rgba(240,249,255,.6);
}
.adv-media img { width: 100%; height: 224px; object-fit: cover; }
@media (min-width: 640px) { .adv-media img { height: 256px; } }
.adv-media-note { display: flex; align-items: center; gap: 12px; padding: 16px; font-size: 14px; color: var(--slate-700); }
.adv-media-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: var(--radius); background: var(--sky-600); color: #fff;
  font-size: 18px; flex-shrink: 0;
}
.adv-right { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 640px) { .adv-right { grid-template-columns: repeat(2, 1fr); } }
.adv-item {
  border: 1px solid var(--sky-100); border-radius: var(--radius-lg);
  background: linear-gradient(to bottom, #fff, rgba(240,249,255,.4));
  padding: 20px; transition: all .2s;
}
.adv-item:hover { border-color: var(--sky-300); box-shadow: 0 6px 16px rgba(14,165,233,.1); }
.adv-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: var(--radius);
  background: var(--sky-100); color: var(--sky-700); font-size: 20px; transition: all .2s;
}
.adv-item:hover .adv-icon { background: var(--sky-600); color: #fff; }
.adv-item h3 { margin-top: 16px; font-size: 16px; font-weight: 700; color: var(--slate-900); }
.adv-item p { margin-top: 6px; font-size: 14px; color: var(--slate-600); line-height: 1.55; }

/* ---------- Process ---------- */
.process { color: #fff; }
.process-grid {
  margin-top: 40px; display: grid; gap: 16px;
  grid-template-columns: 1fr;
}
@media (min-width: 768px) { .process-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .process-grid { grid-template-columns: repeat(5, 1fr); } }
.process-item {
  position: relative; border: 1px solid rgba(255,255,255,.1); background: rgba(255,255,255,.05);
  border-radius: var(--radius-lg); padding: 20px; backdrop-filter: blur(8px); transition: background .2s;
}
.process-item:hover { background: rgba(255,255,255,.1); }
.process-item-head { display: flex; align-items: center; justify-content: space-between; }
.process-num { font-size: 30px; font-weight: 800; color: rgba(56,189,248,.8); }
.process-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: var(--radius);
  background: rgba(56,189,248,.2); color: var(--sky-300); font-size: 20px;
}
.process-item h3 { margin-top: 16px; font-size: 16px; font-weight: 700; }
.process-item p { margin-top: 6px; font-size: 14px; color: var(--slate-300); line-height: 1.55; }
.process-arrow {
  position: absolute; top: 50%; right: -10px; transform: translateY(-50%);
  color: rgba(56,189,248,.5); font-size: 20px; display: none;
}
@media (min-width: 1024px) { .process-arrow { display: inline-flex; } }
.process-cta {
  margin-top: 40px; display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center;
}
.process-cta p { color: var(--slate-300); }
@media (min-width: 640px) { .process-cta { flex-direction: row; justify-content: center; } }

/* ---------- Pricing ---------- */
.pricing-head { display: flex; flex-direction: column; gap: 16px; margin-bottom: 32px; }
@media (min-width: 768px) { .pricing-head { flex-direction: row; align-items: flex-end; justify-content: space-between; } }
.price-nav { background: var(--sky-50); border-bottom: 1px solid var(--sky-100); padding: 20px 0; position: sticky; top: 0; z-index: 30; }
@media (max-width: 639px) { .price-nav { position: static; } }
.price-nav .container { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.price-nav a {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 10px 20px; border-radius: var(--radius);
  background: var(--sky-600); color: #fff;
  font-size: 14px; font-weight: 600; text-decoration: none;
  transition: background .15s ease, transform .15s ease;
  flex: 1 1 auto; min-width: 120px;
}
.price-nav a:hover { background: var(--sky-700); transform: translateY(-1px); }
#almaznoe-burenie, #almaznaya-rezka, #rasshirenie-proemov { scroll-margin-top: 80px; }
@media (max-width: 639px) {
  .price-nav .container { flex-direction: column; }
  .price-nav a { width: 100%; }
}
.pricing-badges { display: flex; flex-wrap: wrap; gap: 16px; }
.badge { margin: 5px; }
#pricing .badge { white-space: nowrap; }
.table-card { background: #fff; border: 1px solid var(--sky-100); border-radius: var(--radius-lg); overflow: hidden; }
.table-scroll { overflow-x: auto; }
.price-table { font-size: 14px; }
.price-table thead { background: var(--slate-900); color: #fff; }
.price-table th { text-align: left; padding: 12px 16px; font-weight: 600; }
.price-table td { padding: 10px 16px; color: var(--slate-700); border-top: 1px solid var(--slate-100); }
@media (max-width: 480px) {
  .price-table { font-size: 13px; table-layout: fixed; width: 100%; }
  .price-table th, .price-table td { padding: 8px 6px; word-wrap: break-word; overflow-wrap: break-word; white-space: normal; }
}
.row-alt { background: rgba(240,249,255,.4); }
.cell-strong { font-weight: 700; color: var(--slate-900); }
.cell-muted { color: var(--slate-500); }

/* Плашка с условиями (мин. заказ и т.д.) под таблицей прайса */
.pricing-conditions { margin-top: 20px; }
.price-table-compact { font-size: 14px; width: 100%; }
.price-table-compact td { padding: 12px 16px; }
.price-table-compact td:last-child { text-align: right; font-weight: 700; color: var(--slate-900); white-space: nowrap; }
@media (max-width: 480px) {
  .price-table-compact td { padding: 10px 12px; font-size: 13px; }
  .price-table-compact td:last-child { white-space: normal; }
}

/* Сноска под таблицей */
.pricing-footnote {
  margin-top: 16px; font-size: 13px; line-height: 1.6;
  color: var(--slate-500);
}
@media (min-width: 768px) { .pricing-footnote { font-size: 14px; } }

/* ---------- Calculator ---------- */
.calc-card { background: #fff; border: 1px solid var(--sky-100); border-radius: var(--radius-lg); overflow: hidden; margin-top: 32px; }
.calc-grid { display: grid; }
@media (min-width: 1024px) { .calc-grid { grid-template-columns: 1.3fr 1fr; } }
.calc-inputs { padding: 24px; display: flex; flex-direction: column; gap: 20px; }
@media (min-width: 640px) { .calc-inputs { padding: 32px; } }
.field { display: grid; gap: 8px; }
.field-label { font-size: 14px; font-weight: 500; color: var(--slate-700); }
.field-value { font-size: 14px; font-weight: 600; color: var(--slate-900); }
.field-row { display: grid; gap: 16px; }
@media (min-width: 640px) { .field-row { grid-template-columns: 1fr 1fr; } }
.field-row-between { display: flex; align-items: center; justify-content: space-between; }
.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.seg-btn {
  border: 1px solid var(--slate-200); border-radius: var(--radius-sm); padding: 12px 16px;
  font-size: 14px; font-weight: 500; color: var(--slate-600); transition: all .15s;
  background: #fff;
}
.seg-btn:hover { border-color: var(--sky-300); }
.seg-btn.is-active { border-color: var(--sky-500); background: var(--sky-50); color: var(--sky-700); }

.select-wrap { position: relative; }
.select-wrap select {
  width: 100%; appearance: none; -webkit-appearance: none;
  padding: 10px 36px 10px 12px; border: 1px solid var(--border); border-radius: var(--radius-sm);
  background: #fff; font-size: 14px; height: 42px;
}
.select-wrap select:focus { outline: 2px solid var(--sky-400); outline-offset: -1px; }
.select-caret { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); color: var(--slate-400); font-size: 16px; pointer-events: none; }

input[type="number"], input[type="tel"], input[type="text"], input[type="email"], input:not([type]), textarea {
  width: 100%; padding: 10px 12px; border: 1px solid var(--border); border-radius: var(--radius-sm);
  background: #fff; font-size: 14px; transition: border-color .15s;
}
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--sky-400); box-shadow: 0 0 0 3px rgba(56,189,248,.15); }
textarea { resize: vertical; min-height: 96px; }

.range {
  -webkit-appearance: none; appearance: none; width: 100%; height: 6px;
  background: var(--sky-100); border-radius: 999px; outline: none;
}
.range::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none; width: 20px; height: 20px;
  border-radius: 999px; background: var(--sky-600); cursor: pointer;
  border: 3px solid #fff; box-shadow: 0 2px 6px rgba(2,132,199,.4);
}
.range::-moz-range-thumb {
  width: 20px; height: 20px; border-radius: 999px; background: var(--sky-600);
  cursor: pointer; border: 3px solid #fff; box-shadow: 0 2px 6px rgba(2,132,199,.4);
}
.range-scale { display: flex; justify-content: space-between; font-size: 12px; color: var(--slate-400); }

.calc-result {
  background: linear-gradient(135deg, var(--slate-900), var(--slate-800));
  color: #fff; padding: 24px; display: flex; flex-direction: column;
}
@media (min-width: 640px) { .calc-result { padding: 32px; } }
.calc-result-label { display: flex; align-items: center; gap: 8px; color: var(--sky-300); font-size: 14px; font-weight: 500; }
.calc-total { margin-top: 12px; font-size: 36px; font-weight: 800; letter-spacing: -.02em; }
@media (min-width: 640px) { .calc-total { font-size: 48px; } }
.calc-formula { margin-top: 8px; font-size: 14px; color: var(--slate-300); }
.calc-formula.calc-formula-warn { display: inline-flex; align-items: flex-start; gap: 6px; color: var(--amber-400); font-size: 12px; }
.calc-formula.calc-formula-warn i { font-size: 14px; margin-top: 1px; flex-shrink: 0; }
.calc-details { margin-top: 24px; display: grid; gap: 8px; font-size: 14px; }
.calc-details div { display: flex; justify-content: space-between; }
.calc-details dt { color: var(--slate-300); }
.calc-details dd { color: #fff; font-weight: 500; }
.calc-result-actions { margin-top: auto; padding-top: 24px; display: flex; flex-direction: column; gap: 8px; }
.calc-disclaimer { font-size: 12px; color: var(--slate-400); text-align: center; }
.calc-cta-block {
  margin-top: 32px; padding: 28px;
  background: var(--sky-50); border: 1px solid var(--sky-100); border-radius: var(--radius-lg);
  text-align: center;
}
.calc-cta-title { font-size: 22px; font-weight: 800; color: var(--slate-900); line-height: 1.25; }
.calc-cta-text { margin: 12px auto 20px; max-width: 640px; font-size: 15px; color: var(--slate-600); line-height: 1.6; }

/* ---------- Trust ---------- */
.trust-grid { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .trust-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .trust-grid { grid-template-columns: repeat(4, 1fr); } }
.cert-card {
  background: #fff; border: 1px solid var(--sky-100); border-radius: var(--radius-lg);
  padding: 20px; transition: all .2s;
}
.cert-card:hover { border-color: var(--sky-300); box-shadow: 0 6px 16px rgba(14,165,233,.1); }
.cert-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: var(--radius);
  background: linear-gradient(135deg, var(--sky-500), var(--cyan-500));
  color: #fff; font-size: 20px; box-shadow: 0 4px 10px rgba(14,165,233,.3);
}
.cert-card h3 { margin-top: 16px; font-size: 16px; font-weight: 700; color: var(--slate-900); }
.cert-card p { margin-top: 4px; font-size: 14px; color: var(--slate-600); }
.clients { margin-top: 48px; }
.clients-title { text-align: center; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--slate-500); }
.clients-grid { margin-top: 20px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (min-width: 640px) { .clients-grid { grid-template-columns: repeat(4, 1fr); } }
.client-chip {
  display: flex; align-items: center; justify-content: center; text-align: center;
  border: 1px solid var(--sky-100); background: #fff; border-radius: var(--radius);
  padding: 20px 16px; font-size: 14px; font-weight: 600; color: var(--slate-600); transition: all .15s;
}
.client-chip:hover { color: var(--primary); border-color: var(--sky-300); }

/* ---------- Reviews ---------- */
.reviews-head { display: flex; flex-direction: column; gap: 24px; margin-bottom: 40px; }
@media (min-width: 768px) { .reviews-head { flex-direction: row; align-items: flex-end; justify-content: space-between; } }
.reviews-grid { display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .reviews-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .reviews-grid { grid-template-columns: repeat(4, 1fr); } }
.reviews-all-link {
  display: inline-block; margin-top: 20px; padding-left: 5px;
  font-size: 15px; font-weight: 600; color: var(--sky-600);
  text-decoration: none;
}
.reviews-all-link:hover { color: var(--sky-700); text-decoration: underline; }
.review-card {
  background: #fff; border: 1px solid var(--sky-100); border-radius: var(--radius-lg);
  padding: 20px; display: flex; flex-direction: column;
}
.review-quote { color: var(--sky-200); font-size: 28px; }
.review-text { margin-top: 12px; font-size: 14px; color: var(--slate-700); line-height: 1.6; flex: 1; }
.review-foot { margin-top: 16px; display: flex; align-items: center; justify-content: space-between; }
.review-name { font-size: 14px; font-weight: 600; color: var(--slate-900); }
.review-role { font-size: 12px; color: var(--slate-500); }
.review-stars { margin-top: 12px; display: inline-flex; }
.review-stars i { color: var(--amber-400); fill: var(--amber-400); font-size: 16px; }
.review-stars svg { color: var(--amber-400); fill: var(--amber-400); stroke: var(--amber-400); }

/* ---------- FAQ ---------- */
.faq { margin-top: 32px; display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  border: 1px solid var(--sky-100); background: #fff; border-radius: var(--radius);
  padding: 4px 20px; box-shadow: var(--shadow-sm);
}
.faq-q {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 14px 0; font-weight: 600; color: var(--slate-900); cursor: pointer;
  list-style: none; font-size: 15px;
}
.faq-q::-webkit-details-marker { display: none; }
.faq-caret { color: var(--primary); font-size: 18px; transition: transform .2s; flex-shrink: 0; }
.faq-item[open] .faq-caret { transform: rotate(180deg); }
.faq-a { padding-bottom: 14px; color: var(--slate-600); line-height: 1.6; font-size: 14px; }
.faq-cta {
  margin-top: 32px; display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center;
  border: 1px solid var(--sky-100); background: #fff; border-radius: var(--radius-lg); padding: 24px;
}
.faq-cta i { color: var(--primary); font-size: 24px; }
.faq-cta p { color: var(--slate-700); flex: 1; }
@media (min-width: 640px) { .faq-cta { flex-direction: row; justify-content: center; } }

/* ---------- CTA / Contacts ---------- */
.cta-grid { display: grid; gap: 32px; align-items: stretch; }
@media (min-width: 1024px) { .cta-grid { grid-template-columns: 1fr 1fr; } }
.cta-info { display: flex; flex-direction: column; }
.cta-info .section-title { color: #fff; }
.cta-contacts { margin-top: 32px; display: grid; gap: 16px; }
@media (min-width: 640px) { .cta-contacts { grid-template-columns: repeat(2, 1fr); } }
.cta-contact {
  display: flex; align-items: flex-start; gap: 12px;
  border: 1px solid rgba(255,255,255,.1); background: rgba(255,255,255,.05);
  border-radius: var(--radius); padding: 16px; transition: background .2s;
}
a.cta-contact:hover { background: rgba(255,255,255,.1); }
.cta-contact > i { color: var(--sky-400); font-size: 20px; margin-top: 2px; }
.cta-contact-label { display: block; font-size: 12px; color: var(--slate-400); }
.cta-contact-val { display: block; font-weight: 600; font-size: 14px; }
.cta-contact-sub { display: block; font-size: 12px; color: var(--slate-400); }
.cta-messengers { margin-top: 20px; display: flex; flex-wrap: wrap; gap: 12px; }
.cta-checks { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 14px; color: var(--slate-300); }
.cta-checks li { display: inline-flex; align-items: center; gap: 6px; }
.cta-checks i { color: var(--sky-400); font-size: 16px; }
.cta-form-card {
  background: #fff; color: var(--slate-900); border-radius: var(--radius-lg);
  padding: 24px;
}
@media (min-width: 640px) { .cta-form-card { padding: 32px; } }
.cta-form-card h3 { font-size: 20px; font-weight: 700; }
.cta-form-sub { margin-top: 4px; font-size: 14px; color: var(--slate-600); }
.cta-form { margin-top: 20px; display: grid; gap: 16px; }
.cta-form-row { display: grid; gap: 16px; }
@media (min-width: 640px) { .cta-form-row { grid-template-columns: 1fr 1fr; } }
.form-consent {
  display: flex; align-items: flex-start; gap: 8px; margin-bottom: 12px;
  font-size: 12px; color: var(--slate-500); cursor: pointer;
}
.form-consent input[type="checkbox"] {
  flex: none; width: 16px; height: 16px; margin-top: 2px;
  accent-color: var(--sky-500); cursor: pointer;
}
.form-consent span { line-height: 1.4; }
.form-consent a { color: var(--sky-600); text-decoration: underline; }
.form-consent a:hover { color: var(--sky-700); }
.form-consent input[type="checkbox"]:focus-visible { outline: 2px solid var(--sky-400); outline-offset: 2px; }

/* Прикрепление фото к форме */
.field-attach { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.attach-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 16px;
  border: 1px dashed var(--sky-300); border-radius: var(--radius);
  background: var(--sky-50); color: var(--sky-700);
  font-size: 14px; font-weight: 600; cursor: pointer;
  transition: background .15s, border-color .15s;
}
.attach-btn:hover { background: var(--sky-100); border-color: var(--sky-400); }
.attach-btn i, .attach-btn svg { width: 18px; height: 18px; flex: none; }
.attach-hint { font-size: 12px; color: var(--slate-500); }

/* ---------- Footer ---------- */
.footer { background: #020617; color: var(--slate-300); padding: 56px 0 0; }
.footer-grid { display: grid; gap: 40px; }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; } }
.footer-about { margin-top: 16px; font-size: 14px; color: var(--slate-400); max-width: 360px; }
.footer-social { margin-top: 20px; display: flex; gap: 8px; }
.footer-social-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: var(--radius-sm);
  background: rgba(255,255,255,.05); font-size: 16px; transition: all .15s;
}
.footer-social-wa { color: var(--emerald-500); }
.footer-social-wa:hover { background: var(--emerald-500); color: #fff; }
.footer-social-tg { color: var(--sky-400); }
.footer-social-tg:hover { background: var(--sky-500); color: #fff; }
.footer-social-mail { color: var(--slate-300); }
.footer-social-mail:hover { background: #fff; color: var(--slate-900); }
.footer-title { font-size: 14px; font-weight: 600; color: #fff; }
.footer-list { margin-top: 16px; display: flex; flex-direction: column; gap: 8px; font-size: 14px; }
.footer-list a { color: var(--slate-400); transition: color .15s; }
.footer-list a:hover { color: var(--sky-300); }
.footer-contacts { margin-top: 16px; display: flex; flex-direction: column; gap: 12px; font-size: 14px; }
.footer-contacts li { display: flex; align-items: flex-start; gap: 10px; }
.footer-contacts i { color: var(--sky-400); font-size: 16px; margin-top: 2px; }
.footer-contacts a { color: var(--slate-300); }
.footer-contacts a:hover { color: var(--sky-300); }
.footer-contacts span { color: var(--slate-400); }
.footer-contacts div span:first-child { color: #fff; font-weight: 600; }
.footer-districts { margin-top: 40px; border-top: 1px solid rgba(255,255,255,.1); padding-top: 24px; }
.footer-districts-title { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--slate-500); }
.footer-districts-list { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 8px; }
.district-chip { background: rgba(255,255,255,.05); padding: 4px 10px; border-radius: var(--radius-sm); font-size: 12px; color: var(--slate-400); }
.footer-bottom { margin-top: 32px; display: flex; flex-direction: column; align-items: center; gap: 12px; border-top: 1px solid rgba(255,255,255,.1); padding: 24px 0; font-size: 12px; color: var(--slate-500); text-align: center; }
@media (min-width: 640px) { .footer-bottom { flex-direction: row; justify-content: space-between; text-align: left; } }

/* ---------- FAB ---------- */
.fab {
  position: fixed; bottom: 20px; right: 20px; z-index: 50;
  width: 56px; height: 56px; border-radius: 999px;
  background: var(--primary); color: #fff; font-size: 24px;
  box-shadow: 0 10px 25px rgba(2,132,199,.3);
  display: inline-flex; align-items: center; justify-content: center;
  transition: all .25s ease;
}
.fab:hover { transform: scale(1.05); }
.fab:active { transform: scale(.95); }
.fab.is-hidden { opacity: 0; transform: translateY(16px); pointer-events: none; }
.fab-ping {
  position: absolute; inset: 0; border-radius: 999px; background: rgba(2,132,199,.4);
  animation: fab-ping 2s cubic-bezier(0,0,.2,1) infinite; pointer-events: none;
}
@keyframes fab-ping {
  0% { transform: scale(1); opacity: .7; }
  75%, 100% { transform: scale(1.6); opacity: 0; }
}

/* ---------- Modal ---------- */
.modal-overlay {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(15,23,42,.6); backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center; padding: 16px;
  opacity: 0; pointer-events: none; transition: opacity .2s ease;
}
.modal-overlay.is-open { opacity: 1; pointer-events: auto; }
.modal {
  position: relative; background: #fff; color: var(--slate-900);
  border-radius: var(--radius-lg); padding: 24px;
  width: 100%; max-width: 448px; max-height: calc(100vh - 32px); overflow-y: auto;
  box-shadow: var(--shadow-lg);
  transform: translateY(8px); transition: transform .2s ease;
}
.modal-overlay.is-open .modal { transform: translateY(0); }
.modal-close {
  position: absolute; top: 12px; right: 12px; width: 36px; height: 36px;
  border-radius: var(--radius-sm); display: inline-flex; align-items: center; justify-content: center;
  color: var(--slate-400); font-size: 18px; transition: all .15s;
}
.modal-close:hover { background: var(--slate-100); color: var(--slate-700); }
.modal-title { display: flex; align-items: center; gap: 8px; font-size: 20px; font-weight: 700; color: var(--slate-900); }
.modal-title i { color: var(--primary); font-size: 20px; }
.modal-sub { margin-top: 8px; font-size: 14px; color: var(--slate-600); }
.modal-form { margin-top: 20px; display: grid; gap: 16px; }

/* ---------- Toast ---------- */
.toast {
  position: fixed; top: 16px; left: 50%; transform: translateX(-50%) translateY(-20px);
  z-index: 200; background: var(--slate-900); color: #fff;
  padding: 12px 20px; border-radius: var(--radius); font-size: 14px; font-weight: 500;
  box-shadow: var(--shadow-lg); max-width: calc(100vw - 32px);
  opacity: 0; pointer-events: none; transition: all .25s ease;
}
.toast.is-show { opacity: 1; transform: translateX(-50%) translateY(0); }
.toast-success { background: var(--emerald-500); }
.toast-error { background: #dc2626; }

/* ---------- Scrollbar ---------- */
.scroll-styled { scrollbar-width: thin; scrollbar-color: var(--sky-400) transparent; }
.scroll-styled::-webkit-scrollbar { height: 8px; width: 8px; }
.scroll-styled::-webkit-scrollbar-track { background: transparent; }
.scroll-styled::-webkit-scrollbar-thumb { background: var(--sky-400); border-radius: 999px; }

/* ---------- Gallery / photos slider ---------- */
.gallery {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 8px;
}
.gallery-viewport {
  overflow-x: auto;
  flex: 1;
  border-radius: var(--radius-lg);
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.gallery-viewport::-webkit-scrollbar { display: none; }
.gallery-track {
  display: flex;
  gap: 16px;
}
.gallery-slide {
  flex: 0 0 calc((100% - 32px) / 3); /* 3 видимых по умолчанию */
  min-width: 0;
  scroll-snap-align: start;
}
.gallery-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #cbd5e1;
  aspect-ratio: 4 / 3;
  box-shadow: var(--shadow);
}
.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
/* Подпись поверх */
.gallery-card-caption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 32px 14px 12px;
  background: linear-gradient(to top, rgba(2,6,23,.85), transparent);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
}
.gallery-card-caption small { display: block; font-weight: 400; opacity: .8; font-size: 12px; margin-top: 2px; }
/* Стрелки навигации */
.gallery-nav {
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: #fff;
  color: var(--sky-700);
  border: 1px solid var(--sky-100);
  box-shadow: var(--shadow);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all .2s;
  z-index: 2;
}
.gallery-nav:hover { background: var(--sky-50); border-color: var(--sky-300); color: var(--sky-600); }
.gallery-nav:disabled { opacity: .35; cursor: default; box-shadow: none; }
.gallery-nav i, .gallery-nav svg { width: 22px; height: 22px; }

/* Точки-индикаторы */
.gallery-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
}
.gallery-dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--sky-200);
  border: 0;
  padding: 0;
  cursor: pointer;
  transition: all .2s;
}
.gallery-dot.is-active { background: var(--sky-600); width: 24px; }
.gallery-counter { text-align: center; color: var(--slate-400); font-size: 13px; margin-top: 8px; }
.gallery-hint { text-align: center; color: var(--slate-400); font-size: 13px; margin-top: 6px; display: none; }
.gallery-hint i, .gallery-hint svg { width: 16px; height: 16px; vertical-align: -3px; margin-right: 4px; }

/* Планшет: 2 видимых слайда */
@media (max-width: 900px) {
  .gallery-slide { flex-basis: calc((100% - 16px) / 2); }
}
/* Мобильный: 1 видимый слайд + свайп + стрелки поверх */
@media (max-width: 600px) {
  .gallery { gap: 0; position: relative; }
  .gallery-slide { flex-basis: 100%; }
  .gallery-track { gap: 12px; }
  .gallery-hint { display: block; }
  /*
    Маленькая заметная стрелка + прозрачная зона нажатия вокруг.
    Сама кнопка большая (44px) с прозрачным фоном — это hit-area для пальца.
    Видимый кружок рисуем псевдоэлементом ::before поверх центра.
  */
  .gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    width: 56px;
    height: 56px;
    padding: 0;
    background: transparent;
    color: #fff;
    border: 0;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
  /* видимый полупрозрачный кружок со стрелкой */
  .gallery-nav::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 32px;
    height: 32px;
    border-radius: 999px;
    background: rgba(15, 23, 42, .55);
    box-shadow: 0 2px 8px rgba(0, 0, 0, .3);
    transition: background .2s, transform .2s;
  }
  .gallery-nav:hover::before { background: rgba(2, 132, 199, .85); }
  .gallery-nav:active::before { transform: translate(-50%, -50%) scale(.92); }
  .gallery-nav:disabled::before { background: rgba(15, 23, 42, .25); box-shadow: none; }
  /* иконка — поверх кружка */
  .gallery-nav i, .gallery-nav svg {
    position: relative;
    z-index: 1;
    width: 18px;
    height: 18px;
  }
  .gallery-nav-prev { left: 0; }
  .gallery-nav-next { right: 0; }
}

/* ---------- Accessibility ---------- */
:focus-visible { outline: 2px solid var(--sky-400); outline-offset: 2px; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* ---------- Intro prose block ---------- */
#intro .section-head { max-width: 1200px; }
.prose-block { max-width: 1200px; color: var(--slate-600); font-size: 16px; line-height: 1.55; }
.prose-block p + p { margin-top: 18px; }
.prose-block strong { color: var(--slate-900); font-weight: 600; }
@media (max-width: 639px) {
  #technology .prose-block {
    font-size: 16px; line-height: 1.55;
  }
}
#tseny #technology { padding-top: 0; }
.prose-quote {
  margin: 28px 0 0;
  padding: 16px 24px;
  border-left: 4px solid var(--sky-600);
  background: var(--sky-50);
  color: var(--slate-900);
  font-size: 18px;
  font-weight: 500;
  line-height: 1.7;
  border-radius: 0 var(--radius) var(--radius) 0;
}
@media (max-width: 639px) { .prose-quote { font-size: 16px; padding: 14px 8px; } }

/* ---------- Videos section ---------- */
.videos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

@media (max-width: 900px) { .videos-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .videos-grid { grid-template-columns: 1fr; gap: 16px; } }

.video-card {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  border: 0;
  padding: 0;
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  box-shadow: var(--shadow);
  transition: transform .2s, box-shadow .2s;
}
.video-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
/* Превью: заглушка 16:9 (позже换成 кадр из видео) */
.video-thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background:
    repeating-linear-gradient(135deg, #1e293b 0 18px, #243044 18px 36px);
}
.video-thumb img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
/* Кнопка play по центру */
.video-play {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 64px; height: 64px;
  border-radius: 999px;
  background: rgba(2, 132, 199, .9);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 20px rgba(0,0,0,.35);
  transition: transform .2s, background .2s;
}
.video-card:hover .video-play { background: var(--sky-600); transform: translate(-50%, -50%) scale(1.08); }
.video-play svg, .video-play i { width: 28px; height: 28px; margin-left: 3px; }
/* Подпись */
.video-card-body { padding: 14px 16px; background: #fff; text-align: left; flex: 1; }
.video-card-title { font-size: 15px; font-weight: 600; color: var(--slate-900); line-height: 1.35; }
.video-card-meta { font-size: 13px; color: var(--slate-500); margin-top: 4px; }
/* Бейдж Rutube */
.video-source-badge {
  position: absolute; top: 10px; left: 10px;
  font-size: 11px; font-weight: 600;
  color: #fff; background: rgba(15,23,42,.6);
  padding: 3px 8px; border-radius: 999px;
  backdrop-filter: blur(4px);
}

/* ---------- Video modal ---------- */
.video-overlay {
  z-index: 200;
}
.video-modal {
  position: relative;
  width: 100%;
  max-width: 960px;
  background: #000;
  border-radius: var(--radius-lg);
  overflow: hidden;
  transform: scale(.96);
  transition: transform .2s ease;
}
.video-overlay.is-open .video-modal { transform: scale(1); }
/* Кадр 16:9 */
.video-frame {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* 16:9 */
}
.video-frame iframe,
.video-frame > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.video-close {
  position: absolute;
  top: 10px; right: 10px;
  width: 44px; height: 44px;
  border-radius: 999px;
  background: rgba(15,23,42,.6);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  z-index: 5;
  backdrop-filter: blur(4px);
  transition: background .15s, transform .15s;
}
.video-close:hover { background: rgba(220,38,38,.9); transform: rotate(90deg); }
.video-close svg, .video-close i { width: 22px; height: 22px; }
@media (max-width: 600px) {
  .video-modal { max-width: 100%; border-radius: 0; }
  .video-overlay { padding: 0; }
}

/* ---------- Gallery lightbox ---------- */
.lb-overlay {
  position: fixed; inset: 0; z-index: 9999;
  background: rgba(0,0,0,.92);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden;
  transition: opacity .25s, visibility .25s;
}
.lb-overlay.is-open { opacity: 1; visibility: visible; }
.lb-close {
  position: absolute; top: 12px; right: 12px; z-index: 2;
  background: rgba(255,255,255,.12); border: none; border-radius: 50%;
  width: 44px; height: 44px; cursor: pointer;
  color: #fff; display: flex; align-items: center; justify-content: center;
}
.lb-close:hover { background: rgba(255,255,255,.25); }
.lb-close svg, .lb-close i { width: 22px; height: 22px; }
.lb-nav {
  position: absolute; top: 50%; z-index: 2;
  background: rgba(255,255,255,.12); border: none; border-radius: 50%;
  width: 48px; height: 48px; cursor: pointer;
  color: #fff; display: flex; align-items: center; justify-content: center;
  transform: translateY(-50%);
}
.lb-nav:hover { background: rgba(255,255,255,.25); }
.lb-nav svg, .lb-nav i { width: 24px; height: 24px; }
.lb-prev { left: 12px; }
.lb-next { right: 12px; }
.lb-img-wrap {
  display: flex; align-items: center; justify-content: center;
  max-width: 90vw; max-height: 85vh;
  padding: 20px;
}
.lb-img-wrap img {
  max-width: 100%; max-height: 85vh;
  object-fit: contain; border-radius: 8px;
  box-shadow: 0 8px 32px rgba(0,0,0,.5);
}
.lb-counter {
  position: absolute; bottom: 16px; left: 50%; transform: translateX(-50%);
  color: rgba(255,255,255,.7); font-size: 14px;
  background: rgba(0,0,0,.5); padding: 4px 14px; border-radius: 20px;
}
@media (max-width: 600px) {
  .lb-nav { width: 40px; height: 40px; }
  .lb-prev { left: 6px; }
  .lb-next { right: 6px; }
  .lb-img-wrap { padding: 12px; }
  .lb-counter { font-size: 12px; bottom: 10px; }
}


.price-main {
  background: #eaf6ff;
  font-weight: 700;
  border-left: 2px solid #078dcc;
  border-right: 2px solid #078dcc;
}

.prose-block p {
  margin-top: 12px;
}

.otstuph3 {
  margin-top: 18px;
  font-size: 26px; line-height: 1.15; font-weight: 500; letter-spacing: -.02em;
  color: var(--slate-900); text-wrap: balance;
}

.map-block {
  margin-top: 15px;
}

/* Honeypot - скрытое поле от ботов */
.hp-field { position: absolute; left: -9999px; top: -9999px; width: 1px; height: 1px; opacity: 0; overflow: hidden; }
.hp-field label, .hp-field input { width: 1px; height: 1px; font-size: 1px; }
.file-status { font-size: 12px; color: var(--slate-600); margin-top: 4px; line-height: 1.4; word-break: break-all; }
.file-status:empty { display: none; }
.file-clear { display: inline-block; margin-left: 6px; color: var(--sky-600); cursor: pointer; text-decoration: underline; font-size: 12px; }
.file-clear:hover { color: var(--sky-700); }