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

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; }

.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-block;
  padding: 13px 28px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 15px;
  transition: all 0.2s ease;
  cursor: pointer;
  border: 2px solid transparent;
  white-space: nowrap;
}
.btn--primary {
  background: #1A56DB;
  color: #fff;
  border-color: #1A56DB;
}
.btn--primary:hover { background: #1446b8; border-color: #1446b8; }

.btn--outline {
  background: transparent;
  color: #1A56DB;
  border-color: #1A56DB;
}
.btn--outline:hover { background: #1A56DB; color: #fff; }

.btn--ghost {
  background: rgba(255,255,255,0.15);
  color: #fff;
  border-color: rgba(255,255,255,0.5);
}
.btn--ghost:hover { background: rgba(255,255,255,0.25); }

.btn--white {
  background: #fff;
  color: #1A56DB;
  border-color: #fff;
}
.btn--white:hover { background: #e8f0fe; }

/* ===== HEADER ===== */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  box-shadow: 0 1px 12px rgba(0,0,0,0.08);
}
.header__inner {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 72px;
}
.header__logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.logo-title {
  display: block;
  font-weight: 700;
  font-size: 15px;
  color: #1e293b;
  line-height: 1.2;
}
.logo-sub {
  display: block;
  font-size: 11px;
  color: #64748b;
  font-weight: 400;
}
.header__nav {
  display: flex;
  gap: 28px;
  margin-left: auto;
}
.header__nav a {
  font-size: 14px;
  font-weight: 500;
  color: #475569;
  transition: color 0.2s;
}
.header__nav a:hover { color: #1A56DB; }
.header__phone {
  font-size: 14px;
  padding: 9px 18px;
  flex-shrink: 0;
}

/* Burger */
.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: all 0.3s;
}
.mobile-nav {
  display: none;
  flex-direction: column;
  padding: 12px 20px 16px;
  border-top: 1px solid #e2e8f0;
  background: #fff;
  gap: 4px;
}
.mobile-nav a {
  display: block;
  padding: 10px 0;
  font-weight: 500;
  color: #1e293b;
  border-bottom: 1px solid #f1f5f9;
}
.mobile-nav .mobile-phone {
  margin-top: 8px;
  color: #1A56DB;
  font-weight: 700;
  font-size: 18px;
  border-bottom: none;
}
.mobile-nav.open { display: flex; }

/* ===== SECTIONS ===== */
.section { padding: 80px 0; }
.section--gray { background: #f8fafc; }
.section__header {
  text-align: center;
  margin-bottom: 52px;
}
.section__header h2 {
  font-size: 36px;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 10px;
}
.section__header p {
  font-size: 17px;
  color: #64748b;
}

/* ===== HERO ===== */
.hero {
  background: linear-gradient(135deg, #1A56DB 0%, #0d3fa3 60%, #0a2d78 100%);
  padding: 90px 0 80px;
  overflow: hidden;
}
.hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.hero__badge {
  display: inline-block;
  background: rgba(255,255,255,0.15);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 20px;
  margin-bottom: 20px;
  border: 1px solid rgba(255,255,255,0.25);
}
.hero__title {
  font-size: 44px;
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 18px;
}
.hero__title span { color: #93c5fd; }
.hero__desc {
  font-size: 17px;
  color: rgba(255,255,255,0.82);
  margin-bottom: 24px;
  line-height: 1.7;
}
.hero__price {
  font-size: 22px;
  color: rgba(255,255,255,0.85);
  margin-bottom: 32px;
  font-weight: 500;
}
.hero__price strong {
  font-size: 36px;
  color: #fff;
  font-weight: 800;
}
.hero__actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.hero__visual {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.hero__card {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 14px;
  padding: 22px 18px;
  backdrop-filter: blur(8px);
  transition: transform 0.2s;
}
.hero__card:hover { transform: translateY(-3px); }
.hcard__icon { font-size: 28px; margin-bottom: 10px; }
.hcard__text {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
}
.hcard__sub { font-size: 12px; color: rgba(255,255,255,0.65); }

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

/* ===== WHY US ===== */
.why__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 52px;
}
.why__item {
  text-align: center;
  background: #fff;
  border-radius: 14px;
  padding: 32px 20px;
  border: 1px solid #e2e8f0;
}
.why__num {
  font-size: 48px;
  font-weight: 800;
  color: #1A56DB;
  line-height: 1;
  margin-bottom: 8px;
}
.why__label {
  font-size: 14px;
  color: #64748b;
  font-weight: 500;
}
.why__features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.why__feature {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 24px;
}
.why__feature-icon { font-size: 28px; flex-shrink: 0; }
.why__feature strong {
  display: block;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 6px;
  color: #0f172a;
}
.why__feature p { font-size: 14px; color: #64748b; line-height: 1.6; }

/* ===== PRICING ===== */
.pricing__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
}
.price-card {
  border: 2px solid #e2e8f0;
  border-radius: 16px;
  padding: 36px 28px;
  position: relative;
  background: #fff;
  transition: box-shadow 0.2s;
}
.price-card:hover { box-shadow: 0 8px 32px rgba(0,0,0,0.08); }
.price-card--featured {
  border-color: #1A56DB;
  box-shadow: 0 8px 40px rgba(26,86,219,0.15);
}
.price-card__badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: #1A56DB;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 20px;
  white-space: nowrap;
}
.price-card__name {
  font-size: 22px;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 6px;
}
.price-card__desc {
  font-size: 13px;
  color: #94a3b8;
  margin-bottom: 20px;
}
.price-card__price {
  font-size: 18px;
  color: #475569;
  margin-bottom: 24px;
  font-weight: 500;
}
.price-card__price span {
  font-size: 38px;
  font-weight: 800;
  color: #1A56DB;
}
.price-card__list {
  margin-bottom: 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.price-card__list li {
  font-size: 14px;
  color: #475569;
  padding-left: 2px;
}
.price-card .btn { width: 100%; text-align: center; }
.pricing__note {
  text-align: center;
  margin-top: 28px;
  font-size: 13px;
  color: #94a3b8;
}

/* ===== CTA ===== */
.cta {
  background: linear-gradient(135deg, #1A56DB, #0d3fa3);
  padding: 64px 0;
}
.cta__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.cta__text h2 {
  font-size: 30px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 8px;
}
.cta__text p {
  font-size: 16px;
  color: rgba(255,255,255,0.8);
}

/* ===== CONTACTS ===== */
.contacts__grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 32px;
  align-items: start;
}
.contacts__info {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.contact-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.contact-item__icon { font-size: 24px; flex-shrink: 0; margin-top: 2px; }
.contact-item strong {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 3px;
}
.contact-item p, .contact-item a {
  font-size: 15px;
  color: #475569;
}
.contact-item a:hover { color: #1A56DB; }
.contact-btn { margin-top: 8px; }

.contacts__map {
  border-radius: 16px;
  overflow: hidden;
  height: 380px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 20px rgba(0,0,0,0.07);
}
.contacts__map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* ===== FOOTER ===== */
.footer {
  background: #0f172a;
  padding-top: 52px;
}
.footer__inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer__left .logo-title { color: #fff; font-size: 17px; margin-bottom: 10px; }
.footer__left p { font-size: 13px; color: #94a3b8; line-height: 1.7; }
.footer__links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer__links a {
  font-size: 14px;
  color: #94a3b8;
  transition: color 0.2s;
}
.footer__links a:hover { color: #fff; }
.footer__contact {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer__contact a {
  font-size: 17px;
  font-weight: 700;
  color: #fff;
}
.footer__contact p { font-size: 13px; color: #94a3b8; }
.footer__bottom {
  padding: 18px 0;
  font-size: 13px;
  color: #475569;
  text-align: center;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 960px) {
  .hero__inner { grid-template-columns: 1fr; gap: 40px; }
  .hero__title { font-size: 34px; }
  .hero__visual { max-width: 480px; }
  .services__grid { grid-template-columns: 1fr 1fr; }
  .why__grid { grid-template-columns: 1fr 1fr; }
  .pricing__grid { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
  .contacts__grid { grid-template-columns: 1fr; }
  .contacts__map { height: 320px; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .header__nav, .header__phone { display: none; }
  .burger { display: flex; }
  .hero { padding: 60px 0 50px; }
  .hero__title { font-size: 28px; }
  .hero__price strong { font-size: 28px; }
  .section { padding: 56px 0; }
  .section__header h2 { font-size: 26px; }
  .services__grid { grid-template-columns: 1fr; }
  .why__grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .why__features { grid-template-columns: 1fr; }
  .cta__inner { flex-direction: column; text-align: center; }
  .cta__text h2 { font-size: 22px; }
  .footer__inner { grid-template-columns: 1fr; gap: 24px; }
  .hero__visual { grid-template-columns: 1fr 1fr; }
}
