/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #1c2740;
  background: #fff;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ===== CONTAINER ===== */
.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all .2s ease;
  border: 2px solid transparent;
  white-space: nowrap;
}

.btn--primary {
  background: #1a6fdb;
  color: #fff;
  border-color: #1a6fdb;
}
.btn--primary:hover { background: #1459b5; border-color: #1459b5; transform: translateY(-1px); box-shadow: 0 6px 20px rgba(26,111,219,.3); }

.btn--outline {
  background: transparent;
  color: #1a6fdb;
  border-color: #1a6fdb;
}
.btn--outline:hover { background: #1a6fdb; color: #fff; transform: translateY(-1px); }

.btn--header {
  background: #1a6fdb;
  color: #fff;
  padding: 10px 22px;
  font-size: 14px;
  border-radius: 8px;
}
.btn--header:hover { background: #1459b5; }

.btn--lg { padding: 16px 40px; font-size: 17px; }
.btn--full { width: 100%; }

/* ===== SECTION BASE ===== */
.section { padding: 88px 0; }

.section-head { text-align: center; margin-bottom: 56px; }
.section-head--left { text-align: left; margin-bottom: 48px; }

.section-label {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #1a6fdb;
  margin-bottom: 12px;
}
.section-label--light { color: #7ec8ff; }

.section-title {
  font-size: clamp(26px, 4vw, 38px);
  font-weight: 800;
  line-height: 1.2;
  color: #0d1a33;
  margin-bottom: 16px;
}
.section-title--light { color: #fff; }

.section-sub {
  font-size: 16px;
  color: #5a6a85;
  max-width: 560px;
  margin: 0 auto;
}

/* ===== HEADER ===== */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid #e8edf5;
  box-shadow: 0 1px 8px rgba(0,0,0,.06);
}

.header__inner {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 72px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.logo__text {
  font-size: 13.5px;
  line-height: 1.3;
  color: #1c2740;
}
.logo__text strong { font-weight: 700; color: #1a6fdb; }

.nav {
  display: flex;
  gap: 6px;
  margin-left: auto;
}
.nav__link {
  font-size: 14px;
  font-weight: 500;
  color: #374860;
  padding: 7px 14px;
  border-radius: 8px;
  transition: all .18s;
}
.nav__link:hover { color: #1a6fdb; background: #f0f6ff; }

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  margin-left: auto;
}
.burger span {
  display: block;
  width: 24px;
  height: 2.5px;
  background: #1c2740;
  border-radius: 2px;
  transition: all .25s;
}
.burger.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ===== HERO ===== */
.hero {
  background: linear-gradient(135deg, #0d1a33 0%, #0a2a5c 50%, #0f3d7a 100%);
  position: relative;
  overflow: hidden;
  padding-top: 0;
  padding-bottom: 0;
}

.hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  min-height: calc(100vh - 72px);
  padding-top: 80px;
  padding-bottom: 100px;
}

.hero__label {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #4fc3f7;
  margin-bottom: 20px;
}

.hero__title {
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 800;
  line-height: 1.12;
  color: #fff;
  margin-bottom: 24px;
}

.hero__desc {
  font-size: 17px;
  color: #a8bdd6;
  max-width: 460px;
  margin-bottom: 36px;
  line-height: 1.7;
}

.hero__actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.hero__actions .btn--outline {
  color: #fff;
  border-color: rgba(255,255,255,.4);
}
.hero__actions .btn--outline:hover {
  background: rgba(255,255,255,.12);
  border-color: rgba(255,255,255,.7);
  color: #fff;
}

.hero__stats {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
}

.stat__num {
  display: block;
  font-size: 30px;
  font-weight: 800;
  color: #fff;
  line-height: 1;
}
.stat__lbl {
  display: block;
  font-size: 13px;
  color: #7a9bbf;
  margin-top: 4px;
}

/* Hero visual */
.hero__visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero__img-wrap {
  width: 100%;
  max-width: 440px;
  filter: drop-shadow(0 24px 60px rgba(26,111,219,.35));
}
.hero__svg-bg { width: 100%; height: auto; }

.hero__badge {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 14px;
  padding: 12px 16px;
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.3;
  white-space: nowrap;
}
.hero__badge--1 { top: 10%; left: -5%; }
.hero__badge--2 { bottom: 15%; right: -5%; }

.hero__wave {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  line-height: 0;
}
.hero__wave svg { width: 100%; height: auto; }

/* ===== SERVICES ===== */
.services { background: #f5f9ff; }

.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  background: #fff;
  border-radius: 18px;
  padding: 32px 28px;
  transition: all .25s ease;
  border: 1px solid #e8edf5;
  position: relative;
  overflow: hidden;
}
.service-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: #1a6fdb;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s ease;
}
.service-card:hover { transform: translateY(-4px); box-shadow: 0 16px 48px rgba(26,111,219,.12); border-color: #c9dffa; }
.service-card:hover::after { transform: scaleX(1); }

.service-card__icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.service-card__title {
  font-size: 18px;
  font-weight: 700;
  color: #0d1a33;
  margin-bottom: 10px;
}
.service-card__desc { font-size: 14px; color: #5a6a85; line-height: 1.65; }

/* ===== WHY ===== */
.why {
  background: linear-gradient(135deg, #0d1a33 0%, #0a2a5c 100%);
}

.why__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.why__card {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 18px;
  padding: 32px 28px;
  transition: background .25s;
}
.why__card:hover { background: rgba(255,255,255,.1); }

.why__num {
  font-size: 40px;
  font-weight: 800;
  color: rgba(79,195,247,.4);
  line-height: 1;
  margin-bottom: 16px;
}
.why__title { font-size: 17px; font-weight: 700; color: #fff; margin-bottom: 10px; }
.why__desc { font-size: 14px; color: #7a9bbf; line-height: 1.65; }

/* ===== OBJECTS ===== */
.objects { background: #fff; }

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

.obj-card {
  background: #f5f9ff;
  border-radius: 16px;
  padding: 28px 20px;
  text-align: center;
  transition: all .22s;
  border: 2px solid transparent;
  cursor: default;
}
.obj-card:hover {
  background: #fff;
  border-color: var(--c, #1a6fdb);
  box-shadow: 0 8px 30px rgba(0,0,0,.08);
  transform: translateY(-3px);
}
.obj-card__icon { font-size: 36px; margin-bottom: 12px; }
.obj-card h4 { font-size: 14px; font-weight: 600; color: #1c2740; line-height: 1.3; }

/* ===== CTA ===== */
.cta {
  background: linear-gradient(135deg, #1a6fdb 0%, #0a4faa 100%);
  padding: 80px 0;
}

.cta__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
}

.cta__title {
  font-size: clamp(24px, 3.5vw, 36px);
  font-weight: 800;
  color: #fff;
  margin-bottom: 16px;
  line-height: 1.2;
}
.cta__desc {
  font-size: 16px;
  color: rgba(255,255,255,.8);
  margin-bottom: 32px;
  max-width: 500px;
  line-height: 1.65;
}
.cta__content .btn--primary {
  background: #fff;
  color: #1a6fdb;
  border-color: #fff;
}
.cta__content .btn--primary:hover {
  background: #f0f6ff;
  box-shadow: 0 8px 28px rgba(0,0,0,.2);
}

.cta__deco { flex-shrink: 0; opacity: .6; }

/* ===== CONTACT ===== */
.contact { background: #f5f9ff; }

.contact__inner .section-sub { margin: 0; max-width: 100%; }

.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.contact__info { display: flex; flex-direction: column; gap: 28px; padding-top: 8px; }

.contact__item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.contact__item-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #e8f4ff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact__item-label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: #8a9bb5;
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: 4px;
}
.contact__item-value { display: block; font-size: 15px; font-weight: 500; color: #1c2740; line-height: 1.4; }
.contact__phone { font-size: 22px; font-weight: 700; color: #1a6fdb; }
.contact__phone:hover { color: #1459b5; }

/* Form */
.contact__form-wrap {
  background: #fff;
  border-radius: 20px;
  padding: 40px 36px;
  box-shadow: 0 8px 40px rgba(26,111,219,.1);
  border: 1px solid #e4edfa;
}

.contact-form__title { font-size: 22px; font-weight: 700; color: #0d1a33; margin-bottom: 6px; }
.contact-form__sub { font-size: 14px; color: #5a6a85; margin-bottom: 28px; }

.form-group { margin-bottom: 18px; }
.form-label { display: block; font-size: 13px; font-weight: 600; color: #374860; margin-bottom: 6px; }
.form-input {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid #dce6f5;
  border-radius: 10px;
  font-family: inherit;
  font-size: 15px;
  color: #1c2740;
  background: #f8faff;
  transition: border-color .2s, box-shadow .2s;
  outline: none;
}
.form-input:focus { border-color: #1a6fdb; box-shadow: 0 0 0 3px rgba(26,111,219,.12); background: #fff; }
.form-input::placeholder { color: #a0b0c8; }
.form-textarea { resize: vertical; min-height: 90px; }

.form-privacy { font-size: 12px; color: #9aabbd; text-align: center; margin-top: 12px; }

.form-success {
  display: none;
  background: #e8f5e9;
  border: 1px solid #a5d6a7;
  color: #2e7d32;
  border-radius: 10px;
  padding: 14px 18px;
  margin-top: 16px;
  font-size: 14px;
  font-weight: 500;
}
.form-success.show { display: block; }

/* ===== FOOTER ===== */
.footer { background: #0d1a33; padding: 64px 0 0; }

.footer__inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
}

.footer__brand .logo--footer .logo__text { color: #fff; }
.footer__tagline { font-size: 14px; color: #5a7296; margin-top: 16px; line-height: 1.5; }

.footer__links-title { font-size: 13px; font-weight: 700; color: #fff; text-transform: uppercase; letter-spacing: .07em; margin-bottom: 18px; }

.footer__links, .footer__contact { display: flex; flex-direction: column; gap: 10px; }
.footer__links a { font-size: 14px; color: #5a7296; transition: color .18s; }
.footer__links a:hover { color: #7ec8ff; }

.footer__phone { font-size: 20px; font-weight: 700; color: #4fc3f7; margin-bottom: 4px; }
.footer__phone:hover { color: #7ec8ff; }
.footer__contact p { font-size: 14px; color: #5a7296; line-height: 1.5; }

.footer__bottom {
  border-top: 1px solid rgba(255,255,255,.07);
  padding: 20px 0;
}
.footer__bottom p { font-size: 13px; color: #3d5070; text-align: center; }

/* ===== FAB CALL ===== */
.fab-call {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 56px;
  height: 56px;
  background: #1a6fdb;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 24px rgba(26,111,219,.4);
  z-index: 200;
  transition: transform .2s, box-shadow .2s;
}
.fab-call:hover { transform: scale(1.1); box-shadow: 0 10px 32px rgba(26,111,219,.5); }
.fab-call::before {
  content: '';
  position: absolute;
  width: 100%; height: 100%;
  border-radius: 50%;
  background: rgba(26,111,219,.4);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { transform: scale(1); opacity: 1; }
  100% { transform: scale(2); opacity: 0; }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .services__grid { grid-template-columns: repeat(2, 1fr); }
  .why__grid { grid-template-columns: repeat(2, 1fr); }
  .objects__grid { grid-template-columns: repeat(4, 1fr); }
  .footer__inner { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
  .hero__inner { grid-template-columns: 1fr; padding-bottom: 80px; }
  .hero__visual { display: none; }
  .hero__inner { min-height: auto; padding-top: 60px; }
  .contact__grid { grid-template-columns: 1fr; }
  .cta__deco { display: none; }
  .objects__grid { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 768px) {
  .nav { display: none; flex-direction: column; position: absolute; top: 72px; left: 0; right: 0; background: #fff; border-bottom: 1px solid #e8edf5; padding: 16px 24px; gap: 4px; box-shadow: 0 8px 24px rgba(0,0,0,.08); }
  .nav.open { display: flex; }
  .nav__link { padding: 10px 12px; }
  .burger { display: flex; }
  .btn--header { display: none; }
  .header__inner { gap: 12px; }
  .objects__grid { grid-template-columns: repeat(2, 1fr); }
  .why__grid { grid-template-columns: 1fr; }
  .section { padding: 64px 0; }
  .hero__stats { gap: 28px; }
  .contact__form-wrap { padding: 28px 20px; }
}

@media (max-width: 520px) {
  .services__grid { grid-template-columns: 1fr; }
  .objects__grid { grid-template-columns: repeat(2, 1fr); }
  .footer__inner { grid-template-columns: 1fr; }
  .hero__actions { flex-direction: column; }
  .hero__actions .btn { width: 100%; text-align: center; }
  .cta__inner { flex-direction: column; text-align: center; }
  .cta__desc { margin-left: auto; margin-right: auto; }
}
