:root {
  --bg: #f5f6fa;
  --text: #101114;
  --muted: #6f7388;
  --line: #d9dbe8;
  --accent: #364ed3;
  --accent-soft: #8193f8;
  --card: #ffffff;
  --radius: 12px;
  --bx-panel-offset: 0px;
  /* fixed .header height: main row + topline (desktop); без JS — с первого кадра */
  --header-offset: 60px;
}
@media (min-width: 768px) {
  :root {
    --header-offset: 88px;
  }
}
@media (min-width: 1024px) {
  :root {
    --header-offset: 133px;
  }
}

* { box-sizing: border-box; }
html {
  scrollbar-gutter: stable;
  overflow-x: hidden;
}
body {
  margin: 0;
  font-family: Inter, Geist, Arial, sans-serif;
  color: var(--text);
  background: #fff;
  padding-top: var(--header-offset);
}
/* Bitrix admin panel should stay at window top. */
#bx-panel {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: auto !important;
  margin: 0 !important;
  transform: none !important;
  z-index: 2147483000 !important;
}
/* Move site header below admin panel only when panel is rendered. */
#bx-panel + .site .header {
  top: var(--bx-panel-offset, 39px);
}
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
.page__container {
  width: min(1360px, calc(100% - 40px));
  margin: 0 auto;
}

.header { background: #fff; position: fixed; top: 0; left: 0; right: 0; z-index: 50; width: 100%; }
.topline {
  width: 100%;
  background: rgba(237, 238, 245, 0.75);
}
.topline__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 37px;
  padding: 10px 0;
  font-size: 13px;
  line-height: 1;
  color: #000;
}
.topline__menu,
.topline__contacts { display: flex; align-items: center; gap: 24px; }
.topline__menu { font-family: Inter, sans-serif; font-weight: 400; }
.topline__menu a:nth-child(5) { font-family: Inter, sans-serif; }
.topline__contacts { font-family: Inter, sans-serif; font-weight: 400; }
.topline__contacts a:nth-child(-n+2) {
  text-decoration: underline;
  text-decoration-style: dotted;
  text-decoration-thickness: 10%;
  text-underline-offset: 3px;
}
.topline__menu a,
.topline__contacts a {
  transition: color 0.2s ease;
}
.topline__menu a:hover,
.topline__contacts a:hover {
  color: #364ed3;
}
.header__main {
  width: 100%;
  background: #fff;
  border-bottom: 1px solid #eff0f7;
}
.header__main-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0;
}
.header__left {
  padding-right: 92px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 24px;
}
.header__catalog-slot {
  display: inline-flex;
  flex-shrink: 0;
}
.header__catalog-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  height: 48px;
  padding: 14px 24px;
  border-radius: 50px;
  border: 1px solid #364ed3;
  background: #364ed3;
  color: #fff;
  font-family: Inter, sans-serif;
  font-weight: 500;
  font-size: 15px;
  line-height: 1;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}
.header__catalog-btn:hover {
  background: #121a61;
  border-color: #121a61;
}
.header__catalog-icon {
  flex-shrink: 0;
  color: currentColor;
  width: 20px;
  height: 20px;
  display: inline-block;
  position: relative;
}
.header__catalog-line {
  position: absolute;
  left: 2px;
  right: 2px;
  height: 1.5px;
  border-radius: 999px;
  background: currentColor;
  transform-origin: center;
  transition: transform 0.25s ease, top 0.25s ease, opacity 0.2s ease;
}
.header__catalog-line_top { top: 4px; }
.header__catalog-line_middle { top: 9px; }
.header__catalog-line_bottom { top: 14px; }
.header__catalog-btn[aria-expanded="true"] .header__catalog-line_top {
  top: 9px;
  transform: rotate(45deg);
}
.header__catalog-btn[aria-expanded="true"] .header__catalog-line_middle {
  opacity: 0;
}
.header__catalog-btn[aria-expanded="true"] .header__catalog-line_bottom {
  top: 9px;
  transform: rotate(-45deg);
}
.header__phone-btn {
  display: none;
  text-decoration: none;
}
.header__cta {
  height: 48px;
  padding: 14px 24px;
  border-radius: 50px;
  border: 1px solid #364ed3;
  background: #fff;
  color: #364ed3;
  font-family: Inter, sans-serif;
  font-weight: 400;
  font-size: 15px;
  line-height: 1;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.header__cta:hover {
  background: #364ed3;
  border-color: #364ed3;
  color: #fff;
}
.header__logo {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}
.header__logo img { height: 55px; width: auto; max-width: 266px; display: block; margin-top:5px; }
.header__actions { display: flex; gap: 24px; align-items: center; margin-left: auto; flex-shrink: 0; }
.header__icon-btn {
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  background: #edeef5;
  padding: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s ease;
}
.header__icon-btn img {
  width: 24px;
  height: 24px;
  display: block;
  transition: filter 0.2s ease;
}
.header__icon-btn:hover,
.header__cart-wrap:hover .header__icon-btn {
  background: #364ed3;
}
.header__icon-btn:hover img,
.header__cart-wrap:hover .header__icon-btn img {
  filter: brightness(0) invert(1);
}
.header__cart-wrap { position: relative; display: inline-flex; }
.header__cart-badge {
  position: absolute;
  top: 10px;
  right: 5px;
  min-width: 19px;
  height: 14px;
  padding: 2px 4px;
  margin: 0;
  border-radius: 999px;
  background: #000;
  color: #fff;
  font-family: Inter, sans-serif;
  font-size: 8px;
  font-weight: 600;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}
.header__cart-badge[hidden] {
  display: none !important;
}

.header__search-toggle {
  position: relative;
}
.header__search-toggle-face {
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
}
.header__search-toggle-face_close {
  display: none;
}
.header__search-toggle-face_close img {
  width: 24px;
  height: 24px;
  display: block;
}
.header.is-search-open .header__search-toggle-face_search {
  display: none;
}
.header.is-search-open .header__search-toggle-face_close {
  display: flex;
}
.header.is-search-open .header__search-toggle {
  background: #364ed3;
}
.header.is-search-open .header__search-toggle:hover {
  background: #364ed3;
}
.header.is-search-open .header__search-toggle-face_close img {
  filter: brightness(0) invert(1);
}
.header.is-search-open .header__search-toggle:hover .header__search-toggle-face_close img {
  filter: brightness(0) invert(1);
}

.header__search-panel {
  display: none;
}

@media (min-width: 768px) {
  .header__search-panel {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.35s ease;
    background: #eff0f7;
  }

  .header.is-search-open .header__search-panel {
    grid-template-rows: 1fr;
  }

  .header__search-panel-inner {
    overflow: hidden;
    min-height: 0;
  }

  .header__search-row {
    position: relative;
    display: flex;
    align-items: center;
    height: 44px;
    margin: 24px auto;
    padding: 0 12px 0 16px;
    border: 0;
    border-radius: 8px;
    background: #fff;
    box-sizing: border-box;
  }

  .header__search-input {
    flex: 1 1 auto;
    min-width: 0;
    height: 100%;
    border: 0;
    outline: none;
    padding: 0 36px 0 0;
    font-family: Inter, sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 24px;
    letter-spacing: -0.14px;
    color: #101114;
    background: transparent;
    -webkit-appearance: none;
    appearance: none;
  }

  .header__search-input::-webkit-search-cancel-button,
  .header__search-input::-webkit-search-decoration {
    -webkit-appearance: none;
    appearance: none;
    display: none;
  }

  .header__search-input::placeholder {
    color: #9699ae;
  }

  .header__search-clear {
    position: absolute;
    top: 50%;
    right: 8px;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    padding: 0;
    border: 0;
    border-radius: 4px;
    background: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 0;
    color: #9699ae;
  }

  .header__search-clear:hover,
  .header__search-clear:focus-visible {
    outline: none;
  }

  .header__search-clear:focus-visible {
    box-shadow: 0 0 0 2px rgba(54, 78, 211, 0.35);
  }

  .header__search-clear img {
    display: block;
    width: 16px;
    height: 16px;
    opacity: 0.65;
  }

  .header__search-clear:hover img,
  .header__search-clear:focus-visible img {
    opacity: 1;
  }
}

@media (max-width: 767px) {
  .header__search-panel {
    display: none !important;
  }
}

@media (min-width: 768px) and (prefers-reduced-motion: reduce) {
  .header__search-panel {
    transition: none;
  }
}
.subnav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap;
  gap: 32px;
  padding: 24px 0;
  font-family: Inter, sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.1875;
  color: #000;
  overflow-x: auto;
  scrollbar-width: thin;
  position: relative;
  --subnav-fade-size: 44px;
  --subnav-fade-left: 0px;
  --subnav-fade-right: 0px;
  -webkit-mask-image: linear-gradient(
    to right,
    transparent 0,
    #000 var(--subnav-fade-left),
    #000 calc(100% - var(--subnav-fade-right)),
    transparent 100%
  );
  mask-image: linear-gradient(
    to right,
    transparent 0,
    #000 var(--subnav-fade-left),
    #000 calc(100% - var(--subnav-fade-right)),
    transparent 100%
  );
}
.subnav.is-overflowing {
  --subnav-fade-left: var(--subnav-fade-size);
  --subnav-fade-right: var(--subnav-fade-size);
}
.subnav.is-overflowing.is-at-start {
  --subnav-fade-left: 0px;
}
.subnav.is-overflowing.is-at-end {
  --subnav-fade-right: 0px;
}
.subnav a {
  flex: 0 0 auto;
  white-space: nowrap;
  transition: color 0.2s ease;
}
.subnav a:hover {
  color: #364ed3;
}

/* Десктоп: мегаменю каталога (Figma 29-2961, общий вид 27-1996) */
.catalog-popup {
  display: none;
}

@media (min-width: 1024px) {
  .catalog-popup {
    position: fixed;
    inset: 0;
    z-index: 40;
    pointer-events: none;
    display: block;
  }

  .catalog-popup.is-open {
    pointer-events: auto;
  }

  .catalog-popup__sheet {
    position: absolute;
    left: 0;
    right: 0;
    top: var(--catalog-menu-top, 0);
    bottom: 0;
    background: #fff;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    pointer-events: auto;
    transform: translateY(-100%);
    transition: transform 0.35s ease;
    will-change: transform;
    scrollbar-gutter: stable;
    scrollbar-width: thin;
    scrollbar-color: #edeef5 #ffffff;
  }

  /* Скролл панели каталога (Figma 32-3417) */
  .catalog-popup__sheet::-webkit-scrollbar {
    width: 8px;
  }

  .catalog-popup__sheet::-webkit-scrollbar-track {
    margin: 12px 0;
    background: #ffffff;
    border-radius: 999px;
  }

  .catalog-popup__sheet::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background-color: #edeef5;
    border: 2px solid #ffffff;
    background-clip: padding-box;
    min-height: 48px;
  }

  .catalog-popup__sheet::-webkit-scrollbar-thumb:hover {
    background-color: #d9dbe8;
  }

  .catalog-popup.is-open .catalog-popup__sheet {
    transform: translateY(0);
  }

  .catalog-popup__inner {
    position: relative;
    box-sizing: border-box;
    padding: 16px 0 40px;
  }

  .catalog-popup__top {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 16px;
  }

  .catalog-popup__close {
    position: relative;
    z-index: 2;
    width: 40px;
    height: 40px;
    padding: 0;
    border: 0;
    border-radius: 8px;
    background: transparent;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    line-height: 0;
  }

  .catalog-popup__close img {
    display: block;
    opacity: 0.7;
  }

  .catalog-popup__close:hover img,
  .catalog-popup__close:focus-visible img {
    opacity: 1;
  }

  .catalog-popup__close:focus-visible {
    outline: 2px solid #364ed3;
    outline-offset: 2px;
  }

  .catalog-popup__body {
    padding: 0;
  }

  .catalog-popup__rows {
    display: flex;
    flex-direction: column;
    gap: 32px;
  }

  .catalog-popup__row {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
    align-items: start;
  }

  .catalog-popup__block {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    min-width: 0;
  }

  .catalog-popup__thumb {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    overflow: hidden;
  }

  .catalog-popup__thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .catalog-popup__block-text {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
  }

  .catalog-popup__block-text_tight {
    gap: 4px;
  }

  .catalog-popup__heading {
    margin: 0;
    font-family: Inter, sans-serif;
    font-weight: 600;
    font-size: 16px;
    line-height: 24px;
    letter-spacing: -0.16px;
  }

  .catalog-popup__heading a {
    color: #000;
    transition: color 0.2s ease;
  }

  .catalog-popup__heading a:hover,
  .catalog-popup__heading a:focus-visible {
    color: #364ed3;
  }

  .catalog-popup__list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 4px;
  }

  .catalog-popup__list a {
    display: inline-block;
    font-family: Inter, sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 24px;
    letter-spacing: -0.14px;
    color: #616473;
    transition: color 0.2s ease;
  }

  .catalog-popup__list a:hover,
  .catalog-popup__list a:focus-visible {
    color: #364ed3;
  }

  .header.is-catalog-open .header__catalog-btn {
    background: #121a61;
    border-color: #121a61;
    color: #fff;
  }

  .header.is-catalog-open .header__catalog-btn:hover {
    background: #121a61;
    border-color: #121a61;
  }

  body.is-catalog-open {
    overflow: hidden;
  }

  body.page-catalog.is-catalog-open {
    overflow-y: auto;
  }
}

@media (min-width: 1024px) and (max-width: 1149px) {
  .catalog-popup__heading {
    font-size: 15px;
  }

  .catalog-popup__list a {
    font-size: 13px;
  }
}

@media (min-width: 1024px) and (prefers-reduced-motion: reduce) {
  .catalog-popup__sheet {
    transition: none;
  }
}

@media (min-width: 1024px) and (max-width: 1149px) {
  .catalog-popup__thumb {
    width: 50px;
    height: 50px;
  }

  .catalog-popup__heading {
    font-size: 15px;
  }

  .catalog-popup__list a {
    font-size: 13px;
  }
}

@media (max-width: 1023px) {
  .catalog-popup {
    display: none !important;
  }
}

.mobile-nav {
  display: none;
}

@media (max-width: 1023px) {
  .mobile-nav {
    --mobile-nav-top: 72px;
    --mobile-nav-fill: calc(100vh - var(--mobile-nav-top));
    display: block;
    position: fixed;
    left: 0;
    right: 0;
    top: var(--mobile-nav-top);
    z-index: 25;
    max-height: 0;
    min-height: 0;
    overflow: hidden;
    pointer-events: none;
    transition: max-height 0.35s ease, min-height 0.35s ease;
    background: #fff;
    border-bottom: 1px solid transparent;
    box-shadow: none;
    box-sizing: border-box;
  }

@supports (height: 100dvh) {
  .mobile-nav {
    --mobile-nav-fill: calc(100dvh - var(--mobile-nav-top));
  }
}

  body.is-mobile-menu-open .mobile-nav {
    max-height: var(--mobile-nav-fill);
    min-height: var(--mobile-nav-fill);
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    border-bottom-color: #eff0f7;
    pointer-events: auto;
    padding-bottom: env(safe-area-inset-bottom, 0px);
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  body.is-mobile-menu-open .mobile-nav::-webkit-scrollbar {
    width: 0;
    height: 0;
  }

  .mobile-nav__inner {
    min-height: 100%;
    box-sizing: border-box;
    background: #fff;
  }

  @media (min-width: 768px) {
    .mobile-nav__search-row {
      display: none;
    }

    .mobile-nav__inner {
      padding-top: 16px;
    }
  }

  .header.is-menu-open .header__catalog-btn {
    background: #364ed3;
    color: #fff;
  }

  .header.is-menu-open .header__catalog-line {
    background: #fff;
  }

  .mobile-nav__search-row {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0;
    box-sizing: border-box;
    height: 44px;
    margin-top: 16px;
    padding: 0 12px 0 16px;
    border: 1px solid #edeef5;
    border-radius: 4px;
    background: #fff;
  }

  .mobile-nav__search {
    flex: 1 1 auto;
    min-width: 0;
    height: 100%;
    border: 0;
    outline: none;
    padding: 0 36px 0 0;
    font-family: Inter, sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 24px;
    letter-spacing: -0.14px;
    color: #101114;
    background: transparent;
    -webkit-appearance: none;
    appearance: none;
  }

  .mobile-nav__search::-webkit-search-cancel-button,
  .mobile-nav__search::-webkit-search-decoration {
    -webkit-appearance: none;
    appearance: none;
    display: none;
  }

  .mobile-nav__search::placeholder {
    color: #9699ae;
  }

  .mobile-nav__search-clear {
    position: absolute;
    top: 50%;
    right: 8px;
    transform: translateY(-50%);
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 4px;
    background: none;
    cursor: pointer;
    line-height: 0;
    color: #9699ae;
  }

  .mobile-nav__search-clear:hover,
  .mobile-nav__search-clear:focus-visible {
    color: #101114;
    outline: none;
  }

  .mobile-nav__search-clear:focus-visible {
    box-shadow: 0 0 0 2px rgba(54, 78, 211, 0.35);
  }

  .mobile-nav__search-clear img {
    display: block;
    opacity: 0.65;
  }

  .mobile-nav__search-clear:hover img,
  .mobile-nav__search-clear:focus-visible img {
    opacity: 1;
  }

  .mobile-nav__accordion {
    margin: 0;
    border-bottom: 1px solid #eff0f7;
    padding: 8px 0;
  }

  .mobile-nav__summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    margin: 0;
    padding: 12px 0;
    border: 0;
    background: none;
    font: inherit;
    font-family: Inter, sans-serif;
    font-size: 16px;
    font-weight: 500;
    line-height: 20px;
    letter-spacing: -0.16px;
    color: #101114;
    text-align: left;
    cursor: pointer;
    -webkit-user-select: none;
    user-select: none;
  }

  .mobile-nav__summary::after {
    content: "";
    width: 8px;
    height: 8px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
    flex-shrink: 0;
    transition: transform 0.2s ease;
  }

  .mobile-nav__accordion.is-open > .mobile-nav__summary::after {
    transform: rotate(-135deg);
  }

  .mobile-nav__accordion.is-open > .mobile-nav__summary {
    color: #364ed3;
  }

  .mobile-nav__panel {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.35s ease;
  }

  .mobile-nav__accordion.is-open .mobile-nav__panel {
    grid-template-rows: 1fr;
  }

  .mobile-nav__panel-inner {
    overflow: hidden;
    min-height: 0;
  }

  .mobile-nav__accordion_catalog > .mobile-nav__summary {
    padding-top: 20px;
    padding-bottom: 12px;
  }

  .mobile-nav__summary:focus-visible {
    outline: 2px solid #364ed3;
    outline-offset: 2px;
    border-radius: 2px;
  }

  .mobile-nav__sub {
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }

  .mobile-nav__sub a {
    padding: 12px 0 12px 16px;
    font-family: Inter, sans-serif;
    font-size: 14px;
    font-weight: 500;
    line-height: 20px;
    letter-spacing: -0.14px;
    color: #616473;
    text-decoration: none;
    transition: color 0.15s ease;
  }

  .mobile-nav__sub a:last-child {
    padding-bottom: 20px;
  }

  .mobile-nav__sub a:hover,
  .mobile-nav__sub a:focus-visible {
    color: #364ed3;
    outline: none;
  }

  .mobile-nav__phones {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    padding: 20px 0;
    font-family: Inter, sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: normal;
    letter-spacing: -0.16px;
  }

  .mobile-nav__phones a {
    color: #2b3796;
    text-decoration: none;
    white-space: nowrap;
  }

  body.is-mobile-menu-open {
    overflow: hidden;
  }
}

@media (min-width: 1024px) {
  body.is-mobile-menu-open {
    overflow: visible;
  }
}

@media (max-width: 1023px) and (prefers-reduced-motion: reduce) {
  .mobile-nav {
    transition: none;
  }

  .mobile-nav__panel {
    transition: none;
  }
}

.hero { margin-top: 0; padding-top: 0; }
.hero.page__container { margin-top: 0; }
.hero-shell {
  position: relative;
  height: 550px;
  max-height: min(550px, 70vh);
  border-radius: 16px;
  overflow: hidden;
  isolation: isolate;
  transform: translateZ(0);
  -webkit-clip-path: inset(0 round 16px);
  clip-path: inset(0 round 16px);
  --slider-bottom-pad: 20px;
  --slider-dot-size: 8px;
  --slider-controls-gap: 40px;
  --slider-cta-offset: 68px;
}
.hero-swiper {
  position: absolute;
  inset: 0;
  height: 100%;
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
  z-index: 2;
}
.hero-swiper .swiper-slide {
  height: 100%;
  z-index: 1;
}
.hero-swiper .swiper-slide-active {
  z-index: 2;
}
.hero-swiper .swiper-slide:not(.swiper-slide-active),
.hero-swiper .swiper-slide:not(.swiper-slide-active) * {
  pointer-events: none !important;
}
.hero-slide {
  position: relative;
  height: 100%;
  width: 100%;
}
.hero-slide__media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.hero-slide__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-slide__layer {
  position: relative;
  z-index: 1;
  height: 100%;
  box-sizing: border-box;
  padding: 60px 60px var(--slider-bottom-pad);
  display: flex;
  flex-direction: column;
  color: #fff;
  pointer-events: none;
}
.hero-slide__layer a,
.hero-slide__layer button {
  pointer-events: auto;
}
.hero-slide__head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  max-width: 693px;
}
.hero-slide__tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 5px 12px;
  border-radius: 4px;
  background: #0a9a4d;
  font-family: Inter, sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: normal;
  color: #fff;
}
.hero-slide__text { display: flex; flex-direction: column; gap: 30px; max-width: 693px; }
.hero-slide__spacer { flex: 1 1 auto; min-height: 0; }
.hero-slide__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
  flex-shrink: 0;
  margin-bottom: calc(var(--slider-cta-offset) - var(--slider-bottom-pad));
}
.hero-slide__ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; position: relative; z-index: 5; }
.hero-slide__nav-slot {
  width: 144px;
  flex-shrink: 0;
  pointer-events: none;
}

.hero-slide__chrome {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
}
.hero-slide__chrome-inner,
.hero-slide__chrome-spacer,
.hero-slide__chrome-bottom,
.hero-slide__chrome-row,
.hero-slide__chrome-slot {
  pointer-events: none;
}
.hero-slide__chrome-inner {
  height: 100%;
  box-sizing: border-box;
  padding: 60px 60px var(--slider-bottom-pad);
  display: flex;
  flex-direction: column;
}
.hero-slide__chrome-spacer {
  flex: 1 1 auto;
  min-height: 0;
}
.hero-slide__chrome-bottom {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: var(--slider-controls-gap);
  width: 100%;
  flex-shrink: 0;
}
.hero-slide__chrome-row {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 24px;
  width: 100%;
}
.hero-slide__chrome-slot {
  flex: 1 1 auto;
  min-width: 0;
}
.hero-slide__chrome .hero-slide__arrows {
  pointer-events: auto;
  flex-shrink: 0;
}
.hero-slide__chrome .hero-slide__pagination {
  pointer-events: auto;
}
.hero-slide__title {
  margin: 0;
  font-family: Inter, sans-serif;
  font-weight: 500;
  font-size: 55px;
  line-height: 1.1;
  letter-spacing: -1.1px;
  color: #fff;
}
.hero-slide__title span { display: block; }
.hero-slide__lead {
  margin: 0;
  max-width: 367.402px;
  font-family: Inter, sans-serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 1.5;
  color: #fff;
}
.hero-slide__btn {
  box-sizing: border-box;
  height: 64px;
  padding: 10px 40px;
  border-radius: 9999px;
  font-family: Inter, sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1;
  border: 0;
  cursor: pointer;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s ease, color 0.2s ease, backdrop-filter 0.2s ease, -webkit-backdrop-filter 0.2s ease;
}
.hero-slide__btn_primary {
  background: var(--hero-btn-primary-bg, #364ed3);
  color: var(--hero-btn-primary-color, #fff);
  border: 1px solid var(--hero-btn-primary-border, var(--hero-btn-primary-bg, #364ed3));
}
.hero-slide__btn_glass {
  background: rgba(255, 255, 255, 0.2);
  -webkit-backdrop-filter: blur(40px);
  backdrop-filter: blur(40px);
  color: #fff;
  text-decoration: none;
  border: 1px solid transparent;
}
.hero-slide__arrows { display: flex; align-items: center; gap: 16px; flex-shrink: 0; }
.hero-slide__arrow {
  width: 64px;
  height: 64px;
  border-radius: 50px;
  border: 0;
  padding: 0;
  cursor: pointer;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.2);
  -webkit-backdrop-filter: blur(40px);
  backdrop-filter: blur(40px);
  color: #fff;
  transition: background-color 0.2s ease, color 0.2s ease, backdrop-filter 0.2s ease, -webkit-backdrop-filter 0.2s ease;
}
.hero-slide__arrow-icon {
  width: 20px;
  height: 20px;
  display: block;
}
.hero-slide__arrow_prev .hero-slide__arrow-icon { transform: rotate(180deg); }
.hero-slide__arrow_next .hero-slide__arrow-icon { transform: none; }
.hero-slide__pagination {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 9px;
  margin: 0;
  padding: 0;
  width: 100%;
  min-height: var(--slider-dot-size);
  height: var(--slider-dot-size);
  z-index: 4;
  pointer-events: auto;
}
.hero-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  flex-shrink: 0;
  cursor: pointer;
  box-sizing: border-box;
  background: rgba(255, 255, 255, 0.45);
  appearance: none;
  -webkit-appearance: none;
  transition: transform 0.2s ease, background 0.2s ease;
}
.hero-dot.is-active {
  background: #fff;
  transform: none;
}

.summer-hero-shell {
  position: relative;
  height: 485px;
  max-height: min(485px, 65vh);
  border-radius: 16px;
  overflow: hidden;
  isolation: isolate;
  transform: translateZ(0);
  -webkit-clip-path: inset(0 round 16px);
  clip-path: inset(0 round 16px);
  --slider-bottom-pad: 20px;
  --slider-dot-size: 8px;
  --slider-controls-gap: 40px;
  --slider-cta-offset: 68px;
}
.summer-hero-shell.is-single .summer-hero-chrome { display: none; }
.summer-hero-swiper {
  position: absolute;
  inset: 0;
  height: 100%;
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
}
.summer-hero-swiper .swiper-slide { height: 100%; }
.summer-slide {
  position: relative;
  height: 100%;
  width: 100%;
}
.summer-hero-slide__media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.summer-hero-slide__media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.42) 0%, rgba(0, 0, 0, 0.18) 42%, transparent 72%);
}
.summer-hero-slide__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.summer-slide__layer {
  position: relative;
  z-index: 2;
  height: 100%;
  box-sizing: border-box;
  padding: 60px 60px var(--slider-bottom-pad);
  display: flex;
  flex-direction: column;
  color: #fff;
  pointer-events: none;
}
.summer-slide__layer a,
.summer-slide__layer button {
  pointer-events: auto;
}
.summer-slide__head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  max-width: 610px;
}
.summer-slide__spacer { flex: 1 1 auto; min-height: 0; }
.summer-slide__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
  flex-shrink: 0;
  margin-bottom: calc(var(--slider-cta-offset) - var(--slider-bottom-pad));
}
.summer-slide__nav-slot {
  width: 144px;
  flex-shrink: 0;
}
.summer-hero-chrome {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
}
.summer-hero-chrome-inner,
.summer-hero-chrome-spacer,
.summer-hero-chrome-bottom,
.summer-hero-chrome-row,
.summer-hero-chrome-slot {
  pointer-events: none;
}
.summer-hero-chrome-inner {
  height: 100%;
  box-sizing: border-box;
  padding: 60px 60px var(--slider-bottom-pad);
  display: flex;
  flex-direction: column;
}
.summer-hero-chrome-spacer {
  flex: 1 1 auto;
  min-height: 0;
}
.summer-hero-chrome-bottom {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: var(--slider-controls-gap);
  width: 100%;
  flex-shrink: 0;
}
.summer-hero-chrome-row {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 24px;
  width: 100%;
}
.summer-hero-chrome-slot {
  flex: 1 1 auto;
  min-width: 0;
}
.summer-hero-chrome .summer-hero-arrows {
  pointer-events: auto;
  flex-shrink: 0;
}
.summer-hero-chrome .summer-hero-pagination {
  pointer-events: auto;
}
.summer-hero-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 5px 12px;
  border-radius: 4px;
  background: #0a9a4d;
  font-family: Inter, sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: normal;
  color: #fff;
}
.summer-hero-text {
  display: flex;
  flex-direction: column;
  gap: 30px;
  max-width: 610px;
}
.summer-hero-title {
  margin: 0;
  font-family: Inter, sans-serif;
  font-weight: 500;
  font-size: 55px;
  line-height: 1.1;
  letter-spacing: -1.1px;
  color: #fff;
}
.summer-hero-title span { display: block; }
.summer-hero-lead {
  margin: 0;
  max-width: 421px;
  font-family: Inter, sans-serif;
  font-weight: 400;
  font-size: 20px;
  line-height: 1.5;
  color: #fff;
}
.summer-hero-ctas {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}
.summer-hero-btn {
  box-sizing: border-box;
  height: 64px;
  padding: 10px 40px;
  border-radius: 9999px;
  font-family: Inter, sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1;
  border: 0;
  cursor: pointer;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, backdrop-filter 0.2s ease, -webkit-backdrop-filter 0.2s ease;
}
.summer-hero-btn_primary {
  background: #364ed3;
  color: #fff;
  border: 1px solid #364ed3;
}
.summer-hero-btn_glass {
  background: rgba(255, 255, 255, 0.2);
  -webkit-backdrop-filter: blur(40px);
  backdrop-filter: blur(40px);
  color: #fff;
  border: 1px solid transparent;
}
.summer-hero-btn_primary:hover,
.summer-hero-btn_glass:hover {
  background: #fff;
  color: #121a61;
  border-color: #fff;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}
.summer-hero-btn:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}
.summer-hero-arrows {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}
.summer-hero-arrow {
  width: 64px;
  height: 64px;
  border-radius: 50px;
  border: 0;
  padding: 0;
  cursor: pointer;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.2);
  -webkit-backdrop-filter: blur(40px);
  backdrop-filter: blur(40px);
  color: #fff;
  transition: background-color 0.2s ease, color 0.2s ease, backdrop-filter 0.2s ease, -webkit-backdrop-filter 0.2s ease;
}
.summer-hero-arrow:hover {
  background: #fff;
  color: #121a61;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}
.summer-hero-arrow:hover .summer-hero-arrow-icon {
  filter: brightness(0);
}
.summer-hero-arrow-icon {
  width: 20px;
  height: 20px;
  display: block;
}
.summer-hero-arrow_prev .summer-hero-arrow-icon { transform: rotate(180deg); }
.summer-hero-arrow_next .summer-hero-arrow-icon { transform: none; }
.summer-hero-pagination {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 9px;
  margin: 0;
  padding: 0;
  width: 100%;
  min-height: var(--slider-dot-size);
  height: var(--slider-dot-size);
  z-index: 4;
  pointer-events: auto;
}
.summer-hero-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  flex-shrink: 0;
  cursor: pointer;
  box-sizing: border-box;
  background: rgba(255, 255, 255, 0.45);
  appearance: none;
  -webkit-appearance: none;
  transition: transform 0.2s ease, background 0.2s ease;
}
.summer-hero-dot:hover,
.summer-hero-dot:focus-visible {
  background: rgba(255, 255, 255, 0.75);
  outline: none;
}
.summer-hero-dot.is-active {
  background: #fff;
  transform: none;
}

/* Главная: margin между секциями (50+50 = 100px; flex — без схлопывания margin) */
body:not(.page-catalog) {
  --home-section-margin: 25px;
}
@media (min-width: 768px) {
  body:not(.page-catalog) {
    --home-section-margin: 40px;
  }
}
@media (min-width: 1024px) {
  body:not(.page-catalog) {
    --home-section-margin: 50px;
  }
}
body:not(.page-catalog) main {
  display: flex;
  flex-direction: column;
}
body:not(.page-catalog) main > section {
  margin-top: var(--home-section-margin);
  margin-bottom: var(--home-section-margin);
}
body:not(.page-catalog) main > section.hero:first-of-type {
  margin-top: 0;
}
body:not(.page-catalog) .footer {
  margin-top: var(--home-section-margin);
  margin-bottom: 0;
}

/* Главная: секции с фоном — внутренний padding */
body:not(.page-catalog) .choose-object,
body:not(.page-catalog) .project-flow,
body:not(.page-catalog) .why {
  padding-top: 50px;
  padding-bottom: 50px;
}
@media (min-width: 768px) {
  body:not(.page-catalog) .choose-object,
  body:not(.page-catalog) .project-flow,
  body:not(.page-catalog) .why {
    padding-top: 80px;
    padding-bottom: 80px;
  }
}
@media (min-width: 1024px) {
  body:not(.page-catalog) .choose-object,
  body:not(.page-catalog) .project-flow,
  body:not(.page-catalog) .why {
    padding-top: 100px;
    padding-bottom: 100px;
  }
}

/* Главная: секции без фона — без вертикального padding (шаг только через margin) */
body:not(.page-catalog) main > section.products,
body:not(.page-catalog) main > section.categories,
body:not(.page-catalog) main > section.video,
body:not(.page-catalog) main > section.works,
body:not(.page-catalog) main > section.lead-magnet {
  padding-top: 0;
  padding-bottom: 0;
}

/* Страница каталога: без hero — не суммировать с padding секции */
main > section.catalog-page:first-of-type,
main > section.catalog-section,
body.page-catalog main section.catalog-section:first-of-type { margin-top: 0; }
.page-catalog .catalog-page {
  padding-bottom: 0;
}

/* Каталог: margin между секциями (50+50 = 100px на десктопе) */
body.page-catalog {
  --catalog-section-margin: 25px;
}
@media (min-width: 768px) {
  body.page-catalog {
    --catalog-section-margin: 40px;
  }
}
@media (min-width: 1024px) {
  body.page-catalog {
    --catalog-section-margin: 50px;
  }
}
body.page-catalog main {
  display: flex;
  flex-direction: column;
}
body.page-catalog main:has(> section.catalog-section) > div,
body.page-catalog main:has(> section.catalog-page) > div {
  display: flex;
  flex-direction: column;
}
body.page-catalog main section.catalog-section,
body.page-catalog main section.catalog-page,
body.page-catalog main section.catalog-search {
  margin-top: 0;
}
body.page-catalog main section.choose-object,
body.page-catalog main section.works,
body.page-catalog main section.project-flow,
body.page-catalog main section.product-seo,
body.page-catalog main section.summer-hero,
body.page-catalog main section.lead-magnet {
  margin-top: var(--catalog-section-margin);
  margin-bottom: var(--catalog-section-margin);
}
body.page-catalog main section.works {
  padding-top: 0;
  padding-bottom: 0;
}
body.page-catalog .choose-object,
body.page-catalog .project-flow {
  padding-top: 50px;
  padding-bottom: 50px;
}
@media (min-width: 768px) {
  body.page-catalog .choose-object,
  body.page-catalog .project-flow {
    padding-top: 80px;
    padding-bottom: 80px;
  }
}
@media (min-width: 1024px) {
  body.page-catalog .choose-object,
  body.page-catalog .project-flow {
    padding-top: 100px;
    padding-bottom: 100px;
  }
}
body.page-catalog main > section.summer-hero + section.lead-magnet {
  margin-top: 0;
}

.categories {
  padding-bottom: 50px;
}
.categories__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 36px;
}
.categories__title {
  margin: 0;
  font-family: Inter, sans-serif;
  font-weight: 500;
  font-size: 40px;
  line-height: 1;
  letter-spacing: -0.8px;
  color: #000;
}
.categories__catalog {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: Inter, sans-serif;
  font-weight: 500;
  font-style: normal;
  font-size: 18px;
  line-height: normal;
  color: #000;
  text-decoration: none;
}
.categories__catalog img {
  display: block;
  flex-shrink: 0;
}
.categories__catalog:hover {
  opacity: 0.85;
}
.categories__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}
.category-card {
  position: relative;
  min-height: 400px;
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px 32px;
  box-sizing: border-box;
  color: #fff;
  text-decoration: none;
  isolation: isolate;
}
.category-card__media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
  pointer-events: none;
  transform: scale(1);
  transform-origin: center center;
  transition: transform 0.5s ease;
}
.category-card:hover .category-card__media {
  transform: scale(1.1);
}
.category-card__media_bottom {
  object-position: bottom;
}
.category-card__title {
  position: relative;
  z-index: 1;
  margin: 0;
  font-family: Inter, sans-serif;
  font-weight: 500;
  font-size: 24px;
  line-height: 1.5;
  color: #fff;
  max-width: 100%;
}
.category-card__arrow {
  position: relative;
  z-index: 1;
  align-self: flex-start;
  padding: 12px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.2);
  -webkit-backdrop-filter: blur(40px);
  backdrop-filter: blur(40px);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  transition: background-color 0.35s ease, backdrop-filter 0.35s ease, -webkit-backdrop-filter 0.35s ease;
}
.category-card:hover .category-card__arrow {
  background: #fff;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}
.category-card__arrow img {
  width: 20px;
  height: 20px;
  display: block;
  transition: filter 0.35s ease;
}
.category-card:hover .category-card__arrow img {
  filter: brightness(0);
}

.section-head {
  display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 24px;
}
.section-head h2 { margin: 0; font-size: 40px; line-height: 30.85px; letter-spacing: -0.8px; font-weight: 500; }
.section-head a { font-size: 32px; line-height: 24px; text-decoration: underline; text-underline-offset: 6px; }
.section-head p { margin: 0; font-size: 24px; color: var(--muted); }

.choose-object {
  background: #121a61;
  padding: 100px 0;
  font-family: Inter, sans-serif;
}
.choose-object__inner {
  display: grid;
  grid-template-columns: 434px 1fr;
  gap: 54px;
  align-items: center;
}
.choose-object__text {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-self: stretch;
  gap: 24px;
  min-height: 0;
  font-family: Inter, sans-serif;
}
.choose-object__text h2 {
  margin: 0;
  font-size: 40px;
  line-height: 1.2;
  letter-spacing: -0.8px;
  font-weight: 500;
  color: #fff;
}
.choose-object__text h2 .accent { color: #98a7ff; }
.choose-object__text p {
  margin: 0;
  max-width: 434px;
  font-size: 18px;
  line-height: 1.5;
  font-weight: 400;
  color: #fff;
}
.choose-object__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.object-card {
  box-sizing: border-box;
  margin: 0;
  width: 100%;
  text-align: left;
  border: 0;
  border-radius: 12px;
  background: #fff;
  padding: 20px 15px;
  min-height: 0;
  cursor: pointer;
  font: inherit;
  color: inherit;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 16px;
  transition: background-color 0.2s ease, box-shadow 0.2s ease;
}
.object-card__icon {
  flex-shrink: 0;
  box-sizing: border-box;
  width: 48px;
  height: 48px;
  border-radius: 9999px;
  border: 1px solid rgba(144, 52, 201, 0.3);
  background: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}
.object-card__icon img {
  width: 24px;
  height: 24px;
  display: block;
  flex-shrink: 0;
  transition: filter 0.2s ease;
}
.object-card__body {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 12px;
}
.object-card__title {
  display: block;
  margin: 0;
  font-weight: 600;
  font-size: 18px;
  line-height: 24px;
  letter-spacing: -0.18px;
  color: #101114;
  transition: color 0.2s ease;
}
.object-card__sub {
  display: block;
  margin: 0;
  font-weight: 400;
  font-size: 12px;
  line-height: 20px;
  color: #9699ae;
  transition: color 0.2s ease;
}
.object-card:hover {
  background: #8193f8;
  box-shadow: none;
}
.object-card:hover .object-card__icon {
  border-color: rgba(255, 255, 255, 0.3);
  background: transparent;
}
.object-card:hover .object-card__icon img {
  filter: brightness(0) invert(1);
}
.object-card:hover .object-card__sub { color: #fff; }
.object-card:hover .object-card__title { color: #fff; }
.object-card:focus-visible {
  outline: 2px solid #98a7ff;
  outline-offset: 2px;
}

.video { padding: 50px 0; }
.video__block {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 36px;
  margin-bottom: 48px;
}
.video h2 {
  margin: 0;
  font-size: 40px;
  line-height: 30.85px;
  letter-spacing: -0.8px;
  font-weight: 500;
  color: #000;
}
.video__frame {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 1360 / 674;
  max-height: 674px;
  background: #101114;
}
.video__el {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center bottom;
  display: block;
}
.video__overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}
.video__frame.is-playing .video__overlay {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.video__poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center bottom;
  pointer-events: none;
}
.video__play-btn {
  position: relative;
  z-index: 1;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  border-radius: 50%;
  line-height: 0;
}
.video__play-btn:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(54, 78, 211, 0.55);
}
.video__play {
  width: 174px;
  height: 174px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.2);
  -webkit-backdrop-filter: blur(40px);
  backdrop-filter: blur(40px);
}
.video__play-icon {
  width: 64px;
  height: 64px;
  display: block;
  object-fit: contain;
  margin-left: 18px;
}
.video__actions {
  display: flex;
  justify-content: center;
  align-items: center;
}
.video__actions .btn-solid {
  text-decoration: none;
}
.products { padding: 50px 0; }
.products__block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 36px;
}
.products__block h2 {
  margin: 0;
  align-self: stretch;
  font-size: 40px;
  line-height: 30.85px;
  letter-spacing: -0.8px;
  font-weight: 500;
  color: #000;
}
.products__catalog-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  min-height: 64px;
  padding: 10px 40px;
  border-radius: 9999px;
  border: 1px solid #364ed3;
  background: #364ed3;
  color: #fff;
  font-family: Inter, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: normal;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}
.products__catalog-btn:hover {
  background: #121a61;
  border-color: #121a61;
}
.products__catalog-btn:focus-visible {
  outline: 2px solid #364ed3;
  outline-offset: 3px;
}

.product-card {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 490px;
  padding: 10px 10px 24px;
  border-radius: 12px;
  border: 1px solid #edeef5;
  background: #fff;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}
.product-card.is-in-cart {
  background: #ebf1ff;
  border-color: #ebf1ff;
}
.product-card__col {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  align-items: center;
  gap: 8px;
  width: 100%;
  min-height: 0;
}
.product-card__badges {
  position: absolute;
  left: 10px;
  top: 10px;
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  pointer-events: none;
}
.product-card__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 5px 12px;
  border-radius: 4px;
  font-family: Inter, sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: normal;
  color: #fff;
}
.product-card__badge_sale {
  background: #e60829;
}
.product-card__badge_preorder {
  background: #364ed3;
}
.product-card__badge_new {
  background: #9034C9;
}
.product-card__media {
  position: relative;
  width: 100%;
  border-radius: 8px;
  overflow: hidden;
  height: auto;
  aspect-ratio: 323 / 290;
  background: #ebeef8;
}
.product-card__image-link {
  display: block;
  width: 100%;
  height: 100%;
  color: inherit;
  text-decoration: none;
}
.product-card__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.product-card__zones {
  position: absolute; inset: 0; display: grid; grid-template-columns: repeat(4, 1fr); z-index: 2;
  pointer-events: none;
}
.product-card__zone { display: block; }
.product-card__dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.product-card__dots i {
  width: 4px;
  height: 4px;
  border-radius: 99px;
  background: #edeef5;
  display: block;
  transition: width 0.2s ease, background-color 0.2s ease;
}
.product-card__dots i.is-active {
  width: 6px;
  background: #cbcee6;
}
/* Одно фото — нет точек: компенсируем высоту блока точек + gap (4px + 8px) */
.product-card__col:not(:has(.product-card__dots)) .product-card__title {
  margin-top: 12px;
}
.product-card.is-in-cart .product-card__dots i {
  background: #e2e8f0;
}
.product-card.is-in-cart .product-card__dots i.is-active {
  background: #cbd5e1;
}
.product-card__title {
  margin: 0;
  padding: 0 10px;
  width: 100%;
  box-sizing: border-box;
  font-family: Inter, sans-serif;
  font-weight: 500;
  font-size: 18px;
  line-height: 28px;
  letter-spacing: -0.36px;
  color: #000;
}
.product-card__title-link {
  color: inherit;
  text-decoration: none;
}
.product-card__sub {
  margin: 0;
  padding: 0 10px;
  width: 100%;
  box-sizing: border-box;
  font-family: Inter, sans-serif;
  font-weight: 400;
  font-size: 13px;
  line-height: 22px;
  color: #7d7d7d;
}
.product-card__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  box-sizing: border-box;
  padding: 0 10px;
  margin-top: auto;
  flex-shrink: 0;
  min-height: 50px;
}
.product-card__price {
  font-family: Inter, sans-serif;
  font-weight: 500;
  font-size: 16px;
  line-height: 1.2;
  letter-spacing: -0.32px;
  color: #000;
}
.product-card__prices {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
.product-card__price-old {
  font-family: Inter, sans-serif;
  font-weight: 500;
  font-size: 13px;
  line-height: 1.2;
  letter-spacing: -0.26px;
  color: rgba(125, 125, 125, 0.7);
  text-decoration: line-through;
  text-decoration-skip-ink: none;
}
.product-card__actions {
  position: relative;
  flex-shrink: 0;
}
.product-card__cart-add {
  box-sizing: border-box;
  width: 50px;
  height: 50px;
  padding: 0;
  border: 0;
  border-radius: 50px;
  background: #edeef5;
  color: #101114;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
}
.product-card__cart-add:hover {
  background: #364ed3;
  color: #fff;
}
.product-card__cart-add:focus-visible {
  outline: 2px solid #364ed3;
  outline-offset: 2px;
}
.product-card__cart-icon {
  display: block;
  flex-shrink: 0;
}
.product-card__qty {
  display: none;
  box-sizing: border-box;
  align-items: center;
  justify-content: center;
  flex-wrap: nowrap;
  gap: 4px;
  width: 110px;
  height: 50px;
  padding: 0 8px;
  border-radius: 50px;
  background: #364ed3;
}
.product-card.is-in-cart .product-card__qty {
  display: flex;
}
.product-card.is-in-cart .product-card__cart-add {
  display: none;
}
.product-card__qty-btn {
  position: relative;
  box-sizing: border-box;
  width: 32px;
  height: 32px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
}
.product-card__qty-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: transparent;
  transition: background-color 0.15s ease;
}
.product-card__qty-btn:hover::before {
  background: rgba(255, 255, 255, 0.2);
}
.product-card__qty-btn:focus-visible {
  outline: none;
}
.product-card__qty-btn:focus-visible::before {
  background: rgba(255, 255, 255, 0.25);
}
.product-card__qty-btn img {
  position: relative;
  z-index: 1;
  display: block;
  width: 12px;
  height: 12px;
  filter: brightness(0) invert(1);
  pointer-events: none;
}
.product-card__qty-value {
  font-family: Inter, sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 1;
  letter-spacing: -0.28px;
  color: #fff;
  min-width: 0;
  flex: 1 1 auto;
  text-align: center;
}

.products__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  width: 100%;
  align-self: stretch;
  align-items: stretch;
}

/* ---------- Страница каталога ---------- */
.catalog-page {
  padding: 50px 0;
}
.catalog-page__inner {
  display: flex;
  flex-direction: column;
  gap: 36px;
}
.catalog-page__title {
  margin: 0;
  font-size: 40px;
  line-height: 30.85px;
  letter-spacing: -0.8px;
  font-weight: 500;
  color: #000;
}
.catalog-page .products__grid {
  gap: 24px 12px;
}
.catalog-card {
  min-height: 0;
  border: none;
  background: #fff;
}
.catalog-card .product-card__media {
  aspect-ratio: 311 / 220;
  border-radius: 8px;
}
.catalog-card__media-wrap {
  display: block;
  width: 100%;
  /* + gap 8px у .product-card__col → 16px от медиа до заголовка, как в макете */
  margin-bottom: 8px;
  line-height: 0;
}
.catalog-card .product-card__title {
  padding: 0 10px 4px;
}
.catalog-card__title-link {
  color: inherit;
  text-decoration: none;
}
.catalog-card__title-link:hover,
.catalog-card__title-link:focus-visible {
  color: #364ed3;
}
.catalog-card__list {
  margin: 0;
  padding: 0 10px;
  width: 100%;
  box-sizing: border-box;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.catalog-card__list a {
  font-family: Inter, sans-serif;
  font-weight: 400;
  font-size: 15px;
  line-height: 24px;
  letter-spacing: -0.15px;
  color: #616473;
  text-decoration: none;
  transition: color 0.2s ease;
}
.catalog-card__list a:hover,
.catalog-card__list a:focus-visible {
  color: #364ed3;
}
@media (max-width: 1023px) {
  .catalog-page .products__grid {
    gap: 20px;
  }
}
@media (max-width: 767px) {
  .catalog-page .products__grid {
    gap: 24px;
  }
}

.swiper-pagination-bullet-active { background: var(--accent); }

.project-flow { background: #edeef5; padding: 100px 0; }
.project-flow__inner {
  display: grid;
  grid-template-columns: minmax(0, 434px) minmax(0, 1fr);
  gap: 32px 40px;
  align-items: stretch;
}
.project-flow__text {
  display: flex;
  flex-direction: column;
  height: 100%;
  align-items: flex-start;
  gap: 0;
}
.project-flow__lead {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.project-flow__title {
  margin: 0;
  font-family: Inter, sans-serif;
  font-weight: 500;
  font-size: 40px;
  line-height: 1.2;
  letter-spacing: -0.8px;
  color: #000;
}
.project-flow__title-accent { color: #364ed3; }
.project-flow__lead p {
  margin: 0;
  max-width: 434px;
  font-family: Inter, sans-serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 1.5;
  color: #000;
}
.project-flow__text .btn-solid { margin-top: auto; }
.project-flow__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.project-flow__card {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 16px;
  background: #fff;
  border-radius: 12px;
  padding: 20px 15px;
  box-sizing: border-box;
}
.project-flow__card-icon-wrap {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  border-radius: 9999px;
  border: 1px solid rgba(152, 167, 255, 0.3);
  box-sizing: border-box;
}
.project-flow__card-icon-wrap img {
  width: 24px;
  height: 24px;
  display: block;
}
.project-flow__card-body {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
}
.project-flow__card-body h3 {
  margin: 0;
  font-family: Inter, sans-serif;
  font-weight: 600;
  font-size: 20px;
  line-height: 24px;
  letter-spacing: -0.2px;
  color: #101114;
}
.project-flow__card-body p {
  margin: 0;
  font-family: Inter, sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 20px;
  color: #9699ae;
}

.btn-outline, .btn-solid {
  height: 64px;
  padding: 0 40px;
  border-radius: 50px;
  font-family: Inter, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, opacity 0.2s ease;
}
.btn-outline { border: 1px solid #cfd3e7; background: #fff; color: var(--text); }
.btn-outline:hover { border-color: #364ed3; color: #364ed3; }
.btn-solid { border: 0; background: var(--accent); color: #fff; }
.btn-solid:hover { background: #121a61; }

.works { padding: 50px 0; }
.works .section-head { margin-bottom: 36px; }
.works .section-head p {
  margin: 0;
  font-size: 18px;
  line-height: 1.5;
  color: #000;
  text-align: right;
  max-width: 420px;
}
.works__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  margin-bottom: 48px;
}
.works__link {
  display: block;
  border-radius: 12px;
  outline: none;
  color: inherit;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}
.works__link:focus-visible {
  box-shadow: 0 0 0 3px rgba(54, 78, 211, 0.45);
}
.works__thumb {
  display: block;
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 12px;
}
.works__thumb-pic {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}
.works__thumb-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0);
  transition: background 0.25s ease;
  pointer-events: none;
}
.works__thumb-zoom {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 2;
  box-sizing: border-box;
  width: 52px;
  height: 52px;
  padding: 16px;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  -webkit-backdrop-filter: blur(40px);
  backdrop-filter: blur(40px);
  transform: translate(-50%, -50%) scale(0.92);
  opacity: 0;
  transition: opacity 0.25s ease, transform 0.25s ease, background 0.2s ease, -webkit-backdrop-filter 0.2s ease, backdrop-filter 0.2s ease;
  pointer-events: none;
}
.works__thumb-zoom img {
  width: 20px;
  height: 20px;
  display: block;
  flex-shrink: 0;
  filter: brightness(0) invert(1);
}
@media (hover: hover) and (pointer: fine) {
  .works__link:hover .works__thumb-pic,
  .works__link:focus-visible .works__thumb-pic {
    transform: scale(1.1);
  }
  .works__link:hover .works__thumb-overlay,
  .works__link:focus-visible .works__thumb-overlay {
    background: rgba(0, 0, 0, 0.15);
  }
  .works__link:hover .works__thumb-zoom,
  .works__link:focus-visible .works__thumb-zoom {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
}
.works__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
  align-items: center;
}
.works__action-btn {
  box-sizing: border-box;
  height: 64px;
  padding: 0 40px;
  border-radius: 50px;
  font-family: Inter, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.works__action-btn_primary {
  border: 0;
  background: #364ed3;
  color: #fff;
}
.works__action-btn_primary:hover {
  background: #121a61;
  color: #fff;
}
.works__action-btn_secondary {
  border: 1px solid #364ed3;
  background: transparent;
  color: #364ed3;
}
.works__action-btn_secondary:hover {
  background: #364ed3;
  color: #fff;
}

@media (prefers-reduced-motion: reduce) {
  .works__thumb-pic,
  .works__thumb-overlay,
  .works__thumb-zoom,
  .works__thumb-zoom img {
    transition: none;
  }
  .works__link:hover .works__thumb-pic,
  .works__link:focus-visible .works__thumb-pic {
    transform: none;
  }
}


.why {
  background: #edeef5;
  padding: 100px 0;
}
.why__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 36px;
}
.why__title {
  margin: 0;
  width: 100%;
  font-family: Inter, sans-serif;
  font-size: 40px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.8px;
  text-align: center;
  color: #000;
}
.why__title-accent {
  color: #364ed3;
}
.why__grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 16px;
  width: 100%;
}
.why__card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  background: #fff;
  border-radius: 12px;
  padding: 20px 16px;
  box-sizing: border-box;
}
.why__card-icon-wrap {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  border-radius: 9999px;
  border: 1px solid rgba(152, 167, 255, 0.3);
  box-sizing: border-box;
}
.why__card-icon-wrap img {
  width: 24px;
  height: 24px;
  display: block;
}
.why__card-body {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
}
.why__card-body h3 {
  margin: 0;
  font-family: Inter, sans-serif;
  font-weight: 600;
  font-size: 20px;
  line-height: 24px;
  letter-spacing: -0.2px;
  color: #101114;
}
.why__card-body p {
  margin: 0;
  font-family: Inter, sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 20px;
  color: #9699ae;
}
.why__actions {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
  align-items: center;
}

.lead-magnet {
  padding: 50px 0;
}
.lead-magnet__card {
  display: flex;
  align-items: center;
  gap: 10px;
  box-sizing: border-box;
  min-height: 460px;
  background: #121a61;
  border-radius: 16px;
  overflow: hidden;
  padding: 0 40px 0 0;
}
.lead-magnet__media {
  flex: 0 0 400px;
  width: 400px;
  height: 400px;
  align-self: center;
  position: relative;
  z-index: 0;
  overflow: hidden;
  border-radius: 8px;
}
.lead-magnet__media img {
  width: 400px;
  height: 400px;
  display: block;
  object-fit: cover;
}
.lead-magnet__content {
  flex: 1;
  min-width: 0;
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 48px;
  padding: 48px 0;
  box-sizing: border-box;
}
.lead-magnet__text {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.lead-magnet__title {
  margin: 0;
  font-family: Inter, sans-serif;
  font-weight: 500;
  font-size: 40px;
  line-height: 1.2;
  letter-spacing: -0.8px;
  color: #fff;
}
.lead-magnet__title-accent {
  color: #98a7ff;
}
.lead-magnet__lead {
  margin: 0;
  max-width: 740px;
  font-family: Inter, sans-serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 1.5;
  color: #fff;
}
.lead-magnet__form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
  width: 100%;
}
.lead-magnet__row {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 16px;
  width: 100%;
}
.lead-magnet__input {
  box-sizing: border-box;
  flex: 1 1 calc((100% - 16px) / 2);
  width: calc((100% - 16px) / 2);
  max-width: none;
  min-width: 0;
  height: 64px;
  padding: 0 32px;
  border: 0;
  border-radius: 9999px;
  font-family: Inter, sans-serif;
  font-size: 15px;
  font-weight: 400;
  line-height: 24px;
  letter-spacing: -0.15px;
  color: #101114;
  background: #fff;
}
.lead-magnet__input::placeholder {
  color: #9699ae;
}
.lead-magnet__submit {
  box-sizing: border-box;
  flex: 0 0 auto;
  width: 100%;
  max-width: none;
  min-width: 0;
  height: 64px;
  padding: 0 24px;
  border: 0;
  border-radius: 9999px;
  font-family: Inter, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  letter-spacing: -0.16px;
  color: #fff;
  background: #364ed3;
  cursor: pointer;
  transition: background-color 0.2s ease, opacity 0.2s ease;
}
.lead-magnet__submit:hover:not(:disabled) {
  background: #2b3eb0;
}
.lead-magnet__submit:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
.lead-magnet__consent {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 0;
  max-width: 100%;
}
.lead-magnet__checkbox {
  appearance: none;
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  margin: 2px 0 0;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 3px;
  background: transparent;
  cursor: pointer;
  box-sizing: border-box;
  position: relative;
  z-index: 1;
}
.lead-magnet__checkbox:checked {
  background: #364ed3 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='8' viewBox='0 0 10 8' fill='none'%3E%3Cpath d='M1 4l2.5 2.5L9 1' stroke='%23fff' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 10px 8px no-repeat;
  border-color: #364ed3;
}
.lead-magnet__consent-text {
  font-family: Inter, sans-serif;
  font-weight: 400;
  font-size: 13px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.5);
}
.lead-magnet__consent-label {
  cursor: pointer;
  flex: 1;
  min-width: 0;
}
.lead-magnet__consent-label .lead-magnet__consent-text {
  display: block;
}
.lead-magnet__consent-text a {
  color: inherit;
  text-decoration: underline;
  text-decoration-skip-ink: none;
}
.lead-magnet__consent-text a:hover {
  color: rgba(255, 255, 255, 0.75);
}

.lead-magnet_theme_light .lead-magnet__card {
  background: #edeef5;
}
.lead-magnet_theme_light .lead-magnet__title {
  color: #000;
}
.lead-magnet_theme_light .lead-magnet__title-accent {
  color: #364ed3;
}
.lead-magnet_theme_light .lead-magnet__lead {
  color: #75788e;
  max-width: 592px;
}
.lead-magnet_theme_light .lead-magnet__checkbox:not(:checked) {
  border-color: #9699ae;
  background: transparent;
}
.lead-magnet_theme_light .lead-magnet__consent-text {
  color: #9699ae;
}
.lead-magnet_theme_light .lead-magnet__consent-text a:hover {
  color: #75788e;
}

.footer {
  box-sizing: border-box;
  margin-top: 0;
  padding: 50px 0;
  background: #fff;
}
.footer__inner {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.footer__row {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr) auto;
  column-gap: 90px;
  align-items: start;
}
.footer__row_top {
  align-items: center;
}
.footer__logo {
  display: inline-flex;
  align-items: center;
  line-height: 0;
  color: inherit;
}
.footer__logo img {
  height: 32px;
  display: block;
  object-fit: contain;
}
.footer__nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
}
.footer__nav a {
  font-family: Inter, sans-serif;
  font-size: 15px;
  font-weight: 400;
  line-height: normal;
  color: #000;
  text-decoration: none;
}
.footer__nav a:last-child {
  font-family: Inter, sans-serif;
}
.footer__nav a:hover {
  color: #364ed3;
}
.footer__phones {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 24px;
}
.footer__phones a {
  font-family: Inter, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: normal;
  letter-spacing: -0.16px;
  color: #2b3796;
  text-decoration: none;
  white-space: nowrap;
}
.footer__phones a:hover {
  text-decoration: underline;
}
.footer__row_bottom {
  color: #75788e;
}
.footer__legal p,
.footer__address p {
  margin: 0 0 5px;
  font-family: Inter, sans-serif;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.5;
}
.footer__legal p:last-child,
.footer__address p:last-child {
  margin-bottom: 0;
}
.footer__address a {
  color: inherit;
  text-decoration: underline;
  text-decoration-skip-ink: none;
}
.footer__address a:hover {
  color: #2b3796;
}
.footer__policies {
  box-sizing: border-box;
  width: 100%;
  max-width: 303px;
  justify-self: end;
  text-align: right;
}
.footer__policies p {
  margin: 0 0 5px;
  font-family: Inter, sans-serif;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.5;
}
.footer__policies p:last-child {
  margin-bottom: 0;
}
.footer__policies a {
  color: #75788e;
  text-decoration: none;
}
.footer__policies a:hover {
  color: #2b3796;
  text-decoration: underline;
}

.popup {
  position: fixed; inset: 0; z-index: 50; display: none; align-items: center; justify-content: center; padding: 24px;
}
.popup.is-open { display: flex; }
.popup__backdrop { position: absolute; inset: 0; background: rgba(9, 12, 25, .45); }
.popup__dialog {
  position: relative;
  box-sizing: border-box;
  width: 100%;
  max-width: 890px;
  background: #fff;
  border-radius: 6px;
  padding: 48px;
}
.popup__dialog_narrow {
  max-width: 480px;
}
.popup-form_simple {
  gap: 12px;
}
.popup-form__title {
  margin: 0 0 4px;
  font-size: 24px;
  line-height: 32px;
  font-family: Inter, sans-serif;
  font-weight: 600;
  color: #18181b;
}
.popup-form__fields {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.popup__close {
  position: absolute;
  top: 24px;
  right: 23px;
  width: 16px;
  height: 16px;
  padding: 0;
  border: 0;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #18181b;
}
.popup__close img {
  width: 16px;
  height: 16px;
  display: block;
}
.popup-form__hp {
  position: absolute; opacity: 0; pointer-events: none; width: 1px; height: 1px;
}
.popup-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.popup-form__cols {
  display: flex;
  align-items: stretch;
  width: 100%;
  gap: 32px;
  margin-bottom: 16px;
}
.popup-form__left {
  flex: 1 1 0;
  min-width: 0;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.popup-form__divider {
  width: 1px;
  flex-shrink: 0;
  align-self: stretch;
  background: #e4e4e7;
}
.popup-form__right {
  flex: 1 1 0;
  min-width: 0;
  min-height: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.popup-form__left h3 {
  margin: 0;
  font-size: 24px;
  line-height: 32px;
  font-family: Inter, sans-serif;
  font-weight: 600;
  color: #18181b;
}
.popup-form__actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 0;
  width: 100%;
}
.popup-form__submit {
  width: 100%;
  height: 56px;
  border: 0;
  border-radius: 999px;
  background: #364ed3;
  color: #fafafa;
  font-size: 16px;
  font-family: Inter, sans-serif;
  font-weight: 500;
  line-height: 24px;
  letter-spacing: -0.16px;
  margin: 0;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.06), 0 1px 1.5px rgba(0, 0, 0, 0.1);
}
.popup-form .input { gap: 4px; }
.popup-form .input__label {
  font-family: Inter, sans-serif;
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  letter-spacing: -0.14px;
  color: #18181b;
}
.popup-form .input__wrap {
  border-color: #e4e4e7;
}
.popup-form .input__field {
  font-family: Inter, sans-serif;
}
.popup-form .input_variant_textarea .input__wrap {
  min-height: auto;
}
.popup-form .input_variant_textarea .input__field {
  height: 70px;
  min-height: 70px;
  resize: none;
}
.popup-form__consent {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: center;
}
.popup-form__consent-inner {
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: flex-start;
}
.popup-form__consent_error .popup-form__consent-checkbox {
  border-color: #e24545;
}
.popup-form__consent-label {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  cursor: pointer;
  font-family: Inter, sans-serif;
  font-size: 14px;
  line-height: 20px;
  font-weight: 500;
  letter-spacing: -0.14px;
  color: #18181b;
  max-width: 100%;
}
.popup-form__consent-input {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}
.popup-form__consent-checkbox {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  margin-top: 2px;
  border: 1px solid #18181b;
  border-radius: 2px;
  background: #fff;
  transition: background-color 0.2s, border-color 0.2s;
}
.popup-form__consent-input:checked + .popup-form__consent-checkbox {
  background: #18181b;
  border-color: #18181b;
}
.popup-form__consent-icon {
  opacity: 0;
  transition: opacity 0.2s;
}
.popup-form__consent-input:checked + .popup-form__consent-checkbox .popup-form__consent-icon {
  opacity: 1;
}
.popup-form__consent-text {
  flex: 1;
  min-width: 0;
}
.popup-form__consent-text a {
  text-decoration: underline;
  color: inherit;
}
.popup-form__consent-text a:hover {
  color: #71717a;
}
.input { display: flex; flex-direction: column; gap: 6px; }
.input__label { font-family: Geist, Inter, sans-serif; font-size: 14px; font-weight: 500; line-height: 20px; }
.input__wrap {
  border: 1px solid #d3d8e8; border-radius: 6px; min-height: 36px; display: flex; align-items: center; padding: 0 12px;
}
.input__field {
  border: 0; outline: none; width: 100%; background: transparent; font-size: 14px; color: var(--text); line-height: 20px; font-family: Geist, Inter, sans-serif;
}
.input_variant_textarea .input__wrap { min-height: 92px; align-items: start; padding-top: 8px; }
.input_variant_textarea .input__field { resize: vertical; min-height: 72px; }
.input_error .input__wrap { border-color: #e24545; }
.input__error {
  color: #d22f2f;
  font-size: 12px;
  line-height: 16px;
  min-height: 16px;
  margin: 0;
}
.input__error.input__error_hidden {
  visibility: hidden;
}
#task-error.input__error_hidden {
  display: none;
}
.popup-form__consent .input__error.input__error_hidden {
  display: block;
  visibility: hidden;
}
.popup-form__consent .input__error {
  min-height: 16px;
}

.popup-form .radio-group { display: flex; flex-direction: column; gap: 8px; }
.popup-form .radio-group__item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 14px;
  line-height: 20px;
  font-family: Inter, sans-serif;
  font-weight: 500;
  letter-spacing: -0.14px;
  color: #18181b;
  cursor: pointer;
  margin: 0;
}
.popup-form .radio-group__input { position: absolute; opacity: 0; pointer-events: none; }
.popup-form .radio-group__circle {
  width: 16px;
  height: 16px;
  border: 1px solid #18181b;
  border-radius: 999px;
  margin-top: 2px;
  position: relative;
  flex: 0 0 auto;
  box-sizing: border-box;
  background: #fff;
}
.popup-form .radio-group__input:checked + .radio-group__circle::after {
  content: "";
  position: absolute;
  inset: 2px;
  border-radius: 50%;
  background: #18181b;
}

/* ===== Section spacing (1024–1367px) ===== */
@media (min-width: 1024px) and (max-width: 1367px) {
  .footer {
    padding: 40px 0;
  }
}

/* ===== Footer layout (1024–1376px) ===== */
@media (min-width: 1024px) and (max-width: 1376px) {
  .footer__row {
    grid-template-columns: 210px minmax(0, 1fr) auto;
    column-gap: 90px;
    align-items: start;
  }

  .footer__nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 18px;
  }

  .footer__nav a {
    font-family: Inter, sans-serif;
    font-size: 15px;
    font-weight: 400;
    line-height: normal;
    color: #000;
    text-decoration: none;
  }

  .footer__phones {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 4px;
    flex-direction: column;
  }

  .footer__phones a {
    font-family: Inter, sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: normal;
    letter-spacing: -0.16px;
    color: #2b3796;
    text-decoration: none;
    white-space: nowrap;
  }
}

/* ===== Desktop compact (1024–1376px) ===== */
@media (min-width: 1024px) and (max-width: 1376px) {
  .hero-slide__title,
  .summer-hero-title {
    font-size: 51px;
    letter-spacing: -1.02px;
  }

  .categories__title,
  .section-head h2,
  .choose-object__text h2,
  .products__block h2,
  .video h2,
  .project-flow__title,
  .why__title,
  .lead-magnet__title {
    font-size: 32px;
    letter-spacing: -0.68px;
  }

  .project-flow__card-body h3,
  .why__card-body h3 {
    font-size: 18px;
    letter-spacing: -0.18px;
  }

  .popup-form__left h3 {
    font-size: 22px;
    letter-spacing: -0.22px;
  }

  .project-flow__inner {
    grid-template-columns: minmax(0, 325px) minmax(0, 1fr);
  }

  .project-flow__lead p {
    font-size: 16px;
    max-width: 100%;
  }

  .project-flow__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .choose-object__inner {
    grid-template-columns: minmax(0, 325px) minmax(0, 1fr);
  }

  .choose-object__text p {
    font-size: 16px;
    max-width: 100%;
  }

  .choose-object__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .works .section-head p {
    font-size: 16px;
  }

  .why__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .why__card {
    flex-direction: row;
    align-items: flex-start;
    gap: 16px;
  }

  .why__card-body {
    flex: 1 1 auto;
    min-width: 0;
  }
}

/* ===== Desktop tight spacing (1024–1150px) ===== */
@media (min-width: 1024px) and (max-width: 1150px) {
  .topline__contacts > a:first-child {
    display: none;
  }
}

/* ===== Typography tweak (1024–1376px): p/span 18px -> 16px ===== */
@media (min-width: 1024px) and (max-width: 1376px) {
  .hero-slide__lead,
  .hero-slide__lead span,
  .choose-object__text p,
  .choose-object__text p span,
  .project-flow__lead p,
  .project-flow__lead p span,
  .works .section-head p,
  .works .section-head p span,
  .lead-magnet__lead {
    font-size: 16px;
  }

  .lead-magnet__lead span {
    font-size: 16px;
  }
}

/* ===== Tablet + Mobile (≤1023px) ===== */
@media (max-width: 1023px) {
  .page__container { width: min(1360px, calc(100% - 40px)); }

  /* Header — topline hidden, catalog btn icon-only, logo centered on same row */
  .topline { display: none; }
  .header__main-inner { padding: 20px 0; }
  .header__left {
    padding-right: 0;
    display: flex;
    align-items: center;
    gap: 28px;
  }
  .header__catalog-btn .header__catalog-label { display: none; }
  .header__catalog-btn {
    width: 48px;
    height: 48px;
    padding: 14px;
    gap: 0;
    border: 0;
    border-radius: 999px;
    background: #edeef5;
    color: #101114;
  }
  .header__catalog-line {
    background: #101114;
  }
  .header__catalog-btn:hover:not([aria-expanded="true"]) {
    background: #edeef5;
    border-color: transparent;
  }
  .header__logo {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: auto;
  }
  .header__logo img { height: 45px; width: auto; max-width: 233px; }
  .header__cta { display: none; }
  .header__phone-btn { display: inline-flex; }
  .header__actions { gap: 28px; }
  .header__cart-wrap .header__icon-btn:hover,
  .header__cart-wrap:hover .header__icon-btn {
    background: #edeef5;
  }
  .header__cart-wrap .header__icon-btn:hover img,
  .header__cart-wrap:hover .header__icon-btn img {
    filter: none;
  }
  .subnav { padding: 24px 0; font-size: 15px; justify-content: flex-start; gap: 32px; white-space: nowrap; }

  /* Hero */
  .hero-shell {
    height: 390px;
    max-height: none;
    border-radius: 12px;
    -webkit-clip-path: inset(0 round 12px);
    clip-path: inset(0 round 12px);
  }
  .hero-slide__layer,
  .hero-slide__chrome-inner { padding: 28px 20px var(--slider-bottom-pad); }
  .hero-slide__title { font-size: 32px; letter-spacing: -0.64px; }
  .hero-slide__lead { font-size: 16px; max-width: none; }
  .hero-slide__text { gap: 16px; }
  .hero-slide__head { gap: 16px; }
  .hero-slide__footer { flex-direction: column; align-items: stretch; }
  .hero-slide__nav-slot { display: none; }
  .hero-slide__arrows { justify-content: flex-end; }
  .hero-slide__btn { height: 52px; padding: 10px 24px; font-size: 15px; }
  .hero-slide__arrow { width: 52px; height: 52px; }

  /* Summer hero */
  .summer-hero-shell {
    height: 360px;
    max-height: none;
    border-radius: 12px;
    -webkit-clip-path: inset(0 round 12px);
    clip-path: inset(0 round 12px);
  }
  .summer-slide__layer,
  .summer-hero-chrome-inner { padding: 28px 20px var(--slider-bottom-pad); }
  .summer-hero-title { font-size: 28px; letter-spacing: -0.56px; }
  .summer-hero-lead { font-size: 16px; max-width: none; }
  .summer-hero-text { gap: 16px; }
  .summer-slide__head { gap: 16px; }
  .summer-slide__footer { flex-direction: column; align-items: stretch; }
  .summer-slide__nav-slot { display: none; }
  .summer-hero-arrows { justify-content: flex-end; }
  .summer-hero-btn { height: 52px; padding: 10px 24px; font-size: 15px; }
  .summer-hero-arrow { width: 52px; height: 52px; }

  /* Choose object */
  .choose-object { padding: 40px 0; }
  .choose-object__inner { grid-template-columns: 1fr; gap: 36px; }
  .choose-object__text h2 { font-size: 32px; letter-spacing: -0.64px; }
  .choose-object__text p { font-size: 18px; }
  .choose-object__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  /* Products grids (winter, summer, discounts) */
  .products__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
  .catalog-page__title { font-size: 32px; }
  .products__block h2 { font-size: 32px; }
  .section-head h2 { font-size: 32px; }
  .section-head a { font-size: 24px; }

  /* Project flow */
  .project-flow { padding: 40px 0; }
  .project-flow__inner { grid-template-columns: 1fr; gap: 36px; }
  .project-flow__text { height: auto; gap: 28px; }
  .project-flow__text .btn-solid { margin-top: 0; }
  .project-flow__title { font-size: 32px; letter-spacing: -0.64px; }
  .project-flow__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .project-flow__card { min-height: 0; }

  /* Video */
  .video h2 { font-size: 32px; line-height: 1.15; letter-spacing: -0.64px; }
  .video__play { width: 140px; height: 140px; }
  .video__play-icon { width: 64px; height: 64px; margin-left: 16px; }

  /* Works */
  .works__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
  .categories__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  /* Why choose */
  .why { padding: 50px 0; }
  .why__title { font-size: 32px; letter-spacing: -0.64px; }
  .why__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
  .why__card {
    flex-direction: column;
    padding: 20px 16px;
  }
  .why__card-body h3 { font-size: 18px; line-height: 22px; }

  /* Lead magnets — tablet: image + text side by side, form full-width below */
  .lead-magnet { padding: 40px 0; }
  .lead-magnet__card {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    height: auto;
    min-height: 0;
    padding: 20px 0 0;
    border-radius: 16px;
  }
  .lead-magnet__content {
    display: contents;
  }
  .lead-magnet__media {
    flex: 0 0 300px;
    width: 300px;
    height: 300px;
    margin: 0 0 0 40px;
    align-self: center;
    order: 1;
    border-radius: 0;
    overflow: hidden;
  }
  .lead-magnet__media img {
    width: 300px;
    height: 300px;
  }
  .lead-magnet__text {
    flex: 1 1 0;
    min-width: 200px;
    padding: 46px 40px 24px 32px;
    order: 2;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    gap: 24px;
  }
  .lead-magnet__title { font-size: 28px; letter-spacing: -0.56px; }
  .lead-magnet__lead { font-size: 16px; line-height: 1.5; }
  .lead-magnet__form {
    order: 3;
    flex: 0 0 100%;
    width: 100%;
    padding: 10px 40px 40px;
    box-sizing: border-box;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto auto;
    gap: 24px 16px;
  }
  .lead-magnet__row {
    display: contents;
  }
  /* Базовый width: calc((100% - 16px) / 2) иначе сужает инпуты до половины ячейки grid */
  .lead-magnet__form .lead-magnet__input {
    width: 100%;
    max-width: none;
    flex: none;
    min-width: 0;
  }
  .lead-magnet__form .lead-magnet__input:nth-of-type(1) {
    grid-column: 1;
    grid-row: 1;
  }
  .lead-magnet__form .lead-magnet__input:nth-of-type(2) {
    grid-column: 2;
    grid-row: 1;
  }
  .lead-magnet__consent {
    grid-column: 1 / -1;
    grid-row: 3;
  }
  .lead-magnet__submit {
    grid-column: 1 / -1;
    grid-row: 2;
    width: 100%;
  }

  /* Footer — no nav, 2-col layout */
  .footer { padding: 40px 0; }
  .footer__nav { display: none; }
  .footer__row {
    grid-template-columns: 210px 1fr;
    column-gap: 95px;
  }
  .footer__phones {
    justify-content: flex-start;
  }
  .footer__policies {
    grid-column: 1 / -1;
    max-width: none;
    text-align: left;
    justify-self: stretch;
  }

  /* Popup */
  .popup__dialog { padding: 32px 24px; }
  .popup-form__cols { flex-direction: column; gap: 32px; }
  .popup-form__divider { width: 100%; height: 1px; }
  .popup-form__right { padding-top: 0; }
  .popup-form .radio-group__item { font-size: 24px; }

  /* Slider: hover только на десктопе */
  .hero-slide__btn_primary:hover {
    background: var(--hero-btn-primary-bg, #364ed3);
    color: var(--hero-btn-primary-color, #fff);
    border-color: var(--hero-btn-primary-border, var(--hero-btn-primary-bg, #364ed3));
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
  .hero-slide__btn_glass:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    border-color: transparent;
    -webkit-backdrop-filter: blur(40px);
    backdrop-filter: blur(40px);
  }
  .hero-slide__arrow:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    -webkit-backdrop-filter: blur(40px);
    backdrop-filter: blur(40px);
  }
  .hero-slide__arrow:hover .hero-slide__arrow-icon {
    filter: none;
  }
  .hero-dot:hover,
  .hero-dot:focus-visible {
    background: rgba(255, 255, 255, 0.45);
  }

  .summer-hero-btn_primary:hover {
    background: #364ed3;
    color: #fff;
    border-color: #364ed3;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
  .summer-hero-btn_glass:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    border-color: transparent;
    -webkit-backdrop-filter: blur(40px);
    backdrop-filter: blur(40px);
  }
  .summer-hero-arrow:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    -webkit-backdrop-filter: blur(40px);
    backdrop-filter: blur(40px);
  }
  .summer-hero-arrow:hover .summer-hero-arrow-icon {
    filter: none;
  }
  .products__catalog-btn:hover,
  .works__action-btn_primary:hover {
    background: #364ed3;
    border-color: #364ed3;
    color: #fff;
  }
  .works__action-btn_secondary:hover {
    background: transparent;
    border-color: #364ed3;
    color: #364ed3;
  }
  .btn-solid:hover {
    background: var(--accent);
  }
  .btn-outline:hover {
    border-color: #cfd3e7;
    color: var(--text);
  }
  .lead-magnet__submit:hover:not(:disabled) {
    background: #364ed3;
  }
  .object-card:hover {
    background: #fff;
    box-shadow: none;
  }
  .object-card:hover .object-card__icon {
    border-color: rgba(52, 78, 211, 0.12);
    background: #f6f8ff;
  }
  .object-card:hover .object-card__icon img {
    filter: none;
  }
  .object-card:hover .object-card__sub {
    color: #9699ae;
  }
  .object-card:hover .object-card__title {
    color: #101114;
  }
  .product-card__cart-add:hover {
    background: #edeef5;
    color: #101114;
  }
  .product-card__qty-btn:hover::before {
    background: transparent;
  }

  .category-card:hover .category-card__media {
    transform: scale(1);
  }
  .category-card:hover .category-card__arrow {
    background: rgba(255, 255, 255, 0.2);
    -webkit-backdrop-filter: blur(40px);
    backdrop-filter: blur(40px);
  }
  .category-card:hover .category-card__arrow img {
    filter: none;
  }
}

/* ===== Tablet only (768–1023px) ===== */
@media (min-width: 768px) and (max-width: 1023px) {
  .header__catalog-btn {
    color: #101114;
  }
  .header__phone-btn:hover,
  .header__phone-btn:hover img,
  .header__actions > .header__icon-btn:hover,
  .header__actions > .header__icon-btn:hover img {
    background: #edeef5;
    filter: none;
  }
  .hero-slide__layer { background-color: transparent !important; }
  .summer-slide__layer { background-color: transparent !important; }
  .popup__dialog { padding: 48px; }
  .popup-form__cols { flex-direction: row; gap: 32px; align-items: stretch; }
  .popup-form__divider { width: 1px; height: auto; align-self: stretch; }
  .popup-form__right { padding-top: 24px; }
  .popup-form .radio-group__item { font-size: 14px; line-height: 20px; }
  .popup-form .input_variant_textarea .input__field { min-height: 60px; height: auto; }
}

@media (min-width: 1024px) {
  .hero-slide__layer { background-color: transparent !important; }
  .summer-slide__layer { background-color: transparent !important; }

  .hero-slide__btn_primary:hover {
    background: var(--hero-btn-primary-hover-bg, #fff);
    color: var(--hero-btn-primary-hover-color, #121a61);
    border-color: var(--hero-btn-primary-hover-border, #fff);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
  .hero-slide__btn_glass:hover {
    background: #fff;
    color: #121a61;
    border-color: #fff;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
  .hero-slide__arrow:hover {
    background: #fff;
    color: #121a61;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
  .hero-slide__arrow:hover .hero-slide__arrow-icon {
    filter: brightness(0);
  }
  .hero-dot:hover,
  .hero-dot:focus-visible {
    background: rgba(255, 255, 255, 0.75);
  }

  .works .section-head p {
    max-width: none;
    white-space: nowrap;
  }

  /* Лид-магнит: десктоп — имя, телефон и кнопка одинаковой ширины (~по ⅓ ряда) */
  .lead-magnet__form {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-template-rows: auto auto;
    align-items: stretch;
    gap: 20px 16px;
  }
  .lead-magnet__row {
    display: contents;
  }
  .lead-magnet__form .lead-magnet__input {
    flex: none;
    width: auto;
    max-width: none;
    min-width: 0;
  }
  .lead-magnet__form .lead-magnet__input:nth-of-type(1) {
    grid-column: 1;
    grid-row: 1;
  }
  .lead-magnet__form .lead-magnet__input:nth-of-type(2) {
    grid-column: 2;
    grid-row: 1;
  }
  .lead-magnet__submit {
    grid-column: 3;
    grid-row: 1;
    width: auto;
    max-width: none;
    min-width: 0;
    justify-self: stretch;
  }
  .lead-magnet__consent {
    grid-column: 1 / -1;
    grid-row: 2;
  }
}

/* ===== Mobile only (≤767px) ===== */
@media (max-width: 767px) {
  .header__main {
    border-bottom: 1px solid #eff0f7;
  }
  .hero.page__container { width: 100%; }
  .summer-hero.page__container { width: 100%; }
  .page__container { width: calc(100% - 32px); }

  /* Header mobile */
  .header__main-inner { padding: 12px 0; flex-wrap: nowrap; gap: 12px; }
  .header__left,
  .header__logo,
  .header__actions { order: unset; width: auto; }
  .header__logo {
    position: static;
    transform: none;
    margin: 0 auto;
  }
  .header__logo img { width: 166px; height: 35px; max-width: none; }
  .header__phone-btn { display: none; }
  .header__catalog-btn {
    width: 36px;
    height: 36px;
    padding: 8px;
    border: 0;
    border-radius: 999px;
    background: #edeef5;
    color: #101114;
  }
  .header__catalog-icon { width: 20px; height: 20px; }
  .header__actions { margin-left: 0; gap: 0; }
  .header__actions .header__cta,
  .header__actions > .header__icon-btn { display: none; }
  .header__cart-wrap .header__icon-btn {
    width: 36px;
    height: 36px;
    padding: 8px;
    border-radius: 999px;
    background: #edeef5;
  }
  .header__cart-wrap .header__icon-btn img { width: 20px; height: 20px; filter: none; }
  .header__cart-badge {
    top: 6px;
    right: 2px;
    min-width: 15px;
    height: 12px;
    padding: 2px 4px;
    font-size: 7px;
    line-height: 1;
  }
  .subnav { font-size: 13px; gap: 32px; padding: 16px 0; }

  /* Hero mobile */
  .hero-shell {
    height: auto;
    border-radius: 0;
    -webkit-clip-path: none;
    clip-path: none;
  }
  .hero-swiper {
    position: relative;
    inset: auto;
    height: auto;
    overflow: visible;
    border-radius: 0;
  }
  .hero-swiper .swiper-slide { height: auto; }
  .hero-slide { display: flex; flex-direction: column; }
  .hero-slide__media {
    position: relative;
    min-height: 230px;
    height: clamp(230px, calc(40.8vw + 77px), 390px);
  }
  .hero-slide__media picture,
  .hero-slide__media picture img {
    display: block;
    width: 100%;
    height: 100%;
  }
  .hero-slide__layer {
    height: auto;
    padding: 24px 16px 36px;
    background-color: var(--hero-slide-mobile-bg, #061B4B) !important;
  }
  .hero-slide__title { font-size: 30px; letter-spacing: -0.6px; }
  .hero-slide__lead { font-size: 14px; max-width: none; }
  .hero-slide__footer {
    margin-top: 24px;
    margin-bottom: 0;
  }
  .hero-slide__ctas { width: 100%; gap: 16px; }
  .hero-slide__btn { width: 164px; height: 52px; padding: 8px 20px; font-size: 14px; }
  .hero-slide__chrome-inner { padding: 95px 16px 12px; }
  .hero-slide__chrome {
    inset: 0 auto auto 0;
    width: 100%;
    height: clamp(230px, calc(40.8vw + 77px), 390px);
  }
  .hero-slide__chrome-inner {
    position: relative;
    height: 100%;
    padding: 0 16px 12px;
  }
  .hero-slide__chrome-spacer { display: none; }
  .hero-slide__chrome-bottom {
    position: relative;
    height: 100%;
    gap: 0;
  }
  .hero-slide__chrome-row {
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    justify-content: stretch;
  }
  .hero-slide__chrome-slot { display: none; }
  .hero-slide__arrows { width: 100%; justify-content: space-between; }
  .hero-slide__arrow { width: 44px; height: 44px; }
  .hero-slide__arrow-icon { width: 16px; height: 16px; }
  .hero-slide__pagination {
    position: absolute;
    left: 50%;
    bottom: 12px;
    transform: translateX(-50%);
    min-height: 4px;
    height: 4px;
    gap: 3px;
    width: auto;
  }
  .hero-dot { width: 4px; height: 4px; }

  /* Summer hero mobile */
  .summer-hero-shell {
    height: auto;
    border-radius: 0;
    -webkit-clip-path: none;
    clip-path: none;
  }
  .summer-hero-swiper {
    position: relative;
    inset: auto;
    height: auto;
    overflow: visible;
    border-radius: 0;
  }
  .summer-hero-swiper .swiper-slide { height: auto; }
  .summer-slide { display: flex; flex-direction: column; }
  .summer-hero-slide__media {
    position: relative;
    min-height: 230px;
    height: clamp(230px, calc(40.8vw + 77px), 390px);
  }
  .summer-hero-slide__media::after { display: none; }
  .summer-hero-slide__media picture,
  .summer-hero-slide__media picture img {
    display: block;
    width: 100%;
    height: 100%;
  }
  .summer-slide__layer {
    height: auto;
    margin-top: -1px;
    padding: 24px 16px 36px;
  }
  .summer-hero-title { font-size: 30px; letter-spacing: -0.6px; }
  .summer-hero-lead { font-size: 14px; max-width: none; }
  .summer-slide__footer {
    margin-top: 24px;
    margin-bottom: 0;
  }
  .summer-hero-btn { width: 164px; height: 52px; padding: 8px 20px; font-size: 14px; }
  .summer-hero-chrome {
    inset: 0 auto auto 0;
    width: 100%;
    height: clamp(230px, calc(40.8vw + 77px), 390px);
  }
  .summer-hero-chrome-inner {
    position: relative;
    height: 100%;
    padding: 0 16px 12px;
  }
  .summer-hero-chrome-spacer { display: none; }
  .summer-hero-chrome-bottom {
    position: relative;
    height: 100%;
    gap: 0;
  }
  .summer-hero-chrome-row {
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    justify-content: stretch;
  }
  .summer-hero-chrome-slot { display: none; }
  .summer-hero-arrows { width: 100%; justify-content: space-between; }
  .summer-hero-arrow { width: 44px; height: 44px; }
  .summer-hero-arrow-icon { width: 16px; height: 16px; }
  .summer-hero-pagination {
    position: absolute;
    left: 50%;
    bottom: 12px;
    transform: translateX(-50%);
    min-height: 4px;
    height: 4px;
    gap: 3px;
    width: auto;
  }
  .summer-hero-dot { width: 4px; height: 4px; }

  /* Вертикальные отступы секций (мобилка): шаг между секциями — через --home-section-gap на главной */
  section.hero.page__container {
    margin: 0;
    padding-top: 0;
    padding-bottom: 0;
  }
  section.summer-hero.page__container {
    margin: 0;
    padding-top: 40px;
    padding-bottom: 0;
  }

  /* Categories */
  body.page-catalog .categories {
    margin-top: 0;
    margin-bottom: 0;
    padding-top: 60px;
    padding-bottom: 80px;
  }
  .categories {
    display: flex;
    flex-direction: column;
  }
  .categories__head { display: contents; }
  .categories__title {
    order: 1;
    margin: 0 0 24px;
    font-size: 28px;
    letter-spacing: -0.56px;
    text-align: center;
  }
  .categories__catalog {
    order: 3;
    margin-top: 40px;
    font-size: 18px;
    align-self: center;
  }
  .categories__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .categories__grid { order: 2; }
  .category-card { min-height: 250px; border-radius: 8px; padding: 16px 12px; }
  .category-card__title { font-size: 18px; line-height: 1.2; }

  /* Grids */
  .choose-object__grid { grid-template-columns: 1fr; }
  .products__grid,
  .works__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .project-flow__grid,
  .why__grid { grid-template-columns: 1fr; }
  .products__grid,
  .works__grid { gap: 8px; }

  body.page-catalog main section.choose-object,
  body.page-catalog main section.works,
  body.page-catalog main section.project-flow,
  body.page-catalog main section.product-seo,
  body.page-catalog main section.summer-hero,
  body.page-catalog main section.lead-magnet {
    margin-top: var(--catalog-section-margin);
    margin-bottom: var(--catalog-section-margin);
  }
  body.page-catalog main > section.summer-hero + section.lead-magnet {
    margin-top: 0;
  }
  .choose-object__inner { gap: 24px; }
  .choose-object__text h2 { font-size: 28px; letter-spacing: -0.56px; }
  .choose-object__text p { font-size: 16px; }
  .object-card { padding: 20px 15px; }

  /* Why */
  body.page-catalog .why { padding: 40px 0; }
  .why__title { font-size: 28px; letter-spacing: -0.56px; }
  .why__inner { gap: 36px; }
  .why__actions { width: 100%; gap: 16px; }
  .why__actions .btn-solid,
  .why__actions .btn-outline,
  .why__actions .works__action-btn {
    width: 100%;
    height: 52px;
    min-height: 52px;
    font-size: 14px;
  }

  /* Project flow */
  .project-flow__title { font-size: 28px; letter-spacing: -0.56px; }
  .project-flow__lead p { font-size: 16px; }
  .project-flow__card-body h3 { font-size: 18px; line-height: 22px; }

  /* Products mobile (2 columns + proportional images) */
  body.page-catalog .products { padding: 40px 0; }
  .catalog-page {
    padding: 40px 0;
    margin-top: 0;
    margin-bottom: 0;
  }
  .catalog-page__inner {
    gap: 24px;
  }
  .catalog-page__title {
    font-size: 28px;
    line-height: 30.847px;
    letter-spacing: -0.56px;
    text-align: center;
  }
  .catalog-card .product-card__media {
    aspect-ratio: 311 / 220;
  }
  .catalog-card__list {
    padding: 0 8px;
  }
  .catalog-card__list a {
    font-size: 14px;
    line-height: 22px;
    letter-spacing: -0.14px;
  }
  .catalog-card .product-card__title {
    padding: 0 8px 4px;
  }
  .products__block { gap: 24px; }
  .products__block h2 {
    font-size: 28px;
    line-height: 30.847px;
    letter-spacing: -0.56px;
    text-align: center;
  }
  .product-card {
    min-height: 0;
    border-radius: 8px;
    padding: 4px 4px 16px;
    gap: 36px;
  }
  .product-card.is-in-cart { gap: 36px; }
  .product-card__media {
    height: auto;
    aspect-ratio: 323 / 290;
    border-radius: 4px;
  }
  .product-card__title {
    font-size: 17px;
    line-height: 28px;
    letter-spacing: -0.34px;
    padding: 0 8px;
  }
  .product-card__sub {
    font-size: 13px;
    line-height: 22px;
    padding: 0 8px;
  }
  .product-card__bottom {
    min-height: 52px;
    padding: 0 10px;
    margin-top: 0;
    gap: 12px;
  }
  .product-card__price {
    font-size: 16px;
    letter-spacing: -0.32px;
    white-space: nowrap;
    flex-shrink: 0;
  }
  .product-card__prices {
    flex-wrap: nowrap;
    gap: 6px;
    min-width: 0;
  }
  .product-card__price-old {
    font-size: 13px;
    line-height: 1.2;
    letter-spacing: -0.26px;
    white-space: nowrap;
  }
  .product-card__cart-add { width: 52px; height: 52px; }
  .product-card__cart-icon { width: 24px; height: 24px; }
  .product-card__qty {
    width: 110px;
    min-width: 110px;
    height: 52px;
    justify-content: center;
    gap: 4px;
    padding: 0 8px;
  }
  .product-card__qty-btn { width: 32px; height: 32px; }
  .product-card__qty-btn img { width: 12px; height: 12px; }
  .product-card__qty-value {
    flex: 1 1 auto;
    min-width: 0;
    font-size: 14px;
    line-height: 1;
    letter-spacing: -0.28px;
    text-align: center;
  }
  .product-card__badges {
    left: 10px;
    top: 10px;
    gap: 6px;
  }
  .product-card__badge {
    padding: 5px 12px;
    font-size: 14px;
    border-radius: 4px;
  }
  .products__catalog-btn {
    width: 100%;
    min-height: 52px;
    height: 52px;
    font-size: 14px;
  }
  .section-head {
    margin-bottom: 24px;
    align-items: center;
  }
  .section-head h2 {
    font-size: 28px;
    line-height: 30.847px;
    letter-spacing: -0.56px;
  }

  /* Video */
  body.page-catalog .video { padding: 40px 0; }

  /* Наши работы */
  .video h2 {
    font-size: 28px;
    line-height: 30.847px;
    letter-spacing: -0.56px;
    text-align: center;
  }
  .video__block { gap: 24px; margin-bottom: 32px; }
  .video__frame { aspect-ratio: 343 / 208; border-radius: 8px; }
  .video__play { width: 72px; height: 72px; }
  .video__play-icon { width: 26px; height: 26px; margin-left: 7px; }
  .video__actions .btn-solid {
    width: 100%;
    height: 52px;
    min-height: 52px;
    font-size: 14px;
  }

  /* Lead magnets — mobile: fully stacked */
  body.page-catalog .lead-magnet { padding: 40px 0; }
  .lead-magnet__card {
    flex-direction: column;
    flex-wrap: nowrap;
    padding: 20px 0 40px;
    border-radius: 16px;
  }
  /* Тёмный лид-магнит: 24px между картинкой и заголовком */
  .lead-magnet:not(.lead-magnet_theme_light) .lead-magnet__card {
    gap: 0;
  }
  .lead-magnet:not(.lead-magnet_theme_light) .lead-magnet__content {
    padding-top: 24px;
    padding-bottom: 0;
    padding-left: 0;
    padding-right: 0;
  }
  .lead-magnet__content { display: flex; flex-direction: column; gap: 32px; }
  .lead-magnet__media {
    flex: none;
    width: 196px;
    height: 180px;
    max-width: none;
    margin: 0 auto;
    aspect-ratio: auto;
    order: unset;
  }
  .lead-magnet_theme_light .lead-magnet__media { width: 200px; height: 200px; }
  .lead-magnet__media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: auto; }
  .lead-magnet__text {
    padding: 0 16px;
    order: unset;
    flex: none;
    min-width: 0;
    gap: 16px;
  }
  .lead-magnet__form {
    order: unset;
    flex: none;
    width: 100%;
    padding: 0 16px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 24px;
  }
  .lead-magnet__row {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
  }
  .lead-magnet__input {
    grid-column: unset;
    grid-row: unset;
    flex: 1 1 auto;
    width: 100%;
    max-width: none;
    min-width: 0;
  }
  .lead-magnet__consent {
    grid-column: unset;
    grid-row: unset;
    width: 100%;
    align-items: flex-start;
    gap: 12px;
  }
  .lead-magnet__submit {
    grid-column: unset;
    grid-row: unset;
    flex: 1 1 auto;
    width: 100%;
    max-width: none;
    min-width: 0;
  }
  .lead-magnet__title { font-size: 28px; letter-spacing: -0.56px; }
  .lead-magnet__lead { font-size: 16px; line-height: 1.5; }
  .lead-magnet__input,
  .lead-magnet__submit {
    height: 52px;
    min-height: 52px;
    font-size: 14px;
    line-height: 24px;
    letter-spacing: -0.14px;
    padding: 0 24px;
  }
  .lead-magnet__input { padding: 0 24px; }
  .lead-magnet__consent-text {
    font-size: 13px;
    line-height: 1.7;
  }

  /* Светлый лид-магнит — mobile Figma node 136:1897 */
  .lead-magnet_theme_light .lead-magnet__card {
    padding: 16px 0 40px;
  }
  .lead-magnet_theme_light .lead-magnet__content {
    padding: 0;
  }
  .lead-magnet_theme_light .lead-magnet__title {
    line-height: 1.2;
  }
  .lead-magnet_theme_light .lead-magnet__lead {
    max-width: none;
  }

  /* Footer */
  .footer { padding: 40px 0; }
  .footer__nav { display: none; }
  .footer__row { grid-template-columns: 1fr; row-gap: 24px; }
  .footer__row_bottom { grid-template-columns: 1fr; column-gap: 0; }
  .footer__phones { justify-content: flex-start; gap: 24px; }
  .footer__policies { text-align: left; }
  .section-head a { font-size: 18px; }

  .works .section-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  .works .section-head p {
    max-width: none;
    text-align: left;
    font-size: 16px;
  }
  .works__actions {
    flex-direction: column;
    gap: 16px;
  }
  .works__action-btn {
    width: 100%;
    height: 52px;
    min-height: 52px;
    font-size: 14px;
  }
  .works__link:hover .works__thumb-pic,
  .works__link:focus-visible .works__thumb-pic {
    transform: none;
  }
  .works__link:hover .works__thumb-overlay,
  .works__link:focus-visible .works__thumb-overlay {
    background: rgba(0, 0, 0, 0);
  }
  .works__link:hover .works__thumb-zoom,
  .works__link:focus-visible .works__thumb-zoom {
    opacity: 1;
    transform: translate(0, 0) scale(1);
    left: auto;
    top: auto;
    right: 8px;
    bottom: 8px;
    width: 40px;
    height: 40px;
    padding: 10px;
  }
  .works__thumb-zoom {
    opacity: 1;
    transform: translate(0, 0) scale(1);
    left: auto;
    top: auto;
    right: 8px;
    bottom: 8px;
    width: 40px;
    height: 40px;
    padding: 10px;
  }
  .works__thumb-zoom img {
    width: 16px;
    height: 16px;
  }

  .hero-slide__btn,
  .summer-hero-btn,
  .project-flow__text .btn-solid,
  .products__catalog-btn,
  .why__actions .btn-solid,
  .why__actions .btn-outline,
  .video__actions .btn-solid,
  .works__action-btn {
    width: 100%;
    max-width: none;
    height: 52px;
    min-height: 52px;
    box-sizing: border-box;
  }

  /* Popup */
  .popup { padding: 20px; overflow: hidden; align-items: stretch; }
  .popup__dialog {
    display: flex; flex-direction: column; width: 100%;
    max-height: 100vh; max-height: 100dvh; overflow-y: auto;
    margin: 0; padding: 32px;
    -webkit-overflow-scrolling: touch; overscroll-behavior: contain;
  }
  .popup-form { flex: 0 0 auto; }
  .popup-form__cols { flex: 0 0 auto; }
  .popup-form__left { flex: 0 0 auto; gap: 24px; }
  .popup-form__right { flex: 0 0 auto; flex-direction: column; justify-content: flex-start; }
  .popup-form__divider { flex-shrink: 0; }
  .popup-form__consent { align-items: flex-start; }
  .popup-form__left h3 { font-size: 32px; }
  .popup-form .radio-group__item { font-size: 14px; line-height: 20px; letter-spacing: -0.14px; }
  .popup-form__submit {
    font-size: 16px;
    line-height: 24px;
    height: 52px;
    min-height: 52px;
    box-sizing: border-box;
  }
  .popup-form .input:not(.input_variant_textarea) .input__wrap {
    min-height: 52px;
    box-sizing: border-box;
  }
}

@media (max-width: 499px) {
  .products__grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- Карточка товара (десктоп; адаптив галереи — позже) ---------- */
.product-detail {
  padding: 0 0 50px;
}
.product-detail + .video {
  margin-top: 0;
  padding-top: 0;
}
.product-detail__breadcrumbs {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0 auto;
  padding: 32px 0;
  border-top: 0;
  font-family: Inter, sans-serif;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.5;
  color: #616473;
}
.product-detail__breadcrumbs::before {
  content: "";
  position: absolute;
  top: 0;
  left: calc(50% - 50vw);
  width: 100vw;
  border-top: 1px solid #eff0f7;
}
.product-detail__breadcrumbs-link {
  color: #616473;
  text-decoration: none;
  transition: color 0.2s ease;
}
.product-detail__breadcrumbs-link:hover {
  color: #364ed3;
}
.product-detail__breadcrumbs-link:focus-visible {
  outline: 2px solid #364ed3;
  outline-offset: 2px;
}
.product-detail__breadcrumbs-sep {
  color: #616473;
  user-select: none;
}
.product-detail__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 550px;
  gap: 24px;
  align-items: start;
}
.product-detail__layout > .product-page__main-col,
.product-detail__layout > .product-page__sidebar-wrap {
  display: contents;
}
.product-detail__media-col {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 30px;
}
.product-detail__media-row {
  display: grid;
  grid-template-columns: 100px minmax(550px, 1fr);
  gap: 13px;
  align-items: start;
}
/* Без колонки миниатюр (1 фото) — не резервируем 100px, слайдер как в макете */
.product-detail__media-row:not(:has(.product-detail__thumbs)) {
  grid-template-columns: minmax(550px, 660px);
}
.product-detail__media-row:not(:has(.product-detail__thumbs)) .product-detail__slider-wrap {
  grid-column: 1;
}
.product-detail__thumbs {
  width: 100px;
  display: grid;
  grid-template-rows: repeat(5, 100px);
  gap: 12px;
}
.product-detail__thumb {
  margin: 0;
  padding: 0;
  width: 100px;
  height: 100px;
  border: 2px solid transparent;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  background: #edeef5;
  box-sizing: border-box;
  transition: border-color 0.2s ease;
}
.product-detail__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.product-detail__thumb.is-active {
  border-color: #364ed3;
}
.product-detail__thumb:focus-visible {
  outline: 2px solid #364ed3;
  outline-offset: 2px;
}
.product-detail__slider-wrap {
  min-width: 0;
  max-width: 660px;
  width: 100%;
}
.product-detail__swiper {
  position: relative;
  box-sizing: border-box;
  width: min(100%, 660px);
  min-width: 550px;
  max-width: 660px;
  height: 550px;
  border-radius: 12px;
  overflow: hidden;
  background: #edeef5;
}

.product-detail__swiper .swiper-wrapper,
.product-detail__swiper .swiper-slide {
  height: 100%;
}

.product-detail__swiper .swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.product-detail__nav {
  position: absolute;
  top: 50%;
  z-index: 3;
  translate: 0 -50%;
  width: 64px;
  height: 64px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 50px;
  background: rgba(255, 255, 255, 0.2);
  -webkit-backdrop-filter: blur(40px);
  backdrop-filter: blur(40px);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  color: #fff;
  transition: opacity 0.2s ease, background-color 0.2s ease, color 0.2s ease, backdrop-filter 0.2s ease, -webkit-backdrop-filter 0.2s ease;
}
.product-detail__slider-wrap:hover .product-detail__nav {
  opacity: 1;
  pointer-events: auto;
}
.product-detail__nav:hover {
  background: #fff;
  color: #121a61;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}
.product-detail__nav:focus-visible {
  opacity: 1;
  pointer-events: auto;
  outline: 2px solid #364ed3;
  outline-offset: 2px;
}
.product-detail__nav:hover img {
  filter: brightness(0);
}
.product-detail__nav_prev {
  left: 16px;
}
.product-detail__nav_next {
  right: 16px;
}
.product-detail__nav_prev img {
  transform: rotate(180deg);
}
.product-detail__nav img {
  width: 20px;
  height: 20px;
  display: block;
}
.product-detail__swiper-pagination.swiper-pagination {
  bottom: 16px !important;
}
.product-detail__swiper-pagination .swiper-pagination-bullet {
  width: 6px;
  height: 6px;
  margin: 0 3px !important;
  background: rgba(255, 255, 255, 0.65);
  opacity: 1;
}
.product-detail__swiper-pagination .swiper-pagination-bullet-active {
  background: #fff;
  transform: scale(1.15);
}
.product-detail__article-body {
  max-width: 774px;
  font-family: Inter, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  color: #616473;
}
.product-detail__article-body p {
  margin: 0;
}
.product-detail__article-body p:last-child {
  margin-bottom: 0;
}
.product-detail__sidebar {
  min-width: 0;
  width: 100%;
  max-width: 550px;
  justify-self: end;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.product-detail__sidebar-main {
  width: 100%;
}
.product-detail__heading-block {
  border-bottom: 1px solid #eff0f7;
  padding-bottom: 20px;
}
.product-detail__heading-block_tablet {
  display: none;
}
.product-detail__title {
  margin: 0 0 16px;
  font-family: Inter, sans-serif;
  font-weight: 500;
  font-size: 36px;
  line-height: 1.2;
  letter-spacing: -0.72px;
  color: #101114;
}
.product-detail__series {
  margin: 0;
  font-family: Inter, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  color: #616473;
}
.product-detail__price-row {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 16px;
  flex-wrap: wrap;
}
.product-detail__prices {
  display: flex;
  align-items: center;
  gap: 16px;
  flex: 0 0 auto;
}
.product-detail__tags {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.product-detail__price {
  font-family: Inter, sans-serif;
  font-weight: 500;
  font-size: 24px;
  line-height: 1.2;
  letter-spacing: -0.48px;
  color: #101114;
}
.product-detail__price-old {
  font-family: Inter, sans-serif;
  font-weight: 500;
  font-size: 16px;
  line-height: 1.2;
  letter-spacing: -0.32px;
  color: rgba(125, 125, 125, 0.7);
  text-decoration: line-through;
  text-decoration-skip-ink: none;
}
.product-detail__tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  border-radius: 4px;
  font-family: Inter, sans-serif;
  font-size: 13px;
  font-weight: 400;
  line-height: normal;
}
.product-detail__tag_sale {
  background: #e60829;
  color: #fff;
}
.product-detail__tag_preorder {
  background: #364ed3;
  color: #fff;
}
.product-detail__tag_new {
  background: #9034C9;
  color: #fff;
}
.product-detail__tag_muted {
  background: #edeef5;
  color: #616473;
}
.product-detail__price-old:empty,
.product-detail__tag:empty {
  display: none;
}
.product-detail__specs {
  margin: 0;
  padding: 0;
}
.product-detail__specs-wrap {
  padding-top: 30px;
}
.product-detail__spec-row {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 0;
  margin: 0;
  font-size: 15px;
  line-height: 1.5;
  white-space: nowrap;
}
.product-detail__spec-row + .product-detail__spec-row {
  margin-top: 6px;
}
.product-detail__spec-row dt {
  margin: 0;
  font-family: Inter, sans-serif;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.5;
  color: #101114;
}
.product-detail__spec-row dd {
  margin: 0;
  font-family: Inter, sans-serif;
  font-size: 15px;
  font-weight: 300;
  line-height: 1.5;
  color: #616473;
  text-align: left;
}
.product-detail__spec-extra {
  display: grid;
  grid-template-rows: 0fr;
  overflow: hidden;
  transition: grid-template-rows 0.4s ease;
}
.product-detail.is-specs-expanded .product-detail__spec-extra {
  grid-template-rows: 1fr;
}
.product-detail__spec-extra-inner {
  min-height: 0;
}
.product-detail__spec-extra-inner > .product-detail__spec-row:first-child {
  margin-top: 6px;
}
@media (prefers-reduced-motion: reduce) {
  .product-detail__spec-extra {
    transition-duration: 0.01ms;
  }
}
.product-detail__spec-toggle {
  margin: 16px 0 0;
  padding: 0;
  border: 0;
  border-bottom: 1px dashed #364ed3;
  background: none;
  font-family: Inter, sans-serif;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.4;
  color: #364ed3;
  text-decoration: none;
  cursor: pointer;
}
.product-detail__spec-toggle:hover {
  color: #121a61;
}
.product-detail__spec-toggle:focus-visible {
  outline: 2px solid #364ed3;
  outline-offset: 3px;
}
.product-detail__spec-toggle_hidden {
  display: none !important;
}
.product-detail__buy-row {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 19px;
  width: 100%;
  margin-top: 30px;
}
.product-detail__qty {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 0;
  width: 141px;
  height: 64px;
  padding: 0 12px;
  border-radius: 999px;
  background: #edeef5;
  flex: 0 0 auto;
}
.product-detail__qty-btn {
  position: relative;
  box-sizing: border-box;
  width: 40px;
  height: 40px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 0.15s ease;
}
.product-detail__qty-btn:hover {
  background: #d9dbe8;
}
.product-detail__buy-row.is-added .product-detail__qty-btn:hover {
  background: rgba(255, 255, 255, 0.2);
}
.product-detail__qty-btn:focus-visible {
  outline: 2px solid #364ed3;
  outline-offset: 2px;
}
.product-detail__qty-btn:disabled {
  opacity: 0.35;
  cursor: default;
  pointer-events: none;
}
.product-detail__qty-btn img {
  display: block;
  width: 16px;
  height: 16px;
  filter: none;
}
.product-detail__buy-row:not(.is-added) .product-detail__qty-btn:hover img {
  filter: none;
}
.product-detail__qty-input {
  width: 32px;
  border: 0;
  background: transparent;
  font-family: Inter, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 25px;
  letter-spacing: -0.32px;
  text-align: center;
  color: #101114;
  appearance: textfield;
}
.product-detail__qty-input::-webkit-outer-spin-button,
.product-detail__qty-input::-webkit-inner-spin-button {
  appearance: none;
  margin: 0;
}
.product-detail__add-btn {
  width: auto;
  min-width: 0;
  height: 64px;
  min-height: 64px;
  border-radius: 9999px;
  white-space: normal;
  flex: 1 1 auto;
}
.product-detail__add-btn:disabled {
  opacity: 0.6;
  cursor: default;
  background: #364ed3;
}
.products_similar {
  padding-top: 32px;
}
.products_similar .products__block {
  align-items: center;
}
.products_similar .products__block h2 {
  text-align: center;
}

@media (min-width: 1024px) and (max-width: 1190px) {
  .product-detail__prices {
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
  }
}

@media (min-width: 1024px) and (max-width: 1230px) {
  .product-detail__title {
    font-size: 30px;
    letter-spacing: -0.6px;
  }
}

/* Этап 2: после квадрата ужимается правый sidebar до 400px */
@media (min-width: 1128px) and (max-width: 1280px) {
  .product-detail__layout {
    grid-template-columns: 663px minmax(400px, 1fr);
    gap: 24px;
  }
  .product-detail__media-row {
    grid-template-columns: 100px 550px;
  }
  .product-detail__slider-wrap {
    max-width: 550px;
  }
  .product-detail__swiper {
    width: 550px;
    min-width: 550px;
  }
  .product-detail__sidebar {
    max-width: none;
    width: 100%;
  }
}

/* Этап 3: затем убираем миниатюры (до переключения на планшет 1023px) */
@media (min-width: 1024px) and (max-width: 1127px) {
  .product-detail__layout {
    grid-template-columns: minmax(550px, 1fr) minmax(400px, 1fr);
    gap: 24px;
  }
  .product-detail__media-row {
    grid-template-columns: minmax(0, 1fr);
  }
  .product-detail__thumbs {
    display: none;
  }
  .product-detail__slider-wrap {
    max-width: 550px;
  }
  .product-detail__swiper {
    width: 550px;
    min-width: 550px;
  }
  .product-detail__nav {
    opacity: 1;
    pointer-events: auto;
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .product-detail__heading-block {
    border-bottom: 0;
    padding-bottom: 0;
  }
  .product-detail__layout {
    display: flex;
    flex-direction: column;
    gap: 30px;
  }
  .product-detail__media-col {
    display: flex;
    flex-direction: column;
    gap: 30px;
  }
  .product-detail__media-row {
    display: flex;
    flex-direction: column;
    gap: 16px;
  }
  .product-detail__heading-block_tablet {
    display: block;
    margin-bottom: 0;
  }
  .product-detail__heading-block_tablet .product-detail__title {
    font-size: 30px;
    letter-spacing: -0.6px;
  }
  .product-detail__sidebar-main {
    display: flex;
    flex-direction: column;
  }
  .product-detail__sidebar .product-detail__heading-block {
    border-bottom: 0;
    padding-bottom: 0;
  }
  .product-detail__sidebar .product-detail__heading-block .product-detail__title,
  .product-detail__sidebar .product-detail__heading-block .product-detail__series {
    display: none;
  }
  .product-detail__sidebar .product-detail__heading-block .product-detail__price-row {
    margin-top: 0;
  }
  .product-detail__specs-wrap {
    padding-top: 30px;
  }
  .product-detail__slider-wrap {
    order: 1;
    width: 100%;
  }
  .product-detail__thumbs {
    display: none;
  }
  .product-detail__swiper {
    width: calc(100vw - 40px);
    max-width: calc(100vw - 40px);
    height: calc((100vw - 40px) * 550 / 728);
  }
  .product-detail__nav {
    opacity: 1;
    pointer-events: auto;
  }
  .product-detail__sidebar {
    width: 100%;
    min-height: 0;
  }
  .product-detail__article-body {
    max-width: 100%;
    font-size: 15px;
  }
  .product-detail__buy-row {
    gap: 12px;
  }
  .product-detail__add-btn {
    width: auto;
    min-width: 240px;
    flex: 1 1 auto;
  }
  .product-detail__spec-row {
    white-space: normal;
  }
  .product-detail__specs {
    column-count: 2;
    column-gap: 24px;
  }
  .product-detail__spec-extra-inner {
    column-count: 2;
    column-gap: 24px;
  }
  .product-detail__spec-row {
    break-inside: avoid;
  }
}

@media (max-width: 767px) {
  .product-detail__breadcrumbs {
    display: none;
  }
  .product-detail__heading-block {
    border-bottom: 0;
    padding-bottom: 0;
  }
  .product-detail__sidebar .product-detail__heading-block {
    border-bottom: 1px solid #eff0f7;
    padding-bottom: 30px;
  }
  .product-detail__sidebar .product-detail__heading-block .product-detail__title,
  .product-detail__sidebar .product-detail__heading-block .product-detail__series {
    display: none;
  }
  .product-detail__sidebar .product-detail__heading-block .product-detail__price-row {
    margin-top: 0;
  }
  .product-detail__heading-block_tablet .product-detail__title {
    margin: 0 0 8px;
    font-size: 24px;
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: -0.48px;
  }
  .product-detail__heading-block_tablet .product-detail__series {
    font-size: 13px;
    line-height: 1.5;
  }
  .product-detail__heading-block_tablet {
    display: block;
    order: 0;
    padding-top: 40px;
    padding-left: 16px;
    padding-right: 16px;
    margin-bottom: 16px;
  }
  .product-detail__layout.page__container {
    display: flex;
    flex-direction: column;
    gap: 30px;
    width: 100%;
    max-width: 100%;
    padding: 0;
    margin: 0;
  }
  .product-detail__media-col {
    display: flex;
    flex-direction: column;
    gap: 0;
    max-width: 100%;
    min-width: 0;
  }
  .product-detail__media-row {
    order: 1;
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 30px;
    max-width: 100%;
    min-width: 0;
  }
  .product-detail__slider-wrap {
    order: 1;
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }
  .product-detail__thumbs {
    display: none;
  }
  .product-detail__swiper {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    height: calc(100vw * 550 / 660);
    border-radius: 0;
  }
  .product-detail__nav {
    opacity: 1;
    pointer-events: auto;
    width: 48px;
    height: 48px;
  }
  .product-detail__nav img {
    width: 16px;
    height: 16px;
  }
  .product-detail__nav_prev {
    left: 8px;
  }
  .product-detail__nav_next {
    right: 8px;
  }
  .product-detail__sidebar {
    order: 2;
    width: 100%;
    min-height: 0;
    padding-left: 16px;
    padding-right: 16px;
  }
  .product-detail__article-body {
    order: 3;
    max-width: 100%;
    font-size: 15px;
    line-height: 1.5;
    color: #616473;
    padding-left: 16px;
    padding-right: 16px;
  }
  .product-detail__prices {
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
  }
  .product-detail__price {
    font-size: 18px;
    letter-spacing: -0.32px;
    line-height: 1.2;
  }
  .product-detail__price-old {
    font-size: 12px;
    letter-spacing: -0.24px;
    line-height: 1.2;
  }
  .product-detail__tag {
    font-size: 12px;
  }
  .product-detail__spec-row {
    font-size: 15px;
    line-height: 1.5;
    white-space: normal;
  }
  .product-detail__spec-row dt {
    font-size: 15px;
    font-weight: 500;
  }
  .product-detail__spec-row dd {
    font-size: 15px;
    font-weight: 400;
  }
  .product-detail__spec-toggle {
    margin-top: 16px;
    font-size: 15px;
    line-height: 1.5;
  }
  .product-detail__buy-row {
    margin-top: 40px;
    gap: 16px;
  }
  .product-detail__qty {
    width: 110px;
    height: 50px;
    padding: 0 11px;
    border-radius: 50px;
  }
  .product-detail__qty-btn {
    width: 28px;
    height: 28px;
    min-width: 28px;
  }
  .product-detail__qty-btn img {
    width: 12px;
    height: 12px;
  }
  .product-detail__qty-input {
    width: auto;
    min-width: 1.5em;
    flex: 0 1 auto;
    font-size: 14px;
    line-height: 25px;
    letter-spacing: -0.28px;
  }
  .product-detail__add-btn {
    flex: 1 1 auto;
    width: auto;
    min-width: 0;
    height: 50px;
    min-height: 50px;
    padding: 10px 16px;
    font-size: 15px;
    font-weight: 400;
    border-radius: 9999px;
  }
  .product-detail__thumb {
    flex: 0 0 64px;
    width: 64px;
    height: 64px;
  }
}

/* ===== Корзина: футер к низу экрана при малом контенте (в т.ч. пустая корзина) ===== */
body.page-cart {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}
body.page-cart .site {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
}
body.page-cart main {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
}
/* ===== Корзина (макет Figma: список до 662px, итоги с разделителем снизу под списком) ===== */
.page-cart .cart {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
  padding-top: 24px;
  padding-bottom: 80px;
}
@media (min-width: 1024px) {
  .page-cart .cart {
    padding-top: 50px;
    padding-bottom: 150px;
  }
}
.page-cart .cart__inner {
  display: flex;
  flex-direction: column;
  gap: 48px;
  max-width: 662px;
  margin-left: auto;
  margin-right: auto;
}
.page-cart .cart__inner.is-empty {
  flex: 1;
  justify-content: center;
  max-width: none;
  width: 100%;
  gap: 0;
}
.page-cart .cart__inner.is-empty .cart__head {
  display: none;
}
.page-cart .cart__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.page-cart .cart__title {
  margin: 0;
  font-family: Inter, sans-serif;
  font-weight: 500;
  font-size: clamp(28px, 5vw, 40px);
  line-height: 1;
  letter-spacing: -0.02em;
  color: #000;
}
.page-cart .cart__clear {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 0;
  border: 0;
  background: transparent;
  font-family: Inter, sans-serif;
  font-weight: 500;
  font-size: 12px;
  line-height: 1;
  color: #616473;
  opacity: 0.75;
  cursor: pointer;
  transition: opacity 0.2s ease;
}
.page-cart .cart__clear:hover {
  opacity: 1;
}
.page-cart .cart__clear img {
  flex-shrink: 0;
}
.page-cart .cart__layout {
  display: flex;
  flex-direction: column;
  gap: 48px;
  align-items: flex-start;
}
.page-cart .cart__list {
  display: flex;
  flex-direction: column;
  gap: 48px;
  width: 100%;
}
.page-cart .cart-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}
.page-cart .cart-item__pic {
  flex-shrink: 0;
  display: block;
  width: 150px;
  height: 150px;
  border-radius: 8px;
  overflow: hidden;
  background: #edeef5;
}
.page-cart .cart-item__pic-img {
  display: block;
  width: 150px;
  height: 150px;
  object-fit: cover;
}
.page-cart .cart-item__content {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
  min-height: 150px;
}
.page-cart .cart-item__body {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  width: 100%;
}
.page-cart .cart-item__info {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}
.page-cart .cart-item__name {
  margin: 0;
  font-family: Inter, sans-serif;
  font-weight: 500;
  font-size: 16px;
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: #000;
}
.page-cart .cart-item__meta {
  margin: 0;
  font-family: Geist, Inter, sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 20px;
  color: #616473;
}
.page-cart .cart-item__unit-price {
  margin: 0;
  padding: 0;
  font-family: Geist, Inter, sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 20px;
  min-height: 20px;
  color: #616473;
}
/* Место под строку «…/шт.» всегда зарезервировано — без скачка при переключении количества */
.page-cart .cart-item__unit-price[hidden] {
  display: block !important;
  visibility: hidden;
  max-height: 20px;
  overflow: hidden;
}
.page-cart .cart-item__price {
  flex-shrink: 0;
  font-family: Inter, sans-serif;
  font-weight: 500;
  font-size: 16px;
  line-height: 24px;
  letter-spacing: -0.01em;
  color: #000;
  white-space: nowrap;
}
.page-cart .cart-item__actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.page-cart .cart-item__qty {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 120px;
  height: 44px;
  padding: 10px 12px;
  border: 1px solid #edeef5;
  border-radius: 9999px;
  box-sizing: border-box;
}
.page-cart .cart-item__qty-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  transition: background-color 0.2s ease;
}
.page-cart .cart-item__qty-btn:hover:not(.cart-item__qty-btn_disabled) {
  background: #f4f4f5;
}
.page-cart .cart-item__qty-btn_disabled {
  opacity: 0.5;
  pointer-events: none;
}
.page-cart .cart-item__qty-num {
  font-family: Inter, sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 25px;
  letter-spacing: -0.02em;
  color: #000;
}
.page-cart .cart-item__delete {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid #edeef5;
  border-radius: 9999px;
  background: #fff;
  cursor: pointer;
  transition: background-color 0.2s ease;
}
.page-cart .cart-item__delete:hover {
  background: #f4f4f5;
}
.page-cart .cart-item__delete img {
  display: block;
}
.page-cart .cart__summary {
  width: 100%;
  padding-top: 48px;
  border-top: 1px solid #edeef5;
  display: flex;
  flex-direction: column;
  gap: 60px;
}
.page-cart .cart-summary_compact {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.page-cart .cart-summary__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-family: Inter, sans-serif;
  font-weight: 500;
  font-size: 16px;
  line-height: 1.1;
  color: #000;
}
.page-cart .cart-summary__row_highlight .cart-summary__value_amount {
  font-weight: 600;
  font-size: 24px;
}
.page-cart .cart-summary__value_note {
  font-weight: 500;
  text-align: right;
}
.page-cart .cart__checkout {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 64px;
  padding: 10px 40px;
  border-radius: 9999px;
  font-family: Inter, sans-serif;
  font-weight: 400;
  font-size: 16px;
  text-decoration: none;
  box-sizing: border-box;
}
.page-cart .cart__empty-state[hidden] {
  display: none !important;
}
.page-cart .cart__empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 48px;
  max-width: 356px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.page-cart .cart__empty-title {
  margin: 0;
  font-family: Inter, sans-serif;
  font-weight: 500;
  font-size: clamp(28px, 5vw, 40px);
  line-height: 1;
  letter-spacing: -0.02em;
  color: #000;
}
.page-cart .cart__empty-lead {
  margin: 0;
  font-family: Inter, sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.1;
  color: #000;
}
.page-cart .cart__empty-cta {
  width: 100%;
  min-height: 64px;
  padding: 10px 40px;
  border-radius: 9999px;
  font-family: Inter, sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1;
  text-decoration: none;
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.page-cart .cart__inner.is-empty .cart__layout {
  display: none;
}
/* Мобильная корзина — Figma 44:2429 */
@media (max-width: 767px) {
  .page-cart .cart {
    padding-top: 50px;
    padding-bottom: 60px;
    padding-left: 16px;
    padding-right: 16px;
  }
  .page-cart .cart__inner.page__container {
    width: 100%;
    max-width: none;
    margin-left: 0;
    margin-right: 0;
  }
  .page-cart .cart__inner {
    gap: 32px;
  }
  .page-cart .cart__layout {
    gap: 32px;
  }
  .page-cart .cart__list {
    gap: 32px;
  }
  .page-cart .cart__head {
    align-items: flex-end;
    gap: 12px;
  }
  .page-cart .cart__title {
    font-size: 24px;
    line-height: 1.29;
    letter-spacing: -0.02em;
  }
  .page-cart .cart-item {
    gap: 12px;
    align-items: flex-start;
  }
  .page-cart .cart-item__pic,
  .page-cart .cart-item__pic-img {
    width: 85px;
    height: 85px;
    border-radius: 4px;
  }
  .page-cart .cart-item__content {
    min-height: 0;
    gap: 0;
  }
  .page-cart .cart-item__content:has(.cart-item__unit-price:not([hidden])) {
    gap: 4px;
  }
  .page-cart .cart-item__body {
    gap: 16px;
    align-items: flex-start;
    flex-wrap: nowrap;
  }
  .page-cart .cart-item__info {
    gap: 4px;
  }
  .page-cart .cart-item__name {
    font-size: 16px;
    line-height: 1.4;
    letter-spacing: -0.01em;
  }
  .page-cart .cart-item__meta {
    font-size: 13px;
    line-height: 20px;
    opacity: 0.75;
  }
  .page-cart .cart-item__unit-price {
    font-size: 13px;
    line-height: 20px;
    min-height: 20px;
    opacity: 0.75;
  }
  .page-cart .cart-item__unit-price[hidden] {
    max-height: 20px;
  }
  .page-cart .cart-item__price {
    font-size: 16px;
    line-height: 24px;
    letter-spacing: -0.01em;
    font-weight: 500;
  }
  .page-cart .cart-item__actions {
    width: 100%;
    justify-content: space-between;
    gap: 12px;
  }
  .page-cart .cart__summary {
    padding-top: 32px;
    gap: 48px;
  }
  .page-cart .cart-summary__row {
    font-weight: 400;
    font-size: 14px;
    line-height: 1.1;
  }
  .page-cart .cart-summary__row_highlight .cart-summary__value_amount {
    font-size: 18px;
    font-weight: 600;
    line-height: 1.1;
  }
  .page-cart .cart-summary__value_note {
    font-weight: 400;
  }
  .page-cart .cart__checkout {
    min-height: 50px;
    font-size: 15px;
    padding: 10px 40px;
  }
}

/* ===== Страница оформления заказа (page-order), макет Figma 48:2468 ===== */
.page-order {
  background: #fff;
}

.page-order .order {
  padding: 50px 0 100px;
}

.page-order .order__layout {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 48px;
  width: 100%;
}

.page-order .order__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
  max-width: 662px;
}

.page-order .order__title {
  margin: 0;
  font-family: Inter, sans-serif;
  font-weight: 500;
  font-size: 40px;
  line-height: 0.771;
  letter-spacing: -0.8px;
  color: #000;
}

.page-order .order__to-cart {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  font-family: Inter, sans-serif;
  font-weight: 500;
  font-size: 12px;
  line-height: normal;
  color: #000;
  text-decoration: none;
}

.page-order .order__to-cart:hover {
  color: var(--accent);
}

.page-order .order__to-cart img {
  flex-shrink: 0;
  display: block;
}

.page-order .order__sheet {
  width: 100%;
  max-width: 662px;
  background: #fff;
}

.page-order .order__form {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.page-order .order__fields {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.page-order .order__contact-fields {
  display: contents;
}

.page-order .order .input {
  gap: 4px;
}

.page-order .order .input__label {
  font-family: Inter, sans-serif;
  font-weight: 500;
  font-size: 15px;
  line-height: 20px;
  letter-spacing: -0.15px;
  color: #000;
}

.page-order .order .input__label_compact {
  font-size: 14px;
  letter-spacing: -0.14px;
}

.page-order .order .input__wrap {
  border-color: #e4e4e7;
  border-radius: 6px;
  min-height: 44px;
  padding: 4px 12px;
}

.page-order .order .input_phone .input__wrap,
.page-order .order .input:not(.input_variant_textarea) .input__wrap {
  height: 44px;
  box-sizing: border-box;
}

.page-order .order .input_variant_textarea .input__wrap {
  height: auto;
  min-height: 88px;
  align-items: flex-start;
  padding-top: 10px;
  padding-bottom: 10px;
}

.page-order .order .input_variant_textarea .input__field {
  min-height: 68px;
  resize: none;
}

.page-order .order__delivery-block {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.page-order .order__delivery-label {
  margin: 0;
  font-family: Geist, Inter, sans-serif;
  font-weight: 500;
  font-size: 15px;
  line-height: 20px;
  letter-spacing: -0.15px;
  color: #000;
}

.page-order .order .radio-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.page-order .order .radio-group_vertical .radio-group__item {
  display: flex;
}

.page-order .order .radio-group__item_block {
  align-items: flex-start;
  width: 100%;
  max-width: 100%;
  gap: 8px;
}

.page-order .order .radio-group__content {
  display: flex;
  flex-direction: column;
  gap: 0;
  flex: 1;
  min-width: 0;
}

.page-order .order .radio-group__item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 0;
  padding-left: 2px;
  cursor: pointer;
}

.page-order .order .radio-group__input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.page-order .order .radio-group__circle {
  width: 16px;
  height: 16px;
  border: 1px solid #000;
  border-radius: 999px;
  margin-top: 2px;
  position: relative;
  flex: 0 0 auto;
  box-sizing: border-box;
  background: #fff;
}

.page-order .order .radio-group__input:checked + .radio-group__circle::after {
  content: "";
  position: absolute;
  inset: 2px;
  border-radius: 50%;
  background: #000;
}

.page-order .order .radio-group__text {
  font-family: Inter, sans-serif;
  font-weight: 400;
  font-size: 15px;
  line-height: 20px;
  color: #000;
}

.page-order .order .radio-group__desc {
  margin: 0;
  margin-top: 0;
  font-family: Inter, sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 20px;
  color: #71717a;
}

.page-order .order__address-panel {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.page-order .order__address-panel[hidden] {
  display: none !important;
}

.page-order .order__totals {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
}

.page-order .order__positions {
  margin: 0;
  font-family: Inter, sans-serif;
  font-weight: 400;
  font-size: 15px;
  line-height: 24px;
  letter-spacing: -0.15px;
  color: #000;
}

.page-order .order__total-line {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
}

.page-order .order__total-caption {
  font-family: Inter, sans-serif;
  font-weight: 600;
  font-size: 15px;
  line-height: 24px;
  letter-spacing: -0.15px;
  color: #000;
}

.page-order .order__total-value {
  margin: 0;
  font-family: Inter, sans-serif;
  font-weight: 600;
  font-size: 24px;
  line-height: 32px;
  color: #000;
  white-space: nowrap;
}

.page-order .order__consent {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.page-order .order__consent_error .order__consent-checkbox {
  border-color: #e24545;
}

.page-order .order__consent .input__error.input__error_hidden {
  display: none;
}

.page-order .order__consent .input__error {
  display: block;
}

.page-order .order__consent-label {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  cursor: pointer;
  font-family: Inter, sans-serif;
  font-size: 14px;
  line-height: 20px;
  font-weight: 500;
  letter-spacing: -0.14px;
  color: #18181b;
}

.page-order .order__consent-input {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.page-order .order__consent-checkbox {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  margin-top: 2px;
  border: 1px solid #18181b;
  border-radius: 2px;
  background: #fff;
  transition: background-color 0.2s, border-color 0.2s;
}

.page-order .order__consent-input:checked + .order__consent-checkbox {
  background: #18181b;
  border-color: #18181b;
}

.page-order .order__consent-checkbox .order__consent-icon {
  opacity: 0;
  transition: opacity 0.2s;
}

.page-order .order__consent-input:checked + .order__consent-checkbox .order__consent-icon {
  opacity: 1;
}

.page-order .order__consent-text {
  flex: 1;
  min-width: 0;
}

.page-order .order__consent-text a {
  text-decoration: underline;
  color: inherit;
}

.page-order .order__consent-text a:hover {
  color: #71717a;
}

.page-order .order__bottom {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.page-order .order__actions {
  width: 100%;
}

.page-order .order__submit {
  width: 100%;
  height: 60px;
  padding: 10px 40px;
  box-sizing: border-box;
  border: none;
  border-radius: 9999px;
  background: #364ed3;
  font-family: Inter, sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: normal;
  color: #fff;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.page-order .order__submit:hover:not(:disabled) {
  background: #121a61;
}

.page-order .order__submit:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

@media (min-width: 768px) and (max-width: 1023px) {
  .page-cart .cart__title {
    font-size: 32px;
    line-height: 1;
    letter-spacing: -0.02em;
  }

  .page-order .order__title {
    font-size: 32px;
    line-height: 1;
    letter-spacing: -0.64px;
  }
}

@media (max-width: 767px) {
  .page-order .order {
    padding: 32px 0 72px;
  }

  .page-order .order__layout.page__container {
    width: 100%;
    max-width: none;
    padding-left: 16px;
    padding-right: 16px;
    box-sizing: border-box;
    gap: 24px;
  }

  .page-order .order__form {
    gap: 24px;
  }

  .page-order .order__head {
    flex-direction: column;
    align-items: flex-start;
    max-width: none;
    width: 100%;
  }

  .page-order .order__contact-fields {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 8px;
    box-sizing: border-box;
  }

  .page-order .order__title {
    font-size: 23px;
    line-height: 1.15;
    letter-spacing: -0.46px;
  }

  .page-order .order__to-cart {
    font-size: 11px;
  }

  .page-order .order .input__label {
    font-size: 14px;
    line-height: 19px;
    letter-spacing: -0.14px;
  }

  .page-order .order .input__label_compact {
    font-size: 13px;
    letter-spacing: -0.13px;
  }

  .page-order .order .input__field {
    font-size: 13px;
    line-height: 19px;
  }

  .page-order .order__delivery-label {
    font-size: 14px;
    line-height: 19px;
    letter-spacing: -0.14px;
  }

  .page-order .order .radio-group__text {
    font-size: 14px;
    line-height: 19px;
  }

  .page-order .order .radio-group__desc {
    font-size: 13px;
    line-height: 19px;
  }

  .page-order .order__positions {
    font-size: 14px;
    line-height: 23px;
    letter-spacing: -0.14px;
  }

  .page-order .order__total-caption {
    font-size: 14px;
    line-height: 23px;
    letter-spacing: -0.14px;
  }

  .page-order .order__consent-label {
    font-size: 13px;
    line-height: 19px;
    letter-spacing: -0.13px;
  }

  .page-order .order__submit {
    font-size: 15px;
  }

  .page-order .order .input__error {
    font-size: 11px;
    line-height: 15px;
  }

  .page-order .order__sheet {
    max-width: none;
    width: 100%;
  }

  .page-order .order__total-value {
    font-size: clamp(19px, 5vw, 23px);
    line-height: 1.25;
  }
}

/* ---------- Список товаров в разделе каталога ---------- */
.catalog-section {
  padding: 50px 0 40px;
}
.catalog-section__title {
  margin: 0 0 36px;
  font-size: 40px;
  line-height: 30.85px;
  letter-spacing: -0.8px;
  font-weight: 500;
  color: #000;
}
.catalog-section__grid {
  gap: 24px 12px;
}
.catalog-section__empty {
  margin: 0;
  grid-column: 1 / -1;
  font-size: 16px;
  color: #616473;
}
.catalog-search__form {
  width: 100%;
  margin: 0 0 32px;
}
.catalog-search__field {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  height: 44px;
  padding: 0 12px 0 16px;
  border: 1px solid #d9dbe8;
  border-radius: 8px;
  background: #fff;
  box-sizing: border-box;
}
.catalog-search__input {
  flex: 1 1 auto;
  min-width: 0;
  height: 100%;
  border: 0;
  outline: none;
  padding: 0 36px 0 0;
  font-family: Inter, sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 24px;
  letter-spacing: -0.14px;
  color: #101114;
  background: transparent;
  -webkit-appearance: none;
  appearance: none;
}
.catalog-search__input::-webkit-search-cancel-button,
.catalog-search__input::-webkit-search-decoration {
  -webkit-appearance: none;
  appearance: none;
  display: none;
}
.catalog-search__input::placeholder {
  color: #9699ae;
}
.catalog-search__clear {
  position: absolute;
  top: 50%;
  right: 8px;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  padding: 0;
  border: 0;
  border-radius: 4px;
  background: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
  color: #9699ae;
}
.catalog-search__clear:hover,
.catalog-search__clear:focus-visible {
  outline: none;
}
.catalog-search__clear:focus-visible {
  box-shadow: 0 0 0 2px rgba(54, 78, 211, 0.35);
}
.catalog-search__clear img {
  display: block;
  width: 16px;
  height: 16px;
  opacity: 0.65;
}
.catalog-search__clear:hover img,
.catalog-search__clear:focus-visible img {
  opacity: 1;
}
.catalog-section__lazy-sentinel {
  position: relative;
  min-height: 48px;
  margin-top: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}
.catalog-section__lazy-spinner {
  display: none;
  width: 28px;
  height: 28px;
  border: 2px solid #edeef5;
  border-top-color: #364ed3;
  border-radius: 50%;
  animation: catalog-section-spin 0.65s linear infinite;
}
.catalog-section__lazy-sentinel.is-loading .catalog-section__lazy-spinner {
  display: block;
}
@keyframes catalog-section-spin {
  to { transform: rotate(360deg); }
}
.product-seo {
  margin-top: 0;
  margin-bottom: 0;
}
.product-seo__content-wrap {
  position: relative;
}
.product-seo__content-wrap.is-collapsed {
  max-height: 92px;
  overflow: hidden;
}
.product-seo__content-wrap.is-collapsed::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 56px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, #fff 100%);
  pointer-events: none;
}
.product-seo__content {
  color: #1f2130;
  font-size: 16px;
  line-height: 1.5;
}
.product-seo__content > *:first-child {
  margin-top: 0;
}
.product-seo__content > *:last-child {
  margin-bottom: 0;
}
.product-seo__toggle {
  margin-top: 12px;
  border: 0;
  padding: 0;
  background: transparent;
  color: #364ed3;
  font-size: 14px;
  line-height: 1.4;
  text-decoration: underline;
  cursor: pointer;
}
@media (max-width: 1023px) {
  .catalog-section__title {
    font-size: 32px;
    letter-spacing: -0.64px;
    margin-bottom: 28px;
  }
  .catalog-section__grid {
    gap: 20px;
  }
}
@media (max-width: 767px) {
  .catalog-section {
    padding: 32px 0 28px;
  }
  .catalog-section__lazy-sentinel {
    margin-top: 24px;
  }
}

/* ===== Юридические страницы (page-legal), макет как корзина/заказ ===== */
.page-legal {
  background: #fff;
}

.page-legal .legal {
  padding: 50px 0 100px;
}

.page-legal .legal__layout {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 48px;
  width: 100%;
}

.page-legal .legal__head {
  width: 100%;
  max-width: 662px;
  text-align: center;
}

.page-legal .legal__title {
  margin: 0;
  font-family: Inter, sans-serif;
  font-weight: 500;
  font-size: 40px;
  line-height: 0.771;
  letter-spacing: -0.8px;
  color: #000;
}

.page-legal .legal__sheet {
  width: 100%;
  max-width: 662px;
}

.page-legal .legal__content {
  font-family: Inter, sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 1.5;
  letter-spacing: -0.14px;
  color: #000;
}

.page-legal .legal__content > :first-child {
  margin-top: 0;
}

.page-legal .legal__content p,
.page-legal .legal__content ul,
.page-legal .legal__content ol {
  margin: 0 0 16px;
}

.page-legal .legal__content h3 {
  margin: 32px 0 16px;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.16px;
}

.page-legal .legal__content h3:first-child {
  margin-top: 0;
}

.page-legal .legal__content ul,
.page-legal .legal__content ol {
  padding-left: 20px;
}

.page-legal .legal__content li {
  margin-bottom: 8px;
}

.page-legal .legal__content li:last-child {
  margin-bottom: 0;
}

.page-legal .legal__content a {
  color: #364ed3;
  text-decoration: underline;
}

.page-legal .legal__content a:hover {
  color: #121a61;
}

@media (min-width: 768px) and (max-width: 1023px) {
  .page-legal .legal__title {
    font-size: 32px;
    line-height: 1;
    letter-spacing: -0.02em;
  }
}

@media (max-width: 767px) {
  .page-legal .legal {
    padding: 24px 0 80px;
  }

  .page-legal .legal__layout.page__container {
    gap: 32px;
  }

  .page-legal .legal__title {
    font-size: 28px;
    line-height: 1.05;
    letter-spacing: -0.02em;
  }

  .page-legal .legal__content {
    font-size: 13px;
    line-height: 1.45;
  }
}

/* Страница «Наши работы» — список */
.page-portfolio .categories {
  padding-top: 50px;
}
@media (min-width: 768px) {
  .page-portfolio .categories {
    padding-top: 80px;
  }
}

/* Детальная портфолио */
.page-portfolio-detail .works {
  padding-top: 50px;
  padding-bottom: 50px;
}
@media (min-width: 768px) {
  .page-portfolio-detail .works {
    padding-top: 80px;
  }
}
.page-portfolio-detail .works__grid {
  margin-bottom: 0;
}
.portfolio-detail__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 36px;
}
.portfolio-detail__title {
  margin: 0;
  flex: 1 1 auto;
  min-width: 0;
  font-family: Inter, sans-serif;
  font-weight: 500;
  font-size: 40px;
  line-height: 1;
  letter-spacing: -0.8px;
  color: #000;
}
.portfolio-detail__back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  font-family: Inter, sans-serif;
  font-weight: 500;
  font-size: 12px;
  line-height: normal;
  color: #000;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.2s ease;
}
.portfolio-detail__back img {
  flex-shrink: 0;
  display: block;
}
.portfolio-detail__back:hover {
  color: #364ed3;
}
.portfolio-detail__empty {
  margin: 0;
  font-family: Inter, sans-serif;
  font-size: 18px;
  line-height: 1.5;
  color: var(--muted);
}

body.page-portfolio:not(.page-catalog) main > section.choose-object + section.hero.page__container {
  margin-top: var(--home-section-margin);
}

@media (max-width: 767px) {
  .portfolio-detail__head {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
  .portfolio-detail__title {
    font-size: 28px;
    letter-spacing: -0.56px;
  }
}

/* ===== Страница «О компании» (page-about), макет Figma 93:192 ===== */
.page-about {
  background: #fff;
}

body.page-about main > section {
  margin-top: 0;
  margin-bottom: 0;
}

body.page-about .footer {
  position: relative;
  z-index: 40;
  margin-top: 0;
  background: #fff;
}

body.page-about .footer::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 0;
  bottom: 0;
  left: calc(50% - 50vw);
  right: calc(50% - 50vw);
  background: #fff;
}

.page-about .about {
  padding: 50px 0 150px;
}

.page-about .about__layout {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 36px;
  width: 100%;
}

.page-about .about__head,
.page-about .about__sheet {
  width: 100%;
  max-width: 662px;
}

.page-about .about__head {
  text-align: left;
}

.page-about .about__title {
  margin: 0;
  font-family: Inter, sans-serif;
  font-weight: 500;
  font-size: 40px;
  line-height: 0.771;
  letter-spacing: -0.8px;
  color: #000;
}

.page-about .about__sheet {
  display: flex;
  flex-direction: column;
  gap: 36px;
}

.page-about .about__lead {
  margin: 0;
  font-family: Inter, sans-serif;
  font-weight: 400;
  font-size: 24px;
  line-height: 1.5;
  color: #364ed3;
}

.page-about .about__text {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.page-about .about__text p {
  margin: 0 0 16px;
  font-family: Inter, sans-serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 1.5;
  color: #000;
}

.page-about .about__text p:last-child {
  margin-bottom: 0;
}

.page-about .about__stats {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.page-about .about__stat {
  flex: 1 1 0;
  min-width: 0;
}

.page-about .about__stat-value {
  margin: 0;
  font-family: Inter, sans-serif;
  font-weight: 400;
  font-size: 44px;
  line-height: 1.2;
  letter-spacing: -2.64px;
  color: #364ed3;
}

.page-about .about__stat-label {
  margin: 0;
  max-width: 150px;
  font-family: Inter, sans-serif;
  font-weight: 400;
  font-size: 15px;
  line-height: 1.5;
  letter-spacing: -0.45px;
  color: #71717a;
}

.page-about .about__video-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 662 / 328;
  border-radius: 8px;
  overflow: hidden;
  background: #101114;
}

.page-about .about__video-el {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center bottom;
  display: block;
}

.page-about .about__video-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.page-about .about__video-frame.is-playing .about__video-overlay {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.page-about .about__video-poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center bottom;
  pointer-events: none;
}

.page-about .about__video-play-btn {
  position: relative;
  z-index: 1;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.page-about .about__video-play-btn:focus-visible {
  outline: 2px solid #98a7ff;
  outline-offset: 2px;
  border-radius: 50%;
}

.page-about .about__video-play {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 86px;
  height: 86px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
}

.page-about .about__video-play-icon {
  width: 42px;
  height: 42px;
  margin-left: 4px;
  display: block;
}

.page-about .about__note {
  margin: 0;
  font-family: Inter, sans-serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 1.5;
  color: #000;
}

.page-about .about__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
  align-items: center;
}

.page-about .about__action-btn {
  box-sizing: border-box;
  height: 64px;
  padding: 0 40px;
  border-radius: 9999px;
  font-family: Inter, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.page-about .about__action-btn_primary {
  border: 0;
  background: #364ed3;
  color: #fff;
  cursor: pointer;
}

.page-about .about__action-btn_primary:hover {
  background: #121a61;
  color: #fff;
}

.page-about .about__action-btn_secondary {
  border: 1px solid #364ed3;
  background: transparent;
  color: #364ed3;
}

.page-about .about__action-btn_secondary:hover {
  background: #364ed3;
  color: #fff;
}

@media (min-width: 768px) and (max-width: 1023px) {
  .page-about .about__title {
    font-size: 32px;
    line-height: 1;
    letter-spacing: -0.02em;
  }

  .page-about .about__lead {
    font-size: 22px;
  }
}

@media (max-width: 767px) {
  .page-about .about {
    padding: 24px 0 80px;
  }

  .page-about .about__layout.page__container {
    width: 100%;
    max-width: none;
    padding-left: 16px;
    padding-right: 16px;
    box-sizing: border-box;
    gap: 32px;
  }

  .page-about .about__title {
    font-size: 28px;
    line-height: 1.05;
    letter-spacing: -0.02em;
  }

  .page-about .about__lead {
    font-size: 20px;
  }

  .page-about .about__text p,
  .page-about .about__note {
    font-size: 16px;
  }

  .page-about .about__stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px 16px;
  }

  .page-about .about__stat-value {
    font-size: 36px;
    letter-spacing: -2px;
  }

  .page-about .about__stat-label {
    max-width: none;
    font-size: 14px;
  }

  .page-about .about__video-play {
    width: 72px;
    height: 72px;
  }

  .page-about .about__video-play-icon {
    width: 32px;
    height: 32px;
    margin-left: 3px;
  }

  .page-about .about__actions {
    flex-direction: column;
    width: 100%;
  }

  .page-about .about__action-btn {
    width: 100%;
  }
}

/* Декор «О компании»: фото портфолио снизу вверх (планшет + десктоп) */
body.page-about main {
  position: relative;
  z-index: 1;
}

body.page-about .subnav {
  position: relative;
  z-index: 40;
}

body.page-about .subnav::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 0;
  bottom: 0;
  left: calc(50% - 50vw);
  right: calc(50% - 50vw);
  background: #fff;
}

@media (min-width: 1024px) {
  body.page-about .subnav {
    overflow-x: visible;
    -webkit-mask-image: none;
    mask-image: none;
    justify-content: space-between;
  }
}

.page-about .about-float {
  position: fixed;
  inset: 0;
  z-index: 10;
  pointer-events: none;
  overflow: hidden;
  --about-float-max-w: clamp(112px, 14vw, 200px);
  --about-float-max-h: clamp(96px, 11.2vw, 160px);
}

.page-about .about-float[hidden] {
  display: none !important;
}

.page-about .about-float__lane {
  position: absolute;
  top: 0;
  bottom: 0;
  width: max(0px, calc((100vw - min(662px, calc(100vw - 32px))) / 2 - 50px));
  overflow: visible;
  -webkit-mask-image: linear-gradient(to top, transparent 0, #000 120px);
  mask-image: linear-gradient(to top, transparent 0, #000 120px);
}

.page-about .about-float__lane_left {
  left: 0;
}

.page-about .about-float__lane_right {
  right: 0;
}

@keyframes about-float-rise {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(0, calc(-100vh - 100% - var(--about-float-top, 88px)), 0);
  }
}

.page-about .about-float__item {
  position: absolute;
  bottom: 0;
  left: 0;
  max-width: var(--about-float-max-w);
  max-height: var(--about-float-max-h);
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 8px;
  animation: about-float-rise var(--about-float-duration, 22s) linear forwards;
  will-change: transform;
  backface-visibility: hidden;
}

@media (max-width: 767px) {
  .page-about .about-float {
    display: none !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-about .about-float {
    display: none !important;
  }
}

/* ===== Страница «Доставка и оплата» (page-delivery-payment), макет Figma 95:8 ===== */
.page-delivery-payment {
  background: #fff;
}

body.page-delivery-payment main > section {
  margin-top: 0;
  margin-bottom: 0;
}

body.page-delivery-payment .footer {
  margin-top: 0;
}

.delivery-payment {
  padding: 50px 0 150px;
}

.delivery-payment__layout {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 36px;
  width: 100%;
}

.delivery-payment__head,
.delivery-payment__sheet {
  width: 100%;
  max-width: 662px;
}

.delivery-payment__head {
  text-align: left;
}

.delivery-payment__title {
  margin: 0;
  font-family: Inter, sans-serif;
  font-weight: 500;
  font-size: 40px;
  line-height: 0.771;
  letter-spacing: -0.8px;
  color: #000;
}

.delivery-payment__sheet {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.delivery-payment__section {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.delivery-payment__section + .delivery-payment__section {
  margin-top: 48px;
}

.delivery-payment__section-title {
  margin: 0;
  font-family: Inter, sans-serif;
  font-weight: 400;
  font-size: 24px;
  line-height: 1.5;
  color: #364ed3;
}

.delivery-payment__content {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.delivery-payment__content p {
  margin: 0;
  font-family: Inter, sans-serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 1.5;
  color: #000;
}

.delivery-payment__subheading {
  margin: 27px 0 0;
  font-family: Inter, sans-serif;
  font-weight: 600;
  font-size: 18px;
  line-height: 1.5;
  color: #000;
}

.delivery-payment__list {
  margin: 0;
  padding: 0 0 0 27px;
  font-family: Inter, sans-serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 1.5;
  color: #000;
}

.delivery-payment__list li {
  margin: 0;
}

.delivery-payment__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
  align-items: center;
  margin-top: 36px;
}

.delivery-payment__action-btn {
  box-sizing: border-box;
  height: 64px;
  padding: 0 40px;
  border-radius: 9999px;
  font-family: Inter, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.delivery-payment__action-btn_primary {
  border: 0;
  background: #364ed3;
  color: #fff;
  cursor: pointer;
}

.delivery-payment__action-btn_primary:hover {
  background: #121a61;
  color: #fff;
}

.delivery-payment__action-btn_secondary {
  border: 1px solid #364ed3;
  background: transparent;
  color: #364ed3;
}

.delivery-payment__action-btn_secondary:hover {
  background: #364ed3;
  color: #fff;
}

@media (min-width: 768px) and (max-width: 1023px) {
  .delivery-payment__title {
    font-size: 32px;
    line-height: 1;
    letter-spacing: -0.02em;
  }

  .delivery-payment__section-title {
    font-size: 22px;
  }
}

@media (max-width: 767px) {
  .delivery-payment {
    padding: 24px 0 80px;
  }

  .delivery-payment__layout.page__container {
    width: 100%;
    max-width: none;
    padding-left: 16px;
    padding-right: 16px;
    box-sizing: border-box;
    gap: 32px;
  }

  .delivery-payment__title {
    font-size: 28px;
    line-height: 1.05;
    letter-spacing: -0.02em;
  }

  .delivery-payment__section-title {
    font-size: 20px;
  }

  .delivery-payment__content p,
  .delivery-payment__subheading,
  .delivery-payment__list {
    font-size: 16px;
  }

  .delivery-payment__actions {
    flex-direction: column;
    width: 100%;
  }

  .delivery-payment__action-btn {
    width: 100%;
  }
}

/* ===== Страница «Партнерам» (page-partners), макет Figma 96:143 ===== */
.page-partners {
  background: #fff;
}

body.page-partners main > section {
  margin-top: 0;
  margin-bottom: 0;
}

body.page-partners .footer {
  margin-top: 0;
}

.partners {
  padding: 50px 0 150px;
}

.partners__layout {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 36px;
  width: 100%;
}

.partners__head,
.partners__sheet {
  width: 100%;
  max-width: 662px;
}

.partners__head {
  text-align: left;
}

.partners__title {
  margin: 0;
  font-family: Inter, sans-serif;
  font-weight: 500;
  font-size: 40px;
  line-height: 0.771;
  letter-spacing: -0.8px;
  color: #000;
}

.partners__sheet {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.partners__section {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.partners__section + .partners__section {
  margin-top: 48px;
}

.partners__section-title {
  margin: 0;
  font-family: Inter, sans-serif;
  font-weight: 400;
  font-size: 24px;
  line-height: 1.5;
  color: #364ed3;
}

.partners__content {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.partners__content p {
  margin: 0;
  font-family: Inter, sans-serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 1.5;
  color: #000;
}

.partners__content ul + p,
.partners__content p + ul {
  margin-top: 27px;
}

.partners__list {
  margin: 0;
  padding: 0 0 0 27px;
  list-style: disc;
  font-family: Inter, sans-serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 1.5;
  color: #000;
}

.partners__list li {
  margin: 0;
}

.partners__contacts-label {
  font-weight: 600;
}

.partners__contacts p {
  line-height: 2;
}

.partners__contacts a {
  color: inherit;
  text-decoration: none;
}

.partners__contacts a:hover {
  color: #364ed3;
}

.partners__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
  align-items: center;
  margin-top: 36px;
}

.partners__action-btn {
  box-sizing: border-box;
  height: 64px;
  padding: 0 40px;
  border-radius: 9999px;
  font-family: Inter, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.partners__action-btn_primary {
  border: 0;
  background: #364ed3;
  color: #fff;
  cursor: pointer;
}

.partners__action-btn_primary:hover {
  background: #121a61;
  color: #fff;
}

.partners__action-btn_secondary {
  border: 1px solid #364ed3;
  background: transparent;
  color: #364ed3;
}

.partners__action-btn_secondary:hover {
  background: #364ed3;
  color: #fff;
}

@media (min-width: 768px) and (max-width: 1023px) {
  .partners__title {
    font-size: 32px;
    line-height: 1;
    letter-spacing: -0.02em;
  }

  .partners__section-title {
    font-size: 22px;
  }
}

@media (max-width: 767px) {
  .partners {
    padding: 24px 0 80px;
  }

  .partners__layout.page__container {
    width: 100%;
    max-width: none;
    padding-left: 16px;
    padding-right: 16px;
    box-sizing: border-box;
    gap: 32px;
  }

  .partners__title {
    font-size: 28px;
    line-height: 1.05;
    letter-spacing: -0.02em;
  }

  .partners__section-title {
    font-size: 20px;
  }

  .partners__content p,
  .partners__list {
    font-size: 16px;
  }

  .partners__actions {
    flex-direction: column;
    width: 100%;
  }

  .partners__action-btn {
    width: 100%;
  }
}

/* ===== Страница «Вопросы и ответы» (page-faq), макет Figma 96:258 ===== */
.page-faq {
  background: #fff;
}

body.page-faq main > section {
  margin-top: 0;
  margin-bottom: 0;
}

body.page-faq .footer {
  margin-top: 0;
}

.faq {
  padding: 50px 0 150px;
}

.faq__layout {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 36px;
  width: 100%;
}

.faq__head,
.faq__sheet {
  width: 100%;
  max-width: 662px;
}

.faq__head {
  text-align: left;
}

.faq__title {
  margin: 0;
  font-family: Inter, sans-serif;
  font-weight: 500;
  font-size: 40px;
  line-height: 0.771;
  letter-spacing: -0.8px;
  color: #000;
}

.faq__sheet {
  display: flex;
  flex-direction: column;
  gap: 36px;
}

.page-faq .info-accordion {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.page-faq .info-accordion__item {
  border-bottom: 1px solid #e4e4e7;
}

.page-faq .info-accordion__trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  padding: 16px 0;
  background: none;
  border: none;
  cursor: pointer;
  font-family: Inter, sans-serif;
  font-size: 16px;
  font-weight: 600;
  line-height: 20px;
  letter-spacing: -0.16px;
  color: #18181b;
  text-align: left;
}

.page-faq .info-accordion__trigger:hover {
  opacity: 0.85;
}

.page-faq .info-accordion__trigger-text {
  flex: 1;
  min-width: 0;
}

.page-faq .info-accordion__chevron {
  flex-shrink: 0;
  transition: transform 0.5s ease;
}

.page-faq .info-accordion__item_expanded .info-accordion__chevron {
  transform: rotate(180deg);
}

.page-faq .info-accordion__panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.5s ease;
}

.page-faq .info-accordion__item_expanded .info-accordion__panel {
  grid-template-rows: 1fr;
}

.page-faq .info-accordion__panel-inner {
  min-height: 0;
  overflow: hidden;
}

.page-faq .info-accordion__content {
  padding-bottom: 24px;
}

.page-faq .info-accordion__text {
  margin: 0;
  font-family: Inter, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  color: #18181b;
}

.faq__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
  align-items: center;
}

.faq__action-btn {
  box-sizing: border-box;
  height: 64px;
  padding: 0 40px;
  border-radius: 9999px;
  font-family: Inter, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.faq__action-btn_primary {
  border: 0;
  background: #364ed3;
  color: #fff;
  cursor: pointer;
}

.faq__action-btn_primary:hover {
  background: #121a61;
  color: #fff;
}

.faq__action-btn_secondary {
  border: 1px solid #364ed3;
  background: transparent;
  color: #364ed3;
}

.faq__action-btn_secondary:hover {
  background: #364ed3;
  color: #fff;
}

@media (min-width: 768px) and (max-width: 1023px) {
  .faq__title {
    font-size: 32px;
    line-height: 1;
    letter-spacing: -0.02em;
  }
}

@media (max-width: 767px) {
  .faq {
    padding: 24px 0 80px;
  }

  .faq__layout.page__container {
    width: 100%;
    max-width: none;
    padding-left: 16px;
    padding-right: 16px;
    box-sizing: border-box;
    gap: 32px;
  }

  .faq__title {
    font-size: 28px;
    line-height: 1.05;
    letter-spacing: -0.02em;
  }

  .page-faq .info-accordion__trigger,
  .page-faq .info-accordion__text {
    font-size: 16px;
  }

  .faq__actions {
    flex-direction: column;
    width: 100%;
  }

  .faq__action-btn {
    width: 100%;
  }
}

/* ===== Страница «Контакты» (page-contacts), макет Figma 98:2173 ===== */
.page-contacts {
  background: #fff;
}

body.page-contacts main > section {
  margin-top: 0;
  margin-bottom: 0;
}

body.page-contacts .footer {
  margin-top: 0;
}

.contacts {
  padding: 50px 0 150px;
}

.contacts__layout {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 36px;
  width: 100%;
}

.contacts__head,
.contacts__sheet {
  width: 100%;
  max-width: 662px;
}

.contacts__head {
  text-align: left;
}

.contacts__title {
  margin: 0;
  font-family: Inter, sans-serif;
  font-weight: 500;
  font-size: 40px;
  line-height: 0.771;
  letter-spacing: -0.8px;
  color: #000;
}

.contacts__sheet {
  display: flex;
  flex-direction: column;
  gap: 36px;
}

.contacts__section {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.contacts__section-title {
  margin: 0;
  font-family: Inter, sans-serif;
  font-weight: 400;
  font-size: 24px;
  line-height: 1.5;
  color: #364ed3;
}

.contacts__text {
  font-family: Inter, sans-serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 1.5;
  color: #000;
}

.contacts__text p {
  margin: 0;
}

.contacts__text_loose {
  line-height: 2;
}

.contacts__text a {
  color: inherit;
  text-decoration: none;
}

.contacts__text a:hover {
  color: #364ed3;
}

.contacts__actions {
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

.contacts__action-btn {
  box-sizing: border-box;
  height: 64px;
  padding: 0 40px;
  border-radius: 9999px;
  font-family: Inter, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.contacts__action-btn_primary {
  border: 0;
  background: #364ed3;
  color: #fff;
  cursor: pointer;
}

.contacts__action-btn_primary:hover {
  background: #121a61;
  color: #fff;
}

@media (min-width: 768px) and (max-width: 1023px) {
  .contacts__title {
    font-size: 32px;
    line-height: 1;
    letter-spacing: -0.02em;
  }

  .contacts__section-title {
    font-size: 22px;
  }
}

@media (max-width: 767px) {
  .contacts {
    padding: 24px 0 80px;
  }

  .contacts__layout.page__container {
    width: 100%;
    max-width: none;
    padding-left: 16px;
    padding-right: 16px;
    box-sizing: border-box;
    gap: 32px;
  }

  .contacts__title {
    font-size: 28px;
    line-height: 1.05;
    letter-spacing: -0.02em;
  }

  .contacts__section-title {
    font-size: 20px;
  }

  .contacts__text {
    font-size: 16px;
  }

  .contacts__sheet {
    gap: 32px;
  }

  .contacts__actions {
    width: 100%;
  }

  .contacts__action-btn {
    width: 100%;
  }
}
