.modal .modal__content.modal__content--presentation {
  max-width: 1080px;
  width: 94vw;
  height: auto;
  min-height: 460px;
  max-height: calc(100dvh - 32px);
  padding: 0;
  overflow: hidden;
  border-radius: 0;
  background-color: var(--paper);
}

.presentation {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  height: auto;
  min-height: 460px;
  width: 100%;
}

.presentation__head-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.presentation__counter {
  display: inline-flex;
  align-items: center;
  padding: 3px 9px;
  background-color: var(--graphite-soft);
  border: 1px solid var(--graphite-line);
  border-left: 2px solid var(--brand);
  color: var(--paper);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-variant-numeric: tabular-nums;
}

.presentation__head-tools {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.presentation__dir-nav {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.presentation__dir-btn {
  width: 34px;
  height: 34px;
  background-color: var(--graphite-soft);
  border: 1px solid var(--graphite-line);
  color: var(--paper);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color var(--transition), border-color var(--transition), color var(--transition);
}

.presentation__dir-btn:hover {
  background-color: var(--brand);
  border-color: var(--brand);
  color: var(--btn-on-brand);
}

.presentation__slider {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 460px;
  background-color: var(--graphite);
  overflow: hidden;
}

.presentation__slider-track {
  position: relative;
  width: 100%;
  height: 100%;
}

.presentation__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.presentation__img.is-active {
  opacity: 1;
  pointer-events: auto;
}

.presentation__dots {
  display: flex;
  align-items: center;
  gap: 6px;
}

.presentation-dot {
  width: 20px;
  height: 3px;
  border: 0;
  padding: 0;
  background-color: rgba(255, 255, 255, 0.35);
  cursor: pointer;
}

.presentation-dot.is-active {
  background-color: var(--brand);
}

.presentation__info {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-width: 0;
  background-color: var(--paper);
  overflow: hidden;
}

.presentation__title {
  font-family: var(--font-display);
  font-size: clamp(21px, 2vw, 25px);
  font-weight: 600;
  line-height: 1.2;
  color: var(--paper);
  margin: 0;
}

.presentation__desc {
  font-size: 14px;
  line-height: 1.56;
  color: var(--ink-body);
  margin-bottom: 14px;
}

.presentation__specs {
  list-style: none;
  margin: 0 0 14px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.presentation__spec-item {
  position: relative;
  padding: 7px 12px 7px 26px;
  background-color: var(--mineral);
  border-left: 2px solid var(--brand);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.35;
  color: var(--ink);
}

.presentation__spec-item::before {
  content: "";
  position: absolute;
  left: 11px;
  top: 13px;
  width: 5px;
  height: 5px;
  background-color: var(--brand);
}

.presentation__info .proj-catalog__header {
  padding: 16px 24px 14px;
}

.presentation__info .proj-catalog__scroll {
  padding: 16px 24px;
}

.proj-catalog__footer--split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding: 14px 24px;
  border-top: 1px solid var(--line);
  background-color: var(--paper);
}

.proj-catalog__footer--split .btn {
  width: 100%;
  justify-content: center;
  padding-inline: 12px;
  font-size: 13.5px;
}

.presentation__subtitle {
  font-size: 12px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 10px;
}

.presentation__brands {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.presentation__brands span {
  display: inline-flex;
  padding: 6px 11px;
  background-color: var(--mineral);
  border: 1px solid var(--line);
  font-size: 12px;
  font-weight: 600;
  color: var(--ink);
}

@media (max-width: 900px) {
  .modal .modal__content.modal__content--presentation {
    max-width: 520px;
    width: 94vw;
    height: auto;
    max-height: calc(100dvh - 20px);
    display: flex;
    flex-direction: column;
    overflow: hidden;
  }

  .presentation {
    display: flex;
    flex-direction: column;
    height: auto;
    max-height: 100%;
    overflow: hidden;
  }

  .presentation__slider {
    height: 180px;
    min-height: 0;
    flex-shrink: 0;
  }

  .presentation__info {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    min-height: 0;
    height: auto;
    overflow: hidden;
  }

  .proj-catalog__scroll {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
  }

  .proj-catalog__footer--split {
    flex-shrink: 0;
  }
}

@media (max-width: 560px) {
  .modal .modal__content.modal__content--presentation {
    width: calc(100vw - 16px);
    max-height: calc(100dvh - 16px);
  }

  .presentation__slider {
    height: 124px;
  }

  .proj-catalog__header {
    padding: 10px 14px;
  }

  .presentation__head-bar {
    margin-bottom: 5px;
  }

  .presentation__counter {
    font-size: 10px;
    padding: 2px 7px;
  }

  .presentation__dir-btn,
  .proj-modal__close-btn {
    width: 30px;
    height: 30px;
  }

  .presentation__title {
    font-size: 18px;
  }

  .proj-catalog__scroll {
    padding: 10px 14px;
  }

  .presentation__desc {
    font-size: 12.5px;
    line-height: 1.42;
    margin-bottom: 8px;
  }

  .presentation__specs {
    gap: 3px;
    margin-bottom: 8px;
  }

  .presentation__spec-item {
    padding: 3px 0 3px 15px;
    background-color: transparent;
    border-left: 0;
    font-size: 12px;
    line-height: 1.32;
  }

  .presentation__spec-item::before {
    left: 2px;
    top: 9px;
    width: 4px;
    height: 4px;
  }

  .presentation__subtitle {
    font-size: 11px;
    margin-bottom: 6px;
  }

  .presentation__brands {
    gap: 5px;
  }

  .presentation__brands span {
    padding: 4px 8px;
    font-size: 11.5px;
  }

  .presentation__dots {
    display: none;
  }

  .proj-catalog__footer--split {
    grid-template-columns: 1.08fr 0.92fr;
    gap: 8px;
    padding: 10px 14px;
  }

  .proj-catalog__footer--split .btn {
    min-height: 38px;
    padding: 7px 6px;
    font-size: 12px;
  }
}
