/* Понтонный пляж — landing ponton (Figma ponton-lg 6934:9267, node 840) */

:root {
  --bg: #51719A;
  --bg-card: #5679A3;
  --bg-footer: #45658B;
  --accent: #5679A3;
  --white: #fff;
  --muted: rgba(255, 255, 255, 0.55);
  --container: 1146px;
  --pad: 48px;
  --gap-section: 96px;
  --f-head: 'Kudryashev Headline', serif;
  --f-merit: 'Kudryashev Headline', serif;
  --f-body: 'Cera Pro', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body.page-node-840 {
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.5;
  color: var(--white);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

.ponton img { display: block; max-width: 100%; height: auto; }
.ponton a { color: inherit; text-decoration: none; }
.ponton button { font: inherit; cursor: pointer; border: none; background: none; }

.ponton .cl {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--pad);
}
@media (max-width: 1023px) {
  .ponton .cl { padding-inline: 24px; }
}

.ponton .t-white { color: var(--white); }
.ponton .t-accent { color: var(--accent); }
.ponton .t-merit { font-family: var(--f-merit); font-weight: 400; }
.ponton .t-dark { color: var(--bg-footer); }

.ponton.landing {
  display: flex;
  flex-direction: column;
  gap: var(--gap-section);
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
  /* padding-bottom: var(--gap-section); */
}

.ponton .section__inner {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.ponton .h2 {
  font-family: var(--f-head);
  font-size: clamp(28px, 3.8vw, 48px);
  line-height: 1.05;
  letter-spacing: -0.015em;
}
.ponton .h2--center { text-align: center; }

/* Кнопки */
.ponton .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 16px 43px;
  border-radius: 54px;
  font-size: 16px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: -0.015em;
  border: 1px solid transparent;
  transition: 0.2s;
  white-space: nowrap;
}
.ponton .btn--white {
  background: var(--white);
  color: var(--bg-footer);
  margin-top: 0;
}
.ponton .btn--white:hover {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}
.ponton .btn-arrow { font-size: 1.1em; }

/* Dots / arrows */
.ponton .dots { display: flex; gap: 16px; align-items: center; }
.ponton .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  padding: 0;
}
.ponton .dot.is-active {
  background: var(--white);
  transform: scale(1.15);
}
.ponton .slider-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
}
.ponton .slider-arrow {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: var(--white);
  font-size: 28px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ponton .slider-arrow:hover { background: rgba(255, 255, 255, 0.1); }

/* Pills */
.ponton-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  border-radius: 32px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  color: var(--white);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: 0.2s;
}
.ponton-pill:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}
.ponton-pill.is-active {
  background: var(--white);
  color: var(--bg-footer);
  border-color: var(--white);
}

/* ═══ HERO — Figma Frame 1281 (6934:5328) ═══ */
.ponton-hero {
  position: relative;
  overflow: hidden;
  margin-bottom: 0;
}
.ponton-hero__bg {
  position: relative;
  width: 100%;
  max-height: 686px;
  overflow: hidden;
}
.ponton-hero__bg::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  /* Figma fill «дом на главную 1» (6934:5329) */
  background-image:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0) 100%),
    linear-gradient(
      0deg,
      rgba(50, 50, 50, 0) 79%,
      rgba(50, 50, 50, 0.5) 87%,
      rgba(50, 50, 50, 0.7) 91%,
      rgba(50, 50, 50, 0.85) 94%,
      rgba(50, 50, 50, 0.93) 97%,
      #323232 100%
    );
}
.ponton-hero__bg::after {
  content: '';
  position: absolute;
  inset: auto 0 0;
  height: 57%;
  background: linear-gradient(
    180deg,
    rgba(81, 113, 154, 0) 43%,
    rgba(81, 113, 154, 0.5) 64%,
    rgba(81, 113, 154, 0.7) 75%,
    rgba(81, 113, 154, 0.85) 84%,
    rgba(81, 113, 154, 0.93) 92%,
    #51719A 100%
  );
  pointer-events: none;
}
.ponton-hero__bg img {
  width: 100%;
  height: clamp(280px, 42vw, 686px);
  object-fit: cover;
  object-position: center top;
}
.ponton-hero__content {
  position: relative;
  margin-top: -160px;
  z-index: 2;
  padding-bottom: 48px;
}
.ponton-hero__main {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 32px;
}
.ponton-hero__stats {
  flex: 0 0 425px;
  max-width: 425px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.ponton-hero__copy {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.ponton-hero__title {
  font-family: var(--f-merit);
  font-size: clamp(32px, 4.5vw, 60px);
  line-height: 1.05;
  letter-spacing: -0.015em;
}
.ponton-hero__lead {
  font-size: 20px;
  line-height: 1.5;
  color: var(--white);
  max-width: none;
}
.ponton-hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 32px;
}
.ponton-hero__actions .btn {
  line-height: 32px;
}
.ponton-hero__link {
  font-size: 16px;
  font-weight: 400;
  line-height: 32px;
  text-transform: uppercase;
  letter-spacing: -0.015em;
  text-decoration: underline;
  text-underline-offset: 4px;
  color: var(--white);
  display: inline-flex;
  align-items: center;
}
.ponton-hero__link:hover { color: rgba(255, 255, 255, 0.85); }

.ponton-stat {
  padding: 24px;
  border-radius: 32px;
  background: rgba(255, 255, 255, 0.2);
  display: flex;
  flex-direction: column;
  gap: 24px;
  min-height: 132px;
}
.ponton-stat__v {
  font-family: var(--f-body);
  font-size: 30px;
  font-weight: 500;
  line-height: 32px;
}
.ponton-stat__l {
  font-size: 10px;
  line-height: 14px;
  text-transform: uppercase;
  color: var(--white);
}

/* ═══ ABOUT + BENTO — Figma Frame 1260 (6934:9189, 1146×1073) ═══ */
.ponton-about__inner {
  gap: 60px;
}
.ponton-about__head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 32px;
  text-align: left;
  width: 100%;
}
.ponton-about__title {
  font-family: var(--f-merit);
  font-size: clamp(28px, 3.5vw, 40px);
  line-height: 1.375;
  text-align: left;
  max-width: 100%;
}
.ponton-about__text {
  font-size: 16px;
  line-height: 24px;
  color: var(--white);
  max-width: 100%;
}

.ponton-bento {
  --bento-gap: 26px;
  position: relative;
  width: 100%;
  max-width: 1146px;
  aspect-ratio: 1146 / 1073;
  min-height: 680px;
}
.ponton-bento__photo,
.ponton-bento__card {
  position: absolute;
  border-radius: 32px;
  box-sizing: border-box;
}
.ponton-bento__photo {
  overflow: hidden;
}
.ponton-bento__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ponton-bento__card--comfort {
  left: 0;
  top: 0;
  width: calc(38.48% - var(--bento-gap) * 0.5);
  height: calc(34.26% - var(--bento-gap) * 0.5);
}
.ponton-bento__photo--1 {
  left: calc(38.48% + var(--bento-gap) * 0.5);
  top: 0;
  width: calc(61.52% - var(--bento-gap) * 0.5);
  height: calc(34.26% - var(--bento-gap) * 0.5);
}
.ponton-bento__photo--cafe {
  left: 0;
  top: calc(34.26% + var(--bento-gap) * 0.5);
  width: calc(51.31% - var(--bento-gap) * 0.5);
  height: calc(34.26% - var(--bento-gap) * 0.5);
}
.ponton-bento__card--cafe {
  left: calc(51.31% + var(--bento-gap) * 0.5);
  top: calc(34.26% + var(--bento-gap) * 0.5);
  width: calc(48.69% - var(--bento-gap) * 0.5);
  height: calc(34.26% - var(--bento-gap) * 0.5);
}
.ponton-bento__card--activity {
  left: 0;
  top: calc(68.52% + var(--bento-gap) * 0.5);
  width: calc(38.48% - var(--bento-gap) * 0.5);
  height: calc(31.48% - var(--bento-gap) * 0.5);
}
.ponton-bento__photo--3 {
  left: calc(38.48% + var(--bento-gap) * 0.5);
  top: calc(68.52% + var(--bento-gap) * 0.5);
  width: calc(61.52% - var(--bento-gap) * 0.5);
  height: calc(31.48% - var(--bento-gap) * 0.5);
}

.ponton-bento__card {
  padding: 32px 48px;
  background: rgba(90, 120, 159, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.35);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 25px;
  overflow: hidden;
}
.ponton-bento__card-title {
  font-family: var(--f-merit);
  font-size: clamp(22px, 2.4vw, 32px);
  line-height: 1.15;
  margin: 0;
}
.ponton-bento__card p {
  margin: 0;
  font-size: 16px;
  line-height: 24px;
  color: var(--white);
}
.ponton-bento__card--cafe,
.ponton-bento__card--cafe .ponton-bento__card-title,
.ponton-bento__card--cafe p {
  color: var(--white);
}

/* ═══ SCHEME — infra carousel (Figma 6934:9288) ═══ */
.ponton-scheme.infra {
  display: flex;
  flex-direction: column;
  gap: 48px;
}
.ponton-scheme .infra__head { gap: 48px; }
.ponton-scheme .infra__pills-wrap {
  width: 100%;
  max-width: 1146px;
  margin-inline: auto;
}
.ponton-scheme .infra__pills {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: center;
  gap: 8px;
}
.ponton-scheme .infra-pill {
  flex-shrink: 0;
  padding: 16px 48px;
  border-radius: 99px;
  font-size: 18px;
  font-weight: 500;
  line-height: 30px;
  letter-spacing: -0.015em;
  text-transform: uppercase;
  white-space: nowrap;
  background: var(--bg-card);
  color: rgba(255, 255, 255, 0.5);
  transition: background 0.2s, color 0.2s;
}
.ponton-scheme .infra-pill.is-active,
.ponton-scheme .infra-pill:hover {
  background: var(--white);
  color: var(--bg-footer);
}

.ponton-scheme .infra-carousel {
  position: relative;
  width: 100%;
  overflow: hidden;
  touch-action: pan-y;
  cursor: grab;
  user-select: none;
}
.ponton-scheme .infra-carousel.is-dragging { cursor: grabbing; }
.ponton-scheme .infra-carousel__stage {
  position: relative;
  width: 100%;
  max-width: 2382px;
  height: clamp(360px, 27.7vw, 532px);
  margin-inline: auto;
}
.ponton-scheme .infra-carousel__item {
  position: absolute;
  margin: 0;
  border-radius: 8px;
  overflow: hidden;
  transition:
    left 0.55s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    width 0.55s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    height 0.55s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    top 0.55s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    opacity 0.45s,
    z-index 0s 0.05s;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.ponton-scheme .infra-carousel__item::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.45s;
}
.ponton-scheme .infra-carousel__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.ponton-scheme .infra-carousel__item[data-offset='-1'] {
  left: 0;
  width: 25%;
  height: 86.47%;
  top: 6.77%;
  z-index: 2;
  opacity: 1;
  visibility: visible;
}
.ponton-scheme .infra-carousel__item[data-offset='-1']::after {
  opacity: 1;
  background: linear-gradient(to left, rgba(81, 113, 154, 1) 0%, rgba(81, 113, 154, 0) 76%);
}
.ponton-scheme .infra-carousel__item[data-offset='0'] {
  left: 25%;
  width: 50%;
  height: 100%;
  top: 0;
  z-index: 5;
  opacity: 1;
  visibility: visible;
}
.ponton-scheme .infra-carousel__item[data-offset='1'] {
  left: 75%;
  width: 25%;
  height: 86.47%;
  top: 6.77%;
  z-index: 2;
  opacity: 1;
  visibility: visible;
}
.ponton-scheme .infra-carousel__item[data-offset='1']::after {
  opacity: 1;
  background: linear-gradient(to right, rgba(81, 113, 154, 1) 0%, rgba(81, 113, 154, 0) 76%);
}
.ponton-scheme .infra-carousel__item[data-offset='-1'],
.ponton-scheme .infra-carousel__item[data-offset='1'] {
  filter: brightness(0.85);
}
.ponton-scheme .infra-carousel__item[data-offset='-1'] img,
.ponton-scheme .infra-carousel__item[data-offset='1'] img {
  opacity: 0.5;
}

/* ═══ LIFESTYLE mosaic — Figma 6934:9355 (1147×1037) ═══ */
.ponton-lifestyle__cl {
  padding-inline: 0;
  max-width: 1147px;
}
.ponton-lifestyle__canvas {
  position: relative;
  width: 100%;
  max-width: 1147px;
  margin-inline: auto;
  aspect-ratio: 1147 / 1037;
  min-height: 520px;
}
.ponton-lifestyle__img {
  position: absolute;
  object-fit: cover;
  border-radius: 8px;
  display: block;
  background: rgba(0, 0, 0, 0.15);
}
.section.ponton-lifestyle.is-visible .ponton-lifestyle__img {
  object-fit: cover;
}
.ponton-lifestyle__img--vip {
  left: 0.09%;
  top: 11.47%;
  width: 34.18%;
  height: 24.40%;
}
.ponton-lifestyle__img--morning {
  left: 42.81%;
  top: 0;
  width: 23.02%;
  height: 31.92%;
}
.ponton-lifestyle__img--evening {
  left: 76.98%;
  top: 18.51%;
  width: 23.02%;
  height: 31.44%;
}
.ponton-lifestyle__img--family {
  left: 59.89%;
  top: 70.97%;
  width: 31.56%;
  height: 24.20%;
}
.ponton-lifestyle__img--route {
  left: 8.54%;
  top: 64.32%;
  width: 22.93%;
  height: 31.24%;
}

.ponton-lifestyle__tag {
  position: absolute;
  margin: 0;
  font-size: clamp(16px, 2.1vw, 24px);
  font-weight: 400;
  line-height: 1.25;
  letter-spacing: -0.015em;
  text-align: center;
  color: var(--white);
  z-index: 2;
}
.ponton-lifestyle__tag--morning { left: 0; top: 37.42%; width: 34.26%; }
.ponton-lifestyle__tag--family { left: 42.72%; top: 33.46%; width: 23.1%; }
.ponton-lifestyle__tag--lounge { left: 76.98%; top: 51.49%; width: 23.02%; }
.ponton-lifestyle__tag--route { left: 8.54%; top: 97.11%; width: 23.02%; }
.ponton-lifestyle__tag--evening { left: 64.17%; top: 96.72%; width: 23.02%; }

.ponton-lifestyle__h2 {
  position: absolute;
  left: 22.75%;
  top: 43.97%;
  width: 55.45%;
  margin: 0;
  font-family: var(--f-merit);
  font-size: clamp(28px, 4.2vw, 48px);
  line-height: 1.1;
  text-align: center;
  z-index: 2;
}
.ponton-lifestyle__cta {
  position: absolute;
  left: 34.61%;
  top: 58.63%;
  z-index: 2;
}

/* ═══ CATALOG ═══ */
.lv2-catalog {
  background: var(--bg);
  color: var(--white);
  padding-block: 80px;
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
}
.lv2-catalog .cl { max-width: 1147px; }
.lv2-catalog__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}
.lv2-catalog__h2 { text-align: left; }
.lv2-catalog__h2 .t-dark { color: var(--white); }
.lv2-catalog .dots--dark .dot { background: rgba(255, 255, 255, 0.25); }
.lv2-catalog .dots--dark .dot.is-active { background: var(--accent); }
.lv2-catalog__houses,
.lv2-catalog__houses .view {
  width: 100%;
  max-width: 100%;
}
.lv2-catalog__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  width: 100%;
}
.lv2-catalog .product-card {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 32px rgba(0, 0, 0, 0.08);
}
.lv2-catalog .product-card > a:first-child,
.lv2-catalog .product-card > img {
  display: block;
  line-height: 0;
}
.lv2-catalog .product-card > a:first-child img,
.lv2-catalog .product-card > img {
  width: 100%;
  height: 260px;
  object-fit: cover;
}
.lv2-catalog .product-card__foot {
  background: var(--white);
  color: #3c3c3b;
  padding: 24px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px 16px;
  align-items: end;
}
.lv2-catalog .product-card h3 { font-size: 16px; font-weight: 500; color: #3c3c3b; }
.lv2-catalog .product-card__meta {
  font-size: 13px;
  text-transform: uppercase;
  color: rgba(60, 60, 59, 0.55);
  margin-top: 4px;
}
.lv2-catalog .product-card__price { grid-column: 1; }
.lv2-catalog .product-card__price strong {
  font-family: var(--f-merit);
  font-size: 30px;
  text-transform: uppercase;
  display: block;
  color: #3c3c3b;
}
.lv2-catalog .product-card__price span { font-size: 16px; color: rgba(60, 60, 59, 0.6); }
.lv2-catalog .product-card__price em { color: var(--accent); font-style: normal; }
.lv2-catalog .product-card__go {
  grid-row: 1 / 3;
  grid-column: 2;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid var(--accent);
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  line-height: 1;
  color: var(--accent);
  text-decoration: none;
}
.lv2-catalog__cta { display: flex; justify-content: center; margin-top: 16px; }

.ponton-catalog__head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  text-align: center;
}
.ponton-catalog__h2 { text-align: center; }
.ponton-catalog__h2 .t-dark { color: var(--white); }
.ponton-catalog__pills { margin-top: 0; }
.ponton-catalog__cta {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}

/* ═══ CTA FORM ═══ */
.ponton-cta { padding-block: 0; }
.ponton-cta__wrap {
  position: relative;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}
.ponton-cta__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.35;
}
.ponton-cta__inner {
  position: relative;
  z-index: 1;
  padding-block: 80px;
}
.ponton-cta__panel {
  max-width: 520px;
  margin-inline: auto;
  padding: 48px 40px;
  border-radius: 12px;
  background: rgba(69, 101, 139, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.ponton-cta__title {
  font-family: var(--f-merit);
  font-size: clamp(28px, 3.5vw, 40px);
  line-height: 1.15;
  text-align: center;
}
.ponton-cta__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-left: 0;
}
.ponton-cta__list li {
  position: relative;
  padding-left: 22px;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.85);
}
.ponton-cta__list li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--white);
}
.ponton-cta__form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.ponton-cta__field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.ponton-cta__field span {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
}
.ponton-cta__field input {
  width: 100%;
  border: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.45);
  background: transparent;
  padding: 8px 0;
  font-size: 16px;
  color: var(--white);
  outline: none;
}
.ponton-cta__field input::placeholder { color: rgba(255, 255, 255, 0.35); }
.ponton-cta__submit { width: 100%; margin-top: 8px; }
.ponton-cta__agree {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 12px;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.65);
  cursor: pointer;
}
.ponton-cta__agree input { margin-top: 3px; flex-shrink: 0; }
.ponton-cta__agree a {
  text-decoration: underline;
  text-underline-offset: 2px;
}
.ponton-cta__agree a:hover { color: var(--white); }

/* ═══ RESPONSIVE ═══ */
@media (max-width: 1100px) {
  .ponton-hero__main {
    flex-direction: column;
  }
  .ponton-hero__stats {
    flex: none;
    max-width: 100%;
    width: 100%;
  }

  .ponton-bento {
    --bento-gap: 16px;
    aspect-ratio: auto;
    min-height: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--bento-gap);
  }
  .ponton-bento__photo,
  .ponton-bento__card {
    position: relative;
    left: auto;
    top: auto;
    width: auto;
    height: auto;
    min-height: 240px;
  }
  .ponton-bento__card--comfort { grid-column: 1; }
  .ponton-bento__photo--1 { grid-column: 2; min-height: 260px; }
  .ponton-bento__photo--cafe { grid-column: 1; }
  .ponton-bento__card--cafe { grid-column: 2; }
  .ponton-bento__card--activity { grid-column: 1; }
  .ponton-bento__photo--3 { grid-column: 2; }

  .ponton-scheme .infra__pills-wrap {
    max-width: 100%;
  }
  .ponton-scheme .infra__pills {
    flex-wrap: wrap;
    justify-content: center;
  }
  .ponton-scheme .infra-pill {
    padding: 12px 24px;
    font-size: 14px;
    line-height: 1.2;
  }
  .ponton-scheme .infra-carousel__item[data-offset='-1'] { width: 28%; left: 0; }
  .ponton-scheme .infra-carousel__item[data-offset='0'] { width: 44%; left: 28%; }
  .ponton-scheme .infra-carousel__item[data-offset='1'] { width: 28%; left: 72%; }
}

@media (max-width: 768px) {
  :root {
    --gap-section: 64px;
    --pad: 24px;
  }

  .ponton-hero__content { margin-top: -80px; }
  .ponton-hero__stats {
    width: 100%;
    max-width: none;
    grid-template-columns: 1fr;
  }

  .ponton-bento {
    display: flex;
    flex-direction: column;
    gap: var(--bento-gap, 16px);
  }
  .ponton-bento__photo,
  .ponton-bento__card {
    position: relative;
    left: auto;
    top: auto;
    width: 100%;
    height: auto;
    min-height: 240px;
  }
  .ponton-bento__card {
    min-height: 200px;
  }
  .ponton-bento__photo img {
    min-height: 220px;
    aspect-ratio: 16 / 10;
    height: auto;
  }

  .ponton-scheme .infra__pills-wrap {
    position: relative;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
  }
  .ponton-scheme .infra__pills-wrap::before,
  .ponton-scheme .infra__pills-wrap::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 44px;
    z-index: 2;
    pointer-events: none;
  }
  .ponton-scheme .infra__pills-wrap::before {
    left: 0;
    background: linear-gradient(to right, rgba(81, 113, 154, 0.95) 0%, rgba(81, 113, 154, 0) 100%);
  }
  .ponton-scheme .infra__pills-wrap::after {
    right: 0;
    background: linear-gradient(to left, rgba(81, 113, 154, 0.95) 0%, rgba(81, 113, 154, 0) 100%);
  }
  .ponton-scheme .infra__pills {
    justify-content: flex-start;
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    max-width: none;
    padding: 0 16px 4px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  .ponton-scheme .infra__pills::-webkit-scrollbar { display: none; }
  .ponton-scheme .infra-pill {
    padding: 12px 24px;
    font-size: 14px;
    line-height: 1.2;
  }
  .ponton-scheme .infra-carousel.infra-carousel--mobile-scroll {
    overflow: hidden;
    cursor: default;
  }
  .ponton-scheme .infra-carousel.infra-carousel--mobile-scroll::before,
  .ponton-scheme .infra-carousel.infra-carousel--mobile-scroll::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 44px;
    z-index: 2;
    pointer-events: none;
  }
  .ponton-scheme .infra-carousel.infra-carousel--mobile-scroll::before {
    left: 0;
    background: linear-gradient(to right, rgba(81, 113, 154, 0.95) 0%, rgba(81, 113, 154, 0) 100%);
  }
  .ponton-scheme .infra-carousel.infra-carousel--mobile-scroll::after {
    right: 0;
    background: linear-gradient(to left, rgba(81, 113, 154, 0.95) 0%, rgba(81, 113, 154, 0) 100%);
  }
  .ponton-scheme .infra-carousel.infra-carousel--mobile-scroll .infra-carousel__stage {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    height: auto;
    min-height: 280px;
    padding: 0 16px 4px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  .ponton-scheme .infra-carousel.infra-carousel--mobile-scroll .infra-carousel__stage::-webkit-scrollbar {
    display: none;
  }
  .ponton-scheme .infra-carousel.infra-carousel--mobile-scroll .infra-carousel__item {
    position: relative;
    left: auto !important;
    top: auto !important;
    width: min(85vw, 320px) !important;
    height: auto !important;
    min-height: 240px;
    flex: 0 0 min(85vw, 320px);
    margin: 0;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    filter: none;
    transition: none;
    scroll-snap-align: center;
    z-index: 1;
  }
  .ponton-scheme .infra-carousel.infra-carousel--mobile-scroll .infra-carousel__item::after {
    display: none;
  }
  .ponton-scheme .infra-carousel.infra-carousel--mobile-scroll .infra-carousel__item img {
    opacity: 1;
    border-radius: 8px;
    aspect-ratio: 16 / 10;
    height: auto;
  }

  .ponton-lifestyle__canvas {
    aspect-ratio: auto;
    min-height: 0;
    height: auto;
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding-bottom: 8px;
  }
  .ponton-lifestyle__img,
  .ponton-lifestyle__tag,
  .ponton-lifestyle__h2,
  .ponton-lifestyle__cta {
    position: relative;
    left: auto;
    top: auto;
    width: 100%;
    height: auto;
    max-width: none;
  }
  .ponton-lifestyle__img {
    aspect-ratio: 16 / 10;
    min-height: 200px;
  }
  .ponton-lifestyle__tag {
    margin-top: -8px;
    font-size: 18px;
  }
  .ponton-lifestyle__h2 { order: 0; margin-bottom: 8px; }
  .ponton-lifestyle__img--vip { order: 1; }
  .ponton-lifestyle__tag--morning { order: 2; }
  .ponton-lifestyle__img--morning { order: 3; }
  .ponton-lifestyle__tag--family { order: 4; }
  .ponton-lifestyle__img--evening { order: 5; }
  .ponton-lifestyle__tag--lounge { order: 6; }
  .ponton-lifestyle__img--family { order: 7; }
  .ponton-lifestyle__tag--evening { order: 8; }
  .ponton-lifestyle__img--route { order: 9; }
  .ponton-lifestyle__tag--route { order: 10; }
  .ponton-lifestyle__cta {
    order: 11;
    align-self: center;
    width: auto;
    max-width: 100%;
    margin-top: 8px;
  }

  .lv2-catalog__grid,
  .lv2-catalog .catalog-items:not(.lv2-catalog__grid) {
    grid-template-columns: 1fr !important;
    gap: 24px;
  }

  .ponton-scheme__pills,
  .ponton-catalog__pills {
    justify-content: flex-start;
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 4px;
    -webkit-overflow-scrolling: touch;
  }

  .ponton-cta__panel {
    padding: 32px 20px;
  }
}
