/* ==========================================================================
   ГЭК — дизайн-система «Дом в порядке»
   Тёплый корпоративный минимализм: зелёный, кремовый, графит.
   ========================================================================== */

@font-face {
  font-family: "Manrope";
  src: url("../fonts/manrope-cyrillic.woff2") format("woff2");
  font-weight: 400 800;
  font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Manrope";
  src: url("../fonts/manrope-latin.woff2") format("woff2");
  font-weight: 400 800;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- Токены ---------- */
:root {
  /* Цвета бренда */
  --green: #075B46;          /* основные действия и акценты */
  --green-deep: #064737;     /* тёмные поверхности, подвал */
  --green-ink: #053A2D;      /* наведение на основную кнопку */
  --green-pale: #DCE9DE;     /* вторичные поверхности */
  --green-tint: #EDF4EE;     /* лёгкая подложка */
  --cream: #F6F3EB;          /* основной тёплый фон */
  --cream-2: #EDE8DC;
  --white: #FFFFFF;
  --ink: #25352E;            /* графит: текст и заголовки */
  --ink-2: #3D4E46;
  --muted: #5C6962;          /* 5.3:1 на кремовом */
  --line: #E3DED2;
  --line-2: #CFC8B8;
  /* Срочное — только для аварийной службы */
  --coral: #E66A52;
  --coral-ink: #A83A25;      /* текст на белом/светлом: 5.6:1 */
  --coral-soft: #FCEBE6;
  --ok: #1D7349;
  --danger: #B3261E;
  --focus: #0B7A5E;

  /* Типографика */
  --font: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --t-xs: .8125rem;
  --t-sm: .9375rem;
  --t-md: 1.0625rem;
  --t-lg: clamp(1.125rem, 1rem + .4vw, 1.3rem);
  --h1: clamp(2rem, 1.35rem + 2.6vw, 3.5rem);
  --h1-page: clamp(1.75rem, 1.3rem + 1.8vw, 2.6rem);
  --h2: clamp(1.5rem, 1.2rem + 1.1vw, 2.15rem);
  --h3: clamp(1.1rem, 1rem + .35vw, 1.3rem);

  /* Отступы, радиусы, тени */
  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px; --s6: 32px; --s7: 48px; --s8: 64px; --s9: 96px;
  --r-sm: 8px;
  --r: 14px;
  --r-lg: 20px;
  --r-xl: 28px;
  --sh-1: 0 1px 2px rgba(37, 53, 46, .06), 0 1px 1px rgba(37, 53, 46, .04);
  --sh-2: 0 10px 28px -16px rgba(37, 53, 46, .28), 0 2px 6px -2px rgba(37, 53, 46, .06);
  --sh-3: 0 28px 56px -28px rgba(6, 71, 55, .38);

  /* Сетка: брейкпоинты 480 / 760 / 1024 / 1280 */
  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 32px);
  --header-h: 76px;

  /* Совместимость с панелью управления */
  --primary: var(--green);
  --primary-soft: var(--green-pale);
  --water: var(--green);
  --surface: var(--white);
  --surface-2: var(--cream);
  --glass-strong: var(--white);
}

/* ---------- База ---------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--t-md);
  line-height: 1.6;
  color: var(--ink);
  background: var(--cream);
  font-feature-settings: "ss01";
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
img, video, iframe { max-width: 100%; }
img { height: auto; display: block; }
h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.18; letter-spacing: -.015em; font-weight: 800; color: var(--ink); text-wrap: balance; }
h1 { font-size: var(--h1); }
h2 { font-size: var(--h2); }
h3 { font-size: var(--h3); font-weight: 750; }
p { margin: 0 0 1em; }
a { color: var(--green); text-decoration-thickness: 1px; text-underline-offset: .18em; }
a:hover { color: var(--green-ink); }
strong, b { font-weight: 750; }
small { font-size: var(--t-xs); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 4px; }
main:focus { outline: none; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.muted { color: var(--muted); }
.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.ic { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; vertical-align: -.25em; }

.skip { position: absolute; left: 16px; top: -100px; z-index: 100; padding: 12px 18px; border-radius: var(--r-sm); background: var(--ink); color: #fff; font-weight: 700; }
.skip:focus { top: 12px; color: #fff; }

/* ---------- Кнопки ---------- */
.btn {
  --bg: var(--white); --fg: var(--ink); --bd: var(--line-2);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 46px; padding: 10px 20px;
  border: 1.5px solid var(--bd); border-radius: 999px;
  background: var(--bg); color: var(--fg);
  font: inherit; font-size: var(--t-sm); font-weight: 750; line-height: 1.2; text-decoration: none; text-align: center;
  cursor: pointer; transition: background-color .15s, border-color .15s, color .15s, box-shadow .15s, transform .15s;
}
.btn:hover { --bd: var(--green); color: var(--fg); }
.btn:active { transform: translateY(1px); }
.btn .ic { width: 1.2em; height: 1.2em; }
.btn--primary { --bg: var(--green); --fg: #fff; --bd: var(--green); box-shadow: 0 10px 22px -14px rgba(7, 91, 70, .9); }
.btn--primary:hover { --bg: var(--green-ink); --bd: var(--green-ink); color: #fff; }
.btn--light { --bg: rgba(255, 255, 255, .92); --bd: rgba(255, 255, 255, .92); }
.btn--outline, .btn--glass { --bg: transparent; --bd: var(--green); --fg: var(--green); }
.btn--outline:hover, .btn--glass:hover { --bg: var(--green-tint); }
.btn--danger { --bg: #fff; --bd: var(--danger); --fg: var(--danger); }
.btn--lg { min-height: 54px; padding: 14px 26px; font-size: var(--t-md); }
.btn--sm { min-height: 36px; padding: 6px 14px; font-size: var(--t-xs); }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .65; cursor: progress; }

.icon-btn {
  display: inline-grid; place-items: center; width: 46px; height: 46px; flex: none;
  border: 1.5px solid var(--line); border-radius: 50%; background: var(--white); color: var(--ink);
  cursor: pointer; transition: border-color .15s, background-color .15s, color .15s;
}
.icon-btn:hover { border-color: var(--green); color: var(--green); }
.icon-btn--sm { width: 34px; height: 34px; }
.text-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; text-decoration: none; }
.text-link:hover { text-decoration: underline; }
.link-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; }
.link-more { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; text-decoration: none; }
.eyebrow { margin: 0 0 12px; font-size: var(--t-xs); font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--green); }
.lead { font-size: var(--t-lg); line-height: 1.55; color: var(--ink-2); }
.photo-note { position: absolute; right: 10px; bottom: 10px; padding: 3px 9px; border-radius: 999px; background: rgba(20, 30, 26, .55); color: #fff; font-size: 11px; font-weight: 600; letter-spacing: .02em; }

/* ---------- Верхняя строка ---------- */
.topbar { background: var(--green-deep); color: #E5EFE8; font-size: var(--t-xs); }
.topbar__in { display: flex; align-items: center; gap: 8px 24px; min-height: 40px; flex-wrap: wrap; }
.topbar a { color: inherit; text-decoration: none; }
.topbar a:hover { color: #fff; text-decoration: underline; }
.topbar__sos { display: inline-flex; align-items: center; gap: 8px; margin-right: auto; font-weight: 600; }
.topbar__sos b { color: #fff; font-size: var(--t-sm); letter-spacing: .01em; }
.topbar__muted { color: #B9CDBF; }
.topbar__item { display: inline-flex; align-items: center; gap: 6px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--coral); box-shadow: 0 0 0 4px rgba(230, 106, 82, .25); }
@media (max-width: 1023px) { .topbar__hide-sm { display: none; } }
@media (max-width: 479px) { .topbar__muted { display: none; } .topbar__in { gap: 6px 14px; } }

/* ---------- Шапка ---------- */
.header { position: sticky; top: 0; z-index: 40; background: rgba(255, 255, 255, .97); border-bottom: 1px solid var(--line); }
@supports (backdrop-filter: blur(8px)) { .header { background: rgba(255, 255, 255, .9); backdrop-filter: saturate(1.4) blur(10px); } }
.header__in { display: flex; align-items: center; gap: 20px; min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; flex: none; }
.brand:hover { color: var(--ink); }
.brand__logo { width: 64px; height: auto; }
.brand__text { display: grid; line-height: 1.2; }
.brand__text b { font-size: 1.15rem; font-weight: 800; letter-spacing: -.01em; }
.brand__text small { font-size: 12px; color: var(--muted); max-width: 190px; }
.header__actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.header__burger, .header__call { display: none; }
.header__burger .ic-close { display: none; }
.header__burger[aria-expanded="true"] .ic-open { display: none; }
.header__burger[aria-expanded="true"] .ic-close { display: block; }

/* Навигация */
.nav { margin-left: 8px; }
.nav__list { display: flex; align-items: center; gap: 2px; margin: 0; padding: 0; list-style: none; }
.nav__item { position: relative; }
.nav__link, .nav__toggle {
  display: inline-flex; align-items: center; gap: 4px; min-height: 44px; padding: 8px 14px;
  border: 0; border-radius: 999px; background: none; color: var(--ink);
  font: inherit; font-size: var(--t-sm); font-weight: 700; text-decoration: none; cursor: pointer;
}
.nav__link:hover, .nav__toggle:hover, .nav__toggle[aria-expanded="true"] { background: var(--green-tint); color: var(--green); }
.nav__link[aria-current="page"], .nav__item.is-current > .nav__toggle { color: var(--green); box-shadow: inset 0 -2px 0 var(--green); border-radius: 0; }
.nav__toggle .ic { width: 16px; height: 16px; transition: transform .2s; }
.nav__toggle[aria-expanded="true"] .ic { transform: rotate(180deg); }
.nav__sub {
  position: absolute; top: calc(100% + 8px); left: 0; min-width: 270px; margin: 0; padding: 8px; list-style: none;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--sh-3);
  opacity: 0; visibility: hidden; transform: translateY(-4px); transition: opacity .15s, transform .15s, visibility .15s;
}
.nav__toggle[aria-expanded="true"] + .nav__sub { opacity: 1; visibility: visible; transform: none; }
.nav__sub a { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 10px; color: var(--ink); font-weight: 650; text-decoration: none; }
.nav__sub a:hover, .nav__sub a[aria-current="page"] { background: var(--green-tint); color: var(--green); }
.nav__ic { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--cream); color: var(--green); flex: none; }
.nav__mobile-extra { display: none; }

@media (max-width: 1180px) {
  .header__cta { display: none; }
}
@media (max-width: 1023px) {
  :root { --header-h: 64px; }
  /* backdrop-filter делает шапку контейнером для position: fixed — панель меню обрезалась бы по её высоте */
  .header { background: var(--white); backdrop-filter: none; }
  .brand__logo { width: 52px; }
  .header__burger, .header__call { display: inline-grid; }
  .header__call { border-color: var(--coral-soft); background: var(--coral-soft); color: var(--coral-ink); }
  .nav {
    position: fixed; top: var(--nav-top, 104px); right: 0; bottom: 0; left: 0; z-index: 39; margin: 0; padding: 16px var(--gutter) 32px;
    background: var(--cream); overflow-y: auto; overscroll-behavior: contain;
    display: none;
  }
  .nav.is-open { display: block; }
  .nav__list { display: grid; gap: 8px; }
  .nav__item--group { background: var(--white); border: 1px solid var(--line); border-radius: var(--r); }
  .nav__link, .nav__toggle { width: 100%; justify-content: space-between; min-height: 54px; padding: 12px 16px; font-size: var(--t-md); border-radius: var(--r); }
  .nav__link { background: var(--white); border: 1px solid var(--line); }
  .nav__link[aria-current="page"], .nav__item.is-current > .nav__toggle { box-shadow: none; border-radius: var(--r); }
  .nav__sub { position: static; min-width: 0; padding: 0 8px 8px; border: 0; box-shadow: none; opacity: 1; visibility: visible; transform: none; display: none; }
  .nav__toggle[aria-expanded="true"] + .nav__sub { display: block; }
  .nav__sub a { min-height: 48px; }
  .nav__mobile-extra { display: grid; gap: 10px; margin-top: 20px; }
  .nav__contact { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: var(--r); background: var(--white); border: 1px solid var(--line); color: var(--ink); text-decoration: none; }
  .nav__contact .ic { width: 24px; height: 24px; color: var(--green); }
  .nav__contact:first-of-type .ic { color: var(--coral-ink); }
  .nav__contact span { display: grid; }
  .nav__contact small { color: var(--muted); }
  body.nav-open { overflow: hidden; }
}
@media (max-width: 479px) {
  .brand__text small { display: none; }
}

/* ---------- Первый экран ---------- */
.hero { position: relative; isolation: isolate; overflow: hidden; background: var(--green-deep); }
.hero__media { position: absolute; inset: 0; z-index: -1; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; }
.hero__media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(246, 243, 235, .97) 0%, rgba(246, 243, 235, .93) 34%, rgba(246, 243, 235, .55) 56%, rgba(246, 243, 235, 0) 78%);
}
.hero__in { position: relative; display: grid; grid-template-columns: minmax(0, 640px) 1fr; align-items: end; gap: 32px; padding-block: clamp(56px, 8vw, 112px) clamp(96px, 10vw, 140px); }
.hero__text { max-width: 640px; }
.hero h1 { margin-bottom: 20px; font-size: var(--h1); letter-spacing: -.025em; }
.hero__lead { max-width: 34em; font-size: var(--t-lg); color: var(--ink-2); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero .photo-note { top: 12px; bottom: auto; right: 12px; }
.sos-card {
  justify-self: end; display: flex; align-items: center; gap: 16px; max-width: 420px; padding: 18px 22px;
  border-radius: var(--r-lg); background: rgba(255, 255, 255, .96); box-shadow: var(--sh-3);
  color: var(--ink); text-decoration: none; border: 1px solid rgba(255, 255, 255, .7);
}
.sos-card:hover { color: var(--ink); transform: translateY(-2px); }
.sos-card { transition: transform .2s; }
.sos-card__ic { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; background: var(--coral); color: #fff; flex: none; }
.sos-card__ic .ic { width: 28px; height: 28px; }
.sos-card__body { display: grid; }
.sos-card__label { font-size: var(--t-sm); font-weight: 700; color: var(--coral-ink); }
.sos-card__phone { white-space: nowrap; font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.1rem); font-weight: 800; letter-spacing: -.01em; line-height: 1.15; }
@media (max-width: 1023px) {
  .hero__media::after { background: linear-gradient(180deg, rgba(246, 243, 235, .25) 0%, rgba(246, 243, 235, .9) 45%, rgba(246, 243, 235, .98) 100%); }
  .hero__in { grid-template-columns: 1fr; padding-top: 160px; padding-bottom: 88px; }
  .sos-card { justify-self: stretch; max-width: none; }
}
@media (max-width: 479px) {
  .hero__in { padding-top: 120px; }
  .hero__actions .btn { width: 100%; }
}

/* ---------- Сервисы на главной ---------- */
.services { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: -56px; }
.service {
  display: flex; align-items: center; gap: 14px; min-height: 104px; padding: 18px 18px 18px 20px;
  border-radius: var(--r-lg); background: var(--white); border: 1px solid var(--line); box-shadow: var(--sh-2);
  color: var(--ink); text-decoration: none; transition: transform .2s, box-shadow .2s, border-color .2s;
}
.service:hover { color: var(--ink); border-color: var(--green-pale); transform: translateY(-3px); box-shadow: var(--sh-3); }
.service__ic { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: var(--green-tint); color: var(--green); flex: none; }
.service__ic .ic { width: 26px; height: 26px; }
.service__ic--tg { background: #E6F1FA; color: #1D6FA5; }
.service__text { display: grid; gap: 2px; min-width: 0; }
.service__text b { font-size: 1.02rem; line-height: 1.25; }
.service__text small { color: var(--muted); line-height: 1.35; }
.service__arrow { margin-left: auto; color: var(--green); transition: transform .2s; }
.service:hover .service__arrow { transform: translateX(3px); }
@media (min-width: 1101px) {
  .service { position: relative; flex-direction: column; align-items: flex-start; gap: 16px; min-height: 0; padding: 22px; }
  .service__text { gap: 6px; }
  .service__text b { font-size: 1.1rem; padding-right: 28px; }
  .service__arrow { position: absolute; top: 24px; right: 22px; }
}
@media (max-width: 1100px) { .services { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .services { grid-template-columns: 1fr; margin-top: -40px; gap: 10px; } .service { min-height: 84px; } }

/* ---------- Секции ---------- */
.section { padding-block: clamp(48px, 6vw, 88px) 0; }
.section--tint { margin-top: clamp(48px, 6vw, 88px); padding-block: clamp(48px, 6vw, 80px); background: var(--green-tint); }
.section--tint + .section { padding-top: clamp(48px, 6vw, 80px); }
.section__head { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
.section__head h2 { margin: 0; }
.panel { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--sh-1); padding: clamp(20px, 2.6vw, 32px); }
.panel__h { display: flex; align-items: center; gap: 10px; font-size: var(--h3); margin-bottom: 16px; }
.panel__h .ic { color: var(--green); }
.h-sub { font-size: clamp(1.2rem, 1.05rem + .6vw, 1.5rem); margin: 0 0 16px; }

/* Важная информация */
.info-band { display: grid; grid-template-columns: 220px 1fr; gap: 24px; align-items: center; padding: 24px 28px; border-radius: var(--r-xl); background: var(--green-deep); color: #fff; }
.info-band__title { margin: 0; color: #fff; font-size: var(--h3); }
.info-band__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin: 0; }
.info-item { padding: 14px 16px; border-radius: var(--r); background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .1); }
.info-item dt { display: flex; align-items: center; gap: 8px; font-size: var(--t-xs); font-weight: 700; color: #BFD4C6; text-transform: uppercase; letter-spacing: .06em; }
.info-item dd { display: grid; margin: 6px 0 0; font-weight: 700; }
.info-item dd a { color: #fff; font-size: 1.15rem; text-decoration: none; }
.info-item dd a:hover { text-decoration: underline; }
.info-item dd small { color: #BFD4C6; font-weight: 600; }
.info-item--sos { background: var(--coral-soft); border-color: var(--coral-soft); }
.info-item--sos dt { color: var(--coral-ink); }
.info-item--sos dd a { color: var(--ink); font-size: 1.3rem; }
.info-item--sos dd small { color: var(--coral-ink); }
@media (max-width: 1100px) { .info-band { grid-template-columns: 1fr; } .info-band__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .info-band { padding: 20px; } .info-band__grid { grid-template-columns: 1fr; } }

/* О компании (тизер) */
.about-teaser { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.about-teaser__media { position: relative; margin: 0; border-radius: var(--r-xl); overflow: hidden; aspect-ratio: 4 / 3; box-shadow: var(--sh-2); }
.about-teaser__media img { width: 100%; height: 100%; object-fit: cover; }
.about-teaser__text .lead { margin-bottom: 24px; }
@media (max-width: 900px) { .about-teaser { grid-template-columns: 1fr; } }

/* Преимущества */
.adv { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.adv__item { display: flex; gap: 14px; align-items: flex-start; padding: 18px 20px; border-radius: var(--r); background: var(--white); border: 1px solid var(--line); font-weight: 650; line-height: 1.45; }
.adv__ic { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--green-pale); color: var(--green); flex: none; }
.adv__ic .ic { width: 18px; height: 18px; stroke-width: 2.4; }
@media (max-width: 1023px) { .adv { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .adv { grid-template-columns: 1fr; } }

/* Карусель отзывов */
.carousel { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 2 * 16px) / 3); gap: 16px; margin: 0 0 28px; padding: 4px 2px 12px; list-style: none; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin; overscroll-behavior-x: contain; }
.carousel:focus-visible { outline-offset: 4px; }
.carousel-nav { display: flex; gap: 8px; }
.review-card { scroll-snap-align: start; display: flex; flex-direction: column; padding: 24px; border-radius: var(--r-lg); background: var(--white); border: 1px solid var(--line); }
.review-card h3 { font-size: 1.08rem; margin: 10px 0 8px; }
.review-card__q { width: 32px; height: 32px; color: var(--green); opacity: .5; }
.review-card__body { color: var(--ink-2); font-size: var(--t-sm); line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 8; -webkit-box-orient: vertical; overflow: hidden; }
.review-card__body p:last-child { margin: 0; }
@media (max-width: 1023px) { .carousel { grid-auto-columns: calc((100% - 16px) / 2); } }
@media (max-width: 640px) { .carousel { grid-auto-columns: 86%; } }

/* Telegram и Госуслуги Дом */
.duo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; align-items: start; }
.tg { display: grid; grid-template-columns: minmax(0, 1fr) 180px; gap: 24px; align-items: center; }
.tg h2 a { text-decoration: none; }
.tg__qr { width: 180px; border-radius: var(--r); border: 1px solid var(--line); }
.gosdom h2 { margin-bottom: 12px; }
.gosdom .media { margin: 8px 0 20px; }
.media { width: 100%; border-radius: var(--r); background: #0f1a16; aspect-ratio: 16 / 9; }
.pos-wrap { margin-top: 4px; }
@media (max-width: 1023px) { .duo { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .tg { grid-template-columns: 1fr; } .tg__qr { width: 160px; } }

/* Медиа на главной */
.media-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: start; }
.media-card { position: relative; display: block; margin: 0; border-radius: var(--r-lg); overflow: hidden; background: var(--white); border: 1px solid var(--line); box-shadow: var(--sh-1); transition: transform .2s, box-shadow .2s; }
a.media-card:hover { transform: translateY(-2px); box-shadow: var(--sh-2); }
.media-card img { width: 100%; }
.media-card--video { grid-column: span 2; grid-row: span 2; }
.media-card--video .media { border-radius: 0; }
.media-card figcaption { padding: 14px 18px; font-weight: 750; }
@media (max-width: 900px) { .media-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .media-card--video { grid-column: 1 / -1; grid-row: auto; } }
@media (max-width: 520px) { .media-grid { grid-template-columns: 1fr; } }

/* ---------- Внутренние страницы ---------- */
.page-head { padding-block: 28px 36px; background: linear-gradient(180deg, var(--white), var(--cream)); border-bottom: 1px solid var(--line); margin-bottom: clamp(24px, 4vw, 40px); }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 4px; margin: 0 0 20px; padding: 0; list-style: none; font-size: var(--t-xs); color: var(--muted); }
.crumbs li + li::before { content: "/"; margin-right: 4px; color: var(--line-2); }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--green); }
.page-head__title { display: flex; gap: 18px; align-items: flex-start; }
.page-head__ic { display: grid; place-items: center; width: 60px; height: 60px; border-radius: 18px; background: var(--green); color: #fff; flex: none; box-shadow: 0 12px 24px -14px rgba(7, 91, 70, .9); }
.page-head__ic .ic { width: 30px; height: 30px; }
.page-head h1 { margin: 4px 0 6px; font-size: var(--h1-page); }
.page-head__lead { max-width: 48em; margin: 0; color: var(--ink-2); font-size: var(--t-lg); }
@media (max-width: 600px) { .page-head__ic { width: 48px; height: 48px; border-radius: 14px; } .page-head__ic .ic { width: 24px; height: 24px; } }

.layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 24px; align-items: start; }
.layout__main { display: grid; gap: 24px; min-width: 0; }
.aside { position: sticky; top: calc(var(--header-h) + 16px); }
.aside__card { display: grid; gap: 16px; }
.aside__h { font-size: 1.1rem; margin: 0; }
.aside__sos { display: flex; gap: 12px; align-items: center; padding: 14px 16px; border-radius: var(--r); background: var(--coral-soft); color: var(--ink); text-decoration: none; }
.aside__sos .ic { width: 28px; height: 28px; color: var(--coral-ink); }
.aside__sos span { display: grid; }
.aside__sos small { color: var(--coral-ink); font-weight: 700; }
.aside__sos b { font-size: 1.25rem; }
.aside__list { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; font-size: var(--t-sm); }
.aside__list li { display: flex; gap: 12px; align-items: flex-start; }
.aside__list .ic { color: var(--green); margin-top: 2px; }
.aside__list span { display: grid; }
.aside__list small { color: var(--muted); }
.aside__list a { font-weight: 700; text-decoration: none; }
@media (max-width: 1023px) { .layout { grid-template-columns: 1fr; } .aside { position: static; } }

/* Текст из редактора */
.prose { max-width: 75ch; }
.panel.prose { max-width: none; }
.prose > :last-child { margin-bottom: 0; }
.prose h2 { font-size: clamp(1.3rem, 1.1rem + .7vw, 1.65rem); margin: 1.6em 0 .6em; }
.prose h3 { margin: 1.4em 0 .5em; }
.prose > h2:first-child, .prose > h3:first-child { margin-top: 0; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1em; }
.prose li { margin: .35em 0; }
.prose li::marker { color: var(--green); font-weight: 700; }
.prose a[href$=".pdf"]::after, .prose a[href$=".PDF"]::after { content: "PDF"; display: inline-block; margin-left: 8px; padding: 1px 6px; border-radius: 6px; background: var(--coral-soft); color: var(--coral-ink); font-size: 11px; font-weight: 800; letter-spacing: .04em; vertical-align: 2px; text-decoration: none; }
.prose table { width: 100%; border-collapse: collapse; margin: 0 0 1em; font-size: var(--t-sm); }
.prose td, .prose th { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.prose blockquote { margin: 0 0 1em; padding: 12px 18px; border-left: 4px solid var(--green); background: var(--green-tint); border-radius: 0 var(--r-sm) var(--r-sm) 0; }
.prose--compact { font-size: var(--t-sm); }
.prose--compact p { margin-bottom: .6em; }
.prose--compact ul { list-style: none; padding: 0; }
.prose--compact li { position: relative; margin: .4em 0; padding-left: 18px; }
.prose--compact li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 6px; height: 6px; border-radius: 50%; background: var(--green); }

/* Карточки (Приём жителей, О компании) */
.card-section { display: grid; gap: 16px; }
.card-section + .card-section { margin-top: 16px; }
.info-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.info-card h3, .info-card__h { font-size: 1.12rem; margin: 0 0 10px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
@media (max-width: 760px) { .info-cards { grid-template-columns: 1fr; } }

/* Документы */
.doc-group { display: grid; gap: 4px; }
.doc-group--wide { margin-top: 32px; }
.docs { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.doc { display: flex; align-items: center; gap: 16px; padding: 16px 18px; border-radius: var(--r); background: var(--white); border: 1px solid var(--line); transition: border-color .15s, box-shadow .15s; }
.doc:hover { border-color: var(--green-pale); box-shadow: var(--sh-2); }
.doc__badge, .doc__badge--mini { position: relative; display: grid; place-items: center; width: 46px; height: 54px; border-radius: 10px; background: var(--coral-soft); color: var(--coral-ink); flex: none; }
.doc__badge .ic { width: 30px; height: 30px; opacity: .35; }
.doc__badge b { position: absolute; bottom: 7px; font-size: 10px; font-weight: 800; letter-spacing: .04em; }
.doc__badge--doc { background: #E8EEF8; color: #2B4F8A; }
.doc__badge--xls { background: var(--green-tint); color: var(--green); }
.doc__badge--link { background: var(--cream); color: var(--ink-2); }
.doc__main { display: grid; gap: 2px; min-width: 0; flex: 1; }
.doc__title { color: var(--ink); font-weight: 700; line-height: 1.4; text-decoration: none; overflow-wrap: anywhere; }
.doc__title:hover { color: var(--green); text-decoration: underline; }
.doc__title::before { content: ""; position: absolute; inset: 0; }
.doc { position: relative; }
.doc__dl { position: relative; z-index: 1; }
.doc__meta { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: var(--t-xs); color: var(--muted); }
.doc__note { color: var(--ink-2); font-weight: 700; }
@media (max-width: 480px) { .doc { padding: 14px; gap: 12px; } .doc__badge { width: 40px; height: 48px; } }

/* О компании */
.about-intro { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 24px; align-items: start; }
.about-intro__cards { display: grid; gap: 16px; }
.about-intro__media { position: sticky; top: calc(var(--header-h) + 16px); margin: 0; border-radius: var(--r-xl); overflow: hidden; aspect-ratio: 4 / 5; }
.about-intro__media img { width: 100%; height: 100%; object-fit: cover; }
.about-tables { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 24px; align-items: start; }
@media (max-width: 900px) { .about-intro, .about-tables { grid-template-columns: 1fr; } .about-intro__media { position: relative; top: 0; aspect-ratio: 16 / 9; order: -1; } }

/* Пары «название — значение» */
.kv { display: grid; margin: 0; }
.kv > div { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 4px 16px; padding: 12px 0; border-top: 1px solid var(--line); }
.kv > div:first-child { border-top: 0; padding-top: 0; }
.kv dt { color: var(--muted); font-size: var(--t-sm); }
.kv dd { margin: 0; font-weight: 700; overflow-wrap: anywhere; }
.kv dd a { font-weight: 700; }
.kv--phones dd { font-variant-numeric: tabular-nums; }
@media (max-width: 520px) { .kv > div { grid-template-columns: 1fr; } }

/* Контакты */
.contacts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.contact { display: flex; gap: 16px; align-items: flex-start; color: var(--ink); text-decoration: none; }
a.contact:hover { color: var(--ink); border-color: var(--green-pale); box-shadow: var(--sh-2); }
.contact > span:last-child { display: grid; gap: 2px; min-width: 0; }
.contact small { color: var(--muted); font-size: var(--t-xs); font-weight: 600; }
.contact small + .contact__line, .contact__line + small { margin-top: 0; }
.contact__line + small { margin-top: 8px; }
.contact__ic { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--green-tint); color: var(--green); flex: none; }
.contact__big { font-size: 1.35rem; letter-spacing: -.01em; }
.contact__line { font-weight: 700; overflow-wrap: anywhere; }
.contact__note { color: var(--coral-ink); font-weight: 700; font-size: var(--t-sm); }
.contact--sos { background: var(--coral-soft); border-color: #F6D3CA; }
.contact--sos .contact__ic { background: var(--coral); color: #fff; }
.contact--sos small { color: var(--coral-ink); }
.contacts-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; margin-top: 16px; }
.map { margin-top: 16px; }
.map__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; margin-bottom: 8px; }
.map__frame { display: block; width: 100%; height: 420px; border: 0; border-radius: var(--r); background: var(--cream-2); }
@media (max-width: 1023px) { .contacts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 680px) { .contacts, .contacts-row { grid-template-columns: 1fr; } .map__frame { height: 320px; } }

/* Внешний виджет */
.widget-frame { padding: 8px; overflow: hidden; }
.widget-frame iframe { display: block; width: 100%; height: 900px; border: 0; border-radius: var(--r); }

/* Жилой фонд */
.houses-bar { position: sticky; top: calc(var(--header-h) + 8px); z-index: 5; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; padding: 14px 18px; margin-bottom: 16px; box-shadow: var(--sh-2); }
.houses-search { position: relative; flex: 1 1 320px; }
.houses-search .ic { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.houses-search input[type="search"] { padding-left: 44px; }
.houses-count { margin: 0; color: var(--muted); font-weight: 700; font-size: var(--t-sm); }
.houses { display: grid; gap: 8px; }
.house { scroll-margin-top: calc(var(--header-h) + 96px); background: var(--white); border: 1px solid var(--line); border-radius: var(--r); transition: border-color .15s, box-shadow .15s; }
.house:hover { border-color: var(--green-pale); }
.house[open] { border-color: var(--green-pale); box-shadow: var(--sh-2); }
.house__head { display: flex; align-items: center; gap: 14px; min-height: 60px; padding: 10px 18px; cursor: pointer; list-style: none; border-radius: var(--r); }
.house__head::-webkit-details-marker { display: none; }
.house__head:hover .house__title { color: var(--green); }
.house__ic { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; background: var(--green-tint); color: var(--green); flex: none; }
.house__title { margin: 0; flex: 1; font-size: 1.05rem; font-weight: 750; letter-spacing: 0; }
.house__chev { color: var(--muted); transition: transform .2s; }
.house[open] .house__chev { transform: rotate(180deg); color: var(--green); }
.house__body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 20px 32px; padding: 6px 18px 20px 70px; }
.house__facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 16px; margin: 0; align-content: start; }
.house__facts div { padding: 10px 12px; border-radius: var(--r-sm); background: var(--cream); }
.house__facts dt { font-size: var(--t-xs); color: var(--muted); }
.house__facts dd { margin: 2px 0 0; font-weight: 750; }
.house__groups { display: grid; gap: 16px; align-content: start; }
.house__group h3 { margin: 0 0 6px; font-size: var(--t-sm); text-transform: uppercase; letter-spacing: .06em; color: var(--ink-2); }
.house__files { display: grid; gap: 4px; margin: 0; padding: 0; list-style: none; }
.house__files a { display: flex; align-items: center; gap: 10px; padding: 6px 8px; border-radius: var(--r-sm); color: var(--ink); font-weight: 650; text-decoration: none; }
.house__files a:hover { background: var(--green-tint); color: var(--green); }
.doc__badge--tiny { width: 34px; height: 22px; border-radius: 6px; font-size: 10px; font-weight: 800; letter-spacing: .04em; }
.house__empty { margin: 0; font-size: var(--t-sm); }
.houses-empty { text-align: center; }
@media (max-width: 900px) { .house__body { grid-template-columns: 1fr; padding-left: 18px; } }
@media (max-width: 480px) { .house__facts { grid-template-columns: 1fr 1fr; } .house__head { padding: 10px 12px; gap: 10px; } .house__ic { width: 32px; height: 32px; } .house__body { padding: 4px 12px 16px; } .houses-bar { position: static; } }

/* Отзывы */
.reviews-count { margin: 0 0 16px; }
.review-form { margin-bottom: 24px; padding: 0; scroll-margin-top: calc(var(--header-h) + 16px); }
.review-form[open] { box-shadow: var(--sh-2); }
.review-form__head { display: flex; align-items: center; gap: 16px; padding: 18px 22px; cursor: pointer; list-style: none; border-radius: var(--r-lg); }
.review-form__head::-webkit-details-marker { display: none; }
.review-form__head > span:nth-child(2) { display: grid; flex: 1; }
.review-form__head b { font-size: 1.15rem; }
.review-form__head small { color: var(--muted); font-size: var(--t-sm); }
.review-form__ic { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--green-tint); color: var(--green); flex: none; }
.review-form[open] .review-form__btn { display: none; }
.review-form > .form, .review-form > .form-done { padding: 4px 22px 26px; border-top: 1px solid var(--line); padding-top: 22px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } .review-form__btn { display: none; } .review-form__head { padding: 16px; } .review-form > .form, .review-form > .form-done { padding-inline: 16px; } }
.reviews { columns: 3 320px; column-gap: 16px; }
.review { break-inside: avoid; margin: 0 0 16px; display: block; }
.review__title { font-size: 1.1rem; margin: 0 0 8px; }
.review__body { font-size: var(--t-sm); color: var(--ink-2); }
.review__body p:last-child { margin-bottom: 0; }
.review__img { float: right; margin: 0 0 8px 12px; border-radius: var(--r-sm); overflow: hidden; }
.review__img img { width: 72px; height: 72px; object-fit: cover; }

/* ---------- Формы ---------- */
input[type="text"], input[type="search"], input[type="email"], input[type="tel"], input[type="number"], input[type="password"], input[type="date"], input[type="datetime-local"], input[type="url"], input:not([type]), select, textarea {
  width: 100%; min-height: 50px; padding: 12px 14px;
  border: 1.5px solid var(--line-2); border-radius: var(--r-sm); background: var(--white); color: var(--ink);
  font: inherit; font-size: var(--t-md); transition: border-color .15s, box-shadow .15s;
}
textarea { min-height: 140px; resize: vertical; line-height: 1.5; }
input:hover, select:hover, textarea:hover { border-color: #ABA390; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 4px rgba(7, 91, 70, .15); }
[aria-invalid="true"] { border-color: var(--danger) !important; background: #FFF8F7 !important; }
input::placeholder, textarea::placeholder { color: #8A938D; }
input[type="checkbox"], input[type="radio"] { width: 22px; height: 22px; margin: 0; accent-color: var(--green); flex: none; }
.field { display: grid; gap: 6px; margin: 0; min-width: 0; }
label.field > span, .field > legend { font-weight: 700; font-size: var(--t-sm); }

.form { display: grid; gap: 28px; }
.form__intro { margin: 0; color: var(--muted); font-size: var(--t-sm); }
.form__summary { display: flex; gap: 10px; align-items: flex-start; padding: 14px 16px; border-radius: var(--r); background: #FDECEA; color: var(--danger); font-weight: 700; }
.step { display: grid; gap: 18px; margin: 0; padding: 0; border: 0; min-width: 0; }
.step + .step { padding-top: 28px; border-top: 1px solid var(--line); }
.step__legend { display: flex; align-items: center; gap: 12px; padding: 0; margin-bottom: 18px; font-size: 1.15rem; font-weight: 800; }
.step__num { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--green); color: #fff; font-size: var(--t-sm); }
.step__fields { display: grid; gap: 18px; }
.field__label { padding: 0; font-weight: 750; font-size: var(--t-sm); }
.field__hint { color: var(--muted); font-size: var(--t-xs); margin-top: -2px; }
.field__error { display: flex; align-items: center; gap: 6px; margin: 2px 0 0; color: var(--danger); font-size: var(--t-xs); font-weight: 700; }
.req { color: var(--coral-ink); font-weight: 800; }
.opt { color: var(--muted); font-weight: 500; font-size: var(--t-xs); margin-left: 4px; }
.field--name { border: 0; padding: 0; }
.field--name legend { margin-bottom: 6px; }
.name-row { display: grid; grid-template-columns: 2fr 1.4fr 2fr; gap: 12px; }
.sub { display: grid; gap: 4px; }
.sub > span { order: 2; color: var(--muted); font-size: var(--t-xs); }
@media (max-width: 680px) { .name-row { grid-template-columns: 1fr; } .sub > span { order: 0; font-weight: 600; color: var(--ink-2); } }
.check { display: flex; gap: 12px; align-items: flex-start; cursor: pointer; font-size: var(--t-sm); line-height: 1.5; }
.check input { margin-top: 1px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.drop {
  position: relative; display: grid; justify-items: center; gap: 6px; padding: 24px 18px;
  border: 2px dashed var(--line-2); border-radius: var(--r); background: var(--cream); text-align: center; cursor: pointer;
  transition: border-color .15s, background-color .15s;
}
.drop:hover, .drop.is-over { border-color: var(--green); background: var(--green-tint); }
.drop:focus-within { border-color: var(--green); box-shadow: 0 0 0 4px rgba(7, 91, 70, .15); }
.drop input[type="file"] { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.drop__ic { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--white); color: var(--green); box-shadow: var(--sh-1); }
.drop__text b { color: var(--green); }
.drop__hint { color: var(--muted); font-size: var(--t-xs); max-width: 44ch; }
.field--file.has-error .drop { border-color: var(--danger); background: #FFF8F7; }
.files { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; }
.files:empty { display: none; }
.file { display: flex; align-items: center; gap: 10px; padding: 8px 8px 8px 12px; border-radius: var(--r-sm); background: var(--white); border: 1px solid var(--line); font-size: var(--t-sm); }
.file .ic { color: var(--green); }
.file__name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 650; }
.file__size { color: var(--muted); font-size: var(--t-xs); }
.file.is-bad { border-color: var(--danger); color: var(--danger); }

.form__submit { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; padding-top: 8px; }
.progress { display: grid; gap: 4px; flex: 1; min-width: 200px; }
.progress__bar { height: 8px; border-radius: 99px; background: var(--cream-2); overflow: hidden; }
.progress__bar span { display: block; width: 0; height: 100%; background: var(--green); transition: width .2s; }
.form-done { display: grid; justify-items: start; gap: 8px; }
.form-done:focus { outline: none; }
.form-done__ic { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--green-tint); color: var(--ok); }
.form-done__ic .ic { width: 36px; height: 36px; }
.form-done h2 { margin: 8px 0 0; }

/* ---------- Подвал ---------- */
.footer { margin-top: clamp(56px, 8vw, 104px); background: var(--green-deep); color: #D5E3D9; font-size: var(--t-sm); }
.footer a { color: #fff; text-decoration: none; }
.footer a:hover { text-decoration: underline; color: #fff; }
.footer__grid { display: grid; grid-template-columns: 1.3fr 1.4fr 1.1fr; gap: 40px; padding-block: 56px 40px; }
.brand--light, .brand--light:hover { color: #fff; }
.brand--light .brand__logo { filter: invert(1); width: 60px; }
.brand--light small { color: #B9CDBF; }
.footer__about { margin: 18px 0 0; color: #B9CDBF; line-height: 1.6; max-width: 40ch; }
.footer__nav { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.footer__nav ul, .footer__list { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.footer__h { margin: 0 0 14px; color: #fff; font-size: var(--t-sm); font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.footer__sos { display: grid; padding: 14px 16px; margin-bottom: 16px; border-radius: var(--r); background: rgba(255, 255, 255, .07); border: 1px solid rgba(230, 106, 82, .5); }
.footer__sos small { color: #F6BFB2; font-weight: 700; }
.footer__sos b { font-size: 1.3rem; }
.footer__list li { display: flex; gap: 10px; align-items: flex-start; }
.footer__list .ic { color: #8FB7A0; margin-top: 2px; }
.footer__more { display: inline-flex; gap: 6px; align-items: center; margin-top: 16px; font-weight: 700; }
.footer__bottom { display: flex; flex-wrap: wrap; gap: 8px 24px; padding-block: 20px 28px; border-top: 1px solid rgba(255, 255, 255, .12); color: #B9CDBF; font-size: var(--t-xs); }
.footer__bottom span { margin-right: auto; }
.footer__bottom a { color: #D5E3D9; }
@media (max-width: 1100px) { .footer__grid { grid-template-columns: 1fr 1fr; } .footer__nav { grid-column: 1 / -1; order: 3; } }
@media (max-width: 680px) { .footer__grid { grid-template-columns: 1fr; gap: 32px; } .footer__nav { grid-template-columns: 1fr 1fr; } }
@media (max-width: 400px) { .footer__nav { grid-template-columns: 1fr; } }

/* ---------- Движение ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* ---------- Печать ---------- */
@media print {
  .topbar, .header, .footer, .aside, .hero__media, .carousel-nav, .services, .form__submit { display: none !important; }
  body { background: #fff; }
  .panel { box-shadow: none; border-color: #ccc; }
}
