:root {
  --bg: #0b1220;
  --bg-alt: #0f172a;
  --surface: #111827;
  --surface-light: #1e293b;
  --text: #f8fafc;
  --muted: #94a3b8;
  --accent: #06b6d4;
  --accent-hover: #22d3ee;
  --accent-glow: rgba(6, 182, 212, 0.28);
  --border: rgba(148, 163, 184, 0.12);
  --radius: 1rem;
  --shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.2);
  --font: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --transition: 0.25s ease;
}

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

* {
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img,
iframe {
  max-width: 100%;
  display: block;
}

a {
  color: var(--accent);
  transition: color var(--transition);
}

a:hover {
  color: var(--accent-hover);
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  top: -100%;
  left: 1.5rem;
  background: var(--accent);
  color: var(--bg);
  padding: 0.6rem 1.2rem;
  border-radius: var(--radius);
  text-decoration: none;
  font-weight: 600;
  z-index: 1000;
}

.skip-link:focus {
  top: 1rem;
}

.container {
  width: min(100% - 2rem, 1160px);
  margin-inline: auto;
}

.icon {
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
}

.icon--accent {
  color: var(--accent);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 1.8rem;
  background: var(--accent);
  color: var(--bg);
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  border-radius: var(--radius);
  border: 0;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
}

.btn:hover {
  background: var(--accent-hover);
  color: var(--bg);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px var(--accent-glow);
}

.btn--ghost {
  background: transparent;
  color: var(--accent);
}

.btn--ghost:hover {
  background: rgba(6, 182, 212, 0.1);
  color: var(--accent-hover);
  box-shadow: none;
}

.btn--small {
  padding: 0.6rem 1.2rem;
  font-size: 0.9rem;
}

.btn--large {
  padding: 1.1rem 2.2rem;
  font-size: 1.1rem;
}

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

.header {
  position: sticky;
  top: 0;
  background: rgba(11, 18, 32, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  z-index: 100;
}

.header__container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 1.1rem;
}

.logo {
  color: var(--text);
  text-decoration: none;
  font-weight: 800;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
}

.logo:hover {
  color: var(--accent);
}

.nav {
  display: none;
  align-items: center;
  gap: 2rem;
}

.nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: color var(--transition);
}

.nav a:hover {
  color: var(--accent);
}

.header-contacts {
  display: none;
  align-items: center;
  gap: 1.25rem;
}

.phone {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
}

.phone:hover {
  color: var(--accent);
}

.burger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  cursor: pointer;
  transition: border-color var(--transition);
}

.burger:hover {
  border-color: var(--accent);
}

.mobile-menu {
  position: fixed;
  inset: 0;
  background: var(--bg);
  padding: 4rem 1.5rem 1.5rem;
  transform: translateX(100%);
  transition: transform var(--transition);
  z-index: 200;
}

.mobile-menu.is-open {
  transform: translateX(0);
}

.mobile-menu__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 2.5rem;
  height: 2.5rem;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  cursor: pointer;
}

.mobile-menu nav {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.mobile-menu nav a {
  color: var(--text);
  text-decoration: none;
  font-size: 1.35rem;
  font-weight: 600;
}

.mobile-menu nav a:hover {
  color: var(--accent);
}


.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 92vh;
  padding: 5rem 0;
  overflow: hidden;
  background: var(--bg);
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../image/hero-bg.png') center / cover no-repeat;
  z-index: 0;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(11, 18, 32, 0.92) 0%,
    rgba(11, 18, 32, 0.75) 45%,
    rgba(11, 18, 32, 0.45) 100%
  );
  z-index: 0;
}

.hero__container {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.75rem;
}

.hero h1 {
  font-size: clamp(2.3rem, 7vw, 4.2rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.03em;
  max-width: 900px;
}

.hero h1 em {
  color: var(--accent);
  font-style: normal;
}

.hero__subtitle {
  color: var(--muted);
  font-size: clamp(1.05rem, 2.5vw, 1.3rem);
  max-width: 640px;
  line-height: 1.7;
}

.hero__features {
  display: grid;
  gap: 0.75rem;
  max-width: 560px;
  width: 100%;
}

.hero__feature {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.hero__actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  width: 100%;
  max-width: 360px;
  margin-top: 0.5rem;
}

.section {
  padding: 4rem 0;
}

.section--alt {
  background: var(--bg-alt);
}

.section--accent {
  background: linear-gradient(135deg, #06b6d4 0%, #0891b2 100%);
  color: #07161b;
}

.section--accent .section__title,
.section--accent .section__lead,
.section--accent .form-text,
.section--accent .form-note,
.section--accent .form-consent,
.section--accent .form-status,
.section--accent a {
  color: #07161b;
}

.section--accent .form-control {
  background: rgba(255, 255, 255, 0.94);
  border-color: rgba(255, 255, 255, 0.5);
  color: #0f172a;
}

.section--accent .form-control::placeholder {
  color: #64748b;
}

.section--accent .btn {
  background: #07161b;
  color: #f8fafc;
}

.section--accent .btn:hover {
  background: #0f172a;
  box-shadow: 0 10px 24px rgba(7, 22, 27, 0.25);
}

.section__title {
  font-size: clamp(1.75rem, 4.5vw, 2.6rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.section__lead {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.7;
  max-width: 680px;
  margin-bottom: 2rem;
}

.slogan {
  color: var(--accent);
  font-weight: 700;
  font-size: 1.25rem;
}

.cards {
  display: grid;
  gap: 1.25rem;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: rgba(6, 182, 212, 0.25);
}

.card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.card p {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.65;
}

#tech {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: transparent;
}

#tech::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../image/tech.png") center / cover no-repeat;
  z-index: -2;
}

#tech::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(11, 18, 32, 0.95) 0%,
    rgba(11, 18, 32, 0.85) 40%,
    rgba(11, 18, 32, 0.7) 100%
  );
  z-index: -1;
}

.tech-block {
  margin-bottom: 1.5rem;
}

.tech-block h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 0.85rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 500;
}

.tech-note {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.65;
  margin-top: 1rem;
}

.services-layout {
  display: grid;
  gap: 1.5rem;
  align-items: start;
}

.services-visual {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  background: var(--surface);
}

.services-visual img {
  width: 100%;
  height: auto;
  max-height: min(58vw, 260px);
  object-fit: cover;
  object-position: center;
  display: block;
}

.pricing {
  display: grid;
  gap: 1.25rem;
}

.pricing-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: rgba(6, 182, 212, 0.25);
}

.pricing-card--featured {
  border-color: var(--accent);
  background: linear-gradient(180deg, rgba(6, 182, 212, 0.08) 0%, var(--surface) 100%);
}

.pricing-card h3 {
  font-size: 1.35rem;
  font-weight: 800;
}

.pricing-card__price {
  font-size: 1.75rem;
  font-weight: 900;
  color: var(--accent);
}

.pricing-card__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-bottom: auto;
}

.pricing-card__list li {
  position: relative;
  padding-left: 1.4rem;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.55;
}

.pricing-card__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.5rem;
  width: 0.5rem;
  height: 0.5rem;
  background: var(--accent);
  border-radius: 50%;
}

.videos {
  display: grid;
  gap: 1.5rem;
  justify-items: center;
  grid-template-columns: 1fr;
}

.video {
  position: relative;
  width: 100%;
  max-width: 360px;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 9 / 16;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.form-wrapper {
  display: grid;
  gap: 2rem;
}

.form-text {
  max-width: 480px;
}

.form-text p {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 1rem;
}

.form-note {
  color: var(--muted);
  font-size: 0.95rem;
}

.form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form__field {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.form__field label {
  font-size: 0.9rem;
  font-weight: 600;
}

.form-control {
  padding: 0.95rem 1.1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  font: inherit;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.form-control:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(6, 182, 212, 0.15);
  outline: none;
}

.form-control::placeholder {
  color: #64748b;
}

.botcheck {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.form-consent {
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.5;
}

.form-consent a {
  text-decoration: underline;
}

.form-status {
  min-height: 1.5rem;
  font-size: 0.95rem;
  color: var(--muted);
}

.form-status--success {
  color: #34d399;
}

.form-status--error {
  color: #f87171;
}


.faq {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-width: 800px;
  margin-inline: auto;
}

.faq__item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.faq__question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 1.25rem;
  background: transparent;
  border: 0;
  color: var(--text);
  font: inherit;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
  list-style: none;
  transition: color var(--transition);
}

.faq__question::-webkit-details-marker {
  display: none;
}

.faq__question::after {
  content: '';
  flex-shrink: 0;
  width: 0.65rem;
  height: 0.65rem;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform var(--transition);
}

.faq__item[open] .faq__question {
  color: var(--accent);
}

.faq__item[open] .faq__question::after {
  transform: rotate(-135deg);
}

.faq__answer {
  padding: 0 1.25rem 1.25rem;
  color: var(--muted);
  line-height: 1.65;
}

.contacts {
  display: grid;
  gap: 2rem;
}

.contacts__info {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contacts__link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  transition: transform var(--transition), border-color var(--transition);
}

.contacts__link:hover {
  transform: translateY(-2px);
  border-color: rgba(6, 182, 212, 0.25);
  color: var(--text);
}

.contacts__link .icon {
  color: var(--accent);
}

.contacts__messengers {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 0.5rem;
}

.contacts__regions {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
}

.contacts__regions h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.contacts__regions .badges {
  margin-bottom: 1rem;
}

.contacts__regions > p {
  color: var(--muted);
  font-size: 0.95rem;
}

.footer {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 3rem 0 1.5rem;
}

.footer__seo {
  max-width: 860px;
  margin-bottom: 2rem;
}

.footer__seo h2,
.footer__title {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.footer__seo p {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 1rem;
}

.footer__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.footer__bottom {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.85rem;
}

.footer__bottom a {
  color: var(--muted);
}

.scroll-top {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  width: 3rem;
  height: 3rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 50%;
  color: var(--accent);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity var(--transition), transform var(--transition), border-color var(--transition);
  z-index: 90;
}

.scroll-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-top:hover {
  border-color: var(--accent);
}

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

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

@media (min-width: 640px) {
  .hero__features {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero__actions {
    flex-direction: row;
    justify-content: center;
    max-width: none;
  }

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

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

  .form-wrapper {
    grid-template-columns: 1fr 1fr;
  }

  .form {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }

  .form__field--full,
  .form-consent,
  .form-status,
  .form button[type="submit"] {
    grid-column: 1 / -1;
  }
}

@media (min-width: 768px) {
  .nav,
  .header-contacts {
    display: flex;
  }

  .burger {
    display: none;
  }

  .section {
    padding: 5.5rem 0;
  }

  .hero__container {
    align-items: flex-start;
    text-align: left;
  }

  .hero__subtitle {
    margin-left: 0;
  }

  .hero__features {
    justify-content: flex-start;
  }

  .hero__feature {
    justify-content: flex-start;
  }

  .hero__actions {
    justify-content: flex-start;
  }

  .cards--3 {
    grid-template-columns: repeat(3, 1fr);
  }

  .cards--4 {
    grid-template-columns: repeat(3, 1fr);
  }

  .pricing,
  .videos {
    grid-template-columns: repeat(3, 1fr);
  }

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

  .footer__bottom {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

@media (min-width: 1024px) {
  .cards--4 {
    grid-template-columns: repeat(4, 1fr);
  }

  .section {
    padding: 7rem 0;
  }

  .section__lead {
    margin-bottom: 3rem;
  }

  .card {
    padding: 2rem;
  }

  .services-layout {
    grid-template-columns: 1fr 1.5fr;
  }

  .services-visual {
    align-self: start;
  }

  .services-visual img {
    max-height: none;
    height: auto;
  }
}

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

  .reveal {
    opacity: 1;
    transform: none;
  }
}

