/* Страница /about: О нас */

/* Убираем зазор между секцией «О нас» и контактной формой на всех размерах экрана */
.page-about .about + main.container {
  padding: 0;
  margin: 0;
  min-height: 0;
}
.page-about .about {
  padding-bottom: 0;
  margin-bottom: 0;
}
/* Секция контактов не переопределяем — единый вид на всех страницах (contact.css) */
/* Убираем «призрачный» отступ под inline-block картинкой в конце секции */
.page-about .about__flower-wrap {
  line-height: 0;
}
.page-about .about__flower-img {
  display: block;
  margin-left: auto;
  margin-right: 0;
}

.about {
  background: #ffffff;
  padding: 70px 20px 80px;
  box-sizing: border-box;
}

.about__inner {
  max-width: 860px;
  margin: 0 auto;
}

/* Заголовок: слева Flowers_03s (30° по часовой), справа «О нас» */
.about__title-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.about__title-flower {
  width: 122px;
  height: 173px;
  object-fit: contain;
  transform: rotate(30deg);
  flex-shrink: 0;
}

.about__title {
  margin: 0;
  color: #815583;
  font-family: "TildaSans", Arial, sans-serif;
  font-weight: 300;
  font-size: 45px;
  line-height: 1.05;
}

.about__text {
  color: #815583;
  font-family: "TildaSans", Arial, sans-serif;
  font-weight: 300;
  font-size: 26px;
  line-height: 1.5;
  margin: 0 0 28px;
}

.about__text p {
  margin: 0 0 14px;
}

/* Больше пространства над указанными абзацами */
.about__text p:nth-child(2),
.about__text p:nth-child(3) {
  margin-top: 1.4em;
}
.about__text p:nth-child(4) {
  margin-top: 1.6em;
}

.about__text p:last-child {
  margin-bottom: 0;
}

.about__text strong {
  font-weight: 500;
}

.about__divider {
  display: block;
  margin: 72px auto;
  max-width: 100%;
  height: auto;
}

.about__text--center {
  text-align: center;
}

.about__requisites {
  color: #815583;
  font-family: "TildaSans", Arial, sans-serif;
  font-weight: 300;
  font-size: 26px;
  line-height: 1.5;
  margin: 0 0 24px;
}

.about__requisites p {
  margin: 0 0 14px;
}

/* Больше расстояния перед «Время работы» и «Реквизиты:» */
.about__requisites p:nth-of-type(2),
.about__requisites p:nth-of-type(3) {
  margin-top: 1.6em;
}

.about__requisites p:last-child {
  margin-bottom: 0;
}

.about__requisites strong {
  font-weight: 500;
}

/* Flowers_05: справа, прямо под текстом (без смещения вниз) */
.about__flower-wrap {
  margin-top: 24px;
  text-align: right;
}

.about__flower-img {
  display: inline-block;
  width: auto;
  height: auto;
  max-width: 220px;
}

@media (max-width: 768px) {
  .about {
    padding: 50px 16px 60px;
  }
  .about__title-row {
    gap: 16px;
    margin-bottom: 22px;
  }
  .about__title-flower {
    width: 90px;
    height: auto;
  }
  .about__title {
    font-size: 45px;
  }
  .about__text,
  .about__requisites {
    font-size: 26px;
    margin-bottom: 22px;
  }
  .about__divider {
    margin: 56px auto;
  }
  .about__flower-img {
    max-width: 180px;
  }
}

@media (max-width: 520px) {
  .about {
    padding: 40px 14px 50px;
  }
  .about__title-row {
    gap: 12px;
    margin-bottom: 18px;
  }
  .about__title-flower {
    width: 70px;
  }
  .about__title {
    font-size: 45px;
  }
  .about__text,
  .about__requisites {
    font-size: 26px;
    margin-bottom: 18px;
  }
  .about__divider {
    margin: 44px auto;
  }
  .about__flower-wrap {
    margin-top: 20px;
    text-align: center;
  }
  .about__flower-img {
    max-width: 140px;
  }
}
