:root {
  --bg: #070b16;
  --bg-2: #0d1426;
  --card: #121a2f;
  --card-hover: #1a2540;
  --text: #eef3ff;
  --muted: #a8b4d6;
  --brand: #0E7CD0;/*#6a76ff;*/
  --brand-2: #0E58D0;/*#8d5dff;*/
  --line: rgba(168, 180, 214, 0.24);
  --container: 1160px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 80% -10%, rgba(106, 118, 255, 0.3), transparent 40%),
    radial-gradient(circle at 10% 100%, rgba(141, 93, 255, 0.16), transparent 35%),
    var(--bg);
}

a { color: inherit; text-decoration: none; }

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

.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(9px);
  background: rgba(7, 11, 22, 0.74);
  border-bottom: 1px solid var(--line);
}

.topbar-inner {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.logo {
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.logo span { color: var(--brand); }

nav {
  display: flex;
  gap: 16px;
  align-items: center;
  font-size: 0.92rem;
  color: var(--muted);
}

nav a:hover { color: #fff; }

.nav-cta {
  border: 1px solid rgba(106, 118, 255, 0.55);
  border-radius: 10px;
  padding: 8px 12px;
  color: #d8deff;
}

.hero {
  padding: 90px 0 68px;
  text-align: center;
}

.hero-inner {
  max-width: 920px;
}

h1 {
  margin: 0;
  font-size: clamp(2rem, 5vw, 3.65rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.subtitle {
  margin: 18px auto 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  line-height: 1.68;
  max-width: 820px;
}

.actions {
  margin-top: 30px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border-radius: 12px;
  padding: 0 18px;
  font-weight: 600;
  border: 1px solid transparent;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.btn:hover { transform: translateY(-2px); }

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  box-shadow: 0 14px 30px rgba(106, 118, 255, 0.35);
}

.btn-ghost {
  border-color: var(--line);
  color: #d5deff;
  background: rgba(18, 26, 47, 0.58);
}

.btn.full { width: 100%; margin-top: 10px; }

.section { padding: 74px 0; }

.section-alt {
  background: rgba(255, 255, 255, 0.02);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-title {
  margin: 0 0 16px;
  font-size: clamp(1.55rem, 3vw, 2.35rem);
  letter-spacing: -0.02em;
  text-align: center;
}

.section-title.left { text-align: left; }

.section-subtitle {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.section-subtitle.center {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 24px;
}

.grid-2,
.grid-3,
.grid-4,
.process-grid {
  display: grid;
  gap: 16px;
}

.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.process-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.align-start { align-items: start; }

.card,
.price-card {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--card);
  padding: 22px;
  transition: transform .22s ease, border-color .22s ease, background .22s ease;
}

.card:hover,
.price-card:hover {
  transform: translateY(-4px);
  border-color: rgba(106, 118, 255, 0.6);
  background: var(--card-hover);
}

.card h3,
.price-card h3 {
  margin: 0 0 10px;
  font-size: 1.08rem;
}

.card p,
.price-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.62;
}

.card.accent { border-left: 4px solid var(--brand); }

.list-dot {
  list-style: none;
  margin: 0;
  padding: 0;
}

.list-dot li {
  position: relative;
  padding-left: 18px;
  margin-bottom: 11px;
  color: var(--muted);
}

.list-dot li::before {
  content: "•";
  position: absolute;
  left: 0;
  top: -1px;
  color: var(--brand);
  font-size: 1.1rem;
}

.list-dot.compact { margin-top: 16px; }

.price-card {
  background: linear-gradient(140deg, rgba(18, 26, 47, 0.92), rgba(106, 118, 255, 0.12));
}

.price {
  margin: 10px 0 !important;
  font-size: clamp(1.8rem, 4vw, 2.45rem);
  font-weight: 800;
  color: #d5dcff !important;
}

.process-step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: start;
}

.step-number {
  min-width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: #fff;
  font-weight: 700;
}

.section-contact {
  border-top: 1px solid var(--line);
  background: radial-gradient(circle at 20% 0%, rgba(106, 118, 255, 0.2), rgba(7, 11, 22, 0.9));
}

.contact-box {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: linear-gradient(145deg, rgba(22, 31, 54, 0.78), rgba(10, 15, 27, 0.9));
  padding: clamp(24px, 4vw, 42px);
}

.contact-box h2 {
  margin: 0;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
}

.contact-box p {
  margin: 10px 0 0;
  color: var(--muted);
}

.btn-phone {
  margin-top: 22px;
  min-height: 56px;
  font-size: clamp(1rem, 2vw, 1.35rem);
  padding: 0 24px;
}

.tg-link {
  margin: 14px 0 0 !important;
  font-size: 0.92rem;
}

.tg-link a {
  color: #c2ceff;
  border-bottom: 1px dashed rgba(194, 206, 255, 0.55);
}

.office {
  margin: 40px 0 14px;
  text-align: center;
}

.office h3 {
  margin: 0;
  font-size: 1.14rem;
}

.office p {
  margin: 8px 0 0;
  color: var(--muted);
}

.map-wrap {
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  height: 400px;
  filter: grayscale(22%) contrast(88%);
  transition: filter .22s ease;
}

.map-wrap:hover { filter: grayscale(0%) contrast(100%); }

.map-wrap iframe { width: 100%; height: 100%; border: 0; }

.footer {
  border-top: 1px solid var(--line);
  background: #060913;
  padding: 22px 0 30px;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  color: #90a0cb;
  font-size: 0.9rem;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .74s ease, transform .74s ease;
}

.reveal.delay-1 { transition-delay: .12s; }
.reveal.delay-2 { transition-delay: .24s; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 1040px) {
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 780px) {
  nav { display: none; }
  .hero { padding-top: 64px; }
  .grid-2,
  .grid-3,
  .grid-4,
  .process-grid { grid-template-columns: 1fr; }
  .footer-inner {
    flex-direction: column;
    text-align: center;
  }
}
