:root {
  --bg: #050507;
  --bg-soft: #0d0d12;
  --surface: rgba(255, 255, 255, 0.075);
  --surface-strong: rgba(255, 255, 255, 0.12);
  --line: rgba(255, 255, 255, 0.13);
  --text: #f5f5f7;
  --muted: #a1a1aa;
  --soft: #73737f;
  --blue: #0a84ff;
  --blue-soft: rgba(10, 132, 255, 0.22);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background:
    radial-gradient(circle at 50% -10%, rgba(115, 190, 255, 0.22), transparent 32rem),
    radial-gradient(circle at 86% 16%, rgba(10, 132, 255, 0.18), transparent 28rem),
    linear-gradient(180deg, #050507 0%, #0b0b10 48%, #050507 100%);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Segoe UI", Arial, sans-serif;
  letter-spacing: 0;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.9), transparent 72%);
}

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

.site-header {
  position: fixed;
  top: 14px;
  left: 50%;
  z-index: 20;
  width: min(1080px, calc(100% - 24px));
  height: 58px;
  transform: translateX(-50%);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 18px;
  padding: 0 10px 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: rgba(18, 18, 23, 0.62);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.34);
  backdrop-filter: saturate(180%) blur(28px);
  transition: background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.site-header.is-scrolled {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(18, 18, 23, 0.84);
  box-shadow: 0 18px 54px rgba(0, 0, 0, 0.45);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  font-size: 15px;
  font-weight: 800;
}

.brand__mark {
  width: 34px;
  height: 34px;
  display: block;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.16);
  object-fit: cover;
  object-position: center;
  background: #050507;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.38), 0 0 18px rgba(10, 132, 255, 0.2);
}

.brand__name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nav {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
}

.nav a {
  padding: 9px 14px;
  border-radius: 999px;
  color: rgba(245, 245, 247, 0.72);
  font-size: 14px;
  font-weight: 600;
  transition: color 0.2s ease, background 0.2s ease;
}

.nav a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

.header-action {
  justify-self: end;
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border-radius: 999px;
  color: #fff;
  background: var(--blue);
  font-size: 14px;
  font-weight: 800;
  box-shadow: 0 12px 32px rgba(10, 132, 255, 0.34);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.header-action:hover {
  transform: translateY(-1px);
  background: #2794ff;
  box-shadow: 0 16px 38px rgba(10, 132, 255, 0.42);
}

.hero {
  position: relative;
  width: min(1040px, calc(100% - 32px));
  min-height: 64svh;
  margin: 0 auto;
  padding: 96px 0 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero__copy {
  max-width: 980px;
  transform: translateY(-44px);
}

.eyebrow {
  margin: 0;
  color: #8dccff;
  font-size: 14px;
  font-weight: 800;
}

.hero__free {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 26px;
  border: 1px solid rgba(141, 204, 255, 0.46);
  border-radius: 999px;
  color: #ffffff;
  background: linear-gradient(135deg, rgba(10, 132, 255, 0.34), rgba(255, 255, 255, 0.08));
  box-shadow: 0 0 44px rgba(10, 132, 255, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.18);
  font-size: 21px;
  font-weight: 900;
}

h1,
h2,
h3 {
  overflow-wrap: normal;
  word-break: normal;
}

p {
  overflow-wrap: break-word;
}

h1 {
  margin: 18px 0 0;
  max-width: 980px;
  font-size: clamp(46px, 6.7vw, 82px);
  line-height: 0.98;
  font-weight: 850;
  letter-spacing: 0;
}

h2 {
  margin: 14px 0 0;
  max-width: 760px;
  font-size: clamp(32px, 5vw, 58px);
  line-height: 1;
  font-weight: 850;
  letter-spacing: 0;
}

h3 {
  margin: 0;
  font-size: 21px;
  line-height: 1.15;
}

.hero__lead {
  margin: 26px auto 0;
  max-width: 670px;
  color: var(--muted);
  font-size: clamp(19px, 2.6vw, 27px);
  line-height: 1.35;
}

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

.button {
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 17px;
  font-weight: 800;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

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

.button--primary {
  color: #fff;
  background: var(--blue);
  box-shadow: 0 18px 45px rgba(10, 132, 255, 0.28);
}

.button--primary:hover {
  background: #2794ff;
  box-shadow: 0 22px 54px rgba(10, 132, 255, 0.36);
}

.button--ghost {
  color: var(--text);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.14);
}

.button--ghost:hover {
  background: rgba(255, 255, 255, 0.12);
}

.section,
.contact {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(22px);
}

.section {
  padding: 54px;
}

.section-head {
  margin-bottom: 34px;
}

#services .section-head {
  text-align: center;
}

#services .section-head h2 {
  margin-left: auto;
  margin-right: auto;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.service-card,
.feature,
.contact__card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
}

.service-card {
  min-height: 240px;
  padding: 22px;
  text-align: center;
  transition: transform 0.22s ease, border-color 0.22s ease, background 0.22s ease, box-shadow 0.22s ease;
}

.service-card:hover {
  transform: translateY(-5px);
  border-color: rgba(141, 204, 255, 0.34);
  background: rgba(255, 255, 255, 0.09);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.24);
}

.service-card p,
.feature p,
.contact p {
  color: var(--muted);
  line-height: 1.6;
}

.section--split {
  display: block;
}

.section--split .section-head {
  text-align: center;
}

.section--split .section-head h2 {
  margin-left: auto;
  margin-right: auto;
}

.feature-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.feature {
  padding: 24px;
  text-align: center;
}

.feature strong {
  font-size: 22px;
}

.feature p {
  margin-bottom: 0;
}

.contact {
  display: block;
  margin-bottom: 46px;
  padding: 54px;
  background:
    radial-gradient(circle at 85% 12%, rgba(10, 132, 255, 0.24), transparent 20rem),
    var(--surface);
}

.contact__head {
  margin-bottom: 34px;
  text-align: center;
}

.contact__head h2 {
  margin-left: auto;
  margin-right: auto;
}

.contact__cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(270px, 380px));
  justify-content: center;
  gap: 14px;
}

.contact__card {
  padding: 26px;
  text-align: center;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.055)),
    rgba(255, 255, 255, 0.08);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.26), 0 0 48px rgba(10, 132, 255, 0.12);
}

.contact__card span {
  color: var(--muted);
  font-weight: 800;
}

.contact__card strong {
  display: block;
  margin: 12px 0 10px;
  font-size: 34px;
  line-height: 1.1;
}

.contact-phone {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  margin-top: 2px;
  color: #d8efff;
  font-size: 19px;
  font-weight: 900;
  transition: color 180ms ease, transform 180ms ease;
}

.contact-phone svg {
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  padding: 0;
  border: 1px solid rgba(141, 204, 255, 0.42);
  border-radius: 50%;
  color: #d8efff;
  background: linear-gradient(180deg, rgba(10, 132, 255, 0.34), rgba(10, 132, 255, 0.12));
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.18), 0 0 18px rgba(10, 132, 255, 0.32);
  transition: color 180ms ease, border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.contact-phone svg path {
  fill: currentColor;
}

.contact-phone:hover {
  color: #fff;
}

.contact-phone:hover svg {
  color: #fff;
  border-color: rgba(216, 239, 255, 0.75);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.2), 0 0 24px rgba(10, 132, 255, 0.52);
  transform: scale(1.06);
}

.contact__card p {
  margin: 0;
}

.contact__actions {
  display: grid;
  gap: 10px;
  margin-top: 24px;
}

.contact-button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 999px;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  font-weight: 900;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.contact-button:hover {
  transform: translateY(-2px);
  border-color: rgba(141, 204, 255, 0.32);
  background: rgba(255, 255, 255, 0.12);
}

.contact-button--phone {
  background: var(--blue);
  box-shadow: 0 16px 40px rgba(10, 132, 255, 0.28);
}

.contact-button--whatsapp {
  background: linear-gradient(135deg, rgba(48, 209, 88, 0.28), rgba(255, 255, 255, 0.08));
}

.contact-button--telegram {
  background: linear-gradient(135deg, rgba(10, 132, 255, 0.28), rgba(255, 255, 255, 0.08));
}

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

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.hero__copy.reveal {
  transform: translateY(-24px);
}

.hero__copy.reveal.is-visible {
  transform: translateY(-44px);
}

@media (max-width: 940px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .nav {
    display: none;
  }

  .section--split,
  .contact__cards {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 96px;
  }

  .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 580px) {
  .site-header {
    top: 10px;
    width: calc(100% - 20px);
    height: 52px;
    padding-left: 12px;
  }

  .brand__name {
    font-size: 14px;
  }

  .header-action {
    min-height: 34px;
    padding: 0 14px;
    font-size: 13px;
  }

  .hero {
    width: min(100% - 24px, 1120px);
    padding: 88px 0 46px;
    gap: 34px;
  }

  .hero__copy,
  .hero__copy.reveal,
  .hero__copy.reveal.is-visible {
    transform: none;
  }

  h1 {
    font-size: clamp(36px, 11.5vw, 46px);
    line-height: 1.02;
  }

  h2 {
    font-size: clamp(32px, 11vw, 46px);
  }

  .hero__lead {
    font-size: 19px;
  }

  .hero__actions {
    display: grid;
  }

  .button {
    width: 100%;
    min-height: 54px;
  }

  .section,
  .contact {
    width: min(100% - 24px, 1120px);
    padding: 28px;
  }

  .service-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: auto;
  }

}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}


@media (max-width: 580px) {
  .feature-list {
    grid-template-columns: 1fr;
  }
}
