body {
  margin: 0;
  padding: 0;
  background-image: url("images/bg.jpg");
  background-repeat: repeat-y;
  background-size: 100% auto; /* растянуть по ширине, сохранить высоту */
  background-position: top center;
  background-color: #f8fdf7;
  font-family: 'Lora', 'Nunito', sans-serif;
  color: #1b4332;
}


.form-container {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.6s ease forwards;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media print {
  body {
    margin: 2cm;
    font-size: 14pt;
    line-height: 1.5;
    color: #000;
  }

  .form-section {
    page-break-inside: avoid;
  }

  input, textarea {
    border: none;
    background: none;
  }
}


.custom-checkbox,
.custom-radio {
  margin-bottom: 22px;
}


@keyframes gentlePulse {
  0% {
    transform: scale(1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  }
  50% {
    transform: scale(1.035);
    box-shadow: 0 0 12px #98c9a3; /* цвет рамки */
  }
  100% {
    transform: scale(1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  }
}

.logo-container {
  width: 180px;
  margin: 0 auto;
  text-align: center;
  padding: 10px;
  border-radius: 12px;
  animation: gentlePulse 3.5s ease-in-out infinite;
  background-color: transparent;
}

.logo-container img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  will-change: transform, box-shadow;
}

h1, h2 {
  font-size: 28px;
  text-align: center;

}

h1, h2, h3 {
  font-family: 'Lora', serif;
  color: #2d6a4f;
  margin-bottom: 20px;
}

h3 {
	  font-size: 20px;

}

.instructions {
  font-family: 'Lora', serif;
  font-size: 19px;
  line-height: 1.6;
  color: #355d4d;
  text-align: center;
}

section {
    margin-bottom: 1em;
}

.top {

	margin-top: 100px;
}

label {
  display: block;
  margin-bottom: 1.5em; /* Было возможно меньше, увеличиваем */
  cursor: pointer;
}

.label-sweets {
	margin-top: 1.5em; /* отступ сверху для лучшего восприятия */
  font-family: 'Lora', serif;
  font-size: 17px;
  color: #2d6a4f;
}

textarea {
  margin-top: 12px; /* или 16px/20px — по вкусу */
}

.custom-textarea textarea {
  width: 95%;
  padding: 10px;
  font-size: 14px;
  border: 1px solid #ccc;
  border-radius: 6px;
  resize: vertical;
  /* margin-bottom: 15px; */
}

.custom-textarea-down {
	margin-bottom: 20px;
}

.label-title, .radio-title {
  display: block;               /* переносит текст на отдельную строку */
  font-weight: bold;            /* жирное начертание */
  margin-bottom: 20px;           /* отступ снизу перед полем ввода */
  font-family: 'Lora', serif;   /* стиль соответствует остальному оформлению */
  font-size: 17px;
  color: #2d6a4f;
  padding-left: 28px; /* отступ слева для выравнивания с чекбоксами */
}

.highlighted {
  background-color: #fff3cd;  /* Пастельно-жёлтый */
  padding: 2px 4px;
  border-radius: 3px;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.intro-link:hover .highlighted {
  background-color: #ffe8a0;  /* Чуть ярче при наведении */
  transform: translateY(-1px); /* Лёгкое всплытие */
}



.light-input {
  margin-bottom: 16px; /* регулируй по вкусу */
  padding: 8px 12px;
  border-radius: 6px;
  border: 1px solid #ccc;
  font-size: 14px;
  background-color: #f9f9f9;
}


input[type="text"],
input[type="email"],
textarea {
  width: 95%;
  padding: 10px 12px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-family: inherit;
  background-color: #fff;
  font-size: 16px;
}

input[type="checkbox"],
input[type="radio"] {
  margin-right: 8px;
}

.main-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  min-height: 48px;
  font-family: 'Lora', sans-serif;
  font-size: 16px;
  font-weight: normal;
  line-height: 1.2;
  color: #fff;
  border-radius: 6px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
  cursor: pointer;
  text-decoration: none;
  box-sizing: border-box;
}

.submit-button {
  background-color: #40916c;
  border: none;
}

.download-button {
  background-color: #43aa8b;
  margin-left: 10px;
  padding: 14px 24px;
}

.main-button:hover {
  background-color: #52b788;
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}


@media screen and (max-width: 480px) {
  body {
    padding: 10px;
    margin: 20px auto;
  }

    h1, h2 {
    font-size: 22px;

  }
}

h4 {

font-size: 17 px;
color: #2d6a4f;
}

form {
  background-color: #ffffff;
  padding: 0 30px 30px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  max-width: 700px;
  margin: auto;
}

.form-container {
  background-color: rgba(255, 255, 255, 0.9); /* белый с прозрачностью */
  padding: 30px;
  margin: 40px auto;
  max-width: 720px;
  border-radius: 16px;
  box-shadow: 0 6px 12px rgba(0,0,0,0.1);
}

input:focus, textarea:focus {
  border-color: #74c69d;
  outline: none;
  box-shadow: 0 0 6px rgba(116, 198, 157, 0.3);
}

::placeholder {
  font-family: 'Lora', serif;
  color: #6c757d;         /* элегантно-серый цвет, хорошо сочетается с твоей гаммой */
  font-size: 15px;
  font-style: italic;
  opacity: 1;             /* для стабильного отображения в разных браузерах */
}

label {
  font-family: 'Lora', serif;
  font-size: 16px;
  color: #2d6a4f;

}

.custom-label {
	margin-bottom: 60px;
}

.custom-checkbox {
  position: relative;
  padding-left: 36px;
  margin-bottom: 18px;
  font-family: 'Lora', serif;
  font-size: 17px;
  color: #2d6a4f;
  display: flex;
  align-items: center;
  gap: 12px;
}

.checkbox-title {
  display: block;
  margin-bottom: 15px;
  font-weight: bold;
    padding-left: 28px;
}

.checkbox-note {
 background-color: #f0fdf4;
  color: #2d6a4f;
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 16px;
  font-family: 'Lora', sans-serif;
  text-align: center;
  margin-bottom: 10px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.04);
}

.custom-checkbox input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  cursor: pointer;
}

.custom-checkbox .checkmark {
  position: absolute;
    left: 0;
  height: 20px;
  width: 20px;
  background-color: #fff;
  border: 2px solid #74c69d;
  border-radius: 6px;
  transition: all 0.3s ease;
}


.custom-checkbox:hover .checkmark {
  background-color: #eaf4ef;
  border-color: #52b788;
  box-shadow: 0 0 4px rgba(82, 183, 136, 0.6);
}


.custom-checkbox input:checked ~ .checkmark {
  background-color: #74c69d;
  box-shadow: inset 0 0 0 2px #fff;
}

/* Галочка */
.custom-checkbox .checkmark::after {
  content: "";
  position: absolute;
  display: none;
  left: 6px;
  top: 2px;
  width: 5px;
  height: 10px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.custom-checkbox input:checked ~ .checkmark::after {
  display: block;
}

.custom-radio {
  position: relative;
  padding-left: 36px;
  margin-bottom: 18px;
  font-family: 'Lora', serif;
  font-size: 17px;
  color: #2d6a4f;
  display: flex;
  align-items: center;
  gap: 12px;
}

radiomark-up {
	margin-top: 20px;
}

.custom-radio input[type="radio"] {
  position: absolute;
  opacity: 0;
  cursor: pointer;
}

.custom-radio .radiomark {
  position: absolute;
	left: 0;
  height: 20px;
  width: 20px;
  border-radius: 50%;
  border: 2px solid #74c69d;
  background-color: #fff;
  transition: all 0.3s ease;

}


/* При наведении */
.custom-radio:hover .radiomark, label-title .custom-radio:hover .radiomark {
  background-color: #eaf4ef;
  border-color: #52b788; /* насыщенный зелёный при ховере */
  box-shadow: 0 0 4px rgba(82, 183, 136, 0.6); /* лёгкое свечение */
}

/* При выборе — показать внутреннюю точку */
.custom-radio input:checked ~ .radiomark {
  background-color: #74c69d;
}

.custom-radio .radiomark::after {
  content: "";
  position: absolute;
  display: none;
  top: 5px;
  left: 5px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #fff;
}

.custom-radio input:checked ~ .radiomark::after {
  display: block;
}

.svg-divider {
  position: relative;
  border: none;
  height: 46px; /* высота контейнера — чтобы влезла иконка */
  margin:5px auto;
}

.svg-divider::after {
  content: "";
  position: absolute;
  bottom: 0; /* линия снизу контейнера */
  left: 0;
  height: 2px; /* толщина линии */
  width: 100%;
  background: linear-gradient(to right, #74c69d 0%, transparent 50%, #74c69d 100%);
  top: 50%;
transform: translateY(-1px);
}

/* SVG-иконка в центре линии */

.svg-divider-information::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 46px;
  height: 46px;
  transform: translate(-50%, -50%);
  background: url("images/icons/herb.svg") no-repeat center;
  background-size: contain;
}

.svg-divider-energy::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 36px;
  height: 36px;
  transform: translate(-50%, -50%);
  background: url("images/icons/cereal.svg") no-repeat center;
  background-size: contain;
}

.svg-divider-food::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 40px;
  height: 40px;
  transform: translate(-50%, -50%);
  background: url("images/icons/salad.svg") no-repeat center;
  background-size: contain;
}

.svg-divider-body::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 38px;
  height: 38px;
  transform: translate(-50%, -50%);
  background: url("images/icons/checklist.svg") no-repeat center;
  background-size: contain;
}

.svg-divider-medecine::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 30px;
  height: 30px;
  transform: translate(-50%, -50%);
  background: url("images/icons/wish-list-checklist.svg") no-repeat center;
  background-size: contain;
}

.svg-divider-sleep::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 30px;
  height: 30px;
  transform: translate(-50%, -50%);
  background: url("images/icons/sleeping.svg") no-repeat center;
  background-size: contain;
}

.svg-divider-women::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 43px;
  height: 43px;
  transform: translate(-50%, -50%);
  background: url("images/icons/gardener-woman.svg") no-repeat center;
  background-size: contain;
}

.svg-divider-comments::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 36px;
  height: 36px;
  transform: translate(-50%, -50%);
  background: url("images/icons/community-comments.svg") no-repeat center;
  background-size: contain;
}

input:hover,
textarea:hover {
  border-color: #40916c;
}

/* Стили для radio-кнопок, в стиле чекбоксов */
.custom-radio {
    display: flex;
    align-items: center;
    margin-bottom: 1em;
    cursor: pointer;
    position: relative;
    padding-left: 28px; /* отступ для кружочка */
    font-size: 17px;
}

/* .custom-radio-group-down {

margin-bottom: 600px;

} */

/* Скрываем стандартный radio */
.custom-radio input[type="radio"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

/* Кружок */
.custom-radio .checkmark {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 18px;
    width: 18px;
    background-color: #eee;
    border-radius: 50%;
    border: 2px solid #ccc;
}

/* Когда выбрано — внутренний кружок */
.custom-radio input[type="radio"]:checked ~ .checkmark {
    background-color: #52B788;
    border-color: #52B788;
}

.custom-radio .checkmark::after {
    content: "";
    position: absolute;
    display: none;
    top: 4px;
    left: 4px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: white;
}

.custom-radio input[type="radio"]:checked ~ .checkmark::after {
    display: block;
}

.textarea-title {
  display: block;
  font-family: 'Lora', serif;
  font-size: 16px;
  font-weight: bold;
  color: #2d6a4f;
  margin-bottom: 8px; /* вот он — аккуратный отступ вниз */
    padding-left: 28px;
}

/* Ползунок */

.slider-wrapper {
  max-width: 500px;
  margin: 40px auto;
  text-align: center;
  font-family: sans-serif;
}

.slider-wrapper label {
  display: block;
  margin-bottom: 12px;
  font-weight: bold;
  font-size: 20px;
}

.slider-value {
  margin-top: 12px;
  font-size: 18px;
  color: #333;
  font-weight: 600;
}

.slider-hint {
  background-color: #f0fdf4;
  color: #2d6a4f;
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 16px;
  font-family: 'Lora', sans-serif;
  text-align: center;
  margin-bottom: 10px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.04);
}


input[type="range"][name="Уровень стресса"] {
  -webkit-appearance: none;
  width: 100%;
  height: 16px;
  border-radius: 8px;
  background: #ccc;
  outline: none;
  transition: background 0.3s ease;
  margin-top: 12px;
}

/* Трек */
input[type="range"]::-webkit-slider-runnable-track {
  height: 16px;
  border-radius: 8px;
}

/* Ползунок */
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 28px;
  height: 28px;
  background-color: #74c69d;
  border-radius: 50%;
  cursor: pointer;
  margin-top: -6px;
  box-shadow: 0 0 3px rgba(0, 0, 0, 0.2);
}

input[type="range"]:active::-webkit-slider-thumb {
  background-color: #57b78d;
}

/* Firefox */
input[type="range"]::-moz-range-track {
  height: 16px;
  border-radius: 8px;
  background: #ccc;
}

input[type="range"]::-moz-range-thumb {
  width: 28px;
  height: 28px;
  background-color: #74c69d;
  border: none;
  border-radius: 50%;
  cursor: pointer;
}

input[type="range"] {
  --range-fill: #74c69d;
  background: linear-gradient(to right, var(--range-fill) 0%, #ccc 0%);
  border-radius: 8px;
  appearance: none;
}

.slider-label {
  font-family: 'Lora', serif;
  font-size: 18px;
  font-weight: 600;
  color: #2d6a4f;
  margin-right: 6px;
}

/* Стили слайдера энергии */

input[type="range"][name="Уровень энергии"] {
  -webkit-appearance: none;
  width: 100%;
  height: 16px;
  border-radius: 8px;
  background: #ccc;
  outline: none;
  transition: background 0.3s ease;
  margin-top: 12px;
}

input[type="range"][name="Уровень энергии"] {
  --range-fill: #f5c542; /* или #74c69d — можно подбирать динамически */
  background: linear-gradient(to right, var(--range-fill) 0%, #ccc 0%);
}

/* Слайдер активности */
.activity-slider {
  max-width: 500px;
  margin: 40px auto;
  text-align: center;
  font-family: 'Lora', serif;
}

.activity-slider label {
  display: block;
  margin-bottom: 12px;
  font-weight: bold;
  font-size: 20px;
  color: #2d6a4f;
}

input[type="range"][name="Уровень активности"] {
  -webkit-appearance: none;
  width: 100%;
  height: 16px;
  border-radius: 8px;
  background: #ccc;
  outline: none;
  transition: background 0.3s ease;
  margin-top: 12px;
}

input[type="range"][name="Уровень активности"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 28px;
  height: 28px;
  background-color: #74c69d;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 0 3px rgba(0, 0, 0, 0.2);
  margin-top: -6px;
}

.activity-value {
  margin-top: 12px;
  font-size: 18px;
  color: #333;
  font-weight: 600;
}

#activityDisplay {
  display: inline-block;
  width: 100%;
  max-width: 280px;
  min-height: 70px;
  font-size: 18px;
  font-weight: 600;
  color: #2d6a4f;
  text-align: center;
  transition: all 0.3s ease;
  background-color: transparent;
  border: none;
}

.logo-link-youtube:hover img {
  box-shadow: 0 0 16px #74c69d;
}

.intro-card {
  background-color: #fefcf8;
  border: 2px solid #cce3d8;
  border-radius: 16px;
  padding: 30px 36px;
  margin: auto 30px 1em;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  max-width: 720px;
  text-align: center;
  font-family: 'Lora', serif;
  line-height: 1.7;
  color: #2d6a4f;
}

.intro-card .logo-container {
  width: 160px;
  margin: 0 auto 20px;
  animation: gentlePulse 3.5s ease-in-out infinite;
}

.intro-card .logo-container img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}

.intro-link,
.intro-link:visited {
  text-decoration: none;
  color: #355d4d; /* ваш основной цвет */
  transition: color 0.3s ease;
}

.intro-link:hover {
  color: #228b22; /* зелёный акцент при наведении */
}

.final-section {
  text-align: center;
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid #ccc;
}

.end-page {
  font-family: 'Lora', serif;
  font-size: 24px;
  color: #1b4332;
  margin-bottom: 24px;
}

.final-contacts-row {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  color: #1b4332;
}

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