
/* Базовые переменные */
:root {
  --blue: #0b3d91;
  --blue-light: #eaf0fb;
  --gray: #6b7280;
  --bg: #fff;
}

/* Сброс и типографика */
* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif; line-height: 1.6; color: #1f2937; background: var(--bg); }
.container { max-width: 1200px; margin: 0 auto; padding: 0 1rem; }

/* Шапка */
.header { background: var(--bg); border-bottom: 1px solid #e5e7eb; position: sticky; top: 0; z-index: 10; }
.header__inner { display: flex; align-items: center; justify-content: space-between; min-height: 72px; }
.logo { font-weight: 700; font-size: 1.25rem; color: var(--blue); text-decoration: none; }
.nav a { margin-left: 1.5rem; color: #374151; text-decoration: none; font-weight: 500; }
.btn { display: inline-flex; align-items: center; gap: .5rem; padding: .6rem 1.2rem; border-radius: 999px; text-decoration: none; font-weight: 600; transition: .2s; }
.btn--outline { border: 1px solid var(--blue); color: var(--blue); background: transparent; }
.btn--primary { background: var(--blue); color: #fff; }
.btn:hover { opacity: .9; }

/* Герой-секция */
.hero { background: linear-gradient(135deg, #f0f4ff 0%, #eaf0fb 100%); padding: 6rem 0; text-align: center; }
.hero__content h1 { font-size: clamp(2rem, 5vw, 2.8rem); margin-bottom: 1rem; color: var(--blue); }
.subtitle { max-width: 600px; margin: 0 auto 2rem; color: var(--gray); font-size: 1.1rem; }
.btn--primary { font-size: 1.1rem; padding: .8rem 2rem; }

/* Услуги */
.services { padding: 4rem 0; }
.services h2 { text-align: center; font-size: 2rem; margin-bottom: 2rem; }
.services__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; }
.card { background: #fff; border: 1px solid #e5e7eb; border-radius: 12px; padding: 1.5rem; box-shadow: 0 2px 6px rgba(0,0,0,.05); }
.card__icon { width: 48px; height: 48px; background: var(--blue-light); border-radius: 12px; display: flex; align-items: center; justify-content: center; font-weight: 700; color: var(--blue); margin-bottom: 1rem; }
.card h3 { margin-bottom: .5rem; color: var(--blue); }
.card p { color: var(--gray); font-size: .95rem; }

/* Блок доверия */
.trust { background: #f9fafb; padding: 3rem 0; }
.trust__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1rem; text-align: center; }
.trust span { display: block; padding: .75rem; background: #fff; border: 1px solid #e5e7eb; border-radius: 10px; font-size: 1rem; }

/* Подвал */
.footer { background: #0b3d91; color: #fff; padding: 3rem 0; }
.footer__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: start; }
.footer h3 { margin-bottom: .5rem; }
.footer p { color: #dbeafe; font-size: .95rem; }
.footer__contacts { text-align: right; }
.phone { display: block; font-size: 1.4rem; font-weight: 600; color: #fff; margin-top: .5rem; text-decoration: none; }
.site { display: block; color: #93c5fd; text-decoration: underline; margin-top: .5rem; }

/* Адаптив */
@media (max-width: 768px) {
  .header__inner { flex-direction: column; gap: .5rem; }
  .nav { order: -1; margin-bottom: .5rem; }
  .footer__inner { grid-template-columns: 1fr; text-align: center; }
  .footer__contacts { text-align: center; }
}
