:root{
  --bg-main:#0B1C2D;        /* основной фон */
  --bg-header:#0B1C2D;      /* шапка */
  --bg-card:#102A43;        /* карточки/блоки */
  --bg-alt:#0F243B;         /* альтернативные секции */
  --color-primary:#2E6FF2;  /* основной акцент */
  --color-primary-hover:#215BDA;
  --text-main:#FFFFFF;      /* основной текст */
  --text-muted:#BFD7ED;     /* вторичный текст */
  --border:rgba(255,255,255,0.10);
}

/* =========================
   БАЗОВЫЕ НАСТРОЙКИ
   ========================= */

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Inter, Arial, sans-serif;
  background: var(--bg-main);
  color: var(--text-main);
  line-height: 1.5;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

/* =========================
   КОНТЕЙНЕР
   ========================= */

.container {
  width: 100%;
  max-width: 1200px;
  padding: 0 16px;
  margin: 0 auto;
}

/* =========================
   ШАПКА
   ========================= */

.header {
  background: var(--bg-header);
  border-bottom: 1px solid var(--border);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
}

.logo__mark {
  background: var(--color-primary);
  color: #fff;
  padding: 6px 10px;
  border-radius: 6px;
  font-size: 14px;
}

.logo__text {
  font-size: 18px;
}

/* =========================
   НАВИГАЦИЯ
   ========================= */

.nav {
  display: flex;
  gap: 20px;
  font-size: 15px;
}

.nav a {
  opacity: 0.85;
}

.nav a:hover {
  opacity: 1;
}

/* =========================
   КНОПКИ
   ========================= */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--color-primary);
  color: #fff;
  padding: 10px 16px;
  border-radius: 8px;
  font-weight: 600;
  border: none;
  cursor: pointer;
}

.btn:hover {
  background: var(--color-primary-hover);
}

.btn--ghost {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.22);
}

.btn--ghost:hover {
  background: rgba(255,255,255,0.08);
}

.btn--wide {
  width: 100%;
}

/* =========================
   HERO
   ========================= */

.hero {
  padding: 48px 0;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 32px;
}

.badge {
  display: inline-block;
  background: rgba(46,111,242,0.16);
  color: #BFD7ED;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 13px;
  margin-bottom: 16px;
  border: 1px solid rgba(46,111,242,0.25);
}

h1 {
  font-size: 44px;
  margin: 0 0 12px;
}

.hero__subtitle {
  font-size: 18px;
  color: var(--text-muted);
}

.hero__actions {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.hero__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 28px;
}

.stat {
  background: var(--bg-card);
  padding: 14px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.08);
}

.stat__num {
  color: #BFD7ED;
  font-weight: 700;
}

/* =========================
   КАРТОЧКА
   ========================= */

.hero__card {
  background: var(--bg-card);
  border-radius: 14px;
  padding: 20px;
  border: 1px solid rgba(255,255,255,0.08);
}

.contact-card {
  margin-bottom: 12px;
}

.contact-card__role {
  color: var(--text-muted);
  font-size: 14px;
}

.contact-card__link {
  font-size: 18px;
  font-weight: 600;
}

.divider {
  height: 1px;
  background: rgba(255,255,255,0.12);
  margin: 16px 0;
}

.muted {
  color: var(--text-muted);
  font-size: 14px;
}

.fineprint {
  font-size: 12px;
  color: rgba(191,215,237,0.75);
}

/* =========================
   СЕКЦИИ
   ========================= */

.section {
  padding: 56px 0;
}

.section--alt {
  background: var(--bg-alt);
}

.section__title {
  font-size: 32px;
  margin-bottom: 8px;
}

.section__subtitle {
  color: var(--text-muted);
  margin-bottom: 32px;
}

/* =========================
   УСЛУГИ
   ========================= */

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

.card {
  background: var(--bg-card);
  padding: 20px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.08);
}

/* =========================
   ШАГИ
   ========================= */

.steps {
  display: grid;
  gap: 20px;
}

.step {
  display: flex;
  gap: 16px;
}

.step__num {
  background: var(--color-primary);
  color: #fff;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

/* =========================
   ФОРМА
   ========================= */

.lead {
  background: var(--bg-card);
  border-radius: 14px;
  padding: 24px;
  display: grid;
  gap: 20px;
  border: 1px solid rgba(255,255,255,0.08);
}

.form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.form__full {
  grid-column: 1 / -1;
}

.form input,
.form textarea {
  width: 100%;
  padding: 12px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.06);
  color: var(--text-main);
  font-size: 15px;
  outline: none;
}

.form input::placeholder,
.form textarea::placeholder {
  color: rgba(191,215,237,0.75);
}

.form input:focus,
.form textarea:focus {
  border-color: rgba(46,111,242,0.65);
  box-shadow: 0 0 0 3px rgba(46,111,242,0.20);
}

/* =========================
   КОНТАКТЫ
   ========================= */

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

.footer {
  margin-top: 32px;
  text-align: center;
}

/* =========================
   МОБИЛЬНАЯ АДАПТАЦИЯ
   ========================= */

@media (max-width: 768px) {

  .header__inner {
    flex-direction: column;
    gap: 12px;
    padding: 12px 0;
  }

  .nav {
    flex-wrap: wrap;
    justify-content: center;
  }

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

  h1 {
    font-size: 34px;
  }

  .hero__actions {
    flex-direction: column;
  }

  .hero__actions .btn {
    width: 100%;
  }

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

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

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

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

@media (max-width: 380px) {
  h1 {
    font-size: 30px;
  }
}

/* Логотип PNG */
.logo__img {
  width: 52px;
  height: 52px;
  object-fit: contain;
}
/* WhatsApp кнопки в шапке */
.wa-buttons{
  display:flex;
  gap:10px;
  align-items:center;
}

.wa-btn{
  white-space:nowrap;
  padding:10px 14px;
}

/* на планшетах/мобилках — в столбик и на всю ширину */
@media (max-width: 768px){
  .header__cta{
    width:100%;
  }
  .wa-buttons{
    width:100%;
    flex-direction:column;
  }
  .wa-btn{
    width:100%;
  }
}
/* WhatsApp иконка */
.wa-icon{
  width:18px;
  height:18px;
  display:inline-block;
  margin-right:8px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cpath fill='%2325D366' d='M16 3C9.4 3 4 8.1 4 14.4c0 2.5.8 4.8 2.2 6.8L4 29l7.9-2.1c1.9 1 4.1 1.6 6.4 1.6 6.6 0 12-5.1 12-11.4S22.6 3 16 3zm6.9 15.9c-.3.8-1.5 1.4-2.1 1.5-.6.1-1.3.1-2.1-.1-.5-.1-1.2-.4-2-.7-3.5-1.4-5.8-4.8-6-5-.2-.2-1.4-1.8-1.4-3.5 0-1.6.8-2.4 1.2-2.8.3-.3.8-.4 1.1-.4h.8c.3 0 .6 0 .9.6.3.7 1.1 2.6 1.2 2.8.1.2.1.5 0 .7-.1.2-.2.4-.4.6-.2.2-.4.4-.6.6-.2.2-.4.4-.2.7.1.3.6 1.2 1.3 1.9.9.9 1.6 1.2 1.9 1.3.3.1.5.1.7-.1.2-.2.8-.9 1-1.2.2-.3.4-.2.7-.1.3.1 2 .9 2.3 1 .3.1.5.2.6.3.1.1.1.7-.2 1.5z'/%3E%3C/svg%3E") no-repeat center / contain;
}
/* WhatsApp: иконка + выравнивание */
.wa-btn{
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.wa-icon{
  width: 18px;
  height: 18px;
  display: inline-block;
  flex: 0 0 18px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cpath fill='%2325D366' d='M16 3C9.4 3 4 8.1 4 14.4c0 2.5.8 4.8 2.2 6.8L4 29l7.9-2.1c1.9 1 4.1 1.6 6.4 1.6 6.6 0 12-5.1 12-11.4S22.6 3 16 3zm6.9 15.9c-.3.8-1.5 1.4-2.1 1.5-.6.1-1.3.1-2.1-.1-.5-.1-1.2-.4-2-.7-3.5-1.4-5.8-4.8-6-5-.2-.2-1.4-1.8-1.4-3.5 0-1.6.8-2.4 1.2-2.8.3-.3.8-.4 1.1-.4h.8c.3 0 .6 0 .9.6.3.7 1.1 2.6 1.2 2.8.1.2.1.5 0 .7-.1.2-.2.4-.4.6-.2.2-.4.4-.6.6-.2.2-.4.4-.2.7.1.3.6 1.2 1.3 1.9.9.9 1.6 1.2 1.9 1.3.3.1.5.1.7-.1.2-.2.8-.9 1-1.2.2-.3.4-.2.7-.1.3.1 2 .9 2.3 1 .3.1.5.2.6.3.1.1.1.7-.2 1.5z'/%3E%3C/svg%3E");
}
/* Кнопки с иконками */
.btn-icon{
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

/* Телефон */
.icon-phone{
  width: 18px;
  height: 18px;
  display: inline-block;
  background: no-repeat center / contain;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='white' d='M6.6 10.8c1.4 2.7 3.9 5.2 6.6 6.6l2.2-2.2c.3-.3.8-.4 1.2-.2 1 .4 2.1.7 3.2.7.6 0 1 .4 1 1V21c0 .6-.4 1-1 1C10.3 22 2 13.7 2 3c0-.6.4-1 1-1h3.9c.6 0 1 .4 1 1 0 1.1.2 2.2.7 3.2.1.4 0 .9-.2 1.2l-2.2 2.2z'/%3E%3C/svg%3E");
}

/* Telegram */
.icon-telegram{
  width: 18px;
  height: 18px;
  display: inline-block;
  background: no-repeat center / contain;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='white' d='M9.04 15.47l-.39 5.54c.56 0 .8-.24 1.1-.52l2.64-2.52 5.48 4.01c1 .55 1.71.26 1.96-.92l3.55-16.6c.32-1.5-.54-2.09-1.51-1.72L1.13 9.37c-1.48.58-1.46 1.4-.25 1.77l5.6 1.75L18.94 5.4c.59-.39 1.12-.18.68.21L9.04 15.47z'/%3E%3C/svg%3E");
}
/* Иконки для кнопок (Позвонить/Telegram) */
.btn-icon{
  display:inline-flex;
  align-items:center;
  gap:8px;
}

.icon-phone,
.icon-telegram{
  width:18px;
  height:18px;
  display:inline-block;
  flex:0 0 18px;
  background:no-repeat center/contain;
}

/* Телефон */
.icon-phone{
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='white' d='M6.6 10.8c1.4 2.7 3.9 5.2 6.6 6.6l2.2-2.2c.3-.3.8-.4 1.2-.2 1 .4 2.1.7 3.2.7.6 0 1 .4 1 1V21c0 .6-.4 1-1 1C10.3 22 2 13.7 2 3c0-.6.4-1 1-1h3.9c.6 0 1 .4 1 1 0 1.1.2 2.2.7 3.2.1.4 0 .9-.2 1.2l-2.2 2.2z'/%3E%3C/svg%3E");
}

/* Telegram */
.icon-telegram{
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='white' d='M9.04 15.47l-.39 5.54c.56 0 .8-.24 1.1-.52l2.64-2.52 5.48 4.01c1 .55 1.71.26 1.96-.92l3.55-16.6c.32-1.5-.54-2.09-1.51-1.72L1.13 9.37c-1.48.58-1.46 1.4-.25 1.77l5.6 1.75L18.94 5.4c.59-.39 1.12-.18.68.21L9.04 15.47z'/%3E%3C/svg%3E");
}
