.aside__arrow,
.services-item__arrow {
  aspect-ratio: 1/1;
  transition: transform 0.2s;
}
.services-item.is-open .services-sublist {
  display: block;
}
.aside__arrow,
.services-item.is-open .services-item__arrow {
  transform: rotate(180deg);
}
.chip,
.media-chip {
  backdrop-filter: blur(26.1px);
}
:root {
  --track-w: 6px;
  --track-h: 371px;
  --track-outset: 1px;
  --aside-bg: #262626;
  --track-color: #2e7bb2;
}
* {
  padding: 0;
  margin: 0;
}
.bg-img {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  object-fit: cover;
  z-index: -1;
}
.section-areas .container {
  padding: 0 var(--container-offset) 40px;
}
.section-map__top {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  align-self: stretch;
}
.section-map__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  width: 100%;
}
.chip,
.chips,
.segmented__btn {
  display: flex;
  gap: 10px;
}
.section-map__title {
  color: var(--White, #fbfbfb);
  font-family: Inter;
  font-size: clamp(24px, 3.125vw, 60px);
  font-style: normal;
  font-weight: 500;
  line-height: 120%;
  letter-spacing: -0.02em;
}
.section-map__title .brand {
  color: var(--Red, #a41c35);
}
.segmented,
.section-areas .tabs-nav.segmented {
  display: flex;
  width: 446px;
  height: 56px;
  padding: 4px;
  align-items: center;
  border-radius: 8px;
  border: 1px solid #505050;
  background: #262626;
  justify-content: space-between;
}
.segmented__btn {
  padding: 12px;
  justify-content: center;
  align-items: center;
  flex: 1 0 0;
  border-radius: 5px;
  background: 0 0;
  color: gray;
  font-family: Inter;
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
  cursor: pointer;
  border: none;
}
.segmented__btn-text {
  width: auto;
  height: 24px;
  white-space: nowrap;
}
.segmented__btn.is-active {
  background: #2e7bb2;
  color: #fbfbfb;
}

.segmented li {
  display: flex;
  height: 100%;
  width: 100%;
  text-align: center;
  justify-content: center;
}
.segmented li button {
  display: flex;
  align-items: center;
  justify-content: center;
  color: gray;
  width: 100%;
}
.segmented li button.active {
  background: #2e7bb2;
  color: #fbfbfb;
}
.section-areas .tabs-nav__btn span {
  min-width: 33.33%;
}
.section-map__cities-title {
  margin-top: 24px;
  color: #a3a3a3;
  font-family: Inter;
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
  padding-bottom: 16px;
}
.aside__refresh,
.chip {
  color: var(--Gray, #a3a3a3);
  font-family: Inter;
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
}
.chips {
  flex-wrap: wrap;
  padding-bottom: 24px;
}
.action-btn,
.chip {
  justify-content: center;
  cursor: pointer;
}
.chip {
  padding: 10px;
  align-items: center;
  border-radius: 36px;
  background: #262626;
  border: none;
}
.chip.active {
  background: var(--Red, #a41c35);
  color: var(--White, #fbfbfb);
}
.section-map__wrapp {
  display: grid;
  grid-template-columns: 1fr 446px;
  gap: 24px;
}
@media (max-width: 1200px) {
  .section-map__wrapp {
    grid-template-columns: 1fr;
  }
}
.section-map__frame {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  flex-shrink: 0;
  align-self: flex-start;
  height: 565px;
}
.section-map__aside {
  position: relative;
  overflow: visible;
  display: flex;
  width: 446px;
  height: 565px;
  max-height: 565px !important;
  padding: 20px 12px 0;
  justify-content: flex-end;
  align-items: flex-start;
  gap: 10px;
  flex-shrink: 0;
  border-radius: 12px;
  background: #262626;
}
.section-map__aside.panel-is-open {
  max-height: none !important;
}
.aside__inner {
  display: flex;
  flex-direction: column;
  gap: 0;
  width: 100%;
  height: 100%;
}
.action-btn,
.cta-btn {
  height: 48px;
  display: flex;
}
.aside__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 25px;
}
.aside__left {
  display: inline-flex;
  align-items: flex-start;
  gap: 4px;
}
.aside__left svg {
  width: 20px;
  height: 20px;
  aspect-ratio: 1/1;
  fill: transparent;
}
.action-btn span,
.cta-btn {
  color: var(--White, #fbfbfb);
}
.aside__actions {
  position: relative;
  display: flex;
  justify-content: center;
  gap: 10px;
  padding: 0;
  z-index: 1200;
}

.action-btn {
  flex: 1;
  min-width: 0;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 12px;
  border: 2px solid var(--Red, #a41c35);
  background: var(--Red, #a41c35);
}

.action-btn.is-open {
  flex: 1;
}

.action-btn .ico {
  width: 20px;
  height: 20px;
  aspect-ratio: 1/1;
  display: inline-block;
}
.action-btn .ico svg {
  fill: transparent;
}
.action-btn span {
  font-family: Inter;
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
}
.aside__cta a {
  width: auto;
  max-height: 48px;
  padding: 0;
}
.aside__cta {
  padding: 16px 0;
}
.cta-btn {
  width: auto;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
  background: var(--Blue, #2e7bb2);
  text-decoration: none;
}
.project {
  display: grid;
  gap: 8px;
  margin-bottom: 16px;
  width: 100%;
  cursor: pointer;
}
.project__img {
  height: 240px;
  align-self: stretch;
  border-radius: 12px;
  width: 100%;
  object-fit: cover;
  display: block;
}
.project__title {
  color: #fff;
  font-family: Inter;
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
}
.project__link {
  color: #a41c35;
  font-family: Inter;
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
  text-decoration: underline;
}
.aside__list {
  flex: 1;
  overflow-y: auto;
  padding-right: 6px;
  width: 446px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.aside__list::-webkit-scrollbar {
  width: 0;
  height: 0;
}
.aside__scrollwrap {
  position: relative;
  flex: 1;
  display: flex;
  padding: 0 16px 16px;
  gap: 10px;
  overflow: hidden;
}
.scrollbar {
  position: absolute;
  right: 6px;
  top: var(--track-top, 0);
  width: 6px;
  height: var(--track-h, 371px);
  display: flex;
  align-items: flex-start;
  gap: 10px;
  border-radius: 5px;
  border: 1px solid #505050;
  background: #262626;
  pointer-events: none;
  z-index: 1000;
}
.scrollbar__active {
  width: 100%;
  border-radius: 5px;
  background: #2e7bb2;
}
.aside__arrow {
  width: 24px;
  height: 24px;
  display: inline-grid;
  place-items: center;
  padding: 0;
  border: 0;
  background: 0 0;
  cursor: pointer;
}
.aside__arrow.is-open {
  transform: rotate(0);
}
.aside__arrow svg {
  width: 24px;
  height: 24px;
  display: block;
}
.aside__promo {
  display: flex;
  justify-content: center;
  align-items: center;
}
.action-btn .state-close,
.action-btn.is-open .state-default,
.aside__promo.is-open {
  display: none;
}
.aside__promo-img {
  width: 330px;
  min-height: 85px;
  display: block;
  padding: 14px 0 20px 0;
}
.action-btn.is-open .state-close {
  display: inline-flex;
}
.action-btn .label {
  margin-left: 8px;
}
.services-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: auto;
  display: none;
  width: 317px;
  height: 264px;
  padding: 12px 0 12px 10px;
  flex-direction: column;
  gap: 12px;
  border-radius: 12px;
  border: 1px solid #505050;
  background: #262626;
  overflow: hidden;
  z-index: 1200;
}
.separator,
.services-item {
  width: 280px;
}
.separator {
  height: 1px;
  background: #505050;
  margin-top: 12px;
  margin-bottom: 12px;
}
.services-menu::-webkit-scrollbar {
  width: 0;
  height: 0;
}
.location-menu.is-open,
.services-menu.is-open {
  display: flex;
}
.services-menu__inner {
  height: 100%;
  overflow: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.services-menu__inner::-webkit-scrollbar {
  width: 0;
  height: 0;
}
.services-item__head {
  display: flex;
  width: 283px;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}
.services-item__title {
  color: #fff;
  font: 500 16px/24px Inter;
}
.location-input,
.service-opt__label {
  font-family: Inter;
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
}
.services-item__arrow {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  transform: rotate(0);
  cursor: pointer;
}
.services-item__arrow svg {
  fill: transparent;
}
.services-item + .services-item {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 10px;
}
.services-sublist {
  display: none;
  padding: 10px 0 0;
}
.service-opt {
  height: 36px;
  display: flex;
  align-items: center;
  position: relative;
  gap: 14px;
  padding: 0 10px 12px 0;
}
.service-opt__box {
  width: 16px;
  height: 16px;
  padding: 3px;
  border-radius: 2px;
  border: 1px solid #fff;
  background: #262626;
  box-sizing: border-box;
  display: grid;
  place-items: center;
  cursor: pointer;
}
.service-opt__label {
  color: #fff;
  cursor: pointer;
}
.service-opt.is-checked .service-opt__box::after {
  content: '';
  width: 100%;
  height: 100%;
  background: #fff;
  display: block;
}
.service-opt input {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: auto;
  cursor: pointer;
}
.services-scrollbar {
  position: absolute;
  right: 12px;
  left: auto;
  top: 12px;
  width: 6px;
  height: calc(100% - 24px);
  border-radius: 5px;
  border: 1px solid #505050;
  background: #262626;
  pointer-events: none;
  z-index: 1201;
  overflow: hidden;
}
.services-scrollbar__active {
  position: absolute;
  left: 0;
  top: var(--svc-top, 0);
  width: 100%;
  height: var(--svc-h, 40px);
  border-radius: 5px;
  background: #2e7bb2;
}
.location-input,
.location-menu {
  background: #262626;
  padding: 12px;
}
.location-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 16px;
  display: none;
  max-width: 415px;
  max-height: 72px;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  flex-shrink: 0;
  border-radius: 12px;
  border: 1px solid #505050;
  z-index: 1210;
}
.location-input,
.location-menu__row {
  align-items: center;
  display: flex;
  gap: 10px;
}
.location-input {
  width: 333px;
  border-radius: 8px;
  border: 1px solid rgba(237, 237, 237, 0.5);
  color: #ededed;
  opacity: 0.64;
}
.location-input::placeholder {
  color: #ededed;
  opacity: 0.64;
}
.location-submit {
  display: flex;
  width: 48px;
  height: 48px;
  padding: 12px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 8px;
  border: 1px solid rgba(237, 237, 237, 0.5);
  background: #a41c35;
}

.location-submit svg {
  fill: transparent;
}

.cta-btn {
  color: #fbfbfb;
  font: 500 16px/24px Inter, system-ui, sans-serif;
}

.cta-btn {
  display: flex;
  padding: 12px 24px;
  justify-content: center;
  align-items: center;
  gap: 10px;
  border-radius: 12px;
  border: 2px solid transparent;
  cursor: pointer;
}
#asideScroll {
  max-height: 0;
  overflow: hidden;
  margin-top: 0;
  padding-top: 0;
  padding-bottom: 0;
}
#asideScroll.is-open {
  max-height: 100vh;
}

#mediaDots,
#mediaDotsMobile {
  width: auto !important;
  height: auto !important;
  fill: initial !important;
  display: flex;
  align-items: center;
  gap: 8px;
}

.media-pagination .swiper-pagination-bullet-active {
  background: #ffffff;
}

#mediaSwiper .media-pagination {
  position: absolute;
  left: 50%;
  bottom: 16px;
  transform: translateX(-50%);
  z-index: 2;
  pointer-events: auto;
}

@media (max-width: 767.98px) {
  #mobileControls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
  }
  #mobileControls .media-pagination {
    position: static;
    transform: none;
    margin: 0;
    z-index: 1;
  }
}

:root {
  --swiper-pagination-bullet-size: 12px;
  --swiper-pagination-bullet-horizontal-gap: 0px;
}

:root {
  --tr-fast: 140ms;
  --tr-med: 220ms;
  --ease-out: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-io: cubic-bezier(0.45, 0, 0.15, 1);
  --ring: 0 0 0 3px rgba(69, 91, 212, 0.28);
}
@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
    animation: none !important;
  }
}

/* CHIP */
.chip {
  transition: background-color var(--tr-med) var(--ease-io), color var(--tr-med) var(--ease-io), border-color var(--tr-med) var(--ease-io), box-shadow var(--tr-fast) var(--ease-out), transform var(--tr-fast) var(--ease-out);
  will-change: transform, background-color, color, box-shadow;
}
.chip:hover {
  transform: translateY(-1px);
}
.chip:active {
  transform: translateY(0) scale(0.98);
}
.chip.active {
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
}
.chip:focus-visible {
  outline: none;
  box-shadow: var(--ring);
}

/* SEGMENTED */
.segmented__btn {
  transition: background-color var(--tr-med) var(--ease-io), color var(--tr-med) var(--ease-io), border-color var(--tr-med) var(--ease-io), box-shadow var(--tr-fast) var(--ease-out), transform var(--tr-fast) var(--ease-out);
}
.segmented__btn:hover {
  transform: translateY(-1px);
}
.segmented__btn:active {
  transform: translateY(0) scale(0.98);
}
.segmented__btn.is-active {
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.18);
}
.segmented__btn:focus-visible {
  outline: none;
  box-shadow: var(--ring);
}

/* ACTION BTN */
.action-btn {
  transition: background-color var(--tr-med) var(--ease-io), color var(--tr-med) var(--ease-io), border-color var(--tr-med) var(--ease-io), box-shadow var(--tr-fast) var(--ease-out), transform var(--tr-fast) var(--ease-out), opacity var(--tr-fast) var(--ease-io);
  will-change: transform, background-color, color, box-shadow;
}
.action-btn:hover {
  transform: translateY(-1px);
}
.action-btn:active {
  transform: translateY(0) scale(0.98);
}
.action-btn.is-open {
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.18);
}
.action-btn:focus-visible {
  outline: none;
  box-shadow: var(--ring);
}
.action-btn.is-open .ico svg {
  transition: transform var(--tr-med) var(--ease-io);
  transform: rotate(90deg);
}
.action-btn.active span {
  color: #000;
}

/* CTA BTN */
.cta-btn {
  transition: background-color var(--tr-med) var(--ease-io), color var(--tr-med) var(--ease-io), border-color var(--tr-med) var(--ease-io), box-shadow var(--tr-fast) var(--ease-out), transform var(--tr-fast) var(--ease-out);
  will-change: transform, box-shadow, background-color, color;
}
.cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
}
.cta-btn:active {
  transform: translateY(0) scale(0.98);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18);
}
.cta-btn:focus-visible {
  outline: none;
  box-shadow: var(--ring);
}

/* ===== MODAL BASE ===== */

.project-modal {
  position: fixed;
  inset: 0;
  z-index: 3000;
  display: none;
  align-items: center;
  justify-content: center;
  -webkit-overflow-scrolling: touch;
}

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

.project-modal__backdrop {
  position: absolute;
  inset: 0;
  background: #000;
  opacity: 0.8;
}

.project-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(1140px, 100vw - 64px);
  max-height: calc(100vh - 80px);
  padding: 32px 40px 32px;
  border-radius: 12px;
  border: 1px solid #505050;
  background: var(--Black, #000);
  background: #000;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 24px;
  overflow: auto;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.project-modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  display: grid;
  place-items: center;
  cursor: pointer;
}

.project-modal__body {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

/* ===== MEDIA ROW ===== */

.modal-media-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  width: 100%;
}

.media-nav {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  border: 1px solid #505050;
  background: #262626;
  display: grid;
  place-items: center;
  cursor: pointer;
  flex-shrink: 0;
}

.modal-media {
  position: relative;
  flex: 1 1 auto;
  max-width: 900px;
  height: 100%;
  border-radius: 24px;
  overflow: hidden;
  background: #111;
}

#mediaSwiper,
#mediaSwiper .swiper-wrapper,
#mediaSwiper .swiper-slide {
  width: 100%;
  height: 100%;
}

#mediaSwiper .swiper-slide {
  display: flex;
  align-items: center;
  justify-content: center;
  max-height: 500px;
}

#mediaSwiper .swiper-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.media-tags {
  width: 100%;
  position: absolute;
  top: 16px;
  z-index: 2;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  padding: 0 20px;
  box-sizing: border-box;
}

.media-chip--last,
.media-chip-wrapper--last {
  margin-left: auto;
}

.media-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.24);
  -webkit-backdrop-filter: blur(26px);
  backdrop-filter: blur(26px);
  color: #fbfbfb;
  font: 500 14px/20px Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial;
  white-space: nowrap;
}

.media-ico {
  width: 20px;
  height: 20px;
  margin-right: 6px;
}

/* dots під зображенням */

.media-pagination {
  position: absolute;
  left: 50%;
  bottom: 16px;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 2;
}

.media-pagination .swiper-pagination-bullet,
.media-pagination .dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #bdbdbd;
  opacity: 1;
}

.media-pagination .swiper-pagination-bullet-active,
.media-pagination .dot.is-active {
  background: #ffffff;
}

.mobile-controls {
  display: none;
  width: 100%;
  align-items: center;
  justify-content: center;
  gap: 24px;
}

/* ===== TEXT CONTENT ===== */

.project-modal__content {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
}

.modal-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
  width: 100%;
}

.modal-title {
  flex: 1 1 auto;
  max-width: 720px;
  color: #fbfbfb;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial;
  font-weight: 500;
  font-size: 48px;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.modal-ctas {
  width: 296px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* кнопки справа */

.cta-btn {
  display: flex;
  width: auto;
  height: 48px;
  padding: 12px 24px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 12px;
  border: 2px solid transparent;
  color: #fbfbfb;
  font: 500 16px/24px Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial;
  background: #2e7bb2;
  cursor: pointer;
}

.cta-btn__ico {
  display: inline-flex;
  width: 20px;
  height: 20px;
}

.cta-btn--red {
  background: #a41c35;
  border-color: #a41c35;
}

.cta-btn--blue {
  background: #2e7bb2;
  border-color: #2e7bb2;
}

/* блок “Work details + Rating” */

.modal-details {
  width: 100%;
}

.work-title {
  margin-top: 8px;
  margin-bottom: 16px;
  color: #fbfbfb;
  font: 500 16px/24px Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial;
}

.work-title .w2 {
  color: #a41c35;
}

.details-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
}

.work-text {
  flex: 1 1 auto;
  max-width: 720px;
  color: rgba(251, 251, 251, 0.86);
  font: 400 16px/1.6 Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial;
}

/* Rating справа, як в макеті */

.rating-block {
  flex: 0 0 296px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.rating-top {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.rating-label {
  color: #fbfbfb;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial;
  font-size: 18px;
  font-weight: 600;
}

.rating-stars {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.rating-score {
  margin-right: 4px;
  color: #fbfbfb;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial;
  font-size: 18px;
  font-weight: 600;
}

/* ===== RESPONSIVE ===== */

@media (max-width: 1300px) {
  .project-modal__dialog {
    width: 100vw;
    max-width: 100%;
    margin: 0 16px;
    padding: 24px 16px 24px;
    border-radius: 12px;
  }

  .modal-title {
    font-size: clamp(26px, 4vw, 36px);
  }

  .details-row {
    gap: 24px;
  }
}

@media (max-width: 1024px) {
  .project-modal__dialog {
    max-height: 100vh;
  }

  .modal-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .modal-ctas {
    width: 100%;
    max-width: 380px;
  }

  .details-row {
    flex-direction: column;
  }

  .rating-block {
    align-self: flex-start;
  }
}

@media (max-width: 900px) {
  .modal-media {
    height: min(50vh, 420px);
  }
}

@media (max-width: 768px) {
  .project-modal__dialog {
    margin: 0;
    width: 100vw;
    height: 100vh;
    max-height: 100vh;
    border-radius: 0;
    padding: 75px 12px 20px;
    overflow: auto;
    -ms-overflow-style: none;
    scrollbar-width: none;
  }
  .project-modal__dialog::-webkit-scrollbar {
    display: none;
  }

  .project-modal__close {
    top: 22px;
    right: 8px;
    width: 36px;
    height: 36px;
  }
  .modal-media {
    height: 360px;
    border-radius: 12px;
  }

  /* мобільні стрілки під зображенням */
  .modal-media-row .media-nav--prev,
  .modal-media-row .media-nav--next {
    display: none;
  }

  .modal-media-row {
    gap: 0;
  }

  .mobile-controls {
    display: flex;
    margin-top: 12px;
  }

  .mobile-controls .media-nav {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    border: 1px solid #505050;
    background: #262626;
  }

  .mobile-controls .media-pagination {
    flex: 1 1 auto;
    display: flex;
    justify-content: center;
    gap: 8px;
  }

  .mobile-controls .media-pagination .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(251, 251, 251, 0.5);
  }

  .mobile-controls .media-pagination .dot.is-active {
    background: #fbfbfb;
  }

  .modal-head {
    gap: 12px;
  }

  .modal-title {
    font-size: 24px;
  }
}

@media (max-width: 480px) {
  .modal-title {
    font-size: 22px;
    line-height: 1.25;
  }

  .details-row {
    gap: 16px;
  }

  .rating-block {
    width: 100%;
  }
}
