*,
*::before,
*::after {
  box-sizing: border-box;
}

/* Убираем белую полосу справа глобально */
html, body {
  margin: 0 !important;
  padding: 0 !important;
  height: 100%;
  overflow-x: hidden; /* Убирает горизонтальный скролл */
}

h1, h2, h3, h4, h5, h6, p {
  margin: 0 0 1rem 0;
}

/* Шрифты */
@font-face {
  font-family: 'ProximaNova_Rg';
  src: url('../fonts/ProximaNova-Regular.eot');
  src: url('../fonts/ProximaNova-Regular.eot?#iefix') format('embedded-opentype'),
       url('../fonts/ProximaNova-Regular.woff2') format('woff2'),
       url('../fonts/ProximaNova-Regular.woff') format('woff'),
       url('../fonts/ProximaNova-Regular.ttf') format('truetype'),
       url('../fonts/ProximaNova-Regular.svg#ProximaNova-Regular') format('svg');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'ProximaNova_Bold';
  src: url('../fonts/ProximaNova-Bold.eot');
  src: url('../fonts/ProximaNova-Bold.eot?#iefix') format('embedded-opentype'),
       url('../fonts/ProximaNova-Bold.woff2') format('woff2'),
       url('../fonts/ProximaNova-Bold.woff') format('woff'),
       url('../fonts/ProximaNova-Bold.ttf') format('truetype'),
       url('../fonts/ProximaNova-Bold.svg#ProximaNova-Bold') format('svg');
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Floriselscript';
  src: url('../fonts/Floriselscript.eot');
  src: url('../fonts/Floriselscript.eot?#iefix') format('embedded-opentype'),
       url('../fonts/Floriselscript.woff2') format('woff2'),
       url('../fonts/Floriselscript.woff') format('woff'),
       url('../fonts/Floriselscript.ttf') format('truetype'),
       url('../fonts/Floriselscript.svg#Floriselscript') format('svg');
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'BetterLandRUS';
  src: url('../fonts/BetterLandRUS.eot');
  src: url('../fonts/BetterLandRUS.eot?#iefix') format('embedded-opentype'),
       url('../fonts/BetterLandRUS.woff2') format('woff2'),
       url('../fonts/BetterLandRUS.woff') format('woff'),
       url('../fonts/BetterLandRUS.otf') format('opentype'),
       url('../fonts/BetterLandRUS.svg#BetterLandRUS') format('svg');
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Actinia-Regular';
  src: url('../fonts/Actinia-Regular.eot');
  src: url('../fonts/Actinia-Regular.eot?#iefix') format('embedded-opentype'),
       url('../fonts/Actinia-Regular.woff2') format('woff2'),
       url('../fonts/Actinia-Regular.woff') format('woff'),
       url('../fonts/Actinia-Regular.otf') format('opentype'),
       url('../fonts/Actinia-Regular.svg#Actinia-Regular') format('svg');
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'DolomanPavljenko';
  src: url('../fonts/DolomanPavljenko.eot');
  src: url('../fonts/DolomanPavljenko.eot?#iefix') format('embedded-opentype'),
       url('../fonts/DolomanPavljenko.woff2') format('woff2'),
       url('../fonts/DolomanPavljenko.woff') format('woff'),
       url('../fonts/DolomanPavljenko.otf') format('opentype'),
       url('../fonts/DolomanPavljenko.svg#DolomanPavljenko') format('svg');
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}



/* Главный блок */
.main {
  background: #e3e3e3 url(../img/bg.jpg) no-repeat;
  background-size: contain;
  min-height: 100vh;
  overflow: hidden;
}

@media (max-width: 768px) {
  .main {
    background-image: url(../img/bg.jpg);
    background-position: center bottom;
  }
}

@media (max-width: 480px) {
  .main {
    background-image: url(../img/bg.jpg);
    background-position: center bottom;
  }
}
@media (max-width: 380px) {
  .main {
    background-image: url(../img/bg.jpg);
    background-position: center bottom;
  }
}

/* Полупрозрачный overlay перед таймером */
}

.footer {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
    background-color: #89ac76;
}
.footer p {
    margin-bottom: 0 !important;
}

/*Таймер отсчета*/


.time-unit { 
  text-align: center; 
  color: black; 
  padding: 15px 5px; 
  transition: all 0.3s ease;
  cursor: pointer;
}
.time-unit:hover { transform: scale(1.08); box-shadow: 0 10px 25px rgba(0,0,0,0.3); }

.time-number { 
  font-size: clamp(1.5rem, 5vw, 4rem); 
  font-family: 'Actinia-Regular'; 
  font-weight: bold;
  animation: pulse 1.5s infinite;
  text-shadow: 0 0 15px rgba(0,0,0,0.6);
}
.time-label { 
  font-size: clamp(0.7rem, 2.5vw, 1rem); 
  opacity: 0.95; 
  margin-top: 8px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.expired { 
  color: #ff6b7a !important; 
  font-size: clamp(1.5rem, 8vw, 3rem); 
  animation: bounce 1s infinite;
}

.header-title {
  font-size: clamp(1.5rem, 6vw, 3rem) !important;
  background: linear-gradient(45deg, #fff, #e0e0e0);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
/*
@keyframes pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.05); } }
@keyframes bounce { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
*/
/* Extra адаптивность */
@media (max-width: 576px) {
  .countdown-card { margin: 0 15px; padding: 3rem 1.5rem !important; }
  body { padding: 10px 0; }
}
@media (max-width: 400px) {
  .time-number { font-weight: 900; letter-spacing: -1px; }
}




/* Верхний блок с логотипом и телефоном */
.layone {
  text-align: center;
  margin-bottom: 1rem;
}

.layone-num {
  color: black;
  font-weight: bold;
  font-size: 1.1rem;
  padding: 0.5rem;
}

.layone-num a {
  font-family: 'ProximaNova_Bold', sans-serif;
  color: black;
  text-decoration: none;
}

.layone img {
  margin-top: 1rem;
}


/* Кнопки */
.layone-but {
  color: white;
  margin-top: 1rem;
  font-size: 1rem;
  background-color: #89AC76;
  border: none;
  font-family: 'ProximaNova_Rg', sans-serif;
  padding: 0.75rem 1.5rem;
  border-radius: 4px;
  min-height: 40px;
}

.layone-but:hover {
  background-color: #ACB78E;
}


/* Зелёный блок цен */
.greenBox {
  display: inline-block;
  min-height: 4rem;
  min-width: 10rem;
  max-width: 100%;
  padding: 1rem 1.25rem;
  background-color: #70c849;
  color: white;
  font-family: 'ProximaNova_Rg', sans-serif;
  font-size: 1.1rem;
  text-align: center;
  margin-bottom: 1.5rem;
}


/* Заголовки */
.header {
  margin-bottom: 1.5rem;
  font-family: 'DolomanPavljenko', sans-serif;
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  max-width: 100%;
  overflow-wrap: break-word;
  word-wrap: break-word;
  hyphens: auto;
  text-align: center;
}
.headerOne {
  margin-bottom: 2.5rem;
  font-family: 'DolomanPavljenko', sans-serif;
  font-size: 3rem;
  max-width: 100%;
  overflow-wrap: break-word;
  word-wrap: break-word;
  hyphens: auto;
  text-align: center;
}

.header3 {
  margin-bottom: 1rem;
  font-family: 'DolomanPavljenko', sans-serif;
  text-align: center;
}
.headerlist {
  font-family: 'DolomanPavljenko', sans-serif;
  font-size: 1.2rem;
  text-align: left;
}

.headRow {
  margin-bottom: 15rem;
}


.dataTime{
  font-family: 'Floriselscript';
  text-align: center;
  font-size: 2rem;
}

/* второй блок */
.lay2 { 
  margin-top: 5rem;
}
.img-second {
  max-width: 100%;
  height: auto; 
  margin-left: 15%;
  margin-top: 2rem;
  justify-content: center;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 
      0 20px 40px rgba(0, 0, 0, 0.7), /* Основная тень */
      0 0 0 1px rgba(255, 255, 255, 0.1), /* Легкая рамка */
      inset 0 2px 10px rgba(255, 255, 255, 0.2); /* Внутренний блеск */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Форма в шапке */
.form-header {
  text-align: center;
  font-size: 1rem;
  margin-bottom: 1.5rem;
}

.form {
  padding: 1.5rem 2rem;
  background-color: white;
  text-align: center;
}

/* Без position: absolute */
label {
  font-size: 0.9rem;
  font-family: 'ProximaNova_Bold', sans-serif;
  display: block;
  margin-bottom: 0.5rem;
}

.form-input {
  display: block;
  width: 100%;
  margin-bottom: 1.25rem;
  border: 1px solid #dddddd;
  padding: 0.75rem;
  border-radius: 4px;
  min-height: 45px;
}

.form-btn {
  color: white;
  margin-top: 1rem;
  font-size: 1rem;
  background-color: #89ac76;
  border: none;
  font-family: 'ProximaNova_Rg', sans-serif;
  padding: 0.75rem 1.5rem;
  border-radius: 4px;
  min-height: 50px;
  width: 100%;
  text-align: center;
}

button,
input,
a:focus {
  outline: none;
}

.form-btn:hover {
  color: white;
  background-color: #acb78e;
}


/* Модальное окно */
.popup {
  display: none;
  position: fixed;
  left: 0;
  top: 0;
  bottom: 0;
  right: 0;
  width: 100%;
  height: 100%;
  z-index: 1000;
  background-color: rgba(0, 0, 0, 0.5);
  overflow-y: auto;
}

.popup-content {
  position: relative;
  text-align: center;
  padding: 1.5rem;
  background-color: white;
  border-radius: 8px;
  max-width: 90vw;
  max-height: 90vh;
  margin: 1.5rem auto;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  overflow-y: auto;
}

.popup-header {
  font-weight: bold;
}

.map-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  overflow: hidden;
}

.map-card__header {
  background-color: #cacaca;
  padding: 16px;
  gap: 12px;
}

.map-card__title {
  font-family: DolomanPavljenko ;
  font-size: 1.5rem;
  font-weight: 900;
  line-height: 1.2;
  margin: 0;
}

.map-card__subtitle {
  font-family: DolomanPavljenko ;
  color: #6c757d;
  font-size: 1.2rem;
}

.map-wrap {
  border-top: 1px solid #e9ecef;
  min-height: 360px;
}

#yandex-map {
  width: 100%;
  height: 100%;
  min-height: 360px;
}

@media (max-width: 576px) {
  .map-card__header {
    padding: 14px;
  }

  .map-card__title {
    font-size: 1.1rem;
  }

  .map-card__subtitle {
    font-size: 0.9rem;
  }

  .map-wrap,
  #yandex-map {
    min-height: 280px;
  }

  #open-balloon-btn {
    width: 100%;
  }
}

.map-link {
  color: #0d6efd;
  text-decoration: underline;
  cursor: pointer;
  transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

.map-link:hover,
.map-link:focus {
  color: #0a58ca;
  text-decoration: underline;
  text-decoration-thickness: 2px;
}
.map-link__icon {
  font-size: 0.9em;
  margin-left: 4px;
}

.popup-close {
  background-color: transparent;
  border: none;
  font-size: 1.5rem;
  position: absolute;
  top: -20px;
  right: -20px;
  cursor: pointer;
  color: #666;
}

.popup-form {
  margin-top: 1rem;
}

.popup-form input {
  border-radius: 4px;
  padding: 0.75rem;
  margin-bottom: 1rem;
}

.popup textarea {
  border-radius: 4px;
  padding: 0.75rem;
  margin-bottom: 1rem;
}


/* Блок "Преимущества" */
.feature-header {
  margin-top: 1.5rem;
}

.section-header {
  text-align: center;
  font-family: 'Floriselscript';
  font-size: 3rem;
  margin-top: 2rem;
}

.features {
  background-color: #e3e3e3;
  overflow: hidden;
}

.features-block {
  text-align: center;
}

.features-block:focus {
  outline: none;
}

.features-block h3 {
  margin-bottom: 1rem;
  font-family: 'ProximaNova_Bold', sans-serif;
  font-size: 1.1rem;
}

.features-block p {
  display: block;
  font-size: 0.9rem;
  max-width: 100%;
}

.features-img {
  height: 6rem;
  margin-bottom: 0.5rem;
}
/*Жених невеста*/
.img-photo {
  max-width: 100%;
  height: auto;
  overflow: hidden;
  filter: drop-shadow(4px 6px 8px rgba(0, 0, 0, 0.7));
}
.namemolodoz {
  font-family:'Floriselscript';
  font-size: 4rem;
}


.features-img img {
  display: block;
  margin: 0 auto;
  max-width: 100%;
  height: auto;
}

/* Слайд‑кнопки для slick */
.prev {
  position: absolute;
  top: 50%;
  width: 20px;
  height: 20px;
  border: none;
  background: url(../img/left.png) center no-repeat;
  background-size: 100%;
  left: 0;
  z-index: 99;
  transform: scaleY(-50%);
}

.next {
  position: absolute;
  top: 50%;
  width: 20px;
  height: 20px;
  border: none;
  background: url(../img/right.png) center no-repeat;
  background-size: 100%;
  right: 0;
  z-index: 99;
  transform: scaleY(-50%);
}


/* Блок "Цены" */
.sectionThree {
  background-color: #26670a;
  padding: 4rem 0 0;
  overflow: hidden;
}

.three-header {
  color: white;
  margin-bottom: 1rem;
}

.three-header-btn {
  margin-top: 1rem;
  text-align: center;
  float: none;
  width: 100%;
  padding: 0.5rem 0;
}

.three-p {
  color: white;
}

.price-block {
  text-align: center;
  background-color: white;
  padding: 1.5rem;
  box-shadow: 0 7px 12px 0 rgba(0, 0, 0, 0.17);
  min-height: 15rem;
  margin-bottom: 1rem;
  max-width: 100%;
}

.price-block h4 {
  font-family: 'ProximaNova_Bold', sans-serif;
  font-size: 1rem;
  margin: 1rem 0;
}

.price-block img {
  width: 100%;
  max-width: 250px;
  display: block;
  margin: 0 auto 1rem;
}

.price-list {
  font-size: 1rem;
  font-family: 'ProximaNova_Rg', sans-serif;
  list-style: none;
  padding: 0;
  margin: 0;
  min-height: 8rem;
}

.price-list li:before {
  content: '';
  display: inline-block;
  width: 1rem;
  height: 1rem;
  margin-right: 0.5rem;
  background: url(../img/check.svg) no-repeat center;
  background-size: 100%;
  vertical-align: middle;
}

.price-list li {
  margin-bottom: 0.75rem;
}

.price-tag {
  font-family: 'ProximaNova_Bold', sans-serif;
  font-size: 1rem;
  display: block;
  margin-bottom: 1rem;
}


/* Блок "Отзывы" */
.feedback {
  background: url(../img/bgc.jpg) no-repeat center;
  background-size: cover;
  padding: 4rem 0;
  overflow: hidden;
  margin-bottom: 1rem;
}

.feedback-text {
  font-style: italic;
  padding: 0.75rem 1rem;
  border: 1px solid #26670a;
  border-radius: 4px;
}

.feedback-text::before {
  content: '';
  display: block;
  position: absolute;
  top: -10px;
  left: 40px;
  width: 1rem;
  height: 1rem;
  border: 1px solid #26670a;
  background-color: white;
  border-bottom: none;
  border-top-right-radius: 100px;
}

.feedback-slider {
  padding: 1.25rem;
  background-color: white;
  box-shadow: 0 6px 10px 0 rgba(0, 0, 0, 0.11);
  border-radius: 8px;
  overflow: hidden;
}

.feedback-slider .slick-list {
  overflow: hidden;
}

.feedback-slider .media {
  margin-top: 1.5rem;
  font-size: 0.9rem;
}

.feedback-slider p {
  font-size: 0.95rem;
}

.feedback-slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 3rem;
  height: 3rem;
  background-color: #26670a;
  border: none;
  border-radius: 50%;
  padding: 0;
}

.feedback-slider-btn img {
  width: 50%;
  height: auto;
}

/* Картинка руки в отзывах */
.hend {
  margin: 1.5rem auto 0;
  max-width: 90%;
  height: auto;
  display: block;
}

/* Форма в отзывной секции */
.feed-in {
  border-radius: 4px;
  padding: 0.75rem;
  margin-bottom: 1rem;
}

.but-feed {
  margin-top: 1rem;
}

.feedback-form {
  background-color: white;
  padding: 1.5rem 1rem;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.feedback-form h3 {
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}


/* Блок "Схема работы" */
.schemas {
  overflow: hidden;
}

.schemas-header {
  margin-top: 2.5rem;
}

.schemas-text {
  margin-top: -1rem;
}

.schemas-list {
  margin-top: 1.5rem;
  margin-bottom: 1rem;
  text-align: center;
}

.schemas-list h4 {
  margin-top: 1rem;
  font-family: 'ProximaNova_Bold', sans-serif;
  font-size: 0.9rem;
}

.schemas-list p {
  margin-top: 0.75rem;
  font-family: 'ProximaNova_Rg', sans-serif;
  font-size: 0.85rem;
}

/* Картинка руки в схеме */
.schemas-hand {
  margin: 1.5rem auto 0;
  max-width: 40%;
  height: auto;
  display: block;
}


/* Блок "Все на 100% включено" */
.allOn {
  margin-bottom: 3rem;
  overflow: hidden;
}

.allOn-header {
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
  text-align: center;
  font-family: 'ProximaNova_Bold', sans-serif;
  font-size: 1.5rem;
  color: #26670a;
}

.allOn-text {
  margin-bottom: 1.5rem;
  text-align: center;
  font-family: 'ProximaNova_Rg', sans-serif;
  font-size: 0.9rem;
}

.allOn-list {
  text-align: center;
}

.allOn-list p {
  margin-top: 0.5rem;
  font-family: 'ProximaNova_Rg', sans-serif;
  font-size: 0.85rem;
}

.allOn-list p strong {
  font-family: 'ProximaNova_Bold', sans-serif;
  font-size: 1rem;
}


/* Блок "Мы развеем все опасения" */
.problems {
  position: relative;
  overflow: hidden;
  padding: 2rem 0;
}

.problems-list {
  margin-bottom: 1.5rem;
  border: 1px solid #e8e8e8;
  padding: 1rem;
  max-width: 100%;
}

.problems-list-bad {
  border-color: #e8e8e8;
}

.problems-list-bad h4 {
  opacity: 0.5;
}

.problems-list-good {
  border-color: #358015;
}

.problems-list ul {
  list-style: none;
  padding: 0;
  margin-top: 0.75rem;
}

.problems-list ul li {
  padding-left: 1.5rem;
  position: relative;
  font-size: 0.9rem;
  font-family: 'ProximaNova_Rg', sans-serif;
  margin-bottom: 0.75rem;
}

.problems-list ul li::before {
  content: '';
  width: 1.25rem;
  height: 1.25rem;
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  background-size: 70%;
}

.problems-list ul li::before {
  background: url(../img/cancel-music.png) center no-repeat;
}

.problems-list-good ul li::before {
  background: url(../img/checked-symbol.png) center no-repeat;
}

/* Картинка женщины без position: absolute и без отрицательных margin */
.problems-woman {
  margin: 1.5rem auto 0;
  max-width: 80%;
  height: auto;
  display: block;
  border-radius: 8px;
}
.fade-in-scroll {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Активное состояние (когда видно) */
.fade-in-scroll.fade-in-active {
  opacity: 1;
  transform: translateY(0);
}

/* Вариации задержек */
.fade-in-scroll:nth-child(odd) { transition-delay: 0.1s; }
.fade-in-scroll:nth-child(even) { transition-delay: 0.2s; }