* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: 'Inter', sans-serif;
}

a {
  text-decoration: none;
}
body {
  background: #f8f9fa;
  color: #333;
  line-height: 1.6;
}

header {
  background: #8ebb43;
  color: white;
  padding: 80px 20px 50px 20px;
  text-align: center;
  position: relative;
}
/* header {
  position: relative;
  overflow: hidden;
  color: white;
  text-align: center;
  padding: 80px 20px 50px 20px;
  z-index: 1;
} */

.bg-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  z-index: 1;
  opacity: 0.7;
  -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=70)"; /* змініть для регулювання прозорості */
  pointer-events: none;
}

header:not(.show-menu) > *:not(video) {
   position: relative; 
  z-index: 1;
}


header h1 {
  font-size: 40px;
  font-size: 2.5rem;
  margin-bottom: 10px;
}
header .prod-img {
  background: #ffffff4f;
  width: 200px;
  margin: 20px auto;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);

}
header .prod-img img{
  max-width: 200px;
}

header p {
  font-size: 19.2px;
  font-size: 1.2rem;
  margin-bottom: 20px;
}

header .cta-btn {
  /* background: white;
  color: #8ebb43; */
  background: #8ebb43;
  color: #fff;
  border: 1px solid;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: bold;
  text-decoration: none;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

/* Оновлене меню */
nav {
  width: 100%; /* Меню на всю ширину екрану */
  position: absolute!important
  ;
  top: 0; /* Забираємо відступ зверху */
  left: 0; /* Вирівнюємо по лівому краю */
  background-color: white; /* Білий фон меню */
  z-index: 1000; /* Переконайтесь, що меню поверх інших елементів */
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  padding: 10px 20px; /* Відступи по боках */
}

nav .logo {
  height: 40px; /* Висота логотипу */
  -o-object-fit: contain;
     object-fit: contain;
}

nav ul {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 20px;
  list-style: none;
  padding: 0;
  -webkit-box-pack: end;
      -ms-flex-pack: end;
          justify-content: flex-end; /* Вирівнюємо елементи меню по правому краю */
}

nav a {
  color: #8ebb43; /* Колір тексту меню */
  text-decoration: none;
  font-weight: 600;
}

nav a:hover {
  text-decoration: underline;
}

/* Іконка гамбургера */
.menu-toggle {
  display: none;
  cursor: pointer;
  font-size: 30px;
  color: #8ebb43; /* Колір іконки гамбургера */
}

section {
  padding: 60px 20px;
  max-width: 1000px;
  margin: auto;
}

section h2 {
  margin-bottom: 20px;
}

.features ul {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: (minmax(240px, 1fr))[auto-fit];
      grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  list-style: none;
}

.features li {
  background: white;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.steps .step {
  margin-bottom: 20px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 20px;
}

section img {
  height: auto;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.extra-benefits ul {
  list-style: none;
  padding: 0;
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: (minmax(250px, 1fr))[auto-fit];
      grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.extra-benefits li {
  background: white;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  text-align: center;
}

.extra-benefits img {
  width: 60px;
  height: auto;
  margin-bottom: 10px;
}

.pricing table {
  width: 100%;
  border-collapse: collapse;
  background: white;
  border-radius: 10px;
  overflow: hidden;
}

.pricing th, .pricing td {
  padding: 15px;
  text-align: center;
  border-bottom: 1px solid #eee;
}

.pricing th {
  background: #8ebb43;
  color: white;
}

.faq h3 {
  margin-top: 20px;
  color: #8ebb43;
}

.oferta-btn {

  background: #f8f9fa;
  border: none;
  text-align: left;
  cursor: pointer;
}
.oferta-btn-close {
     color: red;
    background: #f8f9fa;
    border: none;
    text-align: center;
    cursor: pointer;
    width: 40px;
    height: 40px;
    position: fixed;
    top: 20px;
    right: 30px;
    border: 1px solid;
    z-index: 10000;
    border-radius: 50%;
    font-size: larger;

}

.oferta {
  
  height: 100vh; /* выбери нужное значение */
  width: 100vw;
    overflow-y: auto;
}


.contact form {
  background: white;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 15px;
}

.contact input,
.contact select,
.contact button {
  padding: 12px;
  font-size: 16px;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 6px;
}

.contact button {
  background: #8ebb43;
  color: white;
  border: none;
  cursor: pointer;
  font-weight: bold;
}

footer {
  background: #222;
  color: white;
  padding: 30px 20px;
  text-align: center;
  margin-top: 60px;
}

html {
  scroll-behavior: smooth;
}
input {
  padding: 15px ;
  border-radius: 10px;
  border: 1px solid;
}

select {
  padding: 15px;
   border-radius: 10px;
}
button {
      width: 200px;
    margin: auto;
}
/* Медіа-запити для мобільних пристроїв */
@media (max-width: 768px) {
  nav ul {
    display: none;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
  }

  nav ul.show {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
            POSITION: absolute;
        TOP: 65px;
        background: #fff;
        right: 0;
  }

  nav a {
    padding: 10px;
    text-align: left;
  }

  .menu-toggle {
    display: block; /* Покажемо іконку гамбургера */
  }
}
@media (max-width: 639px) {
.steps .content {
  -webkit-box-orient: vertical!important;
  -webkit-box-direction: reverse!important;
      -ms-flex-direction: column-reverse!important;
          flex-direction: column-reverse!important;
  -webkit-box-align: start!important;
      -ms-flex-align: start!important;
              -ms-grid-row-align: flex-start!important;
          align-items: flex-start!important;
}
}

/* Додаємо клас для анімації проявлення */
@-webkit-keyframes fadeIn {
  0% {
    opacity: 0;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
    -webkit-transform: translateY(50px);
            transform: translateY(50px);
  }
  100% {
    opacity: 1;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
    -webkit-transform: translateY(0);
            transform: translateY(0);
  }
}
@keyframes fadeIn {
  0% {
    opacity: 0;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
    -webkit-transform: translateY(50px);
            transform: translateY(50px);
  }
  100% {
    opacity: 1;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
    -webkit-transform: translateY(0);
            transform: translateY(0);
  }
}

/* Початковий стан секцій, які ще не видимі */
.fade-in {
  opacity: 0;
  -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
  -webkit-transform: translateY(50px);
          transform: translateY(50px); /* Початкове зсування */
  -webkit-transition: opacity 2s ease, -webkit-transform 2s ease;
  transition: opacity 2s ease, -webkit-transform 2s ease;
  transition: opacity 2s ease, transform 2s ease;
  transition: opacity 2s ease, transform 2s ease, -webkit-transform 2s ease;
}

/* Після того, як секція стане видимою, застосовуємо анімацію */
.fade-in.visible {
  opacity: 1;
  -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
  -webkit-transform: translateY(0);
          transform: translateY(0);
}


/* Як замовити */
.how-to-order .steps-list{
  list-style: none;
  padding: 0;
  display: grid;
  /* grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); */
  gap: 20px;
  margin-bottom: 50px;
}

.how-to-order .steps-list li{
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  padding: 18px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.how-to-order .num{
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #8ebb43;
  color: #fff;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.how-to-order h4{
  margin: 0 0 6px;
  font-weight: 600;
}

.how-to-order p{
  margin: 0;
  color: #555;
}


/* Модалка промокоду */
  .modal-overlay {
    position: fixed; inset: 0;
    display: none; align-items: center; justify-content: center;
    background: rgba(0,0,0,.5);
    padding: 16px; z-index: 10000;
  }
  .modal-overlay.show { display: flex; }

  .modal-box {
    position: relative; width: 100%; max-width: 520px;
    background: #fff; border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,.2);
    padding: 24px; line-height: 1.5;
  }
  .modal-box h3 { margin: 0 0 8px; }
  .modal-close {
    position: absolute; top: 8px; right: 8px;
    border: 0; background: transparent; font-size: 28px; cursor: pointer;
    line-height: 1; padding: 4px; color: #333;
  }
  .modal-actions { margin-top: 16px; display: flex; gap: 8px; }
  .modal-actions .cta-btn { flex: 1; text-align: center; }


  /* Базовый вид (десктоп) у тебя уже есть:
.pricing table { ... }
.pricing th, .pricing td { ... }
*/

/* Адаптация таблицы под мобилки */
@media (max-width: 640px) {

  /* таблица разваливается в блоки */
  .pricing table,
  .pricing thead,
  .pricing tbody,
  .pricing th,
  .pricing td,
  .pricing tr {
    display: block;
    width: 100%;
  }

  /* заголовок таблицы прячем */
  .pricing thead {
    display: none;
  }

  /* каждая строка – отдельная карточка */
  .pricing tr {
    margin-bottom: 12px;
    border: 1px solid #eee;
    border-radius: 8px;
    background: #fff;
    overflow: hidden;
  }

  .pricing td {
    position: relative;
    padding: 10px 12px;
    text-align: left;
    border-bottom: 1px solid #f0f0f0;
    word-wrap: break-word;
    word-break: break-word;
  }

  .pricing td:last-child {
    border-bottom: none;
  }

  /* подпись колонки берём из data-label */
  .pricing td::before {
    content: attr(data-label);
    display: block;
    font-weight: 600;
    margin-bottom: 4px;
    color: #777;
  }
}
.yt{
  position:relative;
  aspect-ratio:16/9;
  width:100%;
  max-width:920px;
  border-radius:16px;
  overflow:hidden;
  background:#000;
}
.yt iframe{ position:absolute; inset:0; width:100%; height:100%; border:0; }

/* Лого оверлей */
.yt-logo{
  position:absolute;
  top:12px; left:12px;
  display:flex;
  align-items:center;
  gap:8px;
  padding:8px 10px;
  border-radius:12px;
  background:rgba(255,255,255,.78);
  backdrop-filter: blur(8px);
  text-decoration:none;
  color:#0f172a;
  font-weight:700;
  z-index:3;

  /* если НЕ хотите, чтобы по лого можно было кликать — включите: */
  /* pointer-events:none; */
}
.yt-logo img{
  width:28px;
  height:28px;
  display:block;
}
.yt-logo span{
  font-size:14px;
  line-height:1;
}
