@charset "UTF-8";

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/Inter-400.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/Inter-500.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/Inter-600.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/Inter-700.woff2") format("woff2");
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/Manrope-400.woff2") format("woff2");
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/Manrope-500.woff2") format("woff2");
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/Manrope-600.woff2") format("woff2");
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/Manrope-700.woff2") format("woff2");
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("../fonts/Manrope-800.woff2") format("woff2");
}

* {
  box-sizing: border-box;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

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

button {
  cursor: pointer;
  justify-content: center;
  font: inherit;
}

.lgv2-shell {
  position: relative;

  overflow: hidden;

  background: var(--color-light);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
}

.lgv2-content {
  position: relative;
  color: inherit;
  background: transparent;
}

.site-header {
  position: sticky;
  z-index: 120;
  top: 0;

  overflow: hidden;

  width: min(1350px, calc(100% - 10px));
  margin: 0 auto;

  border-radius: var(--radius-xl);
}

.site-header__shell {
  background: var(--color-light);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm);
}

.site-header__inner {
  display: flex;
  flex-wrap: nowrap;
  gap: 28px;
  align-items: center;
  justify-content: space-between;

  max-width: 1500px;
  margin: 0 auto;
  padding: 14px 24px;
}

.site-header__left,
.site-header__right {
  display: flex;
  flex-wrap: nowrap;
  gap: 24px;
  align-items: center;
}

.site-header__left {
  flex: 1 1 auto;
  min-width: 0;
}

.site-header__right {
  flex: 0 0 auto;
}

.site-logo-link {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  position: relative;
  z-index: 10;
}

.site-logo {
  flex-shrink: 0;
  width: var(--header-logo-width);
  max-width: none;
  height: auto;
}

.nav-links {
  display: flex;
  flex-wrap: nowrap;
  gap: 20px;
  align-items: center;

  white-space: nowrap;
}

.nav-links a {
  position: relative;
  padding: 10px 0;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.nav-links a::after {
  content: "";

  position: absolute;
  bottom: -2px;
  left: 0;
  transform-origin: left;
  transform: scaleX(0);

  width: 100%;
  height: 2px;

  background: var(--color-accent);

  transition: transform 0.25s ease;
}

.nav-links a:hover::after,
.nav-links a.is-active::after {
  transform: scaleX(1);
}

.site-header__right > * {
  flex-shrink: 0;
}

.header-profile-btn {
  padding: 10px 18px;
  border-radius: var(--radius-lg);
  white-space: nowrap;
  background: rgba(255, 255, 255, 0.12);
  color: var(--color-dark);
  border: 1px solid rgba(255, 255, 255, 0.35);
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.12);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease,
    border-color 0.15s ease,
    color 0.15s ease;
}

.header-profile-btn:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, 0.6);
  box-shadow: 0 18px 30px rgba(15, 23, 42, 0.18);
}

.cta-button,
.site-header .button-secondary,
.icon-links a {
  white-space: nowrap;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;

  font-family: var(--ff-ui);
  font-weight: 600;
  color: var(--color-light);
  letter-spacing: 0.01em;
  text-decoration: none;

  background: var(--color-accent);
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
  border: 1px solid var(--color-accent);
  border-radius: 999px;

  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease,
    opacity 0.15s ease;
}

.cta-button:hover {
  transform: translateY(-1px);
  opacity: 0.95;
  box-shadow: 0 10px 25px rgb(37 99 235 / 25%);
}

.icon-links {
  display: flex;
  flex-wrap: nowrap;
  gap: 12px;
  color: var(--color-muted);
}

.icon-links a {
  display: grid;
  place-items: center;

  width: 36px;
  height: 36px;

  background: #eef2f7;
  border-radius: 50%;

  transition:
    background 0.2s ease,
    color 0.2s ease;
}

.icon-links a:hover {
  color: var(--color-dark);
  background: #dbeafe;
}

.burger {
  position: relative;

  display: none;

  width: var(--header-burger-size);
  height: var(--header-burger-size);
  padding: 0;

  color: var(--color-dark);

  background: linear-gradient(135deg, rgb(255 255 255 / 90%), rgb(219 234 254 / 45%));
  border: 1px solid color-mix(in srgb, var(--color-accent) 40%, rgb(255 255 255 / 55%));
  border-radius: 18px;
  box-shadow:
    0 18px 36px rgb(15 23 42 / 16%),
    inset 0 1px 0 rgb(255 255 255 / 55%);

  transition:
    box-shadow 0.25s ease,
    transform 0.25s ease,
    border-color 0.25s ease;
}

.burger:hover {
  transform: translateY(-2px);
  box-shadow:
    0 22px 44px rgb(15 23 42 / 20%),
    inset 0 1px 0 rgb(255 255 255 / 60%);
}

.burger:active {
  transform: translateY(-1px);
}

.burger__bars,
.burger__bars::before,
.burger__bars::after {
  position: relative;

  display: block;

  width: 24px;
  height: 2px;

  background: currentcolor;
  border-radius: 999px;

  transition:
    transform 0.25s ease,
    opacity 0.2s ease,
    background 0.2s ease;
}

.burger__bars {
  margin: 0 auto;
}

.burger__bars::before,
.burger__bars::after {
  content: "";
  position: absolute;
  left: 0;
}

.burger__bars::before {
  transform: translateY(-7px);
}

.burger__bars::after {
  transform: translateY(7px);
}

.burger.is-active .burger__bars {
  background: transparent;
}

.burger.is-active .burger__bars::before {
  transform: translateY(0) rotate(45deg);
}

.burger.is-active .burger__bars::after {
  transform: translateY(0) rotate(-45deg);
}

@media (max-width: 930px) {
  .site-header {
    width: 100%;
  }

  .site-header__inner {
    flex-wrap: wrap;
    gap: 16px;
    padding: 12px 16px;
  }

  .site-header__left,
  .site-header__right {
    width: 100%;
    min-width: 0;
    gap: 16px;
    justify-content: space-between;
  }

  .site-header__right {
    flex-wrap: nowrap;
    align-items: center;
    padding-right: 10px;
  }

  .site-header .nav-links,
  .site-header .icon-links,
  .site-header .cta-button,
  .site-header .button-secondary {
    display: none;
  }

  .burger {
    display: inline-flex;
    margin-left: auto;
  }
}

@media (min-width: 769px) and (max-width: 1440px) {
  .site-header {
    width: calc(100% - 20px);
  }
}

.sidebar {
  position: fixed;
  z-index: 120;
  inset: 0;

  display: none;
  align-items: flex-start;
  justify-content: flex-end;

  background: rgb(15 23 42 / 45%);
}

.sidebar.is-open {
  display: flex;
}

.sidebar__panel {
  display: flex;
  flex-direction: column;
  gap: 20px;

  width: min(340px, 100%);
  height: 100%;
  padding: 32px 28px;

  background: var(--color-light);
  border-radius: 0;
  box-shadow: -20px 0 45px rgb(15 23 42 / 20%);
}

.sidebar__close {
  align-self: flex-end;

  width: 44px;
  height: 44px;

  font-size: 28px;
  color: var(--color-muted);

  background: none;
  border: none;
  border-radius: 50%;
}

.sidebar__links {
  display: flex;
  flex-direction: column;
  gap: 16px;
  font-size: 18px;
}

.sidebar__links a {
  padding: 12px 18px;
  border-radius: var(--radius-md);
  transition: background 0.2s ease;
}

.sidebar__links a:hover {
  background: #f3f4f6;
}

.sidebar__cta {
  display: grid;
  gap: 12px;
  margin-top: auto;
}

.sidebar__profile-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  text-align: center;
  border-radius: var(--radius-lg);
  background: rgb(255 255 255 / 90%);
  border: 1px solid rgb(15 23 42 / 12%);
  box-shadow: 0 12px 32px rgb(15 23 42 / 18%);
}

.modal {
  position: fixed;
  z-index: 140;
  inset: 0;

  display: none;
  align-items: center;
  justify-content: center;

  padding: clamp(12px, 4vw, 32px);
  overflow-y: auto;
  overscroll-behavior: contain;

  background: rgb(15 23 42 / 32%);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}

.modal.is-open {
  display: flex;
}

.modal__card {
  position: relative;

  display: grid;
  gap: clamp(16px, 4vw, 22px);

  width: clamp(280px, 82vw, 520px);
  padding: clamp(22px, 5vw, 32px);
  max-height: calc(100vh - clamp(48px, 8vh, 140px));
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;

  background: rgb(255 255 255 / 95%);
  border: 1px solid rgb(15 23 42 / 10%);
  border-radius: clamp(18px, 4vw, 28px);
  box-shadow: 0 30px 65px rgb(15 23 42 / 30%);
}

.modal__close {
  position: absolute;
  top: 12px;
  right: 12px;

  display: grid;
  place-items: center;

  width: 32px;
  height: 32px;

  font-size: 18px;
  color: var(--color-muted);

  background: transparent;
  border: none;
  border-radius: 50%;
  transition: background 0.2s ease, color 0.2s ease;
}

.modal__card input,
.modal__card button {
  width: 100%;
}

.modal__close:hover {
  background: rgb(15 23 42 / 6%);
  color: var(--color-dark);
}

.modal__card h3 {
  margin-top: 16px;
}

@supports (height: 100dvh) {
  .modal__card {
    max-height: calc(100dvh - clamp(48px, 8vh, 140px));
  }
}

@media (max-width: 640px), (max-height: 640px) {
  .modal {
    align-items: flex-start;
  }
}

@media (max-width: 425px) {
  .modal__card {
    width: calc(100% - 16px);
    padding: clamp(18px, 8vw, 26px);
    gap: 14px;
  }

  .modal__close {
    width: 30px;
    height: 30px;
  }
}

@media (max-width: 360px) {
  .modal__card {
    padding: 16px;
    border-radius: 16px;
  }

  .modal__close {
    width: 28px;
    height: 28px;
  }
}

.confirm-popup {
  pointer-events: none;

  position: fixed;
  z-index: 150;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -40%) scale(0.95);

  display: grid;
  gap: 18px;
  align-items: center;

  width: min(360px, calc(100% - 32px));
  padding: 26px 26px 24px;

  color: var(--color-dark);

  background: rgb(255 255 255 / 95%);
  border: 1px solid rgb(15 23 42 / 8%);
  border-radius: 20px;
  box-shadow: 0 30px 65px rgb(15 23 42 / 25%);

  opacity: 0;
  transition:
    opacity 0.25s ease,
    transform 0.25s ease;
}

.confirm-popup.is-visible {
  pointer-events: auto;
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.confirm-popup__close {
  cursor: pointer;

  position: absolute;
  top: 16px;
  right: 16px;

  width: 32px;
  height: 32px;

  font-size: 18px;
  line-height: 1;
  color: var(--color-muted);

  background: transparent;
  border: none;
  border-radius: 50%;
}

.confirm-popup__close:hover {
  background: rgb(15 23 42 / 6%);
  color: var(--color-dark);
}

.confirm-popup__icon {
  position: relative;

  display: grid;
  place-items: center;

  width: 68px;
  height: 68px;
  margin: 0 auto;

  font-size: 34px;

  background: linear-gradient(135deg, rgb(59 130 246 / 12%), rgb(59 130 246 / 3%));
  border: 1px solid rgb(59 130 246 / 25%);
  border-radius: 18px;
}

.confirm-popup__icon::after {
  content: "\2714";

  position: absolute;
  bottom: 4px;
  right: 4px;

  display: grid;
  place-items: center;

  width: 22px;
  height: 22px;

  font-size: 14px;
  font-weight: 700;
  color: #fff;

  background: #22c55e;
  border: 2px solid #fff;
  border-radius: 8px;
}

.confirm-popup__body {
  display: grid;
  gap: 6px;
  text-align: center;
}

.confirm-popup__title {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.confirm-popup__text {
  margin: 0;
  font-size: 15px;
  color: var(--color-muted);
}

.verify-modal {
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.verify-modal__card {
  gap: 16px;

  text-align: center;

  background: hsla(0, 0%, 100%, 0.95);
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 30px 70px rgb(15 23 42 / 35%);
}

.verify-modal__label {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-muted);
}

.verify-modal__title {
  margin: 0;
  font-size: clamp(24px, 4vw, 30px);
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--color-dark);
}

.verify-modal__message {
  margin: 0;
  color: var(--color-muted);
}

.verify-modal__message strong {
  color: var(--color-dark);
}

.verify-modal__form {
  display: grid;
  gap: 12px;
  margin-top: 6px;
}

.verify-modal__code-input {
  font-size: 26px;
  text-align: center;
  letter-spacing: 0.4em;
  font-weight: 600;
  padding: 18px;
  text-transform: uppercase;
}

.verify-modal__code-input::placeholder {
  letter-spacing: 0.4em;
}

.verify-modal__resend {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: var(--color-muted);
}

.verify-modal__resend .button-secondary {
  min-width: 200px;
}

.verify-modal__timer {
  color: var(--color-muted);
}

.verify-modal__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 4px;
}

.verify-modal__error {
  margin: 0;
  font-size: 14px;
  color: #ef4444;
}

.input {
  padding: 14px 16px;

  background: var(--color-light);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);

  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.input:focus {
  border-color: #93c5fd;
  outline: none;
  box-shadow: 0 0 0 4px rgb(147 197 253 / 35%);
}

.button-secondary {
  padding: 14px 24px;

  font-family: var(--ff-ui);
  font-weight: 600;
  letter-spacing: 0.01em;

  background: var(--color-light);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);

  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    background 0.18s ease;
}

.button-secondary:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.hero {
  position: relative;

  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;

  max-width: min(1220px, calc(100% - 32px));
  min-height: 580px;
  margin: 42px auto 0;
  padding: 120px 20px 60px;

  color: #fff;

  background: url("../images/hero.webp") center/cover no-repeat;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgb(2 6 23 / 35%), rgb(2 6 23 / 35%));
}

.hero__content {
  position: relative;
  z-index: 1;

  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 28px;

  width: 100%;
  max-width: 1180px;
}

.hero__text {
  display: grid;
  grid-column: span 6;
  gap: 18px;
}

.hero__title {
  margin: 0;

  font-family: var(--ff-h);
  font-size: var(--fs-h1);
  font-weight: 800;
  line-height: var(--lh-tight);
  letter-spacing: -0.02em;
}

.hero__subtitle {
  margin: 0;

  font-family: var(--ff-ui);
  font-size: 20px;
  line-height: var(--lh-body);

  opacity: 0.92;
}

.hero__filters {
  display: grid;
  grid-column: span 6;
  gap: 16px;

  padding: 32px;

  color: var(--color-dark);

  background: var(--color-light);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.hero__row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.label {
  display: grid;
  gap: 6px;
  color: var(--color-dark);
}

.select {
  width: 100%;
  padding: 14px 16px;

  font-size: 15px;

  background: var(--color-light);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);

  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.number-field {
  overflow: hidden;
  display: inline-flex;
  align-items: stretch;

  background: var(--color-light);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.number-field__control {
  cursor: pointer;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  width: 40px;

  font-weight: 600;
  line-height: 1;
  color: var(--color-dark);

  background: transparent;
  border: 0;
}

.number-field__control span {
  pointer-events: none;
}

.number-field__control:focus-visible {
  outline: 2px solid rgb(147 197 253 / 60%);
  outline-offset: -2px;
}

.number-field__control:active {
  transform: translateY(1px);
}

.select:focus {
  border-color: #93c5fd;
  outline: none;
  box-shadow: 0 0 0 4px rgb(147 197 253 / 35%);
}

.hero__button-row {
  display: flex;
  gap: 14px;
  justify-content: space-between;
}

.hero__button-row button {
  flex: 1;
}

.hero--lgv2 .hero__button-row .btn--glass {
  color: rgb(15 23 42 / 0.6) !important;
  text-shadow: none !important;
}

.hero--lgv2 .hero__button-row .btn--glass:hover {
  color: rgb(15 23 42 / 0.75) !important;
}


.section {
  display: flex;
  justify-content: center;
  padding: 90px 20px;
}

.section__inner {
  display: grid;
  gap: 32px;

  max-width: 1180px;
  margin: 0 auto;
  padding: 48px;

  background: var(--color-light);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
}

.section__header {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
}

.section__title {
  margin: 0;

  font-family: var(--ff-h);
  font-size: var(--fs-h2);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.section__action,
.section__subaction {
  font-weight: 600;
  color: var(--color-accent);
}

.section__subaction {
  padding: 12px 20px;
  background: #eef2ff;
  border: 1px solid #93c5fd;
  border-radius: var(--radius-md);
}

.category-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.chip {
  padding: 12px 20px;

  font-family: var(--ff-ui);
  font-weight: 600;
  color: var(--color-dark);
  letter-spacing: 0.01em;
  white-space: nowrap;

  background: var(--color-light);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);

  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    background 0.18s ease,
    color 0.18s ease,
    border-color 0.18s ease;
}

.chip.is-active {
  transform: translateY(-2px);
  background: #eef2ff;
  border-color: #93c5fd;
  box-shadow: var(--shadow-md);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
}

.category-card {
  cursor: pointer;

  display: grid;
  gap: 20px;

  padding: 26px;

  text-align: center;

  background: var(--color-light);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);

  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    border-color 0.18s ease;
}

.category-card__image {
  width: 110px;
  height: 110px;
  margin: 0 auto;
  display: block;
  object-fit: contain;
  border-radius: 24px;
  background: rgb(15 23 42 / 4%);
  padding: 12px;
}

.category-card__title {
  margin: 0;
  font-family: var(--ff-h);
  font-size: 18px;
  font-weight: 600;
}

.category-card__count {
  margin: 0;
  color: var(--color-muted);
}

.category-card:hover {
  transform: translateY(-2px);
  border-color: color-mix(in srgb, var(--color-accent) 30%, transparent);
  box-shadow: var(--shadow-md);
}

.category-card:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--color-accent) 60%, transparent);
  outline-offset: 2px;
}

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

  .category-card {
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto;
    gap: 10px 16px;
    padding: 18px 16px;
    text-align: left;
    align-items: center;
  }

  .category-card__image {
    grid-row: 1 / span 2;
    width: 64px;
    height: 64px;
    margin: 0;
    border-radius: 16px;
    object-fit: contain;
    background: rgb(15 23 42 / 4%);
    padding: 8px;
    justify-self: start;
  }

  .category-card__title {
    grid-column: 2 / -1;
    font-size: 16px;
  }

  .category-card__count {
    grid-column: 2 / -1;
    font-size: 14px;
  }
}

.slider {
  display: grid;
  gap: 45px;
}

.slider__viewport {
  overflow: hidden;
}

.slider__track {
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;

  overflow-x: auto;
  display: flex;
  gap: var(--slider-gap, 24px);

  padding: 0;
}

.slider__track::-webkit-scrollbar {
  display: none;
}

@supports (scrollbar-width: none) {
  .slider__track {
    scrollbar-width: none;
  }
}

.slider-card {
  scroll-snap-align: start;

  overflow: hidden;
  display: flex;
  flex: 0 0 280px;
  flex-direction: column;

  background: var(--color-light);
  border-radius: var(--radius-lg);
}

.slider-card__image {
  position: relative;
  overflow: hidden;
  height: 200px;
}

.slider-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slider-card__body {
  display: grid;
  gap: 6px;
  padding: 18px 20px 22px;
}

.price {
  margin: 0;
  font-family: var(--ff-ui);
  font-size: 18px;
  font-weight: 700;
}

.slider-progress {
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: center;
}

.slider-progress__btn {
  cursor: pointer;

  display: grid;
  place-items: center;

  width: 44px;
  height: 44px;

  font-size: 20px;
  line-height: 1;
  color: #0f172a;

  background: rgb(255 255 255 / 76%);
  border: 1px solid rgb(15 23 42 / 12%);
  border-radius: 999px;
  box-shadow: 0 6px 18px rgb(15 23 42 / 18%);

  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
}

.slider-progress__btn.is-hidden {
  pointer-events: none;
  visibility: hidden;
  opacity: 0;
}

.slider-progress__btn span {
  line-height: 1;
}

.slider-progress__btn:hover,
.slider-progress__btn:focus-visible {
  transform: translateY(-1px);
  background: rgb(255 255 255 / 92%);
  box-shadow: 0 10px 24px rgb(15 23 42 / 24%);
}

.slider-progress__btn:disabled {
  pointer-events: none;
  opacity: 0.45;
  box-shadow: none;
}

.slider-progress__rail {
  touch-action: none;
  cursor: pointer;

  position: relative;

  overflow: hidden;
  flex: 1;

  max-width: 380px;
  height: 14px;

  background: linear-gradient(135deg, rgb(148 163 184 / 32%), rgb(71 85 105 / 12%));
  border-radius: 999px;
  box-shadow: inset 0 2px 6px rgb(15 23 42 / 18%);
}

.slider-progress__rail::before {
  content: "";

  position: absolute;
  inset: 2px;

  background: rgb(255 255 255 / 60%);
  border-radius: 999px;
  box-shadow: inset 0 1px 2px rgb(15 23 42 / 12%);
}

.slider-progress__thumb {
  --thumb-offset: 0px;

  touch-action: none;
  cursor: grab;
  -webkit-user-select: none;
  user-select: none;

  position: absolute;
  top: 50%;
  left: 0;
  transform: translate(var(--thumb-offset), -50%);

  display: flex;
  align-items: center;
  justify-content: center;

  width: 64px;
  height: 28px;

  font-size: 12px;
  font-weight: 600;
  color: #0f172a;

  background: rgb(255 255 255 / 90%);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-radius: 999px;
  box-shadow: 0 10px 28px rgb(15 23 42 / 28%);

  transition: transform 0.18s ease;
}

.slider-progress__thumb::after {
  pointer-events: none;
  content: "";

  position: absolute;
  inset: 0;

  opacity: 0.65;
  background: linear-gradient(135deg, rgb(255 255 255 / 90%), rgb(226 232 240 / 80%));
  border-radius: inherit;
}

.slider-progress__thumb.is-dragging {
  cursor: grabbing;
  box-shadow: 0 12px 32px rgb(250 250 250 / 70.4%);
  transition: none;
}

.slider-progress.recommend__progress {
  justify-content: flex-start;
}

.slider-progress.recommend__progress .slider-progress__rail {
  max-width: 420px;
}







.service-card {
  display: grid;
  gap: 10px;

  padding: 26px;

  background: var(--color-light);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.service-card h3 {
  margin: 0;
  font-family: var(--ff-h);
  font-size: 18px;
  font-weight: 700;
}

.service-card p {
  margin: 0;
  color: var(--color-muted);
}

.stock {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 26px;
  align-items: center;
}

.stock__text {
  display: grid;
  gap: 18px;
}

.stock__title {
  margin: 0;

  font-family: var(--ff-h);
  font-size: clamp(28px, 3.5vw, 36px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.stock__description {
  margin: 0;
  color: var(--color-muted);
}

@media (max-width: 768px) {
  .section__inner.stock {
    padding: clamp(20px, 6vw, 28px);
  }

  .stock {
    grid-template-columns: 1fr;
    gap: clamp(16px, 4vw, 24px);
  }

  .stock__text {
    gap: 12px;
    justify-items: center;
    text-align: center;
  }

  .stock__title {
    font-size: clamp(22px, 6.4vw, 30px);
    line-height: 1.25;
  }

  .stock__description {
    font-size: 15px;
  }

  .stock__image {
    order: -1;
    border-radius: var(--radius-lg);
    overflow: hidden;
  }

  .stock__image img {
    width: 100%;
    height: auto;
    max-height: clamp(220px, 55vw, 380px);
    object-fit: contain;
  }
}

.cta {
  display: grid;
  gap: 30px;

  padding: 48px;

  color: var(--color-dark);

  background: var(--color-light);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
}

.faq {
  display: grid;
  gap: 16px;
}

.faq__item {
  padding: 24px 28px;

  background: var(--color-light);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.faq__button {
  display: flex;
  align-items: center;
  justify-content: space-between;

  width: 100%;

  font-size: 18px;
  font-weight: 600;
  color: var(--color-dark);

  background: transparent;
  border: none;
}

.faq__answer {
  margin-top: 12px;
  color: var(--color-muted);
}

.site-footer {
  width: min(1220px, calc(100% - 32px));
  margin: 90px auto 60px;
  padding: 70px 20px;

  color: var(--color-dark);

  -webkit-backdrop-filter: blur(55px);
  backdrop-filter: blur(55px);
}

.site-footer__shell {
  background: var(--color-light);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
}

.site-footer__inner {
  display: grid;
  gap: 32px;

  max-width: 1180px;
  margin: 0 auto;
  padding: 32px;
}

.site-footer__top {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.footer-debug {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;

  padding: 8px 0;

  border-top: 1px solid rgba(15, 23, 42, 0.08);
}

.footer-debug__btn {
  padding: 10px 16px;

  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;

  color: var(--color-dark);

  background: rgb(255 255 255 / 85%);
  border: 1px solid rgba(15, 23, 42, 0.15);
  border-radius: 999px;
  box-shadow: 0 8px 25px rgb(15 23 42 / 12%);

  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease;
}

.footer-debug__btn:hover {
  transform: translateY(-1px);
  border-color: rgba(15, 23, 42, 0.35);
  box-shadow: 0 12px 30px rgb(15 23 42 / 18%);
}

.footer-block h3 {
  margin-top: 0;

  font-family: var(--ff-h);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-dark);
  letter-spacing: -0.01em;
}

.footer-block ul {
  display: grid;
  gap: 8px;

  margin: 0;
  padding: 0;

  list-style: none;
}

.footer-block a {
  color: #000;
}

.footer-block a:hover {
  color: var(--color-dark);
}

.footer-social {
  display: flex;
  gap: clamp(16px, 4vw, 24px);
}

.footer-social a {
  --footer-social-size: clamp(48px, 6vw, 60px);
  display: inline-flex;
  width: var(--footer-social-size);
  height: var(--footer-social-size);
  padding: 0;
  border-radius: 12px;
  background: transparent;
  transition: transform 0.2s ease;
}

.footer-social a:hover {
  transform: translateY(-2px);
}

.footer-social__icon {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.footer-note {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px 16px;
  font-size: 14px;
  color: var(--color-muted);
}

.footer-note__copy {
  margin-right: auto;
}

.footer-note__links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-end;
}

.footer-note__links a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px dashed currentColor;
  transition: color 0.15s ease, border-color 0.15s ease;
}

.footer-note__links a:hover {
  color: var(--color-dark);
  border-color: var(--color-dark);
}

.page-hero {
  display: grid;
  gap: clamp(18px, 4vw, 28px);
  justify-items: start;

  max-width: min(1220px, calc(100% - 32px));
  margin: 0 auto;
  padding: clamp(120px, 18vw, 180px) clamp(24px, 4vw, 48px) clamp(48px, 9vw, 96px);

  color: var(--color-dark);

  background: var(--color-light);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
}

.page-hero__inner {
  display: grid;
  gap: clamp(16px, 3vw, 24px);
  max-width: min(720px, 100%);
  margin: 0;
}

.page-hero__inner p {
  max-width: 52ch;
  margin: 0;
  line-height: var(--lh-body);
  color: color-mix(in srgb, var(--color-dark) 55%, var(--color-muted) 60%);
}

.page-hero__inner h1 {
  margin: 0 0 12px;

  font-family: var(--ff-h);
  font-size: var(--fs-h1);
  font-weight: 800;
  line-height: var(--lh-tight);
  letter-spacing: -0.02em;
}

.page-hero--catalog .page-hero__inner {
  width: 100%;
  max-width: 100%;
}

.page-hero--catalog .page-hero__inner img {
  justify-self: center;
  width: clamp(220px, 32vw, 400px);
}



.page-section h2 {
  margin: 0;

  font-family: var(--ff-h);
  font-size: var(--fs-h2);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.page-section h3 {
  margin: 0;

  font-family: var(--ff-h);
  font-size: var(--fs-h3);
  font-weight: 700;
  line-height: 1.3;
}

.page-section {
  display: grid;
  gap: clamp(24px, 4vw, 32px);
  width: min(var(--layout-max-width), calc(100% - var(--layout-inline-gap)));
  margin: 0 auto;
  padding: clamp(28px, 4.5vw, 44px);
  background: var(--color-light);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
}

.catalog {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 28px;
  align-items: flex-start;
}

.catalog-filters {
  position: sticky;
  top: calc(var(--header-height) * 1.1 + 28px);
  align-self: start;
}

.filter-panel {
  display: grid;
  gap: 30px;
  padding: 32px;
  padding-right: 310px;
}

.filter-panel__body {
  display: grid;
  gap: 30px;
}

.filter-panel__header {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
}

.filter-panel__title {
  margin: 0;

  font-family: var(--ff-h);
  font-size: var(--fs-h3);
  font-weight: 700;
  line-height: 1.3;
}

.filter-panel__close {
  cursor: pointer;

  display: none;
  align-items: center;
  justify-content: center;

  width: 36px;
  height: 36px;

  font-size: 20px;
  color: var(--color-dark);

  background: color-mix(in srgb, #fff 24%, transparent);
  border: 1px solid color-mix(in srgb, var(--color-border) 70%, transparent);
  border-radius: var(--radius-md);
}

.filter-panel__collapse {
  cursor: pointer;
  display: none;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 18px;
  font-weight: 600;
  color: var(--color-dark);
  background: color-mix(in srgb, #fff 45%, transparent);
  border: 1px solid color-mix(in srgb, var(--color-border) 70%, transparent);
  border-radius: var(--radius-md);
  transition: background 0.2s ease, color 0.2s ease;
}

.filter-panel__collapse span:first-child {
  pointer-events: none;
}

.filter-panel__collapse-icon {
  width: 20px;
  height: 20px;
  transform: rotate(0deg);
  transition: transform 0.2s ease;
}

.filter-panel.is-collapsed .filter-panel__collapse-icon {
  transform: rotate(-90deg);
}

.filter-group {
  display: grid;
  gap: 14px;
}

@media (max-width: 768px) {
  .filter-panel {
    gap: 16px;
    padding: clamp(18px, 6vw, 26px);
    padding-right: clamp(18px, 6vw, 26px);
  }

  .filter-panel__header {
    display: none;
  }

  .filter-panel__collapse {
    display: inline-flex;
  }

  .filter-panel__body {
    overflow: visible;
    max-height: 2000px;
    opacity: 1;
    transition: max-height 0.25s ease, opacity 0.25s ease;
  }

  .filter-panel.is-collapsed .filter-panel__body {
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    pointer-events: none;
  }
}

.filter-two-column {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.filter-checkbox {
  cursor: pointer;

  position: relative;

  display: inline-flex;
  align-items: center;

  font: inherit;
  color: inherit;
}

.filter-checkbox input {
  pointer-events: none;

  position: absolute;

  overflow: hidden;

  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;

  opacity: 0;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  border: 0;
}

.filter-checkbox__button {
  display: inline-flex;
  gap: 12px;
  align-items: center;

  padding: 12px 22px;

  font-weight: 700;
  color: var(--color-dark);
  text-transform: uppercase;
  letter-spacing: 0.08em;

  background: linear-gradient(
    135deg,
    color-mix(in srgb, #fff 80%, transparent),
    color-mix(in srgb, #dbeafe 35%, transparent)
  );
  -webkit-backdrop-filter: blur(18px) saturate(1.08);
  backdrop-filter: blur(18px) saturate(1.08);
  border: 1px solid color-mix(in srgb, var(--color-accent) 28%, rgb(255 255 255 / 55%));
  border-radius: 999px;
  box-shadow:
    0 22px 44px rgb(15 23 42 / 16%),
    inset 0 1px 0 rgb(255 255 255 / 55%);

  transition:
    box-shadow 0.25s ease,
    transform 0.25s ease,
    border-color 0.25s ease,
    color 0.25s ease;
}

.filter-checkbox__icon {
  position: relative;

  overflow: hidden;
  display: grid;
  place-items: center;

  width: 22px;
  height: 22px;

  background: linear-gradient(145deg, rgb(255 255 255 / 80%), rgb(219 234 254 / 35%));
  border: 1px solid color-mix(in srgb, var(--color-accent) 35%, rgb(255 255 255 / 60%));
  border-radius: 999px;
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 60%);
}

.filter-checkbox__icon::after {
  content: "";

  transform: scale(0);

  width: 10px;
  height: 10px;

  background: linear-gradient(
    135deg,
    var(--color-accent),
    color-mix(in srgb, var(--color-accent) 70%, #60a5fa)
  );
  border-radius: 50%;
  box-shadow: 0 5px 14px color-mix(in srgb, var(--color-accent) 45%, transparent);

  transition: transform 0.22s ease;
}

.filter-checkbox__label {
  font-size: 13px;
}

.filter-checkbox:hover .filter-checkbox__button {
  transform: translateY(-2px);
  box-shadow:
    0 26px 52px rgb(15 23 42 / 20%),
    inset 0 1px 0 rgb(255 255 255 / 60%);
}

.filter-checkbox input:focus-visible + .filter-checkbox__button {
  border-color: color-mix(in srgb, var(--color-accent) 60%, rgb(255 255 255 / 60%));
  box-shadow:
    0 0 0 4px color-mix(in srgb, var(--color-accent) 35%, transparent),
    0 26px 52px rgb(15 23 42 / 20%);
}

.filter-checkbox input:checked + .filter-checkbox__button {
  color: color-mix(in srgb, var(--color-dark) 94%, #1d4ed8 10%);
  border-color: color-mix(in srgb, var(--color-accent) 70%, rgb(255 255 255 / 60%));
  box-shadow:
    0 28px 60px color-mix(in srgb, var(--color-accent) 32%, transparent),
    inset 0 1px 0 rgb(255 255 255 / 65%);
}

.filter-checkbox input:checked + .filter-checkbox__button .filter-checkbox__icon::after {
  transform: scale(1);
}

.filter-actions {
  display: flex;
  gap: 12px;
}

.catalog-results {
  display: grid;
  gap: 24px;
  padding: 32px;
}

.catalog-results__header {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
}

.catalog-results__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;

  font-size: 15px;
  color: var(--color-muted);
}

.catalog-results__window {
  font-size: 14px;
}

.catalog-results__active {
  padding: 6px 12px;

  font-size: 13px;
  font-weight: 600;
  color: var(--color-dark);
  letter-spacing: 0.02em;

  background: color-mix(in srgb, var(--color-accent) 16%, transparent);
  border: 1px solid color-mix(in srgb, var(--color-accent) 28%, transparent);
  border-radius: 999px;
}

.catalog__count {
  margin: 0;
  font-weight: 600;
  color: var(--color-dark);
}

.catalog-results__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: flex-end;
}

.catalog-results__filters-button {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
}

.catalog-sort {
  display: inline-flex;
  gap: 12px;
  align-items: center;

  font-size: 14px;
  font-weight: 600;
  color: color-mix(in srgb, var(--color-muted) 80%, var(--color-dark) 20%);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.catalog-sort__label {
  opacity: 0.85;
}

.catalog-sort__select {
  flex: 0 0 240px;
  width: 240px;
  min-width: 240px;
  margin: 0;
}


.catalog-empty {
  display: grid;
  gap: 12px;

  padding: 48px 12px;

  color: var(--color-muted);
  text-align: center;
}

.catalog-empty .button-secondary {
  justify-self: center;
}

.catalog-empty__title {
  margin: 0;

  font-family: var(--ff-h);
  font-size: var(--fs-h3);
  font-weight: 700;
  color: var(--color-dark);
}





.pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.pagination button {
  padding: 12px 18px;

  background: var(--color-light);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);

  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    background 0.18s ease,
    color 0.18s ease;
}

.pagination button.is-active {
  transform: translateY(-2px);

  color: var(--color-dark);

  background: #eef2ff;
  border-color: #93c5fd;
  box-shadow: 0 0 0 1px rgb(59 130 246 / 35%), var(--shadow-md);
  outline: 2px solid #93c5fd;
  outline-offset: 2px;
}

.pagination button:disabled {
  cursor: default;
  opacity: 0.6;
}

.pagination__ellipsis {
  align-self: stretch;
  display: inline-flex;
  align-items: center;
  padding: 12px 8px;
  color: var(--color-muted);
}

.recommend {
  display: grid;
  gap: 18px;
}

.recommend__slider {
  --slider-gap: 18px;
}

.detail {
  display: grid;
  gap: 40px;

  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(32px, 5vw, 48px);

  background: var(--color-light);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
}

.detail__breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;

  font-size: 14px;
  color: var(--color-muted);
}

.detail__top {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
  justify-content: space-between;
}

.detail__title {
  margin: 0;

  font-family: var(--ff-h);
  font-size: clamp(28px, 3vw, 38px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.detail__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}

.detail__price {
  font-family: var(--ff-ui);
  font-size: 28px;
  font-weight: 700;
}

.detail__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.gallery {
  display: grid;
  gap: 14px;
  width: 100%;
  min-width: 0;
}

.gallery__featured {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 4 / 3;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  background: #f7f8fb;
}

.gallery__featured img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.gallery__thumbs {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  width: 100%;
  min-width: 0;
  overflow: hidden;
}

.gallery__thumbs-shell {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
  width: 100%;
}

.gallery__thumbs-viewport {
  overflow: hidden;
  flex: 1 1 auto;
  min-width: 0;
  width: 100%;
  scrollbar-width: none;
}

.gallery__thumbs-viewport::-webkit-scrollbar {
  display: none;
}


.gallery__thumbs-progress {
  padding-inline: 6px;
  width: 100%;
}

.gallery__progress-rail {
  position: relative;
  width: 100%;
  height: 8px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--color-border) 70%, transparent);
  overflow: hidden;
}

.gallery__progress-pill {
  position: absolute;
  inset: 0 auto 0 0;
  height: 100%;
  min-width: 22px;
  background: linear-gradient(90deg, var(--color-accent), color-mix(in srgb, var(--color-accent) 75%, #fff));
  border-radius: inherit;
  box-shadow: 0 2px 10px rgba(17, 24, 39, 0.14);
  transition: transform 0.2s ease, width 0.2s ease;
}

.gallery__thumb {
  cursor: pointer;

  width: 120px;
  height: 90px;

  opacity: 0.8;
  object-fit: cover;
  border: 1px solid transparent;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);

  transition:
    opacity 0.2s ease,
    transform 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease;
}

.gallery--compact .gallery__featured {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 4 / 3;
}

.gallery--compact .gallery__featured img {
  width: auto;
  max-width: 100%;
  max-height: 420px;
}

.gallery--compact .gallery__thumb {
  width: 100px;
  height: 75px;
  object-fit: contain;
}

.gallery__thumbs.has-fade::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  margin-right: 55px;
  background: linear-gradient(90deg, transparent 60%, rgba(255, 255, 255, 0.19) 100%);
}

.specs-updated {
  margin: 0 0 8px;
  color: #6b7280;
  font-size: 13px;
}

.specs-empty {
  margin-top: 12px;
  color: #6b7280;
}

.gallery__thumb.is-active {
  transform: translateY(-4px);
  opacity: 1;
  border-color: #93c5fd;
}

.lightbox-nav {
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 50%;
  background: #fff;
  color: #111;
  font-size: 16px;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.lightbox-thumbs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  max-width: 90vw;
  justify-content: center;
}

.lightbox-thumb {
  width: 80px;
  height: 60px;
  object-fit: cover;
  border: 2px solid transparent;
  border-radius: 6px;
  cursor: pointer;
  opacity: 0.8;
  transition: all 0.2s ease;
}

.lightbox-thumb.is-active {
  opacity: 1;
  border-color: #93c5fd;
}

.lightbox-close {
  position: absolute;
  top: -14px;
  right: -14px;
  width: 32px;
  height: 32px;
  border: none;
  border-radius: 50%;
  background: #fff;
  color: #111;
  font-size: 20px;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.gallery__thumbs-arrow {
  cursor: pointer;

  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;

  width: 36px;
  height: 36px;

  color: var(--color-dark);

  background: color-mix(in srgb, #fff 24%, transparent);
  border: 1px solid color-mix(in srgb, var(--color-border) 70%, transparent);
  border-radius: 50%;

  transition:
    background 0.2s ease,
    color 0.2s ease;
}

.gallery__thumbs-arrow:disabled {
  cursor: default;
  opacity: 0.4;
}

.gallery__thumbs-arrow:not(:disabled):hover {
  color: var(--color-accent);
  background: color-mix(in srgb, var(--color-accent) 18%, transparent);
}

.detail__specs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.options {
  padding: 28px;

  background: var(--color-light);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.options__list {
  display: grid;
  gap: 8px;

  margin: 18px 0 0;
  padding: 0;

  color: var(--color-dark);
  list-style: none;
}

.options__toggle {
  margin-top: 18px;
  padding: 12px 20px;

  font-weight: 600;
  color: var(--color-dark);

  background: #eef2ff;
  border: 1px solid #93c5fd;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);

  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    background 0.18s ease;
}

.options__toggle:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.cost-modal__list {
  display: grid;
  gap: 10px;

  margin: 0;
  padding: 0;

  list-style: none;
}

.cost-modal__total {
  margin-top: 10px;
  font-size: 18px;
  font-weight: 700;
}

.contacts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 36px;
  align-items: start;
}

.contacts__form form,
.contacts__info,
.contacts__map {
  display: grid;
  gap: 16px;
}

.contacts__form label {
  font-weight: 600;
}

.contacts__form textarea {
  width: 100%;
  min-width: 100%;
  max-width: 100%;
  min-height: 130px;
  height: auto;
  resize: vertical;
  display: block;
  overflow-y: auto;
}

.contacts__list {
  display: grid;
  gap: 10px;
}

.contacts__list p {
  margin: 0;
  word-break: break-word;
}

.contacts__success {
  display: grid;
  gap: 10px;
  justify-items: center;

  color: var(--color-success);
  text-align: center;
}

.map-embed {
  position: relative;
  width: 100%;
  min-height: 360px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.map-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

@media (max-width: 640px) {
  .map-embed {
    min-height: 260px;
  }
  .map-embed iframe {
    transform: scale(0.9);
    transform-origin: top left;
    width: 111%;
    height: 111%;
  }
}

.office-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.office-card {
  overflow: hidden;
  display: grid;
  gap: 0;

  background: var(--color-light);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.office-filters,
.card-grid {
  transition: opacity 0.25s ease;
}

.card-grid.is-transitioning,
.office-filters.is-transitioning {
  opacity: 0;
}

.office-card__image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
}

.office-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.office-card__flag {
  position: absolute;
  right: 18px;
  bottom: 12px;

  padding: 8px 14px;

  color: var(--color-dark);

  background: #eef2ff;
  border: 1px solid #93c5fd;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.office-card__body {
  display: grid;
  gap: 10px;
  padding: 22px;
}

.office-card__row {
  display: flex;
  gap: 10px;
  align-items: center;

  font-size: 14px;
  color: var(--color-muted);
}

.office-empty {
  margin: 16px auto 0;
  text-align: center;
  color: var(--color-muted);
}

.team {
  display: grid;
  gap: 24px;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 18px;
}

.team-grid__empty {
  grid-column: 1 / -1;
  padding: 28px;
  text-align: center;
  color: var(--color-muted);
  background: rgba(248, 250, 252, 0.7);
  border: 1px dashed rgba(148, 163, 184, 0.6);
  border-radius: var(--radius-lg);
}

.team-card {
  overflow: hidden;
  display: grid;
  gap: 0;

  background: var(--color-light);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.team-card img {
  width: 100%;
  aspect-ratio: 4 / 5;
  height: auto;
  min-height: 0;
  object-fit: cover;
}

.team-card__body {
  display: grid;
  gap: 6px;
  padding: 18px;
}

.team-card__role {
  margin: 0;
  color: var(--color-muted);
}

.favorites {
  display: grid;
  gap: 24px;
}

.favorites__empty {
  display: grid;
  gap: 14px;
  justify-items: center;

  padding: 32px;

  color: var(--color-muted);
  text-align: center;

  background: #f8fafc;
  border: 1px dashed #93c5fd;
  border-radius: var(--radius-lg);
}

.favorites-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 18px;
}

.favorites-card {
  overflow: hidden;
  display: grid;
  gap: 0;

  background: var(--color-light);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.favorites-card__image {
  position: relative;
  overflow: hidden;
  height: 200px;
}

.favorites-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.favorites-card__body {
  display: grid;
  gap: 10px;
  padding: 22px;
}

.favorites-card__price {
  margin: 0;
  font-family: var(--ff-ui);
  font-size: 20px;
  font-weight: 700;
}

.favorites-card__meta {
  margin: 0;
  color: var(--color-muted);
}

.favorites-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.favorites-card__actions .button-secondary,
.favorites-card__actions .cta-button {
  flex: 1;
  text-align: center;
}

.favorites-card__remove {
  padding: 12px 18px;

  font-weight: 600;
  color: #b91c1c;

  background: #fee2e2;
  border: 1px solid transparent;
  border-radius: var(--radius-md);

  transition: opacity 0.2s ease;
}

.favorites-card__remove:hover {
  opacity: 0.85;
}

.favorites__cta {
  padding: 0;
}

.cta-card {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
  justify-content: space-between;

  padding: 36px;

  background: linear-gradient(130deg, #f8fafc 0%, #eef2ff 100%);
  border: 1px solid #dbeafe;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
}

.cta-card__content {
  display: grid;
  gap: 12px;
  max-width: 560px;
}

.cta-card__content h2 {
  margin: 0;
}

.cta-card__content p {
  margin: 0;
  color: var(--color-muted);
}

.cta-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.cta-card__actions > * {
  flex: 1;
  min-width: 200px;
}

.profile {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 28px;
  align-items: flex-start;
}

.profile__grid {
  display: grid;
  gap: 24px;
}

.profile-card {
  display: grid;
  gap: 20px;

  padding: 28px;

  background: var(--color-light);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.profile-card h2 {
  margin: 0;
}

.profile-form {
  display: grid;
  gap: 16px;
}

.profile-form__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-end;
}

.input--readonly {
  background: #f4f7fb;
  color: var(--color-muted);
  cursor: text;
}

.profile-preferences {
  display: grid;
  gap: 16px;
}

.chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.profile-preferences__label {
  font-weight: 600;
  color: var(--color-dark);
}

.profile-preferences__note {
  padding: 14px;

  font-size: 14px;
  color: var(--color-muted);

  background: #f8fafc;
  border: 1px dashed var(--color-border);
  border-radius: var(--radius-md);
}

.profile__aside {
  display: grid;
  gap: 24px;
}

.profile-favorites {
  display: grid;
  gap: 24px;
}

.profile-favorites__note {
  margin: 0 0 12px;
  color: var(--color-muted);
}

.profile-favorites__content {
  display: grid;
  gap: 20px;
}

.profile-favorites__slider.slider {
  width: 100%;
}

.profile-favorites__slider.hidden,
.profile-favorites__grid.hidden {
  display: none;
}

.profile-favorites__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.profile-favorites__collapse {
  margin-top: 12px;
  justify-self: stretch;
}

.profile-favorites__expand {
  margin-left: auto;
  min-width: 160px;
}

.profile-favorites__grid .car-card {
  height: 100%;
}

.profile-summary {
  display: grid;
  gap: 18px;

  padding: 26px;

  background: var(--color-light);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.profile-summary h2 {
  margin: 0;
}

.profile-summary ul {
  display: grid;
  gap: 12px;

  margin: 0;
  padding: 0;

  list-style: none;
}

.profile-summary li {
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: space-between;

  color: var(--color-muted);
}

.profile-summary li strong {
  font-size: 18px;
  color: var(--color-dark);
}

.profile-logout-btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin-top: 12px;
  padding: 12px 26px;
  color: #fff;
  font-weight: 600;
  background: linear-gradient(135deg, rgba(224, 47, 61, 0.9), rgba(244, 108, 117, 0.65));
  border: 1px solid rgba(224, 47, 61, 0.4);
  border-radius: var(--radius-lg);
  box-shadow: 0 12px 25px rgba(224, 47, 61, 0.25);
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
  transition: transform 0.15s ease, opacity 0.15s ease, box-shadow 0.15s ease;
}

.profile-logout-btn:hover {
  transform: translateY(-1px);
  opacity: 0.97;
  box-shadow: 0 18px 32px rgba(224, 47, 61, 0.3);
}

.profile-summary a {
  color: var(--color-accent);
}

.profile-orders {
  display: grid;
  gap: 24px;
}

.orders-table {
  display: grid;
  gap: 12px;
}

.orders-table__row {
  display: grid;
  grid-template-columns: 80px minmax(0, 1.4fr) 160px 140px 140px;
  gap: 12px;
  align-items: center;

  padding: 18px 20px;

  background: var(--color-light);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.orders-table__row--head {
  font-size: 14px;
  color: var(--color-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;

  background: transparent;
  border: none;
  box-shadow: none;
}

.orders-table__status {
  padding: 6px 12px;

  font-size: 14px;
  font-weight: 600;
  text-align: center;

  border-radius: 999px;
}

.orders-table__status.is-progress {
  color: #1d4ed8;
  background: #dbeafe;
}

.orders-table__status.is-success {
  color: #047857;
  background: #dcfce7;
}

.orders-table__status.is-wait {
  color: #b45309;
  background: #fef3c7;
}

.auth {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
  align-items: flex-start;
}

.auth__card,
.auth__aside,
.contacts__info,
.contacts__form,
.contacts__map {
  display: grid;
  gap: 20px;

  padding: 32px;

  background: var(--color-light);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  position: relative;
}

.contacts__info,
.contacts__form,
.contacts__map {
  min-width: 0;
}

.auth__card h2 {
  margin: 0;
}

.auth-form {
  display: grid;
  gap: 18px;
}

.auth-form__checkbox {
  display: flex;
  gap: 10px;
  align-items: center;

  font-size: 14px;
  color: var(--color-muted);
}

.auth__close {
  position: absolute;
  top: 12px;
  right: 12px;
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: none;
  background: none;
  color: var(--color-muted);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

.auth__close:hover {
  color: var(--color-dark);
}

.auth-form__checkbox input {
  width: 18px;
  height: 18px;
}

.auth-form__row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
}

.form-errors {
  margin: 0;
  color: #d14343;
  font-size: 11px;
  font-weight: 400;
  line-height: 1.4;
}

.form-errors p,
.form-errors span {
  margin: 0;
  color: #d14343;
  font-size: 11px;
  font-weight: 400;
}

.reset-flow .reset-card.hidden {
  display: none;
}

.reset-card strong {
  color: var(--color-dark);
}

.reset-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-start;
  align-items: center;
  margin-top: 10px;
}

.reset-actions .button-secondary {
  min-width: 200px;
}

.reset-code-field {
  display: grid;
  gap: 8px;
  align-content: start;
}

.reset-code-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(46px, 1fr));
  gap: 10px;
  margin: 6px 0;
}

.reset-code-cell {
  text-align: center;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 1px;
  padding: 18px 10px;
  height: 88px;
  border: 1px solid var(--color-border);
  border-radius: 12px;
  background: #fff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.reset-code-cell:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgb(63 107 255 / 20%);
}

.reset-code-cell.is-filled {
  border-color: var(--color-accent);
  background: #f4f7ff;
}

.reset-resend {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
  font-size: 14px;
}

.reset-timer {
  color: var(--color-muted);
}

.reset-field-title {
  display: block;
  width: 100%;
  margin: 0 auto 6px;
  font-weight: 800;
  text-align: center;
}

.cookie-banner {
  position: fixed;
  right: clamp(10px, 2vw, 18px);
  bottom: clamp(12px, 2vw, 22px);
  z-index: 150;
  width: min(360px, calc(100vw - 26px));
  padding: 16px 18px 18px;
  display: grid;
  gap: 10px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(238, 242, 255, 0.92));
  border: 1px solid rgba(140, 176, 255, 0.4);
  border-radius: 16px;
  box-shadow: 0 18px 48px rgb(15 23 42 / 22%), inset 0 1px 0 rgb(255 255 255 / 40%);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}

.cookie-banner__title {
  margin: 0;
  font-weight: 800;
  font-size: 16px;
}

.cookie-banner__text {
  margin: 0;
  color: var(--color-muted);
  font-size: 14px;
  line-height: 1.4;
}

.cookie-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.cookie-banner__close {
  position: absolute;
  top: 8px;
  right: 10px;
  width: 28px;
  height: 28px;
  border: none;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.04);
  color: #0f172a;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.cookie-banner__close:hover {
  background: rgba(15, 23, 42, 0.08);
  transform: translateY(-1px);
}

.cookie-banner .cta-button--sm {
  padding: 10px 14px;
  font-size: 14px;
  min-height: 44px;
}

.reset-modal__card {
  gap: 24px;
}

.reset-modal__label {
  margin: 0;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-muted);
}

.reset-modal__step h3 {
  margin: 0;
}

.reset-modal__step p {
  margin: 0;
  color: var(--color-muted);
}

.reset-modal__step + .reset-modal__step {
  border-top: 1px solid rgba(15, 23, 42, 0.08);
  padding-top: 12px;
}

.auth-form__link {
  font-weight: 600;
  color: var(--color-accent);
}

.link-as-button {
  background: transparent;
  border: none;
  padding: 0;
  font: inherit;
  cursor: pointer;
}

.auth__hint {
  margin: 0;
  color: var(--color-muted);
}

.auth__hint a {
  color: var(--color-accent);
  font-weight: 600;
}

.auth__aside ul {
  display: grid;
  gap: 10px;

  margin: 0;
  padding-left: 20px;

  color: var(--color-muted);
}

@media (max-width: 1440px) {
  .profile-page .profile {
    grid-template-columns: minmax(0, 1.15fr) minmax(240px, 0.85fr);
    gap: 24px;
  }

  .profile-page .profile-card,
  .profile-page .profile-summary,
  .profile-page .profile-favorites,
  .auth-page .auth__card,
  .auth-page .auth__aside {
    padding: 26px;
  }

  .profile-page .profile-favorites__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 1024px) {
  .profile-page .profile {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .profile-page .profile__grid {
    order: 1;
  }

  .profile-page .profile__aside {
    order: 2;
  }

  .profile-page .profile-favorites__grid {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  }

  .auth-page .auth {
    grid-template-columns: 1fr;
  }

  .auth-page .auth__card,
  .auth-page .auth__aside {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .profile-page .profile-card,
  .profile-page .profile-summary,
  .profile-page .profile-favorites,
  .auth-page .auth__card,
  .auth-page .auth__aside {
    padding: 20px;
  }

  .profile-page .profile-form__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .profile-page .profile-form__actions > * {
    width: 100%;
  }

  .profile-page .profile-favorites__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .profile-page .profile-favorites__expand {
    margin-left: 0;
    width: 100%;
  }

  .auth-page .auth {
    gap: 18px;
  }

  .auth-page .auth-form__row {
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
  }

  .auth-page .auth-form__row .auth-form__link {
    padding: 0;
  }

  .auth-page .auth-form__checkbox {
    width: 100%;
    align-items: flex-start;
  }

  .auth-page .auth__aside {
    gap: 12px;
  }
}

@media (max-width: 425px) {
  .auth-page .page-hero__inner,
  .profile-page .page-hero__inner {
    text-align: left;
    gap: 12px;
  }

  .profile-page .profile-card,
  .profile-page .profile-summary,
  .auth-page .auth__card,
  .auth-page .auth__aside {
    padding: 18px;
    border-radius: var(--radius-md);
  }

  .profile-page .profile-form,
  .auth-page .auth-form {
    gap: 14px;
  }

  .profile-page .profile-summary li {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  .profile-page .profile-favorites__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }

  .profile-page .profile-favorites__collapse,
  .profile-page .profile-logout-btn,
  .profile-page .profile-favorites__expand,
  .auth-page .auth__aside .button-secondary,
  .auth-page .auth-form .cta-button {
    width: 100%;
  }

  .auth-page .auth-form__checkbox {
    font-size: 14px;
  }
}

@media (max-width: 375px) {
  .auth-page .page-shell,
  .profile-page .page-shell {
    padding-top: clamp(56px, 22vw, 84px);
  }

  .auth-page .label,
  .profile-page .label {
    font-size: 15px;
  }

  .auth-page .auth__card,
  .auth-page .auth__aside,
  .profile-page .profile-card,
  .profile-page .profile-summary {
    padding: 16px;
  }

  .auth-page .auth-form__checkbox {
    font-size: 13px;
  }

  .profile-page .profile-form__actions {
    gap: 10px;
  }
}

@media (max-width: 320px) {
  .auth-page .auth__card,
  .auth-page .auth__aside,
  .profile-page .profile-card,
  .profile-page .profile-summary {
    padding: 14px;
  }

  .auth-page .auth-form input,
  .profile-page .profile-form input {
    font-size: 14px;
  }

  .auth-page .cta-button,
  .auth-page .button-secondary,
  .profile-page .cta-button,
  .profile-page .button-secondary {
    padding: 10px 14px;
  }

  .auth-page .auth-form__checkbox {
    flex-wrap: wrap;
  }
}

.legal {
  display: grid;
  gap: 24px;
}

.legal-section {
  display: grid;
  gap: 12px;

  padding: 26px;

  background: var(--color-light);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.legal-section h2 {
  margin: 0;
}

.legal-section p {
  margin: 0;
  line-height: 1.6;
  color: var(--color-muted);
}

.legal-section ul,
.legal-section ol {
  display: grid;
  gap: 8px;

  margin: 0;
  padding-left: 20px;

  color: var(--color-muted);
}

.legal--rich {
  max-width: min(960px, 100%);
  margin: 0 auto;
}

.legal-content {
  display: grid;
  gap: 18px;

  padding: clamp(22px, 5vw, 34px);

  background: linear-gradient(135deg, #ffffffee, #f8fafccc);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  color: var(--color-dark);
}

.legal-content h2,
.legal-content h3 {
  margin: 0 0 8px;
}

.legal-content p {
  margin: 0 0 12px;
  line-height: 1.6;
  color: color-mix(in srgb, var(--color-dark) 70%, var(--color-muted) 40%);
}

.legal-content ul,
.legal-content ol {
  display: grid;
  gap: 8px;
  margin: 0 0 12px 20px;
  color: color-mix(in srgb, var(--color-dark) 65%, var(--color-muted) 45%);
}

.legal-eyebrow {
  margin: 0 0 6px;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-muted);
}

.legal-page .page-hero {
  background: linear-gradient(145deg, #eef2ff, #ffffff);
  border: 1px solid var(--color-border);
}

.legal-page .page-hero__inner {
  gap: 12px;
}

.office {
  display: grid;
  gap: 24px;
}

.office__layout {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  align-items: flex-start;
}

.office__map,
.office__info {
  display: grid;
  gap: 18px;

  padding: 28px;

  background: var(--color-light);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.office__info ul {
  display: grid;
  gap: 10px;

  margin: 0;
  padding: 0;

  color: var(--color-muted);
  list-style: none;
}

.office__contacts {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.office-gallery {
  display: grid;
  gap: 24px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}

.gallery-grid img {
  width: 100%;
  height: 200px;

  object-fit: cover;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.process {
  display: grid;
  gap: 28px;
}

.process__intro {
  display: grid;
  gap: 12px;
}

.process-steps {
  display: grid;
  gap: 16px;

  margin: 0;
  padding: 0;

  list-style: none;
}

.process-step {
  display: flex;
  gap: 18px;
  align-items: flex-start;

  padding: 22px;

  background: var(--color-light);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.process-step__number {
  display: grid;
  flex-shrink: 0;
  place-items: center;

  width: 40px;
  height: 40px;

  font-family: var(--ff-ui);
  font-size: 18px;
  font-weight: 700;
  color: #1d4ed8;

  background: #eef2ff;
  border-radius: 50%;
}

.process-step h3 {
  margin: 0 0 6px;

  font-family: var(--ff-h);
  font-size: var(--fs-h3);
  font-weight: 700;
  line-height: 1.3;
}

.process-step p {
  margin: 0;
  color: var(--color-muted);
}

.process-faq {
  display: grid;
  gap: 24px;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}

.faq-card {
  display: grid;
  gap: 10px;

  padding: 24px;

  background: var(--color-light);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.faq-card h3 {
  margin: 0;

  font-family: var(--ff-h);
  font-size: var(--fs-h3);
  font-weight: 700;
  line-height: 1.3;
}

.faq-card p {
  margin: 0;
  color: var(--color-muted);
}

.about-intro__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
  align-items: center;
}

.about-intro__text {
  display: grid;
  gap: 16px;
}

.about-intro__text p {
  margin: 0;
  line-height: 1.6;
  color: var(--color-muted);
}

.about-intro__image {
  display: flex;
  justify-content: flex-end;
}

.about-intro__image img {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  width: min(100%, 420px);
  aspect-ratio: 4 / 3;
  height: auto;
  object-fit: cover;
  margin: 0;
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 18px;
}

.stat-card {
  display: grid;
  gap: 6px;
  justify-items: center;

  padding: 28px;

  text-align: center;

  background: var(--color-light);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.stat-card__number {
  font-family: var(--ff-h);
  font-size: 32px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.stat-card__label {
  color: var(--color-muted);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}

.value-card {
  display: grid;
  gap: 10px;

  padding: 26px;

  background: var(--color-light);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.value-card p {
  margin: 0;
  color: var(--color-muted);
}

.about-page .page-shell {
  --layout-max-width: 1040px;
  --layout-inline-gap: clamp(44px, 10vw, 150px);
  gap: clamp(28px, 5vw, 56px);
  padding: clamp(72px, 12vw, 120px) 0 clamp(60px, 10vw, 110px);
}

.about-page .page-shell > .page-hero {
  width: min(var(--layout-max-width), calc(100% - var(--layout-inline-gap)));
  margin-inline: auto;
  padding: clamp(60px, 11vw, 110px) clamp(22px, 7vw, 46px) clamp(32px, 9vw, 76px);
}

.about-page .page-section {
  gap: clamp(18px, 4vw, 30px);
  padding: clamp(24px, 5vw, 40px);
}

.about-page .page-hero__inner h1 {
  font-size: clamp(30px, 7vw, 46px);
  line-height: 1.15;
}

.about-page .page-hero__inner p {
  font-size: clamp(16px, 4.2vw, 20px);
  color: color-mix(in srgb, var(--color-dark) 45%, var(--color-muted) 65%);
}

.about-page .about-intro__text {
  max-width: 60ch;
}

.about-page .about-intro__grid {
  gap: clamp(20px, 4vw, 36px);
}

.about-page .stat-grid {
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: clamp(12px, 3vw, 18px);
}

.about-page .stat-card {
  padding: clamp(18px, 4vw, 28px);
}

.about-page .stat-card__number {
  font-size: clamp(24px, 5.6vw, 32px);
}

.about-page .values-grid {
  gap: clamp(12px, 3.5vw, 18px);
}

.about-page .value-card {
  padding: clamp(18px, 4.5vw, 26px);
}

@media (width <= 900px) {
  .about-page .page-shell {
    --layout-inline-gap: clamp(48px, 12vw, 120px);
  }

  .about-page .about-intro__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .about-page .about-intro__image {
    justify-content: center;
  }

  .about-page .about-intro__text {
    margin-inline: auto;
    text-align: left;
  }
}

@media (width <= 600px) {
  .about-page .page-shell {
    gap: clamp(24px, 6vw, 44px);
    padding: clamp(56px, 16vw, 90px) 0 clamp(48px, 14vw, 80px);
  }

  .about-page .page-shell > .page-hero,
  .about-page .page-section {
    padding-inline: clamp(18px, 6vw, 28px);
  }

  .about-page .page-hero__inner p {
    font-size: clamp(15px, 4.5vw, 18px);
  }

  .about-page .value-card,
  .about-page .stat-card {
    text-align: left;
    justify-items: start;
  }

  .about-page .stat-card {
    padding: clamp(16px, 5vw, 24px);
  }
}

.hidden {
  display: none !important;
}

.sr-only {
  position: absolute;

  overflow: hidden;

  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;

  white-space: nowrap;

  clip: rect(0, 0, 0, 0);
  border: 0;
}







* {
  box-sizing: border-box;
}

:root {
  --ff-ui: "Inter", system-ui, -apple-system, "Segoe UI", roboto, "Noto Sans", arial, sans-serif;
  --ff-h: "Manrope", var(--ff-ui);
  --fs-h1: clamp(32px, 6vw, 72px);
  --fs-h2: clamp(22px, 3.5vw, 36px);
  --fs-h3: clamp(18px, 2.4vw, 24px);
  --fs-body: 16px;
  --lh-tight: 1.15;
  --lh-body: 1.5;
  --color-dark: #0f172a;
  --color-light: #fff;
  --color-mid: #f8fafc;
  --color-accent: #1f6feb;
  --color-muted: #6b7280;
  --color-border: #e5e7eb;
  --color-success: #10b981;
  --shadow-sm: 0 6px 16px rgb(15 23 42 / 8%);
  --shadow-md: 0 12px 28px rgb(15 23 42 / 12%);
  --shadow-lg: 0 20px 50px rgb(15 23 42 / 14%);
  --header-height: 74px;
  --header-logo-width: 148px;
  --header-burger-size: 48px;
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-sm: 10px;
  --layout-max-width: 1280px;
  --layout-inline-gap: clamp(28px, 6vw, 96px);

  color-scheme: light;
}

html,
body {
  font-family: var(--ff-ui);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  overflow-x: hidden;
}

html {
  min-height: 100%;

  background: #dedede;
  background: linear-gradient(
    130deg,
    rgb(222 222 222 / 100%) 0%,
    rgb(144 196 224 / 100%) 50%,
    rgb(138 141 237 / 100%) 100%
  );
  overscroll-behavior: none;
}

body {
  min-height: 100vh;
  margin: 0;

  color: var(--color-dark);
  width: 100%;
  background: #dedede;
  background: linear-gradient(
    130deg,
    rgb(222 222 222 / 100%) 0%,
    rgb(144 196 224 / 100%) 50%,
    rgb(138 141 237 / 100%) 100%
  );
  overscroll-behavior: none;
}

.svg-defs-hidden {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
  pointer-events: none;
}

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

.page-shell {
  display: flex;
  flex-direction: column;
  gap: clamp(32px, 5vw, 60px);
  padding: clamp(96px, 14vw, 160px) 0 clamp(80px, 12vw, 140px);
}

.page-shell > section {
  width: min(var(--layout-max-width), calc(100% - var(--layout-inline-gap)));
  margin: 0 auto;
}

.page-shell > .page-hero {
  margin: 0 auto;
}

.inner-page {
  --inner-max-width: 1160px;
  --inner-inline-gap: clamp(32px, 8vw, 140px);
  --inner-shell-gap: clamp(30px, 5vw, 62px);
}

.inner-page .page-shell {
  gap: var(--inner-shell-gap);
  padding: clamp(78px, 13vw, 148px) 0 clamp(62px, 11vw, 120px);
}

.inner-page .page-shell > section,
.inner-page .page-section,
.inner-page .page-hero,
.inner-page .detail,
.inner-page .cta,
.inner-page .contacts__map,
.inner-page .section__inner {
  width: min(var(--inner-max-width), calc(100% - var(--inner-inline-gap)));
  margin-inline: auto;
}

.inner-page .page-hero,
.inner-page .page-section {
  padding: clamp(28px, 4.6vw, 48px);
  border-radius: clamp(20px, 4vw, 32px);
}

.inner-page .page-hero__inner {
  gap: clamp(14px, 4vw, 22px);
  max-width: min(720px, 100%);
}

.inner-page .page-hero__inner h1 {
  font-size: clamp(30px, 5vw, 52px);
  line-height: 1.15;
}

.inner-page .page-hero__inner p {
  font-size: clamp(16px, 3.8vw, 20px);
  color: color-mix(in srgb, var(--color-dark) 60%, var(--color-muted) 55%);
}

.inner-page .section__header {
  gap: clamp(10px, 3vw, 20px);
  align-items: flex-start;
}

.inner-page .section__title {
  font-size: clamp(22px, 3.6vw, 34px);
}

.inner-page .page-section h3,
.inner-page .value-card h3,
.inner-page .contacts__info h2 {
  font-size: clamp(18px, 3.2vw, 26px);
}

.inner-page .stat-grid,
.inner-page .values-grid,
.inner-page .contacts {
  gap: clamp(16px, 4vw, 28px);
}

.inner-page .stat-card,
.inner-page .value-card,
.inner-page .contacts__info,
.inner-page .contacts__form {
  padding: clamp(20px, 5vw, 32px);
}

.inner-page .stat-card__number {
  font-size: clamp(24px, 4.6vw, 34px);
}

@media (width >= 1440px) {
  .inner-page {
    --inner-max-width: 1240px;
    --inner-inline-gap: clamp(60px, 8vw, 180px);
  }
}

@media (width <= 768px) {
  .inner-page {
    --inner-inline-gap: clamp(24px, 10vw, 60px);
    --inner-shell-gap: clamp(22px, 6vw, 40px);
  }

  .inner-page .page-shell {
    gap: var(--inner-shell-gap);
    padding: clamp(60px, 18vw, 96px) 0 clamp(44px, 16vw, 88px);
  }

  .inner-page .page-hero,
  .inner-page .page-section {
    padding: clamp(22px, 6vw, 32px);
  }

  .inner-page .page-hero__inner {
    gap: clamp(12px, 5vw, 20px);
  }
}

@media (width <= 425px) {
  .inner-page .page-shell > section,
  .inner-page .page-section,
  .inner-page .page-hero {
    width: calc(100% - clamp(18px, 8vw, 32px));
  }

  .inner-page .page-hero,
  .inner-page .page-section {
    padding: clamp(18px, 7vw, 26px);
  }

  .inner-page .page-hero__inner h1 {
    font-size: clamp(24px, 8vw, 32px);
  }

  .inner-page .page-hero__inner p,
  .inner-page .page-section p {
    font-size: clamp(14px, 4.5vw, 16px);
    line-height: 1.5;
  }
}

@media (width <= 360px) {
  .inner-page .page-shell {
    padding: clamp(48px, 20vw, 72px) 0 clamp(36px, 20vw, 64px);
  }

  .inner-page .page-section,
  .inner-page .page-hero {
    border-radius: 18px;
  }
}

.h1 {
  font-family: var(--ff-h);
  font-size: var(--fs-h1);
  font-weight: 800;
  line-height: var(--lh-tight);
  letter-spacing: -0.02em;
}

.h2 {
  font-family: var(--ff-h);
  font-size: var(--fs-h2);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.h3 {
  font-family: var(--ff-h);
  font-size: var(--fs-h3);
  font-weight: 700;
  line-height: 1.3;
}

input,
select,
button {
  font-family: var(--ff-ui);
}

.btn {
  font-weight: 600;
  letter-spacing: 0.01em;
}

.price,
.detail__price,
.favorites-card__price,
.stat-card__number,
.process-step__number {
  font-feature-settings:
    "tnum" 1,
    "lnum" 1;
  font-variant-numeric: tabular-nums;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

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

button {
  cursor: pointer;
  font: inherit;
}

.lgv2-shell {
  isolation: isolate;
  position: relative;

  overflow: hidden;

  background: transparent;
  border-radius: var(--radius-xl);
}

.lgv2-shell::before {
  content: "";

  position: absolute;
  z-index: 0;
  inset: 0;

  border-radius: inherit;
  box-shadow:
    inset 2px 2px 0 -2px rgb(255 255 255 / 70%),
    inset 0 0 3px 1px rgb(255 255 255 / 70%);
}

.lgv2-shell::after {
  content: "";

  position: absolute;
  z-index: -1;
  inset: 0;

  overflow: hidden;

  filter: url("#lgv2-container");
  -webkit-backdrop-filter: blur(0);
  backdrop-filter: blur(0);
  border-radius: inherit;
}

.site-header {
  position: sticky;
  z-index: 120;
  top: 25px;

  width: min(1350px, calc(100% - 10px));
  margin: 16px auto 0;

  background-color: rgb(255 255 255 / 30%);
}

.site-header__inner {
  display: flex;
  flex-wrap: nowrap;
  gap: 28px;
  align-items: center;
  justify-content: space-between;

  max-width: 1500px;
  margin: 0 auto;
  padding: 14px 24px;
}

.site-header__left,
.site-header__right {
  display: flex;
  flex-wrap: nowrap;
  gap: 24px;
  align-items: center;
}

.site-header__left {
  flex: 1 1 auto;
  min-width: 0;
}

.site-header__right {
  flex: 0 0 auto;
}

.site-logo {
  flex-shrink: 0;
  width: var(--header-logo-width);
  max-width: none;
  height: auto;
}

.nav-links {
  display: flex;
  flex-wrap: nowrap;
  gap: 20px;
  align-items: center;

  white-space: nowrap;
}

.nav-links a {
  position: relative;
  padding: 10px 0;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.nav-links a::after {
  content: "";

  position: absolute;
  bottom: -2px;
  left: 0;
  transform-origin: left;
  transform: scaleX(0);

  width: 100%;
  height: 2px;

  background: var(--color-accent);

  transition: transform 0.25s ease;
}

.nav-links a:hover::after {
  transform: scaleX(1);
}

.icon-links {
  display: flex;
  flex-wrap: nowrap;
  gap: 12px;
}

.lgv2-btn {
  position: relative;
  z-index: 0;

  background: transparent;
  border: none;
  outline: none;
}

.lgv2-btn::before {
  content: "";

  position: absolute;
  z-index: 0;
  inset: 0;

  border-radius: inherit;
  box-shadow:
    inset 2px 2px 0 -2px rgb(255 255 255 / 70%),
    inset 0 0 3px 1px rgb(255 255 255 / 70%);
}

.lgv2-btn::after {
  content: "";

  position: absolute;
  z-index: -1;
  inset: 0;

  filter: url("#lgv2-btn");
  border-radius: inherit;
}

.cta-button.lgv2-btn {
  padding: 12px 18px;
  font-weight: 475;
  color: var(--color-dark);
  border-radius: var(--radius-md);
}

.footer-social a.lgv2-btn {
  display: grid;
  place-items: center;

  width: 40px;
  height: 40px;

  border-radius: 12px;
}

.sidebar {
  position: fixed;
  inset: 0 0 0 auto;
  transform: translateX(100%);

  width: 340px;
  max-width: 88vw;

  background: #fff;

  transition: transform 0.25s ease;
}

.sidebar.is-open {
  transform: translateX(0);
}

.sidebar__panel {
  display: grid;
  gap: 16px;
  height: 100%;
  padding: 20px;
}

.sidebar__brand {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.sidebar__logo {
  display: inline-flex;
  align-items: center;
}

.sidebar__logo img {
  width: 120px;
  height: auto;
}

.sidebar__close {
  width: 40px;
  height: 40px;
  border-radius: 10px;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgb(2 6 23 / 35%), rgb(2 6 23 / 35%));
}

.hero__content {
  position: relative;
  z-index: 1;

  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 28px;

  width: 100%;
  max-width: 1180px;
}

.select {
  width: 100%;
  padding: 14px 16px;

  font-size: 15px;

  background: var(--color-light);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);

  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.select:focus {
  border-color: #93c5fd;
  outline: none;
  box-shadow: 0 0 0 4px rgb(147 197 253 / 35%);
}

.glass-select {
  position: relative;
  display: block;
}

.glass-select__native {
  pointer-events: none;

  position: absolute;

  overflow: hidden;

  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;

  opacity: 0;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  border: 0;
}

.glass-select__trigger {
  cursor: pointer;

  position: relative;

  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;

  width: 100%;
  padding: 14px 16px;

  font-size: 15px;
  color: #0f172a;

  background: color-mix(in srgb, #fff 18%, transparent);
  -webkit-backdrop-filter: blur(12px) saturate(1.05);
  backdrop-filter: blur(12px) saturate(1.05);
  border: 1px solid color-mix(in srgb, #fff 32%, transparent);
  border-radius: var(--radius-md);
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 35%),
    0 12px 26px rgb(15 23 42 / 12%);

  transition:
    transform 0.16s ease,
    box-shadow 0.16s ease,
    background 0.16s ease,
    border-color 0.16s ease;
}

.glass-select__trigger::after {
  content: "";

  transform: rotate(45deg);

  width: 8px;
  height: 8px;

  border-right: 2px solid currentcolor;
  border-bottom: 2px solid currentcolor;

  transition: transform 0.18s ease;
}

.glass-select.is-open .glass-select__trigger::after {
  transform: rotate(-135deg);
}

.glass-select__trigger:focus-visible {
  outline: 2px solid rgb(147 197 253 / 85%);
  outline-offset: 3px;
}

.glass-select.is-disabled .glass-select__trigger {
  cursor: not-allowed;
  opacity: 0.6;
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 20%);
}

.glass-select__value {
  overflow: hidden;
  flex: 1;

  min-width: 0;

  text-align: left;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.glass-select:not(.has-value) .glass-select__value {
  color: rgb(15 23 42 / 60%);
}

.glass-select__dropdown {
  position: absolute;
  z-index: 220;
  top: calc(100% + 10px);
  left: 0;

  overflow-y: auto;
  display: none;

  width: 100%;
  max-height: 260px;
  padding: 8px;

  font-weight: 700;
  color: #242424;

  background: color-mix(in srgb, rgb(189 189 189 / 37.7%) 85%, transparent);
  -webkit-backdrop-filter: blur(18px) saturate(1.12);
  backdrop-filter: blur(18px) saturate(1.12);
  border: 1px solid rgb(255 255 255 / 32%);
  border-radius: 18px;
  box-shadow:
    0 18px 44px rgb(15 23 42 / 32%),
    inset 0 1px 0 rgb(255 255 255 / 25%);
}

.glass-select__dropdown::-webkit-scrollbar {
  width: 0;
  height: 0;
}

@supports (scrollbar-width: none) {
  .glass-select__dropdown {
    scrollbar-width: none;
  }
}

.glass-select.is-open .glass-select__dropdown {
  display: block;
}

.glass-select__list {
  display: grid;
  gap: 6px;

  margin: 0;
  padding: 4px;

  list-style: none;
}

.glass-select__option {
  cursor: pointer;

  padding: 12px 14px;

  border-radius: 14px;
  outline: none;

  transition:
    background 0.16s ease,
    transform 0.16s ease,
    box-shadow 0.16s ease;
}

.glass-select__option:hover,
.glass-select__option:focus {
  transform: translateY(-1px);
  background: rgb(255 255 255 / 18%);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 22%);
}

.glass-select__option.is-selected {
  background: rgb(255 255 255 / 24%);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 28%);
}

.glass-select__option.is-disabled {
  pointer-events: none;
  cursor: not-allowed;
  opacity: 0.4;
}

.section {
  display: flex;
  justify-content: center;
  padding: 90px 20px;
}

.section__inner {
  display: grid;
  gap: 32px;

  max-width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 55px 55px 45px;

  background: var(--color-light);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
}

.site-footer {
  width: min(1220px, calc(100% - 32px));
  margin: 90px auto 60px;
  padding: 70px 20px;
  color: var(--color-dark);
}

.site-footer__inner {
  display: grid;
  gap: 32px;

  max-width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 32px;
}

.site-footer__top {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.footer-logo {
  width: 120px;
  padding-top: 12px;
}

.footer-block h3 {
  margin-top: 0;
  font-size: 20px;
  color: var(--color-dark);
}

.footer-block ul {
  display: grid;
  gap: 8px;

  margin: 0;
  padding: 0;

  list-style: none;
}

.footer-note {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px 16px;
  font-size: 14px;
  color: var(--color-muted);
}



.nav-links {
  display: flex;
  flex-wrap: nowrap;
  gap: 10px;

  font-weight: 450;
  white-space: nowrap;
}

.nav-links a {
  position: relative;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  height: 40px;
  padding: 0 14px;

  line-height: 1;
  white-space: nowrap;

  border-radius: var(--radius-md);
}

.nav-links a::after {
  content: none !important;
}

.nav-links a.lgv2-btn::before {
  box-shadow:
    inset 1px 2px 0 -2px rgb(255 255 255 / 70%),
    inset 0 0 3px 1px rgb(255 255 255 / 65%);
}

.nav-links a.lgv2-btn::after {
  filter: url("#lgv2-btn");
}

.nav-links a:hover {
  transform: translateY(-1px);
  transition: transform 0.15s ease;
}

.nav-links a:active {
  transform: translateY(0);
}



.nav-links a.lgv2-btn::before {
  box-shadow:
    inset 2px 2px 0 -1px rgb(255 255 255 / 50%),
    inset 0 0 6px 2px rgb(255 255 255 / 40%);
}

.lgv2-btn {
  position: relative;
  z-index: 0;

  background: transparent;
  border: none;
  outline: none;
}

.lgv2-btn::before {
  content: "";

  position: absolute;
  z-index: 0;
  inset: 0;

  border-radius: inherit;
  box-shadow:
    inset 2px 2px 0 -2px rgb(255 255 255 / 70%),
    inset 0 0 3px 1px rgb(255 255 255 / 70%);
}

.lgv2-btn::after {
  content: "";

  position: absolute;
  z-index: -1;
  inset: 0;

  border-radius: inherit;
}

.nav-links a.lgv2-btn::after {
  filter: url("#refract-nav");
}

.cta-button.lgv2-btn::after,
.footer-social a.lgv2-btn::after {
  filter: url("#refract-btn");
}

.nav-links a:hover {
  transform: translateY(-1px);
  transition: transform 0.15s ease;
}

.nav-links a:active {
  transform: translateY(0);
}

.icon-links {
  display: flex;
  gap: 8px;
}

.lgv2-btn-social {
  opacity: 0.95;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  transition: opacity 0.15s ease;
}

.lgv2-btn-social:hover,
.lgv2-btn-social:focus-visible {
  opacity: 1;
}

.lgv2-btn-social:focus-visible {
  outline: 2px solid #60a5fa;
  outline-offset: 2px;
}

.nav-links a.lgv2-btn {
  background-color: rgb(255 255 255 / 14%);
  -webkit-backdrop-filter: blur(2px) contrast(1.25) brightness(0.94) saturate(1.05);
  backdrop-filter: blur(2px) contrast(1.25) brightness(0.94) saturate(1.05);
}

.nav-links a.lgv2-btn:hover {
  -webkit-backdrop-filter: blur(2px) contrast(1.35) brightness(0.92) saturate(1.06);
  backdrop-filter: blur(2px) contrast(1.35) brightness(0.92) saturate(1.06);
}

.lgv2-btn-social {
  --glow: rgb(255 255 255 / 22%);

  isolation: isolate;
  position: relative;

  background-clip: padding-box;
  -webkit-backdrop-filter: blur(2px) contrast(1.15) brightness(0.97);
  backdrop-filter: blur(2px) contrast(1.15) brightness(0.97);
  border-radius: inherit;
}

.lgv2-btn-social::before {
  pointer-events: none;
  content: "";

  position: absolute;
  inset: 0;

  filter: blur(0.2px);
  border-radius: inherit;
  box-shadow:
    inset 0 0 0 1px rgb(255 255 255 / 28%),
    inset 0 0 10px rgb(255 255 255 / 6%);
}

.lgv2-btn-social::after {
  pointer-events: none;
  content: "";

  position: absolute;
  inset: 0;

  opacity: 0;
  border-radius: inherit;
  box-shadow:
    0 0 10px 6px var(--glow),
    0 0 20px 14px color-mix(in srgb, var(--glow) 60%, transparent);

  transition: opacity 0.18s ease;
}

.lgv2-btn-social:hover::after,
.lgv2-btn-social:focus-visible::after {
  opacity: 0.4;
}

.lgv2-btn-social .icon {
  position: relative;
  z-index: 1;
  display: block;
}

.lgv2-btn-social.social--tg {
  --glow: rgb(39 167 231 / 35%);
}

.lgv2-btn-social.social--wa {
  --glow: rgb(37 211 102 / 35%);
}

.lgv2-btn-social.social--yt {
  --glow: rgb(255 67 54 / 35%);
}

.lgv2-btn-social.social--vk {
  --glow: rgb(39 135 245 / 35%);
}

.lgv2-btn-social {
  transform: translateZ(0);
  outline: 1px solid rgb(255 255 255 / 0%);
}

.lgv2-shell {
  --shell-blur: 0.5px;

  isolation: isolate;
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl);
}

.lgv2-shell {
  --shell-radius: var(--radius-xl, 28px);
  --edge-clear: 1px;
  --shell-blur: 0.5px;

  isolation: isolate;
  position: relative;
  overflow: hidden;
  border-radius: var(--shell-radius);
}

.lgv2-content {
  position: relative;
  z-index: 1;
}

.lgv2-shell::after {
  pointer-events: none;
  will-change: filter;
  content: "";

  position: absolute;
  z-index: 0;
  inset: 0;
  transform: translateZ(0);

  clip-path: inset(5px);
  filter: url("#lgv2-container");
  border-radius: var(--shell-radius);
}

.lgv2-shell::before {
  content: "";

  position: absolute;
  inset: 0;

  background: rgb(255 255 255 / 0.1%);
  clip-path: inset(var(--edge-clear, 1px) round var(--radius-xl, 28px));
  -webkit-backdrop-filter: blur(var(--shell-blur));
  backdrop-filter: blur(var(--shell-blur));

  transition:
    backdrop-filter 0.25s ease,
    -webkit-backdrop-filter 0.25s ease;
}

.site-header__shell:hover,
.site-header__shell:focus-within {
  --shell-blur: 10px;
}

.site-header__shell {
  border: 1px solid var(--color-border);
}

.cta-button.lgv2-btn {
  position: relative;
  z-index: 1;

  padding: 12px 18px;

  font-weight: 475;
  color: var(--color-dark);

  background-color: rgb(255 255 255 / 14%);
  -webkit-backdrop-filter: blur(2px) contrast(1.25) brightness(0.94) saturate(1.05);
  backdrop-filter: blur(2px) contrast(1.25) brightness(0.94) saturate(1.05);
  border: none;
  border-radius: var(--radius-md);

  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease,
    backdrop-filter 0.25s ease;
}

.cta-button.lgv2-btn:hover {
  transform: translateY(-1px);
  -webkit-backdrop-filter: blur(2px) contrast(1.35) brightness(0.92) saturate(1.06);
  backdrop-filter: blur(2px) contrast(1.35) brightness(0.92) saturate(1.06);
  box-shadow: 0 10px 25px rgb(37 99 235 / 25%);
}

.lgv2-glass-panel {
  isolation: isolate;
  position: relative;

  overflow: clip;

  background: rgb(255 255 255 / 18%);
  background: color-mix(in srgb, #fff 18%, transparent);
  -webkit-backdrop-filter: blur(14px) saturate(1.15) brightness(1.02);
  backdrop-filter: blur(14px) saturate(1.15) brightness(1.02);
  border: 1px solid rgb(255 255 255 / 36%);
  border: 1px solid color-mix(in srgb, #fff 36%, transparent);
  border-radius: 22px;
  box-shadow:
    0 10px 40px rgb(15 23 42 / 22%),
    inset 0 1px 0 rgb(255 255 255 / 35%);
}

.lgv2-glass-panel::before {
  pointer-events: none;
  content: "";

  position: absolute;
  inset: 0;

  opacity: 0.55;
  background: linear-gradient(180deg, rgb(255 255 255 / 45%), transparent 38%);
  border-radius: 22px;
  mix-blend-mode: screen;
}

.btn--glass {
  --btn-bg: color-mix(in srgb, #fff 16%, transparent);
  --btn-border: color-mix(in srgb, #fff 40%, transparent);

  position: relative;

  display: inline-flex;
  gap: 0.55rem;
  align-items: center;
  justify-content: center;

  padding: 14px 20px;

  font-weight: 600;
  line-height: 1;
  color: #0f172a;

  background: var(--btn-bg);
  -webkit-backdrop-filter: blur(12px) contrast(1.07) saturate(1.05);
  backdrop-filter: blur(12px) contrast(1.07) saturate(1.05);
  border: 1px solid var(--btn-border);
  border-radius: 16px;
  box-shadow:
    0 8px 26px rgb(2 6 23 / 18%),
    inset 0 1px 0 rgb(255 255 255 / 50%);

  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    backdrop-filter 0.25s ease;
}

.btn--glass::after {
  pointer-events: none;
  content: "";

  position: absolute;
  inset: 0;

  filter: url("#refract-btn");
  border-radius: inherit;
}

.btn--glass:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 40px rgb(2 6 23 / 22%);
}

.btn--glass:active {
  transform: translateY(-1px);
}

.btn--ghost {
  background: color-mix(in srgb, #fff 10%, transparent);
  border: 1px solid color-mix(in srgb, #fff 26%, transparent);
}

.hero.hero--lgv2 {
  isolation: isolate;
  position: relative;

  overflow: hidden;

  width: min(1220px, calc(100% - 32px));
  min-height: clamp(620px, 76vh, 860px);
  margin: 42px auto 0;
  padding: 150px 20px 70px;

  color: #0b1222;

  background: none;
  border-radius: 24px;
  box-shadow: 0 24px 80px rgb(2 6 23 / 18%);
}

.hero.hero--lgv2::after {
  pointer-events: none;
  content: "";

  position: absolute;
  inset: 0;

  opacity: 0.88;
  filter: url("#lgv2-container");
}

.hero--lgv2 .hero__content {
  position: relative;
  z-index: 1;

  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 28px;

  max-width: 1180px;
  margin: 0 auto;
}

.hero--lgv2 .hero__text {
  display: grid;
  grid-column: span 6;
  gap: 18px;
  max-width: min(560px, 100%);
  width: 100%;
}

@supports (text-wrap: balance) {
  .hero--lgv2 .hero__text {
    text-wrap: balance;
  }
}

.hero--lgv2 .hero__title {
  margin: 0;

  font-family: var(--ff-h);
  font-size: clamp(32px, 5.5vw, 72px);
  font-weight: 800;
  line-height: var(--lh-tight);
  color: #0b1222;
  text-shadow: 0 1px 0 rgb(255 255 255 / 65%);
  letter-spacing: -0.02em;
}

.hero--lgv2 .hero__subtitle {
  margin: 0;

  font-family: var(--ff-ui);
  font-size: clamp(18px, 2vw, 20px);
  line-height: var(--lh-body);
  color: color-mix(in srgb, #0b1222 72%, #334155);
}





.lgv2-glass {
  isolation: isolate;
  position: relative;

  overflow: clip;

  background: color-mix(in srgb, #fff 18%, transparent);
  -webkit-backdrop-filter: blur(14px) saturate(1.1) brightness(1.02);
  backdrop-filter: blur(14px) saturate(1.1) brightness(1.02);
  border: 1px solid color-mix(in srgb, #fff 36%, transparent);
  border-radius: 20px;
  box-shadow:
    0 10px 40px rgb(15 23 42 / 22%),
    inset 0 1px 0 rgb(255 255 255 / 45%);
}

.lgv2-glass::before {
  content: "";

  position: absolute;
  z-index: -1;
  inset: 0;

  filter: url("#glass-distortion");
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
  border-radius: inherit;
}

.lgv2-glass::after {
  pointer-events: none;
  content: "";

  position: absolute;
  inset: 0;

  border-radius: inherit;
  box-shadow:
    inset 2px 2px 1px 0 rgb(255 255 255 / 50%),
    inset -1px -1px 1px 1px rgb(255 255 255 / 35%);
}

.hero.hero--lgv2 {
  isolation: isolate;
  position: relative;

  overflow: hidden;

  width: min(1220px, calc(100% - 32px));
  min-height: clamp(620px, 76vh, 860px);
  margin: 42px auto 0;
  padding: 150px 20px 70px;

  color: #0b1222;

  background: none;
  border-radius: 24px;
  box-shadow: 0 24px 80px rgb(2 6 23 / 18%);
}

.hero.hero--lgv2::after {
  pointer-events: none;
  content: "";

  position: absolute;
  inset: 0;

  opacity: 0.88;
  filter: url("#lgv2-container");
}

.hero--lgv2 .hero__content {
  position: relative;
  z-index: 1;

  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 28px;

  max-width: 1180px;
  margin: 0 auto;
}

.hero--lgv2 .hero__text {
  display: grid;
  grid-column: span 6;
  gap: 18px;
}

.hero__title {
  margin: 0;

  font-family: var(--ff-h);
  font-size: var(--fs-h1);
  font-weight: 800;
  line-height: var(--lh-tight);
  color: #fff;
  text-shadow: 0 1px 0 rgb(255 255 255 / 65%);
  letter-spacing: -0.02em;
}

.hero__title-row {
  transform: rotate(-1.4deg);
  display: inline-block;
  margin-left: 25px;
  color: #fff;
}

.hero__title-highlight {
  position: relative;
  transform: rotate(1.1deg);

  display: inline-block;

  margin-left: 16px;
  padding-bottom: 0;
  padding-inline: 0;
}

.hero__title-after-hl {
  margin-left: 25px;
  color: #fff;
}

.hero__title-highlight::before {
  content: "";

  position: absolute;
  z-index: -1;
  inset: -4px -8px -6px;

  background:
    radial-gradient(120% 220% at 10% 10%, rgb(152 129 129 / 70%), transparent 35%),
    linear-gradient(135deg, #a78bfa 0%, #516a96 55%, #5b21b6 100%);
  border-radius: 16px;
  box-shadow:
    0 12px 40px rgb(27 6 62 / 54%),
    inset 0 1px 0 rgb(0 0 0 / 13.8%);
}

.hero__title-highlight > span {
  color: #fff;
  text-shadow: 0 1px 0 rgb(0 0 0 / 25%);
  white-space: nowrap;
}

.hero--lgv2 .hero__subtitle {
  margin: 0;
  margin-left: 25px;

  font-family: var(--ff-ui);
  font-size: clamp(18px, 2vw, 20px);
  line-height: var(--lh-body);
  color: #fff;
}

.chips-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 15px;

  max-width: 550px;
  margin-top: 8px;
  margin-left: 25px;
}





.chip {
  display: inline-flex;
  align-items: center;

  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  color: #000;

  background: color-mix(in srgb, #fff 25%, transparent);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border: 1px solid color-mix(in srgb, #fff 40%, transparent);
  border-radius: 25px;
}

.btn--glass {
  --btn-bg: color-mix(in srgb, #fff 18%, transparent);
  --btn-border: color-mix(in srgb, #fff 40%, transparent);

  position: relative;

  display: inline-flex;
  gap: 0.55rem;
  align-items: center;
  justify-content: center;

  padding: 14px 20px;

  font-weight: 700;
  line-height: 1;
  color: #0f172a;

  background: var(--btn-bg);
  -webkit-backdrop-filter: blur(12px) contrast(1.07) saturate(1.05);
  backdrop-filter: blur(12px) contrast(1.07) saturate(1.05);
  border: 1px solid var(--btn-border);
  border-radius: 16px;
  box-shadow:
    0 8px 26px rgb(2 6 23 / 18%),
    inset 0 1px 0 rgb(255 255 255 / 50%);

  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease;
}

.btn--glass:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 40px rgb(2 6 23 / 22%);
}

.btn--glass:active {
  transform: translateY(-1px);
}

.btn--ghost {
  background: color-mix(in srgb, #fff 10%, transparent);
  border: 1px solid color-mix(in srgb, #fff 26%, transparent);
}

.hero--lgv2 .hero__filters {
  position: relative;
  isolation: isolate;
  overflow: hidden;

  display: grid;
  grid-column: span 6;
  gap: 16px;

  margin-left: 50px;
  padding: 32px;

  background: linear-gradient(140deg, rgb(226 232 240 / 0.55), rgb(248 250 252 / 0.4));
  -webkit-backdrop-filter: blur(32px) saturate(1.05);
  backdrop-filter: blur(32px) saturate(1.05);
  border: 1px solid rgb(255 255 255 / 0.4);
  border-radius: 28px;
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.35);
}

.hero--lgv2 .hero__filters::before {
  content: none;
}

.hero--lgv2 .hero__filters.lgv2-glass {
  padding: 32px;
  border-radius: 28px;
}

@supports not ((-webkit-backdrop-filter: none) or (backdrop-filter: none)) {
  .hero--lgv2 .hero__filters {
    background-color: rgb(226 232 240 / 0.65);
  }
}

.hero--lgv2 .label {
  font-weight: 600;
  color: color-mix(in srgb, #0b1222 65%, #111827);
}

.hero--lgv2 .select,
.hero--lgv2 .input {
  width: 100%;
  height: 46px;
  padding: 10px 14px;

  color: #0f172a;

  -webkit-appearance: none;
  appearance: none;
  background: color-mix(in srgb, #fcfcfc 70%, transparent);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  border: 1px solid color-mix(in srgb, #fff 45%, transparent);
  border-radius: 14px;
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 60%);

  transition:
    box-shadow 0.15s ease,
    border-color 0.15s ease,
    background-color 0.15s ease;
}

.hero--lgv2 .number-field {
  background: color-mix(in srgb, #fcfcfc 70%, transparent);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  border: 1px solid color-mix(in srgb, #fff 45%, transparent);
  border-radius: 14px;
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 60%);
}

.hero--lgv2 .number-field__control {
  color: #0f172a;
}

.hero--lgv2 .select {
  padding-right: 42px;

  background-image:
    linear-gradient(0deg, rgb(255 255 255 / 55%), rgb(255 255 255 / 55%)),
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23111827' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>");
  background-repeat: no-repeat, no-repeat;
  background-position:
    0 0,
    right 12px center;
  background-size:
    100% 100%,
    18px;
}

.hero--lgv2 .select:focus,
.hero--lgv2 .input:focus {
  background: color-mix(in srgb, #fcfcfc 80%, transparent);
  border-color: #93c5fd;
  outline: none;
  box-shadow:
    0 0 0 6px rgb(147 197 253 / 28%),
    inset 0 1px 0 rgb(255 255 255 / 75%);
}

.hero--lgv2 .number-field:focus-within {
  background: color-mix(in srgb, #fcfcfc 80%, transparent);
  border-color: #93c5fd;
  box-shadow:
    0 0 0 6px rgb(147 197 253 / 28%),
    inset 0 1px 0 rgb(255 255 255 / 75%);
}

.hero--lgv2 .glass-select {
  color: #0f172a;
}

.hero--lgv2 .glass-select__trigger {
  padding: 12px 18px;

  color: #0b1222;

  background: linear-gradient(140deg, rgb(255 255 255 / 78%), rgb(255 255 255 / 48%));
  border: 1px solid color-mix(in srgb, #fff 45%, transparent);
  border-radius: 18px;
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 65%),
    0 18px 38px rgb(15 23 42 / 22%);
}

.hero--lgv2 .glass-select__trigger:hover {
  transform: translateY(-1px);
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 70%),
    0 22px 44px rgb(15 23 42 / 28%);
}

.hero--lgv2 .glass-select__trigger:focus-visible {
  outline-color: rgb(96 165 250 / 85%);
}

.hero--lgv2 .glass-select__trigger::after {
  border-color: rgb(17 24 39 / 70%);
}

.hero--lgv2 .glass-select.is-open .glass-select__trigger::after {
  border-color: rgb(17 24 39 / 90%);
}

.hero--lgv2 .glass-select:not(.has-value) .glass-select__value {
  color: rgb(11 18 34 / 60%);
}

.hero--lgv2 .glass-select__option {
  color: rgb(255 255 255 / 95%);
}

.hero--lgv2 .glass-select__option.is-selected {
  color: #fff;
  background: rgb(255 255 255 / 28%);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 40%);
}





.hero.hero--lgv2 {
  background: none !important;
}

.hero.hero--lgv2::after {
  content: none !important;
}

.hero--lgv2 .hero__media {
  position: absolute;
  z-index: 0;
  inset: 0;
  overflow: hidden;
}

.hero--lgv2 .hero__image {
  transform: translateZ(0);
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero--lgv2 .hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgb(9 14 23 / 55%) 0%,
    rgb(9 14 23 / 28%) 38%,
    rgb(9 14 23 / 0%) 62%
  );
}

.hero--lgv2 .hero__glass-frame {
  pointer-events: none;

  isolation: isolate;
  position: absolute;
  z-index: 1;
  inset: 0.01px;

  border-radius: 24px;
}

.hero--lgv2 .hero__glass-frame::before {
  content: "";

  position: absolute;
  inset: 0;

  background: rgba(59, 59, 59, 0.4);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
  border-radius: inherit;
  box-shadow:
    inset 0 0 0 1px rgb(255 255 255 / 38%),
    inset 0 1px 0 rgb(255 255 255 / 65%);
}

.hero--lgv2 .btn--glass,
.hero--lgv2 .cta-button.btn--glass,
.hero--lgv2 .button-secondary.btn--glass {
  font-weight: 450;
  color: #fff !important;
  text-shadow: 0 1px 0 rgb(0 0 0 / 28%);
}

.hero--lgv2 .btn--glass svg {
  fill: none;
  stroke: #fff;
}

.hero--lgv2 .btn--glass.btn--ghost {
  border-color: rgb(255 255 255 / 55%);
}

.hero--lgv2 .chip {
  --chip-tint: #fff;
  --chip-glow: rgb(2 6 23 / 18%);

  background:
    linear-gradient(180deg, rgb(255 255 255 / 55%), rgb(255 255 255 / 20%)),
    color-mix(in srgb, var(--chip-tint) 18%, transparent);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border: 1px solid color-mix(in srgb, var(--chip-tint) 40%, transparent);
  box-shadow:
    0 10px 24px var(--chip-glow),
    inset 0 1px 0 rgb(255 255 255 / 60%);

  transition:
    box-shadow 0.18s ease,
    transform 0.18s ease;
}

.hero--lgv2 .chip:hover {
  transform: translateY(-2px);
  box-shadow:
    0 14px 40px var(--chip-glow),
    inset 0 1px 0 rgb(255 255 255 / 65%);
}

.chip--sky {
  --chip-tint: #6cc1e5;
  --chip-glow: rgb(56 189 248 / 28%);
}

.chip--violet {
  --chip-tint: #9088a9;
  --chip-glow: rgb(167 139 250 / 28%);
}

.chip--mint {
  --chip-tint: #34d399;
  --chip-glow: rgb(52 211 153 / 28%);
}

.hero--lgv2 .chips-grid .chip:nth-child(1) {
  --chip-tint: #38bdf8;
  --chip-glow: rgb(56 189 248 / 28%);
}

.hero--lgv2 .chips-grid .chip:nth-child(2) {
  --chip-tint: #a78bfa;
  --chip-glow: rgb(167 139 250 / 28%);
}

.hero--lgv2 .chips-grid .chip:nth-child(3) {
  --chip-tint: #34d399;
  --chip-glow: rgb(52 211 153 / 28%);
}

.glass-theme {
  --glass-blur: 14px;
  --glass-bg: color-mix(in srgb, #fff 18%, transparent);
  --glass-border: color-mix(in srgb, #fff 40%, transparent);
  --glass-shadow: 0 10px 40px rgb(15 23 42 / 22%);
}

.glass-theme :where(.lgv2-glass):not(.hero, .hero *) {
  isolation: isolate;
  position: relative;

  overflow: clip;

  background: var(--glass-bg);
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(1.1) brightness(1.02);
  backdrop-filter: blur(var(--glass-blur)) saturate(1.1) brightness(1.02);
  border: 1px solid var(--glass-border);
  border-radius: 22px;
  box-shadow:
    var(--glass-shadow),
    inset 0 1px 0 rgb(255 255 255 / 45%);
}

.glass-theme :where(.lgv2-glass):not(.hero, .hero *)::before {
  content: "";

  position: absolute;
  z-index: -1;
  inset: 0;

  filter: url("#glass-distortion");
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
  border-radius: inherit;
}

.glass-theme
  :where(
    .section__inner,
    .cta,
    .faq__item,
    .service-card,
    .category-card,
    .filter-panel,
    .page-section,
    .page-hero,
    .detail,
    .options,
    .office-card,
    .team-card,
    .favorites-card,
    .profile-card,
    .catalog-results,
    .auth__card,
    .auth__aside,
    .contacts__info,
    .contacts__form,
    .contacts__map
  ) {
  isolation: isolate;
  position: relative;

  overflow: clip;

  background: var(--glass-bg);
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(1.05) brightness(1.02);
  backdrop-filter: blur(var(--glass-blur)) saturate(1.05) brightness(1.02);
  border: 1px solid var(--glass-border);
  border-radius: 22px;
  box-shadow:
    var(--glass-shadow),
    inset 0 1px 0 rgb(255 255 255 / 45%);
}

.glass-theme
  :where(
    .section__inner,
    .cta,
    .faq__item,
    .service-card,
    .category-card,
    .filter-panel,
    .page-section,
    .page-hero,
    .detail,
    .options,
    .office-card,
    .team-card,
    .favorites-card,
    .profile-card,
    .catalog-results,
    .auth__card,
    .auth__aside,
    .contacts__info,
    .contacts__form,
    .contacts__map
  )::before {
  content: "";

  position: absolute;
  z-index: -1;
  inset: 0;

  overflow: hidden;

  filter: url("#glass-distortion");
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
  border-radius: inherit;
}

.glass-theme .category-card {
  box-shadow:
    0 16px 32px rgb(15 23 42 / 12%),
    inset 0 1px 0 rgb(255 255 255 / 45%);
}

.glass-theme :where(.btn--glass):not(.hero *, .hero) {
  --btn-bg: color-mix(in srgb, #fff 16%, transparent);
  --btn-border: color-mix(in srgb, #fff 40%, transparent);

  position: relative;

  display: inline-flex;
  gap: 0.55rem;
  align-items: center;
  justify-content: center;

  padding: 14px 20px;

  font-weight: 600;
  line-height: 1;
  color: #0f172a;

  background: var(--btn-bg);
  -webkit-backdrop-filter: blur(12px) contrast(1.07) saturate(1.05);
  backdrop-filter: blur(12px) contrast(1.07) saturate(1.05);
  border: 1px solid var(--btn-border);
  border-radius: 16px;
  box-shadow:
    0 8px 26px rgb(2 6 23 / 18%),
    inset 0 1px 0 rgb(255 255 255 / 50%);

  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    backdrop-filter 0.25s ease;
}

.glass-theme :where(.btn--glass):not(.hero *, .hero):hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 40px rgb(2 6 23 / 22%);
}

.glass-theme :where(.btn--glass):not(.hero *, .hero):active {
  transform: translateY(-1px);
}

.glass-theme :where(.btn--glass.btn--ghost):not(.hero *, .hero) {
  background: color-mix(in srgb, #fff 10%, transparent);
  border-color: color-mix(in srgb, #fff 26%, transparent);
}

.glass-theme .as-glass {
  isolation: isolate;
  position: relative;

  overflow: clip;

  background: var(--glass-bg) !important;
  -webkit-backdrop-filter: blur(var(--glass-blur)) !important;
  backdrop-filter: blur(var(--glass-blur)) !important;
  border: 1px solid var(--glass-border) !important;
  border-radius: 22px !important;
  box-shadow: var(--glass-shadow) !important;
}

.glass-theme .as-glass::before {
  content: "";

  position: absolute;
  z-index: -1;
  inset: 0;

  filter: url("#glass-distortion");
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
  border-radius: inherit;
}

input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
  margin: 0;
  -webkit-appearance: none;
  appearance: none;
}

input[type="number"] {
  -webkit-appearance: textfield;
  appearance: textfield;
}

.section__inner::before,
.section__inner::after {
  pointer-events: none;

  right: -140px;
  bottom: -140px;

  opacity: 0.35;
  filter: blur(24px);
}

.section__inner:has(.js-faq) {
  box-sizing: border-box;
  width: 100%;
  max-width: 1350px;
  margin-inline: auto;
  padding-inline: var(--container-padding, 16px);
}

.js-faq {
  display: grid;
  grid-template-columns: 1fr;
  row-gap: 16px;
  width: 100%;
}

.faq__item,
.faq__button,
.faq__answer {
  overflow-x: hidden;

  width: 100%;
  max-width: 100%;

  word-break: break-word;
  overflow-wrap: anywhere;
}

.section__inner:has(.js-faq) .section__title {
  margin-left: clamp(12px, 2vw, 28px);
}

.section__inner:has(.js-faq) .section__header {
  padding-left: clamp(12px, 2vw, 28px);
}

.faq__item {
  isolation: isolate;
  transform: translateZ(0);

  contain: paint;
  overflow: hidden;

  backface-visibility: hidden;
  background-clip: padding-box;
  filter: drop-shadow(0 8px 22px rgb(16 24 40 / 10%)) drop-shadow(0 2px 6px rgb(16 24 40 / 6%));
  border-radius: 22px;
  box-shadow: none !important;
}

.faq__button {
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
  border-radius: inherit;
  box-shadow: none !important;
}

.faq__button::before,
.faq__button::after {
  display: none !important;
}

.faq__answer {
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
}

.faq__item {
  border: 1px solid transparent;
}

.site-footer__shell.lgv2-shell::before,
.site-footer__shell.lgv2-shell::after {
  content: none !important;
}

.site-footer__shell {
  isolation: isolate;
  position: relative;

  overflow: clip;

  background: color-mix(in srgb, #fff 18%, transparent);
  -webkit-backdrop-filter: blur(14px) saturate(1.05) brightness(1.02);
  backdrop-filter: blur(14px) saturate(1.05) brightness(1.02);
  border: 1px solid color-mix(in srgb, #fff 40%, transparent);
  border-radius: var(--radius-xl);
  box-shadow:
    0 10px 40px rgb(15 23 42 / 22%),
    inset 0 1px 0 rgb(255 255 255 / 45%);
}

.site-footer__shell::before {
  content: "";

  position: absolute;
  z-index: -1;
  inset: 0;

  filter: url("#glass-distortion");
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
  border-radius: inherit;
}

body {
  overflow-x: visible;
}

select option[hidden] {
  display: none !important;
}

.catalog {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 50px;

  width: min(1220px, calc(100% - 32px));
  margin: 0 auto;

  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

.catalog-filters {
  position: sticky;
  top: calc(var(--header-height) * 1.1 + 28px);
  align-self: start;
  padding: 2;
}

.catalog-results__header {
  padding: 0 4px 16px;
}

.catalog-grid {
  padding: 0 4px 4px;
}

.catalog-grid {
  transition: opacity 0.24s ease, transform 0.24s ease;
  will-change: opacity, transform;
}

.catalog-grid.is-grid-fading {
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
  .catalog-grid {
    transition: none;
    transform: none;
  }

  .catalog-grid.is-grid-fading {
    opacity: 1;
    transform: none;
  }
}



.catalog {
  --bleed: 0px;
  --filter-w: 280px;
  --gap: 0px;

  display: grid;
  grid-template-columns:
    var(--bleed)
    var(--filter-w)
    var(--gap)
    minmax(0, 1fr)
    var(--bleed);
  align-items: start;

  width: min(1400px, calc(100% - 32px));
  margin: 0 auto;
}

.catalog-filters {
  grid-column: 2;
}

.catalog-results {
  grid-column: 4;
}

.catalog-filters {
  position: sticky;
  top: calc(var(--header-height) * 1.1 + 45px);
}





.catalog {
  width: min(1600px, calc(100% - 32px));
}

.catalog-grid {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
}

.catalog-page {
  --catalog-card-gap: clamp(14px, 3vw, 22px);
}

.catalog-page .catalog {
  width: min(1280px, calc(100% - clamp(32px, 6vw, 72px)));
  gap: clamp(24px, 4vw, 40px);
}

.catalog-page .filter-panel,
.catalog-page .catalog-results {
  padding: clamp(24px, 4vw, 32px);
}

.catalog-page .filter-panel {
  gap: clamp(20px, 4vw, 28px);
  padding-right: clamp(24px, 4vw, 32px);
}

.catalog-page .catalog-grid {
  gap: var(--catalog-card-gap);
  padding: 0;
}

.catalog-page .slider__track {
  --slider-gap: var(--catalog-card-gap);
}

@media (min-width: 1440px) {
  .catalog-page .catalog {
    width: min(1320px, calc(100% - 80px));
  }
}

@media (max-width: 910px) {
  body.catalog-page.catalog-filters-open {
    overflow: auto;
  }

  .catalog-page .catalog {
    display: flex;
    flex-direction: column;
    gap: clamp(18px, 5vw, 28px);
    width: calc(100% - clamp(14px, 8vw, 34px));
  }

  .catalog-page .catalog-filters,
  .catalog-page .catalog-results {
    width: 100%;
    grid-column: auto;
  }

  .catalog-page .catalog-filters {
    position: static !important;
    inset: auto !important;
    transform: none !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    background: transparent !important;
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
    padding: 0;
  }

  .catalog-page .catalog-filters .filter-panel {
    width: 100%;
    max-height: none;
    margin: 0;
    padding: clamp(18px, 6vw, 26px);
  }

  .catalog-page .catalog-results {
    padding: clamp(18px, 6vw, 28px);
  }

  .catalog-page .catalog-results__filters-button {
    display: none;
  }

  .catalog-page .catalog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(10px, 3vw, 16px);
  }

  .car-card {
    border-radius: 18px;
  }

  .car-card__media {
    aspect-ratio: 4 / 3;
  }

  .car-card__body {
    padding: 12px 14px 14px;
    gap: 6px;
  }

  .car-card__brand {
    font-size: clamp(16px, 3.8vw, 18px);
  }

  .car-card__model {
    font-size: clamp(12px, 3.2vw, 14px);
  }

  .car-card__specs {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(4px, 2vw, 8px);
    padding-top: 2px;
  }

  .car-card__spec {
    grid-template-columns: 16px 1fr;
    gap: 4px;
  }

  .car-card__spec-ico svg {
    width: 18px;
    height: 18px;
  }

  .car-card__spec-text {
    font-size: clamp(12px, 2vw, 13px);
    white-space: nowrap;
  }

  .car-card__footer {
    margin-top: 4px;
    gap: 6px;
    flex-direction: column;
    align-items: flex-start;
  }

  .catalog-page .slider__track {
    gap: clamp(10px, 3vw, 16px);
    padding-inline: clamp(8px, 5vw, 20px);
    scroll-padding-inline: clamp(8px, 5vw, 20px);
  }

  .slider__track .car-card {
    flex: 0 0 clamp(150px, 45vw, 240px);
  }
}

@media (max-width: 999px) and (min-width: 910px) {
  .catalog-page .catalog-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 490px) {
  .catalog-page .catalog-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: clamp(8px, 2.8vw, 12px);
  }

  .car-card__favorite {
    width: 34px;
    height: 34px;
  }

  .car-card__body {
    padding: 10px 12px 12px;
  }

  .car-card__brand {
    font-size: clamp(14px, 5vw, 17px);
  }

  .car-card__spec-ico svg {
    width: 16px;
    height: 16px;
  }

  .car-card__spec-text {
    font-size: 12px;
  }

  .car-card__price {
    font-size: clamp(15px, 5vw, 18px);
  }
}

@media (max-width: 425px) {
  .catalog-page .catalog-grid {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  .car-card {
    border-radius: 16px;
  }

  .car-card__body {
    padding: 10px 12px 12px;
    gap: 4px;
  }

  .car-card__brand {
    font-size: clamp(15px, 4.6vw, 16px);
  }

  .car-card__model {
    font-size: clamp(12px, 4vw, 13px);
  }

  .car-card__specs {
    gap: 4px 6px;
    padding-top: 2px;
  }

  .car-card__spec {
    grid-template-columns: 16px 1fr;
    gap: 4px;
  }

  .car-card__spec-ico svg {
    width: 16px;
    height: 16px;
  }

  .car-card__spec-text {
    font-size: 11.5px;
    white-space: nowrap;
  }

  .car-card__price {
    font-size: clamp(16px, 4.5vw, 18px);
  }

  .car-card__more {
    font-size: 13px;
  }
}

@media (max-width: 374px) {
  .catalog-page .catalog-grid {
    grid-template-columns: minmax(0, 1fr) !important;
  }
}

@media (max-width: 360px) {
  .car-card__body {
    padding: 9px 10px 10px;
  }

  .car-card__brand {
    font-size: 14px;
  }

  .car-card__model {
    font-size: 12px;
  }
}

.section__header {
  position: relative;
}

.section__decor-image {
  pointer-events: none;

  position: absolute;
  z-index: -1;
  top: -100px;
  left: -100px;

  width: 100px;
  height: auto;

  object-fit: contain;
}

.section__title {
  margin-top: 0;
  line-height: 1.2;
}



/* .page-hero--catalog {
  position: relative;
  overflow: hidden;
  min-height: 420px;
  padding-right: clamp(32px, 14vw, 220px);
} */

.page-hero--catalog .page-hero__inner {
  position: relative;
  z-index: 2;
  display: block;
  max-width: min(720px, 100%);
}

.page-hero__art {
  pointer-events: none;

  position: absolute;
  z-index: 1;
  right: clamp(8px, 4vw, 0px);
  bottom: clamp(-10px, -2vw, -24px);

  width: min(56vw, 760px);
  height: auto;

  object-fit: contain;
  filter: drop-shadow(0 18px 40px rgb(2 6 23 / 18%));
}





.page-hero__art {
  z-index: 1;
  right: clamp(0px, 3vw, 40px);
  bottom: 80px;
  width: clamp(420px, 38vw, 620px);
}

.flag--glow {
  pointer-events: none;
  will-change: filter;

  position: relative;
  filter: drop-shadow(0 8px 20px rgb(2 6 23 / 60%))
    drop-shadow(0 0 18px var(--flag-glow, rgb(255 255 255 / 35%)));
}

.flag--jp {
  --flag-glow: rgb(220 38 38 / 35%);
}

.flag--kr {
  --flag-glow: rgb(37 99 235 / 42%);
}

.flag--cn {
  --flag-glow: rgb(234 88 12 / 32%);
}

:root {
  --slider-gap: 24px;
}

.slider-card {
  scroll-snap-align: start;
  flex: 0 0 calc((100% - 2 * var(--slider-gap)) / 3);
  box-sizing: border-box;
}

@media (max-width: 480px) {
  .slider-progress__rail,
  .slider-progress__thumb {
    display: none;
  }

  .slider-progress {
    justify-content: space-between;
    gap: 12px;
  }

  .slider__track > * {
    flex: 0 0 100%;
    max-width: 100%;
  }
}





.catalog {
  --filter-w: 280px;
  --gap: 16px;

  display: grid;
  grid-template-columns: var(--filter-w) minmax(0, 1fr);
  column-gap: var(--gap);
  align-items: start;

  width: min(1320px, calc(100% - clamp(32px, 6vw, 72px)));
  margin: 0 auto;
  padding-inline: clamp(14px, 4vw, 28px);
  box-sizing: border-box;
}

.catalog-filters {
  grid-column: 1;
}

.catalog-results {
  grid-column: 2;
}

.catalog-filters {
  position: static;
  top: auto;
}

.page-shell {
  padding-block: clamp(24px, 3vw, 40px);
}

.detail {
  overflow: visible;
  width: min(1200px, calc(100% - 32px));
  margin-inline: auto;
}

.detail__top {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  align-items: end;

  margin-bottom: 16px;
}

.detail__title {
  font:
    800 clamp(22px, 3vw, 36px) / 1.15 Manrope,
    system-ui;
  letter-spacing: -0.01em;
}

.detail__meta {
  display: grid;
  gap: 12px;
  justify-items: end;
}

.detail__price {
  font:
    700 clamp(18px, 2.2vw, 24px) / 1.2 Inter,
    system-ui;
}

.gallery {
  display: grid;
  gap: 12px;
  margin-bottom: clamp(16px, 3vw, 28px);
  width: 100%;
  min-width: 0;
}

.gallery__featured {
  position: relative;

  overflow: hidden;
  display: grid;
  place-items: center;

  aspect-ratio: 16 / 9;

  background: linear-gradient(180deg, rgb(255 255 255 / 35%), rgb(255 255 255 / 15%));
  border-radius: 18px;
  box-shadow: 0 6px 16px rgb(2 6 23 / 8%);
}

.gallery__featured img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.gallery__thumbs {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-width: 0;
  overflow: hidden;
}

.gallery__thumbs-shell {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
  width: 100%;
}

.gallery__thumbs-viewport {
  overflow: hidden;
  flex: 1 1 auto;
  min-width: 0;
  width: 100%;
  scrollbar-width: none;
}

.gallery__thumbs-viewport::-webkit-scrollbar {
  display: none;
}

.gallery__thumbs-track {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-inline: 4px 48px; /* добавляем место под правую кнопку */
  min-width: max-content;
}

.gallery__thumbs-progress {
  padding-inline: 4px;
  width: 100%;
}

.gallery__progress-rail {
  position: relative;
  width: 100%;
  height: 6px;
  border-radius: 999px;
  background: rgb(255 255 255 / 55%);
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / 45%);
  overflow: hidden;
}

.gallery__progress-pill {
  position: absolute;
  inset: 0 auto 0 0;
  min-width: 20px;
  height: 100%;
  background: linear-gradient(90deg, var(--color-accent), color-mix(in srgb, var(--color-accent) 80%, #fff));
  border-radius: inherit;
  box-shadow: 0 4px 12px rgb(2 6 23 / 18%);
  transition: transform 0.2s ease, width 0.2s ease;
}

.gallery__thumbs img {
  display: block;

  aspect-ratio: 1 / 1;
  width: 84px;

  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgb(2 6 23 / 8%);
}

.gallery__thumbs-arrow {
  display: grid;
  place-items: center;

  inline-size: 32px;
  block-size: 32px;

  background: rgb(255 255 255 / 65%);
  border-radius: 999px;
  box-shadow: 0 2px 8px rgb(2 6 23 / 12%);

  transition: transform 0.15s ease;
}

.gallery__thumbs-arrow:hover {
  transform: translateY(-1px);
}

.detail h2 {
  margin: 20px 0 12px;
  font: 800 clamp(18px, 2.2vw, 24px) / 1.2 Manrope;
}

.detail__specs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}



.options {
  margin-top: 16px;
}

.options__list {
  overflow: hidden;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 14px;

  max-height: 220px;

  transition: max-height 0.25s ease;
}

.options--open .options__list {
  max-height: none;
  overflow: visible;
}

.options.options--panel.options--open .options__list {
  max-height: none !important;
  height: auto;
  overflow: visible;
}

.options__list.is-expanded {
  max-height: none;
  overflow: visible;
}



.options__toggle {
  margin-top: 20px;
  background: rgb(255 255 255 / 65%);
}

.catalog {
  --gap: 16px;

  display: grid;
  grid-template-columns: clamp(280px, 21vw, 360px) minmax(0, 1fr);
  column-gap: var(--gap);
}

.catalog-filters {
  --filters-top: 0px;
  --ui-font: clamp(14px, 0.95vw, 16px);
  --control-h: clamp(40px, 5.5vh, 48px);

  position: static;
  align-self: start;
  font-size: var(--ui-font);
}

.catalog-filters .select,
.catalog-filters .input,
.catalog-filters .button,
.catalog-filters .cta-button,
.catalog-filters .button-secondary {
  height: var(--control-h);
  font-size: 1em;
}

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.catalog-grid > * {
  min-width: 0;
}

@media (max-width: 1024px) {
  .catalog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(16px, 3vw, 22px);
  }
}





.filter-panel {
  padding: 32px;
}

.catalog-filters .select,
.catalog-filters .button,
.catalog-filters .button-secondary,
.catalog-filters .cta-button {
  width: 100%;
  margin-inline: 0;
}

.catalog-sort__select {
  flex: 0 0 auto;

  inline-size: var(--catalog-sort-width, 240px);
  min-inline-size: var(--catalog-sort-width, 240px);
  max-inline-size: var(--catalog-sort-width, 240px);
  margin: 0;
}

.catalog-sort__select option {
  white-space: nowrap;
}

.catalog-form select.is-disabled {
  color: #9ca3af;
  background: #f3f4f6;
  pointer-events: none;
}

.catalog-sort .glass-select,
.catalog-sort .glass-select__trigger {
  width: var(--select-min, auto);
  min-width: var(--select-min, auto);
}

.catalog-sort .glass-select__dropdown {
  width: var(--select-min, auto);
  min-width: var(--select-min, auto);
}

.catalog-sort .glass-select__trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.catalog-sort .glass-select__value {
  min-width: max-content;
  white-space: nowrap;
}

.catalog-sort .glass-select__trigger {
  --select-icon-space: 24px;
}

.catalog-sort .glass-select__trigger {
  overflow: visible;
  box-sizing: border-box;
  padding-right: var(--select-icon-space);
}

.catalog-sort .glass-select__trigger::after {
  right: 10px;
}

.car-card {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-rows: auto 1fr;

  background: var(--color-light);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);

  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease;
}

.car-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.car-card__media {
  position: relative;
  overflow: hidden;
  height: 220px;
  border-bottom: 1px solid var(--color-border);
}

.car-card.is-inactive .car-card__link {
  pointer-events: none;
  cursor: default;
}

.car-card__overlay-msg {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.45);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  text-shadow: 0 2px 8px rgba(0,0,0,0.5);
}

.car-card__inactive-note {
  margin: 8px 0 0;
  font-size: 13px;
  color: #6b7280;
  width: 250px;
}

@media (max-width: 640px) {
  .car-card__media {
    height: 200px;
  }
}

.car-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.car-card__badge {
  position: absolute;
  top: 16px;
  left: 16px;

  padding: 8px 14px;

  font-size: 13px;
  font-weight: 700;
  color: var(--color-dark);

  background: #eef2ff;
  border: 1px solid #93c5fd;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.car-card__favorite {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 3;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  width: 40px;
  height: 40px;
  padding: 0;

  color: var(--color-dark);
  font: inherit;
  line-height: 1;
  cursor: pointer;

  background: rgb(255 255 255 / 90%);
  border: 1px solid rgb(15 23 42 / 8%);
  border-radius: 999px;
  box-shadow: var(--shadow-sm);

  transition:
    transform 0.15s ease,
    color 0.15s ease,
    background 0.15s ease,
    border-color 0.15s ease;
}

.car-card__favorite svg {
  width: 20px;
  height: 20px;
}

.car-card__favorite:hover {
  transform: scale(1.05);
}

.car-card__favorite.is-active {
  color: #e6e6e6;
  background: rgba(255, 255, 255, 0.9);
  border-color: rgb(197 22 46 / 28%);
}

.car-card__favorite.is-loading {
  opacity: 0.65;
  pointer-events: none;
  position: absolute;
  top: 14px;
  right: 14px;
}

.car-card__body {
  display: grid;
  gap: 6px;
  padding: 16px 18px 18px;
}

.car-card__brand {
  margin: 0;

  font-family: var(--ff-h);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.2;
}

.car-card__model {
  margin: 0;
  font-size: 15px;
  color: var(--color-muted);
}

.car-card__rule {
  height: 1px;
  margin: 0 0 6px;

  opacity: 0.5;
  background: var(--color-border);
  border: 0;
}

.car-card__specs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;

  margin: 0;
  padding: 8px 0 0;

  list-style: none;
}

.car-card__spec {
  display: grid;
  grid-auto-flow: column;
  grid-template-columns: 22px 1fr;
  gap: 8px;
  align-items: center;

  color: var(--color-dark);
}

.car-card__spec-ico {
  color: #0b1222;
  opacity: 0.85;
}

.car-card__spec-text {
  font-size: 14px;
  color: var(--color-dark);
}

.car-card__footer {
  display: flex;
  gap: 12px;
  align-items: baseline;
  justify-content: space-between;

  margin-top: 6px;
}

.car-card__price {
  margin: 0;
  font-family: var(--ff-ui);
  font-size: 16px;
  font-weight: 800;
}

.car-card__more {
  font-weight: 700;
  color: var(--color-accent);
}

.car-card__link {
  display: grid;
  color: inherit;
  text-decoration: none;
}

.car-card__body {
  gap: 4px;
  padding: 14px 16px;
}

.car-card__brand {
  font-size: 19px;
  line-height: 1.2;
}

.car-card__model {
  font-size: 14.5px;
  color: #1e1e1e;
}

.car-card__specs {
  gap: 6px;
  padding-top: 6px;
}

.car-card__spec-text {
  font-size: 13.5px;
}

.car-card__footer {
  align-items: center;
  margin-top: 6px;
}

.car-card__price {
  margin: 0;
  font-size: 16px;
  line-height: 1;
}

.car-card__more {
  font-size: 15px;
}

.car-card__specs {
  overflow: hidden;
  display: flex;
  flex-wrap: nowrap;
  gap: 16px;
  align-items: center;
}

.car-card__spec {
  display: inline-flex;
  gap: 8px;
  align-items: center;

  min-width: 0;

  white-space: nowrap;
}

.car-card__spec-ico {
  flex: 0 0 auto;
  opacity: 0.9;
}

.car-card__spec-text {
  overflow: hidden;
  min-width: 0;
  text-overflow: ellipsis;
}

.car-card__body {
  padding: 14px 16px 12px;
}

.car-card__rule {
  margin-top: 10px;
}

.car-card__specs {
  gap: 14px;
}

.car-card__spec-text {
  font-size: 13.5px;
}

.car-card__footer {
  display: flex;
  flex-wrap: nowrap;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
}

.car-card__price,
.car-card__more {
  white-space: nowrap;
}



.car-card__specs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 5px;
  place-items: start center;

  padding-top: 10px;
}

.car-card__spec {
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: center;

  min-width: 0;

  white-space: nowrap;
}

.car-card__spec-ico svg {
  display: block;
  width: 22px;
  height: 22px;
}

.car-card__spec-text {
  font-size: 12px;
  color: #282828;
}

.car-card {
  min-height: 420px;
  border-radius: var(--radius-lg);
}

.car-card__media {
  width: 100%;
  aspect-ratio: 4 / 3;
  position: relative;
  overflow: hidden;
}

.car-card__body {
  padding: 18px 18px 16px;
}

.car-card__brand {
  font-size: 22px;
  font-weight: 900;
}

.car-card__model {
  font-size: 16px;
  font-weight: 600;
}

.car-card__footer {
  margin-top: 10px;
}

.car-card__price {
  font-size: 16px;
}



.car-card.as-glass::before,
.car-card.as-glass::after {
  content: none !important;
}

.car-card.as-glass {
  background: rgb(255 255 255 / 70%);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.car-card__low {
  margin-top: 15px;
  margin-bottom: 5px;
}

.car-card,
.car-card.as-glass {
  background: rgb(255 255 255 / 90%);
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
  border: 1px solid rgb(10 22 44 / 8%);
  box-shadow: none !important;
}

.car-card__engine {
  margin: 6px 0 8px;
  font-size: 14px;
  line-height: 1.3;
  color: #5e5454;
  min-height: 1.3em;
}

.car-card__media {
  position: relative;
}

.car-card__badge {
  display: none !important;
  position: absolute;
  top: 12px;
  left: 12px;

  display: inline-flex;
  gap: 6px;
  align-items: center;

  padding: 7px 12px;

  font:
    500 12px/1 Inter,
    system-ui,
    -apple-system,
    "Segoe UI",
    Roboto,
    sans-serif;

  border-radius: 10px;
}

.glass-theme .slider-progress__btn.lgv2-glass:disabled,
.glass-theme .slider-progress__btn.lgv2-glass.is-hidden {
  opacity: 0 !important;
  background: transparent !important;
  border-color: transparent !important;
  box-shadow: none !important;
}

.glass-theme .slider-progress__btn.lgv2-glass:disabled::before,
.glass-theme .slider-progress__btn.lgv2-glass:disabled::after,
.glass-theme .slider-progress__btn.lgv2-glass.is-hidden::before,
.glass-theme .slider-progress__btn.lgv2-glass.is-hidden::after {
  content: none !important;
}

.slider-progress__btn svg {
  display: block;
  width: 15px;
  height: 15px;
  fill: currentcolor;
}

.section__inner {
  overflow: visible;
}

.slider-progress__thumb {
  -webkit-appearance: none;
  appearance: none;
  background: rgb(255 255 255 / 90%);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  outline: none;
  box-shadow: 0 10px 28px rgb(15 23 42 / 28%);
}

.slider-progress__thumb:focus,
.slider-progress__thumb:active,
.slider-progress__thumb:focus-visible {
  outline: none !important;
}

.slider-progress__thumb::before {
  pointer-events: none;
  content: "";

  position: absolute;
  inset: 0;

  border: 1px solid rgb(15 23 42 / 12%);
  border-radius: inherit;
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 60%);
}

.slider-progress__thumb.is-dragging {
  box-shadow: 0 12px 32px rgb(15 23 42 / 32%);
}

.burger {
  display: none;
}

.site-header.is-collapsed .nav-links {
  display: none;
}

.site-header.is-collapsed .burger {
  display: inline-flex;
}

.site-header.is-collapsed .cta-button {
  min-width: max(160px, 12ch);
}

.burger,
.js-burger {
  overflow: hidden;
  align-items: center;
  justify-content: center;

  width: 44px;
  height: 44px;
  padding: 0;

  line-height: 1;

  background: rgb(255 255 255 / 90%);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 24px rgb(15 23 42 / 18%);
}

.burger svg,
.js-burger svg {
  display: block;
  width: 60%;
  height: 60%;
  fill: currentcolor;
}

.burger::before,
.burger::after,
.js-burger::before,
.js-burger::after {
  box-sizing: border-box;
}

.site-header.is-collapsed .burger,
.site-header.is-collapsed .js-burger {
  display: inline-flex;
}

.faq__button {
  cursor: pointer;

  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: space-between;

  box-sizing: border-box;
  width: 100%;
  padding-block: 15px;

  text-align: left;

  background: transparent;
  border: 0;
}

.faq__button {
  box-sizing: border-box;
  padding-inline: var(--faq-pad-x);
  font-weight: 900px;
}

ul.faq {
  margin: 0;
  padding-right: 40px;
  padding-left: 40px;
  list-style: none;
}

.slider__track,
.js-slider-track {
  touch-action: pan-y;
}

:root {
  --thumbs-edge: 16px;
}

.gallery__thumbs-viewport {
  overflow: visible;
}



:root {
  --radius-sm: 12px;
  --radius-md: 16px;
  --radius-lg: 20px;
  --radius-xl: 24px;
  --shadow-sm: 0 4px 14px rgb(2 6 23 / 8%);
  --shadow-md: 0 10px 28px rgb(2 6 23 / 16%);
  --shadow-lg: 0 18px 44px rgb(2 6 23 / 22%);
}

.detail__top {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: clamp(12px, 2vw, 20px);
}



.detail__title {
  font-weight: 800;
  letter-spacing: -0.015em;
}

.detail__price {
  padding: 14px;

  background: color-mix(in srgb, #fff 36%, transparent);
  border: 1px solid color-mix(in srgb, #fff 48%, transparent);
  border-radius: 20px;
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 60%),
    var(--shadow-sm);
}

.detail__buttons .button,
.detail__buttons .cta-button {
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-radius: 14px;
  box-shadow:
    0 8px 26px rgb(2 6 23 / 18%),
    inset 0 1px 0 rgb(255 255 255 / 50%);
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease;
}

.detail__buttons .button:hover,
.detail__buttons .cta-button:hover {
  transform: translateY(-1px);
  box-shadow:
    0 14px 40px rgb(2 6 23 / 22%),
    inset 0 1px 0 rgb(255 255 255 / 55%);
}

:root {
  --gs-r-sm: 12px;
  --gs-r-md: 16px;
  --gs-r-lg: 20px;
  --gs-r-xl: 24px;
  --gs-sh-sm: 0 8px 24px rgb(2 6 23 / 10%);
  --gs-sh-md: 0 16px 40px rgb(2 6 23 / 18%);
  --gs-sh-lg: 0 26px 72px rgb(2 6 23 / 22%);
}

.detail.detail--gs {
  overflow: visible;

  background: var(--glass-bg);
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(1.05);
  backdrop-filter: blur(var(--glass-blur)) saturate(1.05);
  border: 1px solid var(--glass-border);
  border-radius: var(--gs-r-xl);
  box-shadow:
    var(--glass-shadow),
    inset 0 1px 0 rgb(255 255 255 / 38%);
}

.detail--gs .detail__hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) max-content;
  gap: clamp(12px, 2.4vw, 24px);
  align-items: start;
  width: 100%;
  margin-bottom: clamp(12px, 2.2vw, 22px);
}

.detail--gs .detail__breadcrumbs-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 12px;
}

.detail--gs .detail__title {
  margin: 0;

  font-family: Manrope, system-ui;
  font-size: clamp(28px, 4.2vw, 44px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

.detail--gs .detail__updated {
  margin: 0;
  color: #6b7280;
  font-size: 14px;
}

.detail--gs .detail__auction-link {
  display: inline-block;
  margin-top: 4px;
  font-size: 14px;
  color: #6b7280;
  text-decoration: underline;
}

.detail--gs .detail__aside {
  display: grid;
  gap: 15px;
  justify-items: end;
}

.detail--gs .detail__favorite {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  padding: 10px;
  color: #111827;
  background: #ffffffc4;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  box-shadow:
    0 14px 30px rgb(15 23 42 / 14%),
    inset 0 1px 0 rgb(255 255 255 / 65%);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.detail--gs .detail__favorite:hover {
  transform: translateY(-1px);
  box-shadow:
    0 18px 40px rgb(15 23 42 / 18%),
    inset 0 1px 0 rgb(255 255 255 / 75%);
}

.detail--gs .detail__favorite.is-active {
  color: #dc2626;
  background: linear-gradient(135deg, #fff1f2, #ffe4e6);
  border-color: #fecdd3;
}

.detail--gs .detail__favorite svg {
  width: 22px;
  height: 22px;
}

.detail--gs .detail__favorite svg path {
  fill: currentColor;
}

.detail--gs .detail__favorite svg path[fill="none"] {
  fill: none;
}



.detail--gs .detail__price {
  align-content: center;

  width: 200px;
  margin: 0;
  padding: 10px 14px;

  font-weight: 800;

  background: linear-gradient(135deg, #f8fafc2a, #eaf1ff);
  border: 1px solid #dbeafe;
  border-radius: 999px;
  box-shadow:
    var(--gs-sh-sm),
    inset 0 1px 0 rgb(255 255 255 / 60%);
}

.detail--gs .detail__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.detail--gs .detail__cta {
  padding: 12px 18px;

  color: #fff;

  background: linear-gradient(180deg, #2f6cfb 0%, #1f6feb 55%, #1a56cc 100%);
  border: 1px solid #93c5fd;
  border-radius: 16px;
  box-shadow:
    0 16px 38px rgb(37 99 235 / 34%),
    inset 0 1px 0 rgb(255 255 255 / 35%);

  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease;
}

.detail--gs .detail__cta:hover {
  transform: translateY(-1px);
}

.detail--gs .detail__ghost {
  color: #0f172a;

  background: #eef2ff;
  border: 1px solid #93c5fd;
  border-radius: 16px;
  box-shadow: var(--gs-sh-sm);
}

.detail--gs .detail__diag-btn {
  color: #0f172a;
  background: #f6f7fb;
  border: 1px solid #dbeafe;
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 70%),
    0 4px 12px rgb(15 23 42 / 10%);
}

.detail--gs .detail__cards > .detail__diag-btn {
  justify-self: stretch;
  width: 100%;
  display: block;
}

.diag-modal__list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 12px;
}

.diag-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 10px;
  color: #e7e7e7;
}

.diag-row::before {
  content: "";
  grid-column: 2;
  grid-row: 1;
  align-self: center;
  width: 100%;
  height: 1px;
  background-image: linear-gradient(90deg, rgba(148, 163, 184, 0.7) 50%, transparent 50%);
  background-size: 8px 1px;
  background-repeat: repeat-x;
  opacity: 0.9;
}

.diag-row__label {
  font-weight: 700;
  white-space: nowrap;
}

.diag-row__value {
  justify-self: end;
  text-align: right;
  color: #cccccd;
}

.cost-modal__card {
  text-align: center;
}

.cost-modal__card h3,
.cost-modal__note {
  text-align: center;
}

.detail--gs .gallery {
  gap: 12px;
  align-items: flex-start;
}

.detail--gs .gallery__featured {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 100%;
  padding: 0;
  overflow: hidden;
  margin: 0 auto;

  background: transparent;
  border: none;
  border-radius: 22px;
  box-shadow: none;
}

.detail--gs .gallery__featured img {
  position: static;

  width: 100%;
  max-width: 100%;
  height: auto;
  max-height: min(80vh, 900px);
  display: block;

  object-fit: contain;
  object-position: center;
  border-radius: 14px;
  border: 1px solid #dbeafe;
  box-shadow: var(--gs-sh-md);
}

.detail--gs .gallery--compact .gallery__featured {
  width: 100%;
  max-width: 100%;
  padding: 0;
  background: transparent;
  border: none;
  box-shadow: none;
  justify-self: center;
  align-self: start;
}

.detail--gs .gallery--compact .gallery__featured img {
  max-height: min(80vh, 900px);
  border: 1px solid #dbeafe;
  box-shadow: var(--gs-sh-md);
}

@media (max-width: 768px) {
  .detail--gs .gallery__featured {
    display: flex;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    justify-content: center;
    overflow: hidden;
    padding: 0;
  }

  .detail--gs .gallery__featured img {
    width: 100%;
    max-width: 100%;
  }
}

.detail--gs .gallery__thumb {
  width: 120px;
  height: 90px;

  opacity: 0.92;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 18px;

  transition:
    transform 0.18s ease,
    opacity 0.18s ease,
    border-color 0.18s ease;
}

.detail--gs .gallery__thumb:hover {
  transform: translateY(-2px);
  opacity: 1;
}

.detail--gs .gallery__thumb.is-active {
  transform: translateY(-3px);
  opacity: 1;
  border-color: #93c5fd;
}

.detail--gs .detail__grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(14px, 2.4vw, 22px);
  margin-top: clamp(8px, 1.6vw, 14px);
}



.detail--gs .section-title {
  margin: 6px 0 10px;
  font:
    800 clamp(18px, 2.2vw, 26px) / 1.2 Manrope,
    system-ui;
}

.detail--gs .detail__specs {
  grid-template-columns: repeat(2, minmax(220px, 1fr));
  gap: 12px 16px;
}



.detail--gs .spec-card {
  padding: 16px;

  background: linear-gradient(180deg, #fff, #f6f9ff);
  border: 1px solid #e7efff;
  border-radius: 18px;
  box-shadow: var(--gs-sh-sm);
}

.detail--gs .detail__cta-wide {
  width: clamp(260px, 60%, 480px);
  margin-top: clamp(12px, 2vw, 18px);
  padding: 16px 22px;

  font-weight: 800;
  color: #fff;

  background: linear-gradient(180deg, #2f6cfb 0%, #1f6feb 55%, #1a56cc 100%);
  border: 1px solid #7aa2ff;
  border-radius: 22px;
  box-shadow:
    0 20px 48px #2f6cfb86,
    inset 0 1px 0 rgb(255 255 255 / 35%);
}

.detail--gs .detail__cards {
  display: grid;
  gap: clamp(12px, 1.8vw, 16px);
  align-content: start;
}

.detail--gs .options.options--panel {
  background: linear-gradient(180deg, #fff, #f6f9ff);
  border: 1px solid #dbeafe;
  border-radius: 22px;
  box-shadow: var(--gs-sh-sm);
}

.detail--gs .options.options--panel h3 {
  margin: 8px 0;
  font-weight: 800;
}

.detail--gs .options__list {
  grid-template-columns: 1fr;
}

.seek-cta {
  position: relative;

  overflow: clip;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(14px, 3vw, 22px);
  align-items: center;

  width: 100%;
  max-width: min(1180px, calc(100% - clamp(18px, 5vw, 42px)));
  box-sizing: border-box;
  margin: clamp(35px, 3vw, 50px) auto 0;
  padding: clamp(18px, 3vw, 28px);

  color: #000;

  background:
    radial-gradient(1200px 600px at 10% 30%, rgb(158 208 241), transparent 55%),
    linear-gradient(90deg, #fff0 0%, #a4bdd1 100%);
  border-radius: 22px;
  box-shadow: var(--gs-sh-md);
}



.seek-cta__title {
  margin: 0 0 8px;
  font:
    800 clamp(20px, 3vw, 28px) / 1.2 Manrope,
    system-ui;
}

.seek-cta__text {
  margin: 0 0 16px;
  color: rgb(0 0 0 / 88%);
}

.seek-cta__button {
  margin-top: 25px;
  padding: 14px 20px;

  color: #fff;

  background: linear-gradient(180deg, #2f6cfb 0%, #1f6feb 55%, #1a56cc 100%);
  border-radius: 16px;
  box-shadow:
    0 18px 44px #2f6cfb9b,
    inset 0 1px 0 rgb(255 255 255 / 35%);
}

.seek-cta__decor {
  height: clamp(160px, 24vw, 260px);
  background:
    radial-gradient(360px 160px at 30% 25%, rgba(0, 0, 0, 0.45), transparent 60%),
    radial-gradient(360px 160px at 70% 75%, rgba(8, 20, 30, 0.652), transparent 60%),
    linear-gradient(180deg, rgb(255 255 255 / 8%), rgb(255 255 255 / 2%));
  border-radius: 18px;
  border: 1px solid rgb(255 255 255 / 12%);
  padding: 30px;
}

.seek-cta__decor img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.seek-cta__content {
  margin-left: 25px;
}

.detail__specs {
  padding: 6px 0 20px;
}

@media (max-width: 900px) {
  .seek-cta {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
    text-align: center;
    justify-items: center;
  }

  .seek-cta__content {
    margin-left: 0;
  }

  .seek-cta__button {
    width: 100%;
  }

  .seek-cta__decor {
    order: -1;
    width: 100%;
    max-width: 100%;
    height: auto;
    padding: 0;
    background: none;
    border: none;
    margin-bottom: 12px;
  }

  .seek-cta__decor img {
    width: 100%;
    height: auto;
    display: block;
  }
}

@media (max-width: 560px) {
  .seek-cta__decor {
    display: block;
    order: -1;
    width: 100%;
    max-width: min(420px, 90vw);
    padding: 0;
    margin: 0 auto 14px;
    background: none;
    border: none;
  }

  .seek-cta__decor img {
    width: 100%;
    height: auto;
    display: block;
  }
}

.specs-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.specs-list__item {
  display: flex;
  gap: 6px;
  align-items: baseline;
  flex-wrap: wrap;
  font-size: 18px;
  line-height: 1.35;
}

.specs-list__label {
  font-weight: 600;
  color: var(--text-muted, rgb(0 0 0 / 50%));
}

.specs-list__dash {
  color: var(--text-muted, rgb(0 0 0 / 40%));
}

.specs-list__value {
  font-weight: 700;
  color: var(--text-primary, #0f172a);
}



.detail__specs-wrap .section-title {
  font-size: 50px;
  font-weight: 900;
}

.detail__specs .spec-card {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 12px;
  align-items: baseline;

  padding: 0;

  background: none;
  box-shadow: none;
}

.detail__specs .spec-card h4,
.detail__specs .spec-card p {
  margin: 0;
  white-space: nowrap;
}

.detail__specs .spec-card p {
  overflow: hidden;
  text-overflow: ellipsis;
}

.gallery__thumb {
  display: block;
  width: 140px;
  height: 96px;
  object-fit: cover;
}

.detail--gs .detail__price {
  display: grid;
  place-items: center;

  width: 200px;
  margin: 0;
  padding: 10px 14px;

  font-weight: 800;
  text-align: center;

  background: linear-gradient(135deg, #f8fafc2a, #eaf1ff);
  border: 1px solid #dbeafe;
  border-radius: 999px;
  box-shadow:
    var(--gs-sh-sm),
    inset 0 1px 0 rgb(255 255 255 / 60%);
}

.detail--gs .detail__hero {
  display: grid;
  grid-template-areas:
    "title price"
    "cta   cost";
  grid-template-columns: 1fr auto;
  gap: 16px 24px;
  align-items: center;
}

.detail--gs .detail__aside {
  display: contents;
}

.detail--gs .detail__actions {
  display: contents;
}

.detail--gs .detail__title {
  grid-area: title;
  margin-bottom: 0;
}

.detail--gs .detail__price {
  grid-area: price;
  justify-self: end;
}

.detail--gs .detail__ghost {
  grid-area: cost;
  justify-self: end;
}

.detail--gs .detail__cta {
  grid-area: cta;
  justify-self: start;
  width: fit-content;
}

@media (max-width: 1024px) {
  .detail.detail--gs {
    padding: clamp(22px, 4vw, 32px);
  }

  .detail--gs .detail__hero {
    grid-template-areas:
      "title"
      "price"
      "cta"
      "cost";
    grid-template-columns: 1fr;
    gap: 12px;
    align-items: stretch;
    padding-right: 0;
  }

  .detail--gs .detail__price,
  .detail--gs .detail__cta,
  .detail--gs .detail__ghost {
    width: 100%;
    justify-self: stretch;
    text-align: center;
  }

  .detail--gs .detail__favorite {
    position: static;
    justify-self: end;
  }

  .detail--gs .detail__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
  }

  .detail--gs .detail__grid {
    grid-template-columns: 1fr;
  }

  .detail--gs .detail__cta-wide {
    width: 100%;
  }

  .detail--gs .detail__cards {
    order: 3;
  }

  .detail--gs .detail__cards > .detail__diag-btn {
    justify-self: stretch;
    width: 100%;
  }
}

@media (max-width: 768px) {
  .inner-page .page-shell,
  .detail.detail--gs {
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding-inline: clamp(12px, 4vw, 18px);
    margin: 0 auto;
  }

  .detail.detail--gs {
    max-width: calc(100vw - clamp(12px, 4vw, 18px) * 2);
    padding: clamp(16px, 5vw, 24px);
  }

  .detail--gs .detail__hero,
  .detail--gs .detail__grid,
  .detail--gs .gallery {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .detail--gs .gallery__featured {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    justify-content: center;
  }

  .detail--gs .gallery__featured img {
    width: 100%;
    max-width: 100%;
  }

  .detail--gs .gallery__thumbs {
    grid-template-columns: 1fr;
    align-items: stretch;
    gap: 12px;
  }

  .detail--gs .gallery__thumbs-shell {
    width: 100%;
  }

  .detail--gs .gallery__thumbs-arrow {
    display: none;
  }

  .detail--gs .gallery__thumbs-viewport {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 6px;
    margin: 0 -4px;
  }

  .detail--gs .gallery__thumbs-viewport::-webkit-scrollbar {
    display: none;
  }

  .detail--gs .gallery__thumbs-track {
    gap: 10px;
    padding-inline: 6px 18px;
    scroll-snap-type: x mandatory;
  }

  .detail--gs .gallery__thumb {
    width: 90px;
    height: 72px;
    flex-shrink: 0;
    scroll-snap-align: center;
  }

  .diag-row {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .diag-row::before {
    display: none;
  }

  .diag-row__label,
  .diag-row__value {
    justify-self: start;
    text-align: left;
  }

  /* specs: значение под подписью на узких экранах */
  .specs-list__item {
    flex-direction: column;
    align-items: flex-start;
  }

  .specs-list__dash {
    display: none;
  }
}

@media (max-width: 640px) {
  .detail.detail--gs {
    padding: 20px;
    border-radius: 20px;
  }

  .detail--gs .detail__cta,
  .detail--gs .detail__ghost,
  .detail--gs .detail__cta-wide {
    width: 100%;
  }

  .detail--gs .detail__specs {
    grid-template-columns: 1fr;
  }

  .detail__specs .spec-card h4,
  .detail__specs .spec-card p {
    white-space: normal;
  }
}

@media (max-width: 540px) {
  .detail--gs .gallery__featured img {
    max-height: 320px;
    height: auto;
  }
}

@media (max-width: 525px) {
  .detail--gs .section-title,
  .detail__specs-wrap .section-title {
    font-size: 25px;
    line-height: 1.2;
  }

  .detail--gs .specs-list__label,
  .detail--gs .specs-list__dash,
  .detail--gs .specs-list__value {
    font-size: 17px;
  }

  .detail--gs .specs-list__value {
    font-size: 15px;
    white-space: normal;
    word-break: break-word;
  }

  .detail--gs .detail__cta-wide {
    width: 100%;
    max-width: 100%;
  }

  .detail--gs .detail__cards {
    width: 100%;
    grid-template-columns: 1fr;
  }

  .detail--gs .detail__cards > * {
    width: 100%;
  }

  .detail--gs .detail__cards .options__list {
    grid-template-columns: 1fr;
  }

  .detail--gs .detail__cards .options__list li {
    font-size: 12px;
  }
}










.form-messages {
  margin-bottom: 14px;
  padding: 12px 14px;

  font-size: 13px;
  line-height: 1.4;
  color: #b91c1c;

  background: rgb(248 113 113 / 12%);
  border: 1px solid rgb(248 113 113 / 40%);
  border-radius: 12px;
}

.form-messages:empty {
  display: none;
}

.form-messages.hidden {
  display: none;
}

.form-messages.is-success {
  color: #047857;
  background: rgb(16 185 129 / 12%);
  border-color: rgb(16 185 129 / 40%);
}

.form-messages.is-error {
  color: #b91c1c;
}

.form-messages__item + .form-messages__item {
  margin-top: 4px;
}

.auth-form .form-messages {
  font-size: 13px;
  padding: 10px 12px;
}

button.is-loading,
.cta-button.is-loading,
.button-secondary.is-loading {
  --loader-color: var(--color-accent, #2563eb);

  pointer-events: none;
  position: relative;
  color: transparent !important;
}

button.is-loading::after,
.cta-button.is-loading::after,
.button-secondary.is-loading::after {
  content: "";

  position: absolute;
  top: 50%;
  left: 50%;
  margin: -9px 0 0 -9px;
  transform: rotate(0deg);
  transform-origin: center;

  width: 18px;
  height: 18px;

  border: 2px solid var(--loader-color);
  border-color: var(--loader-color) transparent var(--loader-color) transparent;
  border-radius: 50%;

  animation: spin 0.9s linear infinite;
}

.toast-stack {
  pointer-events: none;

  position: fixed;
  z-index: 9999;
  right: 16px;
  bottom: 16px;

  display: grid;
  gap: 12px;
}

.auth-banner {
  pointer-events: none;

  position: fixed;
  z-index: 10000;
  top: 20px;
  left: 50%;
  transform: translate(-50%, -140%);

  display: inline-flex;
  gap: 12px;
  align-items: center;

  max-width: min(480px, calc(100vw - 32px));
  padding: 12px 16px;

  font-size: 15px;
  line-height: 1.4;
  color: #0b1222;

  background: rgb(255 255 255 / 92%);
  border: 1px solid rgb(15 23 42 / 10%);
  border-radius: 999px;
  box-shadow: 0 18px 35px rgb(15 23 42 / 18%);

  opacity: 0;
  transition:
    transform 0.25s ease,
    opacity 0.2s ease;
}

.auth-banner.is-visible {
  pointer-events: auto;
  transform: translate(-50%, 0);
  opacity: 1;
}

.auth-banner__message {
  flex: 1;
  font-weight: 600;
}

.auth-banner__close {
  cursor: pointer;

  width: 28px;
  height: 28px;

  color: inherit;
  font-size: 18px;
  line-height: 1;

  background: transparent;
  border: none;
  border-radius: 50%;
}

.auth-banner__close:hover {
  background: rgb(15 23 42 / 6%);
}

.toast {
  pointer-events: auto;
  animation: toast-in 0.3s ease both;
  will-change: transform, opacity;
}

.toast__inner {
  display: flex;
  gap: 10px;
  align-items: center;

  min-width: 240px;
  max-width: min(420px, calc(100vw - 32px));
  padding: 14px 18px;

  font-size: 15px;
  line-height: 1.4;
  color: #fff;

  background: rgb(15 23 42 / 92%);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-radius: 14px;
  box-shadow: 0 20px 45px rgb(15 23 42 / 35%);
}

.toast__close {
  cursor: pointer;

  font-size: 18px;
  line-height: 1;
  color: inherit;

  opacity: 0.7;
  background: transparent;
  border: none;
}

.toast__close:hover {
  opacity: 1;
}

@keyframes toast-in {
  from {
    transform: translate3d(0, 12px, 0);
    opacity: 0;
  }

  to {
    transform: translate3d(0, 0, 0);
    opacity: 1;
  }
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}
/* 1) Панель фильтров — контейнер для выпадашек */
.hero--lgv2 .hero__filters {
  position: relative;
  overflow: visible;                 /* чтобы ничего не обрезалось */
}

/* 2) Сетка строк — выравниваем по верху, а не по базовой линии */
.hero--lgv2 .hero__row {
  align-items: start;                /* убирает «сползание» отдельных полей */
}

/* 3) Нормализуем нативные селекты — одинаковая высота/внутренности */
.hero--lgv2 .hero__filters .select {
  display: block;
  width: 100%;
  box-sizing: border-box;
  height: 52px;                      /* подгони под свою кнопку/инпут */
  line-height: 1.2;                  /* чтобы текст не «тянул» высоту */
  padding: 12px 44px 12px 16px;      /* справа место под стрелку */
  margin: 0;
  -webkit-appearance: none;
  appearance: none;                  /* скрыть нативную стрелку */
  background: transparent;
  border: none;                      /* если у инпутов нет рамки */
  border-radius: 16px;               /* как у остальных полей */
}

/* 4) Единый стиль для label-обёртки (чтобы высота не прыгала) */
.hero--lgv2 .hero__filters .label {
  display: block;
}

/* 5) Если у стеклянного контейнера где-то стоит overflow: clip/hidden — подстрахуемся */
.lgv2-glass.hero__filters { overflow: visible; }

.modal__card > .modal__close,
.verify-modal__card > .modal__close {
  position: absolute !important;
  top: 12px !important;
  right: 12px !important;
  left: auto !important;
  bottom: auto !important;

  /* сброс всего, что могло центрировать кнопку */
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  margin: 0 !important;
  transform: none !important;
  translate: 0 !important;
  box-shadow: none !important;

  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  font-size: 22px;
  line-height: 1;
  color: #0f172a;
  z-index: 2;
  cursor: pointer;
}

.modal__card > .modal__close:hover,
.verify-modal__card > .modal__close:hover {
  background: rgba(15, 23, 42, .06);
}

/* контент только этой модалки */
.lead-modal {
  --lm-bg: #ffffff;
  --lm-accent: #2268f6;
  --lm-accent-hover: #1b58d3;
  --lm-text: #0f172a;
  --lm-muted: #64748b;

  position: relative;
  background: radial-gradient(120% 120% at 80% -10%, rgba(34,104,246,0.08), transparent 60%) var(--lm-bg);
  border-radius: 28px;
  box-shadow:
    0 12px 40px rgba(22, 28, 45, 0.18),
    inset 0 1px 0 rgba(255,255,255,0.6);
  padding: min(4vh, 32px) min(4vw, 36px);
  width: min(720px, calc(100vw - 32px));
}

.lead-modal__head h3 {
  font-size: clamp(22px, 2.4vw, 32px);
  line-height: 1.2;
  margin: 0 0 8px;
  color: var(--lm-text);
}
.lead-modal__sub {
  margin: 0 0 16px;
  font-size: clamp(14px, 1.4vw, 16px);
  color: var(--lm-muted);
}

.lead-modal__points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 10px 14px;
  margin: 0 0 14px;
  padding: 0;
  list-style: none;
  font-size: clamp(13px,1.3vw,15px);
  color: var(--lm-text);
}
.lead-modal__points li {
  position: relative;
  padding-left: 26px;
}
.lead-modal__points li::before {
  content: "\2713";
  position: absolute;
  left: 0; top: 0;
  width: 20px; height: 20px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: rgba(34,104,246,0.12);
  font-size: 12px;
  color: var(--lm-accent);
}

.lead-modal__form {
  display: grid;
  gap: 12px;
  margin-top: 6px;
}
.lead-modal__field .input {
  width: 100%;
  height: 56px;
  border-radius: 16px;
  border: 1px solid rgba(2, 6, 23, 0.08);
  background: #fff;
  box-shadow: 0 1px 0 rgba(255,255,255,0.5), inset 0 -1px 2px rgba(2, 6, 23, 0.04);
  padding: 0 18px;
  font-size: 16px;
  transition: border-color .2s, box-shadow .2s, transform .06s ease;
}
.lead-modal__field .input:focus {
  outline: none;
  border-color: rgba(34,104,246,0.35);
  box-shadow: 0 0 0 4px rgba(34,104,246,0.12);
  transform: translateY(-1px);
}
.lead-modal__field textarea {
  width: 100%;
  min-height: 110px;
  height: auto;
  resize: vertical;
  padding-top: 12px;
  padding-bottom: 12px;
}

.lead-modal__btn {
  height: 64px;
  border-radius: 20px;
  font-size: clamp(16px,1.8vw,20px);
  font-weight: 700;
  letter-spacing: .2px;
  background: var(--lm-accent);
  box-shadow: 0 14px 30px rgba(34,104,246,.35), inset 0 -4px 8px rgba(0,0,0,.08);
  transition: transform .08s ease, box-shadow .2s ease, background .2s ease;
  margin-top: 4px;
}
.lead-modal__btn:hover { background: var(--lm-accent-hover); box-shadow: 0 16px 34px rgba(34,104,246,.4); }
.lead-modal__btn:active { transform: translateY(1px); }

.lead-modal__privacy {
  margin: 8px 6px 0;
  font-size: 12px;
  color: var(--lm-muted);
}

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

.lead-form__success {
  margin-top: 12px;
  padding: 16px;
  border-radius: 16px;
  background: rgba(34, 104, 246, 0.08);
  color: var(--lm-text);
}

.lead-form__success.hidden {
  display: none;
}

.checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  line-height: 1.4;
  color: var(--lm-muted);
}

.checkbox input[type="checkbox"] {
  margin-top: 4px;
}

/* === JAPAN MODAL === */
.japan-modal {
  padding: clamp(18px, 4vw, 28px);
}

.japan-modal__card {
  width: min(560px, calc(100vw - clamp(32px, 8vw, 140px)));
  max-width: 100%;
  padding: clamp(28px, 6vw, 44px);
  border-radius: 40px;
  background: radial-gradient(circle at 18% -25%, rgba(59,130,246,0.6), transparent 65%) rgba(15,23,42,0.94);
  box-shadow: 0 45px 95px rgba(2,6,23,0.65);
  text-align: center;
  margin: 0 auto;
  color: #f8fafc;
  border: none;
  position: relative;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.japan-modal__card::-webkit-scrollbar {
  display: none;
}

.japan-modal__card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 1px solid rgba(248,250,252,0.12);
  pointer-events: none;
}

.japan-modal__close {
  top: 18px;
  right: 18px;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(248,250,252,0.18);
  border-radius: 999px;
  background: rgba(15,23,42,0.35);
  color: inherit;
  font-size: 20px;
  box-shadow: 0 8px 30px rgba(2,6,23,0.45);
  transition: background 0.2s ease, border-color 0.2s ease;
}

.japan-modal__close:hover {
  background: rgba(248,250,252,0.12);
  border-color: rgba(248,250,252,0.35);
}

.japan-modal__label {
  display: inline-flex;
  padding: 6px 16px;
  border-radius: 999px;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: rgba(59,130,246,0.22);
  color: rgba(248,250,252,0.9);
  margin: 0 auto 12px;
}

.japan-modal__title {
  margin: 0 0 12px;
  font-size: clamp(26px, 4vw, 36px);
  line-height: 1.25;
}

.japan-modal__text {
  margin: 0 0 20px;
  color: rgba(248,250,252,0.78);
}

.japan-modal__phone {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto 24px;
  padding: 12px 22px;
  border-radius: 999px;
  font-size: clamp(22px, 5vw, 34px);
  font-weight: 700;
  color: inherit;
  text-decoration: none;
  background: rgba(59,130,246,0.25);
  border: 1px solid rgba(248,250,252,0.25);
  box-shadow: inset 0 -1px 0 rgba(15,23,42,0.4);
  transition: background 0.2s ease, transform 0.2s ease;
}

.japan-modal__phone:hover {
  background: rgba(59,130,246,0.35);
  transform: translateY(-1px);
}

.japan-modal__form {
  display: grid;
  gap: 14px;
  text-align: left;
}

.japan-modal__field {
  display: grid;
  gap: 6px;
}

.japan-modal__field-label {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(248,250,252,0.68);
}

.japan-modal__field .input,
.japan-modal__field textarea {
  width: 100%;
  border-radius: 20px;
  border: 1px solid rgba(248,250,252,0.25);
  background: rgba(15,23,42,0.35);
  color: #f8fafc;
  padding: 14px 18px;
  box-shadow: inset 0 1px 1px rgba(2,6,23,0.45);
  resize: vertical;
}

.japan-modal__field textarea {
  min-height: 96px;
}

.japan-modal__field .input::placeholder,
.japan-modal__field textarea::placeholder {
  color: rgba(248,250,252,0.55);
}

.japan-modal__form .lead-form__footer {
  margin-top: 8px;
  gap: 18px;
}

.japan-modal__form .checkbox {
  color: rgba(248,250,252,0.72);
}

.japan-modal__form .checkbox span {
  color: inherit;
}

.japan-modal__form .form-messages {
  color: #fee2e2;
}

.japan-modal__form .lead-form__success {
  background: rgba(34,197,94,0.14);
  color: #dcfce7;
  border: 1px solid rgba(34,197,94,0.3);
}

@media (max-width: 480px) {
  .japan-modal__card {
    padding: 24px;
    border-radius: 32px;
  }

  .japan-modal__close {
    width: 38px;
    height: 38px;
  }
}



/* === ASSIST MODAL === */
.assist-modal__card {
  width: min(640px, calc(100vw - 32px));
  padding: clamp(24px, 4vw, 40px);
  border-radius: 36px;
  background: radial-gradient(circle at top, rgba(14,165,233,0.15), transparent 65%) rgba(15,23,42,0.92);
  color: #f8fafc;
  box-shadow: 0 40px 90px rgba(2,6,23,0.55);
  position: relative;
  overflow-y: auto;
  max-height: calc(100vh - clamp(48px, 8vh, 140px));
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}

.assist-modal__card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 1px solid rgba(255,255,255,0.12);
  pointer-events: none;
}

.assist-modal__close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: none;
  background: transparent;
  color: inherit;
  font-size: 22px;
  cursor: pointer;
}

.assist-modal__badge {
  display: inline-flex;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: rgba(59,130,246,0.18);
  margin: 0 0 12px;
}

.assist-modal__card h2 {
  margin: 0 0 12px;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.2;
}

.assist-modal__text {
  margin: 0 0 16px;
  font-size: 16px;
  color: rgba(248,250,252,0.85);
}

.assist-modal__list {
  margin: 0 0 20px;
  padding-left: 20px;
  color: rgba(248,250,252,0.85);
}

.assist-modal__list li {
  margin-bottom: 6px;
}

.assist-modal__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 12px;
  margin-top: 25px;
}

.assist-modal__hint {
  margin: 0;
  font-size: 12px;
  color: rgba(248,250,252,0.6);
}

.assist-modal__hint .assist-modal__link {
  color: #38bdf8;
  text-decoration: underline;
}

.assist-modal__list--compact {
  margin-bottom: 14px;
  font-size: 15px;
}

.assist-modal__card .lead-modal__form {
  margin-top: 12px;
  display: grid;
  gap: 12px;
}

.assist-modal__card .lead-modal__field .input,
.assist-modal__card .lead-modal__field textarea {
  width: 100%;
  border-radius: 20px;
  border: 1px solid rgba(248,250,252,0.22);
  background: rgba(15,23,42,0.35);
  color: #f8fafc;
  box-shadow: inset 0 1px 1px rgba(15,23,42,0.45);
  padding: 12px 18px;
  resize: vertical;
  min-height: 90px;
}

.assist-modal__card .lead-modal__field .input::placeholder,
.assist-modal__card .lead-modal__field textarea::placeholder {
  color: rgba(248,250,252,0.6);
}

.assist-modal__card .lead-form__footer {
  margin-top: 8px;
}

.assist-modal__card .checkbox span {
  color: rgba(248,250,252,0.75);
}

.assist-modal__card .form-messages {
  color: #fee2e2;
}

.assist-modal__card .lead-form__success h4,
.assist-modal__card .lead-form__success p {
  color: inherit;
}

@supports (height: 100dvh) {
  .assist-modal__card {
    max-height: calc(100dvh - clamp(48px, 8vh, 140px));
  }
}

@media (max-width: 640px) {
  .assist-modal__card {
    width: calc(100vw - 20px);
    border-radius: 30px;
    padding: clamp(22px, 6vw, 32px);
  }

  .assist-modal__close {
    width: 34px;
    height: 34px;
  }
}

/* === BLOG === */
.home-blog {
  padding-top: 40px;
  padding-bottom: 40px;
  position: relative;
}

@media (min-width: 769px) {
  .home-blog::before {
    content: "";
    position: absolute;
    inset: 0;
    margin-inline: calc((100vw - min(var(--layout-max-width), 100vw)) / -2);
    background: linear-gradient(180deg, rgba(15,23,42,0.04), rgba(15,23,42,0));
    pointer-events: none;
    z-index: -1;
  }
}

.home-blog__header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  margin-bottom: 32px;
}

.home-blog__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  grid-auto-rows: 150px;
  grid-auto-flow: dense;
  gap: 16px;
  max-width: 1200px;
  margin: 0 auto;
}

.home-blog__card {
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  padding: 20px;
  border-radius: 28px;
  background: var(--home-blog-grad, rgba(255,255,255,0.12));
  position: relative;
  overflow: hidden;
  color: #fff;
  text-decoration: none;
  isolation: isolate;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.2), 0 25px 60px rgba(15,23,42,0.25);
  -webkit-backdrop-filter: blur(24px);
  backdrop-filter: blur(24px);
  border: 1px solid rgba(255,255,255,0.18);
  min-height: 0;
}

.home-blog__card.is-placeholder {
  background: linear-gradient(135deg, rgba(255,255,255,0.2), rgba(255,255,255,0.1));
  border: 1px solid rgba(255,255,255,0.25);
  animation: blog-placeholder 1.8s ease-in-out infinite;
}

.home-blog__card.is-placeholder::after {
  display: none;
}

.home-blog__card--square {
  grid-column: span 1;
  grid-row: span 1;
}

.home-blog__card--wide {
  grid-column: span 2;
  grid-row: span 1;
}

.home-blog__card--tall {
  grid-column: span 1;
  grid-row: span 2;
}

.home-blog__card--large {
  grid-column: span 2;
  grid-row: span 2;
}

.home-blog__card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 1px solid rgba(255,255,255,0.25);
  pointer-events: none;
}

.home-blog__card span {
  display: block;
  width: 100%;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.4;
  text-shadow: 0 6px 24px rgba(15,23,42,0.35);
  text-align: inherit;
  word-break: normal;
  hyphens: none;
}

.home-blog__card--align-top-left {
  align-items: flex-start;
  justify-content: flex-start;
  text-align: left;
}

.home-blog__card--align-top-right {
  align-items: flex-start;
  justify-content: flex-end;
  text-align: right;
}

.home-blog__card--align-bottom-left {
  align-items: flex-end;
  justify-content: flex-start;
  text-align: left;
}

.home-blog__card--align-bottom-right {
  align-items: flex-end;
  justify-content: flex-end;
  text-align: right;
}
@keyframes blog-placeholder {
  0% { opacity: 0.5; }
  50% { opacity: 1; }
  100% { opacity: 0.5; }
}

.home-blog__empty {
  text-align: center;
  margin-top: 16px;
  color: rgba(15,23,42,0.6);
}

.home-blog__empty.hidden {
  display: none;
}

.blog-hero {
  background: radial-gradient(circle at top, rgba(34,104,246,0.25), transparent 65%);
  text-align: center;;
}

.blog-hero .page-hero__inner {
  max-width: 760px;
  margin-inline: auto;
}

.blog-hero--compact .page-hero__inner {
  max-width: 640px;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.blog-card {
  border-radius: 32px;
  background: rgba(15,23,42,0.04);
  border: 1px solid rgba(15,23,42,0.05);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  overflow: hidden;
  transition: transform .2s ease, border-color .2s ease;
}

.blog-card:hover {
  transform: translateY(-4px);
  border-color: rgba(34,104,246,0.35);
}

.blog-card__link {
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none;
  color: inherit;
}

.blog-card__cover img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.blog-card__body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.blog-card__date {
  font-size: 13px;
  color: rgba(15,23,42,0.6);
}

.blog-card__excerpt {
  color: rgba(15,23,42,0.8);
  font-size: 15px;
  line-height: 1.5;
}

.blog-card__more {
  margin-top: auto;
  font-weight: 600;
  color: var(--lm-accent);
}

.blog-empty {
  text-align: center;
  margin-top: 24px;
  color: rgba(15,23,42,0.6);
}

.blog-empty.hidden {
  display: none;
}

.blog-actions {
  margin-top: 32px;
  display: flex;
  justify-content: center;
}

.blog-load-more.hidden {
  display: none;
}

.blog-article-page {
  background: linear-gradient(180deg, rgba(15,23,42,0.04), rgba(15,23,42,0));
}

.blog-article-shell {
  width: min(1010px, calc(100% - 30px));
  margin: 32px auto;
  background: #fff;
  border-radius: 40px;
  box-shadow: 0 25px 80px rgba(15,23,42,0.12);
  padding: 48px clamp(24px, 6vw, 64px);
}

@media (width <= 768px) {
  .blog-article-shell {
    padding: 32px 20px;
  }
}

.blog-article {
  max-width: 770px;
  margin: 0 auto;
  color: rgba(15,23,42,0.9);
}

.blog-article__cover {
  margin-bottom: 32px;
  border-radius: 32px;
  overflow: hidden;
}

.blog-article__cover figure {
  margin: 0;
}

.blog-article__cover img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  display: block;
}

.blog-article__cover figcaption {
  margin-top: 12px;
  font-size: 14px;
  color: rgba(15,23,42,0.7);
  text-align: center;
}

.blog-article__content {
  font-size: 18px;
  line-height: 1.8;
  text-align: left;
}

.blog-article__content h2,
.blog-article__content h3 {
  margin-top: 32px;
}

.blog-article__content p + p {
  margin-top: 18px;
}

.prose {
  font-size: 18px;
  line-height: 1.75;
  color: rgba(15,23,42,0.85);
}

.prose > *:first-child {
  margin-top: 0;
}

.prose h2,
.prose h3,
.prose h4 {
  font-weight: 700;
  color: #0f172a;
  margin: 32px 0 16px;
}

.prose h2 {
  font-size: clamp(26px, 3vw, 32px);
}

.prose h3 {
  font-size: clamp(22px, 2.4vw, 26px);
}

.prose h4 {
  font-size: clamp(19px, 2vw, 22px);
}

.prose p {
  margin: 0 0 18px;
}

.prose a {
  color: #2563eb;
  text-decoration: underline;
}

.prose ul,
.prose ol {
  padding-left: 1.4em;
  margin: 18px 0;
  display: grid;
  gap: 10px;
}

.prose ul li {
  list-style: disc;
}

.prose ol li {
  list-style: decimal;
}

.prose blockquote {
  margin: 28px 0;
  padding: 18px 24px;
  border-left: 4px solid #2563eb;
  border-radius: 24px;
  background: rgba(37,99,235,0.08);
  font-style: italic;
}

.prose figure {
  margin: 32px 0;
}

.prose figure img {
  width: 100%;
  border-radius: 28px;
  display: block;
}

.prose figcaption {
  margin-top: 12px;
  font-size: 14px;
  color: rgba(15,23,42,0.65);
  text-align: center;
}

.prose hr {
  border: none;
  height: 1px;
  margin: 40px 0;
  background: rgba(15,23,42,0.12);
}

.prose pre {
  margin: 24px 0;
  padding: 18px;
  border-radius: 20px;
  background: #0f172a;
  color: #f1f5f9;
  font-size: 15px;
  overflow-x: auto;
}

.prose code {
  font-family: "JetBrains Mono", "SFMono-Regular", Consolas, monospace;
}

.prose .table-wrap {
  margin: 24px 0;
  border-radius: 24px;
  background: rgba(15,23,42,0.02);
  border: 1px solid rgba(15,23,42,0.08);
  overflow-x: auto;
}

.prose table {
  width: 100%;
  border-collapse: collapse;
  min-width: 520px;
}

.prose table th,
.prose table td {
  padding: 14px 16px;
  border-bottom: 1px solid rgba(15,23,42,0.08);
}

.prose table th {
  text-align: left;
  font-weight: 600;
}

.prose table caption {
  caption-side: bottom;
  font-size: 14px;
  color: rgba(15,23,42,0.65);
  padding: 12px 16px;
}

.prose .video-embed {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: 28px;
  margin: 32px 0;
}

.prose .video-embed iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 28px;
}

.prose .callout {
  border-radius: 24px;
  padding: 18px 22px;
  margin: 24px 0;
  border-left: 4px solid #2563eb;
  background: rgba(37,99,235,0.08);
}

.prose .callout--tip {
  border-color: #10b981;
  background: rgba(16,185,129,0.08);
}

.prose .callout--warn {
  border-color: #f97316;
  background: rgba(249,115,22,0.1);
}

.prose .callout--note {
  border-color: #0ea5e9;
  background: rgba(14,165,233,0.08);
}

.prose details {
  margin: 20px 0;
  border-radius: 20px;
  border: 1px solid rgba(15,23,42,0.1);
  padding: 14px 18px;
  background: rgba(15,23,42,0.02);
}

.prose summary {
  cursor: pointer;
  font-weight: 600;
  list-style: none;
}

.prose summary::-webkit-details-marker {
  display: none;
}

.prose details[open] {
  background: rgba(37,99,235,0.04);
}

.prose details > *:not(summary) {
  margin-top: 12px;
}

.prose img {
  width: 100%;
  border-radius: 28px;
  display: block;
  margin: 24px 0;
}

.prose .checklist {
  list-style: none;
  padding-left: 0;
}

.prose .checklist li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.prose .checklist li::before {
  content: "✓";
  color: #10b981;
  font-weight: 700;
  margin-top: 2px;
}

.blog-article__actions {
  margin-top: 40px;
}

.blog-article__more {
  margin: 60px auto;
  text-align: center;
  padding: 32px;
  border-radius: 32px;
  background: rgba(15,23,42,0.04);
}

.blog-article__error {
  text-align: center;
  margin: 60px auto;
}

.blog-article__error.hidden {
  display: none;
}





/* крестик */
.lead-modal .modal__close {
  position: absolute;
  right: 16px; top: 14px;
  width: 36px; height: 36px;
  border-radius: 12px;
  background: rgba(15, 23, 42, 0.05);
  color: var(--lm-text);
  line-height: 36px;
  text-align: center;
  font-size: 20px;
  border: 0;
  cursor: pointer;
  transition: background .2s, transform .08s ease;
}
.lead-modal .modal__close:hover { background: rgba(15,23,42,0.08); }
.lead-modal .modal__close:active { transform: scale(.96); }


/* ===== Blog Highlights — Bento ===== */
.home-blog__viewport {
  max-width: 1200px;
  margin: 0 auto;
}

.home-blog__grid {
  --home-blog-row: clamp(180px, 26vw, 200px);
  --home-blog-gap: 20px;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-template-rows: repeat(2, var(--home-blog-row));
  gap: var(--home-blog-gap);
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
}

/* Карточка — стекло + мягкий объём */
.home-blog__card {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  padding: 24px;
  border-radius: 28px;
  background:
    var(--home-blog-grad, linear-gradient(135deg, rgba(255,255,255,.45), rgba(255,255,255,.08))),
    radial-gradient(120% 180% at 0% 0%, rgba(255,255,255,.35), rgba(255,255,255,0) 70%);
  color: #111;
  text-decoration: none;
  isolation: isolate;
  -webkit-backdrop-filter: blur(10px) saturate(1.05);
  backdrop-filter: blur(10px) saturate(1.05);
  border: 1px solid rgba(255,255,255,.28);
  box-shadow:
    0 14px 40px rgba(15,23,42,.22),
    inset 0 1px 0 rgba(255,255,255,.35);
  overflow: hidden;
  transform: translateZ(0);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.home-blog__card:hover { transform: translateY(-4px); box-shadow: 0 18px 56px rgba(15,23,42,.26); }
.home-blog__card:focus-visible { outline: 2px solid rgba(59,130,246,.45); outline-offset: 2px; }

/* Живая подсветка курсора */
.home-blog__card::before {
  content: "";
  position: absolute; inset: -30% -30% auto auto;
  width: 60%; height: 60%;
  background: radial-gradient(60% 60% at 60% 40%, rgba(255,255,255,.7), transparent 70%);
  mix-blend-mode: soft-light;
  opacity: .28;
  transition: opacity .2s ease, transform .2s ease;
}
.home-blog__card:hover::before { opacity: .6; transform: translate3d(0,-4px,0); }

.home-blog__controls {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 18px;
}

.home-blog__controls.is-active {
  display: flex;
}

.home-blog__indicator {
  font-weight: 600;
  font-size: 15px;
  color: rgba(15,23,42,0.75);
  min-width: 68px;
  text-align: center;
}

.home-blog__nav {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(15,23,42,0.2);
  background: rgba(248,250,252,0.9);
  color: rgba(15,23,42,0.8);
  font-size: 18px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background .2s ease, transform .15s ease;
}

.home-blog__nav:disabled {
  opacity: 0.4;
  pointer-events: none;
}

.home-blog__nav:not(:disabled):hover {
  background: rgba(248,250,252,1);
  transform: translateY(-1px);
}

/* Текст */
.home-blog__label { max-width: 20ch; font-weight: 800; font-size: clamp(18px, 2.1vw, 22px); line-height: 1.15; text-shadow: none; }

/* Плейсхолдеры */
.home-blog__card.is-placeholder {
  background: linear-gradient(135deg, rgba(255,255,255,.22), rgba(255,255,255,.12));
  border: 1px dashed rgba(255,255,255,.35);
  animation: blog-placeholder 1.8s ease-in-out infinite;
}
@keyframes blog-placeholder { 0%{opacity:.5} 50%{opacity:1} 100%{opacity:.5} }

.home-blog--carousel .home-blog__viewport {
  max-width: none;
  margin: 0;
  width: 100%;
  overflow: hidden;
}

.home-blog--carousel .home-blog__grid {
  --home-blog-slide-gap: clamp(12px, 2vw, 20px);
  --home-blog-slide-width: min(420px, calc(100vw - 64px));
  --home-blog-hero-height: calc(var(--home-blog-row) * 2 + var(--home-blog-gap));
  display: flex;
  flex-wrap: nowrap;
  gap: var(--home-blog-slide-gap);
  padding: 12px;
  margin: 0;
  width: max-content;
  min-width: 100%;
  transform: translate3d(var(--home-blog-shift, 0), 0, 0);
  transition: transform .4s ease;
  will-change: transform;
  scrollbar-width: none;
}

.home-blog--carousel .home-blog__grid::-webkit-scrollbar {
  display: none;
}

.home-blog--carousel .home-blog__card {
  flex: 0 0 var(--home-blog-slide-width);
  height: var(--home-blog-hero-height);
  min-height: var(--home-blog-hero-height);
}

/* Выравнивания текста уже есть — оставляем их: top/bottom-left/right (см. существующие правила) */
/* крупнее и толще в левом большом блоке */
.home-blog__card--hero .home-blog__label {
  font-weight: 900;
  font-size: clamp(24px, 2.8vw, 34px); /* старт для fitText */
}

/* базовые правила для переноса */
.home-blog__label {
  display: block;
  max-width: 100%;
  hyphens: auto;
  word-break: break-word;
  line-height: 1.15;
  /* симметричные отступы текста внутри карточки гарантирует padding самой карточки */
}
/* ===== Blog page hero: центрируем оба <p> ===== */
.blog-page .page-hero__inner{
  text-align: center;              /* центр для всего содержимого */
  display: flex;
  flex-direction: column;
  align-items: center;             /* и по флексу по центру */
  gap: 10px;
}

.blog-page .page-hero__inner p{
  text-align: inherit;             /* берём center у родителя */
  max-width: 70ch;                 /* читаемая ширина строки */
  margin: 0 auto;                  /* чётко по центру контейнера */
}
.page-hero.blog-hero .page-hero__inner p{ text-align:center !important; }

/* ===== Blog Article: центрирование ===== */

/* hero — всё строго по центру */
.blog-article-page .page-hero__inner{
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;            /* центр по флексу */
  gap: 10px;
}
.blog-article-page .page-hero__inner p{
  margin: 0 auto;                 /* оба <p>: «Блог» и дата */
  text-align: inherit;
}

/* контент статьи — центрируем одиночные абзацы-заглушки */
.blog-article-page .blog-article__content{
  max-width: min(810px, 90vw);
  margin: 0 auto;
  text-align: left;
}
.blog-article-page .blog-article__content > p{
  margin-left: 0;
  margin-right: 0;
}

/* кнопка «Вернуться к блогу» по центру */
.blog-article-page .blog-article__actions{
  display: flex;
  justify-content: center;
}

@media (max-width: 640px) {
  :root {
    --header-logo-width: 96px;
    --header-burger-size: 42px;
  }

  .site-header {
    top: 10px;
    width: 100%;
    margin: 8px auto 0;
    border-radius: var(--radius-xl);
  }

  .site-header__shell {
    border-radius: inherit;
    background: var(--color-light);
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-sm);
    --shell-blur: 0.5px;
    --shell-radius: var(--radius-xl);
    --edge-clear: 1px;
  }

  .site-header__inner {
    padding: 10px 16px;
    gap: 12px;
    border-radius: inherit;
  }

  .site-header__left {
    flex: 0 1 auto;
    min-width: 0;
    gap: 10px;
  }

  .site-header .nav-links,
  .site-header .icon-links,
  .site-header .cta-button,
  .site-header .button-secondary {
    display: none !important;
  }

  .site-header__right {
    margin-left: auto;
    gap: 0;
    padding-right: 10px;
  }

  .site-header__right > .burger,
  .site-header__right > .js-burger,
  .burger {
    display: inline-flex;
  }
}

@media (max-width: 1024px) {
  .hero.hero--lgv2 {
    margin: 32px auto 0;
    padding: clamp(82px, 16vw, 140px) clamp(18px, 6vw, 36px) clamp(40px, 12vw, 72px);
    border-radius: 28px;
  }

  .hero--lgv2 .hero__content {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: clamp(20px, 5vw, 34px);
  }

  .hero--lgv2 .hero__text,
  .hero--lgv2 .hero__filters {
    grid-column: 1 / -1;
  }

  .hero--lgv2 .hero__filters {
    width: 100%;
    max-width: 680px;
    margin: 0 auto;
    padding: clamp(22px, 6vw, 32px);
  }
}

@media (max-width: 768px) {
  .hero.hero--lgv2 {
    width: calc(100% - 20px);
    padding: clamp(72px, 18vw, 110px) clamp(16px, 6vw, 28px) clamp(36px, 14vw, 64px);
    box-shadow: 0 18px 50px rgb(2 6 23 / 26%);
  }

  .hero--lgv2 .hero__media::after {
    background: linear-gradient(180deg, rgb(5 9 18 / 0.86) 0%, rgb(5 9 18 / 0.45) 45%, rgb(5 9 18 / 0.82) 100%);
  }

  .hero--lgv2 .hero__text {
    text-align: center;
    justify-items: center;
    gap: 14px;
    max-width: min(520px, 100%);
  }

  .hero--lgv2 .hero__subtitle {
    margin-left: 0;
    max-width: 36ch;
  }

  .hero__title-row,
  .hero__title-highlight,
  .hero__title-after-hl {
    margin-left: 0;
  }

  .hero__title-highlight::before {
    box-shadow:
      0 8px 24px rgb(27 6 62 / 0.28),
      inset 0 1px 0 rgb(0 0 0 / 0.12);
  }

  .hero__title-highlight > span {
    white-space: normal;
    text-shadow: 0 1px 0 rgb(0 0 0 / 0.15);
  }

  .hero__title-after-hl {
    display: inline;
  }

  .hero--lgv2 .chips-grid {
    --chip-gap: clamp(4px, 1.2vw, 12px);
    --chip-scale: clamp(0.38, calc(100vw / 1100), 0.8);

    display: flex;
    gap: var(--chip-gap);
    justify-content: space-between;
    flex-wrap: nowrap;
    overflow: hidden;
    padding-bottom: 0;
    margin: 6px 0 0;
    max-width: min(520px, 100%);
  }

  .hero--lgv2 .chips-grid .chip {
    flex: 1 1 calc((100% - (var(--chip-gap) * 2)) / 3);
    min-width: 0;
    padding: calc(7px * var(--chip-scale)) calc(12px * var(--chip-scale));
    min-height: calc(30px * var(--chip-scale));
    font-size: clamp(10px, calc(11.5px * var(--chip-scale)), 12px);
    line-height: 1.15;
    white-space: normal;
    text-align: center;
    border-radius: 999px;
  }

  .hero--lgv2 .chips-grid .chip__text {
    display: -webkit-box;
    overflow: hidden;
    line-height: 1.2;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
  }

  .hero--lgv2 .hero__row {
    grid-template-columns: 1fr;
  }

  .hero--lgv2 .hero__filters .label {
    color: #0f172a;
    text-shadow: none;
  }

  .hero__button-row {
    flex-direction: column;
  }

}

@media (max-width: 520px) {
  .hero.hero--lgv2 {
    margin: 24px auto 0;
    padding: clamp(58px, 24vw, 92px) 14px clamp(30px, 18vw, 50px);
  }

  .hero--lgv2 .chips-grid {
    --chip-gap: clamp(3px, 1vw, 9px);
    --chip-scale: clamp(0.32, calc(100vw / 600), 0.55);
  }

  .hero--lgv2 .chips-grid .chip {
    flex-basis: calc((100% - (var(--chip-gap) * 2)) / 3);
    padding: calc(6px * var(--chip-scale)) calc(10px * var(--chip-scale));
    min-height: calc(26px * var(--chip-scale));
    font-size: clamp(9px, calc(10.5px * var(--chip-scale)), 11px);
  }

  .hero--lgv2 .hero__filters {
    padding: 18px 16px 20px;
    gap: 12px;
  }

  .hero--lgv2 .hero__filters .label {
    font-size: 14px;
  }

  .hero--lgv2 .hero__filters .select,
  .hero--lgv2 .hero__filters .input {
    font-size: 14px;
  }
}
/* --- Чипы: текст не обрезаем и даём переносы --- */


/* --- Размеры чипов — флюидная типографика --- */
.hero--lgv2 .chips-grid .chip{
  min-width: 0;
  text-align: center;
  line-height: 1.15;
  font-size: clamp(10px, 2.2vw, 13px);
  padding: clamp(6px, 1.2vw, 10px) clamp(10px, 2.4vw, 16px);
  border-radius: 999px;
}

/* --- Ничего не режем: свечение должно быть видно --- */
@media (max-width: 768px){
  .hero--lgv2 .chips-grid{ overflow: visible !important; } /* было hidden */
}
.hero--lgv2 .chip.lgv2-glass{ overflow: visible; }          /* перебиваем overflow:clip у .lgv2-glass */
.hero.hero--lgv2{
  overflow: visible;                                         /* чтобы низ героя не обрезал */
  padding-bottom: clamp(60px, 10vw, 100px);                  /* запас снизу под тени */
}
.hero--lgv2 .chips-grid{
  display: flex;
  flex-wrap: nowrap;                     /* всегда в один ряд */
  justify-content: center;
  gap: clamp(7px, 2vw, 10px);
  overflow-x: auto;                      /* скролл по X, если не помещаются */
  overflow-y: visible;                   /* свечение не обрезаем по Y */
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x proximity;         /* приятная прокрутка на мобилах */
}
.hero--lgv2 .chips-grid .chip__text{
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  text-overflow: ellipsis;
}/* контейнеру — всю ширину и равномерное распределение */
.hero--lgv2 .chips-grid{
  display: flex;
  flex-wrap: nowrap;
  width: 100%;
  max-width: none;              /* перебиваем старое max-width */
  gap: clamp(10px, 2vw, 16px);
  justify-content: space-between;
  overflow: visible;
}

/* каждая пилюля занимает треть ряда и может слегка сжиматься */
.hero--lgv2 .chips-grid .chip{
  flex: 1 1 240px;              /* было 0 0 … — чипы не росли */
  padding: clamp(8px, 1.4vw, 12px) clamp(22px, 3.6vw, 30px);
  border-radius: 999px;
}

/* максимум две строки текста */
.hero--lgv2 .chips-grid .chip__text{
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  text-overflow: ellipsis;
}
/* Скрыть ряд чипов на очень узких экранах */
@media (max-width: 400px){
  .hero--lgv2 .chips-grid{
    display: none !important;
  }
  /* опционально: если чипов нет — можно уменьшить отступ снизу у героя */
  .hero.hero--lgv2{
    padding-bottom: 24px;
  }
}
/* Карточка с закруглениями */
.hero--lgv2 .hero__frame,
.hero--lgv2 .hero__content{
  position: relative;
  border-radius: 24px;              /* твой нужный радиус */
}

/* Слой с изображением заполняет карточку и клипуется по радиусу */
.hero--lgv2 .hero__media{
  position: absolute;
  inset: 0;
  border-radius: inherit;           /* тот же радиус */
  overflow: hidden;                 /* обрезаем фон по радиусу */
  isolation: isolate;               /* чтобы эффекты внутри не «просачивались» наружу */
}

/* Если внутри <img> — тоже подстраховать */
.hero--lgv2 .hero__media > img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: inherit;
}

/* Если используешь псевдоэлементы/градиенты поверх/под фото — тоже клипуем их */
.hero--lgv2 .hero__media::before,
.hero--lgv2 .hero__media::after{
  border-radius: inherit;
}

/* Важно: сам hero оставляем видимым, чтобы не резать свечения чипов */
.hero.hero--lgv2{ overflow: visible; }
/* мобильная раскладка */
@media (max-width: 768px) {            /* порог выбери под свой макет */
  .hero__button-row { flex-direction: column; }           /* уже есть, но не мешает */
  .hero__button-row .cta-button { order: -1; }            /* поднять «Найти» вверх */
}
@media (max-width: 768px) { /* порог можно изменить под твой брейкпоинт */
  .hero__button-row .cta-button {
    margin-top: 15px;
  }
}
/* мобильный вид: 2 колонки и та же карточка, что на ПК */
@media (max-width: 640px) {
  .card-grid {
    /* вместо 1 колонки — две; подбери minmax под макет */
    grid-template-columns: repeat(2, minmax(160px, 1fr));
    gap: 16px;                 /* можно чуть меньше, чтобы влезало */
  }

  /* вернуть карточку к «десктопной» компоновке */
  .category-card {
    grid-template-columns: unset;
    grid-template-rows: unset;
    gap: 20px;
    padding: 26px;
    text-align: center;
    align-items: initial;
  }

  .category-card__image {
    grid-row: auto;
    width: 86px;               /* как на ПК */
    height: auto;
    margin: 0 auto;
    border-radius: 0;
    background: transparent;
    justify-self: center;
    object-fit: contain;
  }

  .category-card__title {
    grid-column: auto;
    font-size: 18px;           /* как на ПК */
  }
}

.section__inner {                           /* сама «подложка» всегда уже вьюпорта */
  box-sizing: border-box;
  width: min(1180px, calc(100% - var(--layout-inline-gap)));
  margin-inline: auto;
  padding: clamp(24px, 4vw, 48px);
}

@media (max-width: 640px) {
  .section { 
    padding: 90px 10px;              /* было 5px — стало 10px */
  }
  .section__inner {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    padding: 24px 20px 28px;         /* внутренние поля «подложки» */
    overflow: visible;
  }
  .section__inner::before,
  .section__inner::after {
    right: -16px;                    /* поджали glow, чтобы не лез за край */
    bottom: -16px;
  }
}

.glass-theme .category-card::before {
  filter: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

/* ====== Responsive refinements (global) ====== */
@media (max-width: 1440px) {
  :root {
    --layout-max-width: 1200px;
    --layout-inline-gap: clamp(28px, 5vw, 88px);
  }

  .page-shell {
    padding: clamp(80px, 9vw, 140px) 0 clamp(72px, 8vw, 120px);
    gap: clamp(28px, 4vw, 60px);
  }

  .section {
    padding-inline: clamp(18px, 4vw, 52px);
  }

  .section__inner {
    width: min(var(--layout-max-width), calc(100% - 28px));
    padding: clamp(24px, 3vw, 40px);
  }

  .section__header {
    gap: clamp(12px, 1.6vw, 20px);
  }

  .hero.hero--lgv2 {
    width: min(var(--layout-max-width), calc(100% - 32px));
    padding: clamp(110px, 11vw, 150px) clamp(24px, 5vw, 56px) clamp(60px, 7vw, 96px);
  }

  .hero--lgv2 .hero__content {
    gap: clamp(20px, 2.5vw, 36px);
  }

  .card-grid,
  .stat-grid,
  .values-grid,
  .team-grid,
  .favorites-grid,
  .blog-grid,
  .contacts,
  .catalog-grid,
  .reviews-grid,
  .areaLicences,
  .itemsSocialMedia {
    gap: clamp(16px, 2vw, 28px);
  }
}

@media (max-width: 1280px) {
  .hero--lgv2 .hero__content {
    grid-template-columns: repeat(12, minmax(0, 1fr));
  }

  .hero--lgv2 .hero__text,
  .hero--lgv2 .hero__filters {
    grid-column: 1 / -1;
  }

  .hero--lgv2 .hero__filters {
    margin-left: 0;
    max-width: 620px;
    justify-self: center;
  }

  .card-grid {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  }

  .stat-grid,
  .values-grid,
  .team-grid,
  .favorites-grid,
  .blog-grid,
  .reviews-grid,
  .itemsSocialMedia,
  .areaLicences {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cta-card__actions > * {
    min-width: 160px;
  }

  .cta-card {
    gap: 20px;
  }
}

@media (max-width: 1024px) {
  .page-shell {
    padding: clamp(68px, 12vw, 110px) 0 clamp(56px, 10vw, 90px);
  }

  .section {
    padding-inline: clamp(14px, 5vw, 42px);
  }

  .section__inner {
    padding: clamp(20px, 4vw, 32px);
  }

  .section__header {
    flex-direction: column;
    align-items: flex-start;
  }

  .stat-grid,
  .values-grid,
  .team-grid,
  .favorites-grid,
  .reviews-grid,
  .areaLicences,
  .itemsSocialMedia {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  }

  .cta-card {
    flex-direction: column;
    align-items: stretch;
  }

  .cta-card__actions {
    width: 100%;
  }

  .cta-card__actions > * {
    flex: 1 1 auto;
  }

  .team-card img,
  .favorites-card__image img {
    height: 220px;
  }

  .hero--lgv2 .hero__content {
    gap: clamp(18px, 5vw, 28px);
    justify-items: center;
    max-width: min(760px, 100%);
    margin-inline: auto;
  }

  .hero.hero--lgv2 {
    text-align: center;
  }

  .hero--lgv2 .hero__text {
    text-align: center;
    justify-items: center;
    max-width: min(560px, 100%);
  }

  .hero--lgv2 .hero__filters {
    justify-self: center;
    margin-left: 0;
    width: min(100%, 560px);
  }

}

@media (max-width: 900px) {
  .hero.hero--lgv2 {
    padding: clamp(80px, 18vw, 120px) clamp(18px, 6vw, 30px) clamp(48px, 12vw, 80px);
  }

  .hero--lgv2 .hero__filters {
    max-width: 560px;
  }

  .cta-card,
  .favorites-card,
  .team-card,
  .office-card,
  .contacts__info,
  .contacts__form {
    border-radius: 20px;
    padding: clamp(18px, 4vw, 28px);
  }

  .cta-card__content {
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .page-shell {
    gap: clamp(22px, 6vw, 42px);
  }

  .section {
    padding: clamp(40px, 14vw, 68px) clamp(10px, 4vw, 18px);
  }

  .section__inner {
    padding: clamp(18px, 6vw, 26px);
    border-radius: 24px;
  }

  .hero--lgv2 .hero__filters {
    width: 100%;
    padding: 24px;
  }

  .hero--lgv2 .hero__text {
    text-align: left;
  }

  .card-grid,
  .favorites-grid,
  .reviews-grid,
  .itemsSocialMedia,
  .areaLicences {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  .stat-grid,
  .values-grid,
  .team-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }

  .favorites-card__actions {
    flex-direction: column;
  }

  .cta-card__actions {
    flex-direction: column;
  }

  .cta-card__actions > * {
    width: 100%;
  }

  .contacts__form,
  .contacts__info {
    padding: 18px;
  }

  .section__header .section__action {
    align-self: flex-start;
  }
}

@media (max-width: 640px) {
  .card-grid,
  .favorites-grid,
  .reviews-grid,
  .areaLicences {
    grid-template-columns: minmax(0, 1fr);
  }

  .section__inner {
    border-radius: 20px;
  }

  .hero--lgv2 .hero__title {
    font-size: clamp(28px, 9vw, 40px);
  }

  .hero--lgv2 .hero__subtitle {
    font-size: 16px;
  }

  .hero--lgv2 .hero__filters {
    padding: 20px;
  }
}



@media (max-width: 600px) {
  .blog-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 560px) {
  .contacts {
    grid-template-columns: minmax(0, 1fr);
    gap: clamp(14px, 5vw, 22px);
  }

  .contacts__info,
  .contacts__form,
  .contacts__map {
    padding: clamp(14px, 5vw, 20px);
  }

  .contacts__form button {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .page-shell {
    padding-top: clamp(52px, 22vw, 70px);
    padding-bottom: clamp(48px, 20vw, 72px);
  }

  .section {
    padding-inline: 12px;
  }

  .section__inner {
    padding: 18px;
  }

  .section__title {
    font-size: clamp(22px, 6vw, 28px);
  }

  .section__header {
    gap: 8px;
  }

  .hero--lgv2 .hero__filters,
  .cta-card,
  .favorites-card,
  .team-card,
  .office-card {
    padding: 16px;
  }

  .cta-card__actions > * {
    min-width: 0;
  }
}

@media (max-width: 375px) {
  .hero--lgv2 .hero__title {
    font-size: clamp(24px, 9vw, 32px);
  }

  .hero--lgv2 .hero__filters,
  .cta-card,
  .favorites-card,
  .team-card,
  .office-card {
    border-radius: 16px;
  }

  .section__inner {
    padding: 16px;
  }
}

@media (max-width: 320px) {
  .page-shell {
    padding-top: 48px;
    padding-bottom: 48px;
  }

  .section {
    padding-inline: 8px;
  }

  .section__inner {
    padding: 14px;
  }

  .hero--lgv2 .hero__filters,
  .cta-card,
  .favorites-card,
  .team-card {
    padding: 14px;
  }
}
@media (min-width: 1281px) {
  .hero--lgv2 .hero__filters {
    grid-column: span 6;
    margin-left: 50px;
  }
}
/* этот блок поставить после всех остальных @media */
@media (max-width: 1024px) {
  .hero--lgv2 .hero__content { justify-items: center; }

  .hero--lgv2 .hero__filters {
    grid-column: 1 / -1 !important;
    margin: 0 auto !important;
    justify-self: center;
    width: min(100%, 560px);
  }
}
/* Мобилка 360/320: не даём полям «выпирать» за стеклянный контейнер */
@media (max-width: 360px) {
  /* клипаем содержимое именно у карточки фильтров */
  .lgv2-glass.hero__filters { 
    overflow: clip;            /* было visible */
  }

  .hero--lgv2 .hero__filters {
    width: 100%;
    padding: 12px;             /* было 14–16px в мобильных блоках */
    border-radius: 16px;       /* смягчаем радиус на узком экране */
    margin: 0 auto;
  }

  /* компактнее контролы, чтобы точно влезали */
  .hero--lgv2 .hero__filters .select,
  .hero--lgv2 .hero__filters .input,
  .hero--lgv2 .glass-select__trigger {
    font-size: 13px;
    padding: 12px;
  }

  /* кнопки — на всю ширину и без сдвигов */
  .hero__button-row { flex-direction: column; }
  .hero__button-row > * { width: 100%; }
}
/* <=1024 центрируем сам блок текста */
@media (max-width: 1024px) {
  .hero--lgv2 .hero__text {
    grid-column: 1 / -1;     /* уже есть, дублировать не страшно */
    justify-self: center;    /* центрируем грид-айтем */
    margin: 0 auto;          /* на всякий случай */
  }
}

/* <=768 выравнивание + перенос "Рынка РФ" на отдельную строку */
@media (max-width: 768px) {
  .hero--lgv2 .hero__text {
    text-align: center;      /* уже есть */
    justify-items: center;   /* уже есть */
  }

  /* убираем любые сдвиги влево у частей заголовка */
  .hero__title-row,
  .hero__title-highlight,
  .hero__title-after-hl { margin-left: 0; }

  /* Делаем обязательный перенос "Рынка РФ" + склейка двух слов */
  .hero__title-after-hl {
    display: block;          /* вместо inline */
    white-space: nowrap;
  }
}
/* ≤425px: уравняем «воздух» слева/справа */
@media (max-width: 425px) {
  .hero.hero--lgv2 {
    width: calc(100% - 24px);   /* было: наследовалось calc(100% - 32px) */
    margin-inline: auto;
    padding-inline: 12px;       /* симметрия внутри карточки */
  }

  /* без субпиксельного смещения рамки на очень узких */
  .hero--lgv2 .hero__glass-frame { inset: 0; }

  /* на всякий — сам контент строго по центру */
  .hero--lgv2 .hero__content { margin-inline: auto; }
}
/* 1280 → 1024: центрируем весь текстовый блок и убираем служебные сдвиги */
@media (max-width: 1280px) {
  .hero--lgv2 .hero__text {
    grid-column: 1 / -1;     /* уже есть, дублирование не страшно */
    justify-self: center;    /* центрируем сам грид-айтем */
    text-align: center;      /* чтобы внутренности не «тянулись» влево */
    max-width: min(680px, 100%);
    margin: 0 auto;
  }

}
@media (max-width: 1280px) {
  .hero__title-after-hl { display: block; white-space: nowrap; }
}
/* 768 → 685: фиксированный перенос после запятой */
@media (max-width: 768px) and (min-width: 685px) {
  .hero__title-row .t1 { display: block; } /* 1-я строка: "Авто из Японии," */
  .hero__title-row .t2 { display: block; } /* 2-я строка: "Кореи и Китая —" */
}

/* На более широких/узких — как раньше (в строку) */
@media (min-width: 769px), (max-width: 684px) {
  .hero__title-row .t1,
  .hero__title-row .t2 { display: inline; }
}
/* Стабилизируем скроллбар, чтобы ширина вьюпорта не прыгала */
/* альтернатива для старых: body { overflow-y: scroll; } */

/* Плато: от 1439↓ до 1281px ничего НЕ меняем относительно ≥1441 */
@media (max-width: 1439px) and (min-width: 1281px) {
  .hero--lgv2 .hero__content {
    grid-template-columns: repeat(12, minmax(0, 1fr)); /* как на десктопе */
    column-gap: 28px;                                   /* как на десктопе */
    row-gap: 28px;
  }
  .hero--lgv2 .hero__text    { grid-column: 1 / span 6; }
  .hero--lgv2 .hero__filters {
    grid-column: 7 / span 6;
    margin-left: 50px;         /* ваш фиксированный левый отступ */
    width: auto;               /* форма остаётся «как была» */
    max-width: 100%;
  }
}

/* А вот дальше — реальная перестройка под планшет/центрирование */
@media (max-width: 1280px) {
  .hero--lgv2 .hero__filters {
    margin-left: 0;
    margin-inline: auto;
    justify-self: center;
    grid-column: 1 / -1;
    max-width: 560px;
  }
}
@media (max-width: 1440px) and (min-width: 1281px) {
  .hero--lgv2 .hero__title { font-size: clamp(42px, 4vw, var(--fs-h1)); }
}
/* раньше начинали с 1024, теперь — уже с 1200 */
@media (max-width: 1200px){
  .section__header{
    flex-direction: column;
    align-items: flex-start;
  }
  /* кнопка под заголовком – к левому краю */
  .section__header .section__subaction{
    align-self: flex-start;
  }
}
/* флаг будет плавно съезжать вправо */
.section__decor-image.flag--glow{
  transition: transform .25s ease;
  will-change: transform;
}
/* hero-форма: подписи инпутов всегда слева */
.hero--lgv2 .hero__filters .label{
  display: flex;                /* на всякий случай */
  flex-direction: column;
  align-items: flex-start;      /* вместо center */
  text-align: left !important;  /* перебивает возможные центровки */
}

/* элементы управления на всю ширину, без сдвига */
.hero--lgv2 .hero__filters .label .glass-select,
.hero--lgv2 .hero__filters .label .input{
  width: 100%;
}
@media (max-width: 1200px) {
  .js-popular-section .section__inner {
    /* ты уже уменьшал отступы, это ок */
    padding-left: clamp(32px, 5vw, 48px);
  }

  .section__decor-image {
    /* чуть ближе к карточке, но всё ещё «снаружи» */
    left: -72px;
  }
}
@media (max-width: 640px) {
  .section__decor-image {
    left: 16px;      /* внутри секции, ~16px от левого края экрана */
    top: -60px;      /* немного выше карточки, как на макете */
    z-index: 1;      /* поверх фона и границы */
    transform: none; /* на всякий случай обнуляем возможные translate */
  }
}
/* чтобы пробег и остальной текст не обрезались на 768 и меньше */
@media (max-width: 768px) {
  .car-card__spec-text {  /* разрешаем перенос */
    font-size: 10px;       /* можно 12–13px, как тебе по вкусу */
    line-height: 1.3;
  }

  .car-card__spec-row {
    align-items: flex-start; /* чтобы две строки смотрелись аккуратно */
  }
}
/* 1 колонка с 610px и ниже */
@media (max-width: 610px) {
  .catalog-page .catalog-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: clamp(8px, 2.8vw, 12px);
    justify-items: center;
  }
}

/* текущий мобильный тюнинг размеров остаётся с 480px */
@media (max-width: 480px) {
  .car-card__favorite {
    width: 34px;
    height: 34px;
  }

  .car-card__body {
    padding: 10px 12px 12px;
  }

  .car-card__brand {
    font-size: clamp(14px, 5vw, 17px);
  }

  .car-card__spec-ico svg {
    width: 16px;
    height: 16px;
  }
}
/* Поставь после блока @media (max-width: 768px), можно сразу после него */
@media (max-width: 610px) {
  .catalog-page .catalog {
    width: 100%;      /* больше никакого calc — просто вписываемся во вьюпорт */
  }
}
/* 2 карточки от 910 до 490 */
@media (max-width: 910px) {
  .catalog-page .catalog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
/* 1 карточка от 610 и ниже */
@media (max-width: 609px) {
  .catalog-page .catalog-grid {
    grid-template-columns: 1fr;
  }
}
/* Когда блок «Полезные заметки» становится каруселью (<= 1000px) */
@media (max-width: 1000px) {
  /* убираем блик/пятно в правом нижнем углу */
  .home-blog::before {
    content: none;
  }
}
@media (max-width: 1000px) {
  /* чуть больше воздуха внутри секции под карусель */
  .home-blog {
    padding-bottom: 40px;
  }

  /* добавляем горизонтальный паддинг, чтобы тени не упирались в радиус рамки */
  .home-blog__grid {
    padding: 0 16px 24px;
  }

  /* карточки в карусели чуть уже и по центру – тень не режется по краю */
  .home-blog__card {
    max-width: 520px;
    margin-inline: auto;
    box-shadow: none !important;
  }
}
.assist-modal__card {
  width: min(640px, calc(100vw - 32px));
  padding: clamp(24px, 4vw, 40px);
  border-radius: 36px;
  background: radial-gradient(circle at top, rgba(14,165,233,0.15), transparent 65%) rgba(15,23,42,0.92);
  color: #f8fafc;
  box-shadow: 0 40px 90px rgba(2,6,23,0.55);
  position: relative;
  overflow-y: auto;
  max-height: calc(100vh - clamp(48px, 8vh, 140px));
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;

  border: 1px solid rgba(255,255,255,0.12);
}

.assist-modal__card::after {
  content: none; 
}
/* Полезные заметки: на совсем узких экранах карточка поменьше,
   чтобы не обрезалась справа */
@media (max-width: 540px) {
  .home-blog--carousel .home-blog__grid {
    /* карточка чуть уже, чем раньше, оставляем запас по краям */
    --home-blog-slide-width: calc(100vw - 120px);
  }
}

@media (max-width: 480px) {
  .home-blog--carousel .home-blog__grid {
    --home-blog-slide-width: min(340px, calc(100vw - 32px));
    --home-blog-slide-gap: 10px;
    gap: var(--home-blog-slide-gap);
    padding: 10px;
  }

  .home-blog--carousel .home-blog__card {
    min-height: 0;
    height: auto;
  }

  .home-blog__label {
    font-size: clamp(16px, 4.4vw, 18px);
    line-height: 1.18;
  }
}
.gallery__thumbs-viewport {
  overflow: hidden;
  flex: 1 1 auto;
  min-width: 0;
  width: 100%;
  scrollbar-width: none;

  /* НОВОЕ */
  box-sizing: border-box;
  padding-right: 72px; /* ширина стрелки (36) + отступы/запас */
}

.gallery__thumbs-track {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-inline: 6px;      /* ← убираем правый паддинг отсюда */
  min-width: max-content;
}
.gallery__progress-rail,
.gallery__progress-pill {
  touch-action: none;      /* не даём браузеру скроллить/зумить вместо drag */
  cursor: grab;
}
.gallery__thumbs-progress,
.gallery__progress-rail,
.gallery__progress-pill {
  -webkit-user-select: none;
  user-select: none;
  touch-action: none;
}
/* оболочка между стрелками */
.gallery__thumbs-shell {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
  width: 100%;

  box-sizing: border-box;
  padding-inline: 12px; /* ОДИНАКОВЫЙ отступ слева/справа от кнопок */
}

/* вьюпорт без внутренних паддингов */
.gallery__thumbs-viewport {
  overflow: hidden;
  flex: 1 1 auto;
  min-width: 0;
  width: 100%;
  scrollbar-width: none;
}

/* трек — убираем старый хак 6px 52px */
.gallery__thumbs-track {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-inline: 0;
  min-width: max-content;
  padding-inline: 6px 52px;
}

/* прогресс — тоже без паддингов, отступ теперь у shell */
.gallery__thumbs-progress {
  padding-inline: 6px;
  width: 100%;
}
.gallery__thumbs-shell {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
  width: 100%;

  box-sizing: border-box;
  padding-inline: 12px; /* одинаковый отступ от обеих кнопок */
}

.gallery__thumbs-viewport {
  overflow: hidden;
  flex: 1 1 auto;
  min-width: 0;
  width: 100%;
  scrollbar-width: none;
}

.gallery__thumbs-track {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-inline: 0;      /* убрали старые 6px 52px */
  min-width: max-content;
}

.gallery__thumbs-progress {
  padding-inline: 0;      /* отступ теперь только у shell */
  width: 100%;
}
.icon-links a {
  display: block;
  width: auto;
  height: auto;
  background: none !important;
  border-radius: 10px;
  padding: 0 !important;
}
.icon-links a img,
.footer-social a img {
  width: 40px; /* или ваша нужная */
  height: 40px;
  object-fit: contain;
  border-radius: 0 !important;
}
.footer-social a {
  width: auto !important;
  height: auto !important;
  background: none !important;
  border-radius: 10 px;
  padding: 0 !important;
}

/* Обновлённые отступы и отключение прогресса для галереи миниатюр */
.gallery__thumbs-shell {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
  width: 100%;
  box-sizing: border-box;
  padding-inline: 12px;
}

.gallery__thumbs-viewport {
  overflow: hidden;
  flex: 1 1 auto;
  min-width: 0;
  width: 100%;
  scrollbar-width: none;
  box-sizing: border-box;
  padding-inline: 0;
}

.gallery__thumbs-viewport::-webkit-scrollbar {
  display: none;
}

.gallery__thumbs-track {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-inline: 0;
  min-width: max-content;
}

.gallery__thumbs-progress,
.gallery__progress-rail,
.gallery__progress-pill {
  display: none;
}

.gallery__thumbs {
  gap: 12px;
}
.options.options--panel.options--open .options__list {
  max-height: none;
}

:root {
  --car-card-media-w: clamp(220px, 70vw, 320px);
}

.catalog-page {
  --car-card-media-w: clamp(230px, 22vw, 260px);
}

@media (max-width: 1100px) {
  .catalog-page {
    --car-card-media-w: clamp(220px, 30vw, 240px);
  }
}

.car-card,
.car-card__media {
  width: 100%;
  max-width: var(--car-card-media-w);
}

.car-card {
  min-width: var(--car-card-media-w);
}

.catalog-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  justify-items: stretch;
}

.catalog-grid > * {
  width: 100%;
}

@media (min-width: 1320px) {
  .catalog-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 999px) and (min-width: 910px) {
  .catalog-grid {
    grid-template-columns: 1fr;
    justify-items: center;
  }
}

.slider__track .car-card {
  flex: 0 0 var(--car-card-media-w);
  width: var(--car-card-media-w);
  max-width: 100%;
}

/* Car detail mobile: keep blocks aligned to the section width */
@media (max-width: 768px) {
  .car-page .page-shell {
    overflow-x: visible;
    padding-inline: clamp(12px, 4vw, 18px);
  }

  .car-page .page-shell > section {
    width: 100%;
    max-width: 100%;
    margin-inline: 0;
  }

  .car-page .detail.detail--gs,
  .car-page .seek-cta {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
    margin-inline: 0;
  }

  .car-page .detail.detail--gs {
    overflow-x: visible;
    padding: clamp(16px, 5vw, 22px);
  }

  .car-page .detail.detail--gs > *,
  .car-page .detail--gs .detail__hero,
  .car-page .detail--gs .gallery,
  .car-page .detail--gs .detail__grid,
  .car-page .detail--gs .recommend,
  .car-page .detail--gs .recommend__slider,
  .car-page .detail--gs .slider,
  .car-page .detail--gs .slider__viewport,
  .car-page .detail--gs .slider__track {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .car-page .recommend__slider .slider__track {
    padding-inline: clamp(10px, 5vw, 18px);
    scroll-padding-inline: clamp(10px, 5vw, 18px);
  }

  .car-page .recommend__slider .slider__track .car-card {
    flex: 0 0 min(var(--car-card-media-w), calc(100% - clamp(22px, 12vw, 40px)));
    max-width: calc(100% - clamp(22px, 12vw, 40px));
  }

  .car-page .slider__track {
    padding-inline: clamp(8px, 3vw, 14px);
  }

  .car-page .slider__track .car-card {
    flex: 0 0 var(--car-card-media-w);
  }
}
