:root {
  --font-heading: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-body: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  overflow-x: hidden;
}

body.mobile-menu-open {
  overflow: hidden;
}

.site-shell {
  background:
    radial-gradient(circle at top left, rgba(71, 167, 232, 0.18), transparent 34rem),
    linear-gradient(180deg, #ffffff 0%, #f7fbff 42%, #ffffff 100%);
}

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

.logo-text {
  font-size: 24px;
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.nav-link {
  font-size: 18px;
  font-weight: 700;
  color: #0f172a;
  transition: color 180ms ease;
}

.nav-link:hover,
.nav-link:focus {
  color: #2060ad;
}

.phone-button,
.primary-button,
.secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  border-radius: 999px;
  font-weight: 800;
  white-space: nowrap;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, color 180ms ease;
}

.phone-button {
  background: #0a3970;
  color: #ffffff;
  padding: 0.85rem 1.05rem;
  box-shadow: 0 14px 30px rgba(10, 57, 112, 0.24);
}

.phone-button:hover,
.primary-button:hover,
.secondary-button:hover {
  transform: translateY(-2px);
}

.primary-button {
  background: linear-gradient(135deg, #f8b923, #ffd872);
  color: #071c36;
  padding: 1rem 1.35rem;
  box-shadow: 0 18px 44px rgba(248, 185, 35, 0.28);
}

.secondary-button {
  border: 1px solid rgba(255, 255, 255, 0.42);
  color: #ffffff;
  padding: 0.95rem 1.25rem;
  background: rgba(255, 255, 255, 0.08);
}

.hero-section {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(10, 57, 112, 0.98), rgba(32, 96, 173, 0.94)),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.06) 0 1px, transparent 1px 88px);
}

.hero-section::before,
.section-circuit::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.07) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: radial-gradient(circle at 80% 20%, black, transparent 62%);
}

.hero-title {
  font-size: clamp(35px, 10vw, 66px);
  line-height: 0.96;
  letter-spacing: -0.06em;
}

.section-title {
  font-size: clamp(28px, 7vw, 44px);
  line-height: 1.05;
  letter-spacing: -0.045em;
}

.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  background: #e9f3ff;
  color: #0a3970;
  font-size: 16px;
  font-weight: 800;
}

.sticker-icon {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: linear-gradient(135deg, #2060ad, #47a7e8);
  color: #ffffff;
  box-shadow: 0 10px 26px rgba(32, 96, 173, 0.24);
}

.stars {
  color: #f8b923;
  letter-spacing: 0.16em;
  font-size: 22px;
  line-height: 1;
}

.trust-icon {
  width: auto;
  height: 48px;
  object-fit: contain;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.9);
  padding: 0.35rem;
  box-shadow: inset 0 0 0 1px rgba(10, 57, 112, 0.12), 0 16px 34px rgba(7, 28, 54, 0.18);
}

.hero-card {
  border-radius: 34px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.24);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(16px);
}

.hero-image {
  aspect-ratio: 1 / 1;
  border-radius: 30px;
  object-fit: cover;
}

.metric-card,
.service-card,
.review-card,
.faq-card {
  border-radius: 24px;
  background: #ffffff;
  border: 1px solid rgba(10, 57, 112, 0.1);
  box-shadow: 0 18px 50px rgba(7, 28, 54, 0.08);
}

.tech-panel {
  border-radius: 30px;
  background: linear-gradient(135deg, #ffffff, #edf6ff);
  border: 1px solid rgba(32, 96, 173, 0.14);
  box-shadow: 0 22px 64px rgba(7, 28, 54, 0.08);
}

.dark-panel {
  position: relative;
  overflow: hidden;
  border-radius: 34px;
  background: linear-gradient(135deg, #071c36, #0a3970 62%, #2060ad);
  color: #ffffff;
}

.dark-panel h2,
.dark-panel h3,
.dark-panel h4,
.dark-panel p,
.dark-panel li,
.hero-section h1,
.hero-section p,
.hero-section span:not(.sticker-icon) {
  color: #ffffff;
}

.dark-panel::after {
  content: "";
  position: absolute;
  width: 280px;
  height: 280px;
  right: -90px;
  bottom: -120px;
  border-radius: 50%;
  background: rgba(71, 167, 232, 0.28);
}

.media-block {
  display: grid;
  gap: 1.5rem;
  align-items: stretch;
}

.media-block img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
  border-radius: 28px;
}

.list-check li {
  position: relative;
  padding-left: 1.8rem;
}

.list-check li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.48rem;
  width: 0.85rem;
  height: 0.85rem;
  border-radius: 999px;
  background: #f8b923;
  box-shadow: inset 0 0 0 4px #fff3c4;
}

.review-viewport {
  overflow: hidden;
}

.review-track {
  display: flex;
  transition: transform 420ms cubic-bezier(.22, 1, .36, 1);
}

.review-slide {
  min-width: 100%;
}

.mobile-menu {
  display: none;
}

.mobile-menu.is-open {
  display: block;
}

.sticky-call {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 60;
  transform: translateY(115%);
  opacity: 0;
  pointer-events: none;
  transition: transform 260ms ease, opacity 260ms ease;
}

.sticky-call.is-visible {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.sticky-call a {
  min-height: 58px;
  width: 100%;
  background: #071c36;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 16px;
  font-weight: 900;
  white-space: nowrap;
  box-shadow: 0 -12px 34px rgba(7, 28, 54, 0.28);
}

.fade-up {
  animation: fadeUp 720ms ease both;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (min-width: 768px) {
  .media-block {
    grid-template-columns: minmax(0, 65%) minmax(260px, 35%);
  }

  .media-block.reverse {
    grid-template-columns: minmax(260px, 35%) minmax(0, 65%);
  }

  .sticky-call {
    display: none !important;
  }
}

@media (max-width: 767px) {
  .hero-title {
    font-size: clamp(35px, 11vw, 46px);
  }

  .section-title {
    font-size: clamp(28px, 8vw, 34px);
  }

  .desktop-nav,
  .desktop-phone {
    display: none !important;
  }

  .mobile-header-phone {
    display: flex;
  }
}

@media (min-width: 768px) {
  .mobile-toggle,
  .mobile-menu,
  .mobile-header-phone {
    display: none !important;
  }
}
