/* ===== HERO — Перегруз ===== */

.over-hero {
  margin-top: 40px;
  padding: 160px 0 140px;
  background: #ffffff;
  border-bottom: 1px solid #e5e5e5;
}

.over-hero__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
}

.over-hero__content {
  max-width: 640px;
}

/* верхний тег */
.over-hero__kicker {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: #8A8F96;
  margin-bottom: 14px;
}

/* заголовок */
.over-hero__title {
  font-family: var(--font-main);
  font-size: 38px;
  font-weight: 700;
  color: #172833;
  line-height: 1.20;
  margin-bottom: 20px;
}

/* лид-текст */
.over-hero__lead {
  font-size: 16px;
  line-height: 1.7;
  color: #555;
  max-width: 540px;
  margin-bottom: 26px;
}

/* чипы */
.over-hero__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 26px;
}

.over-chip {
  font-size: 13px;
  padding: 8px 14px;
  border-radius: 999px;
  background: #f5f6f7;
  color: #172833;
  border: 1px solid rgba(0,0,0,0.04);
}

/* CTA ряд + буллеты */
.over-hero__cta-row {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 30px;
  margin-top: 30px;
}

.over-hero__btn-main {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 10px;
  background: #913661;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.25s ease, transform 0.25s ease,
              box-shadow 0.25s ease;
  width: fit-content;
}

.over-hero__btn-main:hover {
  background: #CA578D;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(145, 54, 97, 0.22);
}

/* мини-буллеты, что человек получает */
.over-hero__bullets {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 8px 14px;
}

.over-hero__bullet {
  font-size: 13px;
  line-height: 1.5;
  color: #4b5158;
  padding-left: 18px;
  position: relative;
}

.over-hero__bullet::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #CA578D;
}

/* статблок */
.over-hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
  margin-top: 10px;
}

.over-stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.over-stat__value {
  font-size: 22px;
  font-weight: 700;
  color: #172833;
}

.over-stat__label {
  font-size: 13px;
  color: #7b8188;
}

/* правая картинка */
.over-hero__image img {
  width: 560px;
  height: auto;
  object-fit: contain;
}

/* адаптив */
@media (max-width: 1024px) {
  .over-hero__inner {
    flex-direction: column;
    text-align: left;
    align-items: flex-start;
  }

  .over-hero__image img {
    width: 360px;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .over-hero {
    padding: 120px 0 100px;
  }

  .over-hero__title {
    font-size: 38px;
  }

  .over-hero__cta-row {
    align-items: flex-start;
  }
}

@media (max-width: 540px) {
  .over-hero__title {
    font-size: 32px;
  }

  .over-hero__lead {
    font-size: 16px;
  }

  .over-hero__image img {
    width: 280px;
  }
}







/* ===== ДЛЯ КОГО ===== */

.over-audience {
  padding: 120px 0 110px;
  background: #ffffff;
}

.over-audience__inner {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.over-audience__head {
  max-width: 760px;
}

.over-audience__kicker {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: #8A8F96;
  margin-bottom: 10px;
}

.over-audience__title {
  font-family: var(--font-main);
  font-size: 40px;
  font-weight: 700;
  color: #172833;
  margin-bottom: 14px;
}

.over-audience__subtitle {
  font-size: 15px;
  color: #6f747c;
  line-height: 1.7;
  max-width: 620px;
}

/* ===== НОВАЯ СЕТКА (2 столбца) ===== */
.over-audience__grid--with-image {
  display: grid;
  grid-template-columns: 0fr 1fr;
  gap: 24px;
}

/* ===== 3 карточки ===== */
.over-audience__card {
  border-radius: 18px;
  border: 1px solid rgba(0,0,0,0.06);
  background: #f9fafc;
  padding: 18px 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 505px;
}

.over-audience__tag {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #8a8f96;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,0.06);
  background: #ffffff;
  width: fit-content;
}

.over-audience__card-title {
  font-size: 17px;
  font-weight: 600;
  color: #172833;
}

.over-audience__text {
  font-size: 14px;
  line-height: 1.6;
  color: #4b5158;
}

.over-audience__bullets {
  margin: 0;
  padding-left: 18px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 13px;
  color: #60666f;
}

.over-audience__bullets li::marker {
  color: #CA578D;
}

/* ===== ШИРОКОЕ ФОТО (4-й элемент) ===== */
.over-audience__wide-photo {
  grid-column: 2 / 3;
  margin-left: 25px;
  height: 260px;
  border-radius: 18px;
  overflow: hidden;
  background: #ddd;

  /* делает фото шире, чем карточки */
  width: calc(75% + 50px);
  transform: translateX(-25px);
}

.over-audience__wide-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ===== Адаптив ===== */
@media (max-width: 900px) {
  .over-audience__grid--with-image {
    grid-template-columns: 1fr;
  }

  .over-audience__wide-photo {
    grid-column: 1;
    width: 100%;
    transform: none;
    height: 220px;
  }
}








/* ===== ОФФЕР / ЧТО ДЕЛАЕМ ===== */

.over-offer {
  padding: 120px 0 130px;
  background: #ffffff;
}

.over-offer__inner {
  display: grid;
  grid-template-columns: minmax(0,1.2fr) minmax(0,1.4fr);
  gap: 48px;
  align-items: flex-start;
}

.over-offer__kicker {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: #8A8F96;
  margin-bottom: 10px;
}

.over-offer__title {
  font-family: var(--font-main);
  font-size: 36px;
  font-weight: 700;
  color: #172833;
  margin-bottom: 14px;
}

.over-offer__lead {
  font-size: 15px;
  line-height: 1.7;
  color: #555;
  max-width: 520px;
  margin-bottom: 22px;
}

.over-offer__labels {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.over-offer__label {
  font-size: 12px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,0.06);
  background: #f5f6fb;
  color: #172833;
}

/* правая колонка */
.over-offer__list-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: #a0a6ad;
  margin-bottom: 10px;
}

.over-offer__list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-radius: 22px;
  border: 1px solid rgba(0,0,0,0.05);
  background: #f9fafb;
  padding: 8px 0;
}

.over-offer__item {
  padding: 14px 20px 16px 24px;
  border-bottom: 1px solid rgba(0,0,0,0.04);
}

.over-offer__item:last-child {
  border-bottom: none;
}

.over-offer__item h3 {
  font-size: 15px;
  font-weight: 600;
  color: #172833;
  margin-bottom: 4px;
}

.over-offer__item p {
  font-size: 14px;
  line-height: 1.6;
  color: #4b5158;
  margin: 0;
}

/* адаптив */
@media (max-width: 950px) {
  .over-offer__inner {
    grid-template-columns: 1fr;
  }

  .over-offer__title {
    font-size: 32px;
  }
}
















/* контейнер внутри пункта */
.over-offer__item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

/* иконка */
.over-offer__icon {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  border-radius: 12px;
  background: #f0f2f6;
  display: flex;
  align-items: center;
  justify-content: center;
}

.over-offer__icon img {
  width: 28px;
  height: 28px;
  object-fit: contain;
  opacity: 0.9;
}

/* контент рядом с иконкой */
.over-offer__content h3 {
  margin: 0 0 4px 0;
}

.over-offer__content p {
  margin: 0;
}













/* ===== КЕЙСЫ ===== */

.over-cases {
  padding: 120px 0 130px;
  background: #ffffff;
}

.over-cases__inner {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.over-cases__head {
  max-width: 720px;
}

.over-cases__kicker {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: #8A8F96;
  margin-bottom: 10px;
}

.over-cases__title {
  font-family: var(--font-main);
  font-size: 38px;
  font-weight: 700;
  color: #172833;
  margin-bottom: 14px;
}

.over-cases__subtitle {
  font-size: 15px;
  color: #6f747c;
  line-height: 1.7;
  max-width: 600px;
}

/* сетка карточек */
.over-cases__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 22px;
}

.over-case-card {
  border-radius: 20px;
  border: 1px solid rgba(0,0,0,0.05);
  background: #f9fafc;
  padding: 18px 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.over-case-card__top {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: space-between;
  align-items: center;
}

.over-case-card__badge {
  font-size: 12px;
  padding: 5px 10px;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid rgba(0,0,0,0.05);
  color: #172833;
}

.over-case-card__tag {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: #9aa0a9;
}

.over-case-card__title {
  font-size: 16px;
  font-weight: 600;
  color: #172833;
}

/* dl-статистика */
.over-case-card__stats {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.over-case-card__stats dt {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: #a0a6ad;
  margin-bottom: 2px;
}

.over-case-card__stats dd {
  margin: 0;
  font-size: 13px;
  line-height: 1.6;
  color: #4b5158;
}

/* адаптив */
@media (max-width: 1024px) {
  .over-cases__grid {
    grid-template-columns: repeat(2, minmax(0,1fr));
  }
}

@media (max-width: 720px) {
  .over-cases__grid {
    grid-template-columns: 1fr;
  }

  .over-cases__title {
    font-size: 32px;
  }
}


/* ===== FAQ ===== */

.over-faq {
  padding: 120px 0 130px;
  background: #ffffff;
}

.over-faq__inner {
  display: flex;
  flex-direction: column;
  gap: 34px;
}

.over-faq__head {
  max-width: 720px;
}

.over-faq__kicker {
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #8A8F96;
  margin-bottom: 10px;
}

.over-faq__title {
  font-family: var(--font-main);
  font-size: 38px;
  font-weight: 700;
  color: #172833;
  margin-bottom: 14px;
}

.over-faq__subtitle {
  font-size: 15px;
  color: #6f747c;
  line-height: 1.7;
  max-width: 580px;
}

/* сетка колонок */
.over-faq__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 24px 40px;
}

.over-faq__item {
  border-radius: 16px;
  border: 1px solid rgba(0,0,0,0.06);
  background: #f9fafc;
  padding: 14px 18px;
}

.over-faq__item summary {
  list-style: none;
  cursor: pointer;
  font-size: 15px;
  font-weight: 600;
  color: #172833;
  position: relative;
}

.over-faq__item summary::-webkit-details-marker {
  display: none;
}

.over-faq__item summary::after {
  content: "⌄";
  position: absolute;
  right: 0;
  top: 0;
  font-size: 14px;
  color: #9aa0a9;
  transition: transform .25s ease;
}

.over-faq__item[open] summary::after {
  transform: rotate(180deg);
}

.over-faq__item p {
  margin-top: 8px;
  font-size: 14px;
  line-height: 1.6;
  color: #4b5158;
}

/* адаптив */
@media (max-width: 900px) {
  .over-faq__grid {
    grid-template-columns: 1fr;
  }

  .over-faq__title {
    font-size: 32px;
  }
}












/* Лечим горизонтальный скролл во всей странице */
html {
  overflow-x: hidden;
}

body {
  overflow-x: visible;
}


/* фикс картинок */
img {
  max-width: 100%;
  height: auto;
}

/* Узкое фото, чтобы не вылазило */
.over-audience__wide-photo {
  max-width: 100%;
  overflow: hidden;
}

/* карточки не должны превышать ширину контейнера */
.over-audience__card {
  max-width: 100%;
}







/* ===== FIX: горизонтальный скролл ТОЛЬКО на мобилке ===== */
@media (max-width: 768px) {

  /* режем всё, что вылазит */
  html, body {
    overflow-x: hidden !important;
    width: 100%;
  }

  /* hero — картинку прижимаем */
  .over-hero__image,
  .over-hero__image img {
    max-width: 100%;
    overflow: hidden;
  }

  /* сетка "Для кого" — убираем хитрые смещения */
  .over-audience__grid--with-image {
    display: block !important;
  }

  .over-audience__card {
    width: 100% !important;
  }

  .over-audience__wide-photo {
    width: 100% !important;
    transform: none !important;
    margin-left: 0 !important;
  }

}



/* ===== HERO IMAGE CARD — MOBILE ONLY ===== */
@media (max-width: 768px) {

  .over-hero__image {
    width: 100%;
    background: #ffffff;
    border: 1px solid rgba(0,0,0,0.06);
    border-radius: 18px;
    padding: 24px 18px;
    box-sizing: border-box;
    margin-top: 24px;
  }

  .over-hero__image img {
    display: block;
    width: 100%;
    max-width: 320px;
    height: auto;
    margin: 0 auto;
    object-fit: contain;
  }

}











/* ===== MOBILE HEADINGS FIX ===== */
@media (max-width: 768px) {

  h1,
  .over-hero__title,
  .over-audience__title,
  .over-offer__title,
  .over-cases__title,
  .over-faq__title {
    font-size: 26px;
    line-height: 1.25;
  }

}











@media (max-width: 768px) {
  .over-audience__card {
    margin-bottom: 20px;
  }
}


