/* ═══════════════════════════════════════════════
   KLIMAT FROST DUBAI — Main Stylesheet
   Design system inspired by frost-air.ae reference
   Primary: #174599 | Font: Inter + Futura-fallback
═══════════════════════════════════════════════ */

/* ─── RESET & BASE ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --blue:        #174599;
  --blue-dark:   #0f3070;
  --blue-light:  #1a52b3;
  --blue-faint:  #e8f0fe;
  --blue-mid:    #4d7de0;
  --black:       #000000;
  --white:       #ffffff;
  --dark-bg:     #0c1f4a;
  --dark-card:   #1e3a7a;
  --grey-100:    #f5f7fc;
  --grey-200:    #e8edf5;
  --grey-400:    #9aa5b8;
  --grey-600:    #4a5568;
  --text:        #1a202c;
  --text-muted:  #6b7280;

  --radius-sm:   8px;
  --radius-md:   14px;
  --radius-lg:   24px;
  --radius-xl:   32px;

  --shadow-sm:   0 2px 8px rgba(23,69,153,.08);
  --shadow-md:   0 8px 32px rgba(23,69,153,.14);
  --shadow-lg:   0 20px 60px rgba(23,69,153,.20);

  --transition:  .25s cubic-bezier(.4,0,.2,1);

  --font-body:   'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-heading:'Futura', 'Century Gothic', 'Trebuchet MS', var(--font-body);
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ─── CONTAINER ─── */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ─── TYPOGRAPHY ─── */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  line-height: 1.2;
  font-weight: 400;
}

/* ─── BUTTONS ─── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 50px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .02em;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}

.btn--primary {
  background: var(--blue);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(23,69,153,.35);
}
.btn--primary:hover {
  background: var(--blue-dark);
  box-shadow: 0 8px 28px rgba(23,69,153,.45);
  transform: translateY(-1px);
}

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

.btn--ghost {
  background: rgba(255,255,255,.12);
  color: var(--white);
  border: 2px solid rgba(255,255,255,.4);
  backdrop-filter: blur(8px);
}
.btn--ghost:hover {
  background: rgba(255,255,255,.22);
  border-color: rgba(255,255,255,.7);
  transform: translateY(-1px);
}

.btn--full { width: 100%; }

/* Flash animation (from reference) */
.btn--flash::after {
  content: '';
  position: absolute;
  top: -50%; left: -75%;
  width: 50%; height: 200%;
  background: linear-gradient(to right, transparent, rgba(255,255,255,.35), transparent);
  transform: skewX(-20deg);
  animation: flash 3s linear infinite;
}
@keyframes flash {
  0%   { left: -75%; }
  30%  { left: 125%; }
  100% { left: 125%; }
}

/* ─── SECTION COMMON ─── */
.section--dark  { background: var(--dark-bg); }
.section--light { background: var(--grey-100); }

section { padding: 96px 0; }

.section-header { text-align: center; margin-bottom: 60px; }
.section-header--light .section-tag,
.section-header--light .section-title { color: var(--white); }

.section-tag {
  display: inline-block;
  color: var(--blue);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: 12px;
  padding: 6px 16px;
  background: var(--blue-faint);
  border-radius: 50px;
}
.section-tag--light { color: rgba(255,255,255,.7); background: rgba(255,255,255,.1); }

.section-title {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 400;
  color: var(--text);
}
.section-subtitle {
  margin-top: 16px;
  color: var(--text-muted);
  font-size: 16px;
}

/* ═══════════════════════════════════════════════
   HEADER
═══════════════════════════════════════════════ */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(255,255,255,.0);
  backdrop-filter: blur(0px);
  transition: background .3s, backdrop-filter .3s, box-shadow .3s;
}
.header.scrolled {
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(16px);
  box-shadow: 0 2px 24px rgba(23,69,153,.10);
}
.header__inner {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 72px;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.logo__text {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 400;
  color: var(--white);
  transition: color .3s;
}
.logo__text strong { font-weight: 700; }
.header.scrolled .logo__text { color: var(--blue-dark); }

/* Nav */
.nav { flex: 1; }
.nav__list {
  display: flex;
  gap: 8px;
  justify-content: center;
}
.nav__link {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255,255,255,.85);
  padding: 8px 14px;
  border-radius: 8px;
  transition: var(--transition);
}
.nav__link:hover { color: var(--white); background: rgba(255,255,255,.12); }
.header.scrolled .nav__link { color: var(--grey-600); }
.header.scrolled .nav__link:hover { color: var(--blue); background: var(--blue-faint); }

.header__cta { padding: 10px 22px; font-size: 14px; flex-shrink: 0; }
.header.scrolled .header__cta { color: var(--blue); border-color: var(--blue); }
.header.scrolled .header__cta:hover { background: var(--blue); color: var(--white); }
/* default (hero) state */
.header__cta { color: var(--white); border-color: rgba(255,255,255,.6); }

/* Burger */
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 36px;
  padding: 4px;
  flex-shrink: 0;
}
.burger span {
  display: block;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}
.header.scrolled .burger span { background: var(--blue); }
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav */
.mobile-nav {
  position: fixed;
  top: 72px; left: 0; right: 0;
  background: rgba(12,31,74,.97);
  backdrop-filter: blur(20px);
  z-index: 999;
  transform: translateY(-110%);
  transition: transform .3s cubic-bezier(.4,0,.2,1);
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.mobile-nav.open { transform: translateY(0); }
.mobile-nav__list { padding: 20px 24px 28px; display: flex; flex-direction: column; gap: 4px; }
.mobile-nav__link {
  display: block;
  color: rgba(255,255,255,.85);
  font-size: 16px;
  font-weight: 500;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,.08);
  transition: color .2s;
}
.mobile-nav__link:hover { color: var(--white); }
.mobile-nav__phone {
  display: inline-block;
  margin-top: 16px;
  color: var(--white);
  font-weight: 600;
  font-size: 18px;
}

/* ═══════════════════════════════════════════════
   HERO
═══════════════════════════════════════════════ */
.hero {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--dark-bg) 0%, var(--blue-dark) 60%, var(--blue-light) 100%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding-top: 72px;
}

.hero__bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}
.hero__bg-grid::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(77,125,224,.25) 0%, transparent 60%);
}

.hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  padding-top: 60px;
  padding-bottom: 80px;
}

.hero__eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--blue-mid);
  margin-bottom: 16px;
}

.hero__title {
  font-family: var(--font-heading);
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 600;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 24px;
}

.hero__descr {
  font-size: 18px;
  font-weight: 400;
  color: rgba(255,255,255,.75);
  line-height: 1.7;
  margin-bottom: 40px;
  max-width: 520px;
}

.hero__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.hero__badges {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
}
.badge {
  display: flex;
  flex-direction: column;
}
.badge__num {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 600;
  color: var(--white);
  line-height: 1;
}
.badge__label {
  font-size: 12px;
  color: rgba(255,255,255,.55);
  margin-top: 4px;
}

/* Hero visual */
.hero__visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.hero__card-stack {
  position: relative;
  width: 100%;
  max-width: 380px;
  height: 380px;
}

.hero__card {
  position: absolute;
  background: rgba(255,255,255,.10);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: var(--radius-md);
  padding: 20px 24px;
}

.hero__card--main {
  inset: 40px 0 40px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
}
.hero__ac-icon { width: 100%; max-width: 200px; filter: drop-shadow(0 8px 24px rgba(77,125,224,.4)); }

.hero__card--top {
  top: 0; left: -10px; right: 60px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  border-radius: var(--radius-sm);
}
.hero__card-title { font-weight: 600; font-size: 13px; color: var(--white); }
.hero__card-sub { font-size: 11px; color: rgba(255,255,255,.55); }
.hero__card-value { margin-left: auto; font-size: 12px; font-weight: 700; color: #4ade80; }

.hero__card--temp {
  bottom: 0; right: -10px; left: 60px;
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 14px 20px;
  border-radius: var(--radius-sm);
}
.hero__temp { font-family: var(--font-heading); font-size: 40px; font-weight: 600; color: var(--white); }
.hero__temp-label { font-size: 12px; color: rgba(255,255,255,.55); }
.hero__card-label { font-size: 13px; color: rgba(255,255,255,.7); font-weight: 500; }

.hero__scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,.4);
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

/* ═══════════════════════════════════════════════
   PROBLEMS
═══════════════════════════════════════════════ */
.problems__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.problem-card {
  background: var(--dark-card);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  position: relative;
  transition: transform var(--transition), box-shadow var(--transition);
  border: 1px solid rgba(255,255,255,.06);
}
.problem-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.problem-card__icon { margin-bottom: 20px; }
.problem-card::before {
  content: attr(data-index);
  position: absolute;
  top: 20px;
  right: 24px;
  font-family: var(--font-heading);
  font-size: 48px;
  font-weight: 700;
  color: rgba(255,255,255,.04);
  line-height: 1;
}
.problem-card__title {
  font-size: 18px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 10px;
}
.problem-card__text {
  font-size: 14px;
  color: rgba(255,255,255,.55);
  line-height: 1.65;
}

/* ═══════════════════════════════════════════════
   FEATURES
═══════════════════════════════════════════════ */
.features__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.feature-item {
  padding: 32px 28px;
  border-radius: var(--radius-md);
  border: 1.5px solid var(--grey-200);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}
.feature-item:hover {
  border-color: var(--blue);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.feature-item__icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: var(--blue-faint);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.feature-item__title {
  font-size: 17px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 10px;
}
.feature-item__text {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ═══════════════════════════════════════════════
   SERVICES
═══════════════════════════════════════════════ */
.services { background: var(--white); }

.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  background: var(--white);
  border: 1.5px solid var(--grey-200);
  border-radius: var(--radius-md);
  padding: 32px 28px 28px;
  position: relative;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  gap: 0;
}
.service-card:hover {
  border-color: var(--blue);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}
.service-card__num {
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 700;
  color: var(--blue-mid);
  letter-spacing: .08em;
  margin-bottom: 16px;
}
.service-card__icon { margin-bottom: 20px; }
.service-card__title {
  font-size: 19px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 12px;
}
.service-card__text {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.65;
  flex: 1;
  margin-bottom: 20px;
}
.service-card__link {
  font-size: 13px;
  font-weight: 600;
  color: var(--blue);
  transition: gap var(--transition), color var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.service-card:hover .service-card__link { gap: 8px; }

/* ═══════════════════════════════════════════════
   CASES / CAROUSEL
═══════════════════════════════════════════════ */
.cases__carousel { overflow: hidden; border-radius: var(--radius-lg); }

.cases__track {
  display: flex;
  gap: 24px;
  transition: transform .5s cubic-bezier(.4,0,.2,1);
  cursor: grab;
}
.cases__track:active { cursor: grabbing; }

.case-card {
  flex: 0 0 calc(33.333% - 16px);
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition), transform var(--transition);
  border: 1px solid var(--grey-200);
}
.case-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }

.case-card__img {
  height: 200px;
  position: relative;
  overflow: hidden;
}
.case-card__img--1 { background: linear-gradient(135deg, #1a52b3, #0f3070); }
.case-card__img--2 { background: linear-gradient(135deg, #0e4d9c, #0a3d7a); }
.case-card__img--3 { background: linear-gradient(135deg, #2563eb, #1d4ed8); }
.case-card__img--4 { background: linear-gradient(135deg, #1e40af, #1e3a8a); }
.case-card__img--5 { background: linear-gradient(135deg, #3b82f6, #1d4ed8); }

/* AC unit illustration overlay on each case card */
.case-card__img::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 60%, rgba(255,255,255,.06) 0%, transparent 60%),
    repeating-linear-gradient(0deg, transparent, transparent 20px, rgba(255,255,255,.03) 20px, rgba(255,255,255,.03) 21px);
}
.case-card__img::after {
  content: '';
  position: absolute;
  bottom: 20px; left: 50%; transform: translateX(-50%);
  width: 140px; height: 50px;
  background: rgba(255,255,255,.12);
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,.2);
}

.case-card__overlay {
  position: absolute;
  top: 16px; left: 16px;
}
.case-card__type {
  background: rgba(255,255,255,.15);
  backdrop-filter: blur(8px);
  color: var(--white);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 50px;
  border: 1px solid rgba(255,255,255,.25);
}

.case-card__body { padding: 24px; }
.case-card__title { font-size: 17px; font-weight: 600; color: var(--text); margin-bottom: 6px; }
.case-card__meta { font-size: 12px; color: var(--blue-mid); font-weight: 600; margin-bottom: 10px; letter-spacing: .04em; }
.case-card__text { font-size: 13px; color: var(--text-muted); line-height: 1.6; }

.cases__controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 36px;
}

.carousel-btn {
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 2px solid var(--grey-200);
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}
.carousel-btn:hover {
  border-color: var(--blue);
  background: var(--blue-faint);
  transform: scale(1.05);
}

.carousel-dots { display: flex; gap: 8px; }
.carousel-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--grey-200);
  border: none;
  transition: var(--transition);
}
.carousel-dot.active {
  background: var(--blue);
  width: 24px;
  border-radius: 4px;
}

/* ═══════════════════════════════════════════════
   PROCESS
═══════════════════════════════════════════════ */
.process__timeline {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  position: relative;
}

.process__timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0; bottom: 0;
  width: 2px;
  background: rgba(255,255,255,.08);
  transform: translateX(-50%);
}

.process-step {
  display: flex;
  gap: 20px;
  padding: 28px 40px;
  position: relative;
  transition: background var(--transition);
}
.process-step:hover { background: rgba(255,255,255,.03); border-radius: var(--radius-md); }

.process-step:nth-child(odd) {
  padding-right: 60px;
  justify-content: flex-end;
  text-align: right;
  flex-direction: row-reverse;
}
.process-step:nth-child(even) {
  padding-left: 60px;
}

.process-step__num {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--blue);
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 4px rgba(23,69,153,.3);
  position: relative;
  z-index: 1;
}

.process-step__title {
  font-size: 17px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 8px;
}
.process-step__text {
  font-size: 14px;
  color: rgba(255,255,255,.55);
  line-height: 1.65;
}

/* ═══════════════════════════════════════════════
   PRICES
═══════════════════════════════════════════════ */
.prices { background: var(--white); }

.prices__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
  margin-bottom: 48px;
}

.price-card {
  border-radius: var(--radius-md);
  border: 1.5px solid var(--grey-200);
  padding: 36px 32px;
  position: relative;
  transition: var(--transition);
  background: var(--white);
}
.price-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }

.price-card--featured {
  border-color: var(--blue);
  background: var(--blue-faint);
  box-shadow: var(--shadow-md);
  transform: scale(1.02);
}
.price-card--featured:hover { transform: scale(1.02) translateY(-3px); }

.price-card__badge {
  position: absolute;
  top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--blue);
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 5px 18px;
  border-radius: 50px;
  white-space: nowrap;
}

.price-card__tag {
  font-size: 11px;
  font-weight: 700;
  color: var(--blue-mid);
  letter-spacing: .1em;
  text-transform: uppercase;
  display: block;
  margin-bottom: 8px;
}
.price-card__plan {
  font-size: 20px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 20px;
}
.price-card__price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 28px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--grey-200);
}
.price-card--featured .price-card__price { border-bottom-color: rgba(23,69,153,.15); }
.price-card__from { font-size: 12px; color: var(--text-muted); }
.price-card__amount {
  font-family: var(--font-heading);
  font-size: 36px;
  font-weight: 600;
  color: var(--blue);
  line-height: 1;
}
.price-card__currency { font-size: 16px; font-weight: 600; color: var(--blue-mid); }

.price-card__features {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 28px;
}
.price-card__features li {
  font-size: 14px;
  color: var(--text-muted);
  padding-left: 22px;
  position: relative;
}
.price-card__features li::before {
  content: '';
  position: absolute;
  left: 0; top: 6px;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--blue-faint);
  border: 2px solid var(--blue-mid);
}
.price-card--featured .price-card__features li { color: var(--text); }

.price-card__btn { width: 100%; }

/* Maintenance strip */
.maintenance-strip {
  background: linear-gradient(135deg, var(--dark-bg), var(--blue-dark));
  border-radius: var(--radius-md);
  padding: 40px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.maintenance-strip__text h3 {
  font-size: 22px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 8px;
}
.maintenance-strip__text p {
  font-size: 14px;
  color: rgba(255,255,255,.6);
  max-width: 500px;
  line-height: 1.65;
}

/* ═══════════════════════════════════════════════
   STATS
═══════════════════════════════════════════════ */
.stats { padding: 80px 0; }

.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 64px;
  text-align: center;
}

.stat-item {
  padding: 36px 24px;
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1.5px solid var(--grey-200);
  transition: var(--transition);
}
.stat-item:hover { border-color: var(--blue); box-shadow: var(--shadow-sm); }
.stat-item__num {
  font-family: var(--font-heading);
  font-size: 48px;
  font-weight: 700;
  color: var(--blue);
  line-height: 1;
}
.stat-item__suffix {
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 700;
  color: var(--blue-mid);
}
.stat-item__label {
  display: block;
  margin-top: 10px;
  font-size: 14px;
  color: var(--text-muted);
  font-weight: 500;
}

/* Brands */
.brands { text-align: center; }
.brands__label {
  font-size: 12px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 24px;
  font-weight: 600;
}
.brands__logos {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}
.brand-logo {
  padding: 12px 24px;
  border-radius: 10px;
  border: 1.5px solid var(--grey-200);
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 600;
  color: var(--grey-600);
  letter-spacing: .04em;
  background: var(--white);
  transition: var(--transition);
}
.brand-logo:hover {
  border-color: var(--blue);
  color: var(--blue);
  background: var(--blue-faint);
}

/* ═══════════════════════════════════════════════
   CONTACT
═══════════════════════════════════════════════ */
.contact {
  background: linear-gradient(135deg, var(--dark-bg) 0%, var(--blue-dark) 100%);
  position: relative;
  overflow: hidden;
}
.contact::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}

.contact__wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
  position: relative;
}

.contact__title {
  font-size: clamp(26px, 3.5vw, 40px);
  font-weight: 400;
  color: var(--white);
  margin-bottom: 16px;
  margin-top: 16px;
}
.contact__subtitle {
  font-size: 15px;
  color: rgba(255,255,255,.6);
  line-height: 1.65;
  margin-bottom: 40px;
}

.contact__details { display: flex; flex-direction: column; gap: 16px; margin-bottom: 36px; }
.contact__detail {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  color: rgba(255,255,255,.8);
  transition: color var(--transition);
}
.contact__detail:hover { color: var(--white); }
.contact__detail svg { flex-shrink: 0; margin-top: 2px; }
.contact__detail--address { cursor: default; }

.contact__social { display: flex; gap: 12px; }
.social-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  transition: var(--transition);
}
.social-btn--whatsapp {
  background: rgba(37,211,102,.15);
  color: #25D366;
  border: 1px solid rgba(37,211,102,.3);
}
.social-btn--whatsapp:hover { background: rgba(37,211,102,.25); transform: translateY(-2px); }
.social-btn--telegram {
  background: rgba(42,171,238,.15);
  color: #2AABEE;
  border: 1px solid rgba(42,171,238,.3);
}
.social-btn--telegram:hover { background: rgba(42,171,238,.25); transform: translateY(-2px); }

/* Form */
.contact__form-wrapper {
  background: rgba(255,255,255,.06);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-lg);
  padding: 40px;
}

.contact-form { display: flex; flex-direction: column; gap: 20px; }

.form-group { display: flex; flex-direction: column; gap: 6px; }

.form-label {
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,.7);
  letter-spacing: .02em;
}

.form-input {
  background: rgba(255,255,255,.08);
  border: 1.5px solid rgba(255,255,255,.15);
  border-radius: 10px;
  padding: 13px 16px;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--white);
  transition: border-color var(--transition), background var(--transition);
  width: 100%;
  outline: none;
  appearance: none;
}
.form-input::placeholder { color: rgba(0,0,0,.5); }
.form-input:focus {
  border-color: var(--blue-mid);
  background: rgba(255,255,255,.12);
}
.form-input.error { border-color: #f87171; }

.form-select { cursor: pointer; }
.form-select option { color: var(--text); background: var(--white); }
.form-textarea { resize: vertical; min-height: 100px; }

.form-error {
  font-size: 12px;
  color: #f87171;
  display: none;
}
.form-error.visible { display: block; }

.form-note {
  font-size: 12px;
  color: rgba(255,255,255,.4);
  text-align: center;
  margin-top: -8px;
}

.form-success {
  text-align: center;
  padding: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  color: var(--white);
  font-size: 16px;
  font-weight: 500;
}

/* ═══════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════ */
.footer {
  background: var(--black);
  color: rgba(255,255,255,.6);
  padding-top: 60px;
}

.footer__inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,.06);
}

.footer__brand .logo__text { color: rgba(255,255,255,.9); }
.footer__tagline {
  font-size: 13px;
  color: rgba(255,255,255,.4);
  margin-top: 12px;
  line-height: 1.65;
}

.footer__heading {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  color: rgba(255,255,255,.4);
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.footer__links ul { display: flex; flex-direction: column; gap: 10px; }
.footer__links a {
  font-size: 14px;
  color: rgba(255,255,255,.6);
  transition: color var(--transition);
}
.footer__links a:hover { color: var(--white); }

.footer__phone {
  display: block;
  font-size: 18px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 8px;
  transition: color var(--transition);
}
.footer__phone:hover { color: var(--blue-mid); }
.footer__email {
  display: block;
  font-size: 14px;
  color: rgba(255,255,255,.6);
  margin-bottom: 16px;
  transition: color var(--transition);
}
.footer__email:hover { color: var(--white); }
.footer__address {
  font-size: 13px;
  color: rgba(255,255,255,.35);
  line-height: 1.65;
}

.footer__bottom {
  padding: 20px 0;
}
.footer__bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: rgba(255,255,255,.3);
}

/* ═══════════════════════════════════════════════
   FAB
═══════════════════════════════════════════════ */
.fab {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 900;
}
.fab__btn {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(0,0,0,.25);
  transition: transform var(--transition), box-shadow var(--transition);
  position: relative;
  z-index: 1;
}
.fab__btn:hover {
  transform: scale(1.08);
  box-shadow: 0 8px 32px rgba(0,0,0,.3);
}
.fab__pulse {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: #25D366;
  opacity: .3;
  animation: fab-pulse 2s ease-in-out infinite;
  pointer-events: none;
}
@keyframes fab-pulse {
  0%   { transform: scale(1); opacity: .3; }
  50%  { transform: scale(1.5); opacity: 0; }
  100% { transform: scale(1); opacity: 0; }
}

/* ═══════════════════════════════════════════════
   REVEAL ANIMATION
═══════════════════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ═══════════════════════════════════════════════
   RESPONSIVE — TABLET
═══════════════════════════════════════════════ */
@media screen and (max-width: 980px) {
  .nav { display: none; }
  .header__cta { display: none; }
  .burger { display: flex; }

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

  .problems__grid { grid-template-columns: repeat(2, 1fr); }
  .features__grid { grid-template-columns: repeat(2, 1fr); }
  .services__grid { grid-template-columns: repeat(2, 1fr); }
  .prices__grid { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto 48px; }
  .price-card--featured { transform: none; }
  .price-card--featured:hover { transform: translateY(-3px); }
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .contact__wrapper { grid-template-columns: 1fr; gap: 40px; }
  .footer__inner { grid-template-columns: 1fr 1fr; }

  .process__timeline { grid-template-columns: 1fr; }
  .process__timeline::before { left: 24px; }
  .process-step:nth-child(odd),
  .process-step:nth-child(even) {
    padding: 20px 24px 20px 80px;
    flex-direction: row;
    text-align: left;
    justify-content: flex-start;
  }
  .process-step__num { position: absolute; left: 20px; }
  .process-step { position: relative; }

  .maintenance-strip { flex-direction: column; text-align: center; padding: 32px; }

  .case-card { flex: 0 0 calc(50% - 12px); }
}

@media screen and (max-width: 960px) {
  .hero__title { font-size: 36px; }
  .section-title { font-size: 30px; }
}

/* ═══════════════════════════════════════════════
   RESPONSIVE — MOBILE
═══════════════════════════════════════════════ */
@media screen and (max-width: 640px) {
  section { padding: 64px 0; }
  .container { padding: 0 16px; }

  .hero { min-height: auto; padding: 120px 0 80px; }
  .hero__title { font-size: 28px; }
  .hero__descr { font-size: 16px; }
  .hero__actions { flex-direction: column; }
  .hero__badges { gap: 20px; }
  .hero__scroll-hint { display: none; }

  .problems__grid { grid-template-columns: 1fr; }
  .features__grid { grid-template-columns: 1fr; }
  .services__grid { grid-template-columns: 1fr; }
  .stats__grid { grid-template-columns: 1fr 1fr; }

  .footer__inner { grid-template-columns: 1fr; gap: 32px; }
  .footer__bottom-inner { flex-direction: column; gap: 8px; text-align: center; }

  .contact__form-wrapper { padding: 24px; }
  .section-title { font-size: 24px; }

  .case-card { flex: 0 0 calc(100% - 0px); }

  .fab { bottom: 20px; right: 20px; }
}
