:root {
  --page-offset: 28px;
  --header-height: 80px;
  --bg-dark: #101826;
  --bg-panel: #252b36;
  --bg-card: #272c37;
  --text: #f6f3f3;
  --text-dark: #111111;
  --muted: #c8c3c7;
  --muted-dark: #7d7d7d;
  --orange: #f37a2f;
  --orange-hover: #ff8a3d;
  --line: rgba(255,255,255,.12);
  --font-main: "Manrope", Arial, sans-serif;
  --font-nav: "Oswald", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  background: #ececec;
  color: var(--text);
  font-family: var(--font-main);
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }

.page-shell,
.catalog-page-shell { width: calc(100% - var(--page-offset) * 2); max-width: 1920px; margin: var(--page-offset) auto; overflow: hidden; background: var(--bg-dark); }

.site-header { position: relative; z-index: 100; background: #0d1524; }
.site-header__inner { display: flex; align-items: center; gap: 28px; min-height: var(--header-height); padding: 0 28px; }
.brand { flex: 0 0 auto; display: flex; align-items: center; }
.brand__logo { width: 280px; height: auto; }
.main-nav { margin-left: auto; }
.main-nav__list { display: flex; align-items: center; gap: 38px; margin: 0; padding: 0; list-style: none; }
.main-nav__list a { font-family: var(--font-nav); font-size: 15px; font-weight: 600; text-transform: uppercase; letter-spacing: .02em; transition: color .2s ease; }
.main-nav__list a:hover, .main-nav__list a.is-active { color: var(--orange); }
.header-cta { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 28px; border-radius: 10px; background: #fff7f5; color: #242127; font-family: var(--font-nav); font-size: 16px; font-weight: 700; text-transform: uppercase; white-space: nowrap; transition: transform .2s ease, background .2s ease; }
.header-cta:hover { transform: translateY(-2px); background: #fff; }
.menu-toggle { display: none; width: 46px; height: 46px; margin-left: auto; padding: 10px; border: 0; background: transparent; }
.menu-toggle span { display: block; height: 2px; margin: 6px 0; background: #fff; transition: transform .2s ease, opacity .2s ease; }
.menu-toggle.is-open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.menu-toggle.is-open span:nth-child(2) { opacity: 0; }
.menu-toggle.is-open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* Landing */
.hero { display: grid; grid-template-columns: 52% 48%; min-height: 700px; background: #111927; }
.hero__content { padding: 58px 28px 42px; display: flex; flex-direction: column; justify-content: center; position: relative; z-index: 2; }
.hero__eyebrow { margin: 0 0 20px; color: var(--orange); font-weight: 800; text-transform: uppercase; font-size: 16px; }
.hero__title { max-width: 760px; margin: 0; font-size: clamp(46px, 5vw, 72px); font-weight: 800; line-height: 1.08; letter-spacing: -.04em; }
.hero__description { max-width: 610px; margin: 28px 0 0; color: var(--muted); font-size: 18px; line-height: 1.45; font-weight: 300; }
.hero__actions { display: flex; gap: 18px; margin-top: 34px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 16px; min-height: 58px; padding: 0 28px; border-radius: 10px; border: 1px solid transparent; font-weight: 500; transition: transform .2s ease, background .2s ease, border-color .2s ease; }
.btn svg { width: 25px; height: 25px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--orange); color: #fff; }
.btn--primary:hover { background: var(--orange-hover); }
.btn--secondary { background: transparent; border-color: rgba(255,255,255,.6); color: #fff; }
.btn--secondary:hover { border-color: var(--orange); }
.hero-features { display: flex; gap: 30px; margin: 46px 0 0; padding: 0; list-style: none; }
.hero-feature { display: flex; align-items: center; gap: 12px; }
.hero-feature img { width: 58px; height: 58px; object-fit: contain; }
.hero-feature strong, .hero-feature span { display: block; }
.hero-feature strong { font-size: 14px; font-weight: 700; }
.hero-feature span { color: var(--muted); font-size: 13px; }
.hero__media { position: relative; min-height: 100%; overflow: hidden; }
.hero__image { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero__media-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(17,25,39,.86) 0%, rgba(17,25,39,.2) 36%, rgba(17,25,39,0) 100%); }

.aso-about, .aso-warranty, .aso-catalog, .aso-contacts, .aso-request { background: var(--bg-dark); color: var(--text); padding: 44px 28px; }
.aso-about__inner, .aso-warranty__inner { display: grid; grid-template-columns: 37% 1fr; gap: 48px; align-items: center; }
.aso-about__title, .aso-warranty__title, .aso-catalog__title, .aso-contacts__title { margin: 0 0 20px; font-size: 44px; line-height: 1.1; font-weight: 800; }
.aso-about__description { max-width: 440px; margin: 0 0 24px; font-size: 18px; line-height: 1.42; color: #f1eded; font-weight: 300; }
.aso-about__button { display: inline-flex; align-items: center; gap: 12px; min-height: 56px; padding: 0 24px; border: 0; border-radius: 8px; background: var(--orange); color: #fff; font-weight: 500; transition: transform .2s ease, background .2s ease; }
.aso-about__button:hover { transform: translateY(-2px); background: var(--orange-hover); }
.aso-about__button svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.aso-about__benefits { display: flex; gap: 30px; margin: 26px 0 0; padding: 0; list-style: none; }
.aso-about__benefit { display: flex; align-items: center; gap: 12px; }
.aso-about__benefit-icon { width: 76px; height: 76px; object-fit: contain; }
.aso-about__benefit-copy strong, .aso-about__benefit-copy span { display: block; }
.aso-about__benefit-copy strong { font-weight: 700; font-size: 13px; }
.aso-about__benefit-copy span { color: var(--muted); font-size: 12px; }
.aso-about__image, .aso-warranty__image { width: 100%; height: 360px; object-fit: cover; border-radius: 12px; box-shadow: 0 8px 28px rgba(0,0,0,.35); }

.aso-warranty__inner { grid-template-columns: 42% 1fr; }
.aso-warranty__list { display: grid; gap: 34px; margin: 0; padding: 0; list-style: none; }
.aso-warranty__item { display: grid; grid-template-columns: 60px 1fr; align-items: center; gap: 20px; }
.aso-warranty__icon { width: 56px; height: 56px; object-fit: contain; }
.aso-warranty__copy h3 { margin: 0 0 4px; font-size: 20px; font-weight: 800; }
.aso-warranty__copy p { margin: 0; color: #f1eded; font-size: 16px; line-height: 1.35; }
.aso-warranty__image { height: 560px; }

.aso-catalog { padding-top: 34px; padding-bottom: 36px; }
.aso-catalog__grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 20px; }
.aso-catalog-card { min-width: 0; min-height: 360px; border-radius: 22px; overflow: hidden; background: var(--bg-card); border: 1px solid rgba(255,255,255,.08); transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; }
.aso-catalog-card:hover { transform: translateY(-4px); border-color: rgba(243,122,47,.55); box-shadow: 0 14px 30px rgba(0,0,0,.24); }
.aso-catalog-card__link { position: relative; display: flex; flex-direction: column; height: 100%; padding: 18px 12px; color: inherit; }
.aso-catalog-card__image-wrap { display: flex; align-items: center; justify-content: center; height: 190px; margin-bottom: 14px; overflow: hidden; }
.aso-catalog-card__image { width: 100%; height: 100%; object-fit: contain; object-position: center; transition: transform .25s ease; }
.aso-catalog-card:hover .aso-catalog-card__image { transform: scale(1.04); }
.aso-catalog-card__content { flex: 1; padding-right: 34px; }
.aso-catalog-card__title { margin: 0 0 8px; font-size: 20px; line-height: 1.15; font-weight: 800; }
.aso-catalog-card__description { margin: 0; color: rgba(255,255,255,.72); font-size: 13px; line-height: 1.4; }
.aso-catalog-card__arrow { position: absolute; right: 14px; bottom: 14px; color: var(--orange); font-size: 48px; line-height: 1; font-weight: 200; transition: transform .2s ease; }
.aso-catalog-card:hover .aso-catalog-card__arrow { transform: translateX(7px); }

.aso-contacts__layout { display: grid; grid-template-columns: 330px 1fr; gap: 0; align-items: stretch; }
.aso-contacts__info { min-height: 520px; padding: 34px 26px; border-radius: 18px 0 0 18px; background: #383d49; display: grid; align-content: start; gap: 30px; }
.aso-contact { display: grid; grid-template-columns: 34px 1fr; gap: 18px; }
.aso-contact__icon { width: 24px; height: 24px; object-fit: contain; margin-top: 2px; }
.aso-contact strong { display: block; margin-bottom: 8px; font-weight: 800; font-size: 18px; }
.aso-contact span, .aso-contact a { color: #f0ecec; line-height: 1.5; font-size: 16px; }
.aso-contacts__map { min-height: 520px; overflow: hidden; border-radius: 0 18px 18px 0; background: #e9e9e9; }
#contacts-map { width: 100%; height: 100%; min-height: 520px; }
.aso-contacts__fallback { width: 100%; height: 100%; object-fit: cover; }

.aso-request { padding-top: 52px; padding-bottom: 52px; }
.aso-request__layout { display: grid; grid-template-columns: 280px 360px 1fr; gap: 0; min-height: 540px; overflow: hidden; border-radius: 12px; background: #262d38; }
.aso-request__aside { padding: 56px 22px; }
.aso-request__lead { margin: 0 0 42px; font-size: 24px; line-height: 1.22; font-weight: 800; }
.aso-request__benefits { display: grid; gap: 26px; margin: 0; padding: 0; list-style: none; }
.aso-request__benefits li { display: grid; grid-template-columns: 28px 1fr; gap: 16px; align-items: start; font-size: 15px; line-height: 1.35; }
.aso-request__check { display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; border: 2px solid var(--orange); border-radius: 50%; color: var(--orange); font-weight: 800; }
.aso-request__form-wrap { display: flex; align-items: center; padding: 28px 16px; }
.request-form { width: 100%; display: grid; gap: 18px; }
.request-form input, .request-form select, .request-form textarea { width: 100%; border: 0; outline: 0; border-radius: 9px; background: #656c77; color: #fff; padding: 0 16px; font-size: 20px; font-weight: 200; }
.request-form input::placeholder, .request-form textarea::placeholder { color: rgba(255,255,255,.55); }
.request-form input, .request-form select { height: 46px; }
.request-form textarea { min-height: 110px; padding-top: 12px; resize: vertical; }
.request-form select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, rgba(255,255,255,.7) 50%), linear-gradient(135deg, rgba(255,255,255,.7) 50%, transparent 50%); background-position: calc(100% - 22px) 18px, calc(100% - 14px) 18px; background-size: 8px 8px; background-repeat: no-repeat; color: rgba(255,255,255,.78); }
.request-form__agree { display: grid; grid-template-columns: 26px 1fr; gap: 12px; align-items: start; color: #fff; font-size: 14px; font-weight: 700; line-height: 1.28; }
.request-form__agree input { width: 24px; height: 24px; accent-color: var(--orange); }
.request-form__submit { height: 60px; border: 0; border-radius: 8px; background: var(--orange); color: #fff; font-size: 18px; font-weight: 500; transition: transform .2s ease, background .2s ease; }
.request-form__submit:hover { transform: translateY(-2px); background: var(--orange-hover); }
.aso-request__media { position: relative; overflow: hidden; background: #111927; }
.aso-request__image { width: 100%; height: 100%; object-fit: cover; object-position: center; }

/* Catalog page */
.catalog-page-shell { background: #fff; }
.catalog-page { padding: 28px 28px 56px; color: var(--text-dark); background: #fff; }
.breadcrumbs { margin: 0 0 28px; color: #8a8a8a; font-size: 14px; font-weight: 300; }
.breadcrumbs a:hover { color: var(--orange); }
.catalog-layout { display: grid; grid-template-columns: 290px 1fr; gap: 28px; }
.catalog-sidebar__title { margin: 0 0 12px; font-size: 24px; font-weight: 800; color: #777; }
.catalog-sidebar__list { margin: 0; padding: 22px 16px; list-style: none; border: 1px solid #d6d6d6; border-radius: 10px; box-shadow: 0 8px 22px rgba(0,0,0,.15); }
.catalog-sidebar__list a { display: block; padding: 8px 0; color: #5f5f5f; font-size: 18px; font-weight: 700; }
.catalog-sidebar__list a:hover, .catalog-sidebar__list a.is-active { color: var(--orange); }
.catalog-filters { display: grid; grid-template-columns: repeat(4, minmax(150px, 1fr)); gap: 16px; margin: 38px 0 22px; }
.catalog-select select, .catalog-input input { width: 100%; height: 44px; padding: 0 12px; border: 1px solid #b8b8b8; border-radius: 7px; color: #777; background: #fff; font-size: 17px; font-weight: 300; }
.catalog-filter-btn, .catalog-reset { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; border: 0; border-radius: 7px; background: var(--orange); color: #fff; font-weight: 500; }
.catalog-reset { background: #f1f1f1; color: #555; }
.catalog-products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.product-card { min-height: 350px; border: 1px solid #cfcfcf; border-radius: 10px; overflow: hidden; transition: transform .2s ease, box-shadow .2s ease; }
.product-card:hover { transform: translateY(-4px); box-shadow: 0 12px 26px rgba(0,0,0,.12); }
.product-card__link { display: flex; flex-direction: column; height: 100%; padding: 20px 22px; }
.product-card__image-wrap { height: 210px; display: flex; align-items: center; justify-content: center; }
.product-card__image-wrap img { width: 100%; height: 100%; object-fit: contain; }
.product-card__title { margin: 16px 0 18px; color: #7b7b7b; font-size: 18px; line-height: 1.3; font-weight: 300; }
.product-card__price { margin: auto 0 0; color: #777; font-size: 24px; font-weight: 800; }
.pagination { display: flex; gap: 8px; margin-top: 28px; flex-wrap: wrap; }
.pagination a { min-width: 38px; height: 38px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid #ccc; border-radius: 8px; color: #444; }
.pagination a.is-current { background: var(--orange); border-color: var(--orange); color: #fff; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* Product page */
.product-page { padding: 28px 28px 62px; background: #fff; color: #111; }
.product-detail { display: grid; grid-template-columns: 34% 33% 33%; align-items: start; min-height: 520px; }
.product-gallery { padding-right: 36px; }
.product-gallery__main { min-height: 330px; display: flex; align-items: center; justify-content: center; }
.product-gallery__main img { width: 100%; max-width: 360px; height: auto; object-fit: contain; }
.product-gallery__thumbs { display: flex; gap: 14px; margin-top: 30px; }
.product-gallery__thumb { width: 78px; height: 78px; padding: 6px; border: 1px solid #cfcfcf; border-radius: 10px; background: #fff; }
.product-gallery__thumb.is-active { border: 2px solid #101828; }
.product-gallery__thumb img { width: 100%; height: 100%; object-fit: contain; }
.product-info { padding: 24px 34px 0 18px; }
.product-info__title { margin: 0 0 18px; font-size: 32px; line-height: 1.25; font-weight: 800; color: #050505; }
.product-info__status { display: inline-flex; gap: 6px; align-items: center; color: #35b85a; margin-bottom: 22px; font-size: 14px; }
.product-info__status::before { content: '✓'; width: 17px; height: 17px; display: inline-flex; align-items: center; justify-content: center; border: 1.5px solid currentColor; border-radius: 50%; font-size: 11px; }
.product-info__price { margin: 0 0 30px; color: #000; font-size: 40px; line-height: 1; font-weight: 800; }
.product-info__request { width: 100%; min-height: 64px; border: 0; border-radius: 8px; background: var(--orange); color: #fff; font-size: 18px; font-weight: 500; transition: transform .2s ease, background .2s ease; }
.product-info__request:hover { transform: translateY(-2px); background: var(--orange-hover); }
.product-specs-panel { min-height: 460px; padding: 8px 0 0 34px; border-left: 1px solid #bfbfbf; }
.product-specs-panel__title { margin: 0 0 22px; font-size: 26px; line-height: 1.2; font-weight: 800; color: #000; }
.product-specs-list { display: grid; gap: 18px; margin: 0; }
.product-specs-list__item { display: grid; grid-template-columns: minmax(0, 1fr) 120px; gap: 24px; color: #818181; font-size: 15px; line-height: 1.35; }
.product-specs-list__item dt, .product-specs-list__item dd { margin: 0; }
.product-description { margin-top: 38px; padding-top: 28px; border-top: 1px solid #ddd; color: #555; line-height: 1.7; }

.thanks-page { padding: 80px 28px; background: #fff; color: #111; text-align: center; }
.thanks-page h1 { font-size: 42px; font-weight: 800; }
.thanks-page p { font-size: 18px; color: #666; }
.thanks-page a { color: var(--orange); font-weight: 700; }

@media (max-width: 1250px) {
  .main-nav__list { gap: 24px; }
  .brand__logo { width: 240px; }
  .aso-catalog__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .aso-request__layout { grid-template-columns: 260px 340px 1fr; }
}

@media (max-width: 1050px) {
  :root { --page-offset: 16px; }
  .menu-toggle { display: block; }
  .header-cta { display: none; }
  .main-nav { position: absolute; top: 100%; left: 0; right: 0; margin: 0; padding: 18px 28px; background: #0d1524; border-top: 1px solid rgba(255,255,255,.08); transform: translateY(-12px); opacity: 0; visibility: hidden; pointer-events: none; transition: .2s ease; }
  .main-nav.is-open { transform: translateY(0); opacity: 1; visibility: visible; pointer-events: auto; }
  .main-nav__list { display: grid; gap: 0; }
  .main-nav__list a { display: block; padding: 14px 0; }
  .hero, .aso-about__inner, .aso-warranty__inner { grid-template-columns: 1fr; }
  .hero__media { min-height: 420px; order: -1; }
  .hero__content { padding: 36px 24px; }
  .aso-warranty__image { height: 420px; }
  .aso-contacts__layout { grid-template-columns: 1fr; }
  .aso-contacts__info { border-radius: 18px 18px 0 0; min-height: auto; }
  .aso-contacts__map { border-radius: 0 0 18px 18px; }
  .aso-request__layout { grid-template-columns: 1fr 1fr; }
  .aso-request__aside { grid-column: 1 / -1; padding: 34px 28px 18px; }
  .aso-request__benefits { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .catalog-layout { grid-template-columns: 1fr; }
  .catalog-sidebar__list { display: flex; flex-wrap: wrap; gap: 6px 22px; }
  .catalog-products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .product-detail { grid-template-columns: 1fr 1fr; gap: 32px 0; }
  .product-specs-panel { grid-column: 1 / -1; min-height: auto; border-left: 0; border-top: 1px solid #d6d6d6; padding: 28px 0 0; }
}

@media (max-width: 720px) {
  :root { --page-offset: 10px; --header-height: 72px; }
  .site-header__inner { padding: 0 16px; }
  .brand__logo { width: 200px; }
  .hero__title { font-size: 40px; }
  .hero__actions, .hero-features, .aso-about__benefits { flex-direction: column; align-items: stretch; }
  .btn, .aso-about__button { width: 100%; }
  .aso-about, .aso-warranty, .aso-catalog, .aso-contacts, .aso-request { padding: 34px 18px; }
  .aso-about__title, .aso-warranty__title, .aso-catalog__title, .aso-contacts__title { font-size: 34px; }
  .aso-catalog__grid { grid-template-columns: 1fr; }
  .aso-request__layout { grid-template-columns: 1fr; }
  .aso-request__benefits { grid-template-columns: 1fr; }
  .aso-request__media { min-height: 360px; }
  .catalog-page, .product-page { padding: 24px 18px 44px; }
  .catalog-filters { grid-template-columns: 1fr; margin-top: 16px; }
  .catalog-products { grid-template-columns: 1fr; }
  .product-detail { grid-template-columns: 1fr; }
  .product-gallery { padding-right: 0; }
  .product-gallery__main { min-height: 260px; }
  .product-info { padding: 0; }
  .product-info__title { font-size: 28px; }
  .product-info__price { font-size: 34px; }
  .product-specs-list__item { grid-template-columns: 1fr; gap: 4px; }
}
.product-info__request { display: inline-flex; align-items: center; justify-content: center; text-decoration: none; }
@media (max-width: 720px) { .product-info__request { max-width: none; } }

/* === UX fixes: no outer gaps, modal form, footer === */
:root { --page-offset: 0px; }
body { background: var(--bg-dark); font-family: var(--font-main); font-weight: 200; }
.page-shell,
.catalog-page-shell {
  width: 100%;
  max-width: none;
  margin: 0;
  overflow: hidden;
}
main { background: var(--bg-dark); }
.catalog-page,
.product-page,
.thanks-page { background: #fff; }
.aso-about,
.aso-warranty,
.aso-catalog,
.aso-contacts { padding-left: 28px; padding-right: 28px; }
.header-cta { border: 0; }
.btn,
.aso-about__button,
.product-info__request { font-family: var(--font-main); }

.site-footer {
  background: #0d1524;
  color: #f7f3f3;
  padding: 44px 28px 22px;
  border-top: 1px solid rgba(255,255,255,.08);
}
.site-footer__top {
  display: grid;
  grid-template-columns: 1.4fr .85fr .95fr 1.15fr;
  gap: 34px;
  align-items: start;
}
.site-footer__logo img { width: 250px; height: auto; }
.site-footer__brand p {
  max-width: 360px;
  margin: 18px 0 0;
  color: rgba(255,255,255,.7);
  font-size: 15px;
  line-height: 1.5;
  font-weight: 200;
}
.site-footer h2 {
  margin: 0 0 16px;
  color: #fff;
  font-size: 17px;
  line-height: 1.2;
  font-weight: 800;
}
.site-footer ul {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.site-footer a,
.site-footer p,
.site-footer span {
  color: rgba(255,255,255,.72);
  font-size: 14px;
  line-height: 1.45;
  font-weight: 200;
}
.site-footer a { transition: color .2s ease; }
.site-footer a:hover { color: var(--orange); }
.site-footer__contacts { display: grid; gap: 9px; }
.site-footer__contacts p { margin: 0; }
.site-footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-top: 36px;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,.08);
}
.site-footer__credit {
  color: rgba(255, 255, 255, .58);
  text-align: center;
}


.request-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 28px;
}
.request-modal.is-open { display: flex; }
.request-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(5, 10, 18, .72);
  backdrop-filter: blur(5px);
}
.request-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(920px, 100%);
  max-height: calc(100vh - 56px);
  overflow: auto;
  border-radius: 16px;
  background: #262d38;
  box-shadow: 0 28px 80px rgba(0,0,0,.45);
}
.request-modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 3;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: rgba(255,255,255,.1);
  color: #fff;
  font-size: 32px;
  line-height: 1;
  font-weight: 200;
}
.request-modal__close:hover { background: rgba(255,255,255,.18); }
.request-modal__layout {
  display: grid;
  grid-template-columns: .9fr 1fr;
  min-height: 520px;
}
.request-modal__aside {
  padding: 58px 28px 36px;
  background: #222a35;
}
.request-modal__title {
  margin: 0 0 42px;
  color: #fff;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.16;
  font-weight: 800;
}
.request-modal__benefits {
  display: grid;
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.request-modal__benefits li {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 14px;
  align-items: start;
  color: #fff;
  font-size: 15px;
  line-height: 1.35;
  font-weight: 200;
}
.request-modal__benefits span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border: 2px solid var(--orange);
  border-radius: 50%;
  color: var(--orange);
  font-weight: 800;
}
.request-modal__form {
  align-content: center;
  padding: 58px 34px 34px;
}
body.modal-open { overflow: hidden; }

@media (max-width: 1050px) {
  :root { --page-offset: 0px; }
  .site-footer__top { grid-template-columns: 1fr 1fr; }
  .request-modal__layout { grid-template-columns: 1fr; }
  .request-modal__aside { padding: 42px 26px 24px; }
  .request-modal__form { padding: 24px 26px 32px; }
}

@media (max-width: 720px) {
  :root { --page-offset: 0px; }
  .site-header__inner { min-height: 72px; }
  .request-modal { padding: 14px; align-items: flex-start; }
  .request-modal__dialog { max-height: calc(100vh - 28px); }
  .request-modal__benefits { gap: 16px; }
  .request-form input,
  .request-form select,
  .request-form textarea { font-size: 16px; }
  .site-footer { padding: 34px 18px 20px; }
  .site-footer__top { grid-template-columns: 1fr; gap: 28px; }
  .site-footer__bottom { flex-direction: column; }
}


/* === 2026-07 UX/SEO/admin update === */
:root {
  --content-x: clamp(34px, 5.2vw, 92px);
}
.page-shell,
.catalog-page-shell {
  background: var(--bg-dark);
}
.hero__content {
  padding-left: var(--content-x);
  padding-right: clamp(28px, 3vw, 58px);
}
.aso-about,
.aso-warranty,
.aso-catalog,
.aso-contacts {
  padding-left: var(--content-x);
  padding-right: var(--content-x);
}
.site-footer {
  padding-left: var(--content-x);
  padding-right: var(--content-x);
}
.hero__media::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(circle at 70% 48%, rgba(243,122,47,.16) 0%, rgba(17,25,39,.2) 38%, rgba(17,25,39,.86) 100%),
    linear-gradient(90deg, rgba(17,25,39,1) 0%, rgba(17,25,39,.94) 18%, rgba(17,25,39,.68) 44%, rgba(17,25,39,.3) 72%, rgba(17,25,39,.72) 100%);
  pointer-events: none;
}
.hero__media-overlay { display: none; }
.hero__image { filter: saturate(.92) contrast(.96); }
.form-hp { position: absolute !important; left: -10000px !important; opacity: 0 !important; pointer-events: none !important; }
.product-gallery__thumb { cursor: pointer; }
.product-gallery__thumb.is-active { border-color: var(--orange); }
@media (max-width: 980px) {
  :root { --content-x: clamp(20px, 4vw, 38px); }
  .hero__content { padding-left: var(--content-x); padding-right: var(--content-x); }
}
@media (max-width: 720px) {
  :root { --content-x: 18px; }
}


/* === FIX 2026-07-15: mobile hero overflow === */
html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

.page-shell,
.catalog-page-shell,
.hero,
.hero__content,
.hero__media {
  min-width: 0;
}

.hero__eyebrow,
.hero__title,
.hero__description,
.btn span {
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: normal;
}

@media (max-width: 720px) {
  .page-shell,
  .catalog-page-shell {
    width: 100%;
    margin: 0;
    overflow: hidden;
  }

  .hero {
    display: flex;
    flex-direction: column;
    min-height: auto;
  }

  .hero__media {
    order: -1;
    width: 100%;
    height: 176px;
    min-height: 176px;
    max-height: 176px;
  }

  .hero__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
  }

  .hero__media::before {
    background:
      linear-gradient(180deg, rgba(17,25,39,.18) 0%, rgba(17,25,39,.72) 72%, rgba(17,25,39,1) 100%),
      linear-gradient(90deg, rgba(17,25,39,.7) 0%, rgba(17,25,39,.18) 55%, rgba(17,25,39,.7) 100%);
  }

  .hero__content {
    width: 100%;
    padding: 34px 28px 42px;
  }

  .hero__eyebrow {
    margin-bottom: 18px;
    font-size: 18px;
    line-height: 1.2;
    letter-spacing: -.01em;
    white-space: normal;
  }

  .hero__title {
    max-width: 100%;
    font-size: clamp(31px, 9vw, 36px);
    line-height: 1.08;
    letter-spacing: -.045em;
  }

  .hero__description {
    margin-top: 24px;
    font-size: 19px;
    line-height: 1.48;
  }

  .hero__actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
    width: 100%;
    margin-top: 34px;
  }

  .hero__actions .btn {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    min-height: 72px;
    padding: 0 18px;
    justify-content: center;
    white-space: normal;
    text-align: center;
  }

  .hero-features {
    display: grid;
    grid-template-columns: 1fr;
    gap: 22px;
    width: 100%;
    margin-top: 46px;
  }

  .hero-feature {
    min-width: 0;
  }

  .hero-feature img {
    flex: 0 0 54px;
    width: 54px;
    height: 54px;
  }
}

@media (max-width: 390px) {
  .hero__content {
    padding-left: 22px;
    padding-right: 22px;
  }

  .hero__eyebrow {
    font-size: 16px;
  }

  .hero__title {
    font-size: 31px;
  }

  .hero__description {
    font-size: 18px;
  }
}


/* === FIX 2026-07-16: catalog categories UX/mobile symmetry === */
.catalog-sidebar__all {
  border-radius: 8px;
}

@media (min-width: 1051px) {
  .catalog-sidebar__list .catalog-sidebar__all {
    margin-bottom: 8px;
    padding: 8px 0;
    color: #5f5f5f;
    background: transparent;
    box-shadow: none;
    font-weight: 700;
  }

  .catalog-sidebar__list .catalog-sidebar__all:hover,
  .catalog-sidebar__list .catalog-sidebar__all.is-active {
    color: #5f5f5f;
    background: transparent;
  }
}

@media (max-width: 1050px) {
  .catalog-sidebar__list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    padding: 18px;
  }

  .catalog-sidebar__list li {
    min-width: 0;
  }

  .catalog-sidebar__list a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 54px;
    padding: 10px 8px;
    text-align: center;
    border-radius: 8px;
    line-height: 1.2;
    overflow-wrap: anywhere;
  }

  .catalog-sidebar__list a:hover,
  .catalog-sidebar__list a.is-active {
    background: rgba(243, 122, 47, 0.10);
  }

  .catalog-sidebar__list .catalog-sidebar__all {
    grid-column: 1 / -1;
    min-height: 54px;
    color: #5f5f5f;
    background: transparent;
    box-shadow: none;
    font-weight: 700;
  }

  .catalog-sidebar__list .catalog-sidebar__all:hover,
  .catalog-sidebar__list .catalog-sidebar__all.is-active {
    color: #5f5f5f;
    background: rgba(0, 0, 0, 0.04);
  }
}

@media (max-width: 420px) {
  .catalog-sidebar__list {
    gap: 10px;
    padding: 14px;
  }

  .catalog-sidebar__list a {
    min-height: 50px;
    font-size: 17px;
  }
}


/* === FIX 2026-07-16: hero title word wrapping + footer developer phone === */
.hero__title {
  overflow-wrap: normal !important;
  word-break: normal !important;
  hyphens: none !important;
}

.site-footer__credit a {
  color: rgba(255, 255, 255, .72);
  text-decoration: none;
  white-space: nowrap;
}

.site-footer__credit a:hover {
  color: var(--orange);
}

@media (min-width: 1051px) {
  .hero__title {
    max-width: 820px;
    font-size: clamp(54px, 4.6vw, 68px);
    line-height: 1.1;
  }
}

@media (max-width: 720px) {
  .hero__title {
    font-size: clamp(28px, 8.2vw, 34px) !important;
    line-height: 1.12;
    letter-spacing: -.035em;
  }

  .hero__eyebrow {
    overflow-wrap: normal;
    word-break: normal;
  }

  .site-footer__bottom {
    align-items: flex-start;
  }

  .site-footer__credit {
    text-align: left;
  }
}

@media (max-width: 390px) {
  .hero__title {
    font-size: 28px !important;
  }
}
