/* ALPHA GROUP — корпоративный одностраничник
   Палитра: #CA0147 (акцент), #000000 / #0A0A0B (чёрный), #FFFFFF (белый), #3E3E3E (служебный серый)
   Шрифт: Montserrat (700 — заголовки, 500/400 — текст) */

/* Шрифты — self-hosted (по ТЗ, раздел 5) */
@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("assets/fonts/Montserrat-var-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("assets/fonts/Montserrat-var-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212;
}

:root {
  --accent: #CA0147;
  --black: #000000;
  --dark: #0A0A0B;
  --white: #FFFFFF;
  --gray: #3E3E3E;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Montserrat", Arial, sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.55;
  color: var(--black);
  background: var(--white);
}

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

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

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Заголовки секций */
.section-title {
  font-weight: 700;
  font-size: 28px;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  padding-left: 20px;
  border-left: 6px solid var(--accent);
  margin-bottom: 40px;
}

/* Шапка */
.header {
  border-bottom: 1px solid var(--black);
  background: var(--white);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 20px;
  padding-bottom: 20px;
}

.header__logo img {
  width: 246px;
  height: auto;
}

.header__contacts {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
}

.header__phone {
  font-weight: 700;
  font-size: 18px;
  white-space: nowrap;
}

.header__phone:hover {
  color: var(--accent);
}

.header__mail {
  font-weight: 500;
  font-size: 14px;
  color: var(--gray);
}

.header__mail:hover {
  color: var(--accent);
}

/* Hero */
.hero {
  padding: 88px 0 96px;
}

.hero__kicker {
  font-weight: 500;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin-bottom: 20px;
}

.hero__title {
  font-weight: 700;
  font-size: 52px;
  line-height: 1.08;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  max-width: 900px;
}

.hero__subtitle {
  font-weight: 500;
  font-size: 19px;
  line-height: 1.5;
  max-width: 680px;
  margin-top: 28px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 40px;
}

.btn {
  display: inline-block;
  font-weight: 700;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 17px 44px;
  border: 2px solid var(--accent);
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

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

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

.btn--secondary {
  background: var(--white);
  color: var(--black);
  border-color: var(--black);
}

.btn--secondary:hover {
  color: var(--accent);
  border-color: var(--accent);
}

/* Направления */
.directions {
  padding: 0 0 96px;
}

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

.card {
  border: 1px solid var(--black);
  border-top: 4px solid var(--accent);
  padding: 28px 24px 32px;
}

.card__title {
  font-weight: 700;
  font-size: 17px;
  line-height: 1.25;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin-bottom: 14px;
}

.card__text {
  font-size: 15px;
  line-height: 1.55;
}

/* Полоса цифр */
.stats {
  background: var(--dark);
  color: var(--white);
  padding: 56px 0;
}

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

.stats__item {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.stats__value {
  font-weight: 700;
  font-size: 40px;
  line-height: 1;
  color: var(--accent);
  white-space: nowrap;
}

.stats__label {
  font-weight: 500;
  font-size: 14px;
  line-height: 1.4;
}

/* Как мы работаем */
.principles {
  padding: 96px 0;
}

.principles__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px 48px;
}

.principle {
  border-top: 1px solid var(--black);
  padding-top: 24px;
}

.principle__num {
  display: block;
  font-weight: 700;
  font-size: 15px;
  color: var(--accent);
  margin-bottom: 10px;
}

.principle__title {
  font-weight: 700;
  font-size: 18px;
  line-height: 1.3;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin-bottom: 10px;
}

.principle__text {
  font-size: 15px;
  line-height: 1.55;
  max-width: 460px;
}

/* Реквизиты и контакты */
.requisites {
  border-top: 1px solid var(--black);
  padding: 88px 0 96px;
}

.requisites__grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 48px 64px;
  align-items: start;
}

.requisites__heading {
  font-weight: 700;
  font-size: 18px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin-bottom: 24px;
}

.requisites__list {
  display: flex;
  flex-direction: column;
}

.requisites__row {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.15);
  font-size: 15px;
}

.requisites__row dt {
  font-weight: 500;
  color: var(--gray);
}

.requisites__row dd {
  font-weight: 500;
}

.contact__line {
  margin-bottom: 10px;
}

.contact__phone {
  font-weight: 700;
  font-size: 24px;
  white-space: nowrap;
}

.contact__phone:hover {
  color: var(--accent);
}

.contact__mail {
  font-weight: 500;
  font-size: 17px;
}

.contact__mail:hover {
  color: var(--accent);
}

.contact__note {
  font-size: 14px;
  line-height: 1.55;
  color: var(--gray);
  margin-top: 18px;
  padding-top: 18px;
  border-top: 4px solid var(--accent);
}

/* Футер */
.footer {
  background: var(--dark);
  color: var(--white);
  padding: 40px 0;
}

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

.footer__logo {
  width: 219px;
  height: auto;
}

.footer__copy {
  font-weight: 500;
  font-size: 14px;
}

/* Адаптив */
@media (max-width: 900px) {
  .hero__title {
    font-size: 38px;
  }

  .directions__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats__grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

@media (max-width: 600px) {
  .header__inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .header__contacts {
    align-items: flex-start;
  }

  .header__logo img {
    width: 210px;
  }

  .hero {
    padding: 56px 0 64px;
  }

  .hero__title {
    font-size: 30px;
  }

  .hero__subtitle {
    font-size: 17px;
  }

  .btn {
    width: 100%;
    text-align: center;
  }

  .section-title {
    font-size: 22px;
    margin-bottom: 28px;
  }

  .directions,
  .principles {
    padding-bottom: 64px;
  }

  .principles {
    padding-top: 64px;
  }

  .requisites {
    padding: 64px 0;
  }

  .directions__grid,
  .stats__grid,
  .principles__grid {
    grid-template-columns: 1fr;
  }

  .stats {
    padding: 40px 0;
  }

  .stats__value {
    font-size: 32px;
  }

  .requisites__row {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .footer__inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
}

/* Шапка — липкая, с якорной навигацией */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
}

.header__nav {
  display: flex;
  gap: 28px;
}

.header__nav a {
  font-weight: 500;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.header__nav a:hover {
  color: var(--accent);
}

@media (max-width: 900px) {
  .header__nav {
    display: none;
  }
}

/* Этапы сделки */
.stages {
  background: var(--white);
  border-top: 1px solid var(--black);
  padding: 88px 0 96px;
}

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

.stage {
  border-left: 4px solid var(--accent);
  padding-left: 20px;
}

.stage__num {
  display: block;
  font-weight: 700;
  font-size: 15px;
  color: var(--accent);
  margin-bottom: 8px;
}

.stage__title {
  font-weight: 700;
  font-size: 16px;
  line-height: 1.3;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin-bottom: 8px;
}

.stage__text {
  font-size: 14px;
  line-height: 1.5;
}

@media (max-width: 900px) {
  .stages__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .stages {
    padding: 64px 0;
  }

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

/* QR в контактах */
.contact__qr {
  width: 128px;
  height: auto;
  margin-top: 20px;
  border: 1px solid rgba(0, 0, 0, 0.15);
}

.contact__qr-caption {
  font-size: 12.5px;
  color: var(--gray);
  margin-top: 8px;
}


/* Подписи к телефонам */
.contact__label {
  display: block;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--gray);
  margin-top: 2px;
}
