/* =========================================================================
   SAIA GROUP — общие стили сайта.
   1. Переменные  2. База  3. Сетка и секции  4. Кнопки  5. Шапка и меню
   6. Подвал  7. Блоки главной  8. Внутренние страницы  9. Формы и попап
   10. Служебное  11. Адаптив
   ========================================================================= */

/* 1. Переменные ----------------------------------------------------------- */
:root {
  --teal: #00bbce;
  --teal-dark: #00a3b4;
  --accent: var(--teal);
  --accent-dark: var(--teal-dark);
  --accent-soft: #e6f8fa;
  --navy: #18214d;
  --text: #1f1f1f;
  --muted: #767b88;
  --line: #e6e8ec;
  --surface: #edf4f5;        /* светлый фон карточек */
  --input: #f3f5f8;
  --footer: #202020;
  --font: "Montserrat", Arial, sans-serif;
  --font-display: "Tenor Sans", "Montserrat", Georgia, serif;
  --container: 1160px;
  --gutter: 20px;
  --radius: 8px;
  --header-h: 72px;
}

/* 2. База ----------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: #fff; color: var(--text); font: 400 14px/1.55 var(--font); }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
h1, h2, h3 { margin: 0; font-weight: 400; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* 3. Сетка и секции -------------------------------------------------------- */
.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: 64px 0; }
.section--tight { padding-top: 0; }
.section-title { font: 400 40px/1.15 var(--font-display); color: #000; margin-bottom: 28px; }
.section-title--wide { max-width: 560px; }
.section-lead { margin: -14px 0 24px; font-size: 14px; }
.page-title { font: 400 48px/1.15 var(--font-display); color: #000; margin-bottom: 22px; }
.page-lead { max-width: 640px; font-size: 15px; line-height: 1.6; }
.page-intro { padding-top: 56px; padding-bottom: 40px; }
.center { display: flex; justify-content: center; }

/* 4. Кнопки ----------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 42px;
  border: 1px solid transparent; border-radius: 30px; font: 500 13px/1.2 var(--font); text-align: center;
  transition: background .2s, color .2s, border-color .2s;
}
.btn--caps { text-transform: uppercase; letter-spacing: .02em; font-weight: 400; }
.btn--primary { background: var(--accent); color: #fff; }
.btn--primary:hover { background: var(--accent-dark); }
.btn--outline { border-color: var(--accent); color: var(--accent); background: transparent; }
.btn--outline:hover { background: var(--accent); color: #fff; }
.btn--light-outline { border-color: #fff; color: #fff; background: transparent; }
.btn--light-outline:hover { background: #fff; color: var(--text); }
.btn--small { min-height: 32px; padding: 0 18px; border-radius: 6px; }
.btn[disabled] { opacity: .6; pointer-events: none; }

/* 5. Шапка и меню ---------------------------------------------------------- */
.site-header { position: relative; z-index: 40; background: #fff; }
.header-top { display: flex; align-items: center; gap: 22px; min-height: 88px; position: relative; }
.header-top::after { content: ""; position: absolute; left: var(--gutter); right: var(--gutter); bottom: 0; height: 1px; background: var(--line); }
.logo { color: var(--teal); font: 400 33px/1 var(--font); letter-spacing: .01em; white-space: nowrap; }
.header-addresses {
  display: flex; flex-direction: column; gap: 6px; padding-left: 22px; border-left: 1px solid var(--line);
  color: var(--navy); font-size: 13px; line-height: 1.3;
}
.header-contacts { margin-left: auto; display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.header-phone { color: var(--teal); font-size: 15px; }
.lang-switch { color: #b0b4bd; font-size: 13px; display: flex; gap: 6px; }
.lang-switch a:hover { color: var(--teal); }
.lang-switch a.is-active { color: var(--teal); font-weight: 600; }
.burger { display: none; margin-left: auto; width: 40px; height: 40px; padding: 10px 8px; border: 0; background: none; }
.burger span { display: block; height: 1.5px; margin: 5px 0; background: var(--navy); border-radius: 2px; transition: transform .2s, opacity .2s; }
.site-header.is-open .burger span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.site-header.is-open .burger span:nth-child(2) { opacity: 0; }
.site-header.is-open .burger span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
.main-nav__list { display: flex; justify-content: space-between; align-items: center; }
.main-nav a { position: relative; padding: 18px 0; color: var(--navy); font-size: 14px; white-space: nowrap; }
.main-nav a:hover, .main-nav a.is-active { color: var(--teal); }
.main-nav a.is-active::after { content: ""; position: absolute; left: 0; right: 0; bottom: 10px; height: 1px; background: currentColor; }
.nav-overlay, .nav-close, .main-nav__bottom { display: none; }

/* 6. Подвал ------------------------------------------------------------------ */
.site-footer { background: var(--footer); color: #fff; padding: 48px 0 40px; }
.footer-cols { display: grid; grid-template-columns: 1fr 1.8fr 1.6fr 1fr; gap: 24px; padding-bottom: 40px; border-bottom: 1px solid #3a3a3a; }
.footer-cols span, .footer-cols a { display: block; color: #a9a9a9; font-size: 14px; line-height: 1.6; }
.footer-cols a:hover { color: #fff; }
.footer-label { margin: 0 0 8px; color: #fff; font-weight: 600; }
.footer-policy a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.footer-bottom { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; padding-top: 40px; }
.footer-logo { display: block; color: var(--teal); font: 400 40px/1 var(--font); }
.footer-tagline { margin: 16px 0 0; font-size: 12px; line-height: 1.3; }
.footer-studio { margin: 0; font-size: 12px; }
.footer-studio a { color: var(--teal); font-weight: 700; text-decoration: underline; }

/* 7. Блоки главной ----------------------------------------------------------- */
/* Слайдер */
.hero { position: relative; margin-top: 24px; }
.hero__viewport { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 1160 / 530; background: #2b2420; }
.hero__slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .6s ease, visibility .6s; }
.hero__slide.is-active { opacity: 1; visibility: visible; }
.hero__img { width: 100%; height: 100%; object-fit: cover; }
.hero__slide::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.45), rgba(0,0,0,.1) 65%); }
/* Светлое фото (слайд примерки): затемнение сильнее, чтобы текст читался */
.hero__slide--light::after { background: linear-gradient(90deg, rgba(0,0,0,.62), rgba(0,0,0,.38) 45%, rgba(0,0,0,.05) 75%); }
.hero__content { position: absolute; z-index: 1; left: 9%; top: 50%; transform: translateY(-50%); max-width: 640px; color: #fff; }
.hero__label { margin-bottom: 8px; color: var(--teal); font-size: 15px; font-weight: 500; }
.hero__title { margin-bottom: 18px; font: 400 56px/1.12 var(--font-display); }
.hero__text { margin-bottom: 30px; font-size: 15px; line-height: 1.5; }
.slider-arrow, .carousel__arrow {
  position: absolute; top: 50%; width: 36px; height: 36px; margin-top: -18px; border-radius: 50%;
  border: 1px solid var(--teal); background: #fff; display: grid; place-items: center; transition: background .2s;
}
.slider-arrow::before, .carousel__arrow::before {
  content: ""; width: 9px; height: 9px; border-top: 1.5px solid var(--teal); border-right: 1.5px solid var(--teal);
  transform: rotate(45deg); margin-left: -3px;
}
.slider-arrow--prev::before, .carousel__arrow--prev::before { transform: rotate(-135deg); margin: 0 -3px 0 0; }
.slider-arrow { width: 36px; height: 36px; margin-top: -18px; border: 0; background: #fff url("/static/img/icons/arrow.svg") center / 100% no-repeat; }
.slider-arrow::before { content: none; }
.slider-arrow--prev { transform: scaleX(-1); }
.slider-arrow:hover { background-color: var(--accent-soft); }
.slider-arrow--prev { left: -42px; }
.slider-arrow--next { right: -42px; }

/* О компании */
.about__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 80px; margin-bottom: 40px; }
.about__intro p { margin-bottom: 30px; }
.stats { display: flex; gap: 60px; margin: 26px 0 0; }
.stats dt { color: var(--teal); font: 400 42px/1 var(--font); }
.stats dd { margin: 10px 0 0; font-size: 10.5px; font-weight: 700; letter-spacing: .02em; text-transform: uppercase; color: #333; }

/* Галерея со «ступенчатыми» высотами */
.gallery { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; align-items: start; }
.gallery__item { margin: 0; overflow: hidden; }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; }
.gallery__item--square { aspect-ratio: 1 / 1; }
.gallery__item--tall { aspect-ratio: 220 / 296; }
.gallery__item--xtall { aspect-ratio: 220 / 440; }

/* Баннеры с фоновым фото */
.banner { position: relative; overflow: hidden; color: #fff; }
.banner__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.banner::before { content: ""; position: absolute; inset: 0; z-index: 1; }
.banner > .container { position: relative; z-index: 2; }
.banner--cooperation { min-height: 450px; display: flex; align-items: center; }
.banner--cooperation::before { background: rgba(60, 30, 10, .25); }
.banner__center { text-align: center; padding-top: 70px; padding-bottom: 70px; }
.banner__label { margin-bottom: 12px; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
.banner__title { margin-bottom: 18px; font: 400 46px/1.15 var(--font-display); }
.banner__text { margin-bottom: 30px; font-size: 13px; }

/* Плитки каталога */
.tiles { list-style: none; margin: 0 0 40px; padding: 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; }
.tile { display: block; }
.tile img { width: 100%; aspect-ratio: 220 / 373; object-fit: cover; transition: opacity .2s; }
.tile:hover img { opacity: .85; }
.tile span { display: block; margin-top: 12px; padding: 0 2px; color: #555; font-size: 12.5px; line-height: 1.3; }

/* Карусель брендов */
.brands { padding-top: 40px; padding-bottom: 56px; }
.carousel { position: relative; padding: 0 56px; }
.carousel__track {
  list-style: none; margin: 0; padding: 0; display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 5 * 24px) / 6);
  gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
}
.carousel__track::-webkit-scrollbar { display: none; }
.carousel__item { scroll-snap-align: start; display: grid; place-items: center; height: 120px; }
.carousel__item img { max-height: 90px; width: auto; max-width: 100%; object-fit: contain; filter: grayscale(1) contrast(1.1); opacity: .85; transition: filter .3s, opacity .3s; }
.carousel__item img:hover { filter: none; opacity: 1; }
.carousel__arrow { width: 28px; height: 28px; margin-top: -14px; border-color: #d5d8de; background: #f5f6f8; }
.carousel__arrow::before { width: 7px; height: 7px; border-color: #666; }
.carousel__arrow--prev { left: 0; }
.carousel__arrow--next { right: 0; }

/* 8. Внутренние страницы ------------------------------------------------------ */
/* Вкладки («Сотрудничество») */
.tabs { display: grid; grid-template-columns: 1fr 1fr; margin-bottom: 64px; border-bottom: 1px solid var(--line); }
.tabs__tab {
  position: relative; padding: 18px 10px; border: 0; background: none; color: var(--muted);
  font: 400 15px/1.3 var(--font-display); letter-spacing: .02em;
}
.tabs__tab.is-active { color: #000; }
.tabs__tab.is-active::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--teal); }

/* Карточки условий */
.cards { list-style: none; margin: 0 0 64px; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.card { display: flex; gap: 32px; padding: 26px 26px 34px; background: var(--surface); }
.card img { width: 64px; height: 64px; flex-shrink: 0; }
.card h3 { margin-bottom: 10px; font: 400 18px/1.3 var(--font-display); color: #000; }
.card p { font-size: 14px; line-height: 1.55; }

/* Текст + форма */
.form-section { display: grid; grid-template-columns: 1fr 1fr; gap: 40px 60px; align-items: start; }
.form-section p { font-size: 15px; line-height: 1.6; }
.form-section a { color: var(--teal); text-decoration: underline; text-underline-offset: 2px; }

/* «Комплектация объектов» */
.wide-banner { width: 100%; height: auto; margin-bottom: 30px; border-radius: 2px; }
.bundling-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; font-size: 14.5px; line-height: 1.6; }
.bundling-intro blockquote { margin: 0 0 1em; padding: 6px 0 6px 14px; border-left: 2px solid var(--teal); background: var(--surface); }
.note { padding: 16px; border: 1px solid var(--line); font-size: 13px; line-height: 1.5; }
.note-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 10px; }
.note--accent { border: 0; border-left: 2px solid var(--teal); background: #f7f8fa; }
.features-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.feature-card { display: flex; flex-direction: column; gap: 14px; padding: 20px; min-height: 120px; background: var(--surface); font-size: 14.5px; }
.objects { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px 30px; }
.objects li { display: flex; align-items: center; gap: 18px; font: 400 15px/1.3 var(--font-display); }
.objects__icon { width: 64px; height: 64px; border-radius: 50%; border: 1px solid var(--teal); display: grid; place-items: center; flex-shrink: 0; }

/* Контакты */
.contacts__grid { display: grid; grid-template-columns: 300px 1fr; gap: 40px; align-items: start; }
.contacts dl { margin: 0 0 30px; font-size: 16px; }
.contacts dt { margin-top: 18px; font-weight: 500; }
.contacts dd { margin: 4px 0 0; }
.contacts dd span { display: block; }
.contacts__company { font-size: 16px; }
.map { position: relative; height: 470px; background: #eef0f3; overflow: hidden; }
.map iframe { display: block; width: 100%; height: 100%; border: 0; }

/* Политика */
.prose { max-width: 900px; font-size: 15px; line-height: 1.65; }
.prose h2 { margin: 36px 0 12px; font: 400 24px/1.3 var(--font-display); color: #000; }
.prose ul { padding-left: 22px; }
.prose a { color: var(--teal); }

.not-found { min-height: 50vh; }

/* 9. Формы и попап ------------------------------------------------------------ */
.lead-form { display: grid; gap: 14px; }
.field input {
  width: 100%; height: 56px; padding: 0 20px; border: 1px solid transparent; border-radius: 0; background: var(--input);
  color: var(--text); font: 400 14px var(--font);
}
.field input::placeholder { color: #8a8f99; }
.field input:focus { outline: none; border-color: var(--teal); background: #fff; }
.field input.is-invalid { border-color: #e2554f; }
.lead-form__footer { display: flex; align-items: center; gap: 18px; margin-top: 6px; }
.lead-form__footer .btn { min-width: 240px; min-height: 52px; text-transform: uppercase; font-weight: 400; }
.lead-form__consent { margin: 0; font-size: 12px; line-height: 1.4; }
.lead-form__consent a { color: var(--teal); text-decoration: underline; }
.lead-form__status { margin: 0; min-height: 1.2em; font-size: 13.5px; }
.lead-form__status.is-success { color: #1a8a4c; }
.lead-form__status.is-error { color: #c0392b; }

.popup { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 16px; }
.popup__backdrop { position: absolute; inset: 0; background: rgba(15, 18, 30, .6); }
.popup__window {
  position: relative; width: 100%; max-width: 560px; max-height: calc(100vh - 32px); overflow-y: auto;
  padding: 40px 40px 32px; background: #fff; border-radius: var(--radius); box-shadow: 0 20px 60px rgba(0,0,0,.25);
}
.popup__title { margin-bottom: 24px; font: 400 32px/1.2 var(--font-display); }
.popup__close { position: absolute; top: 14px; right: 14px; width: 36px; height: 36px; border: 0; background: none; }
.popup__close::before, .popup__close::after { content: ""; position: absolute; left: 9px; right: 9px; top: 17px; height: 1.5px; background: #333; }
.popup__close::before { transform: rotate(45deg); }
.popup__close::after { transform: rotate(-45deg); }
.lead-form--popup .lead-form__footer { flex-direction: column; align-items: stretch; text-align: center; }
body.no-scroll { overflow: hidden; }

/* 10. Служебное --------------------------------------------------------------- */
.visually-hidden { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.cookie {
  position: fixed; right: 20px; bottom: 20px; z-index: 90; display: flex; align-items: center; gap: 22px; max-width: 600px;
  padding: 16px 22px; background: #eee; border-radius: 4px; box-shadow: 0 4px 20px rgba(0,0,0,.12); color: #555; font-size: 13.5px;
}
.cookie p { margin: 0; }
.cookie .btn { color: #555; border-color: #999; }
.cookie .btn:hover { background: #555; color: #fff; }
[hidden] { display: none !important; }

/* 11. Адаптив ----------------------------------------------------------------- */
@media (max-width: 1260px) {
  .slider-arrow--prev { left: 14px; }
  .slider-arrow--next { right: 14px; }
}
@media (max-width: 1060px) {
  :root { --gutter: 20px; }
  .header-top { min-height: var(--header-h); }
  .header-addresses, .header-contacts { display: none; }
  .header-contacts { flex-direction: row; align-items: center; }
  .header-phone { display: none; }
  .burger { display: block; margin-left: auto; margin-right: -8px; }
  .main-nav {
    position: fixed; top: 0; right: 0; bottom: 0; z-index: 120; width: 260px; display: flex; flex-direction: column;
    padding: 34px 25px 28px; background: var(--teal); overflow-y: auto;
    transform: translateX(100%); visibility: hidden; transition: transform .3s ease, visibility .3s;
  }
  .site-header.is-open .main-nav { transform: none; visibility: visible; }
  .nav-overlay { display: block; position: fixed; inset: 0; z-index: 110; background: rgba(0, 0, 0, .45); }
  .nav-close { display: block; position: absolute; top: 12px; right: 12px; width: 30px; height: 30px; border: 0; background: none; }
  .nav-close::before, .nav-close::after { content: ""; position: absolute; left: 4px; right: 4px; top: 14px; height: 2px; background: #fff; }
  .nav-close::before { transform: rotate(45deg); }
  .nav-close::after { transform: rotate(-45deg); }
  .main-nav__list { flex-direction: column; align-items: flex-start; gap: 4px; padding: 0; }
  .main-nav a { padding: 4px 0; color: #fff; font-size: 19px; line-height: 1.25; white-space: normal; }
  .main-nav a:hover, .main-nav a.is-active { color: #fff; opacity: .8; }
  .main-nav a.is-active::after { display: none; }
  .main-nav__bottom { display: flex; flex-direction: column; align-items: flex-start; gap: 22px; margin-top: auto; padding-top: 30px; }
  .main-nav__phone {
    display: inline-flex; align-items: center; min-height: 48px; padding: 0 28px !important; border: 1px solid #fff; border-radius: 30px;
    font-size: 14px !important; font-weight: 600;
  }
  .main-nav__lang { display: flex; gap: 8px; }
  .main-nav__lang a { padding: 0; font-size: 12px; opacity: .75; }
  .main-nav__lang a.is-active { opacity: 1; }

  .section { padding: 48px 0; }
  .section-title { font-size: 32px; }
  .page-title { font-size: 38px; }
  .hero__title { font-size: 40px; }
  .about__grid { grid-template-columns: 1fr; gap: 0; }
  .gallery { grid-template-columns: repeat(3, 1fr); }
  .tiles { grid-template-columns: repeat(3, 1fr); }
  .carousel__track { grid-auto-columns: calc((100% - 3 * 24px) / 4); }
  .banner__title { font-size: 36px; }
  .cards, .form-section, .bundling-intro, .contacts__grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr 1fr; }
  .objects { grid-template-columns: 1fr 1fr; }
  .footer-cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  :root { --gutter: 16px; }
  .logo { font-size: 26px; }
  .section { padding: 40px 0; }
  .section-title { font-size: 28px; margin-bottom: 20px; }
  .page-title { font-size: 32px; }
  .page-intro { padding-top: 32px; padding-bottom: 24px; }
  /* Слайдер — карточка с отступами, стрелки под ней справа (на уровне заголовка «SAIA GROUP») */
  .hero { margin-top: 0; }
  .hero__viewport { border-radius: 6px; aspect-ratio: 358 / 353; }
  .hero__content { left: 18px; right: 18px; top: auto; bottom: 22px; transform: none; max-width: none; }
  .hero__label { font-size: 12px; }
  .hero__title { margin-bottom: 12px; font-size: 28px; }
  .hero__text { margin-bottom: 18px; font-size: 12.5px; }
  .hero__text br { display: none; }
  .hero .btn { width: 100%; }
  .hero__slide--light::after { background: linear-gradient(0deg, rgba(0,0,0,.7), rgba(0,0,0,.35) 60%, rgba(0,0,0,.08)); }
  .slider-arrow { top: calc(100% + 37px); margin-top: 0; width: 38px; height: 38px; }
  .slider-arrow--prev { left: auto; right: 66px; }
  .slider-arrow--next { right: 16px; }

  /* «SAIA GROUP»: заголовок, текст, цифры, три фото, остальной текст и кнопка — как на старом сайте */
  .about .container { display: flex; flex-direction: column; }
  .about__grid, .about__intro, .about__more { display: contents; }
  .about .section-title { order: 1; margin-bottom: 16px; }
  .about__intro p { order: 2; margin-bottom: 0; }
  .stats { order: 3; flex-direction: column; gap: 14px; margin: 20px 0 24px; }
  .stats > div { display: flex; align-items: center; gap: 14px; }
  .stats dt { min-width: 116px; font-size: 34px; }
  .stats dd { margin: 0; }
  .gallery { order: 4; grid-template-columns: 1fr 1fr; margin-bottom: 26px; }
  .gallery__item { border-radius: 6px; }
  .gallery__item:nth-child(2), .gallery__item:nth-child(4), .gallery__item:nth-child(6) { display: none; }
  .gallery__item:nth-child(5) { order: -1; grid-column: 1 / -1; aspect-ratio: 350 / 157; }
  .gallery__item:nth-child(1), .gallery__item:nth-child(3) { aspect-ratio: 171 / 215; }
  .about__more p { order: 5; }
  .about__intro .btn { order: 6; align-self: center; margin-top: 30px; }

  .tiles { grid-template-columns: 1fr 1fr; gap: 16px 12px; }
  .tile img { aspect-ratio: 10 / 11; border-radius: 4px; }
  .carousel { padding: 0 36px; }
  .carousel__track { grid-template-rows: repeat(3, auto); grid-auto-columns: calc((100% - 24px) / 2); row-gap: 8px; }
  .carousel__item { height: 80px; grid-column: var(--m-col); grid-row: var(--m-row); }
  .carousel__item:nth-child(2n + 1) { scroll-snap-align: start; }
  .carousel__item:nth-child(2n) { scroll-snap-align: none; }
  .banner--cooperation { min-height: 380px; }
  .banner__title { font-size: 30px; }
  .banner__text br { display: none; }
  .tabs { margin-bottom: 36px; }
  .card { flex-direction: column; gap: 14px; padding: 22px; }
  .cards { margin-bottom: 40px; }
  .note-pair, .features-grid, .objects { grid-template-columns: 1fr; }
  .feature-card { min-height: 0; flex-direction: row; align-items: center; }
  .map { height: 360px; }
  .lead-form__footer { flex-direction: column; align-items: stretch; }
  .lead-form__footer .btn { min-width: 0; width: 100%; }
  .popup__window { padding: 32px 20px 24px; }
  .footer-cols { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .footer-logo { font-size: 32px; }
  .cookie { left: 12px; right: 12px; bottom: 12px; flex-direction: column; align-items: flex-start; gap: 12px; }
}
