:root {
  --bg-dark: #0d1117;
  --bg-dark-2: #111722;
  --bg-light: #f4f6f8;
  --bg-card-light: #ffffff;
  --bg-card-dark: rgba(255, 255, 255, 0.05);

  --text-light: #f2f5f8;
  --text-muted-light: rgba(255, 255, 255, 0.72);

  --text-dark: #171c22;
  --text-muted-dark: #5c6673;

  --line-light: rgba(255, 255, 255, 0.12);
  --line-dark: rgba(0, 0, 0, 0.08);

  --accent: #2f7fe8;
  --accent-dark: #1e5fb3;

  --container: 1280px;
  --radius-lg: 28px;
  --radius-md: 20px;

  --shadow-dark: 0 24px 80px rgba(0, 0, 0, 0.35);
  --shadow-light: 0 18px 50px rgba(12, 18, 28, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", sans-serif;
  background: var(--bg-dark);
  color: var(--text-light);
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(var(--container), calc(100% - 64px));
  margin: 0 auto;
}

/* Loader */
.page-loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(circle at center, rgba(47, 127, 232, 0.08), transparent 26%),
    linear-gradient(180deg, #081019 0%, #0b1118 100%);
  transition: opacity 0.7s ease, visibility 0.7s ease;
}

.page-loader.is-hidden {
  opacity: 0;
  visibility: hidden;
}

.page-loader-inner {
  width: min(420px, calc(100% - 48px));
  text-align: center;
}

.page-loader-title {
  font-family: "Oswald", sans-serif;
  font-size: 54px;
  line-height: 1;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #ffffff;
}

.page-loader-subtitle {
  margin-top: 10px;
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.52);
}

.page-loader-line {
  position: relative;
  width: 100%;
  height: 3px;
  margin-top: 28px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
}

.page-loader-line span {
  position: absolute;
  top: 0;
  left: -35%;
  width: 35%;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent 0%, var(--accent) 50%, transparent 100%);
  animation: loaderMove 1.1s ease-in-out infinite;
}

@keyframes loaderMove {
  0% {
    left: -35%;
  }
  100% {
    left: 100%;
  }
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 50;
  background: rgba(8, 12, 18, 0.68);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.header-inner {
  min-height: 88px;
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 28px;
}

.brand {
  display: inline-flex;
  flex-direction: column;
  gap: 3px;
}

.brand-title {
  font-family: "Oswald", sans-serif;
  font-size: 30px;
  line-height: 1;
  text-transform: uppercase;
  color: #ffffff;
}

.brand-subtitle {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.62);
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 34px;
}

.main-nav a {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.82);
  transition: 0.2s ease;
}

.main-nav a:hover {
  color: #ffffff;
}

.header-phone {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #ffffff;
  font-weight: 600;
  transition: 0.2s ease;
  white-space: nowrap;
}

.header-phone:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.26);
}

.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  background: #ffffff;
  border-radius: 999px;
  transition: 0.2s ease;
}

.menu-toggle.is-open span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.menu-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.is-open span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #09111a;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 12, 18, 0.88) 0%, rgba(7, 12, 18, 0.62) 42%, rgba(7, 12, 18, 0.56) 100%),
    url("hero.jpg") center center / cover no-repeat;
  transform: scale(1.02);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 52%, rgba(47, 127, 232, 0.15), transparent 28%),
    linear-gradient(90deg, rgba(7, 12, 18, 0) 42%, rgba(5, 10, 18, 0.08) 58%, rgba(5, 10, 18, 0.18) 100%);
}

.hero-right-shade {
  position: absolute;
  top: 0;
  right: 0;
  width: 38%;
  height: 100%;
  background: linear-gradient(90deg, rgba(6, 11, 18, 0) 0%, rgba(6, 11, 18, 0.30) 28%, rgba(6, 11, 18, 0.82) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-top: 128px;
  padding-bottom: 38px;
  padding-left: 34px;
}

.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 760px) 1fr;
  gap: 40px;
  align-items: start;
  max-width: 100%;
}

.hero-main {
  max-width: 760px;
}

.hero-badge {
  display: inline-flex;
  padding: 11px 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.92);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.hero-title {
  margin: 24px 0 18px;
  font-family: "Oswald", sans-serif;
  font-size: clamp(58px, 7vw, 96px);
  line-height: 0.98;
  font-weight: 500;
  text-transform: uppercase;
  color: #ffffff;
}

.hero-text {
  margin: 0;
  max-width: 700px;
  font-size: 20px;
  line-height: 1.72;
  color: rgba(255, 255, 255, 0.82);
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 30px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  padding: 0 26px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 700;
  transition: 0.2s ease;
}

.btn-primary {
  background: var(--accent);
  color: #ffffff;
  box-shadow: 0 16px 38px rgba(47, 127, 232, 0.28);
}

.btn-primary:hover {
  background: var(--accent-dark);
}

.btn-secondary {
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
}

.hero-note {
  margin-top: 18px;
  max-width: 620px;
  padding-left: 18px;
  border-left: 3px solid rgba(47, 127, 232, 0.9);
}

.hero-note-title {
  display: block;
  margin-bottom: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.54);
}

.hero-note p {
  margin: 0;
  font-size: 15px;
  line-height: 1.68;
  color: rgba(255, 255, 255, 0.86);
}

.hero-side {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-start;
  padding-top: 0;
  padding-right: 82px;
}

.hero-side-panel {
  width: 100%;
  max-width: 360px;
  text-align: left;
  margin-top: 210px;
}

.hero-side-kicker {
  display: block;
  margin-bottom: 12px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.52);
}

.hero-side-panel h2 {
  margin: 0 0 16px;
  font-family: "Oswald", sans-serif;
  font-size: 40px;
  line-height: 0.98;
  text-transform: uppercase;
  color: #ffffff;
}

.hero-side-panel p {
  margin: 0 0 18px;
  font-size: 16px;
  line-height: 1.78;
  color: rgba(255, 255, 255, 0.78);
}

.hero-side-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.hero-side-list li {
  position: relative;
  padding-left: 18px;
  font-size: 15px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.8);
}

.hero-side-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
}

.hero-features {
  margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  max-width: 980px;
}

.feature-card {
  padding: 22px 20px;
  border-radius: var(--radius-md);
  background: rgba(10, 17, 25, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
}

.feature-title {
  display: block;
  margin-bottom: 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.58);
}

.feature-text {
  display: block;
  font-size: 16px;
  line-height: 1.6;
  color: #ffffff;
}

/* Sections */
.section {
  padding: 110px 0;
}

.section-dark {
  background: linear-gradient(180deg, var(--bg-dark) 0%, var(--bg-dark-2) 100%);
  color: var(--text-light);
}

.section-light {
  background: var(--bg-light);
  color: var(--text-dark);
}

.section-head {
  margin-bottom: 46px;
  max-width: 880px;
}

.section-kicker {
  display: inline-flex;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(47, 127, 232, 0.14);
  border: 1px solid rgba(47, 127, 232, 0.26);
  color: #cfe2ff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.section-kicker-dark {
  background: rgba(47, 127, 232, 0.08);
  border-color: rgba(47, 127, 232, 0.18);
  color: var(--accent-dark);
}

.section-title {
  margin: 20px 0 16px;
  font-family: "Oswald", sans-serif;
  font-size: 62px;
  line-height: 1;
  font-weight: 500;
  text-transform: uppercase;
}

.section-title-dark {
  color: var(--text-dark);
}

.section-desc {
  margin: 0;
  font-size: 18px;
  line-height: 1.8;
  color: var(--text-muted-light);
}

.section-desc-dark {
  color: var(--text-muted-dark);
}

/* About */
.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 18px;
  align-items: start;
}

.info-card {
  padding: 30px;
  border-radius: var(--radius-md);
  background: var(--bg-card-dark);
  border: 1px solid var(--line-light);
  box-shadow: var(--shadow-dark);
}

.info-card-large {
  grid-row: auto;
}

.info-card h3 {
  margin: 0 0 16px;
  font-family: "Oswald", sans-serif;
  font-size: 32px;
  line-height: 1;
  text-transform: uppercase;
  color: #ffffff;
}

.info-card p {
  margin: 0;
  font-size: 17px;
  line-height: 1.85;
  color: rgba(255, 255, 255, 0.76);
}

/* Services */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.service-card {
  padding: 28px;
  border-radius: var(--radius-md);
  background: var(--bg-card-light);
  border: 1px solid var(--line-dark);
  box-shadow: var(--shadow-light);
}

.service-card-accent {
  background: linear-gradient(180deg, #ffffff 0%, #eef5ff 100%);
  border-color: rgba(47, 127, 232, 0.22);
}

.service-number {
  display: inline-block;
  margin-bottom: 22px;
  font-family: "Oswald", sans-serif;
  font-size: 46px;
  line-height: 1;
  color: rgba(47, 127, 232, 0.45);
}

.service-card h3 {
  margin: 0 0 14px;
  font-family: "Oswald", sans-serif;
  font-size: 34px;
  line-height: 1;
  text-transform: uppercase;
  color: var(--text-dark);
}

.service-card p {
  margin: 0;
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-muted-dark);
}

/* Accent */
.accent-section {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.accent-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 28px;
  align-items: center;
}

.accent-card {
  padding: 30px;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(47, 127, 232, 0.14), rgba(255, 255, 255, 0.04));
  border: 1px solid rgba(47, 127, 232, 0.22);
  box-shadow: var(--shadow-dark);
}

.accent-card ul {
  margin: 0 0 22px;
  padding-left: 20px;
}

.accent-card li {
  margin-bottom: 12px;
  font-size: 16px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.84);
}

.accent-card p {
  margin: 0;
  font-size: 16px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.72);
}

/* Advantages */
.advantages-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.adv-card {
  padding: 28px;
  border-radius: var(--radius-md);
  background: #ffffff;
  border: 1px solid var(--line-dark);
  box-shadow: var(--shadow-light);
}

.adv-card h3 {
  margin: 0 0 14px;
  font-family: "Oswald", sans-serif;
  font-size: 30px;
  line-height: 1;
  text-transform: uppercase;
  color: var(--text-dark);
}

.adv-card p {
  margin: 0;
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-muted-dark);
}

/* Contacts */
.contact-cta {
  padding-top: 100px;
  padding-bottom: 100px;
}

.contact-box {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: center;
  padding: 38px 42px;
  border-radius: 30px;
  background: linear-gradient(135deg, rgba(47, 127, 232, 0.14), rgba(255, 255, 255, 0.04));
  border: 1px solid rgba(47, 127, 232, 0.2);
  box-shadow: var(--shadow-dark);
}

.contact-phone {
  display: inline-block;
  font-family: "Oswald", sans-serif;
  font-size: 62px;
  line-height: 1;
  text-transform: uppercase;
  color: #ffffff;
}

.contact-meta {
  margin-top: 18px;
  display: grid;
  gap: 8px;
}

.contact-meta span {
  font-size: 16px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.72);
}

/* Footer */
.site-footer {
  padding: 22px 0 26px;
  background: #0a0f15;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.footer-copy,
.footer-note {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.58);
}

/* Responsive */
@media (max-width: 1380px) {
  .hero-layout {
    gap: 60px;
  }

  .hero-side {
    padding-right: 42px;
  }

  .hero-side-panel {
    margin-top: 190px;
  }
}

@media (max-width: 1280px) {
  .about-grid,
  .services-grid,
  .advantages-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .info-card-large {
    grid-column: 1 / -1;
  }

  .accent-grid,
  .contact-box,
  .hero-layout {
    grid-template-columns: 1fr;
  }

  .hero-right-shade {
    width: 100%;
    background: linear-gradient(180deg, rgba(6, 11, 18, 0.06) 0%, rgba(6, 11, 18, 0.30) 100%);
  }

  .hero-side {
    padding-top: 18px;
    padding-right: 0;
    align-items: flex-start;
  }

  .hero-side-panel {
    margin-top: 0;
  }

  .hero-features {
    grid-template-columns: 1fr;
    max-width: 720px;
  }
}

@media (max-width: 980px) {
  .site-header {
    position: fixed;
  }

  .header-inner {
    grid-template-columns: auto 1fr auto;
    gap: 14px;
    min-height: 76px;
  }

  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    order: 3;
  }

  .header-phone {
    display: none;
  }

  .brand {
    order: 1;
  }

  .main-nav {
    position: absolute;
    top: calc(100% + 8px);
    left: 16px;
    right: 16px;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 18px;
    border-radius: 18px;
    background: rgba(9, 14, 22, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: var(--shadow-dark);
  }

  .main-nav.is-open {
    display: flex;
  }

  .main-nav a {
    font-size: 16px;
  }

  .hero {
    min-height: auto;
  }

  .hero-content {
    padding-top: 106px;
    padding-bottom: 36px;
    padding-left: 0;
  }

  .hero-layout {
    gap: 22px;
  }

  .hero-title {
    font-size: 54px;
  }

  .hero-text {
    font-size: 18px;
    line-height: 1.7;
  }

  .hero-note {
    margin-top: 16px;
    max-width: none;
  }

  .hero-side {
    padding-top: 8px;
  }

  .hero-side-panel {
    max-width: none;
    margin-top: 0;
  }

  .hero-side-panel h2 {
    font-size: 34px;
  }

  .hero-features {
    margin-top: 20px;
  }

  .section {
    padding: 80px 0;
  }

  .section-title {
    font-size: 42px;
  }

  .about-grid,
  .services-grid,
  .advantages-grid {
    grid-template-columns: 1fr;
  }

  .contact-box {
    grid-template-columns: 1fr;
  }

  .contact-phone {
    font-size: 40px;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .container {
    width: min(var(--container), calc(100% - 32px));
  }

  .page-loader-title {
    font-size: 40px;
  }
}

@media (max-width: 640px) {
  .brand-title {
    font-size: 24px;
  }

  .brand-subtitle {
    font-size: 10px;
  }

  .hero-badge {
    font-size: 11px;
    padding: 10px 14px;
  }

  .hero-title {
    font-size: 42px;
  }

  .hero-text {
    font-size: 17px;
  }

  .btn {
    width: 100%;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-side-panel h2 {
    font-size: 30px;
  }

  .feature-text,
  .hero-side-panel p,
  .hero-side-list li,
  .info-card p,
  .service-card p,
  .adv-card p,
  .contact-meta span {
    font-size: 15px;
  }

  .section-title {
    font-size: 34px;
  }

  .info-card h3,
  .service-card h3,
  .adv-card h3 {
    font-size: 28px;
  }
}