/* === 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: #1e293b;
  background: #fff;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img, svg { display: block; }

.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 24px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  border: 2px solid transparent;
  white-space: nowrap;
}
.btn--primary {
  background: #1A56DB;
  color: #fff;
  border-color: #1A56DB;
}
.btn--primary:hover { background: #1544b8; border-color: #1544b8; }
.btn--outline {
  background: transparent;
  color: #1A56DB;
  border-color: #1A56DB;
}
.btn--outline:hover { background: #EFF6FF; }
.btn--white {
  background: #fff;
  color: #1A56DB;
  border-color: #fff;
}
.btn--white:hover { background: #EFF6FF; }
.btn--lg { padding: 14px 32px; font-size: 16px; }
.btn--full { width: 100%; }

/* === SECTION === */
.section { padding: 80px 0; }
.section__head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 56px;
}
.section__title {
  font-size: clamp(26px, 4vw, 36px);
  font-weight: 800;
  color: #0f172a;
  line-height: 1.2;
  margin-bottom: 12px;
}
.section__sub {
  color: #64748b;
  font-size: 17px;
}

/* === HEADER === */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  box-shadow: 0 1px 0 #e2e8f0;
}
.header__inner {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 68px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.logo__text {
  display: flex;
  flex-direction: column;
}
.logo__name {
  font-size: 15px;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.2;
}
.logo__sub {
  font-size: 11px;
  color: #94a3b8;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}
.nav a {
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  color: #475569;
  transition: color 0.2s, background 0.2s;
}
.nav a:hover { color: #1A56DB; background: #EFF6FF; }
.header__cta { margin-left: 8px; padding: 9px 18px; font-size: 14px; }

.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: 2px;
  background: #1e293b;
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}
.burger--open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger--open span:nth-child(2) { opacity: 0; }
.burger--open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* === HERO === */
.hero {
  background: linear-gradient(135deg, #f8faff 0%, #eff6ff 100%);
  padding: 80px 0 64px;
  overflow: hidden;
}
.hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.hero__badge {
  display: inline-block;
  background: #dbeafe;
  color: #1A56DB;
  font-size: 13px;
  font-weight: 600;
  padding: 5px 14px;
  border-radius: 100px;
  margin-bottom: 20px;
  letter-spacing: 0.02em;
}
.hero__title {
  font-size: clamp(30px, 4.5vw, 48px);
  font-weight: 800;
  color: #0f172a;
  line-height: 1.15;
  margin-bottom: 20px;
}
.hero__desc {
  font-size: 17px;
  color: #475569;
  margin-bottom: 32px;
  max-width: 480px;
}
.hero__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.hero__stats {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
}
.stat__num {
  display: block;
  font-size: 28px;
  font-weight: 800;
  color: #1A56DB;
  line-height: 1;
}
.stat__label {
  font-size: 13px;
  color: #64748b;
  margin-top: 2px;
}

.hero__visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero__bg-icon {
  position: relative;
  z-index: 0;
}
.hero__card {
  position: absolute;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 24px rgba(26,86,219,0.12);
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  font-size: 13px;
  white-space: nowrap;
  z-index: 1;
}
.hero__card strong { display: block; font-size: 14px; font-weight: 700; color: #0f172a; }
.hero__card span { color: #64748b; }
.hero__card--1 { top: 10px; left: -20px; }
.hero__card--2 { bottom: 60px; left: -30px; }
.hero__card--3 { top: 50%; right: -20px; transform: translateY(-50%); }

/* === SERVICES === */
.services { background: #fff; }
.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service-card {
  background: #f8faff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 28px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.service-card:hover {
  box-shadow: 0 8px 32px rgba(26,86,219,0.10);
  transform: translateY(-2px);
}
.service-card__icon { margin-bottom: 16px; }
.service-card h3 { font-size: 17px; font-weight: 700; color: #0f172a; margin-bottom: 10px; }
.service-card p { font-size: 14px; color: #64748b; line-height: 1.65; }

/* === ABOUT === */
.about { background: #f8faff; }
.about__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.about__visual { position: relative; }
.about__img-wrap {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(26,86,219,0.10);
}
.about__badge-wrap {
  position: absolute;
  bottom: -20px;
  right: -20px;
}
.about__stat-badge {
  background: #1A56DB;
  color: #fff;
  border-radius: 14px;
  padding: 16px 24px;
  text-align: center;
  box-shadow: 0 8px 24px rgba(26,86,219,0.25);
}
.about__stat-badge .big {
  display: block;
  font-size: 36px;
  font-weight: 800;
  line-height: 1;
}
.about__stat-badge span:last-child { font-size: 13px; opacity: 0.9; }
.about__content p {
  color: #475569;
  margin-bottom: 16px;
  font-size: 15.5px;
}
.about__content .section__title { margin-bottom: 20px; }
.about__list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 24px 0 28px;
}
.about__list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 500;
  color: #1e293b;
}

/* === WHY === */
.why { background: #fff; }
.why__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.why-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 28px;
  transition: box-shadow 0.2s;
}
.why-card:hover { box-shadow: 0 6px 28px rgba(26,86,219,0.08); }
.why-card__num {
  font-size: 36px;
  font-weight: 800;
  color: #dbeafe;
  line-height: 1;
  margin-bottom: 12px;
}
.why-card h3 { font-size: 16px; font-weight: 700; color: #0f172a; margin-bottom: 8px; }
.why-card p { font-size: 14px; color: #64748b; line-height: 1.65; }

/* === CTA BANNER === */
.cta-banner {
  background: linear-gradient(120deg, #1A56DB 0%, #1544b8 100%);
  padding: 56px 0;
}
.cta-banner__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.cta-banner h2 {
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 800;
  color: #fff;
  margin-bottom: 8px;
}
.cta-banner p { color: #bfdbfe; font-size: 16px; }

/* === CONTACT === */
.contact { background: #f8faff; }
.contact__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.contact__sub { color: #64748b; margin-bottom: 28px; font-size: 15.5px; }
.contact__details { display: flex; flex-direction: column; gap: 18px; margin-bottom: 28px; }
.contact__item { display: flex; align-items: flex-start; gap: 14px; }
.contact__label { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: 0.06em; color: #94a3b8; font-weight: 600; margin-bottom: 2px; }
.contact__value { font-size: 15px; font-weight: 600; color: #0f172a; line-height: 1.5; }
a.contact__value:hover { color: #1A56DB; }
.contact__info .section__title { margin-bottom: 12px; }

/* === FORM === */
.form-card {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 4px 32px rgba(26,86,219,0.10);
  padding: 36px;
}
.form-card h3 { font-size: 22px; font-weight: 700; color: #0f172a; margin-bottom: 8px; }
.form-card > p { color: #64748b; font-size: 14px; margin-bottom: 24px; }
.form__group { margin-bottom: 16px; }
.form__group label { display: block; font-size: 13px; font-weight: 600; color: #374151; margin-bottom: 6px; }
.form__group input,
.form__group textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid #e2e8f0;
  border-radius: 8px;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  color: #1e293b;
  background: #f8faff;
  transition: border-color 0.2s;
  outline: none;
}
.form__group input:focus,
.form__group textarea:focus { border-color: #1A56DB; background: #fff; }
.form__group textarea { resize: vertical; }
.form__note { font-size: 12px; color: #94a3b8; text-align: center; margin-top: 12px; }

.form-success {
  display: none;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 32px 0;
  gap: 12px;
}
.form-success strong { font-size: 20px; font-weight: 700; color: #065f46; }
.form-success p { color: #64748b; font-size: 15px; }

/* === FOOTER === */
.footer { background: #0f172a; color: #94a3b8; padding: 56px 0 0; }
.footer__inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
}
.footer__brand .logo__name { color: #f1f5f9; }
.footer__brand .logo__sub { color: #475569; }
.footer__brand > p { margin-top: 12px; font-size: 14px; color: #64748b; max-width: 240px; }
.footer__col h4 { font-size: 14px; font-weight: 700; color: #f1f5f9; margin-bottom: 16px; text-transform: uppercase; letter-spacing: 0.06em; }
.footer__col ul { display: flex; flex-direction: column; gap: 8px; }
.footer__col ul li { font-size: 14px; }
.footer__col a { transition: color 0.2s; }
.footer__col a:hover { color: #60A5FA; }
.footer__bottom {
  border-top: 1px solid #1e293b;
  padding: 20px 0;
}
.footer__bottom p { font-size: 13px; color: #475569; }

/* === RESPONSIVE === */
@media (max-width: 1024px) {
  .services__grid,
  .why__grid { grid-template-columns: repeat(2, 1fr); }
  .hero__inner { gap: 40px; }
  .hero__card--3 { display: none; }
}

@media (max-width: 768px) {
  .section { padding: 60px 0; }

  .nav {
    display: none;
    position: absolute;
    top: 68px;
    left: 0; right: 0;
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    padding: 12px 16px 20px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    gap: 2px;
  }
  .nav--open { display: flex; }
  .nav a { padding: 10px 12px; }
  .burger { display: flex; }
  .header__cta { display: none; }

  .hero { padding: 48px 0 40px; }
  .hero__inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hero__visual { display: none; }
  .hero__actions { flex-direction: column; }
  .hero__actions .btn { width: 100%; }

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

  .about__inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .about__badge-wrap { display: none; }

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

  .cta-banner__inner { flex-direction: column; text-align: center; }
  .cta-banner .btn { width: 100%; }

  .contact__inner { grid-template-columns: 1fr; gap: 40px; }

  .footer__inner { grid-template-columns: 1fr; gap: 32px; }
  .footer__col { padding-bottom: 0; }
}

@media (max-width: 480px) {
  .hero__stats { gap: 20px; }
  .form-card { padding: 24px 18px; }
  .hero__badge { font-size: 12px; }
}
