/* === PREDSTONORM — WHAT IS SECTION (по ТЗ) === */

.psn-section-what {
  padding: 60px 0;
  background-color: #ffffff;
  color: #333;
  font-family: 'PT Sans', sans-serif;
}

.psn-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Центрированный заголовок */
.psn-title-center {
  text-align: center;
  font-size: 36px;
  line-height: 1.3;
  font-weight: 700;
  text-transform: uppercase;
  color: #2e2e2e;
  margin-bottom: 40px;
}

/* Две колонки */
.psn-two-column {
  display: flex;
  align-items: center;
  gap: 60px;
  max-width: 1100px;
  margin: 0 auto;
}

.psn-col-text {
  flex: 1;
  font-size: 18px;
  line-height: 1.7;
  color: #444;
}

.psn-col-image {
  flex: 0 0 295px;
  display: flex;
  justify-content: center;
}

.psn-col-image img {
  width: 295px;
  height: 353px;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
}

/* === Мобильная версия: колонки становятся вертикальными === */
@media (max-width: 768px) {
  .psn-two-column {
    flex-direction: column;
    text-align: center;
    gap: 30px;
  }

  .psn-title-center {
    font-size: 32px;
    margin-bottom: 30px;
  }

  .psn-col-image {
    order: -1; /* картинка сверху */
  }
}








/* === PREDSTONORM — THERAPEUTIC EFFECTS (красивый дизайн) === */

.psn-section-effects {
  padding: 80px 0;
  background: #f9fbfd;
  color: #333;
  font-family: 'PT Sans', sans-serif;
}

.psn-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.psn-title-center {
  text-align: center;
  font-size: 36px;
  line-height: 1.3;
  font-weight: 700;
  text-transform: uppercase;
  color: #2e2e2e;
  margin-bottom: 20px;
}

.psn-subtitle-center {
  text-align: center;
  font-size: 18px;
  color: #555;
  max-width: 800px;
  margin: 0 auto 50px;
}

/* Сетка из 3 колонок на десктопе, 1 на мобиле */
.psn-effects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 20px;
}

/* Карточка эффекта */
.psn-effect-card {
  background: white;
  border-radius: 16px;
  padding: 30px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  opacity: 0;
  transform: translateY(20px);
  animation: psn-fadeInUp 0.6s forwards;
}

.psn-effect-card:nth-child(1) { animation-delay: 0.1s; }
.psn-effect-card:nth-child(2) { animation-delay: 0.2s; }
.psn-effect-card:nth-child(3) { animation-delay: 0.3s; }
.psn-effect-card:nth-child(4) { animation-delay: 0.4s; }
.psn-effect-card:nth-child(5) { animation-delay: 0.5s; }
.psn-effect-card:nth-child(6) { animation-delay: 0.6s; }

.psn-effect-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

/* SVG иконка */
.psn-effect-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
}

.psn-effect-icon svg {
  width: 100%;
  height: 100%;
}

/* Заголовок эффекта */
.psn-effect-title {
  font-size: 20px;
  font-weight: 700;
  color: #2e2e2e;
  margin-bottom: 14px;
  text-align: center;
}

/* Текст эффекта */
.psn-effect-text {
  font-size: 16px;
  line-height: 1.6;
  color: #555;
  text-align: center;
}

/* Анимация появления */
@keyframes psn-fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* === Мобильная адаптация === */
@media (max-width: 768px) {
  .psn-section-effects {
    padding: 60px 0;
  }

  .psn-title-center {
    font-size: 32px;
  }

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

  .psn-effect-card {
    padding: 24px;
  }
}







/* === PREDSTONORM — ACTIVE INGREDIENTS (визуально богатая секция) === */

.psn-section-ingredients {
  padding: 80px 0;
  background: #ffffff;
  color: #333;
  font-family: 'PT Sans', sans-serif;
}

.psn-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.psn-title-center {
  text-align: center;
  font-size: 36px;
  line-height: 1.3;
  font-weight: 700;
  text-transform: uppercase;
  color: #2e2e2e;
  margin-bottom: 20px;
}

.psn-subtitle-center {
  text-align: center;
  font-size: 18px;
  color: #555;
  max-width: 800px;
  margin: 0 auto 60px;
}

.psn-ingredients-grid {
  display: flex;
  flex-direction: column;
  gap: 70px;
}

.psn-ingredient-card {
  display: flex;
  align-items: center;
  gap: 40px;
  opacity: 0;
  transform: translateY(30px);
  animation: psn-fadeInUp 0.8s forwards;
}

.psn-ingredient-card.psnn-reverse {
  flex-direction: row-reverse;
}

.psn-ingredient-image {
  flex: 0 0 500px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.psn-ingredient-image img {
  width: 100%;
  height: 500px;
  object-fit: cover;
}

.psn-ingredient-content {
  flex: 1;
  padding: 10px 0;
}

.psn-ingredient-icon {
  width: 64px;
  height: 64px;
  margin-bottom: 20px;
}

.psn-ingredient-icon svg {
  width: 100%;
  height: 100%;
}

.psn-ingredient-title {
  font-size: 24px;
  font-weight: 700;
  color: #d63300;
  margin-bottom: 16px;
}

.psn-ingredient-text {
  font-size: 16px;
  line-height: 1.7;
  color: #444;
  margin-bottom: 14px;
}

/* Анимация появления карточек */
@keyframes psn-fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.psn-ingredient-card:nth-child(1) { animation-delay: 0.2s; }
.psn-ingredient-card:nth-child(2) { animation-delay: 0.4s; }
.psn-ingredient-card:nth-child(3) { animation-delay: 0.6s; }

/* === Мобильная версия === */
@media (max-width: 900px) {
  .psn-ingredient-card,
  .psn-ingredient-card.psnn-reverse {
    flex-direction: column;
    text-align: center;
  }

  .psn-ingredient-image {
    flex: 0 0 300px;
    max-width: 300px;
    margin: 0 auto;
  }

  .psn-ingredient-content {
    text-align: center;
  }

  .psn-ingredient-image img {
    height: 300px;
  }
}







/* === PREDSTONORM — PACKAGE LEAFLET (медицинский стиль) === */

.psn-section-leaflet {
  padding: 80px 0;
  background-color: #f7f9fc;
  color: #333;
  font-family: 'PT Sans', sans-serif;
}

.psn-container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
}

.psn-leaflet-box {
  background: white;
  border: 1px solid #e0e0e0;
  border-radius: 16px;
  padding: 40px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.psn-leaflet-title {
  font-size: 24px;
  font-weight: 700;
  text-align: center;
  color: #2e2e2e;
  margin-bottom: 30px;
  line-height: 1.4;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.psn-leaflet-item {
  margin-bottom: 24px;
}

.psn-leaflet-subtitle {
  font-size: 18px;
  font-weight: 700;
  color: #d63300;
  margin-bottom: 8px;
  border-bottom: 1px dashed #ddd;
  padding-bottom: 4px;
}

.psn-leaflet-text {
  font-size: 16px;
  line-height: 1.7;
  color: #444;
  margin: 0;
}

/* === Мобильная адаптация === */
@media (max-width: 768px) {
  .psn-leaflet-box {
    padding: 30px 20px;
  }

  .psn-leaflet-title {
    font-size: 22px;
  }

  .psn-leaflet-subtitle {
    font-size: 17px;
  }

  .psn-leaflet-text {
    font-size: 15px;
  }
}






/* === PREDSTONORM — PHARMACIST'S OPINION (экспертный стиль) === */

.psn-section-pharmacist {
  padding: 80px 0;
  background-color: #f9f9f9;
  color: #333;
  font-family: 'PT Sans', sans-serif;
}

.psn-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.psn-pharmacist-box {
  display: flex;
  align-items: center;
  gap: 60px;
  background: white;
  border-radius: 16px;
  padding: 40px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  margin: 0 auto;
  max-width: 1100px;
}

.psn-pharmacist-image {
  flex: 0 0 320px;
  text-align: center;
}

.psn-pharmacist-image img {
  width: 320px;
  height: 480px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
}

.psn-pharmacist-content {
  flex: 1;
}

.psn-pharmacist-title {
  font-size: 32px;
  line-height: 1.3;
  font-weight: 700;
  text-transform: uppercase;
  color: #2e2e2e;
  margin-bottom: 20px;
}

.psn-pharmacist-info {
  margin-bottom: 24px;
}

.psn-pharmacist-name {
  font-size: 20px;
  font-weight: 700;
  color: #d63300;
  margin-bottom: 6px;
}

.psn-pharmacist-role {
  font-size: 16px;
  color: #555;
  margin: 0;
}

.psn-pharmacist-comment {
  margin-bottom: 30px;
}

.psn-pharmacist-text {
  font-size: 17px;
  line-height: 1.7;
  color: #444;
  margin-bottom: 16px;
}

.psn-pharmacist-footer {
  display: flex;
  align-items: center;
  gap: 12px;
}

.psn-pharmacist-icon {
  width: 40px;
  height: 40px;
}

.psn-pharmacist-icon svg {
  width: 100%;
  height: 100%;
}

.psn-pharmacist-note {
  font-size: 14px;
  font-weight: 600;
  color: #333;
  margin: 0;
}

/* === Мобильная адаптация === */
@media (max-width: 768px) {
  .psn-pharmacist-box {
    flex-direction: column;
    text-align: center;
    padding: 30px 20px;
  }

  .psn-pharmacist-image {
    order: -1;
    margin-bottom: 20px;
  }

  .psn-pharmacist-image img {
    width: 100%;
    max-width: 300px;
    height: auto;
  }

  .psn-pharmacist-title {
    font-size: 28px;
  }

  .psn-pharmacist-name {
    font-size: 18px;
  }
}






/* === PREDSTONORM — REVIEWS SECTION (с звёздами и фото) === */

.psn-section-reviews {
  padding: 80px 0;
  background-color: #ffffff;
  color: #333;
  font-family: 'PT Sans', sans-serif;
}

.psn-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.psn-title-center {
  text-align: center;
  font-size: 36px;
  line-height: 1.3;
  font-weight: 700;
  text-transform: uppercase;
  color: #2e2e2e;
  margin-bottom: 15px;
}

.psn-subtitle-center {
  text-align: center;
  font-size: 18px;
  color: #555;
  max-width: 800px;
  margin: 0 auto 50px;
}

/* Общий обзор отзывов */
.psn-reviews-summary {
  display: flex;
  gap: 40px;
  margin-bottom: 50px;
  flex-wrap: wrap;
}

.psn-summary-rating {
  flex: 0 0 300px;
  text-align: center;
}

.psn-stars {
  font-size: 28px;
  color: #f5a623;
  margin-bottom: 10px;
  line-height: 1;
}

.psn-rating-text {
  font-size: 18px;
  color: #333;
  font-weight: 600;
}

.psn-summary-text {
  flex: 1;
  font-size: 16px;
  line-height: 1.7;
  color: #444;
}

/* Сетка отзывов */
.psn-reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

/* Карточка отзыва */
.psn-review-card {
  background: #f9f9f9;
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

.psn-review-card:hover {
  transform: translateY(-4px);
}

/* Заголовок отзыва */
.psn-review-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.psn-review-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #e0e0e0;
}

.psn-review-author {
  flex: 1;
}

.psn-review-name {
  font-size: 18px;
  color: #2e2e2e;
  display: block;
}

.psn-review-age {
  font-size: 14px;
  color: #777;
}

.psn-review-stars {
  font-size: 16px;
  color: #f5a623;
  white-space: nowrap;
}

/* Текст отзыва */
.psn-review-text {
  font-size: 16px;
  line-height: 1.6;
  color: #333;
  font-style: italic;
  margin: 0;
  font-weight: 500;
}

/* === Мобильная адаптация === */
@media (max-width: 768px) {
  .psn-title-center {
    font-size: 32px;
  }

  .psn-reviews-summary {
    flex-direction: column;
    align-items: stretch; /* вместо center — чтобы блоки тянулись на всю ширину */
    text-align: center;
    gap: 30px; /* можно добавить gap вместо margin для контроля расстояния */
  }

  /* Убираем фиксированную ширину, делаем адаптивной */
  .psn-summary-rating {
    flex: none;
    width: 100%;
    max-width: 300px;
    margin: 0 auto; /* центрируем блок рейтинга */
    text-align: center;
  }

  .psn-stars {
    font-size: 28px;
    justify-content: center;
    display: flex;
    margin-bottom: 10px;
  }

  .psn-rating-text {
    font-size: 18px;
  }

  .psn-summary-text {
    font-size: 16px;
    line-height: 1.7;
    color: #444;
    padding: 0 10px; /* небольшие отступы, если текст упирается в края */
  }

  .psn-reviews-grid {
    grid-template-columns: 1fr;
  }
}





/* === PREDSTONORM FAQ — БЕЗОПАСНАЯ СЕКЦИЯ (никаких конфликтов) === */

/* Сброс только для этой секции — локально */
.psnfaq-section {
  padding: 80px 0;
  background-color: #f9fbfd;
  color: #333;
  font-family: 'PT Sans', sans-serif;
  line-height: 1.6;
}

.psnfaq-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
}

.psnfaq-title {
  font-size: 36px;
  font-weight: 700;
  text-transform: uppercase;
  text-align: center;
  color: #2e2e2e;
  margin-bottom: 15px;
}

.psnfaq-subtitle {
  font-size: 18px;
  color: #555;
  text-align: center;
  margin-bottom: 50px;
}

.psnfaq-list {
  /* Без display: flex/grid — безопасно */
}

.psnfaq-item {
  margin-bottom: 24px;
}

.psnfaq-question {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 8px;
}

.psnfaq-icon {
  font-size: 20px;
  min-width: 24px;
  line-height: 1;
}

.psnfaq-q-text {
  font-size: 18px;
  color: #2e2e2e;
}

.psnfaq-answer {
  padding-left: 36px; /* Отступ под иконку */
  font-size: 16px;
  color: #444;
}

.psnfaq-answer p {
  margin: 0;
  line-height: 1.6;
}

/* === Мобильная адаптация (безопасная) === */
@media (max-width: 768px) {
  .psnfaq-section {
    padding: 60px 0;
  }

  .psnfaq-title {
    font-size: 32px;
  }

  .psnfaq-q-text {
    font-size: 17px;
  }

  .psnfaq-answer {
    padding-left: 36px;
    font-size: 15px;
  }
}




.top_line {
  background-color: #000 !important;
  width: 100vw !important;
  margin-left: calc((100% - 100vw) / 2) !important; /* центрирует блок по ширине экрана */
  padding: 15px 0 !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  text-align: center !important;
  box-sizing: border-box !important;
  position: relative !important;
  z-index: 1 !important;
}

.top_line_list {
  display: flex !important;
  justify-content: center !important;
  gap: 20px !important;
  padding: 0 15px !important;
  margin: 0 auto !important;
  list-style: none !important;
  flex-wrap: wrap !important;
  max-width: 1200px !important;
  width: 100% !important;
}

.top_line_theme {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  text-align: center !important;
  flex: 1 !important;
  min-width: 160px !important;
  max-width: 250px !important;
}

.top_line_list_icon {
  max-width: 60px !important;
  height: auto !important;
  margin: 0 auto 8px auto !important;
}

.top_list_text {
  margin: 0 !important;
  padding: 0 !important;
  font-size: 14px !important;
  line-height: 1.4 !important;
  color: #fff !important; /* белый текст — виден на чёрном фоне */
}




/* Селект страны — 80% + отступ снизу */
.country_select {
    width: 80%;
    height: 39px;
    padding: 0 10px;
    border: 1px solid #7f7f7f;
    border-radius: 3px;
    font-family: 'Open Sans', sans-serif;
    font-size: 18px;
    color: #909191;
    margin: 0 auto 12px auto; /* отступ только снизу */
    display: block;
    box-sizing: border-box;
}

/* Поле ввода имени — 80% + отступ снизу */
form input[name="name"] {
    width: 80%;
    height: 39px;
    padding: 0 10px;
    border: 1px solid #7f7f7f;
    border-radius: 3px;
    font-family: 'Open Sans', sans-serif;
    font-size: 18px;
    color: #909191;
    margin: 0 auto 12px auto; /* отступ снизу */
    display: block;
    box-sizing: border-box;
}

/* Поле ввода телефона — 80% + отступ снизу */
form input[name="phone"] {
    width: 80%;
    height: 39px;
    padding: 0 10px;
    border: 1px solid #7f7f7f;
    border-radius: 3px;
    font-family: 'Open Sans', sans-serif;
    font-size: 18px;
    color: #909191;
    margin: 0 auto 12px auto; /* отступ снизу */
    display: block;
    box-sizing: border-box;
}

/* Кнопка — 80% + отступ снизу на мобильных */
form button[type="submit"] {
    width: 80%;
    padding: 15px 0;
    margin: 15px auto 20px auto; /* 20px снизу — теперь есть */
    display: block;
    background: linear-gradient(to bottom, #c0e12c, #93cd01);
    color: #2f4201;
    font-family: 'PT Sans Narrow', sans-serif;
    font-size: 35px;
    font-weight: 700;
    text-transform: uppercase;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    box-shadow: 0 5px 3px rgba(103, 135, 34, 0.5);
}

/* Отступ снизу у кнопки на мобильных */
@media (max-width: 480px) {
    form button[type="submit"] {
        margin: 15px auto 30px auto; /* Увеличенный отступ на маленьких экранах */
    }
}


@media (max-width: 480px) {
    .form_block {
        padding-bottom: 30px !important;
        overflow: visible !important;
        height: auto !important;
        min-height: auto !important;
    }
}