/* Шрифты, палитра и базовые элементы */
@font-face {
  font-family: Manrope;
  src: url("assets/manrope-regular.woff2") format("woff2");
  font-weight: 400 600;
  font-display: swap;
}
@font-face {
  font-family: Manrope;
  src: url("assets/manrope-extrabold.woff2") format("woff2");
  font-weight: 700 900;
  font-display: swap;
}
:root {
  --dark: #352443;
  --accent: #26cad3;
  --yellow: #f4db4f;
  --purple: #634583;
  --paper: #f6f4f8;
  --ink: #302639;
  --muted: #6b6473;
  --line: #ded9e4;
  --white: #fcfbfe;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Manrope, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
}
button,
a {
  touch-action: manipulation;
}
button:disabled {
  cursor: not-allowed;
}
button:not(:disabled) {
  cursor: pointer;
}
img {
  max-width: 100%;
  display: block;
}
button:focus-visible,
a:focus-visible {
  outline: 3px solid #087780;
  outline-offset: 5px;
}
::selection {
  background: var(--accent);
  color: var(--dark);
}
.container {
  width: min(1240px, calc(100% - 96px));
  margin-inline: auto;
}
.skip-link {
  position: fixed;
  top: -100px;
  left: 20px;
  background: var(--accent);
  color: var(--dark);
  padding: 14px;
  z-index: 100;
}
.skip-link:focus {
  top: 12px;
}
.eyebrow {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1.5px;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 25px;
}
.section h2 {
  line-height: 1.15;
  letter-spacing: -1.7px;
  margin: 0 0 25px;
  font-weight: 800;
}
@media (max-width: 1100px) {
  .container {
    width: calc(100% - 56px);
  }
}
@media (max-width: 800px) {
  .container {
    width: calc(100% - 40px);
  }
  .eyebrow {
    font-size: 11px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  * {
    animation: none !important;
    transition: none !important;
  }
  *::before {
    animation: none !important;
    transition: none !important;
  }
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
.icon {
  display: block;
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linejoin: round;
  stroke-linecap: round;
  flex-shrink: 0;
}
h3 {
  line-height: 1.35;
  margin: 0 0 12px;
  font-weight: 800;
}
.section-heading {
  display: flex;
  justify-content: space-between;
  gap: 50px;
}
.section-heading h2 {
  margin-bottom: 0;
}
.heading-aside {
  min-width: 230px;
}
.heading-aside p {
  color: var(--muted);
  line-height: 1.8;
  margin: 16px 0 0;
}
@media (max-width: 800px) {
  .section-heading {
    gap: 30px;
  }
  .heading-aside {
    min-width: 180px;
  }
}
@media (max-width: 540px) {
  .section-heading {
    display: block;
  }
  .heading-aside p {
    display: none;
  }
  body {
    padding-bottom: 0;
  }
  html {
    scroll-padding-bottom: 85px;
  }
}
.heading-aside p {
  font-size: 14px;
}
@media (max-width: 360px) {
  .container {
    width: calc(100% - 32px);
  }
}
@media (max-width: 800px) {
  .heading-aside p {
    display: block;
    margin: 0;
    font-size: 14px;
  }
}
:root {
}
html {
  scroll-padding-top: 124px;
}
.section {
  padding: 80px 0;
}
.section-heading {
  margin-bottom: 32px;
  align-items: flex-end;
}
.section h2 {
  font-size: clamp(30px, 3.3vw, 44px);
  text-wrap: balance;
}
@media (max-width: 800px) {
  html {
    scroll-padding-top: 106px;
  }
  .section {
    padding: 60px 0;
  }
}
@media (max-width: 540px) {
  .section-heading {
    margin-bottom: 24px;
  }
  .section h2 {
    font-size: 32px;
    letter-spacing: -1.2px;
  }
  .heading-aside {
    margin-top: 18px;
  }
}
/* Кнопки и единый стиль иконок */
.button {
  padding: 14px 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 800;
  border: 1px solid transparent;
  transition:
    background 0.18s,
    transform 0.18s;
}
.button:hover:not(:disabled) {
  transform: translateY(-2px);
}
.button-primary {
  background: var(--accent);
  color: #202d39;
}
.button-primary:hover {
  background: #58dce1;
}
.button svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.6;
  stroke-linejoin: round;
  stroke-linecap: round;
}
@media (max-width: 480px) {
  .button {
    font-size: 12px;
    padding: 13px 14px;
  }
}
.button-dark {
  background: var(--dark);
  color: var(--white);
}
.button-dark:hover {
  background: #4b365d;
}
.button-light {
  background: #ece7f2;
  border-color: #ded5e8;
  width: 100%;
  justify-content: space-between;
  font-size: 12px;
  min-height: 48px;
}
.button-light span {
  font-size: 10px;
  color: var(--muted);
  font-weight: 400;
}
.button-light:hover {
  background: #e0d8e9;
}
.button {
  min-height: 52px;
  border-radius: 8px;
  line-height: 1.4;
  text-align: center;
}
.button svg {
  flex-shrink: 0;
}
.button-secondary {
  background: transparent;
  border-color: #8c779d;
  color: var(--white);
}
.button-secondary:hover {
  background: #ffffff10;
}
.button-secondary > span {
  font-size: 20px;
  line-height: 1;
}
@media (prefers-reduced-motion: reduce) {
  .button:hover:not(:disabled) {
    transform: none;
  }
}
.button .button-icon {
  width: 26px;
  height: 26px;
  flex: 0 0 26px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.button .button-icon-brand {
  fill: currentColor;
  stroke: none;
}
/* Шапка и мобильное меню */
.topline {
  background: #291c35;
  color: #c9bfd3;
  font-size: 12px;
  border-bottom: 1px solid #513e60;
}
.topline-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 36px;
}
.topline a:hover {
  color: white;
}
.header {
  background: var(--dark);
  color: var(--white);
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid #513e60;
}
.header-inner {
  display: flex;
  align-items: center;
}
.brand {
  flex-shrink: 0;
}
.desktop-nav {
  display: flex;
  font-size: 14px;
  margin-left: auto;
}
.desktop-nav a:hover {
  color: var(--accent);
}
.header-phone {
  font-size: 17px;
  font-weight: 800;
  line-height: 1.5;
  white-space: nowrap;
  margin-left: 28px;
}
.header-phone span {
  display: block;
  font-size: 12px;
  color: #c9bfd3;
  font-weight: 400;
}
.menu-toggle,
.mobile-menu[hidden] {
  display: none;
}
@media (max-width: 1100px) {
  .header-phone {
    margin-left: 0;
    font-size: 15px;
  }
}
@media (max-width: 800px) {
  .topline-inner {
    font-size: 10px;
  }
  .desktop-nav {
    display: none;
  }
  .header-phone {
    margin-left: auto;
    font-size: 14px;
  }
  .header-phone span {
    font-size: 10px;
  }
  .menu-toggle {
    display: flex;
    background: none;
    border: 1px solid #786587;
    width: 42px;
    height: 42px;
    border-radius: 5px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 6px;
    flex-shrink: 0;
  }
  .menu-toggle span {
    width: 17px;
    height: 1.5px;
    background: white;
    transition: transform 0.2s;
  }
  .menu-toggle[aria-expanded="true"] span:first-child {
    transform: translateY(3.75px) rotate(45deg);
  }
  .menu-toggle[aria-expanded="true"] span:last-child {
    transform: translateY(-3.75px) rotate(-45deg);
  }
  .mobile-menu {
    padding: 8px 20px 22px;
    border-top: 1px solid #513e60;
  }
  .mobile-menu a {
    display: block;
    padding: 10px;
    font-size: 16px;
  }
}
@media (max-width: 480px) {
  .header-phone {
    display: none;
  }
  .menu-toggle {
    margin-left: auto;
  }
  .topline-inner > span {
    font-size: 9px;
  }
  .topline-inner > a {
    font-size: 9px;
  }
}
.brand img {
  height: auto;
}
.header-inner {
  height: 96px;
  gap: 24px;
}
.brand img {
  width: 270px;
}
.desktop-nav {
  gap: 24px;
}
@media (max-width: 1100px) {
  .brand img {
    width: 240px;
  }
  .desktop-nav {
    gap: 18px;
  }
  .header-inner {
    gap: 18px;
  }
}
@media (max-width: 1000px) {
  .desktop-nav {
    display: none;
  }
  .header-phone {
    margin-left: auto;
  }
  .menu-toggle {
    display: flex;
    background: none;
    border: 1px solid #786587;
    width: 44px;
    height: 44px;
    border-radius: 6px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 6px;
    flex-shrink: 0;
  }
  .menu-toggle span {
    width: 17px;
    height: 1.5px;
    background: white;
    transition: transform 0.2s;
  }
  .menu-toggle[aria-expanded="true"] span:first-child {
    transform: translateY(3.75px) rotate(45deg);
  }
  .menu-toggle[aria-expanded="true"] span:last-child {
    transform: translateY(-3.75px) rotate(-45deg);
  }
  .mobile-menu {
    padding: 8px 28px 22px;
    border-top: 1px solid #513e60;
  }
  .mobile-menu a {
    display: block;
    padding: 10px;
    font-size: 16px;
  }
}
@media (max-width: 800px) {
  .header-inner {
    height: 84px;
  }
  .brand img {
    width: 225px;
  }
}
@media (max-width: 620px) {
  .header-phone {
    display: none;
  }
  .menu-toggle {
    margin-left: auto;
  }
}
@media (max-width: 540px) {
  .brand img {
    width: 215px;
  }
  .header-inner {
    height: 80px;
  }
}
/* Первый экран и автомобильные заводы */
.hero {
  overflow: hidden;
}
.hero-grid {
  display: grid;
  align-items: center;
  position: relative;
}
.hero-copy {
  z-index: 2;
}
.status-light {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  box-shadow: 0 0 0 5px #f4db4f20;
}
.hero h1 {
  line-height: 1.12;
  font-weight: 800;
  margin: 0 0 27px;
}
.hero h1 em {
  font-style: normal;
}
.hero-description {
  line-height: 1.8;
  margin: 0 0 30px;
}
.hero-actions {
  flex-wrap: wrap;
}
.hero-art {
  position: relative;
  margin-right: -38px;
  margin-left: -20px;
  background-size: 38px 38px;
}
.disc {
  width: 560px;
  height: 560px;
  position: absolute;
  inset: 0;
  margin: auto;
  max-width: none;
}
.around-clock {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding-top: 4px;
}
.around-clock > span {
  line-height: 1.1;
  letter-spacing: -7px;
  font-weight: 800;
}
.clock-slash {
  font-weight: 400;
  display: inline-block;
  padding: 0 3px;
}
.around-clock small {
  font-size: 10px;
  letter-spacing: 2px;
  color: #d3c8dc;
  margin-top: 10px;
}
.hero-bottom {
  border-top: 1px solid #513e60;
}
@media (max-width: 1100px) {
  .hero-art {
    transform: scale(0.85);
    transform-origin: center right;
    margin-left: -80px;
  }
}
@media (max-width: 800px) {
  .hero-art {
    transform: none;
  }
  .disc {
    width: 440px;
    height: 440px;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    margin: 0;
  }
  .around-clock small {
    font-size: 9px;
  }
}
@media (max-width: 480px) {
  .hero-description {
    line-height: 1.8;
  }
  .hero-actions .button-primary {
    flex: 1;
  }
  .hero-art {
    margin-top: 20px;
  }
  .disc {
    width: 365px;
    height: 365px;
  }
  .around-clock > span {
    letter-spacing: -5px;
  }
  .around-clock small {
    font-size: 8px;
    letter-spacing: 1px;
  }
}
.hero-grid > * {
  min-width: 0;
}
@media (max-width: 360px) {
  .hero-actions .button-primary {
    padding-inline: 10px;
    font-size: 11px;
  }
}
.status-light {
  background: var(--yellow);
}
.hero .eyebrow,
.around-clock > span,
.clock-slash {
  color: var(--yellow);
}
.manufacturer-profile {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  gap: 24px;
}
.manufacturer-heading {
  text-align: center;
}
.manufacturer-heading h2 {
  font-size: 20px;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.4;
  margin: 0;
}
@media (min-width: 801px) {
  .manufacturer-profile {
    grid-template-columns: 1fr 1.6fr;
    gap: 30px 60px;
  }
  .manufacturer-heading {
    text-align: center;
  }
  .manufacturer-heading h2 {
    display: inline-flex;
    flex-direction: column;
    font-size: 30px;
    font-weight: 700;
    letter-spacing: -1px;
    line-height: 1.2;
  }
  .manufacturer-heading-first {
    display: block;
    white-space: nowrap;
  }
}
.manufacturer-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 25px;
  list-style: none;
  margin: 0;
  padding: 0;
  text-align: center;
  width: 100%;
  max-width: 840px;
  justify-self: center;
}
.manufacturer-list li {
  display: flex;
  align-items: center;
  flex-direction: column;
  min-width: 0;
}
.manufacturer-list img {
  width: 128px;
  height: 76px;
  object-fit: contain;
  margin-bottom: 14px;
}
.manufacturer-name {
  font-size: 18px;
  font-weight: 600;
  line-height: 1.4;
  color: #fff;
}
.manufacturer-name > span {
  display: block;
}
@media (max-width: 800px) {
  .manufacturer-profile {
    gap: 22px;
  }
  .manufacturer-heading h2 {
    font-size: 18px;
  }
  .manufacturer-list {
    gap: 14px;
  }
  .manufacturer-list img {
    width: 108px;
    height: 66px;
  }
}
@media (max-width: 540px) {
  .manufacturer-list {
    gap: 10px;
  }
  .manufacturer-list img {
    width: 76px;
    height: 55px;
    margin-bottom: 12px;
  }
  .manufacturer-name {
    font-size: clamp(12px, 3.3vw, 15px);
  }
}
.hero-grid {
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  min-height: 610px;
  gap: 24px;
}
.hero h1 {
  font-size: clamp(42px, 4.5vw, 66px);
  white-space: normal;
  letter-spacing: -2.6px;
}
.hero-copy {
  padding: 60px 0;
}
.hero-description {
  font-size: 17px;
  max-width: 530px;
}
.hero-art {
  margin: 0;
  height: auto;
  aspect-ratio: 1;
  min-width: 0;
}
.hero-art .disc {
  width: 100%;
  height: auto;
  max-width: 100%;
  inset: 0;
  transform: none;
  margin: auto;
}
.around-clock > span {
  font-size: clamp(70px, 7vw, 100px);
}
.manufacturer-profile {
  padding-block: 30px 22px;
}
@media (max-width: 1100px) {
  .hero h1 {
    font-size: 48px;
  }
  .hero-grid {
    min-height: 560px;
  }
  .hero-description {
    font-size: 16px;
  }
}
@media (max-width: 1000px) {
  .hero h1 {
    font-size: 44px;
    letter-spacing: -1.8px;
  }
  .hero-grid {
    gap: 16px;
  }
  .hero-art {
    transform: none;
  }
  .around-clock > span {
    font-size: 68px;
  }
  .around-clock small {
    font-size: 8px;
    letter-spacing: 1px;
  }
  .hero-actions .button {
    font-size: 13px;
  }
}
@media (max-width: 800px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
    min-height: 0;
  }
  .hero-copy {
    padding: 44px 0 16px;
  }
  .hero h1 {
    font-size: clamp(38px, 7.7vw, 58px);
  }
  .hero-description {
    max-width: 570px;
  }
  .hero-art {
    width: 350px;
    max-width: 100%;
    height: auto;
    margin: 0 auto 28px;
  }
  .around-clock > span {
    font-size: 70px;
  }
}
@media (max-width: 540px) {
  .hero-copy {
    padding-top: 36px;
  }
  .hero h1 {
    font-size: clamp(35px, 9.2vw, 48px);
    letter-spacing: -1.5px;
  }
  .hero-description {
    font-size: 15px;
  }
  .hero-actions .button {
    font-size: 14px;
  }
  .hero-art {
    width: 290px;
    margin-bottom: 24px;
  }
  .around-clock > span {
    font-size: 59px;
  }
  .around-clock small {
    font-size: 7px;
  }
  .manufacturer-profile {
    padding-block: 26px 20px;
  }
  .manufacturer-heading h2 {
    font-size: 17px;
  }
}
.hero {
  background: #fff;
  color: var(--ink);
}
.hero-copy .eyebrow {
  color: var(--purple);
}
.hero-copy .status-light {
  background: #087780;
  box-shadow: 0 0 0 5px #08778012;
}
.hero h1 em {
  color: #087780;
}
.hero-description {
  color: var(--muted);
}
.hero-bottom {
  background: var(--dark);
  color: var(--white);
}
.hero-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 540px;
  gap: 10px;
}
.hero-actions .button-primary {
  grid-column: 1 / -1;
}
.hero-actions .button {
  width: 100%;
  min-width: 0;
}
.hero-actions .button > span {
  font-size: inherit;
  line-height: 1.4;
}
.hero-actions .button > svg {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
}
.hero-actions .button > svg:not(.icon-max) {
  stroke-width: 2;
}
@media (max-width: 540px) {
  .hero-actions {
    grid-template-columns: 1fr;
  }
  .hero-actions .button-primary {
    grid-column: auto;
  }
  .hero-actions .button {
    padding: 12px 10px;
    gap: 8px;
    font-size: 14px;
    min-height: 56px;
    white-space: nowrap;
  }
}
.hero-actions .button,
.hero-actions .button:disabled {
  background: var(--accent);
  border-color: transparent;
  color: #202d39;
  opacity: 1;
}
.hero-actions .button:hover:not(:disabled) {
  background: #58dce1;
}
.hero-grid {
  isolation: isolate;
}
.hero-grid::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 100vw;
  transform: translateX(-50%);
  background: url("assets/hero-blueprint.svg") center / cover no-repeat;
  pointer-events: none;
}
.hero-art {
  background-image: none;
}
@media (max-width: 800px) {
  .hero-grid::before {
    background-size: auto 680px;
    background-position: center bottom;
    opacity: 0.65;
  }
}
@media (max-width: 960px),
  (orientation: portrait),
  (hover: none) and (pointer: coarse) and (max-height: 600px) {
  .hero-art {
    display: none;
  }
  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
    min-height: 0;
    gap: 0;
  }
  .hero-copy {
    padding-block: clamp(36px, 5vw, 60px);
  }
}
.hero-actions .button > svg.button-icon {
  width: 26px;
  height: 26px;
  flex: 0 0 26px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.hero-actions .button > svg.button-icon-brand {
  fill: currentColor;
  stroke: none;
}
@media (max-width: 800px) {
  .hero-grid::before {
    display: none;
  }
}
/* Ассортимент и мобильные карточки */
.category-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.category {
  min-width: 0;
}
.category-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.category-top .icon {
  color: #087780;
  stroke-width: 1.25;
}
.category-title {
  display: block;
  font-weight: 800;
  letter-spacing: -0.4px;
}
.category-content ul {
  padding: 15px 0 0;
  margin: 0;
  list-style: none;
  border-top: 1px solid #d2d6d0;
}
.category-content li {
  padding: 4px 0 4px 13px;
  position: relative;
}
.category-content li:before {
  content: "";
  width: 4px;
  height: 4px;
  background: #087780;
  position: absolute;
  left: 0;
}
.catalog-help {
  display: flex;
  align-items: center;
  gap: 22px;
  background: white;
  margin-top: 24px;
}
.catalog-help-mark {
  width: 40px;
  height: 40px;
  border: 1px solid #bcc2c2;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 22px;
  font-weight: 400;
  flex-shrink: 0;
}
.catalog-help h3 {
  margin-bottom: 3px;
}
.catalog-help p {
  color: var(--muted);
  margin: 0;
}
.catalog-help .button {
  margin-left: auto;
  white-space: nowrap;
}
@media (max-width: 800px) {
  .category-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .catalog-help {
    flex-wrap: wrap;
    gap: 15px;
  }
  .catalog-help > div:nth-child(2) {
    flex: 1;
  }
  .catalog-help .button {
    margin-left: 55px;
  }
}
@media (max-width: 540px) {
  .category-grid {
    grid-template-columns: 1fr;
  }
  .category-grid .category:last-child {
    grid-column: auto;
  }
  .catalog-help {
    align-items: flex-start;
  }
  .catalog-help p {
    line-height: 1.8;
  }
  .catalog-help .button {
    margin: 4px 0 0;
  }
  .catalog-help-mark {
    width: 30px;
    height: 30px;
    font-size: 18px;
  }
}
.category {
  height: 100%;
}
.catalog-help p {
  font-size: 14px;
}
.catalog-help h3 {
  font-size: 17px;
}
.category-content li:before {
  top: 15px;
}
@media (max-width: 540px) {
  .category-content {
    padding-left: 25px;
  }
}
@media (max-width: 360px) {
  .category-top .icon {
    left: 18px;
  }
}
.catalog-help .button-dark {
  background: var(--accent);
  color: #202d39;
}
.catalog-help .button-dark:hover {
  background: #58dce1;
}
.category-grid {
  gap: 16px;
  background: transparent;
  border: 0;
  border-radius: 0;
  overflow: visible;
  align-items: stretch;
}
.category {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
}
.category:hover {
  border-color: #a7bfc1;
  box-shadow: 0 6px 20px #35244308;
}
.category-top {
  margin-bottom: 22px;
}
.category-top .icon {
  width: 34px;
  height: 34px;
}
.category-title {
  font-size: 18px;
  line-height: 1.4;
  padding-right: 20px;
  min-height: 26px;
}
.category-content {
  padding: 0 26px 24px;
  background: #fff;
}
.category-content ul {
  border-color: var(--line);
}
.category-content li {
  font-size: 14px;
  color: var(--muted);
  padding-block: 5px;
}
.catalog-help {
  padding: 24px 28px;
  border: 1px solid var(--line);
  border-radius: 12px;
}
@media (max-width: 800px) {
  .category-grid .category:last-child {
    grid-column: auto;
  }
}
@media (max-width: 540px) {
  .category-top {
    margin: 0;
  }
  .category-top .icon {
    position: absolute;
    width: 28px;
    height: 28px;
    left: 22px;
    top: 27px;
  }
  .category-title {
    font-size: 16px;
    min-height: 0;
    padding: 0;
  }
  .catalog-help {
    padding: 22px;
    gap: 14px;
  }
  .catalog-help h3 {
    font-size: 16px;
  }
}
.category-heading {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 72px;
  padding: 10px 22px;
}
.category-heading .category-top {
  margin: 0;
  flex-shrink: 0;
}
.category-heading .category-top .icon {
  position: static;
  width: 32px;
  height: 32px;
}
.category-heading .category-title {
  margin: 0;
  padding: 0;
  min-height: 0;
  font-size: 18px;
  line-height: 1.4;
}
.category-content ul {
  padding-top: 16px;
}
@media (max-width: 1100px) {
  .category-heading {
    padding-inline: 22px;
    gap: 12px;
  }
  .category-heading .category-title {
    font-size: 17px;
  }
  .category-content {
    padding-inline: 22px;
  }
}
@media (max-width: 540px) {
  .category-grid {
    gap: 16px;
  }
  .category-heading {
    min-height: 66px;
    padding: 9px 18px;
    gap: 10px;
  }
  .category-heading .category-title {
    font-size: 17px;
  }
  .category-heading .category-top .icon {
    width: 28px;
    height: 28px;
  }
  .category-content {
    padding: 0 22px 22px;
  }
}
.catalog-help .button {
  width: 246px;
  max-width: 100%;
  min-height: 52px;
  font-size: 13px;
  flex-shrink: 0;
}
@media (max-width: 540px) {
  .catalog-help .button {
    width: 100%;
  }
}
.category-toggle[hidden],
.category-content[hidden] {
  display: none;
}
.category-collapsible {
  height: auto;
}
.category-collapsible .category-heading {
  position: relative;
  padding-right: 58px;
}
.category-toggle {
  position: absolute;
  inset: 0;
  width: 100%;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: var(--purple);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 0 20px;
}
.category-toggle:hover {
  background: #63458306;
}
.category-toggle:focus-visible {
  outline: 3px solid #087780;
  outline-offset: -3px;
}
.category-toggle svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.18s;
}
.category-toggle[aria-expanded="true"] svg {
  transform: rotate(180deg);
}
@media (max-width: 960px) {
  .category-grid {
    align-items: start;
  }
}
/* О магазине, преимущества и отзывы */
.advantages {
  background: #fff;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.advantages-grid {
  display: grid;
}
.story > p {
  color: var(--muted);
  margin-bottom: 40px;
}
.advantage-list article {
  display: flex;
  gap: 22px;
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
}
.advantage-list article:first-child {
  padding-top: 0;
}
.advantage-list article:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}
.advantage-list h3 {
  font-size: 19px;
  letter-spacing: -0.4px;
}
.advantage-list p {
  color: var(--muted);
  margin: 0;
  line-height: 1.9;
}
@media (max-width: 800px) {
  .story {
    grid-template-columns: 1fr 1fr;
    gap: 0 35px;
  }
  .story > .eyebrow {
    grid-column: 1/-1;
  }
  .story h2 {
    grid-column: 1;
  }
  .story > p {
    grid-column: 1;
    margin: 0;
  }
  .advantage-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
  }
  .advantage-list article {
    padding: 0 !important;
    border-bottom: 0;
    gap: 15px;
  }
  .advantage-list h3 {
    font-size: 16px;
  }
}
@media (max-width: 540px) {
  .story {
    display: block;
  }
  .story > p {
    margin-bottom: 30px;
  }
  .advantage-list {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .advantage-list article {
    padding-bottom: 25px !important;
    border-bottom: 1px solid var(--line);
    gap: 20px;
  }
  .advantage-list article:last-child {
    border: 0;
    padding-bottom: 0 !important;
  }
  .advantage-list h3 {
    font-size: 18px;
  }
}
.advantage-list p {
  font-size: 14px;
}
.story > p {
  max-width: 470px;
  font-size: 15px;
  line-height: 1.85;
}
@media (max-width: 800px) {
  .story {
    display: block;
  }
  .story > p {
    max-width: 620px;
    margin-bottom: 30px;
  }
}
.advantage-list p {
  max-width: none;
}
.advantages-grid {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
  gap: clamp(36px, 5vw, 80px);
  align-items: stretch;
}
.about-left,
.about-reviews {
  min-width: 0;
}
.about-reviews {
  display: flex;
  align-self: stretch;
}
.about-left .story > p {
  max-width: none;
  margin-bottom: 0;
  text-align: justify;
}
.about-left .story > p + p {
  margin-top: 18px;
}
.about-left .advantage-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px 24px;
  margin-top: 36px;
}
.about-left .advantage-list article {
  display: block;
  padding: 0 !important;
  border: 0 !important;
}
.about-left .advantage-list h3 {
  font-size: 16px;
  line-height: 1.4;
  letter-spacing: -0.2px;
  margin: 0 0 6px;
}
.about-left .advantage-list p {
  font-size: 12px;
  line-height: 1.6;
  margin: 0;
  max-width: none;
}
.reviews-widget {
  position: relative;
  flex: 1;
  min-width: 0;
  width: 100%;
  min-height: 560px;
  overflow: hidden;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 16px 50px #35244314;
}
.reviews-widget iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 1px solid #e6e6e6;
  border-radius: 12px;
}
.reviews-widget-attribution {
  position: absolute;
  bottom: 8px;
  left: 16px;
  right: 16px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-align: center;
  color: #b3b3b3;
  font-size: 10px;
  line-height: 14px;
}
@media (max-width: 960px) {
  .advantages-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .about-reviews {
    max-width: 760px;
    width: 100%;
    margin-inline: auto;
  }
  .reviews-widget {
    flex: none;
    height: 540px;
    min-height: 540px;
  }
}
@media (max-width: 800px) {
  .about-left .story {
    display: block;
  }
}
@media (max-width: 540px) {
  .about-left .story > p {
    text-align: left;
  }
  .about-left .advantage-list {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 30px;
  }
  .reviews-widget {
    height: 520px;
    min-height: 520px;
  }
}
@media (max-width: 360px) {
  .advantages .container {
    width: max(300px, calc(100% - 16px));
    max-width: 100%;
  }
}
.advantages-toggle[hidden],
.about-left .advantage-list[hidden] {
  display: none;
}
@media (max-width: 800px) {
  .advantages-disclosure {
    margin-top: 28px;
    border: 1px solid #ded4e8;
    border-radius: 12px;
    overflow: hidden;
    background: #fcfbfe;
  }
  .advantages-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    width: 100%;
    padding: 20px;
    border: 0;
    background: transparent;
    color: var(--ink);
    font: inherit;
    font-size: 17px;
    font-weight: 800;
    text-align: left;
    cursor: pointer;
  }
  .advantages-toggle svg {
    width: 28px;
    height: 28px;
    flex: 0 0 28px;
    padding: 5px;
    background: var(--purple);
    border-radius: 50%;
    fill: none;
    stroke: #fff;
    stroke-width: 1.8;
    stroke-linecap: round;
  }
  .advantages-toggle[aria-expanded="true"] svg path:last-child {
    display: none;
  }
  .advantages-toggle:focus-visible {
    outline: 3px solid var(--accent);
    outline-offset: -4px;
  }
  .about-left .advantages-disclosure .advantage-list {
    grid-template-columns: 1fr;
    margin: 0;
    padding: 0 20px 22px;
    gap: 20px;
  }
}
/* Сотрудничество и скачивание реквизитов */
.business-section {
  padding: 15px 0 0;
}
.business-panel {
  color: var(--white);
  display: grid;
  align-items: center;
  overflow: hidden;
}
.business-panel .eyebrow {
  font-size: 10px;
  letter-spacing: 1px;
}
.business-panel h2 {
  font-size: 46px;
  line-height: 1.13;
  letter-spacing: -1.7px;
  margin: 0 0 24px;
}
.business-copy > p {
  color: #eee5f7;
  line-height: 1.85;
  margin: 0;
}
.business-benefits {
  display: grid;
  gap: 12px 20px;
  margin-top: 25px;
}
.business-benefits span {
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 7px;
}
.business-benefits .icon {
  width: 15px;
  height: 15px;
  stroke-width: 2;
}
.business-actions {
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}
.business-document {
  background: #fcfbfe;
  position: relative;
  color: var(--dark);
}
.paper-corner {
  position: absolute;
  right: 0;
  top: 0;
  border-top: 30px solid var(--purple);
  border-left: 30px solid #dbcee5;
}
.document-icon {
  width: 44px;
  height: 44px;
  margin-bottom: 35px;
  stroke-width: 1.2;
  color: #aaaca8;
}
.business-document h3 {
  letter-spacing: -0.8px;
  margin-top: 10px;
}
@media (max-width: 1100px) {
  .business-panel h2 {
    font-size: 39px;
  }
}
@media (max-width: 800px) {
  .business-panel .eyebrow {
    font-size: 9px;
    line-height: 1.8;
  }
}
@media (max-width: 540px) {
  .business-section {
    padding-top: 0;
  }
  .business-panel .eyebrow {
    font-size: 10px;
    letter-spacing: 0.6px;
  }
  .business-benefits {
    gap: 13px;
  }
  .business-actions .button {
    width: 100%;
  }
  .business-document {
    margin: 35px 5px 10px;
  }
  .document-icon {
    margin-bottom: 25px;
  }
}
.business-copy > p {
  font-size: 14px;
}
@media (max-width: 360px) {
  .business-actions .button {
    gap: 5px;
  }
  .business-document {
    margin-inline: 0;
  }
}
.business-copy > .business-tenders {
  font-size: 14px;
  line-height: 1.8;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid #ffffff30;
}
@media (max-width: 540px) {
  .business-copy > .business-tenders {
    font-size: 14px;
  }
}
.business-benefits .icon {
  color: var(--accent);
}
.business-actions .button-dark {
  background: var(--accent);
  color: #202d39;
}
.business-actions .button-dark:hover {
  background: #58dce1;
}
.business-panel {
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.85fr);
  gap: 48px;
  padding: 48px;
  border-radius: 16px;
  background: linear-gradient(120deg, #634583, #4c345f);
}
.business-document {
  transform: none;
  border-radius: 12px;
  padding: 32px;
  box-shadow: 0 16px 40px #22132d20;
}
.business-document .document-icon {
  margin-bottom: 22px;
}
.business-document h3 {
  font-size: 26px;
  line-height: 1.25;
  margin: 0 0 28px;
}
.business-copy,
.business-document {
  min-width: 0;
}
.business-benefits {
  grid-template-columns: 1fr 1fr;
}
.business-benefits span {
  font-size: 13px;
}
.business-document .button {
  min-height: 52px;
  font-size: 13px;
  padding: 14px 16px;
  gap: 10px;
}
.business-aside {
  min-width: 0;
}
.business-aside .business-actions {
  margin-top: 16px;
}
.business-aside .business-actions .button {
  width: 100%;
  justify-content: center;
  text-align: center;
}
.business-contact-note {
  margin: 14px 0 0;
  color: #eee7f3;
  font-size: 13px;
  line-height: 1.65;
  text-align: center;
}
.business-contact-note a {
  display: block;
  width: fit-content;
  max-width: 100%;
  margin: 0 auto 4px;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 4px;
  overflow-wrap: anywhere;
}
.business-actions {
  gap: 18px;
}
.business-actions .button {
  font-size: 13px;
}
@media (max-width: 1100px) {
  .business-panel {
    padding: 36px;
    gap: 30px;
  }
  .business-benefits {
    grid-template-columns: 1fr;
  }
  .business-document {
    padding: 26px;
  }
}
@media (max-width: 1000px) {
  .business-panel {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  }
}
@media (max-width: 800px) {
  .business-panel {
    padding: 32px;
  }
  .business-panel h2 {
    font-size: 34px;
  }
  .business-document h3 {
    font-size: 23px;
  }
  .business-benefits span {
    font-size: 13px;
  }
}
@media (max-width: 620px) {
  .business-panel {
    grid-template-columns: minmax(0, 1fr);
  }
  .business-document {
    max-width: none;
    margin: 0;
  }
  .business-benefits {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 540px) {
  .business-panel {
    display: grid;
    padding: 28px 24px;
    gap: 28px;
  }
  .business-panel h2 {
    font-size: 36px;
  }
  .business-document {
    padding: 26px;
    transform: none;
  }
  .business-document .button {
    font-size: 13px;
  }
  .business-benefits {
    grid-template-columns: 1fr;
  }
  .business-benefits span {
    font-size: 14px;
  }
  .business-actions .button {
    font-size: 13px;
  }
}
@media (max-width: 360px) {
  .business-panel h2 {
    font-size: 32px;
  }
  .business-actions .button {
    padding-inline: 12px;
  }
}
@media (max-width: 800px) {
  .business-panel {
    grid-template-columns: minmax(0, 1fr);
  }
  .business-document {
    padding: 0;
    margin: 0;
    background: none;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    transform: none;
  }
  .business-document > .paper-corner {
    display: none;
  }
  .business-document > .document-icon {
    display: none;
  }
  .business-document > h3 {
    display: none;
  }
  .business-document .button {
    width: 100%;
    min-height: 56px;
    padding: 14px 16px;
    font-size: 13px;
    line-height: 1.4;
    justify-content: center;
    white-space: nowrap;
  }
  .business-aside .business-actions .button {
    width: 100%;
    min-height: 56px;
    padding: 14px 16px;
    font-size: 13px;
    line-height: 1.4;
    justify-content: center;
    white-space: nowrap;
  }
  .business-document .button > span {
    display: none;
  }
  .business-aside .business-actions {
    margin-top: 12px;
  }
}
/* Адрес, фотография, метро и карта */
.contacts-section {
  padding: 80px 0;
}
.contacts-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 45px;
}
.contacts-heading h2 {
  letter-spacing: -1.5px;
  line-height: 1.2;
  margin: 0;
}
.contacts-grid {
  display: grid;
  gap: 20px;
}
.contact-card {
  background: #433252;
  border: 1px solid #705a80;
}
.contact-card h3 {
  font-size: 23px;
  letter-spacing: -0.6px;
  margin: 12px 0 0;
}
.contact-city {
  margin: 5px 0 0;
}
.map-container {
  position: relative;
  overflow: hidden;
  background: #e6e9e2;
}
.map-frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  z-index: 1;
}
.map-fallback {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  gap: 10px;
}
.map-grid {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(35deg, transparent 40%, #fff 40%, #fff 42%, transparent 42%),
    linear-gradient(-25deg, transparent 38%, #d4dace 38%, #d4dace 50%, transparent 50%);
  opacity: 0.6;
}
.map-fallback > *:not(.map-grid) {
  z-index: 1;
}
.map-pin {
  background: var(--accent);
  border-radius: 50%;
  padding: 15px;
}
.map-pin .icon {
  width: 30px;
  height: 30px;
}
.map-fallback strong {
  font-size: 22px;
}
.map-fallback span,
.map-fallback a {
  font-size: 14px;
}
.map-fallback a {
  text-decoration: underline;
}
@media (max-width: 800px) {
  .contacts-section {
    padding: 60px 0;
  }
  .contact-card h3 {
    font-size: 25px;
  }
}
@media (max-width: 540px) {
  .contacts-heading {
    align-items: flex-start;
    gap: 15px;
  }
  .contacts-heading h2 {
    letter-spacing: -1px;
  }
  .contacts-heading .eyebrow {
    font-size: 10px;
  }
}
.contact-city {
  font-size: 14px;
}
@media (max-width: 360px) {
  .contact-card h3 {
    font-size: 20px;
  }
}
.contacts-grid {
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: stretch;
}
.contact-card {
  padding: 32px;
  border-radius: 12px;
}
.map-container {
  border-radius: 12px;
  min-height: 480px;
}
.contact-city {
  color: #d3c8dc;
}
.contacts-heading h2 {
  font-size: clamp(29px, 3.3vw, 44px);
}
@media (max-width: 1100px) {
  .contact-card {
    padding: 26px;
  }
}
@media (max-width: 800px) {
  .contacts-grid {
    grid-template-columns: 1fr;
  }
  .contact-card {
    padding: 28px;
  }
  .map-container {
    min-height: 360px;
  }
}
@media (max-width: 540px) {
  .contact-card {
    padding: 24px;
  }
  .contact-card h3 {
    font-size: 22px;
  }
  .contacts-heading {
    margin-bottom: 28px;
  }
  .contacts-heading h2 {
    font-size: 29px;
  }
}
.contacts-section {
  background: #f6f4f8;
  color: var(--ink);
  border-top: 1px solid #e5deeb;
}
.contacts-heading .eyebrow {
  color: var(--purple);
}
.contacts-section .contact-city {
  color: var(--muted);
}
.contacts-section .contact-card {
  background: #fff;
  border-color: #e1d9e9;
}
.contacts-section .map-container {
  border: 1px solid #e1d9e9;
  background: #eeeaf2;
}
.map-panel {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
}
.map-panel .map-container {
  flex: 1;
}
@media (max-width: 540px) {
  .map-panel .map-container {
    min-height: 420px;
  }
}
.contacts-section .contact-card {
  display: flex;
  flex-direction: column;
  padding: 32px;
}
.contact-storefront {
  width: calc(100% + 64px);
  max-width: none;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: center 60%;
  margin: -32px -32px 28px;
  border-radius: 11px 11px 0 0;
}
.contacts-section .contact-card h3 {
  font-size: 28px;
  line-height: 1.3;
  margin-top: 0;
}
.contacts-section .contact-city {
  margin-top: 6px;
}
.metro-access {
  display: grid;
  gap: 16px;
  margin: 28px 0;
}
.metro-access-row {
  display: flex;
  align-items: center;
  gap: 12px;
}
.metro-access-row > div {
  flex: 1;
  min-width: 0;
}
.metro-access-row strong {
  display: block;
  font-size: 15px;
  line-height: 1.4;
}
.metro-access-row > div > span {
  display: block;
  font-size: 12px;
  color: var(--muted);
  margin-top: 2px;
}
.metro-symbol {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  border-radius: 50%;
  font-size: 16px;
  font-weight: 800;
}
.metro-symbol-purple {
  background: #f0e8f8;
  color: #8654b5;
}
.metro-symbol-red {
  background: #fcebed;
  color: #cb3d50;
}
.metro-time {
  font-size: 13px;
  font-weight: 800;
  color: var(--purple);
  background: #f2edf6;
  padding: 6px 10px;
  border-radius: 7px;
  white-space: nowrap;
}
@media (max-width: 540px) {
  .contacts-section .contact-card {
    padding: 24px;
  }
  .contacts-section .contact-card h3 {
    font-size: 23px;
  }
  .metro-access-row {
    gap: 10px;
  }
  .metro-access-row strong {
    font-size: 14px;
  }
  .metro-time {
    padding: 5px 8px;
    font-size: 12px;
  }
}
@media (max-width: 540px) {
  .contact-storefront {
    width: calc(100% + 48px);
    margin: -24px -24px 24px;
  }
}
/* Подвал и закреплённые мобильные действия */
.footer {
  background: #291c35;
  font-size: 12px;
}
.footer {
  padding: 38px 0 24px;
}
.footer-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding-bottom: 30px;
}
.back-top {
  display: flex;
  align-items: center;
  gap: 20px;
  color: #c4cbd0;
  font-size: 12px;
}
.back-top span {
  font-size: 20px;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-top: 22px;
  border-top: 1px solid #514060;
  color: #c0b4ca;
  font-size: 10px;
}
.footer-bottom a:hover {
  color: white;
}
.mobile-contact-bar {
  display: none;
}
@media (max-width: 800px) {
  .footer-bottom {
    flex-wrap: wrap;
    gap: 12px;
  }
}
@media (max-width: 540px) {
  .footer-main {
    align-items: center;
  }
  .back-top {
    font-size: 11px;
    gap: 12px;
  }
  .footer-bottom {
    display: flex;
    flex-direction: column;
    font-size: 10px;
    gap: 9px;
  }
  .mobile-contact-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #352443f5;
    border-top: 1px solid #705a80;
    z-index: 25;
    backdrop-filter: blur(15px);
  }
  .mobile-contact-bar .button-primary {
    flex: 1;
  }
}
@media (max-width: 360px) {
  .mobile-contact-bar {
    padding-inline: 16px;
  }
}
.footer {
  color: #d3c8dc;
}
.footer-main img {
  height: auto;
}
.footer-main {
  flex-wrap: wrap;
}
.footer-main img {
  width: 240px;
}
@media (max-width: 540px) {
  .mobile-contact-bar {
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    gap: 10px;
  }
  .mobile-contact-bar > .button {
    font-size: 12px;
    min-height: 48px;
    padding: 12px 8px;
    gap: 6px;
    white-space: nowrap;
  }
  .mobile-contact-bar .button-icon {
    width: 20px;
    height: 20px;
    flex-basis: 20px;
  }
  .mobile-contact-bar .button-primary {
    font-size: 13px;
  }
  .footer {
    padding-bottom: 110px;
  }
  .footer-main img {
    width: 200px;
  }
  .footer-main {
    gap: 18px;
  }
  .back-top {
    max-width: 90px;
  }
  .footer-bottom {
    align-items: flex-start;
  }
}
@media (max-width: 800px) {
  .footer > .container {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    column-gap: 16px;
    row-gap: 8px;
    align-items: center;
  }
  .footer-main {
    display: contents;
  }
  .footer-bottom {
    display: contents;
  }
  .footer-main > a:first-child {
    display: none;
  }
  .footer-bottom > a {
    display: none;
  }
  .footer .back-top {
    grid-column: 2;
    grid-row: 1 / 3;
    max-width: 92px;
    gap: 10px;
    font-size: 11px;
    line-height: 1.5;
  }
  .footer-bottom > span {
    grid-column: 1;
    font-size: 10px;
    line-height: 1.7;
    color: #c0b4ca;
  }
  .footer-bottom > span:first-child {
    grid-row: 1;
  }
  .footer-bottom > span:nth-child(2) {
    grid-row: 2;
  }
}

/* Согласие на аналитику и информация о конфиденциальности */
.footer-privacy {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 24px;
  padding-top: 20px;
  font-size: 12px;
  color: #d3c8dc;
}
.analytics-settings {
  border: 0;
  padding: 0;
  background: none;
  color: inherit;
  font: inherit;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.analytics-settings[hidden],
.analytics-banner[hidden] {
  display: none;
}
.footer-privacy a:hover,
.analytics-settings:hover {
  color: var(--accent);
}
.analytics-banner {
  position: fixed;
  z-index: 90;
  left: 50%;
  bottom: calc(20px + env(safe-area-inset-bottom));
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 24px;
  width: min(880px, calc(100% - 40px));
  max-height: calc(100dvh - 40px);
  overflow-y: auto;
  padding: 22px 24px;
  border: 1px solid #80678f;
  border-radius: 16px;
  background: var(--dark);
  color: var(--white);
  box-shadow: 0 12px 48px #24172c40;
}
.analytics-banner-copy {
  min-width: 0;
}
.analytics-banner h2 {
  margin: 0 0 6px;
  font-size: 18px;
  line-height: 1.3;
  letter-spacing: 0;
}
.analytics-banner p {
  margin: 0;
  color: #ded5e7;
  font-size: 13px;
  line-height: 1.6;
}
.analytics-banner p a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.analytics-banner-actions {
  display: flex;
  flex-shrink: 0;
  gap: 10px;
}
.analytics-banner-actions .button {
  min-height: 48px;
  padding: 12px 16px;
  font-size: 13px;
  white-space: nowrap;
}
.analytics-reject {
  background: transparent;
  border-color: #a594b3;
  color: var(--white);
}
.analytics-reject:hover {
  background: #ffffff12;
}
.analytics-banner :focus-visible {
  outline-color: var(--accent);
  outline-offset: 3px;
}
.privacy-content {
  max-width: 840px;
  padding-block: 52px 64px;
}
.privacy-content h1 {
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.2;
  letter-spacing: -1px;
  overflow-wrap: anywhere;
  margin: 20px 0 24px;
}
.privacy-content h2 {
  margin: 32px 0 10px;
  font-size: 22px;
  line-height: 1.35;
  letter-spacing: -0.4px;
}
.privacy-content p {
  color: var(--muted);
  margin: 0 0 16px;
}
.privacy-content a,
.privacy-content .analytics-settings {
  color: #087780;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.privacy-footer {
  padding: 24px 0;
  background: var(--dark);
  color: var(--white);
  font-size: 13px;
}
@media (max-width: 700px) {
  .analytics-banner {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    padding: 20px;
  }
  .analytics-banner-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 540px) {
  .analytics-banner {
    width: calc(100% - 24px);
    bottom: calc(12px + env(safe-area-inset-bottom));
    max-height: calc(100dvh - 24px - env(safe-area-inset-bottom));
    padding: 18px 16px;
  }
  .analytics-banner-actions .button {
    padding-inline: 8px;
    font-size: 12px;
  }
  .analytics-prompt-open .mobile-contact-bar {
    display: none;
  }
  .footer-privacy {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }
}
