/* =====================================================
   Установка кондиционеров — style.css
   Design: Arctic Pro — LIGHT professional theme
   Fonts: Syne (headings) + Plus Jakarta Sans (body)
   ===================================================== */

:root {
  --primary:        #0EA5E9;
  --primary-dark:   #0284C7;
  --primary-dim:    rgba(14, 165, 233, 0.10);
  --primary-glow:   rgba(14, 165, 233, 0.18);
  --accent:         #F97316;
  --accent-dark:    #EA580C;
  --accent-glow:    rgba(249, 115, 22, 0.2);

  --bg:             #F8FAFC;
  --bg-alt:         #F0F9FF;
  --bg-card:        #FFFFFF;
  --bg-card-hover:  #F8FAFC;

  --text:           #475569;
  --text-bright:    #1E293B;
  --heading:        #0F172A;
  --muted:          #94A3B8;
  --white:          #ffffff;

  --border:         rgba(0, 0, 0, 0.09);
  --border-glow:    rgba(14, 165, 233, 0.40);

  --success:        #10B981;
  --danger:         #EF4444;

  --radius:         14px;
  --radius-lg:      20px;
  --radius-xl:      28px;

  --shadow-sm:      0 2px 8px  rgba(0, 0, 0, 0.06);
  --shadow:         0 8px 32px rgba(0, 0, 0, 0.10);
  --shadow-lg:      0 24px 64px rgba(0, 0, 0, 0.13);
  --shadow-cyan:    0 8px 32px rgba(14, 165, 233, 0.15);
  --shadow-accent:  0 8px 32px rgba(249, 115, 22, 0.28);

  --container:      1200px;
  --transition:     240ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-pop: 320ms cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* =========== Reset =========== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  width: 100%;
  max-width: 100vw;
}

img, svg { max-width: 100%; height: auto; display: block; }

a { color: var(--primary-dark); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--primary); }

h1, h2, h3, h4 {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  line-height: 1.1;
  color: var(--heading);
  letter-spacing: -0.025em;
}
h1 { font-size: clamp(36px, 5.5vw, 60px); }
h2 { font-size: clamp(28px, 3.5vw, 44px); margin-bottom: 14px; }
h3 { font-size: clamp(17px, 2vw, 20px); }
p  { color: var(--text); }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

section { padding: 96px 0; position: relative; }

/* -------- Section label -------- */
.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary-dim);
  border: 1px solid rgba(14, 165, 233, 0.30);
  color: var(--primary-dark);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 100px;
  margin-bottom: 18px;
}
.section-eyebrow::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--primary);
  animation: eye-pulse 2.2s ease-in-out infinite;
  flex-shrink: 0;
}
@keyframes eye-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.4; transform: scale(0.65); }
}

.section-title  { text-align: center; margin-bottom: 12px; }
.section-subtitle {
  text-align: center;
  color: var(--text);
  font-size: 17px;
  line-height: 1.65;
  margin-bottom: 60px;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}
.section-header { text-align: center; }

/* -------- Wave dividers -------- */
.wave-top, .wave-bottom {
  position: absolute;
  left: 0; right: 0;
  overflow: hidden;
  line-height: 0;
  pointer-events: none;
}
.wave-top    { top: -1px; }
.wave-bottom { bottom: -1px; }
.wave-top svg, .wave-bottom svg { display: block; width: 100%; }

/* =========== Scroll Reveal =========== */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

.reveal-child {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal-child.is-visible { opacity: 1; transform: translateY(0); }

/* =========== Buttons =========== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-family: 'Plus Jakarta Sans', inherit;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}
.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0);
  transition: background 200ms;
}
.btn:hover::after { background: rgba(255,255,255,0.07); }
.btn:active { transform: scale(0.985); }

.btn-primary {
  background: linear-gradient(135deg, #F97316 0%, #EA580C 100%);
  color: #fff;
  box-shadow: var(--shadow-accent);
}
.btn-primary:hover {
  color: #fff;
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 14px 36px rgba(249, 115, 22, 0.42);
}

/* btn-ghost is used in hero (dark background) — keep dark-bg styling */
.btn-ghost {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.20);
  color: #fff;
  border-color: rgba(255,255,255,0.36);
}

.btn-outline {
  background: transparent;
  color: var(--primary-dark);
  border: 1.5px solid var(--primary);
}
.btn-outline:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

.btn-lg    { padding: 17px 40px; font-size: 16px; border-radius: 18px; }
.btn-block { width: 100%; }

/* =========== Header =========== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 500;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.07);
  transition: border-color var(--transition), box-shadow var(--transition);
}
.site-header.scrolled {
  border-bottom-color: rgba(14, 165, 233, 0.20);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 20px;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  color: var(--heading);
  flex-shrink: 0;
}
.logo__mark {
  width: 38px; height: 38px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  display: grid;
  place-items: center;
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 19px;
  color: #fff;
  box-shadow: 0 4px 16px rgba(14, 165, 233, 0.30);
  flex-shrink: 0;
}
.logo__text { display: flex; flex-direction: column; line-height: 1.2; }
.logo__name { font-family: 'Syne', sans-serif; font-weight: 800; font-size: 14px; color: var(--heading); }
.logo__tag  { font-size: 11px; color: var(--muted); font-weight: 500; }

/* Nav */
.header-nav { display: flex; gap: 28px; }
.header-nav a {
  color: var(--text);
  font-weight: 500;
  font-size: 14px;
  padding: 4px 0;
  position: relative;
}
.header-nav a::after {
  content: '';
  position: absolute;
  bottom: -1px; left: 0;
  width: 0; height: 1.5px;
  background: var(--primary-dark);
  transition: width var(--transition);
}
.header-nav a:hover { color: var(--heading); }
.header-nav a:hover::after { width: 100%; }

.header-cta { display: flex; align-items: center; gap: 14px; }
.header-phone {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-decoration: none;
  line-height: 1.15;
}
.header-phone__num  { font-family: 'Syne', sans-serif; font-weight: 700; font-size: 15px; color: var(--heading); }
.header-phone__hint { font-size: 11px; color: var(--muted); margin-top: 2px; }

.burger {
  display: none;
  background: rgba(0,0,0,0.05);
  border: 1px solid rgba(0,0,0,0.10);
  border-radius: 8px;
  padding: 7px 9px;
  font-size: 17px;
  color: var(--heading);
  cursor: pointer;
  transition: background var(--transition);
}
.burger:hover { background: rgba(0,0,0,0.09); }

/* Mobile menu */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  top: 68px;
  z-index: 490;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(24px);
  padding: 32px 24px;
  flex-direction: column;
  gap: 4px;
}
.mobile-menu.is-open { display: flex; }
.mobile-menu a {
  color: var(--text-bright);
  font-size: 18px;
  font-weight: 600;
  padding: 13px 0;
  border-bottom: 1px solid var(--border);
}
.mobile-menu a:hover { color: var(--primary-dark); }
.mobile-menu .btn { margin-top: 20px; }

/* =========== Hero =========== */
/* Hero stays dark for strong contrast and visual impact */
.hero {
  padding: 96px 0 112px;
  background:
    radial-gradient(ellipse 60% 50% at 75% 20%, rgba(14,165,233,0.11) 0%, transparent 100%),
    radial-gradient(ellipse 40% 60% at 10% 80%, rgba(14,165,233,0.07) 0%, transparent 100%),
    linear-gradient(160deg, #060E1C 0%, #0C1B32 55%, #071520 100%);
  color: var(--white);
  overflow: hidden;
  position: relative;
}

/* animated grid */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(14,165,233,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(14,165,233,0.04) 1px, transparent 1px);
  background-size: 56px 56px;
  animation: grid-scroll 18s linear infinite;
  pointer-events: none;
}
@keyframes grid-scroll {
  from { transform: translate(0, 0); }
  to   { transform: translate(56px, 56px); }
}

/* ambient glow */
.hero::after {
  content: '';
  position: absolute;
  width: 700px; height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(14,165,233,0.07) 0%, transparent 65%);
  top: -250px; right: -150px;
  pointer-events: none;
  animation: hero-orb 9s ease-in-out infinite;
}
@keyframes hero-orb {
  0%, 100% { transform: translate(0,   0)   scale(1);   }
  33%       { transform: translate(-40px, 50px)  scale(1.08); }
  66%       { transform: translate(20px, -30px) scale(0.94); }
}

/* Particles */
.hero__particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.hero__particle {
  position: absolute;
  border-radius: 50%;
  background: rgba(14, 165, 233, 0.55);
  animation: ptcl-rise linear infinite;
}
.hero__particle:nth-child(1)  { width:3px;height:3px; left:8%;   bottom:-5px; animation-duration:11s; animation-delay:0s;   }
.hero__particle:nth-child(2)  { width:2px;height:2px; left:22%;  bottom:-5px; animation-duration:14s; animation-delay:1.8s; }
.hero__particle:nth-child(3)  { width:4px;height:4px; left:37%;  bottom:-5px; animation-duration:9s;  animation-delay:3.5s; }
.hero__particle:nth-child(4)  { width:2px;height:2px; left:52%;  bottom:-5px; animation-duration:13s; animation-delay:0.7s; }
.hero__particle:nth-child(5)  { width:3px;height:3px; left:67%;  bottom:-5px; animation-duration:10s; animation-delay:2.5s; }
.hero__particle:nth-child(6)  { width:2px;height:2px; left:80%;  bottom:-5px; animation-duration:15s; animation-delay:4.5s; }
.hero__particle:nth-child(7)  { width:4px;height:4px; left:14%;  bottom:-5px; animation-duration:12s; animation-delay:6.8s; }
.hero__particle:nth-child(8)  { width:3px;height:3px; left:58%;  bottom:-5px; animation-duration:8s;  animation-delay:2.2s; }
.hero__particle:nth-child(9)  { width:2px;height:2px; left:75%;  bottom:-5px; animation-duration:16s; animation-delay:5.3s; }
.hero__particle:nth-child(10) { width:3px;height:3px; left:44%;  bottom:-5px; animation-duration:11s; animation-delay:7.5s; }
@keyframes ptcl-rise {
  0%   { transform: translateY(0) translateX(0); opacity:0; }
  8%   { opacity:1; }
  88%  { opacity:0.5; }
  100% { transform: translateY(-110vh) translateX(25px); opacity:0; }
}

/* floating snowflakes */
.hero__flake {
  position: absolute;
  color: rgba(14,165,233,0.22);
  pointer-events: none;
  user-select: none;
  animation: flk-spin linear infinite;
  font-size: 14px;
}
.hero__flake:nth-child(11) { left:4%;  top:22%; font-size:11px; animation-duration:22s; animation-delay:0s;   }
.hero__flake:nth-child(12) { left:88%; top:18%; font-size:20px; animation-duration:28s; animation-delay:4s;   }
.hero__flake:nth-child(13) { left:48%; top:8%;  font-size:9px;  animation-duration:19s; animation-delay:9s;   }
.hero__flake:nth-child(14) { left:73%; top:55%; font-size:14px; animation-duration:24s; animation-delay:2s;   }
.hero__flake:nth-child(15) { left:18%; top:68%; font-size:8px;  animation-duration:17s; animation-delay:6s;   }
@keyframes flk-spin {
  0%   { transform: rotate(0deg) translate(0,0);     opacity:0; }
  10%  { opacity:1; }
  90%  { opacity:0.4; }
  100% { transform: rotate(360deg) translate(18px,-18px); opacity:0; }
}

.hero__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(14,165,233,0.1);
  border: 1px solid rgba(14,165,233,0.28);
  color: #38BDF8;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 24px;
  text-transform: uppercase;
}
.hero__badge .dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #22D3EE;
  box-shadow: 0 0 8px #22D3EE;
  animation: bdg-pulse 2s ease-in-out infinite;
  flex-shrink: 0;
}
@keyframes bdg-pulse {
  0%, 100% { box-shadow: 0 0 8px #22D3EE;  opacity:1; }
  50%       { box-shadow: 0 0 3px #22D3EE; opacity:0.5; }
}

.hero__text h1 {
  color: var(--white);
  margin-bottom: 22px;
  line-height: 1.05;
}
.hero__text h1 span {
  display: block;
  background: linear-gradient(95deg, #22D3EE 0%, #7DD3FC 55%, #BAE6FD 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__sub {
  color: rgba(255,255,255,0.62);
  font-size: 17px;
  line-height: 1.72;
  margin-bottom: 36px;
  max-width: 500px;
}

.hero__actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 44px;
}

.hero__metrics {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
}
.hero__metrics > div {
  padding-left: 14px;
  position: relative;
}
.hero__metrics > div::before {
  content: '';
  position: absolute;
  left: 0; top: 3px; bottom: 3px;
  width: 2px;
  background: linear-gradient(180deg, var(--primary), transparent);
  border-radius: 2px;
}
.hero__metric-num   { font-family:'Syne',sans-serif; font-size:24px; font-weight:800; color:var(--white); line-height:1; }
.hero__metric-label { font-size:12px; color:rgba(255,255,255,0.48); margin-top:4px; }

/* Hero right — floating card */
.hero__visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero__visual-card {
  width: 100%;
  max-width: 400px;
  background: rgba(255,255,255,0.046);
  border: 1px solid rgba(14,165,233,0.18);
  border-radius: var(--radius-xl);
  padding: 32px;
  backdrop-filter: blur(24px);
  box-shadow: 0 40px 80px rgba(0,0,0,0.45), inset 0 1px 0 rgba(255,255,255,0.09);
  animation: vcard-float 7s ease-in-out infinite;
  position: relative;
  z-index: 2;
}
@keyframes vcard-float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-14px); }
}
.hero__visual-card::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: calc(var(--radius-xl) + 1px);
  background: linear-gradient(140deg, rgba(14,165,233,0.25) 0%, transparent 50%, rgba(249,115,22,0.08) 100%);
  z-index: -1;
  pointer-events: none;
}

.hero__vc-icon {
  width: 56px; height: 56px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  box-shadow: 0 8px 24px rgba(14,165,233,0.32);
  color: #071525;
  font-size: 24px;
}
.hero__vc-title {
  font-family: 'Syne', sans-serif;
  font-size: 16px;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 18px;
  line-height: 1.3;
}
.hero__vc-rows {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
}
.hero__vc-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  background: rgba(255,255,255,0.045);
  border: 1px solid rgba(255,255,255,0.055);
  border-radius: 10px;
}
.hero__vc-row-label { font-size: 13px; color: rgba(255,255,255,0.48); }
.hero__vc-row-val   { font-family: 'Syne', sans-serif; font-size: 13px; font-weight: 700; color: var(--primary); }
.hero__vc-status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(16,185,129,0.12);
  border: 1px solid rgba(16,185,129,0.28);
  color: #34D399;
  font-size: 12px;
  font-weight: 700;
  padding: 7px 14px;
  border-radius: 9px;
  width: 100%;
  justify-content: center;
}
.hero__vc-status::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #10B981;
  box-shadow: 0 0 6px #10B981;
  flex-shrink: 0;
}

/* Glow rings */
.hero__glow-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(14,165,233,0.09);
  pointer-events: none;
  animation: ring-breathe 5s ease-in-out infinite;
}
.hero__glow-ring:nth-child(1) { width:360px; height:360px; top:50%; left:50%; transform:translate(-50%,-50%); }
.hero__glow-ring:nth-child(2) { width:480px; height:480px; top:50%; left:50%; transform:translate(-50%,-50%); animation-delay:1.2s; opacity:0.6; }
@keyframes ring-breathe {
  0%, 100% { transform:translate(-50%,-50%) scale(1);    opacity:1; }
  50%       { transform:translate(-50%,-50%) scale(1.06); opacity:0.4; }
}

/* =========== Pains =========== */
.pains { background: var(--bg-alt); }
.pains__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.pain {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 30px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}
.pain::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(249,115,22,0.55), transparent);
  opacity: 0;
  transition: opacity var(--transition);
}
.pain:hover { border-color: rgba(249,115,22,0.30); transform: translateY(-4px); box-shadow: 0 16px 40px rgba(0,0,0,0.10); }
.pain:hover::before { opacity: 1; }
.pain__icon {
  width: 50px; height: 50px;
  border-radius: 13px;
  background: rgba(249,115,22,0.10);
  border: 1px solid rgba(249,115,22,0.20);
  display: grid; place-items: center;
  font-size: 20px;
  color: var(--accent);
  margin-bottom: 18px;
}
.pain h3 { font-size: 17px; margin-bottom: 9px; color: var(--heading); }
.pain p  { font-size: 14px; color: var(--text); line-height: 1.65; }

/* =========== Services =========== */
.services { background: var(--bg); }
.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.service {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}
.service:hover {
  transform: translateY(-7px);
  border-color: var(--border-glow);
  box-shadow: 0 24px 52px rgba(0,0,0,0.10), var(--shadow-cyan);
}
.service__visual {
  height: 136px;
  background: linear-gradient(135deg, rgba(14,165,233,0.08), rgba(14,165,233,0.04));
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.service__visual svg {
  width: 76px; height: 76px;
  color: var(--primary-dark);
  transition: transform var(--transition-pop);
  filter: drop-shadow(0 4px 14px rgba(14,165,233,0.20));
}
.service:hover .service__visual svg { transform: scale(1.1) translateY(-4px); }
.service__body { padding: 22px; flex: 1; display: flex; flex-direction: column; }
.service__body h3 { font-size: 16px; margin-bottom: 9px; color: var(--heading); }
.service__desc { font-size: 13px; color: var(--text); line-height: 1.65; margin-bottom: 14px; flex: 1; }
.service__features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-bottom: 18px;
}
.service__features li {
  font-size: 12px;
  color: var(--text);
  padding-left: 14px;
  position: relative;
  line-height: 1.5;
}
.service__features li::before {
  content: '';
  position: absolute;
  left: 0; top: 7px;
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--primary);
}
.service__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}
/* Цены — чёткие и хорошо читаемые на светлом фоне */
.service__price { font-size: 14px; color: var(--text); font-weight: 500; }
.service__price strong {
  font-family: 'Syne', sans-serif;
  font-size: 20px;
  color: var(--heading);
  font-weight: 800;
}
.service__btn {
  color: var(--primary-dark);
  font-weight: 700;
  font-size: 13px;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  transition: gap var(--transition), color var(--transition);
}
.service__btn:hover { gap: 8px; color: var(--primary); }

/* =========== Advantages =========== */
.advantages { background: var(--bg-alt); overflow: hidden; }
.advantages::before {
  content: '';
  position: absolute;
  width: 900px; height: 900px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(14,165,233,0.05) 0%, transparent 65%);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}
.advantages__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  position: relative;
  z-index: 1;
}
.advantage {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}
.advantage::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  background: radial-gradient(circle at 50% 0%, rgba(14,165,233,0.06), transparent 60%);
  opacity: 0;
  transition: opacity var(--transition);
}
.advantage:hover { transform:translateY(-6px) scale(1.015); border-color:rgba(14,165,233,0.30); box-shadow:0 22px 52px rgba(0,0,0,0.10), var(--shadow-cyan); }
.advantage:hover::after { opacity: 1; }
.advantage__num {
  font-family: 'Syne', sans-serif;
  font-size: clamp(34px, 4vw, 50px);
  font-weight: 800;
  background: linear-gradient(135deg, #0284C7, #38BDF8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 10px;
  letter-spacing: -0.03em;
  position: relative;
  z-index: 1;
}
.advantage h3 { font-size: 14px; margin-bottom: 7px; color: var(--heading); position:relative; z-index:1; }
.advantage p  { font-size: 13px; color: var(--text); line-height: 1.55; position:relative; z-index:1; }

/* =========== Steps =========== */
.steps { background: var(--bg); }
.steps__list {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  position: relative;
  counter-reset: steps-counter;
}
.steps__list::before {
  content: '';
  position: absolute;
  top: 27px;
  left: calc(10% + 27px);
  right: calc(10% + 27px);
  height: 1px;
  background: linear-gradient(90deg,
    var(--primary) 0%,
    rgba(14,165,233,0.5) 50%,
    rgba(14,165,233,0.12) 100%);
  z-index: 0;
}
.step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 12px;
  counter-increment: steps-counter;
  position: relative;
  z-index: 1;
}
.step::before {
  content: counter(steps-counter);
  width: 54px; height: 54px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 2px solid var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Syne', sans-serif;
  font-size: 17px;
  font-weight: 800;
  color: var(--primary-dark);
  margin-bottom: 22px;
  flex-shrink: 0;
  box-shadow: 0 0 16px rgba(14,165,233,0.14), var(--shadow-sm);
  transition: background var(--transition), box-shadow var(--transition);
}
.step:nth-child(1)::before {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 0 28px rgba(14,165,233,0.38);
}
.step:hover::before {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 0 28px rgba(14,165,233,0.38);
}
.step h3 { font-size: 13px; font-weight: 700; color: var(--heading); margin-bottom: 7px; }
.step p  { font-size: 12px; color: var(--text); line-height: 1.55; }

/* =========== Portfolio =========== */
.portfolio { background: var(--bg-alt); }
.portfolio__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.portfolio-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}
.portfolio-item:hover {
  transform: translateY(-5px);
  border-color: rgba(14,165,233,0.30);
  box-shadow: 0 20px 48px rgba(0,0,0,0.10);
}
.portfolio-item__visual {
  height: 150px;
  background: linear-gradient(135deg, rgba(14,165,233,0.07), rgba(14,165,233,0.03));
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.portfolio-item__visual svg {
  width: 68px; height: 68px;
  color: var(--primary-dark);
  opacity: 0.75;
  filter: drop-shadow(0 4px 12px rgba(14,165,233,0.18));
}
.portfolio-item__visual img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.portfolio-item__label {
  position: absolute;
  top: 12px; left: 12px;
  background: rgba(14,165,233,0.12);
  border: 1px solid rgba(14,165,233,0.30);
  color: var(--primary-dark);
  font-size: 11px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 6px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.portfolio-item__body { padding: 18px 22px; }
.portfolio-item__body h3 { font-size: 15px; margin-bottom: 5px; color: var(--heading); }
.portfolio-item__meta  { font-size: 12px; color: var(--muted); margin-bottom: 12px; }
.portfolio-item__result {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(16,185,129,0.10);
  border: 1px solid rgba(16,185,129,0.25);
  color: #059669;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 6px;
  letter-spacing: 0.02em;
}
.portfolio-item__result::before { content: '\2713'; font-weight: 900; }

/* =========== Reviews =========== */
.reviews { background: var(--bg); }
.reviews__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.review {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 26px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}
.review::before {
  content: '"';
  position: absolute;
  top: 12px; right: 20px;
  font-family: 'Syne', sans-serif;
  font-size: 90px;
  line-height: 1;
  color: rgba(14,165,233,0.12);
  font-weight: 800;
  pointer-events: none;
}
.review:hover { transform: translateY(-4px); border-color: rgba(14,165,233,0.25); box-shadow: 0 16px 40px rgba(0,0,0,0.09); }
.review__stars { color: #F59E0B; font-size: 14px; letter-spacing: 2px; margin-bottom: 13px; }
.review__text  { font-size: 13px; color: var(--text); line-height: 1.72; margin-bottom: 18px; }
.review__author {
  display: flex; align-items: center; gap: 11px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}
.review__avatar {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  display: grid; place-items: center;
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 15px;
  color: #fff;
  flex-shrink: 0;
}
.review__meta strong { display:block; font-size:13px; color:var(--heading); font-weight:700; }
.review__meta span   { font-size:11px; color:var(--muted); }

/* =========== Form =========== */
.form-section { background: var(--bg-alt); overflow: hidden; }
.form-section::after {
  content: '';
  position: absolute;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(249,115,22,0.04) 0%, transparent 65%);
  bottom: -200px; right: -100px;
  pointer-events: none;
}
.form-section__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
  position: relative;
  z-index: 1;
}
.form-section__text h2 { margin-bottom: 14px; }
.form-section__lead {
  font-size: 16px;
  color: var(--text);
  line-height: 1.72;
  margin-bottom: 28px;
}
.form-section__perks { list-style:none; display:flex; flex-direction:column; gap:11px; }
.form-section__perks li {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 14px;
  color: var(--text-bright);
  font-weight: 500;
}
.form-section__perks li::before {
  content: '';
  flex-shrink: 0;
  width: 20px; height: 20px;
  border-radius: 6px;
  background: rgba(2,132,199,0.10)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='11' height='11' viewBox='0 0 11 11'%3E%3Cpath d='M1.5 5.5l3 3 5-5' stroke='%230284C7' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3C/svg%3E")
    no-repeat center;
  border: 1px solid rgba(14,165,233,0.25);
}

/* Form card */
.form-card {
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 36px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.10);
  position: relative;
  overflow: hidden;
}
.form-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), #38BDF8, var(--accent));
  border-radius: 3px 3px 0 0;
}
.form-card h3      { font-size: 21px; margin-bottom: 5px; color: var(--heading); }
.form-card__sub    { font-size: 13px; color: var(--muted); margin-bottom: 24px; }

.form-group { display:flex; flex-direction:column; gap:6px; margin-bottom:16px; }
.form-group label {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-bright);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.form-group input,
.form-group textarea {
  background: #F8FAFC;
  border: 1.5px solid rgba(0, 0, 0, 0.12);
  border-radius: var(--radius);
  padding: 13px 16px;
  font-family: inherit;
  font-size: 14px;
  color: var(--heading);
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--muted); font-size:14px; }
.form-group input:focus,
.form-group textarea:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(14,165,233,0.12); }
.form-group input.error,
.form-group textarea.error { border-color: var(--danger); }
.form-error-msg { font-size:11px; color:var(--danger); display:none; margin-top:3px; }
.form-error-msg.visible { display:block; }
.form-group textarea { resize:vertical; min-height:78px; }
.form-policy { font-size:11px; color:var(--muted); text-align:center; margin-top:10px; }
.form-policy a { color:var(--primary-dark); }

.form-success { display:none; text-align:center; padding:28px 16px; }
.form-success.visible { display:block; }
.form-success__icon {
  width:60px; height:60px;
  border-radius:50%;
  background:rgba(16,185,129,0.10);
  border:1px solid rgba(16,185,129,0.28);
  display:grid; place-items:center;
  margin:0 auto 18px;
  font-size:26px; color:#059669;
}
.form-success h3 { color:var(--heading); margin-bottom:8px; font-size:19px; }
.form-success p  { color:var(--text); font-size:14px; }

/* =========== FAQ =========== */
.faq { background: var(--bg); }
.faq__list {
  max-width: 740px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: border-color var(--transition);
}
.faq-item.is-open { border-color: rgba(14,165,233,0.30); }
.faq-item__q {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 20px 22px;
  font-family: 'Plus Jakarta Sans', inherit;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-bright);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  transition: color var(--transition);
}
.faq-item__q:hover { color: var(--heading); }
.faq-item__q::after {
  content: '+';
  flex-shrink: 0;
  width: 26px; height: 26px;
  border-radius: 7px;
  background: rgba(14,165,233,0.09);
  border: 1px solid rgba(14,165,233,0.22);
  display: grid;
  place-items: center;
  font-size: 17px;
  color: var(--primary-dark);
  transition: transform var(--transition), background var(--transition);
  font-weight: 300;
  line-height: 1;
}
.faq-item.is-open .faq-item__q::after { transform:rotate(45deg); background:rgba(14,165,233,0.14); }
.faq-item__a { max-height:0; overflow:hidden; transition:max-height 0.38s ease; }
.faq-item__a-inner { padding:0 22px 20px; font-size:14px; color:var(--text); line-height:1.72; }

/* =========== SEO Text =========== */
.seo-text { background: var(--bg-alt); }
.seo-text__inner { max-width:840px; margin:0 auto; }
.seo-text__inner h2 { font-size:clamp(20px,2.5vw,30px); margin-bottom:24px; color:var(--heading); }
.seo-text__inner p  { font-size:14px; color:var(--text); line-height:1.82; margin-bottom:16px; }
.seo-text__inner strong { color:var(--text-bright); }

/* =========== Footer =========== */
/* Footer stays dark for strong visual contrast */
.site-footer {
  background: #0C1628;
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 60px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.4fr 1.4fr;
  gap: 36px;
  margin-bottom: 44px;
}
.footer-col h4 {
  font-family: 'Syne', sans-serif;
  font-size: 12px;
  font-weight: 800;
  color: #F1F5F9;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 14px;
}
.footer-col p  { font-size:13px; color:#64748B; line-height:1.7; }
.footer-col a  { display:block; font-size:13px; color:#64748B; margin-bottom:7px; transition:color var(--transition); }
.footer-col a:hover { color:#CBD5E1; }
.footer-contacts { list-style:none; display:flex; flex-direction:column; gap:9px; }
.footer-contacts li { display:flex; align-items:flex-start; gap:9px; font-size:13px; color:#64748B; }
.footer-contacts li i { color:var(--primary); margin-top:2px; flex-shrink:0; }
.footer-contacts li a { display:inline; margin-bottom:0; }
.footer-bottom {
  display:flex; align-items:center; justify-content:space-between;
  padding-top:20px; border-top:1px solid rgba(255,255,255,0.07);
  font-size:12px; color:#475569;
}
.footer-bottom a { color:#475569; }
.footer-bottom a:hover { color:#94A3B8; }

/* =========== Popup =========== */
.popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.55);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  backdrop-filter: blur(10px);
}
.popup-overlay.is-open { opacity:1; pointer-events:all; }
.popup {
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 36px;
  max-width: 400px;
  width: 100%;
  position: relative;
  text-align: center;
  transform: scale(0.88) translateY(24px);
  transition: transform 0.35s cubic-bezier(0.34,1.56,0.64,1);
  box-shadow: 0 40px 80px rgba(0,0,0,0.18);
  overflow: hidden;
}
.popup::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), #38BDF8, var(--accent));
}
.popup-overlay.is-open .popup { transform: scale(1) translateY(0); }
.popup__close {
  position: absolute;
  top: 12px; right: 12px;
  background: rgba(0,0,0,0.04);
  border: 1px solid var(--border);
  border-radius: 8px;
  width: 30px; height: 30px;
  display: grid; place-items: center;
  font-size: 16px; color: var(--muted);
  cursor: pointer;
  transition: background var(--transition), color var(--transition);
}
.popup__close:hover { background: rgba(0,0,0,0.08); color: var(--heading); }
.popup__icon {
  width:60px; height:60px;
  border-radius:18px;
  background:rgba(249,115,22,0.10);
  border:1px solid rgba(249,115,22,0.22);
  display:grid; place-items:center;
  margin:0 auto 18px;
  font-size:26px; color:var(--accent);
}
.popup__title { font-size:22px; margin-bottom:10px; color: var(--heading); }
.popup__text  { font-size:14px; color:var(--text); line-height:1.65; margin-bottom:22px; }
.popup__btn   { width:100%; margin-bottom:8px; }
.popup__note  { font-size:11px; color:var(--muted); }

/* =========== Messenger buttons =========== */
.messenger-buttons {
  position: fixed;
  bottom: 24px; right: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 200;
}
.messenger-btn {
  width: 50px; height: 50px;
  border-radius: 50%;
  display: grid; place-items: center;
  color: #fff;
  box-shadow: 0 6px 20px rgba(0,0,0,0.20);
  transition: transform var(--transition-pop), box-shadow var(--transition);
  font-weight: 800;
  font-size: 11px;
  font-family: 'Syne', sans-serif;
  text-decoration: none;
}
.messenger-btn svg { width:24px; height:24px; }
.messenger-btn:hover { color:#fff; transform:scale(1.13); box-shadow:0 10px 28px rgba(0,0,0,0.25); }
.messenger-btn--tg   { background:linear-gradient(135deg,#2AABEE,#1B8FC9); }
.messenger-btn--wa   { background:linear-gradient(135deg,#25D366,#128C7E); }
.messenger-btn--max  {
  background:linear-gradient(135deg,#6366F1,#4F46E5);
  letter-spacing:0.02em;
}

/* =========== Responsive =========== */
@media (max-width: 1024px) {
  .header-nav    { display: none; }
  .header-phone  { display: none; }
  .burger        { display: flex; }

  .hero__grid    { grid-template-columns: 1fr; gap: 48px; }
  .hero__visual  { display: none; }
  .hero__sub     { max-width: 100%; }

  .services__grid   { grid-template-columns: repeat(2, 1fr); }
  .advantages__grid { grid-template-columns: repeat(2, 1fr); }
  .steps__list { grid-template-columns: repeat(3, 1fr); gap: 32px; }
  .steps__list::before { display: none; }

  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  section { padding: 64px 0; }
  .hero   { padding: 64px 0 80px; }

  /* Скрыть кнопку CTA в хедере на мобильных — основной CTA в hero */
  .header-cta .btn-primary { display: none; }

  .pains__grid      { grid-template-columns: 1fr; }
  .services__grid   { grid-template-columns: 1fr; }
  .advantages__grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .advantage        { padding: 24px 18px; }
  .steps__list      { grid-template-columns: 1fr; }
  .steps__list::before { display: none; }
  .portfolio__grid  { grid-template-columns: 1fr; }
  .reviews__grid    { grid-template-columns: 1fr; }
  .form-section__grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-grid      { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom    { flex-direction: column; gap: 10px; text-align: center; }
}

@media (max-width: 480px) {
  .container            { padding: 0 16px; }
  .hero__actions        { flex-direction: column; }
  .hero__actions .btn   { width: 100%; justify-content: center; }
  .advantages__grid     { grid-template-columns: repeat(2, 1fr); }
  .form-card            { padding: 24px 18px; }
  .messenger-buttons    { bottom: 14px; right: 14px; }
  .hero__badge          { font-size: 11px; padding: 5px 11px; }
}

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