/* Цвета и переменные */
:root {
  --white: #fefefe;
  --dark-blue: #1f5f78;
  --pale-white: #f2f3f4;
  --pale-blue: #9eb8c2;
  --orange: #e2a145;
  --font: 'Manrope', sans-serif;
}

/* Сброс и базовые стили */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: var(--font);
  font-weight: 400;
  font-size: 14px;
  line-height: 1.14;
  color: var(--dark-blue);
  background: var(--white);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

/* Page */
.page {
  max-width: 1200px;
  margin: 0 auto;
  overflow-x: hidden;
}

/* Header — по макету Figma: плашка меню 901px (лого + пункты), gap 14px, плашка кнопки 205px */
.header {
  height: 70px;
  padding: 0 40px;
  display: flex;
  align-items: center;
}

.header__container {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 14px;
}

/* Плашка меню: лого 20px от левого края плашки, затем пункты. x:40, 901×50 */
.header__menu-bar {
  display: flex;
  align-items: center;
  width: 901px;
  height: 50px;
  padding-left: 20px;
  padding-right: 20px;
  background: var(--pale-white);
  border-radius: 10px;
}

.header__logo {
  flex-shrink: 0;
  margin-right: 120px;
}

.header__logo--mobile {
  display: none;
}

.header__logo-img {
  width: 78px;
  height: 37px;
  object-fit: contain;
}

.header__menu {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-left: auto;
}

.header__link {
  font-weight: 500;
  font-size: 14px;
  line-height: 1;
  letter-spacing: 0.01em;
  color: var(--dark-blue);
}

.header__link:hover {
  text-decoration: underline;
}

.header__donate {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 205px;
  height: 50px;
  background: var(--dark-blue);
  border: 1px solid rgba(31, 95, 120, 0.2);
  border-radius: 10px;
  font-weight: 600;
  font-size: 14px;
  line-height: 1;
  letter-spacing: 0.01em;
  color: var(--white);
}

.header__donate:hover {
  opacity: 0.9;
}

.header__burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 8px;
  background: var(--pale-white);
  border: 1px solid var(--pale-blue);
  border-radius: 10px;
  cursor: pointer;
}

.header__burger-line {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--dark-blue);
  border-radius: 1px;
  transition: transform 0.2s, opacity 0.2s;
}

.header__burger[aria-expanded="true"] .header__burger-line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.header__burger[aria-expanded="true"] .header__burger-line:nth-child(2) {
  opacity: 0;
}

.header__burger[aria-expanded="true"] .header__burger-line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Hero */
.hero {
  padding: 40px 40px 60px;
}

.hero__container {
  max-width: 1120px;
  margin: 0 auto;
  position: relative;
}

.hero__title {
  font-weight: 500;
  font-size: 42px;
  line-height: 42px;
  letter-spacing: -1.26px;
  text-align: center;
  color: var(--pale-blue);
  margin: 0 auto 70px;
  max-width: 509px;
}

.hero__title span {
  color: var(--dark-blue);
}

.hero__cards {
  display: grid;
  grid-template-columns: 364px 364px 364px;
  grid-template-rows: 195px 196px;
  gap: 15px;
}

.hero__card {
  border-radius: 10px;
  padding: 20px;
  position: relative;
}

.hero__card--orange {
  display: flex;
  flex-direction: column;
  background: var(--orange);
  overflow: hidden;
}

.hero__card--orange .hero__link {
  margin-top: auto;
}

.hero__card-shape {
  position: absolute;
  pointer-events: none;
}

.hero__card-shape--top {
  width: 989px;
  height: 763px;
  left: -188px;
  top: -125px;
}

.hero__card-shape--bottom {
  width: 989px;
  height: 763px;
  left: -188px;
  top: -335px;
}

.hero__card-shape--blue {
  width: 989px;
  height: 763px;
  left: -566px;
  top: -125px;
}

.hero__card-arrow {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 2;
  width: 36px;
  height: 36px;
}

.hero__card-arrow img {
  width: 100%;
  height: 100%;
}

.hero__card--blue {
  display: flex;
  flex-direction: column;
  background: var(--dark-blue);
  overflow: hidden;
}

.hero__card-content {
  margin-top: auto;
  padding-top: 20px;
}

.hero__card--image {
  padding: 0;
  overflow: hidden;
  grid-row: span 2;
}

.hero__card--small {
  grid-row: span 1;
}

.hero__card--medium {
  grid-row: span 2;
}

.hero__card--bottom {
  grid-column: 1;
  grid-row: 2;
}

.hero__link {
  position: relative;
  z-index: 1;
  font-weight: 600;
  font-size: 28px;
  letter-spacing: -0.03em;
  color: var(--white);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
  display: inline-block;
  align-self: flex-start;
}

.hero__link:hover {
  opacity: 0.9;
}

/* Надписи со стрелками к оранжевым карточкам */
.hero__labels {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero__label-item {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
}

.hero__label-item--left {
  left: 149px;
  top: 31px;
  flex-direction: row-reverse;
  transform: rotate(-8.99deg);
}

.hero__label-item--right {
  left: 766px;
  top: 15px;
  flex-direction: row;
  transform: rotate(3.82deg);
}

.hero__label-item--left .hero__arrow {
  width: 106px;
  height: 44px;
}

.hero__label-item--right .hero__arrow {
  width: 134px;
  height: 64px;
  transform: scaleX(-1);
}

.hero__label-text {
  font-size: 14px;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--dark-blue);
  margin: 0;
  max-width: 130px;
}

.hero__label-item--right .hero__label-text {
  max-width: 198px;
  text-align: center;
}

.hero__amount {
  font-weight: 600;
  font-size: 28px;
  color: var(--white);
  margin: 0 0 10px;
}

.hero__text {
  font-size: 14px;
  color: var(--white);
  margin: 0 0 20px;
  line-height: 1.14;
}

.hero__text strong {
  font-weight: 600;
}

.hero__icon,
.hero__amount,
.hero__text {
  position: relative;
  z-index: 1;
}

.hero__icon {
  width: 36px;
  height: 36px;
}

.hero__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 406px;
}

/* Stats */
.stats {
  padding: 60px 40px 40px;
}

.stats__container {
  max-width: 1120px;
  margin: 0 auto;
  text-align: center;
}

.stats__subtitle {
  font-weight: 500;
  font-size: 14px;
  letter-spacing: -0.03em;
  color: var(--dark-blue);
  margin: 0 0 10px;
}

.stats__title {
  font-weight: 600;
  font-size: 42px;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--pale-blue);
  margin: 0 0 30px;
}

.stats__title span {
  color: var(--dark-blue);
}

.stats__text {
  font-size: 14px;
  line-height: 1.14;
  color: var(--dark-blue);
  margin: 0 0 40px;
  max-width: 521px;
  margin-left: auto;
  margin-right: auto;
}

.stats__text strong {
  font-weight: 600;
}

.stats__graph {
  border-radius: 10px;
  overflow: hidden;
  position: relative;
}

.stats__graph-img {
  width: 100%;
}

.stats__graph-img--mobile {
  display: none;
}

@media (max-width: 768px) {
  .stats__graph-img--desktop {
    display: none;
  }

  .stats__graph-img--mobile {
    display: block;
  }
}

/* Stories */
.stories {
  padding: 60px 40px;
}

.stories__container {
  max-width: 1120px;
  margin: 0 auto;
}

.stories__subtitle {
  font-weight: 500;
  font-size: 14px;
  letter-spacing: -0.03em;
  color: var(--dark-blue);
  text-align: center;
  margin: 0 0 10px;
}

.stories__title {
  font-weight: 600;
  font-size: 42px;
  line-height: 1;
  letter-spacing: -0.03em;
  text-align: center;
  color: var(--dark-blue);
  margin: 0 0 50px;
}

.stories__title span {
  color: var(--pale-blue);
}

.stories__slider {
  display: flex;
  align-items: center;
  gap: 20px;
}

.stories__slider-nav {
  display: contents;
}

.stories__slider-btn--prev {
  order: -1;
}

.stories__slider-btn--next {
  order: 1;
}

.stories__slider-btn {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  padding: 7px;
  border: 1px solid var(--pale-blue);
  border-radius: 100px;
  background: var(--white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.stories__slider-btn:hover {
  background: var(--pale-white);
}

.stories__slider-btn img {
  width: 20px;
  height: 20px;
}

.stories__slider-btn--prev img {
  transform: rotate(180deg);
}

.stories__carousel {
  flex: 1;
  min-width: 0;
  width: 100%;
}

/* Fallback: показываем контент до инициализации Owl */
.stories__carousel:not(.owl-loaded) {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.stories__carousel:not(.owl-loaded) .stories__card {
  flex: none;
}

.stories__carousel .owl-stage-outer {
  padding: 0;
}

.stories__carousel .owl-item {
  padding: 0;
}

.stories__carousel .owl-nav,
.stories__carousel .owl-dots {
  display: none;
}

/* Переопределяем Owl: картинки в карточках не растягивать */
.stories__carousel .owl-item .stories__card-img {
  width: 160px;
  height: 160px;
  max-width: none;
}

.stories__card {
  background: var(--pale-white);
  border-radius: 10px;
  padding: 20px;
  overflow: hidden;
}

.stories__card-img {
  width: 160px;
  height: 160px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 20px;
}

.stories__card-name {
  font-weight: 600;
  font-size: 18px;
  letter-spacing: -0.03em;
  color: var(--dark-blue);
  margin: 0 0 15px;
}

.stories__card-text {
  font-size: 12px;
  line-height: 1.33;
  color: var(--dark-blue);
  margin: 0;
}

.stories__card-text strong {
  font-weight: 600;
}

.stories__card-body {
  min-width: 0;
}

/* Map block */
.map-block {
  padding: 60px 40px;
}

.map-block__container {
  max-width: 1120px;
  margin: 0 auto;
}

.map-block__map {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
}

.map-block__text {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px;
}

.map-block__subtitle {
  font-weight: 500;
  font-size: 14px;
  letter-spacing: -0.03em;
  color: var(--dark-blue);
  margin: 0 0 10px;
}

.map-block__title {
  font-weight: 600;
  font-size: 42px;
  line-height: 1.14;
  letter-spacing: -0.03em;
  color: var(--dark-blue);
  margin: 0;
  max-width: 752px;
}

.map-block__map-img {
  width: 100%;
}

/* Formula — по Figma: блок 406px высотой */
.formula {
  min-height: 406px;
  padding: 80px 40px;
  background: var(--orange);
  border-radius: 10px;
  margin: 0 40px 60px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.formula__container {
  max-width: 1120px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
}

.formula__subtitle {
  font-weight: 500;
  font-size: 14px;
  letter-spacing: -0.03em;
  color: var(--white);
  margin: 0 0 14px;
}

.formula__title {
  font-weight: 600;
  font-size: 42px;
  line-height: 1.5;
  letter-spacing: -0.03em;
  color: var(--white);
  margin: 0;
  max-width: 752px;
  margin-left: auto;
  margin-right: auto;
}

.formula__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.formula__bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
}

/* FAQ */
.faq {
  padding: 60px 40px;
}

.faq__container {
  max-width: 759px;
  margin: 0 auto;
}

.faq__subtitle {
  font-weight: 500;
  font-size: 14px;
  letter-spacing: -0.03em;
  color: var(--dark-blue);
  text-align: center;
  margin: 0 0 10px;
}

.faq__title {
  font-weight: 600;
  font-size: 42px;
  line-height: 1;
  letter-spacing: -0.03em;
  text-align: center;
  color: var(--pale-blue);
  margin: 0 0 40px;
}

.faq__title span {
  color: var(--dark-blue);
}

.faq__list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq__item {
  background: var(--white);
  border: 1px solid var(--pale-white);
  border-radius: 16px;
  overflow: hidden;
}

.faq__question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 26px 32px;
  background: none;
  border: none;
  font-family: var(--font);
  font-weight: 600;
  font-size: 28px;
  letter-spacing: -0.03em;
  color: var(--dark-blue);
  text-align: left;
  cursor: pointer;
}

.faq__icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.faq__item:not(.faq__item--open) .faq__icon {
  transform: rotate(-90deg);
}

.faq__answer {
  padding: 0 32px 40px;
}

.faq__answer p {
  font-size: 14px;
  line-height: 1.43;
  color: var(--dark-blue);
  margin: 0;
}

.faq__item:not(.faq__item--open) .faq__answer {
  display: none;
}

/* SMS */
.sms {
  padding: 60px 40px;
}

.sms {
  min-height: 682px;
}

.sms__container {
  max-width: 1121px;
  margin: 0 auto;
  padding: 0 39px;
}

.sms__header {
  text-align: center;
  margin-bottom: 50px;
}

.sms__subtitle {
  font-weight: 500;
  font-size: 14px;
  letter-spacing: -0.03em;
  color: var(--dark-blue);
  margin: 0 0 14px;
}

.sms__title {
  font-weight: 600;
  font-size: 42px;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--dark-blue);
  margin: 0;
  max-width: 752px;
  margin-left: auto;
  margin-right: auto;
}

.sms__title span {
  color: var(--pale-blue);
}

.sms__content {
  display: grid;
  grid-template-columns: 264px 378px 1fr;
  gap: 40px;
  align-items: start;
  margin-bottom: 50px;
  position: relative;
}

.sms__arrow {
  position: absolute;
  pointer-events: none;
}

.sms__arrow--left {
  left: 254px;
  top: 80px;
  width: 104px;
  height: 45px;
  transform: rotate(12deg) scaleY(-1);
}

.sms__arrow--right {
  right: 340px;
  top: 120px;
  width: 119px;
  height: 62px;
  transform: rotate(-149deg) scaleY(-1);
}

.sms__intro {
  font-size: 14px;
  line-height: 1.14;
  color: var(--dark-blue);
  text-align: center;
  margin: 0;
}

.sms__intro strong {
  font-weight: 600;
}

.sms__phone {
  justify-self: center;
  width: 378px;
}

.sms__phone-img {
  width: 100%;
  border-radius: 7px;
}

.sms__example {
  padding-top: 20px;
}

.sms__example-label {
  font-size: 14px;
  color: var(--dark-blue);
  margin: 0 0 10px;
}

.sms__example-text {
  font-weight: 600;
  font-size: 28px;
  letter-spacing: -0.03em;
  color: var(--dark-blue);
  margin: 0;
}

.sms__info {
  display: grid;
  grid-template-columns: 354px 354px 1fr;
  gap: 24px;
}

.sms__info-title {
  font-weight: 600;
  font-size: 14px;
  color: var(--dark-blue);
  margin: 0 0 10px;
}

.sms__info-col p {
  font-size: 14px;
  line-height: 1.14;
  color: var(--dark-blue);
  margin: 0;
}

.sms__logos {
  max-width: 1120px;
  margin-bottom: 40px;
}

.sms__logos-img {
  width: 100%;
}

.sms__logos-grid {
  display: none;
}

/* Footer — по Figma: 1120×480, 3 колонки, адрес и политика внизу */
.footer {
  height: 480px;
  background: var(--dark-blue);
  border-radius: 10px;
  margin: 0 40px 40px;
  padding: 0 40px;
  position: relative;
  overflow: hidden;
}

.footer__container {
  position: relative;
  z-index: 1;
  height: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 28px 20px 27px;
  display: flex;
  flex-direction: column;
}

.footer__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.footer__bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.5;
}

.footer__content {
  display: grid;
  grid-template-columns: 352px 1fr 300px;
  gap: 0 7px;
  flex: 1;
  min-width: 0;
}

.footer__col--left {
  padding-right: 0;
}

.footer__col--center {
  padding-left: 0;
}

.footer__col--right {
  padding-left: 0;
}

.footer__title {
  font-weight: 500;
  font-size: 28px;
  line-height: 1.19;
  letter-spacing: 0.01em;
  color: var(--pale-white);
  margin: 0 0 20px;
}

.footer__phone,
.footer__email,
.footer__telegram {
  font-weight: 500;
  font-size: 28px;
  line-height: 1.19;
  letter-spacing: 0.01em;
  color: var(--pale-white);
  margin: 0 0 8px;
}

.footer__divider {
  width: 274px;
  height: 1px;
  background: rgba(254, 254, 254, 0.6);
  margin: 28px 0 15px;
}

.footer__link {
  font-weight: 500;
  font-size: 16px;
  line-height: 1.375;
  color: var(--pale-white);
  display: inline-block;
}

.footer__link:hover {
  text-decoration: underline;
}

.footer__requisites {
  font-weight: 500;
  font-size: 16px;
  line-height: 1.375;
  color: var(--pale-white);
  margin: 0;
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  flex-shrink: 0;
}

.footer__address {
  font-weight: 500;
  font-size: 16px;
  line-height: 1.375;
  color: var(--pale-white);
  margin: 0;
}

.footer__policy {
  font-weight: 500;
  font-size: 16px;
  line-height: 1.375;
  color: var(--pale-white);
}

.footer__policy:hover {
  text-decoration: underline;
}

/* ========== Адаптив ========== */

/* Планшет 1024px */
@media (max-width: 1024px) {
  .hero {
    padding: 30px 20px 40px;
  }

  .hero__cards {
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
  }

  .hero__title {
    font-size: 36px;
    line-height: 1.1;
    margin-bottom: 40px;
  }

  .hero__link {
    font-size: 22px;
  }

  .hero__amount {
    font-size: 22px;
  }

  .hero__label-item--left {
    left: 80px;
    top: 20px;
  }

  .hero__label-item--right {
    left: 60%;
    top: 10px;
  }

  .hero__image {
    min-height: 300px;
  }

  .stats,
  .stories,
  .map-block,
  .faq {
    padding: 40px 20px;
  }

  .formula {
    margin: 0 20px 40px;
    padding: 60px 20px;
    min-height: 350px;
  }

  .stats__title,
  .map-block__title,
  .formula__title,
  .faq__title,
  .sms__title {
    font-size: 32px;
  }

  .faq__question {
    font-size: 22px;
    padding: 20px 24px;
  }

  .sms {
    padding: 40px 20px;
    min-height: auto;
  }

  .sms__content {
    grid-template-columns: minmax(0, 1fr) minmax(200px, 320px) minmax(0, 1fr);
    gap: 24px;
  }

  .sms__phone {
    width: 100%;
    max-width: 320px;
    justify-self: center;
  }

  .sms__arrow--left {
    left: 15%;
    top: 60px;
  }

  .sms__arrow--right {
    right: 15%;
    top: 100px;
  }

  .sms__info {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }

  .sms__info-col:last-child {
    grid-column: span 2;
  }
}

/* Планшет 768px */
@media (max-width: 768px) {
  .hero {
    padding: 24px 16px 32px;
  }

  .hero__cards {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto auto;
    gap: 6px;
  }

  .hero__card--small:not(.hero__card--bottom) {
    grid-column: 1;
    grid-row: 1;
  }

  .hero__card--medium {
    grid-column: 2;
    grid-row: 1 / 3;
  }

  .hero__card--bottom {
    grid-column: 1;
    grid-row: 2;
  }

  .hero__card--image {
    grid-column: 1 / -1;
    grid-row: 3;
    min-height: 200px;
  }

  .hero__labels {
    display: none;
  }

  .hero__title {
    font-size: 28px;
    line-height: 1.2;
    margin-bottom: 20px;
  }

  .hero__link {
    font-size: 16px;
  }

  .hero__amount {
    font-size: 16px;
  }

  .hero__text {
    font-size: 12px;
  }

  .hero__card {
    padding: 12px;
    border-radius: 6px;
  }

  .hero__card--orange {
    min-height: 72px;
  }

  .hero__card--medium {
    min-height: 160px;
  }

  .hero__card-arrow {
    width: 24px;
    height: 24px;
    top: 8px;
    right: 8px;
  }

  .hero__icon {
    width: 28px;
    height: 28px;
  }

  .hero__image {
    min-height: 150px;
  }

  .hero__card-content {
    padding-top: 12px;
  }

  .stats,
  .stories,
  .map-block,
  .faq {
    padding: 32px 16px;
  }

  .stats__title,
  .map-block__title,
  .formula__title,
  .faq__title,
  .sms__title {
    font-size: 26px;
  }

  .stats__text {
    margin-bottom: 24px;
  }

  .stories__title {
    margin-bottom: 24px;
  }

  .stories__slider {
    position: relative;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    margin: 0 -16px;
  }

  .stories__slider-nav {
    display: flex;
    justify-content: center;
    gap: 8px;
    order: 2;
  }

  .stories__slider-btn--prev,
  .stories__slider-btn--next {
    order: unset;
  }

  .stories__carousel {
    order: 1;
    width: 100%;
  }

  .stories__slider-btn {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    padding: 5px;
  }

  .stories__slider-btn img {
    width: 16px;
    height: 16px;
  }

  .stories__carousel:not(.owl-loaded) {
    grid-template-columns: 1fr;
  }

  .stories__card {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 0;
    align-items: stretch;
    overflow: hidden;
  }

  .stories__card-body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    padding: 16px;
  }

  .stories__card-img {
    width: 100%;
    height: auto;
    min-width: 0;
    margin-bottom: 0;
    aspect-ratio: 1;
    object-fit: cover;
  }

  .stories__card-name {
    font-size: 16px;
    margin-bottom: 8px;
  }

  .stories__card-text {
    font-size: 11px;
    line-height: 1.4;
  }

  .stories__carousel .owl-item .stories__card-img {
    width: 100%;
    height: auto;
    aspect-ratio: 1;
  }

  .map-block__map {
    display: flex;
    flex-direction: column;
  }

  .map-block__text {
    position: relative;
    order: -1;
    padding: 24px 16px;
  }

  .map-block__map-img {
    order: 0;
  }

  .formula {
    margin: 0 16px 32px;
    padding: 40px 16px;
    min-height: 280px;
  }

  .faq__question {
    font-size: 18px;
    padding: 18px 20px;
  }

  .faq__answer {
    padding: 0 20px 24px;
  }

  .sms {
    padding: 32px 16px;
  }

  .sms__container {
    padding: 0 16px;
  }

  .sms__content {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-bottom: 32px;
  }

  .sms__intro {
    order: 0;
  }

  .sms__example {
    order: 1;
    text-align: center;
    justify-self: center;
  }

  .sms__phone {
    order: 2;
    max-width: 280px;
    justify-self: center;
  }

  .sms__arrow--left,
  .sms__arrow--right {
    display: none;
  }

  .sms__example-text {
    font-size: 22px;
  }

  .sms__info {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .sms__info-col:last-child {
    grid-column: 1;
  }

  .sms__header {
    margin-bottom: 24px;
  }

  .sms__logos-img--desktop {
    display: none;
  }

  .sms__logos-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
  }

  .sms__logos-cell {
    aspect-ratio: 174 / 68;
    background-image: url('images/operator-logos.svg');
    background-size: 600% 100%;
    background-repeat: no-repeat;
    background-position: 0 0;
  }

  .sms__logos-cell:nth-child(1) { background-position: 0 0; }
  .sms__logos-cell:nth-child(2) { background-position: 20% 0; }
  .sms__logos-cell:nth-child(3) { background-position: 40% 0; }
  .sms__logos-cell:nth-child(4) { background-position: 60% 0; }
  .sms__logos-cell:nth-child(5) { background-position: 80% 0; }
  .sms__logos-cell:nth-child(6) { background-position: 100% 0; }
}

/* Мобильный 480px — по Figma mob_hero 360px */
@media (max-width: 480px) {
  .hero {
    padding: 20px 16px 28px;
  }

  .hero__title {
    font-size: 28px;
    line-height: 1.2;
    margin-bottom: 16px;
    max-width: 308px;
  }

  .hero__cards {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto auto;
    gap: 6px;
  }

  .hero__card--small:not(.hero__card--bottom) {
    grid-column: 1;
    grid-row: 1;
  }

  .hero__card--medium {
    grid-column: 2;
    grid-row: 1 / 3;
  }

  .hero__card--bottom {
    grid-column: 1;
    grid-row: 2;
  }

  .hero__card--image {
    grid-column: 1 / -1;
    grid-row: 3;
    min-height: 150px;
  }

  .hero__card {
    padding: 10px 12px;
    border-radius: 4px;
  }

  .hero__card--orange {
    min-height: 68px;
  }

  .hero__card--medium {
    min-height: 150px;
  }

  .hero__link {
    font-size: 14px;
  }

  .hero__amount {
    font-size: 14px;
  }

  .hero__text {
    font-size: 11px;
  }

  .hero__card-arrow {
    width: 20px;
    height: 20px;
    top: 6px;
    right: 6px;
  }

  .hero__icon {
    width: 24px;
    height: 24px;
  }

  .hero__card-content {
    padding-top: 8px;
  }

  .stories__title {
    margin-bottom: 20px;
    font-size: 22px;
  }

  .stories__card-body {
    padding: 12px;
  }

  .stories__card-name {
    font-size: 14px;
    margin-bottom: 6px;
  }

  .stories__card-text {
    font-size: 10px;
  }

  .stories__slider-btn {
    width: 28px;
    height: 28px;
  }

  .stats__title,
  .map-block__title,
  .formula__title,
  .faq__title,
  .sms__title {
    font-size: 22px;
  }

  .stories__carousel:not(.owl-loaded) {
    grid-template-columns: 1fr;
  }

  .stories__slider-btn {
    width: 32px;
    height: 32px;
  }

  .formula {
    padding: 32px 16px;
    min-height: 240px;
  }

  .faq__question {
    font-size: 16px;
    padding: 16px;
  }
}

/* ========== Адаптив: шапка и футер ========== */

/* Планшет */
@media (max-width: 1024px) {
  .header {
    padding: 0 20px;
  }

  .header__menu-bar {
    width: auto;
    flex: 1;
    margin-right: 0;
  }

  .header__logo {
    margin-right: 20px;
  }

  .header__menu {
    gap: 16px;
  }

  .header__link {
    font-size: 13px;
  }

  .footer {
    margin: 0 20px 40px;
    padding: 0 20px;
  }

  .footer__content {
    grid-template-columns: 1fr 1fr;
    gap: 24px 16px;
  }

  .footer__col--right {
    grid-column: span 2;
  }

  .footer__title,
  .footer__phone,
  .footer__email,
  .footer__telegram {
    font-size: 22px;
  }

  .footer__divider {
    width: 100%;
    max-width: 274px;
  }
}

/* Мобильный: шапка */
@media (max-width: 768px) {
  .header {
    position: relative;
    z-index: 200;
    height: auto;
    min-height: 60px;
    padding: 10px 16px;
    overflow: visible;
  }

  .header__container {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
  }

  .header__burger {
    display: flex;
    order: 0;
    flex-shrink: 0;
  }

  .header__logo--mobile {
    display: block;
    order: 1;
    flex: 1;
    margin: 0;
  }

  .header__logo--desktop {
    display: none;
  }

  .header__menu-bar {
    order: 3;
    width: 100%;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 20px 16px;
    background: #ffffff;
    border-radius: 0 0 10px 10px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 300;
    margin-top: 0;
    border-top: 1px solid rgba(158, 184, 194, 0.3);
  }

  .header--menu-open {
    background: #ffffff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  }

  .header--menu-open .header__menu-bar {
    display: flex;
  }

  .header--menu-open .header__menu-bar .header__link {
    color: var(--dark-blue);
  }

  .header__logo-img {
    width: 60px;
    height: 29px;
  }

  .header__menu {
    flex-direction: column;
    gap: 0;
    align-items: stretch;
  }

  .header__link {
    display: block;
    padding: 14px 0;
    font-size: 16px;
    border-bottom: 1px solid rgba(158, 184, 194, 0.2);
  }

  .header__link:last-child {
    border-bottom: none;
  }

  .header__donate {
    order: 2;
    flex: none;
    width: auto;
    min-width: 140px;
    padding: 10px 16px;
    font-size: 13px;
  }
}

/* Футер: мобильный */
@media (max-width: 768px) {
  .footer {
    height: auto;
    min-height: auto;
    margin: 0 16px 24px;
    padding: 24px 16px;
  }

  .footer__container {
    padding: 0;
  }

  .footer__content {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .footer__col--right {
    grid-column: 1;
  }

  .footer__title {
    font-size: 22px;
    margin-bottom: 12px;
  }

  .footer__phone,
  .footer__email,
  .footer__telegram {
    font-size: 18px;
    margin-bottom: 6px;
  }

  .footer__divider {
    margin: 16px 0 12px;
  }

  .footer__bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding-top: 20px;
  }

  .footer__address,
  .footer__policy,
  .footer__requisites {
    font-size: 14px;
  }
}
