:root {
  --navy: #0c1929;
  --navy-light: #132337;
  --blue: #2563eb;
  --blue-dark: #1d4ed8;
  --blue-glow: rgba(37, 99, 235, 0.15);
  --slate: #64748b;
  --slate-light: #94a3b8;
  --border: #e2e8f0;
  --bg: #f8fafc;
  --white: #ffffff;
  --font: 'Plus Jakarta Sans', system-ui, sans-serif;
  --shadow: 0 4px 24px rgba(12, 25, 41, 0.08);
  --shadow-lg: 0 20px 50px rgba(12, 25, 41, 0.15);
  --radius: 12px;
  --radius-lg: 16px;
  --ease: 0.3s ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--slate);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; transition: color var(--ease), background var(--ease), transform var(--ease); }
address { font-style: normal; }

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 96px 0; }

.label {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(1.75rem, 3.5vw, 2.375rem);
  font-weight: 800;
  color: var(--navy);
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.section-head {
  text-align: center;
  max-width: 560px;
  margin: 0 auto 56px;
}

.section-desc {
  font-size: 1.0625rem;
  color: var(--slate);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  font-family: var(--font);
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: 10px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--ease);
}

.btn--primary {
  background: var(--blue);
  color: var(--white);
  border-color: var(--blue);
}

.btn--primary:hover {
  background: var(--blue-dark);
  border-color: var(--blue-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px var(--blue-glow);
}

.btn--outline {
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(8px);
}

.btn--outline:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: var(--white);
}

.btn--white {
  background: var(--white);
  color: var(--navy);
  border-color: var(--white);
  flex-shrink: 0;
}

.btn--white:hover {
  background: var(--bg);
  transform: translateY(-2px);
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: all var(--ease);
}

.header--solid {
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow);
  padding: 12px 0;
}

.header--solid .logo__text { color: var(--navy); }
.header--solid .nav__link { color: var(--slate); }
.header--solid .nav__link:hover { color: var(--navy); }
.header--solid .header__phone { background: var(--blue); color: var(--white); }
.header--solid .nav-toggle span { background: var(--navy); }

.header__inner {
  display: flex;
  align-items: center;
  gap: 32px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-right: auto;
}

.logo__icon {
  width: 40px;
  height: 40px;
  color: var(--blue);
  flex-shrink: 0;
}

.header:not(.header--solid) .logo__icon { color: var(--white); }
.header:not(.header--solid) .logo__icon rect:first-child { fill: var(--blue); }

.logo__text {
  font-size: 1.125rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.02em;
}

.nav {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav__link {
  font-size: 0.9375rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
}

.nav__link:hover { color: var(--white); }

.header__phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: var(--blue);
  color: var(--white);
  font-size: 0.875rem;
  font-weight: 700;
  border-radius: 10px;
  flex-shrink: 0;
}

.header__phone:hover {
  background: var(--blue-dark);
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--ease);
}

.nav-toggle--open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle--open span:nth-child(2) { opacity: 0; }
.nav-toggle--open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 120px 0 140px;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__bg picture,
.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero__bg picture {
  display: block;
  width: 100%;
  height: 100%;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(12, 25, 41, 0.92) 0%,
    rgba(12, 25, 41, 0.78) 45%,
    rgba(12, 25, 41, 0.55) 100%
  );
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 640px;
}

.hero__badge {
  display: inline-block;
  padding: 8px 16px;
  background: rgba(37, 99, 235, 0.2);
  border: 1px solid rgba(37, 99, 235, 0.4);
  color: #93c5fd;
  font-size: 0.8125rem;
  font-weight: 600;
  border-radius: 50px;
  margin-bottom: 24px;
}

.hero__title {
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}

.hero__title span {
  color: #60a5fa;
}

.hero__desc {
  font-size: 1.125rem;
  color: var(--slate-light);
  line-height: 1.7;
  margin-bottom: 32px;
  max-width: 520px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero__cards {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 56px;
}

.hero-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
}

.hero-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: rgba(37, 99, 235, 0.2);
  color: #60a5fa;
  border-radius: 10px;
  flex-shrink: 0;
}

.hero-card strong {
  display: block;
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 2px;
}

.hero-card span {
  font-size: 0.8125rem;
  color: var(--slate-light);
}

/* About */
.about { background: var(--white); }

.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

.about__visual {
  position: relative;
}

.about__image-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.about__image-wrap img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}

.about__card {
  position: absolute;
  bottom: -24px;
  right: -16px;
  background: var(--blue);
  color: var(--white);
  padding: 24px 28px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  text-align: center;
}

.about__card-num {
  display: block;
  font-size: 2.25rem;
  font-weight: 800;
  line-height: 1;
}

.about__card-label {
  font-size: 0.8125rem;
  font-weight: 500;
  opacity: 0.9;
}

.about__content p {
  font-size: 1rem;
  color: var(--slate);
  margin-bottom: 16px;
  line-height: 1.75;
}

.about__content strong { color: var(--navy); }

.about__list {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin: 28px 0 32px;
}

.about__list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--navy);
}

.about__check {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  background: var(--blue-glow);
  color: var(--blue);
  border-radius: 50%;
  font-size: 0.7rem;
  font-weight: 800;
  flex-shrink: 0;
}

/* Services */
.services { background: var(--bg); }

.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: all var(--ease);
}

.service:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.service__icon {
  width: 52px;
  height: 52px;
  background: var(--blue-glow);
  color: var(--blue);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: all var(--ease);
}

.service__icon svg { width: 26px; height: 26px; }

.service:hover .service__icon {
  background: var(--blue);
  color: var(--white);
}

.service h3 {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
}

.service p {
  font-size: 0.9375rem;
  color: var(--slate);
  line-height: 1.65;
}

.cta-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 56px;
  padding: 40px 48px;
  background: var(--navy);
  border-radius: var(--radius-lg);
  color: var(--white);
}

.cta-band h3 {
  font-size: 1.375rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.cta-band p {
  font-size: 0.9375rem;
  color: var(--slate-light);
}

/* Footer */
.footer {
  background: var(--navy);
  color: var(--slate-light);
  padding-top: 72px;
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.logo--footer .logo__text { color: var(--white); }
.logo--footer .logo__icon { color: var(--blue); }

.footer__brand p {
  margin-top: 16px;
  font-size: 0.9375rem;
  line-height: 1.7;
  max-width: 300px;
}

.footer__col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer__col h4 {
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 4px;
}

.footer__col a {
  font-size: 0.9375rem;
  color: var(--slate-light);
}

.footer__col a:hover { color: var(--white); }

.footer__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0;
  font-size: 0.875rem;
}

.footer__bar a {
  color: #60a5fa;
  font-weight: 600;
}

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 1024px) {
  .about__grid { gap: 48px; }
  .services__grid { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
  .section { padding: 72px 0; }
  html { scroll-padding-top: 72px; }

  .nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    flex-direction: column;
    justify-content: center;
    gap: 8px;
    background: var(--navy);
    transform: translateX(100%);
    transition: transform var(--ease);
    z-index: 999;
  }

  .nav--open { transform: translateX(0); }

  .nav__link {
    font-size: 1.25rem;
    color: var(--white);
    padding: 16px 32px;
  }

  .header__phone { display: none; }
  .nav-toggle { display: flex; z-index: 1001; }

  .hero {
    min-height: auto;
    padding: 100px 0 80px;
  }

  .hero__cards {
    grid-template-columns: 1fr;
    margin-top: 40px;
  }

  .about__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about__card {
    right: 16px;
    bottom: -16px;
    padding: 18px 22px;
  }

  .about__list { grid-template-columns: 1fr; }

  .services__grid { grid-template-columns: 1fr; }

  .cta-band {
    flex-direction: column;
    align-items: flex-start;
    padding: 32px 28px;
  }

  .cta-band .btn { width: 100%; }

  .footer__grid { grid-template-columns: 1fr; gap: 32px; }

  .footer__bar {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .hero__actions { flex-direction: column; width: 100%; }
  .hero__actions .btn { width: 100%; }
}
