/* =========================================================
   Аренда спецтехники — Premium Industrial
   Mobile first. Брейкпоинты: 640 / 1024 / 1280
   ========================================================= */

@font-face {
  font-family: 'Oswald';
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: url(../assets/fonts/oswald-cyr.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Oswald';
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: url(../assets/fonts/oswald-lat.woff2) format('woff2');
  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;
}
@font-face {
  font-family: 'Onest';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(../assets/fonts/onest-cyr.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Onest';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(../assets/fonts/onest-lat.woff2) format('woff2');
  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 {
  --graphite: #121212;
  --graphite-2: #1b1b1b;
  --graphite-3: #2a2a2a;
  --yellow: #FFCC00;
  --yellow-dark: #E6B800;
  --white: #FFFFFF;
  --light: #F5F5F5;
  --line: #E2E2E2;
  --line-dark: rgba(255, 255, 255, .14);
  --text: #121212;
  --muted: #555555;
  --muted-light: rgba(255, 255, 255, .72);
  --danger: #C62828;

  --f-display: 'Oswald', 'Arial Narrow', 'Roboto Condensed', Impact, sans-serif;
  --f-body: 'Onest', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;

  --gutter: clamp(16px, 4vw, 40px);
  --container: 1360px;
  --header-h: 64px;
  --section-y: clamp(72px, 10vw, 144px);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --radius: 2px;
}

@media (min-width: 1024px) {
  :root { --header-h: 80px; }
}

/* ---------- База ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: var(--header-h); }
body {
  margin: 0;
  font-family: var(--f-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--graphite);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  padding-bottom: calc(64px + env(safe-area-inset-bottom));
}
@media (min-width: 1024px) { body { padding-bottom: 0; } }
@supports (overflow: clip) { body { overflow-x: clip; } }

img, picture, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p, dl, dd, figure { margin: 0; }
[hidden] { display: none !important; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon {
  width: 1.25em; height: 1.25em; flex: none;
  fill: none; stroke: currentColor; stroke-width: 1.75;
  stroke-linecap: square; stroke-linejoin: miter;
}
.icon .fill, symbol .fill { fill: currentColor; stroke: none; }
#i-whatsapp { fill: currentColor; }

:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }
[tabindex="-1"]:focus { outline: none; }
.section--accent :focus-visible { outline-color: var(--graphite); }

.skip-link {
  position: fixed; left: 16px; top: -100px; z-index: 200;
  background: var(--yellow); color: var(--graphite); padding: 12px 16px; font-weight: 600;
}
.skip-link:focus { top: 16px; }

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ---------- Типографика ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: .8125rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 20px;
}
.eyebrow--light { color: var(--muted-light); }
.eyebrow--dark { color: var(--graphite); }
.eyebrow__num {
  font-family: var(--f-display); font-weight: 600; letter-spacing: .02em;
  padding: 2px 8px; background: var(--graphite); color: var(--yellow); font-size: .875rem;
}
.eyebrow--light .eyebrow__num { background: var(--yellow); color: var(--graphite); }
.eyebrow--dark .eyebrow__num { background: var(--graphite); color: var(--yellow); }
.eyebrow__bar { width: 32px; height: 3px; background: var(--yellow); }

.section-title {
  font-family: var(--f-display);
  font-weight: 700;
  text-transform: uppercase;
  font-size: clamp(2.25rem, 1.2rem + 4.4vw, 4.75rem);
  line-height: .98;
  letter-spacing: -.005em;
  text-wrap: balance;
}
.section-lead { font-size: clamp(1rem, .95rem + .3vw, 1.1875rem); color: var(--muted); max-width: 56ch; }
.section--dark .section-lead, .section--graphite .section-lead { color: var(--muted-light); }

.section-head { margin-bottom: clamp(36px, 5vw, 64px); display: grid; gap: 20px; justify-items: start; }
.section-head .eyebrow { margin-bottom: 0; }
.section-head .section-title { margin-top: -4px; }
@media (min-width: 1024px) {
  .section-head--split { grid-template-columns: 1.35fr 1fr; align-items: end; gap: 64px; }
  .section-head--split > div { display: grid; gap: 20px; justify-items: start; }
}

/* ---------- Кнопки ---------- */
.btn {
  --btn-bg: transparent; --btn-color: currentColor; --btn-border: currentColor;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 22px;
  background: var(--btn-bg); color: var(--btn-color);
  border: 2px solid var(--btn-border); border-radius: var(--radius);
  font-weight: 600; font-size: .9375rem; line-height: 1.2; letter-spacing: .01em;
  text-align: center; white-space: nowrap;
  transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn .icon { width: 1.2em; height: 1.2em; transition: transform .25s var(--ease); }
.btn:hover > .icon:last-child:not(:first-child) { transform: translateX(3px); }
.btn--lg { min-height: 56px; padding: 14px 28px; font-size: 1rem; }
.btn--block { width: 100%; }
.btn--primary { --btn-bg: var(--yellow); --btn-color: var(--graphite); --btn-border: var(--yellow); }
.btn--primary:hover { --btn-bg: var(--white); --btn-border: var(--white); }
.section--light .btn--primary:hover, .section--white .btn--primary:hover, .form .btn--primary:hover, .modal .btn--primary:hover { --btn-bg: var(--graphite); --btn-color: var(--yellow); --btn-border: var(--graphite); }
.btn--dark { --btn-bg: var(--graphite); --btn-color: var(--white); --btn-border: var(--graphite); }
.btn--dark:hover { --btn-bg: transparent; --btn-color: var(--graphite); }
.btn--ghost-light { --btn-color: var(--white); --btn-border: rgba(255,255,255,.4); }
.btn--ghost-light:hover { --btn-border: var(--yellow); --btn-color: var(--yellow); }
.btn--outline { --btn-color: var(--graphite); --btn-border: var(--graphite); }
.btn--outline:hover { --btn-bg: var(--graphite); --btn-color: var(--white); }

.link-btn { color: inherit; text-decoration: underline; text-underline-offset: 3px; font-size: inherit; }
.link-btn:hover { color: var(--yellow); }

/* ---------- Шапка ---------- */
.header {
  position: fixed; inset: 0 0 auto; z-index: 100;
  height: var(--header-h);
  color: var(--white);
  transition: background-color .3s var(--ease), border-color .3s var(--ease);
  border-bottom: 1px solid transparent;
}
.header.is-scrolled, .header.is-open { background: var(--graphite); border-bottom-color: var(--line-dark); }
.header__inner { height: 100%; display: flex; align-items: center; gap: 24px; }

.logo { display: inline-flex; align-items: center; gap: 12px; flex: none; }
.logo__mark { width: 36px; height: 36px; }
.logo__text { display: grid; line-height: 1.05; }
.logo__name { font-family: var(--f-display); font-weight: 700; font-size: 1.125rem; text-transform: uppercase; letter-spacing: .02em; }
.logo__sub { font-size: .6875rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted-light); }

.nav {
  position: fixed; inset: var(--header-h) 0 0; z-index: 99;
  background: var(--graphite);
  padding: 24px var(--gutter) calc(32px + env(safe-area-inset-bottom));
  display: flex; flex-direction: column; gap: 32px;
  overflow-y: auto;
  transform: translateX(100%);
  visibility: hidden;
  transition: transform .35s var(--ease), visibility 0s linear .35s;
}
.nav.is-open { transform: none; visibility: visible; transition: transform .35s var(--ease); }
.nav__list { display: grid; border-top: 1px solid var(--line-dark); }
.nav__link {
  white-space: nowrap;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 0; border-bottom: 1px solid var(--line-dark);
  font-family: var(--f-display); font-size: 1.75rem; font-weight: 600; text-transform: uppercase;
}
.nav__mobile-extra { display: grid; gap: 12px; margin-top: auto; }
.nav__meta { color: var(--muted-light); font-size: .875rem; text-align: center; }
.nav__phones { display: grid; gap: 6px; justify-items: center; font-family: var(--f-display); font-size: 1.375rem; font-weight: 600; }
.nav__phones a:hover { color: var(--yellow); }

.header__actions { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.header__phone { display: inline-flex; align-items: center; gap: 8px; }
.header__phone-btn { display: grid; place-items: center; width: 44px; height: 44px; color: var(--yellow); }
.header__phone-btn .icon { width: 22px; height: 22px; }
.header__phone-text { display: none; }
.header__phone-num { font-weight: 600; font-size: .9375rem; white-space: nowrap; }
.header__phone-num:hover { color: var(--yellow); }
.header__cta { display: none; }

.burger { width: 44px; height: 44px; display: grid; place-items: center; color: var(--white); }
.burger .icon { width: 28px; height: 28px; }
.burger .icon--close { display: none; }
.burger[aria-expanded="true"] .icon--open { display: none; }
.burger[aria-expanded="true"] .icon--close { display: block; }

@media (min-width: 640px) {
  .header__cta { display: inline-flex; min-height: 44px; padding: 10px 18px; }
}
@media (min-width: 1024px) {
  .nav {
    position: static; inset: auto; transform: none; visibility: visible; transition: none;
    background: none; padding: 0; flex-direction: row; overflow: visible; margin-left: 32px;
  }
  .nav__list { display: flex; gap: 4px; border: 0; }
  .nav__link {
    font-family: var(--f-body); font-size: .9375rem; font-weight: 500; text-transform: none;
    padding: 8px 12px; border: 0; position: relative;
  }
  .nav__link::after {
    content: ''; position: absolute; left: 12px; right: 12px; bottom: 2px; height: 2px;
    background: var(--yellow); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease);
  }
  .nav__link:hover::after, .nav__link.is-active::after { transform: scaleX(1); }
  .nav__mobile-extra { display: none; }
  .burger { display: none; }
  .header__actions { gap: 16px; }
}
@media (min-width: 1024px) and (max-width: 1199px) {
  .nav { margin-left: 16px; }
  .nav__list { gap: 0; }
  .nav__link { padding-inline: 9px; font-size: .875rem; }
  .nav__link::after { left: 9px; right: 9px; }
}
@media (min-width: 1200px) {
  .header__actions { gap: 24px; }
}
@media (min-width: 1280px) {
  .header__phone-text { display: grid; line-height: 1.3; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: var(--graphite);
  color: var(--white);
  display: flex; flex-direction: column;
  min-height: 100svh;
  padding-top: var(--header-h);
  isolation: isolate;
}
.hero__media { position: absolute; inset: 0 0 auto; height: 100%; 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: rgba(18, 18, 18, .66); }

.hero__inner { flex: 1; display: flex; align-items: flex-end; padding-block: 48px 40px; }
.hero__content { max-width: 720px; }
.hero__title {
  font-family: var(--f-display);
  font-weight: 700;
  text-transform: uppercase;
  font-size: clamp(2.6rem, 12.6vw, 5rem);
  line-height: .92;
  letter-spacing: -.01em;
  margin-bottom: 24px;
}
.hero__title-accent { display: block; color: var(--yellow); }
.hero__lead { font-size: clamp(1.0625rem, 1rem + .4vw, 1.3125rem); line-height: 1.5; color: rgba(255,255,255,.86); max-width: 34em; margin-bottom: 32px; }
.hero__actions { display: grid; gap: 12px; }

.hero__bar { background: var(--graphite); border-top: 1px solid var(--line-dark); position: relative; }
.hero__bar-inner { display: grid; gap: 0; }
.hero__fact { display: flex; align-items: center; gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--line-dark); }
.hero__fact > .icon { width: 24px; height: 24px; color: var(--yellow); }
.hero__fact > div { display: grid; line-height: 1.3; }
.hero__fact-label { font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted-light); }
.hero__fact-value { font-weight: 600; font-size: 1rem; }
.hero__fact-link:hover { color: var(--yellow); }
.hero__facts { display: grid; gap: 10px; padding: 18px 0 22px; }
.hero__facts li { display: flex; align-items: center; gap: 10px; font-size: .9375rem; color: rgba(255,255,255,.86); }
.hero__facts li::before { content: ''; width: 10px; height: 10px; background: var(--yellow); flex: none; }

@media (min-width: 640px) {
  .hero__actions { display: flex; flex-wrap: wrap; }
  .hero__bar-inner { grid-template-columns: 1fr 1fr; column-gap: 32px; }
  .hero__facts { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 12px 28px; }
}

@media (min-width: 1024px) {
  .hero { min-height: max(680px, min(100svh, 960px)); }
  .header { background: var(--graphite); border-bottom-color: var(--line-dark); }
  .hero__media { left: 44%; top: var(--header-h); height: auto; bottom: 0; }
  .hero__media::after { background: none; }
  .hero__media::before {
    content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 10px; background: var(--yellow); z-index: 1;
  }
  .hero__inner { align-items: center; padding-block: 64px 160px; }
  .hero {
    /* ширина текстовой колонки: от края контейнера до фото (фото начинается с 44vw) */
    --hero-col: calc(44vw - max(var(--gutter), (100vw - var(--container)) / 2) - 56px);
  }
  .hero__content { max-width: var(--hero-col); }
  .hero__title { font-size: min(calc(var(--hero-col) / 6.1), 7rem); }
  .hero__bar {
    position: absolute; left: 0; right: 0; bottom: 0;
    background: transparent; border: 0;
  }
  .hero__bar-inner {
    grid-template-columns: auto auto 1fr; column-gap: 0;
    padding-inline: 0;
    margin-left: max(var(--gutter), calc((100vw - var(--container)) / 2));
    margin-right: 0; max-width: none; width: auto;
    background: var(--graphite);
    border-top: 1px solid var(--line-dark);
  }
  .hero__fact { padding: 26px 40px 26px 0; border-bottom: 0; margin-right: 40px; border-right: 1px solid var(--line-dark); }
  .hero__facts { grid-column: auto; padding: 0 var(--gutter) 0 0; align-items: center; align-content: center; gap: 10px 24px; }
}
@media (min-width: 1024px) and (max-width: 1279px) {
  .hero__fact--phone { display: none; }
  .hero__bar-inner { grid-template-columns: auto 1fr; }
  .hero__facts li { font-size: .875rem; }
}

/* ---------- Секции ---------- */
.section { padding-block: var(--section-y); position: relative; }
.section--light { background: var(--light); color: var(--text); }
.section--white { background: var(--white); color: var(--text); }
.section--dark { background: var(--graphite); color: var(--white); }
.section--graphite { background: var(--graphite-2); color: var(--white); }
.section--accent { background: var(--yellow); color: var(--graphite); }

/* ---------- Каталог ---------- */
.filters {
  display: flex; gap: 8px; margin-bottom: 20px;
  overflow-x: auto; scrollbar-width: none;
  margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter);
  padding-bottom: 4px;
}
.filters::-webkit-scrollbar { display: none; }
.filter {
  display: inline-flex; align-items: center; gap: 8px; flex: none;
  min-height: 44px; padding: 10px 18px;
  border: 1.5px solid #CFCFCF; border-radius: var(--radius);
  background: var(--white); color: var(--graphite);
  font-weight: 600; font-size: .9375rem;
  transition: background-color .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease);
}
.filter:hover { border-color: var(--graphite); }
.filter.is-active { background: var(--graphite); border-color: var(--graphite); color: var(--white); }
.filter__count { font-family: var(--f-display); font-size: .8125rem; font-weight: 500; color: #757575; }
.filter.is-active .filter__count { color: var(--yellow); }
@media (min-width: 1024px) {
  .filters { flex-wrap: wrap; overflow: visible; margin-inline: 0; padding-inline: 0; }
}

.catalog__note { font-size: .875rem; color: var(--muted); margin-bottom: 32px; max-width: 80ch; padding-left: 14px; border-left: 3px solid var(--yellow); }
.catalog__noscript { padding: 24px; background: var(--white); }

.catalog__grid { display: grid; gap: 20px; }
@media (min-width: 640px) { .catalog__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .catalog__grid { grid-template-columns: repeat(3, 1fr); gap: 24px; } }

.card { display: flex; min-width: 0; }
.card.is-hidden { display: none; }
.card.is-entering { animation: cardIn .45s var(--ease) both; }
@keyframes cardIn { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

.card__inner {
  display: flex; flex-direction: column; width: 100%;
  background: var(--white);
  border: 1px solid var(--line);
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.card__inner:hover { border-color: var(--graphite); box-shadow: 0 18px 40px -24px rgba(0,0,0,.35); }
.card__media { position: relative; display: block; width: 100%; aspect-ratio: 3 / 2; overflow: hidden; background: #DADADA; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.card__inner:hover .card__media img { transform: scale(1.04); }
.card__num {
  position: absolute; left: 0; top: 0;
  background: var(--graphite); color: var(--yellow);
  font-family: var(--f-display); font-weight: 600; font-size: .875rem; padding: 6px 10px; letter-spacing: .04em;
}
.card__tag {
  position: absolute; right: 12px; bottom: 12px;
  background: var(--yellow); color: var(--graphite);
  font-size: .75rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; padding: 5px 9px;
}
.card__zoom {
  position: absolute; right: 12px; top: 12px; width: 40px; height: 40px; display: grid; place-items: center;
  background: rgba(18,18,18,.78); color: var(--white);
  opacity: 0; transform: translateY(-4px); transition: opacity .25s var(--ease), transform .25s var(--ease);
}
.card__media:hover .card__zoom, .card__media:focus-visible .card__zoom { opacity: 1; transform: none; }
.card__body { display: flex; flex-direction: column; flex: 1; padding: 22px 20px 20px; }
.card__title {
  font-family: var(--f-display); font-weight: 600; text-transform: uppercase;
  font-size: 1.625rem; line-height: 1.05; margin-bottom: 10px;
}
.card__desc { color: var(--muted); font-size: .9375rem; line-height: 1.55; margin-bottom: 18px; }

.specs { display: grid; margin-bottom: 20px; }
.specs > div {
  display: flex; justify-content: space-between; align-items: baseline; gap: 16px;
  padding: 8px 0; border-top: 1px dashed #D0D0D0; font-size: .875rem;
}
.specs > div:last-child { border-bottom: 1px dashed #D0D0D0; }
.specs dt { color: var(--muted); }
.specs dt { flex: none; }
.specs dd { font-weight: 600; text-align: right; min-width: 0; }

.card__footer { margin-top: auto; display: grid; gap: 16px; }
.card__price { display: grid; line-height: 1.2; }
.card__price-label { font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.card__price-value { font-family: var(--f-display); font-size: 1.375rem; font-weight: 600; }
.card__actions { display: grid; grid-template-columns: 1fr auto; gap: 8px; }
.card__actions .btn { min-height: 48px; padding-inline: 14px; min-width: 0; }
.card__more { --btn-color: var(--graphite); --btn-border: #CFCFCF; padding-inline: 16px; }
.card__more:hover { --btn-border: var(--graphite); }
.card__more .icon { width: 1.15em; height: 1.15em; }

/* ---------- Навесное оборудование ---------- */
.attachments {
  margin-top: clamp(40px, 6vw, 72px);
  background: var(--graphite); color: var(--white);
  padding: clamp(24px, 4vw, 48px);
  border-top: 6px solid var(--yellow);
  display: grid; gap: 28px;
}
.attachments__head { display: grid; gap: 12px; align-content: start; }
.attachments__title {
  font-family: var(--f-display); font-weight: 700; text-transform: uppercase;
  font-size: clamp(1.75rem, 4vw, 2.5rem); line-height: 1.02;
}
.attachments__lead { color: var(--muted-light); font-size: .9375rem; line-height: 1.55; max-width: 44ch; }
.attachments__list { display: grid; gap: 16px; }

.attach { display: grid; background: var(--graphite-2); border: 1px solid var(--line-dark); min-width: 0; }
.attach__media { display: block; aspect-ratio: 3 / 2; overflow: hidden; background: var(--graphite-3); }
.attach__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.attach:hover .attach__media img { transform: scale(1.04); }
.attach__body { display: grid; gap: 12px; align-content: start; padding: 20px; }
.attach__title {
  font-family: var(--f-display); font-weight: 600; text-transform: uppercase;
  font-size: 1.625rem; line-height: 1.05; color: var(--yellow);
}
.attach__text { color: var(--muted-light); font-size: .875rem; line-height: 1.5; }
.attach__points { display: grid; gap: 8px; font-size: .9375rem; }
.attach__points li { position: relative; padding-left: 28px; }
.attach__points li::before {
  content: ''; position: absolute; left: 0; top: .15em; width: 18px; height: 18px;
  background: var(--yellow) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23121212' stroke-width='3.2'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.attach__link {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; justify-self: start;
  color: var(--yellow); font-weight: 600; font-size: .9375rem;
}
.attach__link .icon { width: 1.1em; height: 1.1em; transition: transform .25s var(--ease); }
.attach__link:hover .icon { transform: translate(3px, -3px); }

@media (min-width: 640px) {
  .attach { grid-template-columns: 42% 1fr; }
  .attach__media { aspect-ratio: auto; min-height: 100%; }
  .attach__body { padding: 24px; }
}
@media (min-width: 1024px) {
  .attachments { grid-template-columns: minmax(220px, .8fr) 2fr; gap: 40px; align-items: stretch; }
  .attachments__list { grid-template-columns: repeat(2, 1fr); gap: 20px; }
}

/* ---------- Услуги ---------- */
.services__grid { display: grid; gap: 12px; }
.service {
  position: relative; overflow: hidden; isolation: isolate;
  min-height: 360px; display: flex; align-items: flex-end;
  background: var(--graphite-3);
}
.service__media { position: absolute; inset: 0; z-index: -2; }
.service__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.service::after { content: ''; position: absolute; inset: 0; z-index: -1; background: rgba(18,18,18,.62); transition: background-color .4s var(--ease); }
.service:hover::after { background: rgba(18,18,18,.5); }
.service:hover .service__media img { transform: scale(1.05); }
.service__body { padding: 24px; display: grid; gap: 10px; justify-items: start; width: 100%; }
.service__icon { width: 48px; height: 48px; display: grid; place-items: center; background: var(--yellow); color: var(--graphite); margin-bottom: 6px; }
.service__icon .icon { width: 26px; height: 26px; stroke-width: 1.6; }
.service__title { font-family: var(--f-display); font-weight: 600; text-transform: uppercase; font-size: 1.5rem; line-height: 1.05; }
.service__text { color: rgba(255,255,255,.82); font-size: .9375rem; line-height: 1.55; max-width: 46ch; }
.service__link {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 6px; min-height: 44px;
  color: var(--yellow); font-weight: 600; font-size: .9375rem;
}
.service__link .icon { transition: transform .25s var(--ease); }
.service__link:hover .icon { transform: translate(3px, -3px); }
/* растягиваем ссылку на всю плитку */
.service__link::before { content: ''; position: absolute; inset: 0; z-index: 1; }
.service__season { font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--yellow); font-weight: 600; }

@media (min-width: 640px) {
  .services__grid { grid-template-columns: repeat(2, 1fr); }
  .service--xl, .service--wide, .service--banner { grid-column: span 2; }
}
@media (min-width: 1024px) {
  .services__grid { grid-template-columns: repeat(4, 1fr); grid-auto-rows: minmax(320px, auto); gap: 16px; }
  .service { min-height: 0; }
  .service--xl { grid-column: span 2; grid-row: span 2; }
  .service--xl .service__body { padding: 40px; }
  .service--xl .service__title { font-size: clamp(2.25rem, 3vw, 3rem); }
  .service--xl .service__text { font-size: 1.0625rem; }
  .service--wide { grid-column: span 2; }
  .service--banner { grid-column: 1 / -1; min-height: 360px; align-items: stretch; }
  .service--banner .service__media { left: 40%; }
  .service--banner::after { left: 40%; background: rgba(18,18,18,.2); }
  .service--banner:hover::after { background: rgba(18,18,18,.08); }
  .service--banner .service__body {
    width: 40%; background: var(--yellow); color: var(--graphite);
    padding: 48px; align-content: center;
  }
  .service--banner .service__icon { background: var(--graphite); color: var(--yellow); }
  .service--banner .service__title { font-size: 2.5rem; }
  .service--banner .service__text { color: rgba(18,18,18,.8); }
  .service--banner .service__season { color: var(--graphite); }
  .service--banner .service__link { color: var(--graphite); text-decoration: underline; text-underline-offset: 4px; }
  .service--banner :focus-visible { outline-color: var(--graphite); }
}

/* ---------- Преимущества ---------- */
.advantages__inner { display: grid; gap: 48px; }
.advantages__head { margin-bottom: 0; }
.advantages__list { display: grid; border-top: 2px solid var(--graphite); }
.adv { display: grid; grid-template-columns: 48px 1fr; gap: 20px; align-items: start; padding: 28px 0; border-bottom: 1px solid var(--line); }
.adv__body { display: grid; gap: 8px; padding-top: 2px; }
.adv__icon { width: 48px; height: 48px; display: grid; place-items: center; border: 1.5px solid var(--graphite); }
.adv__icon .icon { width: 24px; height: 24px; }
.adv__title { font-family: var(--f-display); font-weight: 600; font-size: 1.375rem; text-transform: uppercase; line-height: 1.15; }
.adv__text { color: var(--muted); font-size: .9375rem; }
.adv:hover .adv__icon { background: var(--yellow); border-color: var(--yellow); }
.adv__icon { transition: background-color .25s var(--ease), border-color .25s var(--ease); }

@media (min-width: 768px) {
  .advantages__list { grid-template-columns: 1fr 1fr; column-gap: 48px; }
}
@media (min-width: 1024px) {
  .advantages__inner { grid-template-columns: 5fr 7fr; gap: 80px; align-items: start; }
  .advantages__head { position: sticky; top: calc(var(--header-h) + 40px); }
}

/* ---------- Шаги ---------- */
.steps__cta { justify-self: start; }
@media (min-width: 1024px) { .steps__cta { justify-self: end; } }
.steps__list { display: grid; gap: 0; counter-reset: none; }
.step { padding: 28px 0 32px; border-top: 2px solid var(--graphite); display: grid; gap: 10px; align-content: start; }
.step__num { font-family: var(--f-display); font-weight: 700; font-size: clamp(3.5rem, 6vw, 5.5rem); line-height: .9; letter-spacing: -.02em; }
.step__title { font-family: var(--f-display); font-weight: 600; text-transform: uppercase; font-size: 1.375rem; line-height: 1.15; }
.step__text { font-size: .9375rem; color: rgba(18,18,18,.78); max-width: 34ch; }
@media (min-width: 640px) { .steps__list { grid-template-columns: 1fr 1fr; column-gap: 32px; } }
@media (min-width: 1024px) {
  .steps__list { grid-template-columns: repeat(4, 1fr); column-gap: 0; }
  .step { padding: 32px 32px 8px 0; position: relative; }
  .step + .step { padding-left: 32px; border-left: 1px solid rgba(18,18,18,.25); }
  .step:nth-child(even) { margin-top: 56px; }
}

/* ---------- Галерея ---------- */
.works__grid { display: grid; gap: 12px; grid-template-columns: 1fr 1fr; }
.works__item { position: relative; overflow: hidden; aspect-ratio: 1; background: var(--graphite-3); }
.works__item:first-child { grid-column: span 2; aspect-ratio: 3 / 2; }
.works__btn { display: block; width: 100%; height: 100%; }
.works__btn img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease), opacity .3s; }
.works__btn:hover img { transform: scale(1.05); }
.works__caption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 14px 16px;
  background: rgba(18,18,18,.82); color: var(--white); font-size: .875rem; text-align: left;
  transform: translateY(100%); transition: transform .3s var(--ease);
}
.works__btn:hover .works__caption, .works__btn:focus-visible .works__caption { transform: none; }
@media (min-width: 1024px) {
  .works__grid { grid-template-columns: repeat(4, 1fr); gap: 16px; }
  .works__item:first-child { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
}

/* ---------- Форма заявки ---------- */
.request { overflow: hidden; }
.request__inner { display: grid; gap: 48px; }
.request__inner > *, .faq__inner > *, .advantages__inner > *, .footer__top > * { min-width: 0; }
.request__title {
  font-family: var(--f-display); font-weight: 700; text-transform: uppercase;
  font-size: clamp(2.5rem, 1.4rem + 4.6vw, 5.25rem); line-height: .95; margin-bottom: 24px; text-wrap: balance;
}
.request__lead { font-size: clamp(1.0625rem, 1rem + .4vw, 1.3125rem); color: rgba(255,255,255,.86); margin-bottom: 32px; max-width: 32em; }
.request__points { display: grid; gap: 14px; margin-bottom: 40px; }
.request__points li { position: relative; padding-left: 30px; color: rgba(255,255,255,.86); }
.request__points li::before {
  content: ''; position: absolute; left: 0; top: .45em; width: 14px; height: 8px;
  border-left: 2.5px solid var(--yellow); border-bottom: 2.5px solid var(--yellow); transform: rotate(-45deg);
}
.request__alt { display: grid; gap: 4px; padding-top: 24px; border-top: 1px solid var(--line-dark); }
.request__alt-label { font-size: .8125rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted-light); }
.request__alt-phone { font-family: var(--f-display); font-size: clamp(1.75rem, 3vw, 2.5rem); font-weight: 600; letter-spacing: .01em; }
.request__alt-phone:hover { color: var(--yellow); }

.form {
  background: var(--white); color: var(--text);
  padding: clamp(24px, 4vw, 48px);
  border-top: 8px solid var(--yellow);
  display: grid; gap: 20px; align-content: start; grid-template-columns: minmax(0, 1fr);
}
.form__row { display: grid; gap: 20px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 640px) { .form__row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.field { display: grid; gap: 8px; min-width: 0; }
.field__label { font-size: .8125rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.field__input {
  width: 100%; min-width: 0; min-height: 54px; padding: 14px 16px;
  background: var(--light); border: 1.5px solid #C9C9C9; border-radius: var(--radius);
  font-size: 1rem; line-height: 1.4; color: var(--text);
  transition: border-color .2s var(--ease), background-color .2s var(--ease);
  appearance: none; -webkit-appearance: none;
}
.field__input::placeholder { color: #767676; }
.field__input:hover { border-color: #8A8A8A; }
.field__input:focus { outline: none; border-color: var(--graphite); background: var(--white); box-shadow: 0 0 0 3px var(--yellow); }
.field__input[aria-invalid="true"] { border-color: var(--danger); background: #FFF6F6; }
.field__textarea { min-height: 120px; resize: vertical; }
.field__select { position: relative; }
.field__select::after {
  content: ''; position: absolute; right: 18px; top: 50%; width: 9px; height: 9px; margin-top: -7px;
  border-right: 2px solid var(--graphite); border-bottom: 2px solid var(--graphite); transform: rotate(45deg); pointer-events: none;
}
.field__select .field__input { padding-right: 44px; cursor: pointer; }
.field__error { color: var(--danger); font-size: .8125rem; font-weight: 500; min-height: 0; }
.field__error:empty { display: none; }
.field__hint { color: var(--muted); font-size: .8125rem; }
.form__note { font-size: .8125rem; color: var(--muted); line-height: 1.5; }
.form__note .link-btn:hover { color: var(--graphite); text-decoration-thickness: 2px; }

@media (min-width: 1024px) {
  .request__inner { grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
  .request__intro { position: sticky; top: calc(var(--header-h) + 40px); }
}

/* ---------- FAQ ---------- */
.faq__inner { display: grid; gap: 40px; }
.faq__head { margin-bottom: 0; }
.faq__list { border-top: 2px solid var(--graphite); }
.faq__item { border-bottom: 1px solid #D6D6D6; }
.faq__q { margin: 0; }
.faq__btn {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 24px 0; text-align: left;
  font-family: var(--f-body); font-weight: 600; font-size: clamp(1.0625rem, 1rem + .3vw, 1.25rem); line-height: 1.35;
}
.faq__btn:hover { color: #000; }
.faq__icon { width: 40px; height: 40px; flex: none; display: grid; place-items: center; border: 1.5px solid var(--graphite); transition: background-color .25s var(--ease), transform .3s var(--ease); }
.faq__icon .icon { width: 20px; height: 20px; transition: transform .3s var(--ease); }
.faq__btn:hover .faq__icon { background: var(--yellow); border-color: var(--yellow); }
.faq__btn[aria-expanded="true"] .faq__icon { background: var(--graphite); color: var(--yellow); }
.faq__btn[aria-expanded="true"] .faq__icon .icon { transform: rotate(45deg); }
.faq__panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .35s var(--ease); }
.faq__panel.is-open { grid-template-rows: 1fr; }
.faq__panel-inner { overflow: hidden; }
.faq__a { padding: 0 64px 28px 0; color: var(--muted); max-width: 70ch; }
@media (min-width: 1024px) {
  .faq__inner { grid-template-columns: 5fr 7fr; gap: 80px; align-items: start; }
  .faq__head { position: sticky; top: calc(var(--header-h) + 40px); }
}

/* ---------- Footer ---------- */
.footer { background: var(--graphite); color: var(--white); padding-top: var(--section-y); }
.footer__top { display: grid; gap: 48px; padding-bottom: clamp(48px, 6vw, 96px); }
.footer__title {
  font-family: var(--f-display); font-weight: 700; text-transform: uppercase;
  font-size: clamp(2.5rem, 1.2rem + 5.4vw, 6rem); line-height: .95; margin-bottom: 32px;
}
.footer__title span { color: var(--yellow); }
.footer__actions { display: grid; gap: 12px; }
@media (min-width: 640px) { .footer__actions { display: flex; flex-wrap: wrap; } }
.footer__info { display: grid; border-top: 1px solid var(--line-dark); align-self: end; }
.footer__info-row { display: grid; grid-template-columns: 110px 1fr; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line-dark); }
.footer__info dt { font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted-light); padding-top: 3px; }
.footer__info dd { font-weight: 500; overflow-wrap: anywhere; }
.footer__info a:hover { color: var(--yellow); }
.footer__bottom { display: grid; gap: 32px; padding-block: 40px; border-top: 1px solid var(--line-dark); }
.footer__nav { display: flex; flex-wrap: wrap; gap: 4px 24px; }
.footer__nav a { color: var(--muted-light); padding: 8px 0; font-size: .9375rem; }
.footer__nav a:hover { color: var(--yellow); }
.footer__legal { display: grid; gap: 8px; font-size: .8125rem; color: var(--muted-light); }
.footer__req:empty { display: none; }
.footer__disclaimer { color: rgba(255,255,255,.55); }
@media (min-width: 1024px) {
  .footer__top { grid-template-columns: 7fr 5fr; gap: 80px; }
  .footer__bottom { grid-template-columns: auto 1fr; align-items: start; column-gap: 64px; }
  .footer__nav { justify-content: flex-end; }
  .footer__legal { grid-column: 1 / -1; grid-template-columns: 1fr auto; column-gap: 32px; }
  .footer__legal .footer__req { grid-column: 1 / -1; }
}

/* ---------- Плавающие элементы ---------- */
.wa-float {
  position: fixed; right: 24px; bottom: 24px; z-index: 90;
  display: none; align-items: center; gap: 0;
  height: 60px; padding: 0 18px;
  background: var(--yellow); color: var(--graphite);
  box-shadow: 0 12px 30px -10px rgba(0,0,0,.45);
  font-weight: 600;
  transform: translateY(120%); opacity: 0;
  transition: transform .4s var(--ease), opacity .4s var(--ease), gap .3s var(--ease);
}
.wa-float.is-visible { transform: none; opacity: 1; }
.wa-float .icon { width: 26px; height: 26px; }
.wa-float__label { max-width: 0; overflow: hidden; white-space: nowrap; transition: max-width .35s var(--ease); }
.wa-float:hover, .wa-float:focus-visible { gap: 10px; }
.wa-float:hover .wa-float__label, .wa-float:focus-visible .wa-float__label { max-width: 200px; }
@media (min-width: 1024px) { .wa-float { display: inline-flex; } }

.mobile-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 95;
  display: grid; grid-template-columns: 1fr 1fr;
  padding-bottom: env(safe-area-inset-bottom);
  background: var(--graphite);
  border-top: 1px solid var(--line-dark);
}
.mobile-bar__btn { display: flex; align-items: center; justify-content: center; gap: 10px; height: 64px; font-weight: 600; font-size: 1rem; }
.mobile-bar__btn .icon { width: 22px; height: 22px; }
.mobile-bar__btn--call { color: var(--white); }
.mobile-bar__btn--wa { background: var(--yellow); color: var(--graphite); }
@media (min-width: 1024px) { .mobile-bar { display: none; } }

/* ---------- Модальные окна ---------- */
.modal { position: fixed; inset: 0; z-index: 150; display: grid; place-items: center; padding: 12px; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(10,10,10,.78); animation: fadeIn .25s var(--ease); }
.modal__dialog {
  position: relative; width: 100%; max-width: 720px; max-height: calc(100dvh - 24px); overflow-y: auto;
  background: var(--white); color: var(--text);
  animation: dialogIn .35s var(--ease);
  overscroll-behavior: contain;
}
.modal__dialog--wide { max-width: 1120px; }
.modal__dialog--call { max-width: 420px; }
.call { display: grid; gap: 12px; padding: 32px 24px 28px; }
.call__title { font-family: var(--f-display); font-weight: 700; text-transform: uppercase; font-size: 2rem; line-height: 1; padding-right: 48px; }
.call__hint { color: var(--muted); font-size: .9375rem; margin-bottom: 8px; }
.modal__close {
  position: absolute; right: 0; top: 0; z-index: 2; width: 52px; height: 52px;
  display: grid; place-items: center; background: var(--graphite); color: var(--white);
  transition: background-color .2s var(--ease), color .2s var(--ease);
}
.modal__close:hover { background: var(--yellow); color: var(--graphite); }
.modal__close .icon { width: 24px; height: 24px; }
@keyframes fadeIn { from { opacity: 0; } }
@keyframes dialogIn { from { opacity: 0; transform: translateY(24px); } }

.em { display: grid; }
.em__media { position: relative; display: block; width: 100%; aspect-ratio: 3 / 2; background: #DADADA; overflow: hidden; cursor: zoom-in; }
.em__media picture { position: absolute; inset: 0; }
.em__media img { width: 100%; height: 100%; object-fit: cover; }
.em__zoom { position: absolute; left: 12px; bottom: 12px; width: 44px; height: 44px; display: grid; place-items: center; background: rgba(18,18,18,.8); color: var(--white); }
.em__body { padding: 28px 20px 28px; display: grid; gap: 14px; align-content: start; }
.em__cat { font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.em__title { font-family: var(--f-display); font-weight: 700; text-transform: uppercase; font-size: clamp(2rem, 4vw, 3rem); line-height: 1; }
.em__desc { color: var(--muted); }
.em__body .specs { margin-block: 6px; }
.em__body .specs > div { font-size: .9375rem; padding: 10px 0; }
.em__price { font-family: var(--f-display); font-size: 1.75rem; font-weight: 600; }
.em__price small { display: block; font-family: var(--f-body); font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-weight: 500; }
.em__actions { display: grid; gap: 10px; }
.em__note { font-size: .8125rem; color: var(--muted); }
@media (min-width: 768px) {
  .modal { padding: 24px; }
  .modal__dialog { max-height: calc(100dvh - 48px); }
  .em { grid-template-columns: 1.15fr 1fr; }
  .em__media { aspect-ratio: auto; min-height: 100%; }
  .em__body { padding: 48px 40px 40px; }
  .em__actions { grid-template-columns: 1fr 1fr; }
}

.policy { padding: 48px 24px 32px; display: grid; gap: 14px; font-size: .9375rem; }
.policy__title { font-family: var(--f-display); font-weight: 700; text-transform: uppercase; font-size: 2rem; line-height: 1.05; padding-right: 48px; }
.policy h3 { font-size: 1rem; font-weight: 700; margin-top: 10px; }
.policy p { color: #333; }
.policy a { text-decoration: underline; text-underline-offset: 3px; }
.policy__law { font-size: .8125rem; color: var(--muted) !important; padding-top: 12px; border-top: 1px solid var(--line); }
@media (min-width: 768px) { .policy { padding: 56px 48px 40px; } }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 160;
  background: rgba(8,8,8,.95);
  display: grid; place-items: center; padding: 64px 12px;
  animation: fadeIn .25s var(--ease);
}
.lightbox__figure { display: grid; gap: 12px; justify-items: center; max-width: 100%; }
.lightbox__figure img { max-width: min(100%, 1400px); max-height: calc(100dvh - 160px); width: auto; height: auto; object-fit: contain; }
.lightbox__caption { color: rgba(255,255,255,.8); font-size: .9375rem; text-align: center; }
.lightbox__close, .lightbox__nav {
  position: absolute; width: 52px; height: 52px; display: grid; place-items: center;
  color: var(--white); background: rgba(255,255,255,.08); transition: background-color .2s, color .2s;
}
.lightbox__close:hover, .lightbox__nav:hover { background: var(--yellow); color: var(--graphite); }
.lightbox__close { right: 8px; top: 8px; }
.lightbox__nav { top: 50%; margin-top: -26px; }
.lightbox__nav--prev { left: 8px; }
.lightbox__nav--next { right: 8px; }
.lightbox .icon { width: 26px; height: 26px; }
@media (max-width: 767px) {
  .lightbox__nav { top: auto; bottom: 12px; margin-top: 0; }
  .lightbox__nav--prev { left: calc(50% - 60px); }
  .lightbox__nav--next { right: calc(50% - 60px); }
}

body.is-locked { overflow: hidden; }
body.is-locked .wa-float { opacity: 0; pointer-events: none; }

/* ---------- Анимации появления ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--reveal-delay, 0s); }
.js [data-reveal].is-visible { opacity: 1; transform: none; }

.hero__content > * { animation: heroIn .9s var(--ease) both; }
.hero__content > :nth-child(2) { animation-delay: .08s; }
.hero__content > :nth-child(3) { animation-delay: .16s; }
.hero__content > :nth-child(4) { animation-delay: .24s; }
@keyframes heroIn { from { opacity: 0; transform: translateY(24px); } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
}

@media print {
  .header, .mobile-bar, .wa-float, .modal, .lightbox { display: none !important; }
  .hero { min-height: auto; }
}
