:root {
  --bg: #0e152e;
  --card: #18214a;
  --text: #e8ecf1;
  --muted: #c4cdd8;
  --primary: #0ea5e9;
  --accent: #22d3ee;
  --ring: rgba(34, 211, 238, .45);
  --container: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--text);
  background: radial-gradient(1200px 600px at 10% -10%, rgba(34,211,238,.16), transparent 60%),
              radial-gradient(900px 500px at 90% 10%, rgba(14,165,233,.16), transparent 60%),
              var(--bg);
  line-height: 1.6;
}

.container { max-width: var(--container); margin: 0 auto; padding: 0 clamp(16px, 4vw, 20px); }

/* Header */
.header { position: sticky; top: 0; backdrop-filter: saturate(140%) blur(8px); background: rgba(255,255,255,.06); z-index: 50; border-bottom: 1px solid rgba(255,255,255,.12); }
.header__inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.logo { color: var(--text); text-decoration: none; font-weight: 700; letter-spacing: .2px; }
.nav { display: none; gap: 20px; }
.nav__link { color: var(--muted); text-decoration: none; padding: 8px 10px; border-radius: 8px; }
.nav__link:hover, .nav__cta { color: var(--text); background: rgba(255,255,255,.08); }
.nav__cta { border: 1px solid rgba(255,255,255,.08); }

.header__actions { display: flex; align-items: center; gap: 8px; }
.header__action { 
  display: flex; 
  align-items: center; 
  justify-content: center; 
  width: 36px; 
  height: 36px; 
  border-radius: 8px; 
  background: rgba(255,255,255,.06); 
  border: 1px solid rgba(255,255,255,.12); 
  color: var(--text); 
  text-decoration: none; 
  transition: all 0.2s ease; 
}
.header__action:hover { 
  background: rgba(255,255,255,.12); 
  transform: translateY(-1px); 
}
.header__action--telegram:hover { 
  background: rgba(0,136,204,.2); 
  border-color: rgba(0,136,204,.4); 
  color: #0088cc; 
}
.header__action--whatsapp:hover { 
  background: rgba(37,211,102,.2); 
  border-color: rgba(37,211,102,.4); 
  color: #25d366; 
}
.header__action--phone:hover { 
  background: rgba(14,165,233,.2); 
  border-color: rgba(14,165,233,.4); 
  color: var(--primary); 
}

.burger { display: inline-flex; flex-direction: column; gap: 4px; background: transparent; border: 0; padding: 8px; border-radius: 8px; cursor: pointer; transition: all 0.3s ease; }
.burger span { width: 22px; height: 2px; background: var(--text); display: block; transition: all 0.3s ease; }
.burger:hover { background: rgba(255,255,255,.08); }
.burger[aria-expanded="true"] span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: rotate(-45deg) translate(7px, -6px); }

.mobile-menu { 
  display: grid; 
  padding: 12px 20px 16px; 
  gap: 8px; 
  background: rgba(11,16,32,.95); 
  border-bottom: 1px solid rgba(255,255,255,.12); 
  backdrop-filter: blur(10px); 
  transform: translateY(-100%);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 40;
}
.mobile-menu.is-open {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}
.mobile-menu__link { color: var(--text); text-decoration: none; padding: 12px 16px; border-radius: 8px; background: rgba(255,255,255,.04); transition: all 0.2s ease; font-weight: 500; }
.mobile-menu__link:hover { background: rgba(255,255,255,.08); transform: translateX(4px); }

@media (min-width: 900px) {
  .nav { display: flex; }
  .burger, .mobile-menu, .header__actions { display: none; }
}

/* Дополнительные медиа-запросы для лучшей адаптации */
@media (max-width: 480px) {
  .header__inner { height: 56px; }
  .logo { font-size: 18px; }
  .header__actions { gap: 6px; }
  .header__action { width: 32px; height: 32px; }
  .header__action svg { width: 18px; height: 18px; }
  .burger { padding: 6px; }
  .burger span { width: 20px; }
  .mobile-menu { padding: 10px 16px 14px; }
  .mobile-menu__link { padding: 10px 12px; font-size: 15px; }
  .hero__title { 
    font-size: clamp(12px, 2.5vw, 16px);
    white-space: normal;
    word-break: break-word;
  }
  .hero__subtitle { 
    font-size: clamp(10px, 2.2vw, 14px);
    white-space: normal;
    word-break: break-word;
  }
  .hero__description { 
    font-size: clamp(9px, 2vw, 12px);
    white-space: normal;
    word-break: break-word;
  }
  .hero__services { 
    grid-template-columns: 1fr; 
    gap: 16px; 
    margin: 0 0 60px; 
  }
  .service-item { 
    padding: 24px 16px; 
    min-height: 100px; 
  }
  .service-title { 
    font-size: clamp(10px, 2.2vw, 14px);
    white-space: normal;
    word-break: break-word;
  }
  .section__title { 
    font-size: clamp(12px, 2.8vw, 18px);
    white-space: normal;
    word-break: break-word;
  }
  .section__lead { 
    font-size: clamp(9px, 2vw, 12px);
    white-space: normal;
    word-break: break-word;
  }
}

@media (max-width: 360px) {
  .container { padding: 0 12px; }
  .header__actions { gap: 4px; }
  .header__action { width: 30px; height: 30px; }
  .header__action svg { width: 16px; height: 16px; }
  .hero__title { 
    font-size: clamp(10px, 2.2vw, 14px);
    white-space: normal;
    word-break: break-word;
  }
  .hero__subtitle { 
    font-size: clamp(9px, 2vw, 12px);
    white-space: normal;
    word-break: break-word;
  }
  .section__title { 
    font-size: clamp(11px, 2.5vw, 16px);
    white-space: normal;
    word-break: break-word;
  }
  .card { padding: 14px; }
  .card__title { font-size: 15px; }
  .card__text { font-size: 12px; }
}

/* Hero */
.hero { position: relative; padding: clamp(64px, 12vw, 96px) 0 clamp(40px, 8vw, 56px); overflow: clip; }
.hero__bg { position: absolute; inset: -20% -10% auto -10%; z-index: -1; filter: blur(40px) saturate(120%); opacity: .75; }
.bg { position: absolute; inset: 0; background: radial-gradient(400px 240px at 20% 40%, var(--accent), transparent 60%);
      mix-blend-mode: screen; transform: translateY(0); }
.bg--2 { background: radial-gradient(520px 280px at 70% 20%, var(--primary), transparent 60%); }
.bg--3 { background: radial-gradient(380px 220px at 60% 70%, #8b5cf6, transparent 60%); }

.hero__inner { text-align: center; }
.hero__title { 
  font-family: 'IBM Plex Sans', 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-weight: 700;
  font-size: clamp(28px, 7vw, 56px); 
  line-height: 1.1; 
  margin: 0 0 12px; 
  word-break: break-word; 
  hyphens: auto;
  letter-spacing: -0.02em;
}
.hero__subtitle { 
  font-family: 'IBM Plex Sans', 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-weight: 500;
  color: var(--accent); 
  margin: 0 0 20px; 
  font-size: clamp(16px, 3.5vw, 24px); 
  text-align: center; 
  margin-left: auto; 
  margin-right: auto; 
  max-width: 900px; 
  line-height: 1.4; 
  word-break: break-word; 
  hyphens: auto;
  letter-spacing: -0.01em;
}
.hero__description { 
  color: var(--muted); 
  margin: 0 0 24px; 
  font-size: clamp(14px, 3vw, 20px); 
  text-align: center; 
  margin-left: auto; 
  margin-right: auto; 
  max-width: 900px; 
  line-height: 1.5; 
  word-break: break-word; 
  hyphens: auto; 
}

.hero__services {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin: 0 0 80px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.service-item {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  padding: 32px 24px;
  border-radius: 24px;
  text-align: center;
  transition: all 0.3s ease;
  min-height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-item:hover {
  background: rgba(255,255,255,.08);
  border-color: rgba(34, 211, 238, 0.3);
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(34, 211, 238, 0.1);
}

.service-title {
  font-family: 'IBM Plex Sans', 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-weight: 600;
  font-size: clamp(16px, 3vw, 22px);
  color: var(--text);
  margin: 0;
  line-height: 1.3;
  word-break: break-word;
  hyphens: auto;
  letter-spacing: -0.01em;
}
.hero__cta { display: inline-flex; gap: 12px; }

.hero__divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.2), transparent);
  margin: 48px 0 0;
  position: relative;
}

.hero__divider::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 12px rgba(34, 211, 238, 0.4);
}

/* Sections */
.section { padding: 0 0 clamp(24px, 4vw, 36px); }
.section--alt { background: linear-gradient(180deg, rgba(255,255,255,.06), transparent 60%); }
.section__title { 
  font-family: 'IBM Plex Sans', 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-weight: 700;
  font-size: clamp(28px, 6vw, 48px); 
  margin: 0 0 16px; 
  text-align: center; 
  word-break: break-word; 
  hyphens: auto;
  letter-spacing: -0.02em;
}
.section__lead { 
  font-family: 'IBM Plex Sans', 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-weight: 500;
  color: var(--muted); 
  margin: 0 auto clamp(24px, 5vw, 32px); 
  text-align: center; 
  max-width: 900px; 
  font-size: clamp(16px, 3vw, 20px); 
  line-height: 1.5; 
  word-break: break-word; 
  hyphens: auto; 
  display: block;
  letter-spacing: -0.01em;
}
.section__lead--highlight { 
  font-family: 'IBM Plex Sans', 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-weight: 600;
  color: var(--accent); 
  text-shadow: 0 0 20px rgba(34, 211, 238, 0.3); 
  letter-spacing: -0.01em;
}

.grid { display: grid; gap: 18px; }
.grid--3 { grid-template-columns: repeat(1, 1fr); }
@media (min-width: 720px) { .grid--3 { grid-template-columns: repeat(3, 1fr); } }

.card { background: var(--card); border: 1px solid rgba(255,255,255,.12); padding: clamp(16px, 3vw, 20px); border-radius: 20px; transition: transform .3s ease, box-shadow .3s ease; display: flex; flex-direction: column; min-height: 200px; }
.card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px -16px rgba(14,165,233,.35); }
.card__icon { width: clamp(36px, 6vw, 44px); height: clamp(36px, 6vw, 44px); border-radius: 10px; background: rgba(14,165,233,.2); display: grid; place-items: center; margin-bottom: 12px; }
.card__icon svg { width: clamp(20px, 4vw, 24px); height: clamp(20px, 4vw, 24px); stroke: var(--accent); fill: none; stroke-width: 2; }
.card__title { margin: 6px 0 8px; font-size: clamp(16px, 3vw, 18px); word-break: break-word; hyphens: auto; line-height: 1.3; }
.card__text { color: var(--muted); margin: 0; font-size: clamp(13px, 2.5vw, 14px); line-height: 1.5; word-break: break-word; hyphens: auto; flex-grow: 1; }

/* Pricing */
.price { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.06); border-radius: 20px; padding: 22px; display: grid; gap: 10px; position: relative; }
.price--popular { background: linear-gradient(180deg, rgba(34,211,238,.08), rgba(14,165,233,.06)); border-color: rgba(14,165,233,.25); }
.badge { position: absolute; top: -10px; right: 16px; background: var(--primary); color: #001019; padding: 4px 8px; border-radius: 999px; font-weight: 700; font-size: 12px; letter-spacing: .3px; }
.price__name { margin: 0; font-size: 18px; }
.price__value { margin: 0; font-size: 24px; font-weight: 700; }
.price__list { margin: 8px 0 0; padding-left: 18px; color: var(--muted); }

/* Quotes */
.quotes { display: grid; gap: 16px; }
.quote { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); padding: 18px; border-radius: 20px; }
.quote blockquote { margin: 0 0 8px; }
.quote figcaption { color: var(--muted); font-size: 14px; }

/* Form */
.form { display: grid; gap: 14px; }
.form__row { display: grid; grid-template-columns: 1fr; gap: 14px; }
@media (min-width: 720px) { .form__row { grid-template-columns: 1fr 1fr; } }
.form__field { display: grid; gap: 8px; }
.form__field span { color: var(--muted); font-size: 14px; }
.form input, .form textarea { width: 100%; padding: 12px 14px; border-radius: 12px; border: 1px solid rgba(255,255,255,.16); background: rgba(255,255,255,.06); color: var(--text); outline: none; }
.form input:focus, .form textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 4px var(--ring); }
.error { color: #fca5a5; min-height: 16px; }
.form__actions { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.social-actions { justify-content: center; gap: clamp(12px, 3vw, 16px); flex-direction: column; }
.social-actions .btn { padding: clamp(14px, 3vw, 16px) clamp(20px, 4vw, 24px); font-size: clamp(16px, 3vw, 18px); border-radius: 14px; width: 100%; max-width: 280px; }
@media (min-width: 480px) { .social-actions { flex-direction: row; } .social-actions .btn { width: auto; } }
.social-actions .btn--primary { box-shadow: 0 12px 28px -12px rgba(14,165,233,.5); }
.social-actions .btn--ghost { border-width: 2px; }
.form__note { color: var(--muted); margin: 0; font-size: 12px; }
.form__result { margin-top: 6px; color: var(--accent); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 16px; border-radius: 12px; text-decoration: none; font-weight: 600; color: var(--text); border: 1px solid rgba(255,255,255,.16); }
.btn--primary { background: linear-gradient(135deg, var(--primary), var(--accent)); color: #001019; border-color: transparent; }
.btn--ghost { background: transparent; }
.btn:hover { transform: translateY(-1px); }

/* Footer */
.footer { border-top: 1px solid rgba(255,255,255,.12); background: rgba(11,16,32,.75); }
.footer__inner { display: flex; align-items: center; justify-content: space-between; padding: 20px 0; }
.to-top { color: var(--text); text-decoration: none; background: rgba(255,255,255,.06); padding: 8px 12px; border-radius: 10px; }

/* Animations */
.reveal-up { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; transition-delay: var(--delay, 0s); }
.reveal-up.is-visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}


