/* ============ ВлагаНет — premium glass landing ============ */
:root {
  --blue: #1E88E5;
  --blue-deep: #0B5FB0;
  --cyan: #38BDF8;
  --sky: #7DD3FC;
  --ink: #0B1220;
  --ink-2: #1A2236;
  --bg: #F4F7FB;
  --bg-2: #DCEBFA;
  --line-light: rgba(11, 18, 32, 0.08);
  --text-mute: #4B5872;
  --text-on-dark: #E5EDF7;
  --radius-card: 24px;
  --radius-lg: 32px;
  --radius-btn: 16px;
  --shadow-card: 0 8px 32px rgba(11, 95, 176, 0.10), inset 0 1px 0 rgba(255, 255, 255, 0.6);
  --shadow-lift: 0 20px 50px rgba(11, 95, 176, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.7);
  --shadow-dark-card: 0 12px 40px rgba(0,0,0,0.5), inset 0 1px 0 rgba(255,255,255,0.08);
  --max-w: 1280px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Manrope', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
a { color: inherit; text-decoration: none; }
input, textarea, select { font: inherit; color: inherit; }

/* ===== Background blobs ===== */
.bg-blobs { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.blob {
  position: absolute;
  filter: blur(120px);
  opacity: 0.42;
  border-radius: 50%;
}
.blob-1 { width: 520px; height: 520px; background: #BFDBFE; top: -120px; right: -120px; }
.blob-2 { width: 600px; height: 600px; background: #DBEAFE; top: 60vh; left: -180px; opacity: 0.35; }
.blob-3 { width: 460px; height: 460px; background: #BAE6FD; top: 140vh; right: -100px; opacity: 0.30; }

body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(900px 600px at 80% -10%, #DCEBFA 0%, transparent 60%),
    radial-gradient(800px 500px at 0% 30%, #E8F2FC 0%, transparent 70%),
    var(--bg);
}

/* ===== Glass primitives ===== */
.glass {
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: 0 8px 32px rgba(11, 95, 176, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.8);
}
.glass-card {
  background: rgba(255, 255, 255, 0.62);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
}
.glass-light {
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border: 1px solid rgba(255, 255, 255, 0.65);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.7);
}
.glass-dark {
  background: rgba(13, 18, 32, 0.55);
  backdrop-filter: blur(24px) saturate(140%);
  -webkit-backdrop-filter: blur(24px) saturate(140%);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: var(--radius-card);
  box-shadow: 0 12px 40px rgba(0,0,0,0.4), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 12px;
  z-index: 100;
  padding: 0 20px;
  transition: top 0.3s ease;
}
.header-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  height: 72px;
  border-radius: 999px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  padding: 0 12px 0 24px;
  gap: 24px;
  transition: height 0.3s ease, padding 0.3s ease;
}
/* Сжатие шапки при скролле — два уровня для плавности */
.site-header.scrolled .header-inner {
  height: 56px;
  padding: 0 8px 0 18px;
  gap: 18px;
}
.site-header.scrolled .logo-text { font-size: 19px; }
.site-header.scrolled .logo-tag { font-size: 10px; letter-spacing: 0.06em; }
.site-header.scrolled .logo-drop svg { width: 18px; height: 18px; }
.site-header.scrolled .nav-desk { gap: 18px; }
.site-header.scrolled .nav-desk a { font-size: 13.5px; }
.site-header.scrolled .phone-link { font-size: 14px; }
.site-header.scrolled .btn-sm { padding: 8px 16px; font-size: 13px; }

.site-header.scrolled-deep .header-inner {
  height: 48px;
  padding: 0 6px 0 14px;
  gap: 14px;
}
.site-header.scrolled-deep .logo-text { font-size: 17px; }
.site-header.scrolled-deep .logo-tag { display: none; }
.site-header.scrolled-deep .logo-drop svg { width: 16px; height: 16px; }
.site-header.scrolled-deep .nav-desk { gap: 14px; }
.site-header.scrolled-deep .nav-desk a { font-size: 13px; }
.site-header.scrolled-deep .phone-link { font-size: 13.5px; }
.site-header.scrolled-deep .btn-sm { padding: 7px 14px; font-size: 12.5px; }

.logo-text, .logo-tag, .logo-drop svg, .nav-desk, .nav-desk a,
.phone-link, .btn-sm {
  transition: font-size .25s ease, padding .25s ease, gap .25s ease, width .25s ease, height .25s ease, letter-spacing .25s ease;
}

.logo { display: flex; flex-direction: column; line-height: 1; gap: 3px; }
.logo-text {
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -0.02em;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
}
.logo-drop {
  display: inline-flex;
  align-items: center;
  margin: 0 1px;
  transform: translateY(2px);
}
.logo-tag {
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-mute);
}

.nav-desk { display: flex; gap: 28px; justify-content: center; }
.nav-desk a {
  font-size: 15px; font-weight: 500;
  color: var(--ink);
  opacity: 0.78;
  transition: opacity 0.2s, color 0.2s;
}
.nav-desk a:hover { opacity: 1; color: var(--blue); }

.header-right { display: flex; align-items: center; gap: 14px; }
.phone-link { font-weight: 700; color: var(--ink); white-space: nowrap; font-size: 15px; }
.phone-link:hover { color: var(--blue); }

.hamburger {
  display: none;
  width: 42px; height: 42px;
  border-radius: 50%;
  background: rgba(255,255,255,0.6);
  border: 1px solid rgba(255,255,255,0.8);
  position: relative;
}
.hamburger span {
  position: absolute;
  left: 11px; right: 11px; height: 2px;
  background: var(--ink); border-radius: 2px;
  transition: transform 0.3s, opacity 0.2s, top 0.3s;
}
.hamburger span:nth-child(1) { top: 14px; }
.hamburger span:nth-child(2) { top: 20px; }
.hamburger span:nth-child(3) { top: 26px; }
.hamburger.open span:nth-child(1) { top: 20px; transform: rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { top: 20px; transform: rotate(-45deg); }

.mobile-nav {
  position: fixed; inset: 0;
  background: rgba(244,247,251,0.92);
  backdrop-filter: blur(28px) saturate(140%);
  -webkit-backdrop-filter: blur(28px) saturate(140%);
  z-index: 90;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none;
  transition: opacity 0.3s;
}
.mobile-nav.open { opacity: 1; pointer-events: auto; }
.mobile-nav-inner { display: flex; flex-direction: column; gap: 22px; text-align: center; }
.mobile-nav a { font-size: 28px; font-weight: 700; color: var(--ink); }
.mobile-nav .mobile-phone { color: var(--blue); }

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-weight: 600;
  padding: 14px 22px;
  border-radius: var(--radius-btn);
  border: 1px solid transparent;
  white-space: nowrap;
  transition: transform 0.2s ease, box-shadow 0.25s ease, background 0.2s ease;
  position: relative;
  overflow: hidden;
}
.btn-pill { border-radius: 999px; }
.btn-sm { padding: 9px 18px; font-size: 14px; }
.btn-lg { padding: 18px 28px; font-size: 17px; }
.btn-block { width: 100%; }

.btn-primary {
  background: linear-gradient(180deg, #38BDF8 0%, #1E88E5 60%, #0B5FB0 100%);
  color: #fff;
  box-shadow:
    0 8px 24px rgba(30, 136, 229, 0.4),
    inset 0 1px 0 rgba(255,255,255,0.4),
    inset 0 -1px 0 rgba(0,0,0,0.1);
}
.btn-primary::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.25), transparent 50%);
  opacity: 0;
  transition: opacity 0.25s;
}
.btn-primary:hover { transform: translateY(-1px) scale(1.02); box-shadow: 0 12px 32px rgba(30, 136, 229, 0.55), inset 0 1px 0 rgba(255,255,255,0.5); }
.btn-primary:hover::after { opacity: 1; }

.btn-glass {
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border: 1px solid rgba(255, 255, 255, 0.85);
  color: var(--ink);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.8);
}
.btn-glass:hover { transform: translateY(-1px) scale(1.02); background: rgba(255,255,255,0.75); }

/* ===== Hero ===== */
.hero {
  max-width: var(--max-w);
  margin: 30px auto 60px;
  padding: 60px 32px 40px;
  min-height: 80vh;
  display: flex; align-items: center;
}
.hero-grid {
  width: 100%;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}
.caption {
  margin: 0 0 18px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
}
.hero-text h1 {
  font-size: clamp(40px, 5vw, 60px);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.1;
  margin: 0 0 32px;
}
.grad-text {
  white-space: nowrap;
  background: linear-gradient(135deg, #38BDF8 0%, #1E88E5 50%, #0B5FB0 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-sub {
  font-size: 19px;
  color: var(--text-mute);
  margin: 0 0 36px;
  max-width: 520px;
  text-wrap: pretty;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 40px; }

.facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
.fact {
  display: flex; align-items: center; gap: 10px;
  padding: 14px 16px;
  border-radius: var(--radius-btn);
  font-size: 13.5px;
  font-weight: 600;
}
.fact-ic {
  display: inline-flex; align-items: center; justify-content: center;
  width: 32px; height: 32px;
  border-radius: 50%;
  color: var(--blue);
  background: rgba(30, 136, 229, 0.10);
}

/* Hero illustration */
.hero-art {
  display: flex; align-items: center; justify-content: center;
  position: relative;
  min-height: 460px;
}
.drop-stage {
  position: relative;
  width: 100%;
  max-width: 380px;
}
.drop-main {
  animation: breathe 4s ease-in-out infinite;
  filter: drop-shadow(0 30px 60px rgba(30, 136, 229, 0.35));
}
@keyframes breathe {
  0%, 100% { transform: scale(1) rotate(-1deg); }
  50% { transform: scale(1.04) rotate(1deg); }
}
.drop-mini {
  position: absolute;
  filter: drop-shadow(0 10px 20px rgba(30, 136, 229, 0.3));
}
.drop-mini-1 { top: 12%; right: -4%; animation: float 5s ease-in-out infinite; }
.drop-mini-2 { bottom: 8%; left: -2%; animation: float 6s ease-in-out infinite reverse; }
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}
.ripple {
  position: absolute;
  left: 50%; bottom: -30px;
  transform: translateX(-50%);
  border: 2px solid rgba(30, 136, 229, 0.4);
  border-radius: 50%;
  animation: ripple 3s ease-out infinite;
}
.ripple-1 { width: 240px; height: 60px; }
.ripple-2 { width: 240px; height: 60px; animation-delay: 1s; }
.ripple-3 { width: 240px; height: 60px; animation-delay: 2s; }
@keyframes ripple {
  0% { transform: translateX(-50%) scale(0.4); opacity: 0.8; }
  100% { transform: translateX(-50%) scale(1.4); opacity: 0; }
}

/* ===== Sections ===== */
.section {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 80px 32px;
}
.section-head { text-align: center; margin-bottom: 48px; }
.section-head h2 {
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0;
  line-height: 1.1;
}
.section-sub {
  color: var(--text-mute);
  margin: 12px 0 0;
}

/* ===== Services ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
}
@media (min-width: 901px) {
  .services-grid {
    grid-template-areas:
      "a a b b c c"
      "d d d e e e";
  }
  .services-grid .service-card:nth-child(1) { grid-area: a; }
  .services-grid .service-card:nth-child(2) { grid-area: b; }
  .services-grid .service-card:nth-child(3) { grid-area: c; }
  .services-grid .service-card:nth-child(4) { grid-area: d; }
  .services-grid .service-card:nth-child(5) { grid-area: e; }
}
.service-card {
  padding: 28px;
  display: flex; flex-direction: column;
  gap: 14px;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  position: relative;
  min-height: 240px;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lift);
  border-color: rgba(56, 189, 248, 0.5);
}
.svc-ic {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.20), rgba(30, 136, 229, 0.15));
  border: 1px solid rgba(255,255,255,0.7);
  display: flex; align-items: center; justify-content: center;
  color: var(--blue);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.7);
}
.service-card h3 {
  font-size: 20px; font-weight: 700;
  letter-spacing: -0.01em;
  margin: 0;
  text-wrap: balance;
}
.service-card p {
  margin: 0;
  color: var(--text-mute);
  font-size: 15px;
  flex: 1;
}
.svc-foot {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: 8px;
  padding-top: 14px;
  border-top: 1px solid rgba(11, 18, 32, 0.06);
}
.svc-price { color: var(--text-mute); font-size: 13px; }
.svc-price strong {
  color: var(--ink);
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-left: 4px;
}
.svc-cta {
  display: inline-flex; align-items: center; gap: 6px;
  font-weight: 600;
  font-size: 14px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(30, 136, 229, 0.08);
  color: var(--blue);
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity 0.25s, transform 0.25s, background 0.2s;
}
.service-card:hover .svc-cta,
.service-card:focus-within .svc-cta {
  opacity: 1; transform: translateX(0);
}
.svc-cta:hover { background: rgba(30, 136, 229, 0.16); }

/* ===== Process ===== */
.process {
  list-style: none;
  margin: 0; padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}
.process::before {
  content: '';
  position: absolute;
  top: 44px; left: 12.5%; right: 12.5%;
  border-top: 2px dashed rgba(30, 136, 229, 0.30);
  z-index: 0;
}
.step { text-align: center; position: relative; z-index: 1; }
.step-num {
  width: 88px; height: 88px;
  margin: 0 auto 18px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  position: relative;
}
.step-num span {
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, #38BDF8, #1E88E5 60%, #0B5FB0);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.step h3 { font-size: 20px; font-weight: 700; margin: 0 0 6px; }
.step p { margin: 0; color: var(--text-mute); font-size: 15px; }

/* ===== Calculator ===== */
.calc-wrap {
  background: linear-gradient(135deg, #E0F0FE 0%, #F4F7FB 60%, #E5F3FF 100%);
  border-radius: var(--radius-lg);
  padding: 48px;
  border: 1px solid rgba(255,255,255,0.8);
  box-shadow: 0 20px 60px rgba(11, 95, 176, 0.10);
}
.calc {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
}
.calc-controls { display: flex; flex-direction: column; gap: 28px; }
.calc-row { display: flex; flex-direction: column; gap: 10px; }
.calc-label {
  display: flex; justify-content: space-between; align-items: baseline;
  font-size: 13px; font-weight: 600;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--text-mute);
}
.calc-label strong {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--blue);
  text-transform: none;
}

.range {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 8px;
  background: linear-gradient(to right, var(--blue) var(--p, 16%), rgba(30, 136, 229, 0.18) var(--p, 16%));
  border-radius: 999px;
  outline: none;
}
.range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--blue);
  box-shadow: 0 4px 12px rgba(30, 136, 229, 0.4);
  cursor: pointer;
  transition: transform 0.15s;
}
.range::-webkit-slider-thumb:hover { transform: scale(1.15); }
.range::-moz-range-thumb {
  width: 26px; height: 26px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--blue);
  box-shadow: 0 4px 12px rgba(30, 136, 229, 0.4);
  cursor: pointer;
}
.range-ticks { display: flex; justify-content: space-between; font-size: 12px; color: var(--text-mute); }

.select-wrap { position: relative; }
.select-wrap svg {
  position: absolute;
  right: 18px; top: 50%; transform: translateY(-50%);
  pointer-events: none;
  color: var(--blue);
}
.select {
  width: 100%;
  padding: 14px 48px 14px 18px;
  border-radius: var(--radius-btn);
  background: rgba(255,255,255,0.7);
  border: 1px solid rgba(255,255,255,0.9);
  appearance: none;
  -webkit-appearance: none;
  font-weight: 600;
  font-size: 15px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.8), 0 4px 12px rgba(11, 95, 176, 0.05);
}
.select:focus { outline: 2px solid var(--blue); outline-offset: 2px; }

.pills { display: flex; flex-wrap: wrap; gap: 10px; }
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(255,255,255,0.6);
  border: 1px solid rgba(255,255,255,0.85);
  cursor: pointer;
  font-size: 14px; font-weight: 600;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
  user-select: none;
}
.pill input { display: none; }
.pill:hover { background: rgba(255,255,255,0.85); }
.pill:has(input:checked) {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
  box-shadow: 0 6px 16px rgba(30,136,229,0.35);
}

.calc-result {
  text-align: center;
  padding: 36px 28px;
  background: rgba(11, 18, 32, 0.96);
  border-radius: var(--radius-lg);
  color: #fff;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 20px 50px rgba(11, 18, 32, 0.4);
}
.calc-result::before {
  content: '';
  position: absolute;
  top: -50%; left: -20%;
  width: 140%; height: 140%;
  background: radial-gradient(closest-side, rgba(56, 189, 248, 0.35), transparent 70%);
  pointer-events: none;
}
.calc-price {
  font-size: 64px; font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  margin: 12px 0 8px;
  background: linear-gradient(135deg, #fff 0%, #7DD3FC 60%, #38BDF8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  position: relative;
}
.calc-price .cur { font-size: 36px; margin-left: 6px; }
.calc-range { color: rgba(255,255,255,0.7); font-size: 14px; margin: 0 0 22px; position: relative; }
.calc-note { color: rgba(255,255,255,0.5); font-size: 12px; margin: 14px 0 0; position: relative; }
.calc-result .btn { position: relative; }

/* ===== Portfolio gallery ===== */
.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin: 0 0 28px;
}
.gf-chip {
  font: inherit;
  font-size: 13px; font-weight: 600;
  padding: 9px 16px;
  border-radius: 999px;
  border: 1px solid rgba(11, 18, 32, 0.10);
  background: rgba(255, 255, 255, 0.70);
  color: var(--ink);
  cursor: pointer;
  transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease, transform 0.12s ease;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.gf-chip:hover { background: #fff; border-color: rgba(30, 136, 229, 0.25); }
.gf-chip:active { transform: scale(0.97); }
.gf-chip.is-active {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
@media (max-width: 1100px) { .gallery-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 820px)  { .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; } }
@media (max-width: 480px)  { .gallery-grid { grid-template-columns: 1fr; } }

.gallery-card {
  padding: 8px;
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.gallery-card.is-hidden {
  display: none;
}
.gallery-img {
  position: relative;
  border-radius: var(--radius-btn);
  overflow: hidden;
  aspect-ratio: 3 / 4;
  background: linear-gradient(135deg, #E0EAF5, #C9DCEF);
}
.gallery-img img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s cubic-bezier(.2,.7,.2,1);
}
.gallery-card:hover .gallery-img img { transform: scale(1.04); }
.gallery-img::after {
  content: '';
  position: absolute; inset: auto 0 0 0; height: 40%;
  background: linear-gradient(to top, rgba(11,18,32,0.45), transparent);
  pointer-events: none;
}

.gallery-meta {
  margin-top: 10px;
  padding: 2px 6px 4px;
  text-align: center;
  font-size: 13px;
  font-weight: 400;
  color: var(--ink);
}
.gallery-meta strong {
  font-weight: 700;
  margin-right: 4px;
}

/* ===== Reviews ===== */
.reviews-scroll {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 12px 4px 24px;
  scrollbar-width: none;
  -ms-overflow-style: none;
  margin: 0 -32px;
  padding-left: 32px; padding-right: 32px;
}
.reviews-scroll::-webkit-scrollbar { display: none; }
.review {
  flex: 0 0 320px;
  padding: 22px;
  scroll-snap-align: start;
  display: flex; flex-direction: column;
  gap: 12px;
}
.review header { display: flex; gap: 12px; align-items: center; }
.avatar {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--c1), var(--c2));
  color: #fff;
  font-weight: 800;
  font-size: 16px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1), inset 0 1px 0 rgba(255,255,255,0.4);
}
.review header strong { display: block; font-size: 15px; font-weight: 700; }
.rev-date { font-size: 12px; color: var(--text-mute); }
.stars { display: flex; gap: 2px; color: var(--blue); }
.review p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--ink);
  flex: 1;
}
/* Avito CTA — единый блок-ссылка после карусели отзывов */
.avito-cta {
  margin-top: 28px;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  gap: 18px;
  text-decoration: none;
  color: inherit;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.avito-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 40px -22px rgba(0, 170, 255, 0.55);
  border-color: rgba(0, 170, 255, 0.35);
}
.avito-mark {
  flex: 0 0 auto;
  width: 44px; height: 44px;
  border-radius: 12px;
  display: grid; place-items: center;
  font-weight: 800; font-size: 22px;
  color: #fff;
  background: linear-gradient(135deg, #00AAFF, #0077C8);
  box-shadow: 0 6px 18px -6px rgba(0, 170, 255, 0.55);
  letter-spacing: -0.02em;
}
.avito-text { display: flex; flex-direction: column; gap: 2px; flex: 1; min-width: 0; }
.avito-text strong { font-weight: 700; font-size: 16px; color: var(--ink); }
.avito-text span { font-size: 13.5px; color: var(--text-mute); }
.avito-arrow {
  flex: 0 0 auto;
  width: 36px; height: 36px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(0, 170, 255, 0.1);
  color: #00AAFF;
  transition: transform .25s ease, background .25s ease;
}
.avito-cta:hover .avito-arrow { transform: translate(2px, -2px); background: rgba(0, 170, 255, 0.18); }
@media (max-width: 520px) {
  .avito-cta { padding: 16px 18px; gap: 14px; }
  .avito-text strong { font-size: 15px; }
  .avito-text span { font-size: 12.5px; }
}

/* ===== Stats (dark) ===== */
.stats-section { padding: 0 32px; max-width: 1440px; }
.stats-bar {
  background: var(--ink);
  border-radius: var(--radius-lg);
  padding: 56px 48px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.06);
  box-shadow: 0 20px 60px rgba(11, 18, 32, 0.4);
  max-width: var(--max-w);
  margin: 40px auto;
}
.stats-bar::before {
  content: '';
  position: absolute;
  top: -50%; left: -10%;
  width: 60%; height: 200%;
  background: radial-gradient(closest-side, rgba(56, 189, 248, 0.35), transparent 70%);
  pointer-events: none;
}
.stats-bar::after {
  content: '';
  position: absolute;
  top: -30%; right: -10%;
  width: 50%; height: 160%;
  background: radial-gradient(closest-side, rgba(30, 136, 229, 0.25), transparent 70%);
  pointer-events: none;
}
.stat { text-align: center; position: relative; }
.stat-num {
  display: block;
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 10px;
  background: linear-gradient(135deg, #fff 0%, #7DD3FC 50%, #38BDF8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stat span { color: var(--text-on-dark); font-size: 14px; font-weight: 500; }

/* ===== FAQ ===== */
.faq-list { display: flex; flex-direction: column; gap: 12px; max-width: 880px; margin: 0 auto; }
.faq-item {
  padding: 0;
  overflow: hidden;
  transition: box-shadow 0.3s, border-color 0.3s;
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 26px;
  font-weight: 600;
  font-size: 17px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-ic {
  position: relative;
  width: 22px; height: 22px;
  flex-shrink: 0;
}
.faq-ic::before, .faq-ic::after {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  width: 14px; height: 2px;
  background: var(--blue);
  border-radius: 2px;
  transform: translate(-50%, -50%);
  transition: transform 0.3s;
}
.faq-ic::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-item[open] .faq-ic::after { transform: translate(-50%, -50%) rotate(0); }
.faq-item[open] { box-shadow: var(--shadow-lift); border-color: rgba(56, 189, 248, 0.4); }

.faq-body {
  padding: 0 26px 22px;
  color: var(--text-mute);
  font-size: 15.5px;
  text-wrap: pretty;
}

/* ===== Lead form (dark) ===== */
.lead-section {
  background: var(--ink);
  margin-top: 60px;
  padding: 100px 32px;
  position: relative;
  overflow: hidden;
}
.lead-glow {
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 90%; height: 600px;
  background: radial-gradient(closest-side, rgba(30, 136, 229, 0.35), transparent 70%);
  pointer-events: none;
}
.lead-grid {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 60px;
  position: relative;
  align-items: center;
}
.lead-side h2 {
  font-size: clamp(32px, 4vw, 44px);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 16px;
  line-height: 1.1;
}
.contact-channels { display: flex; flex-direction: column; gap: 12px; margin-top: 28px; }
.ch {
  display: grid;
  grid-template-columns: 56px 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  color: #fff;
  text-align: left;
  width: 100%;
  cursor: pointer;
  transition: transform 0.2s, border-color 0.2s;
}
.ch:hover { transform: translateY(-2px); border-color: rgba(56, 189, 248, 0.45); }
.ch-ic {
  width: 56px; height: 56px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.22), rgba(30, 136, 229, 0.10));
  color: var(--cyan);
  border: 1px solid rgba(255,255,255,0.10);
}
.ch strong { font-weight: 700; font-size: 15px; }
.ch span:last-child { color: rgba(255,255,255,0.55); font-size: 13px; grid-column: 2; }
.ch strong { grid-column: 2; }

.lead-form {
  padding: 40px;
}
.field { margin-bottom: 18px; position: relative; }
.field label {
  display: block;
  font-size: 13px; font-weight: 600;
  letter-spacing: 0.04em;
  color: rgba(255,255,255,0.7);
  margin-bottom: 8px;
}
.field label .opt { font-weight: 400; opacity: 0.7; }
.field input, .field textarea {
  width: 100%;
  padding: 16px 18px;
  border-radius: var(--radius-btn);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 16px;
  transition: border-color 0.2s, background 0.2s;
}
.field input::placeholder, .field textarea::placeholder { color: rgba(255,255,255,0.35); }
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--cyan);
  background: rgba(255, 255, 255, 0.08);
}
.field textarea { resize: vertical; min-height: 88px; font-family: inherit; }
.field.invalid input, .field.invalid textarea { border-color: #F87171; }
.field-err {
  display: block;
  min-height: 14px;
  font-size: 12px; font-weight: 600;
  color: #F87171;
  margin-top: 6px;
}
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.lead-policy {
  text-align: center;
  font-size: 12px;
  color: rgba(255,255,255,0.5);
  margin: 14px 0 0;
}
.lead-policy a { color: var(--cyan); }
.lead-success {
  margin-top: 18px;
  padding: 14px 18px;
  border-radius: var(--radius-btn);
  background: rgba(74, 222, 128, 0.12);
  border: 1px solid rgba(74, 222, 128, 0.3);
  color: #86EFAC;
  display: flex; align-items: center; gap: 10px;
  font-weight: 600;
}
.lead-error {
  margin-top: 18px;
  padding: 14px 18px;
  border-radius: var(--radius-btn);
  background: rgba(248, 113, 113, 0.10);
  border: 1px solid rgba(248, 113, 113, 0.32);
  color: #FCA5A5;
  display: flex; align-items: flex-start; gap: 10px;
  font-weight: 500;
  line-height: 1.4;
}
.lead-error svg { flex-shrink: 0; margin-top: 1px; }
.lead-error strong { color: #FECACA; font-weight: 700; display: block; margin-bottom: 2px; }

/* ===== Footer ===== */
.site-footer {
  background: var(--ink);
  color: var(--text-on-dark);
  padding: 70px 32px 30px;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
}
.foot-col h4 {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  margin: 0 0 18px;
}
.foot-col a, .foot-col p {
  display: block;
  margin: 0 0 10px;
  font-size: 14px;
  color: rgba(255,255,255,0.65);
  transition: color 0.2s;
}
.foot-col a:hover { color: var(--cyan); }
.logo-light .logo-text { color: #fff; }
.logo-light .logo-tag { color: rgba(255,255,255,0.5); }
.foot-slogan { color: #fff !important; font-weight: 700; font-size: 16px !important; margin-top: 16px !important; }
.foot-desc { color: rgba(255,255,255,0.55) !important; }
.foot-socials { display: flex; gap: 10px; }
.foot-socials a {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: center;
  margin: 0;
  color: #fff;
}
.foot-socials a:hover { background: var(--blue); border-color: var(--blue); color: #fff; }
.foot-bottom {
  max-width: var(--max-w);
  margin: 40px auto 0;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex; gap: 12px;
  font-size: 13px;
  color: rgba(255,255,255,0.5);
}

/* ===== Sticky widgets ===== */
.sticky-call {
  display: none;
  position: fixed;
  right: 18px; bottom: 18px;
  width: 60px; height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, #38BDF8 0%, #1E88E5 60%, #0B5FB0 100%);
  color: #fff;
  align-items: center; justify-content: center;
  z-index: 80;
  box-shadow: 0 12px 30px rgba(30, 136, 229, 0.5);
  animation: pulse 2.5s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 12px 30px rgba(30, 136, 229, 0.5), 0 0 0 0 rgba(30, 136, 229, 0.5); }
  50% { box-shadow: 0 12px 30px rgba(30, 136, 229, 0.5), 0 0 0 16px rgba(30, 136, 229, 0); }
}
.tg-bubble {
  position: fixed;
  right: 24px; bottom: 24px;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 18px 12px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  border: 1px solid rgba(255,255,255,0.9);
  box-shadow: 0 12px 30px rgba(30, 136, 229, 0.18), inset 0 1px 0 rgba(255,255,255,0.8);
  z-index: 80;
  font-weight: 600;
  color: var(--blue);
  font-size: 14px;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}
.tg-bubble:hover { transform: translateY(-2px); box-shadow: 0 16px 36px rgba(30, 136, 229, 0.25); }

/* ===== Cookie bar ===== */
.cookie-bar {
  position: fixed;
  left: 16px; right: 16px; bottom: 16px;
  z-index: 90;
  background: rgba(13, 18, 32, 0.92);
  backdrop-filter: blur(20px);
  color: #fff;
  padding: 12px 18px;
  border-radius: 16px;
  display: flex; gap: 16px; align-items: center;
  font-size: 13px;
  max-width: 640px;
  margin: 0 auto;
  border: 1px solid rgba(255,255,255,0.08);
  transform: translateY(20px);
  opacity: 0;
  transition: opacity 0.4s, transform 0.4s;
}
.cookie-bar.show { transform: translateY(0); opacity: 1; }
.cookie-bar.hide { transform: translateY(80px); opacity: 0; pointer-events: none; }
.cookie-bar button {
  margin-left: auto;
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--blue);
  color: #fff;
  font-weight: 600;
  font-size: 12px;
  white-space: nowrap;
}

/* ===== Consent checkbox ===== */
.consent {
  display: flex; align-items: flex-start; gap: 10px;
  margin: 18px 0 22px;
  font-size: 12.5px;
  color: rgba(255,255,255,0.65);
  line-height: 1.5;
  cursor: pointer;
}
.consent input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 18px; height: 18px;
  flex-shrink: 0;
  border-radius: 5px;
  border: 1px solid rgba(255,255,255,0.25);
  background: rgba(255,255,255,0.05);
  margin-top: 1px;
  display: inline-block;
  position: relative;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}
.consent input[type="checkbox"]:checked {
  background: var(--blue);
  border-color: var(--blue);
}
.consent input[type="checkbox"]:checked::after {
  content: '';
  position: absolute;
  left: 5px; top: 1px;
  width: 5px; height: 10px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.consent a { color: var(--cyan); text-decoration: underline; text-underline-offset: 2px; }

/* ===== Modal ===== */
.modal {
  position: fixed; inset: 0;
  z-index: 200;
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.modal.open { opacity: 1; pointer-events: auto; }
.modal-backdrop {
  position: absolute; inset: 0;
  background: rgba(11, 18, 32, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.modal-card {
  position: relative;
  width: 100%;
  max-width: 460px;
  padding: 36px 32px 32px;
  border-radius: var(--radius-lg);
  transform: scale(0.96);
  transition: transform 0.3s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.modal.open .modal-card { transform: scale(1); }
.modal-card h3 {
  font-size: 26px; font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 8px;
  color: #fff;
}
.modal-sub { color: rgba(255,255,255,0.65); margin: 0 0 24px; font-size: 14.5px; }
.modal-close {
  position: absolute;
  top: 14px; right: 14px;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.7);
  display: inline-flex; align-items: center; justify-content: center;
  transition: background 0.2s, color 0.2s;
}
.modal-close:hover { background: rgba(255,255,255,0.12); color: #fff; }

/* ===== Reveal animations ===== */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.7s cubic-bezier(0.2, 0.7, 0.2, 1),
              transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
  transition-delay: calc(var(--i, 0) * 60ms);
}
.reveal.in { opacity: 1; transform: none; }

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

/* ===== Responsive ===== */
@media (max-width: 1080px) {
  .lead-grid { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 900px) {
  .nav-desk { display: none; }
  .hamburger { display: inline-flex; }
  .header-inner { grid-template-columns: 1fr auto; height: 64px; padding: 0 8px 0 16px; }
  .phone-link { display: none; }
  .header-right .btn-primary { display: none; }
  .hero-grid { grid-template-columns: 1fr; gap: 30px; }
  .hero-art { min-height: 320px; order: -1; }
  .drop-stage { max-width: 220px; }
  .hero-text h1 { font-size: 44px; }
  .hero { padding: 40px 20px 30px; min-height: auto; margin-top: 20px; }
  .facts { grid-template-columns: 1fr 1fr; }
  .services-grid { grid-template-columns: 1fr 1fr; grid-template-areas: none; }
  .services-grid .service-card { grid-area: auto !important; }
  .process { grid-template-columns: 1fr; gap: 14px; }
  .process::before { display: none; }
  .step { display: grid; grid-template-columns: 88px 1fr; align-items: center; text-align: left; gap: 16px; }
  .step-num { margin: 0; }
  .calc { grid-template-columns: 1fr; }
  .calc-wrap { padding: 24px; }
  .stats-bar { grid-template-columns: 1fr 1fr; gap: 32px; padding: 36px 24px; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .lead-form { padding: 28px 22px; }
  .section { padding: 56px 20px; }
  .sticky-call { display: inline-flex; }
  .tg-bubble { display: none; }
}
@media (max-width: 920px) {
  .services-grid { grid-template-columns: 1fr; grid-template-areas: none; }
  .facts { grid-template-columns: 1fr; }
  .stats-bar { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 30px; }
  .hero-text h1 { font-size: 38px; }
  .calc-price { font-size: 48px; }
}
