/* =========================================================
   MOBILE STYLES  (застосовується до 767px включно)
   Підключається з media="(max-width: 767px)"
   Макет за Figma — відступи 8px, логотипи внизу каруселлю
   ========================================================= */

.container {
  width: 100%;
  margin: 0 auto;
  padding: 0 8px;
}

.section-gap {
  padding-top: 8px;
}

/* ---------- Header ---------- */
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
}

.header__logo img {
  height: 24px;
  width: auto;
}

.header__cta {
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 13px;
  line-height: 1.3;
}

/* ---------- Hero ---------- */
.hero__card {
  position: relative;
  display: flex;
  align-items: center;
  height: 506px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background-color: var(--color-dark);
}

.hero__bg {
  position: absolute;
  top: 0;
  left: -62%;
  width: 262%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
  .hero__card {
    background: url('../assets/bg-spheres.png') 38% center / cover no-repeat;
  }

  .hero__bg {
    display: none;
  }
}

.hero__title {
  position: relative;
  z-index: 1;
  padding: 0 24px;
  font-weight: 400;
  font-size: 30px;
  line-height: 1.25;
  color: var(--color-white);
}

.hero__title--desk {
  display: none;
}

.hero__title--mob {
  display: inline;
}

/* ---------- Блок «Ми створили гайд» ---------- */
.guide__card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  padding: 24px;
  border-radius: var(--radius-lg);
  background-color: var(--color-dark);
}

.guide__intro {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-areas:
    "lead"
    "desc"
    "action";
  gap: 16px;
  width: 100%;
}

.guide__lead {
  grid-area: lead;
  font-weight: 400;
  font-size: 26px;
  line-height: 1.25;
  color: var(--color-white);
}

.guide__desc {
  grid-area: desc;
  font-weight: 200;
  font-size: 13px;
  line-height: 1.3;
  color: var(--color-white);
}

.guide__desc p + p {
  margin-top: 20px;
}

/* «Для кого» */
.audience {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
}

.audience__title {
  font-weight: 300;
  font-size: 16px;
  line-height: 20px;
  color: var(--color-white);
}

.audience__list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.audience__item {
  display: flex;
  align-items: center;
  min-height: 100px;
  padding: 20px;
  border-radius: var(--radius-md);
  background-color: var(--color-dark-grey);
  color: var(--color-grey);
  font-weight: 200;
  font-size: 13px;
  line-height: 1.3;
}

/* Кнопка «Відкрити гайд» */
.guide__action {
  grid-area: action;
  width: 100%;
  margin-top: 16px;
}

.guide__action .btn {
  width: 100%;
  padding: 20px 60px;
  font-size: 16px;
  line-height: 20px;
}

/* ---------- Блок-виноска ---------- */
.callout {
  padding-top: 8px;
}

.callout__card {
  padding: 40px 24px;
  box-shadow: inset 0 0 15px 0 rgba(255, 255, 255, 0.45);
}

.callout__text {
  position: relative;
  z-index: 1;
  font-weight: 200;
  font-size: 13px;
  line-height: 1.3;
  color: var(--color-white);
}

/* ---------- Партнери — карусель (горизонтальний скрол) ---------- */
.partners {
  padding-top: 20px;
  padding-bottom: 20px;
}

.partners__list {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;              /* Firefox */
}

.partners__list::-webkit-scrollbar {
  display: none;                      /* WebKit */
}

.partners__item {
  flex: 0 0 auto;
  width: 180px;
  height: 140px;
  padding: 24px;
  background-color: var(--color-dark-grey);
  scroll-snap-align: start;
}

.partners__logo {
  max-width: 100%;
  max-height: 92px; /* висота плитки 140 − паддінги 2×24 */
}

/* Розміри логотипів у плитках каруселі 180×140 */
.logo--playcity  { width: 132px; height: auto; }
.logo--ministry  { width: 132px; height: auto; }
.logo--rgc       { height: 92px;  width: auto; }
.logo--lifespace { height: 92px;  width: auto; }
