*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  overflow-x: hidden;
  font-family: "Montserrat", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  color: #1d1d1b;
  background: #f5f5f5;
}

img,
svg {
  display: block;
  max-width: 100%;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.page-main {
  min-height: auto;
}

.page-intro--seo {
  padding: clamp(32px, 4vw, 48px) clamp(32px, 5vw, 80px);
  background: #eef0f2;
  border-top: 1px solid #e0e4e8;
}

.page-intro--seo .page-intro__inner {
  max-width: 1440px;
  text-align: left;
}

.page-intro--seo h1 {
  margin: 0 0 12px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: var(--lada-track-label, 0.06em);
  text-transform: uppercase;
  color: #66727d;
}

.page-intro--seo p {
  margin: 0;
  max-width: none;
  font-size: 0.6875rem;
  font-weight: 400;
  line-height: 1.75;
  letter-spacing: var(--lada-track-normal, 0);
  color: #8c969f;
}

.page-intro {
  padding: 64px 32px;
  background: #f5f5f5;
}

.page-intro__inner {
  max-width: 1440px;
  margin: 0 auto;
  text-align: center;
}

.page-intro h1 {
  margin: 0 0 12px;
  font-family: "Montserrat", sans-serif;
  font-size: clamp(28px, 5vw, 44px);
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #1d1d1b;
}

.page-intro p {
  margin: 0 auto;
  max-width: 560px;
  font-family: "Montserrat", sans-serif;
  font-size: clamp(16px, 2vw, 20px);
  font-weight: 500;
  letter-spacing: 0.02em;
  color: #4a4a4a;
}

.site-footer {
  border-top: 1px solid #e2e6ea;
  background: #ffffff;
  color: #17212b;
}

.site-footer__inner {
  display: grid;
  grid-template-columns: minmax(280px, 0.95fr) minmax(0, 1.7fr);
  gap: clamp(42px, 6vw, 96px);
  width: min(100% - 40px, 1440px);
  margin: 0 auto;
  padding: clamp(56px, 6vw, 88px) 0 clamp(42px, 5vw, 72px);
}

.site-footer__brand {
  max-width: 420px;
}

.site-footer__logo {
  display: inline-flex;
  width: max-content;
  margin-bottom: 28px;
}

.site-footer__logo img {
  width: 132px;
  height: auto;
}

.site-footer__title {
  margin: 0 0 16px;
  font-size: clamp(1.65rem, 3vw, 2.45rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.04em;
  color: #101820;
}

.site-footer__text {
  margin: 0;
  color: #66727d;
  font-size: 0.98rem;
  font-weight: 500;
  line-height: 1.75;
}

.site-footer__nav {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 4vw, 56px);
}

.site-footer__group {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: flex-start;
  gap: 13px;
}

.site-footer__heading {
  margin: 0 0 8px;
  color: #101820;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: var(--lada-track-label, 0.06em);
  text-transform: uppercase;
}

.site-footer__group a,
.site-footer__group span {
  color: #5d6872;
  font-size: 0.94rem;
  font-weight: 600;
  line-height: 1.45;
  text-decoration: none;
}

.site-footer__group a {
  transition: color 0.2s ease, transform 0.2s ease;
}

.site-footer__group a:hover,
.site-footer__group a:focus-visible {
  color: #e31f2f;
  transform: translateX(3px);
}

.site-footer__phone {
  color: #101820 !important;
  font-size: 1.08rem !important;
  font-weight: 800 !important;
}

.site-footer__callback {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  margin-top: 8px;
  border: 1px solid #101820;
  border-radius: 999px;
  padding: 0 20px;
  background: #ffffff;
  color: #101820;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: var(--lada-track-label, 0.06em);
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.site-footer__callback:hover,
.site-footer__callback:focus-visible {
  border-color: #e31f2f;
  background: #e31f2f;
  color: #ffffff;
}

.site-footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: min(100% - 40px, 1440px);
  margin: 0 auto;
  border-top: 1px solid #e8ecef;
  padding: 22px 0 28px;
}

.site-footer__bottom p {
  margin: 0;
  color: #7a848d;
  font-size: 0.84rem;
  font-weight: 600;
}

.site-footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: flex-end;
}

.site-footer__legal a {
  color: #5d6872;
  font-size: 0.84rem;
  font-weight: 700;
  text-decoration: none;
  transition: color 0.2s ease;
}

.site-footer__legal a:hover,
.site-footer__legal a:focus-visible {
  color: #e31f2f;
}

@media (max-width: 900px) {
  .site-footer__inner {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .site-footer__brand {
    max-width: 620px;
  }

  .site-footer__nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .site-footer__group--contact {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  .site-footer__inner {
    width: min(100% - 32px, 1440px);
    padding: 44px 0 34px;
  }

  .site-footer__logo {
    margin-bottom: 22px;
  }

  .site-footer__logo img {
    width: 116px;
  }

  .site-footer__title {
    font-size: 1.9rem;
  }

  .site-footer__text {
    font-size: 0.92rem;
  }

  .site-footer__nav {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .site-footer__group {
    gap: 12px;
    border-top: 1px solid #edf0f2;
    padding-top: 24px;
  }

  .site-footer__heading {
    margin-bottom: 4px;
  }

  .site-footer__callback {
    width: 100%;
    min-height: 48px;
  }

  .site-footer__bottom {
    width: min(100% - 32px, 1440px);
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 0 26px;
  }

  .site-footer__legal {
    justify-content: flex-start;
    gap: 12px 18px;
  }
}
