/* =========================================
   WebGroup.kz — Main Stylesheet
   Colors: Blue #1B6BA8, Dark #2C2C2C, Light BG
   ========================================= */

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

:root {
  --blue: #1B6BA8;
  --blue-dark: #155a91;
  --blue-light: #e8f2fb;
  --blue-mid: #2980b9;
  --dark: #1e2a35;
  --dark-2: #2C3E50;
  --gray: #64748b;
  --gray-light: #f1f5f9;
  --gray-border: #e2e8f0;
  --white: #ffffff;
  --text: #1e293b;
  --text-muted: #64748b;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow: 0 4px 24px rgba(27, 107, 168, 0.10);
  --shadow-lg: 0 8px 40px rgba(27, 107, 168, 0.15);
  --transition: all 0.3s ease;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* =================== BUTTONS =================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--blue);
  color: var(--white);
  border-color: var(--blue);
}
.btn-primary:hover {
  background: var(--blue-dark);
  border-color: var(--blue-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(27,107,168,0.3);
}

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

.full-width { width: 100%; }

/* =================== SECTION COMMON =================== */
.section-badge {
  display: inline-block;
  padding: 5px 14px;
  background: var(--blue-light);
  color: var(--blue);
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 12px;
}
.section-badge.light {
  background: rgba(255,255,255,0.15);
  color: #fff;
}

.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-title {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  color: var(--dark);
  line-height: 1.2;
  margin-bottom: 16px;
}
.section-title.light { color: #fff; }

.section-desc {
  font-size: 17px;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto;
}

/* =================== HEADER =================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--gray-border);
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

.nav-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 70px;
}

.logo-link { flex-shrink: 0; }
.logo-img { height: 44px; object-fit: contain; }
.footer-logo { height: 40px; object-fit: contain; filter: brightness(0) invert(1); }

.nav-links {
  display: flex;
  gap: 4px;
  margin-left: auto;
}

.nav-links a {
  padding: 8px 16px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 500;
  font-size: 15px;
  color: var(--dark-2);
  transition: var(--transition);
}
.nav-links a:hover {
  background: var(--blue-light);
  color: var(--blue);
}

.nav-cta { flex-shrink: 0; }

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  margin-left: auto;
}
.burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--dark);
  border-radius: 2px;
  transition: var(--transition);
}

/* MOBILE MENU */
.mobile-menu {
  display: none;
  flex-direction: column;
  background: var(--white);
  border-bottom: 1px solid var(--gray-border);
  padding: 8px 24px 16px;
}
.mobile-menu.open { display: flex; }
.mobile-link {
  padding: 12px 0;
  text-decoration: none;
  font-weight: 500;
  color: var(--dark-2);
  border-bottom: 1px solid var(--gray-border);
  transition: color 0.2s;
}
.mobile-link:hover { color: var(--blue); }
.mobile-link:last-child { border-bottom: none; }

/* =================== HERO =================== */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #f8fbff 0%, #e8f2fb 50%, #f0f7ff 100%);
  padding: 80px 0 96px;
}

.hero-bg-shapes {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.12;
}
.shape-1 {
  width: 600px; height: 600px;
  background: var(--blue);
  top: -200px; right: -100px;
}
.shape-2 {
  width: 300px; height: 300px;
  background: var(--blue-mid);
  bottom: -100px; left: -80px;
}
.shape-3 {
  width: 200px; height: 200px;
  background: var(--blue);
  top: 40%; right: 25%;
}

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

.hero-badge {
  display: inline-block;
  padding: 6px 16px;
  background: var(--blue-light);
  color: var(--blue);
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 20px;
  border: 1px solid rgba(27,107,168,0.2);
}

.hero-title {
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 800;
  line-height: 1.15;
  color: var(--dark);
  margin-bottom: 20px;
}
.hero-title .accent { color: var(--blue); }

.hero-desc {
  font-size: 17px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 32px;
  max-width: 480px;
}

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

.hero-stats {
  display: flex;
  align-items: center;
  gap: 20px;
}

.stat { text-align: center; }
.stat-num {
  display: block;
  font-size: 28px;
  font-weight: 800;
  color: var(--blue);
  line-height: 1;
}
.stat-label {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 500;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--gray-border);
}

/* HERO VISUAL */
.hero-visual {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.hero-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 16px;
  font-weight: 600;
  font-size: 15px;
  border: 1px solid rgba(27,107,168,0.1);
}

.card-main { width: 280px; }
.card-secondary { width: 260px; }
.card-third { width: 240px; }

.card-icon-wrap {
  width: 52px; height: 52px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.card-icon-wrap.blue { background: var(--blue); color: #fff; }
.card-icon-wrap.dark { background: var(--dark-2); color: #fff; }
.card-icon-wrap.blue-light { background: var(--blue-light); color: var(--blue); }

.card-status {
  margin-left: auto;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 20px;
}
.card-status.online { background: #e8f8f0; color: #27ae60; }
.card-status.active { background: var(--blue-light); color: var(--blue); }


/* =================== SERVICE SECTIONS (новые) =================== */
.service-section {
  padding: 96px 0;
}
.service-video {
  background: var(--white);
}
.service-it {
  background: var(--gray-light);
}

.service-section-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
.service-section-inner.reverse {
  direction: rtl;
}
.service-section-inner.reverse > * {
  direction: ltr;
}

/* label pill */
.svc-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--blue-light);
  color: var(--blue);
  border: 1px solid rgba(27,107,168,0.2);
  border-radius: 20px;
  padding: 5px 14px 5px 8px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 16px;
}
.svc-label-icon {
  width: 26px; height: 26px;
  background: var(--blue);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  flex-shrink: 0;
}

.svc-title {
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 800;
  color: var(--dark);
  line-height: 1.2;
  margin-bottom: 18px;
}
.svc-desc {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 32px;
}

/* features list */
.svc-features {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 28px;
}
.svc-feature {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.svc-check {
  width: 26px; height: 26px;
  background: var(--blue);
  border-radius: 7px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}
.svc-feature strong {
  display: block;
  font-size: 15px;
  color: var(--dark);
  margin-bottom: 2px;
}
.svc-feature span {
  font-size: 13px;
  color: var(--text-muted);
}

/* tags */
.svc-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 32px;
}
.svc-tag {
  padding: 5px 12px;
  background: var(--gray-light);
  border: 1px solid var(--gray-border);
  border-radius: 20px;
  font-size: 12px;
  font-weight: 500;
  color: var(--text-muted);
}

/* ---- BRANDS CARD ---- */
.brands-card {
  background: var(--white);
  border: 1px solid var(--gray-border);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow);
  margin-bottom: 20px;
}
.brands-card-header {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--blue);
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--gray-border);
}

.brands-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 18px;
}
/* IT section — 6 brands, 3×2 grid */
.service-it .brands-grid,
.brands-grid-5,
.brands-grid-6 {
  grid-template-columns: repeat(3, 1fr);
}
/* Individual logo size overrides */
.brand-uniarch {
  max-height: 90px !important;
  max-width: 180px !important;
}
.brand-geforce {
  max-height: 90px !important;
  max-width: 180px !important;
}
.brand-item {
  background: transparent;
  border: 1px solid rgba(27,107,168,0.12);
  border-radius: 10px;
  padding: 14px 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  min-height: 64px;
}
.brand-item:hover {
  background: rgba(27,107,168,0.04);
  border-color: rgba(27,107,168,0.25);
  box-shadow: 0 4px 12px rgba(27,107,168,0.1);
  transform: translateY(-2px);
}
.brand-item img {
  max-width: 100%;
  max-height: 44px;
  object-fit: contain;
  filter: opacity(0.8);
  transition: filter 0.25s;
}
.brand-item:hover img {
  filter: opacity(1);
}

.brands-note {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: #27ae60;
  font-weight: 500;
}

/* ---- SVC STATS ---- */
.svc-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.svc-stat {
  background: var(--white);
  border: 1px solid var(--gray-border);
  border-radius: var(--radius);
  padding: 16px 12px;
  text-align: center;
}
.service-it .svc-stat {
  background: var(--white);
}
.svc-stat-num {
  display: block;
  font-size: 22px;
  font-weight: 800;
  color: var(--blue);
  line-height: 1.1;
  margin-bottom: 4px;
}
.svc-stat-label {
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 500;
  line-height: 1.4;
}

/* ---- IT VISUAL CARD ---- */
.it-visual-card {
  background: var(--white);
  border: 1px solid var(--gray-border);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow);
  margin-bottom: 20px;
}
.it-visual-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--gray-border);
}
.it-icon-circle {
  width: 52px; height: 52px;
  background: var(--blue);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.it-visual-header strong {
  display: block;
  font-size: 16px;
  font-weight: 700;
  color: var(--dark);
}
.it-visual-header span {
  font-size: 12px;
  color: var(--text-muted);
}

.it-services-mini {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.it-mini-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  background: var(--gray-light);
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--dark);
}
.it-mini-icon {
  width: 32px; height: 32px;
  background: var(--blue-light);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: var(--blue);
  flex-shrink: 0;
}
.it-mini-status {
  margin-left: auto;
  font-size: 11px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 20px;
}
.it-mini-status.ok {
  background: #e8f8f0;
  color: #27ae60;
}

/* responsive for service-section */
@media (max-width: 900px) {
  .service-section-inner,
  .service-section-inner.reverse {
    grid-template-columns: 1fr;
    direction: ltr;
  }
  .service-section-inner.reverse > * {
    direction: ltr;
  }
}

/* =================== ABOUT =================== */
.about {
  padding: 96px 0;
  background: var(--gray-light);
}

.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

.about-card-wrap {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.about-big-card {
  background: var(--blue);
  border-radius: var(--radius-lg);
  padding: 32px;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 20px;
}

.about-icon-circle {
  width: 72px; height: 72px;
  background: rgba(255,255,255,0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.about-num {
  display: block;
  font-size: 40px;
  font-weight: 800;
  line-height: 1;
}
.about-label {
  font-size: 14px;
  opacity: 0.85;
}

.about-small-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.about-sm-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow);
  border: 1px solid var(--gray-border);
}
.about-sm-card.accent-card { background: var(--dark-2); color: #fff; }

.sm-num {
  font-size: 32px;
  font-weight: 800;
  color: var(--blue);
  line-height: 1;
}
.accent-card .sm-num { color: #fff; }

.sm-label { font-size: 13px; color: var(--text-muted); }
.accent-card .sm-label { color: rgba(255,255,255,0.7); }

.about-text {
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 16px;
}

.about-features {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 28px;
}

.about-feature {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.feature-check {
  width: 32px; height: 32px;
  background: var(--blue);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.about-feature strong {
  display: block;
  font-size: 15px;
  color: var(--dark);
  margin-bottom: 4px;
}
.about-feature p {
  font-size: 14px;
  color: var(--text-muted);
}

/* =================== ADVANTAGES =================== */
.advantages {
  padding: 96px 0;
  background: var(--white);
}

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

.adv-card {
  padding: 32px 28px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-border);
  transition: var(--transition);
  background: var(--white);
}
.adv-card:hover {
  border-color: var(--blue);
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.adv-icon {
  width: 56px; height: 56px;
  background: var(--blue-light);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  margin-bottom: 20px;
}

.adv-card h4 {
  font-size: 17px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 10px;
}

.adv-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* =================== PROCESS =================== */
.process {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark-2) 100%);
}

.process .section-badge { background: rgba(255,255,255,0.15); color: #fff; }
.process .section-title { color: #fff; }

.process-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 48px;
}

.step {
  text-align: center;
  max-width: 180px;
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px; height: 56px;
  background: var(--blue);
  color: #fff;
  border-radius: 50%;
  font-size: 20px;
  font-weight: 800;
  margin: 0 auto 16px;
}

.step h4 {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}
.step p {
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  line-height: 1.6;
}

.step-arrow {
  font-size: 28px;
  color: rgba(255,255,255,0.3);
  font-weight: 300;
}

/* =================== CONTACT =================== */
.contact {
  padding: 96px 0;
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 100%);
  position: relative;
  overflow: hidden;
}
.contact::before {
  content: '';
  position: absolute;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: rgba(255,255,255,0.05);
  top: -200px; right: -100px;
}

.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: start;
  position: relative;
  z-index: 1;
}

.contact-desc {
  color: rgba(255,255,255,0.8);
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 36px;
}

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

.contact-item {
  display: flex;
  align-items: center;
  gap: 14px;
}

.contact-icon {
  width: 44px; height: 44px;
  background: rgba(255,255,255,0.15);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  flex-shrink: 0;
}

.contact-item strong {
  display: block;
  font-size: 13px;
  color: rgba(255,255,255,0.65);
  margin-bottom: 2px;
}
.contact-item a, .contact-item span {
  color: #fff;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
}
.contact-item a:hover { text-decoration: underline; }

/* FORM */
.contact-form-wrap {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-lg);
}

.contact-form h3 {
  font-size: 22px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 28px;
}

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--gray-border);
  border-radius: 8px;
  font-size: 14px;
  font-family: inherit;
  color: var(--text);
  background: var(--white);
  transition: border-color 0.2s;
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(27,107,168,0.1);
}

.form-group textarea { resize: vertical; }

.form-note {
  font-size: 11px;
  color: var(--text-muted);
  text-align: center;
  margin-top: 12px;
  line-height: 1.5;
}

/* SUCCESS MESSAGE */
.form-success {
  display: none;
  text-align: center;
  padding: 40px 20px;
}
.form-success.show { display: block; }
.form-success svg { color: #27ae60; margin-bottom: 16px; }
.form-success h4 { font-size: 20px; color: var(--dark); margin-bottom: 8px; }
.form-success p { color: var(--text-muted); }

/* =================== FOOTER =================== */
.footer {
  background: var(--dark);
  color: rgba(255,255,255,0.8);
}

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding: 56px 0 48px;
}

.footer-brand p {
  margin-top: 14px;
  font-size: 13px;
  opacity: 0.65;
  line-height: 1.6;
  max-width: 220px;
}

.footer-links, .footer-contact {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links h5, .footer-contact h5 {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 6px;
}

.footer-links a, .footer-contact a, .footer-contact span {
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-links a:hover, .footer-contact a:hover { color: var(--blue); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 20px 0;
}
.footer-bottom .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: rgba(255,255,255,0.4);
}

/* =================== RESPONSIVE =================== */
@media (max-width: 1024px) {
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .svc-stats { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .burger { display: flex; }

  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .hero { padding: 60px 0 72px; }
  .hero-title { font-size: 32px; }

  .about-inner { grid-template-columns: 1fr; }
  .about-visual { order: -1; }
  .adv-grid { grid-template-columns: 1fr 1fr; }
  .contact-inner { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom .container { flex-direction: column; gap: 8px; text-align: center; }

  .process-steps { flex-direction: column; gap: 24px; }
  .step-arrow { transform: rotate(90deg); }

  .brands-grid { grid-template-columns: repeat(2, 1fr); }
  .svc-stats { grid-template-columns: repeat(3, 1fr); }

  section { padding: 64px 0 !important; }
}

@media (max-width: 480px) {
  .adv-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; }
  .hero-stats { justify-content: center; }
  .contact-form-wrap { padding: 24px; }
  .svc-stats { grid-template-columns: 1fr; }
  .brands-grid { grid-template-columns: repeat(2, 1fr); }
}

/* =================== ANIMATIONS =================== */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInLeft {
  from { opacity: 0; transform: translateX(-32px); }
  to   { opacity: 1; transform: translateX(0); }
}

@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(32px); }
  to   { opacity: 1; transform: translateX(0); }
}

@keyframes float {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  33%       { transform: translateY(-18px) rotate(1deg); }
  66%       { transform: translateY(-8px) rotate(-1deg); }
}

@keyframes floatSlow {
  0%, 100% { transform: translateY(0px) scale(1); }
  50%       { transform: translateY(-24px) scale(1.03); }
}

@keyframes pulse-ring {
  0%   { transform: scale(0.92); opacity: 0.8; }
  50%  { transform: scale(1.06); opacity: 0.4; }
  100% { transform: scale(0.92); opacity: 0.8; }
}

@keyframes rotate-slow {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

@keyframes shimmer {
  0%   { background-position: -400px 0; }
  100% { background-position: 400px 0; }
}

@keyframes ticker {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

@keyframes gradient-shift {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes blob-move {
  0%, 100% { border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; }
  25%       { border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%; }
  50%       { border-radius: 50% 60% 30% 40% / 40% 30% 70% 60%; }
  75%       { border-radius: 40% 30% 60% 70% / 70% 50% 40% 30%; }
}

@keyframes draw-line {
  from { stroke-dashoffset: 200; }
  to   { stroke-dashoffset: 0; }
}

@keyframes count-up {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ========= HERO UPGRADES ========= */
.hero-content { animation: fadeInLeft 0.8s cubic-bezier(.22,.68,0,1.2) both; }
.hero-visual  { animation: fadeInRight 0.8s 0.15s cubic-bezier(.22,.68,0,1.2) both; }

/* Animated gradient title accent */
.hero-title .accent {
  background: linear-gradient(135deg, var(--blue) 0%, #2980b9 40%, #1B6BA8 70%, #0d4f7e 100%);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradient-shift 4s ease infinite;
}

/* Floating hero cards */
.card-main    { animation: float 6s ease-in-out infinite; }
.card-secondary { animation: float 7s 1s ease-in-out infinite; }
.card-third   { animation: float 5.5s 0.5s ease-in-out infinite; }

/* Hero background blob animation */
.shape-1 { animation: blob-move 12s ease-in-out infinite; }
.shape-2 { animation: blob-move 15s 3s ease-in-out infinite; }
.shape-3 { animation: blob-move 9s 1.5s ease-in-out infinite; }

/* Pulsing hero badge */
.hero-badge {
  position: relative;
}
.hero-badge::before {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 22px;
  background: linear-gradient(135deg, var(--blue), #2980b9);
  opacity: 0;
  z-index: -1;
  animation: pulse-ring 2.5s ease-in-out infinite;
}

/* ========= BUTTON UPGRADES ========= */
.btn-primary {
  position: relative;
  overflow: hidden;
}
.btn-primary::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.18) 50%, transparent 100%);
  background-size: 200% 100%;
  transform: translateX(-100%);
  transition: transform 0.5s ease;
}
.btn-primary:hover::after {
  transform: translateX(100%);
}
.btn-primary:active { transform: scale(0.97); }

.btn-outline {
  position: relative;
  overflow: hidden;
}
.btn-outline::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
  z-index: -1;
}
.btn-outline:hover { color: #fff; }
.btn-outline:hover::before { transform: scaleX(1); }

/* ========= NAV UPGRADES ========= */
.nav-links a {
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 4px; left: 16px; right: 16px;
  height: 2px;
  background: var(--blue);
  border-radius: 2px;
  transform: scaleX(0);
  transition: transform 0.25s ease;
}
.nav-links a:hover::after { transform: scaleX(1); }

/* ========= SECTION REVEAL ========= */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.7s cubic-bezier(.22,.68,0,1.2),
              transform 0.7s cubic-bezier(.22,.68,0,1.2);
}
.reveal.from-left  { transform: translateX(-36px); }
.reveal.from-right { transform: translateX(36px); }
.reveal.visible {
  opacity: 1;
  transform: translate(0, 0);
}

/* ========= SERVICE SECTION UPGRADES ========= */
.service-section-content { transition: none; }

/* Service icon glow on hover */
.svc-check {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.svc-feature:hover .svc-check {
  transform: scale(1.15);
  box-shadow: 0 4px 16px rgba(27,107,168,0.4);
}

/* Svc label icon spin on hover */
.svc-label-icon {
  transition: transform 0.4s ease;
}
.svc-label:hover .svc-label-icon {
  transform: rotate(20deg) scale(1.1);
}

/* Brand item shine on hover */
.brand-item {
  position: relative;
  overflow: hidden;
}
.brand-item::after {
  content: '';
  position: absolute;
  top: -50%; left: -60%;
  width: 40%; height: 200%;
  background: linear-gradient(105deg, transparent 40%, rgba(255,255,255,0.7) 50%, transparent 60%);
  transform: skewX(-15deg);
  opacity: 0;
  transition: left 0.5s ease, opacity 0.4s ease;
}
.brand-item:hover::after {
  left: 120%;
  opacity: 1;
}

/* ========= ADVANTAGES UPGRADES ========= */
.adv-card {
  position: relative;
  overflow: hidden;
}
.adv-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue), #2980b9, var(--blue));
  background-size: 200% 100%;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}
.adv-card:hover::before {
  transform: scaleX(1);
}
.adv-icon {
  transition: transform 0.4s cubic-bezier(.22,.68,0,1.4), box-shadow 0.3s ease;
}
.adv-card:hover .adv-icon {
  transform: scale(1.12) rotate(-5deg);
  box-shadow: 0 6px 20px rgba(27,107,168,0.25);
}

/* ========= PROCESS UPGRADES ========= */
.step-num {
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.step-num::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid rgba(27,107,168,0.3);
  animation: pulse-ring 2.5s ease-in-out infinite;
}
.step:hover .step-num {
  transform: scale(1.12);
  box-shadow: 0 8px 24px rgba(27,107,168,0.4);
}

/* ========= ABOUT UPGRADES ========= */
.about-big-card {
  position: relative;
  overflow: hidden;
}
.about-big-card::after {
  content: '';
  position: absolute;
  top: -30px; right: -30px;
  width: 120px; height: 120px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  animation: float 6s ease-in-out infinite;
}

.about-sm-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.about-sm-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 28px rgba(27,107,168,0.15);
}

/* Feature check bounce */
.about-feature {
  transition: transform 0.25s ease;
}
.about-feature:hover {
  transform: translateX(6px);
}

/* ========= STAT COUNTER UPGRADES ========= */
.stat-num {
  display: inline-block;
  transition: transform 0.3s ease;
}
.stat:hover .stat-num {
  transform: scale(1.15);
}

/* Animated underline for stat labels */
.stat-label {
  position: relative;
}

/* ========= IT MINI ITEMS ========= */
.it-mini-item {
  transition: background 0.25s ease, transform 0.25s ease;
}
.it-mini-item:hover {
  background: var(--blue-light);
  transform: translateX(4px);
}
.it-mini-icon {
  transition: transform 0.3s ease;
}
.it-mini-item:hover .it-mini-icon {
  transform: scale(1.15) rotate(-5deg);
  background: var(--blue);
  color: #fff;
}

/* ========= SVC STATS UPGRADES ========= */
.svc-stat {
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
}
.svc-stat:hover {
  transform: translateY(-3px);
  border-color: var(--blue);
  box-shadow: 0 6px 20px rgba(27,107,168,0.15);
}
.svc-stat::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: var(--blue);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}
.svc-stat:hover::before { transform: scaleX(1); }

/* ========= CONTACT FORM UPGRADES ========= */
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  transform: translateY(-1px);
}

.contact-form-wrap {
  position: relative;
  overflow: hidden;
}
.contact-form-wrap::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--blue), #2980b9, var(--blue));
  background-size: 200% 100%;
  animation: gradient-shift 3s ease infinite;
}

/* ========= TICKER (бегущая строка брендов) ========= */
.brands-ticker {
  overflow: hidden;
  padding: 32px 0;
  background: var(--white);
  border-top: 1px solid var(--gray-border);
  border-bottom: 1px solid var(--gray-border);
  position: relative;
}
.brands-ticker::before,
.brands-ticker::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 120px;
  z-index: 2;
  pointer-events: none;
}
.brands-ticker::before {
  left: 0;
  background: linear-gradient(to right, var(--white), transparent);
}
.brands-ticker::after {
  right: 0;
  background: linear-gradient(to left, var(--white), transparent);
}
.ticker-track {
  display: flex;
  gap: 0;
  width: max-content;
  animation: ticker 28s linear infinite;
}
.ticker-track:hover { animation-play-state: paused; }
.ticker-item {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 40px;
  min-width: 160px;
  opacity: 0.55;
  transition: opacity 0.3s ease, transform 0.3s ease;
  flex-shrink: 0;
}
.ticker-item:hover { opacity: 1; transform: scale(1.08); }
.ticker-item img {
  max-height: 36px;
  max-width: 120px;
  object-fit: contain;
  filter: opacity(0.7);
  transition: filter 0.3s ease;
}
.ticker-item:hover img { filter: opacity(1); }
.ticker-divider {
  width: 1px; height: 28px;
  background: var(--gray-border);
  align-self: center;
  flex-shrink: 0;
}

/* ========= FOOTER UPGRADES ========= */
.footer-links a, .footer-contact a {
  position: relative;
  display: inline-block;
}
.footer-links a::after, .footer-contact a::after {
  content: '';
  position: absolute;
  bottom: -1px; left: 0;
  width: 0;
  height: 1px;
  background: var(--blue);
  transition: width 0.3s ease;
}
.footer-links a:hover::after, .footer-contact a:hover::after {
  width: 100%;
}

/* ========= SCROLL PROGRESS BAR ========= */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--blue), #2980b9);
  z-index: 9999;
  transition: width 0.1s linear;
  border-radius: 0 2px 2px 0;
}

/* ========= BACK TO TOP ========= */
.back-to-top {
  position: fixed;
  bottom: 28px; right: 28px;
  width: 44px; height: 44px;
  background: var(--blue);
  color: #fff;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 16px rgba(27,107,168,0.4);
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.3s ease, transform 0.3s ease, background 0.2s ease;
  z-index: 999;
}
.back-to-top.visible { opacity: 1; transform: translateY(0); }
.back-to-top:hover { background: var(--blue-dark); transform: translateY(-2px); }

/* ========= GLOWING SECTION DIVIDERS ========= */
.section-divider {
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--blue), transparent);
  opacity: 0.25;
  margin: 0;
}

/* ========= HERO PARTICLES CANVAS ========= */
#particles-canvas {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}

