/* ==========================================================================
   tpl-product.css — Финальный модуль универсальной страницы сеток (v3)
   Калибровка шапки 1280px, защита высоты мега-меню, матрица цен и мобильный UX
   ========================================================================== */

.p-specs-strip > *, .apertures-grid > *, .tasks-grid > *,
.case-spotlight > *, .geo-zones > * {
  min-width: 0;
}

/* ---------- 1. Калибровка шапки 1280px и защита мега-меню на ноутбуках ---------- */
.hdr__inner {
  gap: 12px;
}

.hdr__left {
  gap: 8px;
}

.hdr__logo img {
  height: 30px;
}

.hdr__catalog {
  height: 40px;
  padding: 0 14px;
  font-size: 13.5px;
}

.hdr__search {
  width: 40px;
  height: 40px;
}

.hdr__nav {
  gap: 16px;
}

.hdr__nav a {
  font-size: 14px;
}

.hdr__right {
  gap: 8px;
}

.hdr__phone span {
  font-size: 15px;
}

.hdr__cta {
  height: 40px;
  padding: 0 14px;
  font-size: 13px;
  gap: 7px;
}

.hdr__cta .btn__ico {
  width: 20px;
  height: 20px;
}

.mega {
  max-height: calc(100vh - 108px);
  max-height: calc(100dvh - 108px);
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 22px 28px 18px;
}

.mega__col a {
  padding: 5px 9px;
}

/* ---------- 2. Лаконичные хлебные крошки без обрезки на полуслове ---------- */
.crumbs-bar {
  padding: 14px 0 4px;
}

.crumbs ol {
  flex-wrap: nowrap;
  overflow: hidden;
}

.crumbs li:not([aria-current="page"]) {
  flex-shrink: 0;
}

.crumbs li[aria-current="page"] {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ---------- 3. Разгруженный Первый экран (Hero) с просторным полем телефона ---------- */
.p-hero {
  padding: 12px 0 40px;
}

.p-gal__stage {
  min-height: 430px;
}

.p-gal__thumbs {
  gap: 10px;
}

.p-thumb {
  padding: 4px;
  border-radius: 15px;
  gap: 0;
}

.p-thumb img {
  height: 76px;
  border-radius: 11px;
}

.p-buybox {
  padding: 30px 32px;
  gap: 16px;
}

.p-buybox__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.p-buybox__stock {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--sage-ink);
}

.p-buybox__stock em {
  font-style: normal;
}

.p-buybox__stock i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--emerald);
  box-shadow: 0 0 0 4px rgba(14, 124, 82, 0.14);
  flex-shrink: 0;
}

.p-cfg-chips--2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.p-cfg-chips--2 .p-cfg-chip {
  width: 100%;
  height: 42px;
  justify-content: center;
  padding: 0 12px;
  border-radius: 13px;
}

.p-buybox__offer {
  padding: 22px 24px;
}

.p-buybox__price-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.p-buybox__price-line {
  margin-top: 0;
}

.p-buybox__terms {
  padding: 5px 11px;
  border-radius: 999px;
  background: var(--sage);
  color: var(--sage-ink);
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.p-hero-order {
  display: grid;
  grid-template-columns: minmax(210px, 1fr) auto;
  gap: 10px;
  margin-top: 16px;
}

.p-hero-order__input {
  height: 50px;
  border-radius: 999px;
  padding: 0 18px;
  font-size: 15px;
}

.p-hero-order__btn {
  height: 50px;
  padding: 0 18px;
  font-size: 14px;
}

.p-buybox__subactions {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--line-soft);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.p-buybox__calc-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--emerald);
  transition: color 0.16s var(--ease);
}

.p-buybox__calc-link:hover {
  color: var(--emerald-hover);
  text-decoration: underline;
}

.p-buybox__photo-msgr {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--muted);
}

.msgr-mini {
  height: 28px;
  padding: 0 9px;
  border-radius: 999px;
  border: 1px solid var(--line-soft);
  background: var(--surface);
  color: var(--ink-soft);
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  font-weight: 700;
  transition: transform 0.16s var(--ease), border-color 0.16s var(--ease), background 0.16s var(--ease);
}

.msgr-mini:hover {
  transform: translateY(-1px);
  background: #FFFFFF;
}

.msgr-mini--max {
  color: #4636E3;
  border-color: var(--max-border);
  background: var(--max-bg);
}

.msgr-mini--max svg {
  color: var(--max-color);
}

.msgr-mini--tg {
  color: #0E65B5;
  border-color: #C5E2FA;
  background: #EBF5FE;
}

.msgr-mini--wa {
  color: #0B693D;
  border-color: #C2EED4;
  background: #E9F9F0;
}

.p-specs-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 16px;
}

.p-spec-item {
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: 20px;
  padding: 16px 18px;
  display: flex;
  align-items: center;
  gap: 13px;
}

.p-spec-item b {
  display: block;
  font-size: 15.5px;
  font-weight: 800;
  line-height: 1.2;
  color: var(--ink);
}

/* ---------- 4. Куда устанавливаются (ровная ось заголовков во всех 5 карточках) ---------- */
.apertures-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  align-items: stretch;
}

.aperture-card {
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: 22px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.22s var(--ease), box-shadow 0.22s var(--ease);
}

.aperture-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.aperture-card__media {
  aspect-ratio: 16 / 11;
  overflow: hidden;
  background: #E2E8F0;
}

.aperture-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s var(--ease);
}

.aperture-card:hover .aperture-card__media img {
  transform: scale(1.05);
}

.aperture-card__body {
  padding: 14px 15px 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.aperture-card h3 {
  font-size: 15.5px;
  font-weight: 700;
  line-height: 1.26;
  min-height: 2.52em;
}

/* ---------- 5. Полная высота калькулятора на десктопе ---------- */
.calc__podium iframe {
  min-height: 1350px;
}

.calc-specs-list {
  flex: 1;
  align-content: start;
}

/* ---------- 6. Перекрёстная витрина (единая геометрия всех 9 карточек) ---------- */
.tabs--compact {
  margin-bottom: 0;
}

.p-card__foot--dual {
  flex-direction: column;
  align-items: stretch;
  gap: 11px;
}

.p-card__btns {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 8px;
  width: 100%;
}

.p-card__more {
  height: 38px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #FFFFFF;
  color: var(--muted-2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  transition: all 0.18s var(--ease);
}

.p-card__more:hover {
  border-color: var(--emerald);
  color: var(--emerald);
}

/* ---------- 7. Сводная 2D-матрица цен ---------- */
.matrix-swipe-hint {
  display: none;
}

.matrix-card {
  background: #FFFFFF;
  border: 1px solid var(--line-soft);
  border-radius: var(--r-card);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.matrix-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.matrix-table {
  width: 100%;
  min-width: 860px;
  border-collapse: collapse;
  text-align: left;
  font-variant-numeric: tabular-nums;
}

.matrix-table th,
.matrix-table td {
  padding: 15px 16px;
  border-bottom: 1px solid var(--line-soft);
  vertical-align: middle;
  white-space: nowrap;
}

.matrix-table thead th {
  background: var(--emerald);
  color: #FFFFFF;
  font-size: 13px;
  font-weight: 700;
}

.matrix-table thead th.is-current {
  background: #085A3B;
}

.matrix-table tbody tr:nth-child(even) {
  background: #F8FAFC;
}

.matrix-table tbody tr:hover {
  background: #EFF6F2;
}

.matrix-table td:first-child b {
  display: block;
  font-size: 14.5px;
  font-weight: 700;
  color: var(--ink);
}

.matrix-table td:first-child small {
  display: block;
  font-size: 12px;
  color: var(--muted);
  margin-top: 2px;
}

.matrix-table td.is-current {
  background: rgba(14, 124, 82, 0.08);
  color: var(--sage-ink);
  font-size: 15px;
}

.matrix-foot {
  padding: 18px 22px;
  background: var(--surface);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 13.5px;
  color: var(--muted-2);
}

.matrix-foot b {
  color: var(--ink);
}

/* ---------- 8. Сетка 8 решаемых задач и Тон-подложки на белых секциях ---------- */
.tasks-block {
  margin-top: 32px;
}

.tasks-block__title {
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -0.015em;
  margin-bottom: 16px;
  color: var(--ink);
}

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

.task-item {
  background: #FFFFFF;
  border: 1px solid var(--line-soft);
  border-radius: 18px;
  padding: 16px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  box-shadow: var(--shadow);
}

.task-ico {
  width: 30px;
  height: 30px;
  min-width: 30px;
  border-radius: 50%;
  background: var(--sage);
  color: var(--emerald);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.task-ico svg {
  width: 15px;
  height: 15px;
}

.task-item b {
  display: block;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.25;
}

.seo-panel--tinted {
  background: var(--surface);
  box-shadow: none;
}

.seo-panel--tinted ul {
  background: #FFFFFF;
  border: 1px solid var(--line-soft);
}

.reviews-grid--tinted .review {
  background: var(--surface);
  box-shadow: none;
}

#prodSpecsTabs > .seo-toggle:not(.is-ptab-toggle) {
  display: none !important;
}

/* ---------- 9. Детальный разбор кейса ---------- */
.case-spotlight {
  background: #FFFFFF;
  border: 1px solid var(--line-soft);
  border-radius: 22px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  box-shadow: var(--shadow);
}

.case-spotlight--tinted {
  background: var(--surface);
  box-shadow: none;
}

.case-spotlight__media {
  position: relative;
  min-height: 320px;
  background: #E2E8F0;
}

.case-spotlight__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.case-spotlight__body {
  padding: 28px 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.case-spotlight__body .pill {
  align-self: flex-start;
}

.case-spotlight__body h3 {
  font-size: 21px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.015em;
}

.case-spotlight__points {
  display: grid;
  gap: 12px;
}

.case-spotlight__points > div {
  background: var(--surface);
  border-radius: 16px;
  padding: 13px 16px;
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--muted-2);
}

.case-spotlight--tinted .case-spotlight__points > div {
  background: #FFFFFF;
  border: 1px solid var(--line-soft);
}

.case-spotlight__points b {
  display: block;
  color: var(--ink);
  font-weight: 700;
  margin-bottom: 3px;
}

.case-spotlight__foot {
  margin-top: auto;
  padding-top: 6px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

.case-spotlight__meta {
  font-size: 13.5px;
  color: var(--muted-2);
}

.case-spotlight__meta b {
  color: var(--ink);
}

/* ---------- 10. Белые карточки шагов, 3 зоны географии и Перелинковка ---------- */
.steps--white .step {
  background: #FFFFFF;
  box-shadow: var(--shadow);
}

.steps--white .step__num {
  background: var(--sage);
  border-color: var(--sage-border);
}

.geo-zones {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}

.geo-zone {
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-card);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.geo-zone__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.geo-zone h3 {
  font-size: 18.5px;
  font-weight: 700;
}

.geo-zone ul {
  display: grid;
  gap: 9px;
}

.geo-zone li {
  position: relative;
  padding-left: 16px;
  font-size: 13.5px;
  color: var(--muted-2);
  line-height: 1.45;
}

.geo-zone li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--emerald);
}

.geo-zone li b {
  color: var(--ink);
}

.cluster-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 14px;
}

.cluster-pills a,
.cluster-pills button {
  cursor: pointer;
  font-family: inherit;
  height: 32px;
  padding: 0 13px;
  border-radius: 999px;
  background: #FFFFFF;
  border: 1px solid var(--line-soft);
  display: inline-flex;
  align-items: center;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-soft);
  white-space: nowrap;
  transition: all 0.16s var(--ease);
}

.cluster-pills a:hover,
.cluster-pills button:hover {
  background: var(--emerald);
  border-color: var(--emerald);
  color: #FFFFFF;
}

/* ==========================================================================
   АДАПТИВНОСТЬ МОДУЛЯ (Планшеты и Смартфоны)
   ========================================================================== */
@media (max-width: 1100px) {
  .p-specs-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .apertures-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .tasks-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .case-spotlight,
  .geo-zones {
    grid-template-columns: 1fr;
  }
  .case-spotlight__media {
    min-height: 260px;
  }
}

@media (max-width: 767px) {
  .hide-xs {
    display: none;
  }

  /* Компактный и чистый Hero на смартфоне (статус + рейтинг в одну линию) */
  .p-gal__stage {
    min-height: 244px;
    height: 244px;
  }

  .p-thumb img {
    height: 56px;
    border-radius: 9px;
  }

  .p-buybox {
    padding: 20px 16px;
    gap: 14px;
  }

  .p-buybox__meta {
    flex-wrap: nowrap;
    gap: 6px;
  }

  .p-buybox__stock {
    font-size: 12px;
    gap: 6px;
    white-space: nowrap;
  }

  .p-buybox__rating {
    font-size: 12px;
    padding: 4px 9px;
    white-space: nowrap;
    flex-shrink: 0;
  }

  .p-cfg-chips--2 .p-cfg-chip {
    height: 38px;
    padding: 0 8px;
    font-size: 12px;
  }

  .p-buybox__offer {
    padding: 16px;
  }

  .p-hero-order {
    grid-template-columns: 1fr;
    gap: 8px;
    margin-top: 14px;
  }

  .p-hero-order__input,
  .p-hero-order__btn {
    width: 100%;
    height: 48px;
  }

  .p-buybox__subactions {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .p-specs-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 12px;
  }

  .p-spec-item {
    padding: 13px 12px;
    border-radius: 16px;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .p-spec-item b {
    font-size: 14px;
  }

  .p-spec-item .item-sub {
    font-size: 13px;
  }

  /* Полная высота калькулятора на смартфоне до самой нижней кнопки заказа */
  .calc__podium iframe {
    min-height: 900px;
  }

  /* Переключатель 9 конструкций / 8 полотен и карточки витрины в одну строку цены */
  #crossCatalog .section-head__aside {
    width: 100%;
  }

  .tabs--compact {
    width: 100%;
    margin-right: 0;
    padding-right: 5px;
    border-radius: 999px;
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .tabs--compact .tab {
    justify-content: center;
    padding: 0 10px;
  }

  #xcat-constructions .p-card:nth-child(n+7),
  #xcat-fabrics .fabric:nth-child(n+5) {
    display: none;
  }

  #xcat-constructions.is-expanded .p-card,
  #xcat-fabrics.is-expanded .fabric {
    display: flex;
  }

  .p-card__price {
    flex-wrap: nowrap;
    gap: 5px;
  }

  .p-card__price .now {
    font-size: 15.5px;
    white-space: nowrap;
  }

  .p-card__price s {
    font-size: 13px;
    white-space: nowrap;
  }

  .p-card__foot--dual .p-card__btns {
    grid-template-columns: 1fr;
  }

  .p-card__foot--dual .p-card__more {
    display: none;
  }

  /* Свайп-карусели для проёмов и 3 зон географии */
  .apertures-grid,
  .geo-zones {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 78%;
    grid-template-columns: none;
    gap: 12px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    margin-right: -16px;
    padding-right: 16px;
    padding-bottom: 4px;
  }

  .geo-zones {
    grid-auto-columns: 84%;
  }

  .apertures-grid::-webkit-scrollbar,
  .geo-zones::-webkit-scrollbar {
    display: none;
  }

  .aperture-card,
  .geo-zone {
    scroll-snap-align: start;
  }

  /* 2D-матрица цен: целевая колонка Антикошка видна целиком сразу без свайпа */
  .matrix-swipe-hint {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px 12px;
    margin-bottom: 10px;
    border-radius: 12px;
    background: var(--sage);
    border: 1px solid var(--sage-border);
    color: var(--sage-ink);
    font-size: 12px;
    font-weight: 700;
    text-align: center;
  }

  .matrix-table {
    min-width: 620px;
  }

  .matrix-table th,
  .matrix-table td {
    padding: 11px 9px;
    font-size: 13px;
  }

  .matrix-table thead th {
    font-size: 12px;
  }

  .matrix-table th:first-child,
  .matrix-table td:first-child {
    position: sticky;
    left: 0;
    z-index: 2;
    width: 122px;
    min-width: 122px;
    max-width: 122px;
    white-space: normal;
    padding: 10px 10px;
  }

  .matrix-table td:first-child b {
    font-size: 13px;
    line-height: 1.2;
  }

  .matrix-table td:first-child small {
    font-size: 12px;
    line-height: 1.2;
  }

  .matrix-table td.is-current {
    font-size: 13.5px;
  }

  .matrix-table tbody td:first-child {
    background: #FFFFFF;
    box-shadow: 4px 0 10px rgba(17, 19, 23, 0.05);
  }

  .matrix-table tbody tr:nth-child(even) td:first-child {
    background: #F8FAFC;
  }

  .matrix-foot {
    padding: 16px;
  }

  .matrix-foot .btn {
    width: 100%;
  }

  /* Карточная трансформация таблицы сравнения */
  .cmp-table-wrap {
    border: 0;
    background: transparent;
    overflow: visible;
  }

  .cmp-table,
  .cmp-table tbody {
    display: grid;
    gap: 10px;
  }

  .cmp-table thead {
    display: none;
  }

  .cmp-table tbody tr {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border: 1px solid var(--line-soft);
    border-radius: 16px;
    overflow: hidden;
    background: #FFFFFF;
  }

  .cmp-table td.cmp-param {
    grid-column: 1 / -1;
    background: var(--surface);
    padding: 9px 12px;
    font-size: 12.5px;
    font-weight: 800;
    color: var(--ink);
  }

  .cmp-table td[data-label] {
    padding: 10px 12px;
    border-bottom: 0;
    font-size: 12.5px;
    line-height: 1.35;
  }

  .cmp-table td[data-label]::before {
    content: attr(data-label);
    display: block;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    margin-bottom: 4px;
    opacity: 0.75;
  }

  .tasks-block__title {
    font-size: 18.5px;
    margin-bottom: 12px;
  }

  .tasks-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .task-item {
    padding: 12px;
    flex-direction: column;
    gap: 8px;
  }

  .task-item b {
    font-size: 13px;
  }

  .case-spotlight__media {
    min-height: 210px;
  }

  .case-spotlight__body {
    padding: 18px 16px;
  }

  .case-spotlight__body h3 {
    font-size: 18px;
  }

  .case-spotlight__foot .btn {
    width: 100%;
  }

  .geo-zone {
    padding: 18px 16px;
    border-radius: 20px;
  }

  .p-card__stage--usn img {
    transform: scale(1.18);
  }

  .matrix-card {
    position: relative;
  }

  .matrix-card::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 68px;
    width: 22px;
    pointer-events: none;
    background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(17,19,23,0.06) 100%);
  }
}
/* --- Final CRO & Sticky Calc Polish --- */
.p-hero-trust {
  margin-top: 9px;
  font-size: 12px;
  font-weight: 500;
  color: var(--muted);
}

.aperture-card {
  cursor: pointer;
}

.aperture-card__cta {
  margin-top: auto;
  padding-top: 10px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--emerald);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.aperture-card:hover .aperture-card__cta {
  text-decoration: underline;
}

@media (min-width: 1101px) {
  .calc__layout {
    align-items: start;
  }
  .calc-side {
    height: auto;
    position: sticky;
    top: 96px;
  }
  .calc-side__specs {
    flex: initial;
  }
}

@media (max-width: 767px) {
  .matrix-card::after {
    bottom: 128px;
  }
}