/* =====================================================
   Arctic Steel — site_01_polair
   Industrial minimalism. Ice blue #0EA5E9 + Steel #64748B
   Light background. Inter 400/700.
   ===================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:ital,wght@0,400;0,500;0,600;0,700;0,800;0,900;1,400&display=swap');

/* =========== TOKENS =========== */
:root {
  --blue:        #0EA5E9;
  --blue-dark:   #0284C7;
  --blue-deep:   #0C4A6E;
  --blue-light:  #E0F2FE;
  --steel:       #64748B;
  --steel-dark:  #475569;
  --steel-light: #94A3B8;
  --slate-50:    #F8FAFC;
  --slate-100:   #F1F5F9;
  --slate-200:   #E2E8F0;
  --slate-300:   #CBD5E1;
  --white:       #FFFFFF;
  --ink:         #0F172A;
  --ink-soft:    #1E293B;
  --muted:       #64748B;
  --success:     #10B981;
  --danger:      #EF4444;

  --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --r-sm:  6px;
  --r:     10px;
  --r-lg:  16px;
  --r-xl:  24px;

  --shadow-xs: 0 1px 3px rgba(15,23,42,.06);
  --shadow-sm: 0 2px 8px rgba(15,23,42,.06), 0 1px 3px rgba(15,23,42,.04);
  --shadow:    0 4px 16px rgba(15,23,42,.08), 0 2px 6px rgba(15,23,42,.04);
  --shadow-lg: 0 12px 32px rgba(15,23,42,.10), 0 4px 12px rgba(15,23,42,.06);
  --shadow-blue: 0 4px 16px rgba(14,165,233,.30);
  --shadow-blue-lg: 0 8px 28px rgba(14,165,233,.40);

  --dur: 220ms;
  --ease: cubic-bezier(.4,0,.2,1);
  --ease-out: cubic-bezier(0,.55,.45,1);

  --container: 1200px;
}

/* =========== 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: var(--font);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink-soft);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; transition: color var(--dur) var(--ease); }
a:hover { color: var(--blue-dark); }
ul { list-style: none; }
button { font-family: var(--font); }

/* =========== TYPOGRAPHY =========== */
h1, h2, h3, h4 {
  font-family: var(--font);
  line-height: 1.12;
  color: var(--ink);
  letter-spacing: -0.03em;
}
h1 { font-size: clamp(34px, 5.5vw, 58px); font-weight: 800; }
h2 { font-size: clamp(28px, 4vw, 44px); font-weight: 800; margin-bottom: 14px; }
h3 { font-size: clamp(16px, 1.8vw, 20px); font-weight: 700; }

.section-title { text-align: center; }
.section-subtitle {
  text-align: center;
  color: var(--steel);
  font-size: 17px;
  line-height: 1.6;
  max-width: 680px;
  margin: 0 auto 56px;
}

/* =========== LAYOUT =========== */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
section { padding: 96px 0; }

/* =========== BUTTONS =========== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--r);
  font-family: var(--font);
  font-weight: 700;
  font-size: 15px;
  line-height: 1;
  letter-spacing: -0.01em;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: all var(--dur) var(--ease);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}
.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0);
  transition: background var(--dur) var(--ease);
}
.btn:hover::after { background: rgba(255,255,255,.08); }

.btn-primary {
  background: var(--blue);
  color: var(--white);
  box-shadow: var(--shadow-blue);
}
.btn-primary:hover {
  background: var(--blue-dark);
  color: var(--white);
  box-shadow: var(--shadow-blue-lg);
  transform: translateY(-1px);
}
.btn-primary:active { transform: translateY(0); box-shadow: var(--shadow-blue); }

.btn-ghost {
  background: rgba(255,255,255,.08);
  color: var(--white);
  border: 1px solid rgba(255,255,255,.18);
  backdrop-filter: blur(10px);
}
.btn-ghost:hover {
  background: rgba(255,255,255,.16);
  color: var(--white);
  border-color: rgba(255,255,255,.32);
}

.btn-outline {
  background: transparent;
  color: var(--blue);
  border: 1.5px solid var(--blue);
}
.btn-outline:hover { background: var(--blue); color: var(--white); }

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

/* =========== HEADER =========== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 900;
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--slate-200);
  transition: box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.site-header.scrolled {
  box-shadow: 0 2px 24px rgba(14,165,233,.08), 0 1px 0 var(--slate-200);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 16px;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  flex-shrink: 0;
}
.logo__mark {
  width: 40px; height: 40px;
  border-radius: var(--r);
  background: linear-gradient(140deg, #0EA5E9 0%, #0C4A6E 100%);
  display: grid; place-items: center;
  color: var(--white);
  font-weight: 900;
  font-size: 17px;
  letter-spacing: -0.04em;
  box-shadow: 0 3px 12px rgba(14,165,233,.35);
  flex-shrink: 0;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.logo:hover .logo__mark {
  transform: scale(1.05);
  box-shadow: 0 5px 18px rgba(14,165,233,.5);
}
.logo__text { display: flex; flex-direction: column; line-height: 1.2; }
.logo__name { font-weight: 800; font-size: 14px; color: var(--ink); letter-spacing: -0.025em; }
.logo__tag  { font-size: 11px; color: var(--steel); font-weight: 500; }

/* Nav */
.header-nav { display: flex; gap: 24px; flex: 1; justify-content: center; }
.header-nav a {
  color: var(--ink-soft);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: -0.01em;
  padding: 4px 0;
  position: relative;
}
.header-nav a::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0; right: 0;
  height: 2px;
  background: var(--blue);
  border-radius: 1px;
  transform: scaleX(0);
  transition: transform var(--dur) var(--ease);
  transform-origin: left;
}
.header-nav a:hover { color: var(--blue); }
.header-nav a:hover::after { transform: scaleX(1); }

/* Header CTA */
.header-cta { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
.header-phone {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-decoration: none;
  gap: 2px;
  line-height: 1;
}
.header-phone__num {
  font-weight: 800;
  font-size: 16px;
  color: var(--ink);
  letter-spacing: -0.025em;
  transition: color var(--dur) var(--ease);
}
.header-phone:hover .header-phone__num { color: var(--blue); }
.header-phone__hint { font-size: 11px; color: var(--steel-light); }

.burger {
  display: none;
  background: none;
  border: 1.5px solid var(--slate-200);
  border-radius: var(--r-sm);
  width: 38px; height: 38px;
  align-items: center; justify-content: center;
  color: var(--ink);
  cursor: pointer;
  transition: all var(--dur) var(--ease);
}
.burger:hover { border-color: var(--blue); color: var(--blue); }

/* Mobile menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: 68px; left: 0; right: 0; bottom: 0;
  background: var(--white);
  z-index: 800;
  padding: 32px 24px;
  flex-direction: column;
  gap: 8px;
  transform: translateY(-8px);
  opacity: 0;
  transition: opacity .2s var(--ease), transform .2s var(--ease);
  pointer-events: none;
  overflow-y: auto;
}
.mobile-menu.is-open {
  display: flex;
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}
.mobile-menu a {
  display: block;
  padding: 14px 0;
  font-size: 18px;
  font-weight: 600;
  color: var(--ink);
  border-bottom: 1px solid var(--slate-100);
  letter-spacing: -0.02em;
}
.mobile-menu a:hover { color: var(--blue); }
.mobile-menu .btn { margin-top: 16px; }

/* =========== HERO =========== */
.hero {
  padding: 100px 0 120px;
  background:
    radial-gradient(ellipse 70% 60% at 90% 20%, rgba(14,165,233,.22) 0%, transparent 60%),
    radial-gradient(ellipse 50% 40% at 10% 80%, rgba(12,74,110,.30) 0%, transparent 55%),
    linear-gradient(158deg, #071828 0%, #0C4A6E 50%, #0F3D5E 100%);
  color: var(--white);
  overflow: hidden;
  position: relative;
}

/* Grid pattern */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(14,165,233,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(14,165,233,.06) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 75% 75% at 50% 50%, #000 30%, transparent 75%);
}
/* Bottom edge */
.hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(14,165,233,.6) 50%, transparent 100%);
}

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

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  background: rgba(14,165,233,.12);
  border: 1px solid rgba(14,165,233,.28);
  border-radius: 40px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #7DD3FC;
  margin-bottom: 28px;
  backdrop-filter: blur(8px);
}
.hero__badge .dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #38BDF8;
  box-shadow: 0 0 0 3px rgba(56,189,248,.25);
  animation: dot-pulse 2.2s ease-in-out infinite;
}
@keyframes dot-pulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(56,189,248,.25); }
  50%       { box-shadow: 0 0 0 6px rgba(56,189,248,.08); }
}

.hero h1 { color: var(--white); margin-bottom: 20px; }
.hero h1 em { font-style: normal; color: #38BDF8; }

.hero__sub {
  font-size: 18px;
  color: rgba(255,255,255,.72);
  line-height: 1.65;
  max-width: 540px;
  margin-bottom: 40px;
  font-weight: 400;
}

.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 52px; }

.hero__metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid rgba(14,165,233,.18);
  padding-top: 32px;
  max-width: 520px;
}
.hero__metric-item {
  padding-right: 24px;
  position: relative;
}
.hero__metric-item:not(:first-child) {
  padding-left: 24px;
  border-left: 1px solid rgba(14,165,233,.15);
}
.hero__metric-num {
  font-size: 32px;
  font-weight: 900;
  color: #38BDF8;
  line-height: 1;
  letter-spacing: -0.04em;
}
.hero__metric-label {
  font-size: 12px;
  color: rgba(255,255,255,.50);
  margin-top: 6px;
  line-height: 1.4;
}

/* Hero visual */
.hero__visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero__visual svg {
  width: 100%;
  max-width: 440px;
  filter: drop-shadow(0 20px 48px rgba(14,165,233,.20));
  animation: float 6s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-12px); }
}
.hero__visual-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(14,165,233,.15);
  animation: ring-expand 4s ease-in-out infinite;
}
.hero__visual-ring:nth-child(1) { width: 200px; height: 200px; animation-delay: 0s; }
.hero__visual-ring:nth-child(2) { width: 320px; height: 320px; animation-delay: .8s; }
.hero__visual-ring:nth-child(3) { width: 440px; height: 440px; animation-delay: 1.6s; }
@keyframes ring-expand {
  0%, 100% { opacity: .3; transform: scale(1); }
  50%       { opacity: .6; transform: scale(1.03); }
}

/* =========== PAINS =========== */
.pains {
  background: var(--slate-50);
  border-top: 1px solid var(--slate-200);
  border-bottom: 1px solid var(--slate-200);
}
.pains__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--slate-200);
  border: 1px solid var(--slate-200);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.pain {
  background: var(--white);
  padding: 32px 28px;
  transition: background var(--dur) var(--ease);
}
.pain:hover { background: var(--slate-50); }
.pain__icon {
  width: 44px; height: 44px;
  border-radius: var(--r);
  background: var(--blue-light);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
  color: var(--blue);
  margin-bottom: 18px;
  transition: background var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.pain:hover .pain__icon {
  background: var(--blue);
  color: var(--white);
  transform: scale(1.08);
}
.pain h3 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--ink);
}
.pain p { font-size: 14px; color: var(--steel); line-height: 1.6; }

/* =========== SERVICES =========== */
.services { background: var(--white); }
.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.service {
  border: 1px solid var(--slate-200);
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--white);
  transition: box-shadow var(--dur) var(--ease), transform var(--dur) var(--ease), border-color var(--dur) var(--ease);
  display: flex;
  flex-direction: column;
}
.service:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  border-color: var(--blue);
}
.service__visual {
  aspect-ratio: 16/9;
  background: var(--slate-100);
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  position: relative;
}
.service__visual img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 400ms var(--ease);
}
.service:hover .service__visual img { transform: scale(1.04); }
.service__visual svg {
  width: 72px; height: 72px;
  color: var(--steel-light);
  transition: color var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.service:hover .service__visual svg { color: var(--blue); transform: scale(1.1); }
.service__body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.service__body h3 { font-size: 16px; margin-bottom: 10px; }
.service__desc { font-size: 14px; color: var(--steel); line-height: 1.6; margin-bottom: 16px; }
.service__features {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 20px;
  flex: 1;
}
.service__features li {
  font-size: 13px;
  color: var(--steel-dark);
  padding-left: 18px;
  position: relative;
}
.service__features li::before {
  content: '';
  position: absolute;
  left: 0; top: 50%;
  transform: translateY(-50%);
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--blue);
}
.service__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid var(--slate-100);
}
.service__price {
  font-size: 13px;
  color: var(--steel);
}
.service__price strong {
  font-size: 16px;
  color: var(--ink);
  font-weight: 800;
  letter-spacing: -0.02em;
}
.service__btn {
  font-size: 13px;
  font-weight: 700;
  color: var(--blue);
  letter-spacing: -0.01em;
  transition: gap var(--dur) var(--ease), color var(--dur) var(--ease);
  display: flex; align-items: center; gap: 4px;
}
.service__btn:hover { color: var(--blue-dark); gap: 8px; }

/* =========== ADVANTAGES =========== */
.advantages { background: var(--slate-50); }
.advantages__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.advantage {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--r-lg);
  padding: 32px 28px;
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease), transform var(--dur) var(--ease);
  position: relative;
  overflow: hidden;
}
.advantage::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--blue-dark));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 300ms var(--ease);
}
.advantage:hover {
  border-color: rgba(14,165,233,.25);
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}
.advantage:hover::before { transform: scaleX(1); }
.advantage__num {
  font-size: 42px;
  font-weight: 900;
  color: var(--blue);
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 12px;
  font-variant-numeric: tabular-nums;
}
.advantage h3 { font-size: 16px; margin-bottom: 8px; }
.advantage p { font-size: 14px; color: var(--steel); line-height: 1.6; }

/* =========== STEPS =========== */
.steps { background: var(--white); }
.steps__list {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  position: relative;
  counter-reset: step;
}
.steps__list::before {
  content: '';
  position: absolute;
  top: 28px; left: calc(10% + 14px); right: calc(10% + 14px);
  height: 1px;
  background: var(--slate-200);
  z-index: 0;
}
.step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 16px;
  position: relative;
  z-index: 1;
  counter-increment: step;
}
.step::before {
  content: counter(step);
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--slate-200);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
  font-weight: 900;
  color: var(--steel-light);
  margin-bottom: 20px;
  flex-shrink: 0;
  transition: all 300ms var(--ease);
  letter-spacing: -0.02em;
}
.step:hover::before {
  border-color: var(--blue);
  color: var(--blue);
  background: var(--blue-light);
  box-shadow: 0 0 0 6px rgba(14,165,233,.08);
}
.step h3 { font-size: 14px; font-weight: 700; margin-bottom: 8px; color: var(--ink); }
.step p { font-size: 13px; color: var(--steel); line-height: 1.6; }

/* =========== PORTFOLIO =========== */
.portfolio { background: var(--slate-50); }
.portfolio__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.portfolio-item {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: box-shadow var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.portfolio-item:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}
.portfolio-item__visual {
  aspect-ratio: 16/9;
  background: var(--slate-100);
  overflow: hidden;
  position: relative;
  display: flex; align-items: center; justify-content: center;
}
.portfolio-item__visual img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 500ms var(--ease);
}
.portfolio-item:hover .portfolio-item__visual img { transform: scale(1.05); }
.portfolio-item__visual svg {
  width: 64px; height: 64px;
  color: var(--steel-light);
}
.portfolio-item__label {
  position: absolute;
  top: 12px; left: 12px;
  background: rgba(15,23,42,.65);
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: var(--r-sm);
  backdrop-filter: blur(8px);
}
.portfolio-item__body { padding: 20px 24px; }
.portfolio-item__body h3 { font-size: 15px; margin-bottom: 6px; }
.portfolio-item__meta { font-size: 13px; color: var(--steel); margin-bottom: 10px; }
.portfolio-item__result {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  color: var(--success);
  letter-spacing: .02em;
}
.portfolio-item__result::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--success);
}

/* =========== REVIEWS =========== */
.reviews { background: var(--white); }
.reviews__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.review {
  background: var(--slate-50);
  border: 1px solid var(--slate-200);
  border-radius: var(--r-lg);
  padding: 28px;
  position: relative;
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.review::before {
  content: '\201C';
  position: absolute;
  top: 20px; right: 24px;
  font-size: 64px;
  line-height: 1;
  color: var(--slate-200);
  font-family: Georgia, serif;
  transition: color var(--dur) var(--ease);
}
.review:hover {
  border-color: rgba(14,165,233,.2);
  box-shadow: var(--shadow);
}
.review:hover::before { color: rgba(14,165,233,.2); }
.review__stars {
  color: #F59E0B;
  font-size: 14px;
  letter-spacing: 2px;
  margin-bottom: 14px;
}
.review__text {
  font-size: 14px;
  color: var(--steel-dark);
  line-height: 1.7;
  margin-bottom: 20px;
}
.review__author { display: flex; align-items: center; gap: 12px; }
.review__avatar {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-deep) 100%);
  display: grid; place-items: center;
  color: var(--white);
  font-weight: 800;
  font-size: 14px;
  flex-shrink: 0;
}
.review__meta { display: flex; flex-direction: column; gap: 2px; }
.review__meta strong { font-size: 14px; color: var(--ink); font-weight: 700; }
.review__meta span { font-size: 12px; color: var(--steel); }

/* =========== FORM SECTION =========== */
.form-section {
  background: linear-gradient(158deg, #071828 0%, #0C4A6E 60%, #0F3D5E 100%);
  padding: 96px 0;
  position: relative;
  overflow: hidden;
}
.form-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(14,165,233,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(14,165,233,.05) 1px, transparent 1px);
  background-size: 40px 40px;
}
.form-section__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.form-section__text h2 {
  color: var(--white);
  margin-bottom: 16px;
}
.form-section__lead {
  color: rgba(255,255,255,.68);
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 32px;
}
.form-section__perks {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.form-section__perks li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: rgba(255,255,255,.80);
}
.form-section__perks li::before {
  content: '';
  width: 18px; height: 18px;
  border-radius: 50%;
  background: rgba(14,165,233,.20);
  border: 1px solid rgba(14,165,233,.40);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none'%3E%3Cpath d='M2 6l3 3 5-5' stroke='%230EA5E9' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 10px;
}

/* Form card */
.form-card {
  background: var(--white);
  border-radius: var(--r-xl);
  padding: 36px;
  box-shadow: 0 24px 56px rgba(0,0,0,.25);
}
.form-card h3 {
  font-size: 22px;
  color: var(--ink);
  margin-bottom: 6px;
}
.form-card__sub {
  font-size: 14px;
  color: var(--steel);
  margin-bottom: 28px;
}
.form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.form-group label {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-soft);
  letter-spacing: -0.01em;
}
.form-group input,
.form-group textarea,
.form-group select {
  padding: 12px 16px;
  border: 1.5px solid var(--slate-200);
  border-radius: var(--r);
  font-family: var(--font);
  font-size: 15px;
  color: var(--ink);
  background: var(--white);
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
  outline: none;
  width: 100%;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(14,165,233,.12);
}
.form-group input.error,
.form-group textarea.error {
  border-color: var(--danger);
  box-shadow: 0 0 0 3px rgba(239,68,68,.10);
}
.form-group textarea { resize: vertical; min-height: 90px; }
.form-policy {
  margin-top: 12px;
  font-size: 12px;
  color: var(--steel-light);
  text-align: center;
}
.form-policy a { color: var(--steel); text-decoration: underline; }
.form-success {
  display: none;
  text-align: center;
  padding: 24px;
}
.form-success.is-visible { display: block; }
.form-success__icon { font-size: 48px; margin-bottom: 12px; }
.form-success h3 { color: var(--success); margin-bottom: 8px; }

/* =========== FAQ =========== */
.faq { background: var(--slate-50); }
.faq__list { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; gap: 8px; }
.faq-item {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: border-color var(--dur) var(--ease);
}
.faq-item.is-open { border-color: rgba(14,165,233,.3); }
.faq-item__q {
  width: 100%;
  background: none;
  border: none;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  text-align: left;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  letter-spacing: -0.015em;
  transition: color var(--dur) var(--ease);
}
.faq-item__q:hover { color: var(--blue); }
.faq-item.is-open .faq-item__q { color: var(--blue); }
.faq-item__q::after {
  content: '';
  width: 20px; height: 20px;
  flex-shrink: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none'%3E%3Cpath d='M5 7.5L10 12.5L15 7.5' stroke='%2364748B' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  transition: transform 250ms var(--ease), opacity var(--dur) var(--ease);
}
.faq-item.is-open .faq-item__q::after { transform: rotate(180deg); }
.faq-item__a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 320ms var(--ease);
}
.faq-item__a-inner {
  padding: 0 24px 20px;
  font-size: 14px;
  color: var(--steel-dark);
  line-height: 1.7;
}

/* =========== SEO TEXT =========== */
.seo-text {
  background: var(--white);
  border-top: 1px solid var(--slate-100);
  padding: 64px 0;
}
.seo-text__inner {
  max-width: 820px;
  margin: 0 auto;
}
.seo-text__inner h2 {
  font-size: clamp(20px, 2.5vw, 28px);
  margin-bottom: 24px;
  color: var(--ink);
}
.seo-text__inner p {
  font-size: 14px;
  color: var(--steel);
  line-height: 1.8;
  margin-bottom: 16px;
}
.seo-text__inner strong { color: var(--steel-dark); }

/* =========== FOOTER =========== */
.site-footer {
  background: var(--ink);
  color: rgba(255,255,255,.65);
  padding: 64px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-col h4 {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 16px;
}
.footer-col p {
  font-size: 13px;
  color: rgba(255,255,255,.50);
  line-height: 1.7;
}
.footer-col a {
  display: block;
  font-size: 13px;
  color: rgba(255,255,255,.55);
  padding: 4px 0;
  transition: color var(--dur) var(--ease);
}
.footer-col a:hover { color: var(--blue); }
.footer-contacts { display: flex; flex-direction: column; gap: 8px; }
.footer-contacts li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 13px;
  color: rgba(255,255,255,.55);
}
.footer-contacts i { margin-top: 3px; color: var(--blue); font-size: 12px; flex-shrink: 0; }
.footer-contacts a { display: inline; padding: 0; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.07);
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 12px;
  color: rgba(255,255,255,.35);
}
.footer-bottom a { color: rgba(255,255,255,.35); font-size: 12px; }
.footer-bottom a:hover { color: var(--blue); }

/* =========== POPUP =========== */
.popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15,23,42,.60);
  backdrop-filter: blur(4px);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.popup-overlay.is-open { display: flex; }
.popup {
  background: var(--white);
  border-radius: var(--r-xl);
  padding: 40px 36px;
  max-width: 420px;
  width: 100%;
  text-align: center;
  position: relative;
  box-shadow: 0 32px 64px rgba(0,0,0,.25);
  animation: popup-in 300ms var(--ease-out);
}
@keyframes popup-in {
  from { opacity: 0; transform: scale(.94) translateY(12px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}
.popup__close {
  position: absolute;
  top: 14px; right: 14px;
  background: var(--slate-100);
  border: none;
  width: 30px; height: 30px;
  border-radius: 50%;
  font-size: 18px;
  cursor: pointer;
  color: var(--steel);
  display: grid; place-items: center;
  transition: all var(--dur) var(--ease);
  line-height: 1;
}
.popup__close:hover { background: var(--slate-200); color: var(--ink); }
.popup__icon { font-size: 40px; margin-bottom: 12px; }
.popup__title { font-size: 22px; margin-bottom: 10px; }
.popup__text { font-size: 14px; color: var(--steel); line-height: 1.6; margin-bottom: 24px; }
.popup__btn { width: 100%; }
.popup__note { margin-top: 10px; font-size: 12px; color: var(--steel-light); }

/* =========== MESSENGER BUTTONS =========== */
.messenger-buttons {
  position: fixed;
  bottom: 28px; right: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 700;
}
.messenger-btn {
  width: 50px; height: 50px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
  text-decoration: none;
  font-size: 12px;
  font-weight: 800;
  box-shadow: var(--shadow-lg);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.messenger-btn:hover {
  transform: scale(1.1) translateY(-2px);
  box-shadow: 0 12px 28px rgba(0,0,0,.25);
  color: var(--white);
}
.messenger-btn--tg { background: #29A9EB; }
.messenger-btn--max { background: var(--blue-deep); font-size: 11px; }
.messenger-btn svg { width: 22px; height: 22px; }

/* =========== REVEAL ANIMATIONS =========== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 600ms var(--ease), transform 600ms var(--ease);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
[data-delay="1"] { transition-delay: 80ms; }
[data-delay="2"] { transition-delay: 160ms; }
[data-delay="3"] { transition-delay: 240ms; }
[data-delay="4"] { transition-delay: 320ms; }
[data-delay="5"] { transition-delay: 400ms; }

/* =========== RESPONSIVE =========== */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .steps__list { grid-template-columns: 1fr 1fr; gap: 32px; }
  .steps__list::before { display: none; }
}

@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__visual { display: none; }
  .services__grid { grid-template-columns: repeat(2, 1fr); }
  .pains__grid { grid-template-columns: repeat(2, 1fr); }
  .advantages__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  section { padding: 64px 0; }
  .header-nav { display: none; }
  /* Hide CTA button in header on mobile, keep phone */
  .header-cta .btn { display: none; }
  .burger { display: flex; }
  .hero { padding: 72px 0 88px; }
  .hero__metrics { grid-template-columns: repeat(3, 1fr); }
  .form-section__grid { grid-template-columns: 1fr; gap: 40px; }
  .reviews__grid { grid-template-columns: 1fr; }
  .portfolio__grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .services__grid { grid-template-columns: 1fr; }
  .pains__grid { grid-template-columns: 1fr; }
  .advantages__grid { grid-template-columns: 1fr; }
  .steps__list { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .hero__metrics { grid-template-columns: repeat(3, auto); gap: 12px; }
  .hero__metric-item:not(:first-child) { padding-left: 12px; }
  .hero__metric-item { padding-right: 12px; }
  .hero__metric-num { font-size: 24px; }
}

/* =========== SCROLL PROGRESS BAR =========== */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue-deep), var(--blue));
  z-index: 1000;
  width: 0%;
  transition: width .1s linear;
}
