* {
  box-sizing: border-box;
}

body, html {
  margin: 0;
  padding: 0;
  font-family: 'Cabin', sans-serif;
  color: #fff;
  height: 100%;
  background-color: #F7F7F7;
  scroll-behavior: smooth;
}

.hero-section {
  background: url('img/header.webp') no-repeat center center;
  background-color: #000;
  background-size: cover;
  background-position: center top;
  height: 100vh;
  position: relative;
  display: flex;
  flex-direction: column;
  z-index: 1;
  will-change: background-position;
}


.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 100px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
}

.logo-main {
  font-weight: 700;
  font-size: 28px;
  letter-spacing: 10px;
  color: white;
}

.logo-sub {
  color: #FF7E2C;
  font-weight: 300;
  font-size: 13px;
  display: block;
  margin-top: 4px;
}

.schedule {
  display: flex;
  align-items: center;
  gap: 20px;
}

.schedule-text {
  display: flex;
  align-items: center;
  background-color: rgba(255, 255, 255, 15%);
  /* backdrop-filter: blur(8px); */
  padding: 16px 26px;
  border-radius: 30px;
  font-size: clamp(12px, 1.8vw, 14px); /* адаптивний розмір */
  width: fit-content;
}

.schedule-text-mobile {
    text-align: center;
    background-color: rgba(0, 0, 0, 25%);
    backdrop-filter: blur(8px);
    padding: 16px 26px;
    border-radius: 0px;
    font-size: clamp(14px, 1.8vw, 14px);
    width: auto;
}


.book-btn {
  /* Ваші існуючі стилі для кнопки (без ефекту бліку) */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #FF7E2C;
  color: white;
  padding: 16px 30px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 300;
  font-size: clamp(14px, 1.8vw, 14px);
  transition: background 0.3s ease;
  width: auto;
  max-width: fit-content;
  position: relative; /* Необхідно для абсолютно позиціонованого елементу */
  overflow: hidden; /* Обрізає елемент бліку за межами кнопки */
}

.shine-effect::before {
  content: '';
  display: block;
  position: absolute;
  top: 0;
  left: -150%; /* Початкове положення далеко зліва */
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transform: skewX(-20deg); /* Кут нахилу */
  animation: shine-right-pause 6s infinite; /* Загальна тривалість циклу - 6 секунд (2с блик + 4с пауза) */
  pointer-events: none; /* Щоб не заважав клікам */
  transition: opacity 0.3s ease; /* Плавне зникнення */
  opacity: 1; /* Блік видимий за замовчуванням */
}

@keyframes shine-right-pause {
  0% {
    left: -150%;
  }
  33.33% { /* Кінець бліку (2 секунди з 6) */
    left: 150%;
  }
  33.34% { /* Початок паузи */
    left: -150%; /* Миттєво повертаємо блик у початкове положення */
  }
  100% { /* Кінець паузи (через 4 секунди після кінця бліку) */
    left: -150%;
  }
}

.book-btn:hover {
  background-color: #ff6a00;
}

.book-btn:hover::before {
  opacity: 0; /* Робимо блік прозорим при наведенні */
  animation-play-state: paused; /* Зупиняємо анімацію при наведенні */
}

.book-btn .arrow {
  margin-left: 5px;
  font-size: clamp(14px, 1.8vw, 16px);
  transition: margin-left 0.3s ease;
}

.book-btn:hover .arrow {
  margin-left: 15px;
}

.arrow-svg {
  display: flex;
  align-items: center;
  width: 20px;
}

.arrow-more-works {
    display: flex;
  align-items: center;
  width: 20px;
  filter: brightness(0) saturate(100%);
}

.color-svg {
    filter: brightness(0) saturate(100%);
}

.gradient-title {
  font-size: clamp(48px, 6vw, 54px); /* адаптивний розмір */
  font-weight: 700;
  font-family: 'Cabin', sans-serif;
  background: linear-gradient(90deg, #FFFFFF, #BFBFBF);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}


.content {
  flex: 0.9;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 100px;
  max-width: 800px;
}

.location {
  display: flex;
  align-items: center;
  font-size: clamp(13px, 1.8vw, 14px); /* адаптивний розмір */
  gap: 10px;
  background-color: rgb(255 255 255 / 10%);
  backdrop-filter: blur(6px);
  border-radius: 30px;
  padding: 5px 30px 5px 5px;
  margin-bottom: 20px;
  width: fit-content;
  border: 0.3px solid rgba(255, 255, 255, 0.3);
}

.location-img {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  background-color: rgb(255 255 255 / 15%);
  /* backdrop-filter: blur(6px); */
  border-radius: 30px;
  border: 0.3px solid rgba(255, 255, 255, 0.3);
}

.location img {
  width: 14px;
  height: 16px;
}

h1 {
  font-size: 48px;
  margin: 0 0 0 0;
  font-weight: 700;
}

p {
  font-size: clamp(14px, 2vw, 21px); /* адаптивний розмір */
  line-height: 1.4;
  margin-bottom: 30px;
}

/* Для маленьких екранів (телефонів) */
@media (max-width: 767px) {
.gradient-title {
    line-height: 100%;
    height: 102px;
}

.header-subtitle-wdth {
    width: 260px;
}

  .location-img {
     width: 24px;
     height: 24px;
  }

  .location {
    padding: 5px 20px 5px 5px;
  }

  .location img {
   width: 12px;
   height: 14px;
  }

  .header {
    padding: 15px;
  }

  .content {
    padding: 15px;
    max-width: 400px;
  }

  .book-btn {
    padding: 12px 20px;
  }

  .logo-main {
    font-size: 18px;
    letter-spacing: 10px;
  }

  .logo-sub {
    font-size: 10px;
    margin-top: 2px;
  }

  .schedule-text {
    display: none; /* Приховуємо блок розкладу на маленьких екранах */
  }

  .schedule-text-mobile {
    display: block; /* Показуємо мобільний розклад на маленьких екранах */
  }
  
  .hero-section {
    height: 745px;
  }

}

@media (min-width: 767px) {
  .schedule-text-mobile {
    display: none; /* Показуємо мобільний розклад на маленьких екранах */
  }
}

.scroll-down-button {
    position: absolute;
    bottom: 30px;
    left: 50%;
    /* transform: translateX(-50%); */
    z-index: 10; /* Щоб бути над іншим контентом */
}

.scroll-down-button a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 50px;
    /* border: 2px solid white; */
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease-in-out;
    opacity: 0.8;
    animation: pulse-down-fast 5s infinite; /* Загальна тривалість циклу залишається для затримки */
}

.scroll-down-button a:hover {
    opacity: 1;
    background-color: rgba(255, 255, 255, 0.1);
    animation-play-state: paused;
}

.scroll-down-button svg {
    width: 24px;
    height: 24px;
    fill: none;
    stroke: white;
    stroke-width: 2;
    transition: transform 0.3s ease-in-out;
}

.scroll-down-button a:hover svg {
    transform: translateY(5px);
}

@keyframes pulse-down-fast {
    0% {
        transform: translateX(-50%) translateY(0); /* Початкове положення */
    }
    10% {
        transform: translateX(-50%) translateY(10px); /* Швидкий рух вниз (10% від 6 секунд = 0.6 секунди) */
    }
    20% {
        transform: translateX(-50%) translateY(0); /* Швидкий рух вверх (від 10% до 20% = 0.6 секунди) */
    }
    70% {
        transform: translateX(-50%) translateY(0); /* Затримка вгорі (від 20% до 70% = 3 секунди) */
    }
    100% {
        transform: translateX(-50%) translateY(0); /* Повернення до початкового стану */
    }
}

/* Адаптивність для маленьких екранів */
@media (max-width: 767px) {
    .scroll-down-button {
        bottom: 20px;
    }

    .scroll-down-button a {
        width: 40px;
        height: 40px;
    }

    .scroll-down-button svg {
        width: 20px;
        height: 20px;
    }

    @keyframes pulse-down-fast-mobile {
        0% {
            transform: translateX(-50%) translateY(0);
        }
        10% {
            transform: translateX(-50%) translateY(5px);
        }
        20% {
            transform: translateX(-50%) translateY(0);
        }
        70% {
            transform: translateX(-50%) translateY(0);
        }
        100% {
            transform: translateX(-50%) translateY(0);
        }
    }

    .scroll-down-button a {
        animation: pulse-down-fast-mobile 6s infinite;
    }
}




/* Загальні стилі секції */
.services-section.redesigned-blur {
    padding: 80px 100px;
    margin: 0px auto;
    background-color: #ffffff; /* Відповідає фону прикладу */
    color: #333;
}

.section-title {
    font-size: clamp(24px, 2vw, 48px); /* адаптивний розмір */
    font-weight: 700;
    margin-bottom: 40px;
    text-align: left;
    color: #000;
}

/* Сітка послуг */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 20px;
}

/* Стилі для карток (залишаються без змін) */
.image-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    cursor: pointer;
}

.image-wrapper img {
    width: 100%;
    display: block;
}

.image-wrapper::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0);
    width: 100%;
    height: 50%;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    pointer-events: none;
    mask-image: linear-gradient(to top, black 60%, transparent 100%);
    -webkit-mask-image: linear-gradient(to top, black 60%, transparent 100%);
    transition: all 0.3s ease;
}

.image-wrapper:hover::after {
    height: 100%;
    mask-image: linear-gradient(to top, black 100%, transparent 100%);
    -webkit-mask-image: linear-gradient(to top, black 100%, transparent 100%);
}

.overlay-content {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    z-index: 2;
    text-align: center;
    width: 80%;
    transition: transform 0.3s ease;
}

.image-wrapper:hover .overlay-content {
    transform: translateX(-50%) translateY(-65px); /* Коригування підняття */
}

.overlay-content h2 {
    margin: 0 0 8px;
    font-size: clamp(14px, 2vw, 21px);
}

.overlay-content p {
    margin: 0;
    font-size: clamp(14px, 1.8vw, 14px);
    line-height: 1.4;
}

.button-wrapper {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%) translateY(100%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.4s ease, opacity 0.4s ease;
    z-index: 2;
}

.image-wrapper:hover .button-wrapper {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
    pointer-events: auto;
}

.button {
    padding: 14px 24px; /* Зменшено відступи кнопки */
    background: #ff7a00;
    color: #fff;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    text-decoration: none; /* Щоб прибрати підкреслення з посилання */
    font-size: clamp(14px, 1.8vw, 14px);
}

.button:hover {
    background: #ff6d00;
}

.discount-label {
    position: absolute;
    top: 20px;
    right: 20px;
    background-color: rgba(244, 124, 44, 0.7); /* Трохи менша прозорість */
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    color: white;
    padding: 14px 24px; /* Зменшено відступи бейджа */
    border-radius: 30px;
    z-index: 3;
    font-size: clamp(10px, 1.8vw, 12px); /* адаптивний розмір */
}

/* Початково приховуємо всі картки, починаючи з 4-ї */
.services-grid .service-card:nth-child(n+4) {
    display: none;
}

/* На дуже широких екранах (1440px+) показуємо 4 картки за замовчуванням */
@media (min-width: 1440px) {
    .services-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    /* Знову показуємо 4-ту картку на широких екранах */
    .services-grid .service-card:nth-child(4) {
        display: block;
    }
}

/* Стилі для кнопки "Більше" */
/* Стилі для кнопки "Більше" */
.toggle-button {
    text-align: center; /* Центрування кнопки */
    margin-top: 30px; /* Відступ зверху */
    /* Додаткові стилі, які можуть впливати на розташування: */
    /* width: ...; */
    /* position: ...; */
    /* left: ...; */
    /* right: ...; */
}

.toggle-button button#toggleBtn {
    background: none;
    font-family: 'Cabin', sans-serif;
    border: 1px solid #ccc;
    padding: 14px 24px;
    border-radius: 30px;
    font-size: clamp(14px, 1.8vw, 14px); /* адаптивний розмір */
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
    display: block; /* Забезпечує відображення як блоковий елемент */
    margin: 0 auto; /* Додаткове центрування, якщо .toggle-button не займає всю ширину */
}

.toggle-button button {
  color: #000 !important; /* Встановіть бажаний колір */
}

.toggle-button button#toggleBtn:hover {
    background-color: #ccc;
    color: #333;
}

/* Адаптивність для менших екранів (до 768px) */
@media (max-width: 768px) {
    .services-section.redesigned-blur {
        padding: 60px 15px;
        margin: 0px auto;
    }

    .section-title {
        margin-bottom: 30px;
    }

    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 16px;
    }

    .overlay-content h2 {
        font-size: 1.1rem;
    }

    .overlay-content p {
        font-size: 0.85rem;
    }
}

/* Для екранів від 769px до 1439px показуємо 3 картки */
@media (min-width: 769px) and (max-width: 1439px) {
    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); /* Або repeat(3, 1fr); якщо хочете фіксовану кількість */
    }

    /* Початково приховуємо 4-ту та наступні */
    .services-grid .service-card:nth-child(n+4) {
        display: none;
    }
}


/* ------ Reviews ------*/

 .review-container {
      background: #ffffff;
      display: flex;
      justify-content: center;
      padding: 20px 100px 120px 100px;
    }

    .review-block {
      position: relative;
      width: 100%;
      padding: 20px 20px 40px 20px;
      background: url('img/reviews.jpg'); /* center center/cover no-repeat */
      border-radius: 16px;
      color: white;
      text-align: center;
      overflow: hidden;
      background-size: cover;
      background-position: center;
    }

    .review-block::before {
      content: "";
      position: absolute;
      inset: 0;
      background-color: rgba(0, 0, 0, 0.5);
      backdrop-filter: blur(10px);
      z-index: 1;
      border-radius: 16px;
    }

    .review-content {
      position: relative;
      z-index: 2;
    }

    .review-content h2 {
      font-size: clamp(24px, 2vw, 48px);
      margin-bottom: 20px;
    }

    .review-content p {
      font-size: clamp(14px, 2vw, 21px);
      max-width: 600px;
      margin: 0 auto 20px auto;
      line-height: 1.5;
      transition: opacity 0.5s ease-in-out;
      height: 63px;
    }

    @media (max-width: 767px) {
    .review-content p {
      margin: 0 auto 5px auto;
    }
    }

    .stars {
      color: orange;
      font-size: 18px;
    }

    .review-score {
      font-size: clamp(13px, 1.8vw, 15px);
    }

    .review-button {
      background: #ff7a00;
      color: white;
      padding: 14px 0px;
      border: none;
      border-radius: 30px;
      font-size: clamp(14px, 1.8vw, 14px);
      text-decoration: none;
      cursor: pointer;
    }

    .review-button a {
        padding: 14px 28px;
        color: white;
        text-decoration: none;
    }

    .review-button:hover {
      background: #ff6a00;
    }

    .stars-container {
      display: flex;
      justify-content: center;
      align-items: center;
      margin-bottom: 30px;
      gap: 15px;
    }

    .indicator {
    position: absolute;
    bottom: 0px;
    right: 30px;
    display: flex;
    gap: 8px;
    z-index: 2;
  }

  .bar {
    width: 12px;
    height: 4px;
    background-color: rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    overflow: hidden;
    position: relative;
  }

  .bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0%;
    background-color: orange;
    transition: none;
  }

  .bar.active::after {
    transition: width 5s linear;
    width: 100%;
  }

    @media (max-width: 767px) {
      .review-container {
        padding: 0px 15px 80px 15px;
      }

      .indicator {
        position: relative;
        bottom: 0px;
        right: 0px;
        padding-top: 20px;
        display: flex;
        gap: 8px;
        z-index: 2;
        justify-content: center;
    }
    }

    /* ------ Slider ------*/

 .slider-section.slider-blur {
      padding: 80px 100px;
      margin: 0 auto;
      background-color: #F7F7F7;
      color: #333;
      position: relative;
    }
    .section-title-slider {
    font-size: clamp(24px, 2vw, 48px); /* адаптивний розмір */
    font-weight: 700;
    margin-bottom: 40px;
    text-align: left;
    color: #000;
}

    .slider-track {
      display: flex;
      gap: 20px;
      overflow-x: auto;
      scroll-behavior: smooth;
      scroll-snap-type: x mandatory;
      padding-bottom: 10px;
    }

    .slider-track::-webkit-scrollbar {
      display: none;
    }

    .slider-item {
      flex: 0 0 auto;
      scroll-snap-align: start;
      border-radius: 16px;
      overflow: hidden;
      cursor: pointer;
      transition: width 0.3s ease;
    }

    .slider-item img {
      width: 100%;
      height: auto;
      display: block;
    }

    .insta-works {
        display: flex;
        justify-content: space-between;
    }

    .insta-button {
        display: inline-flex;
        color: #000;
        border: none;
        font-size: 14px;
        cursor: pointer;
        text-decoration: none;
        align-items: center;
        gap: 5px;
        margin-bottom: 12px;
        padding-right: 15px;
    }

    @media (min-width: 1450px) {
      .slider-item {
        width: calc((100% - 60px) / 4);
        height: 465px;
      }
    }

    @media (min-width: 1025px) and (max-width: 1449px) {
      .slider-item {
        width: calc((100% - 40px) / 3);
        height: 375px;
      }
    }

    @media (min-width: 768px) and (max-width: 1024px) {
      .slider-item {
        width: calc((100% - 20px) / 2);
        height: 465px;
      }
    }

    @media (max-width: 767px) {
      .slider-section.slider-blur {
        padding: 60px 0;
      }

      .section-title-slider {
        margin-bottom: 30px;
      }

      .slider-track {
        display: flex;
        gap: 20px;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scroll-padding-left: 15px;
        transition: scroll-padding-left 0.3s ease;
      }

      .slider-spacer {
          flex: 0 0 1px; /* Ширина відступу */
          height: 1px;    /* Щоб не займав місця по висоті */
          pointer-events: none;
        }

      .slider-track::before {
        content: "";
        flex: 0 0 15px;
      }

      .slider-item {
        width: 83%;
        scroll-snap-align: start;
        height: 465px;
      }

      .slider-item:last-child {
        margin-right: 15px;
      }
    }

    @media (max-width: 419px) {
        .insta-works {
            display: flex;
            flex-direction: column;
        }

        .section-title-slider {
            margin-bottom: 15px;
        }

        .insta-button {
            padding: 0px 15px 20px 15px;
        }
    }

    .slider-btn {
      background-color: rgba(0, 0, 0, 0);
      border: none;
      border-radius: 50%;
      cursor: pointer;
      padding: 12px;
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
      transition: background 0.3s;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .btn-left {
      left: -55px;
    }

    .btn-right {
      right: -55px;
    }

    .slider-btn:hover {
      background-color: rgba(0, 0, 0, 0.1);
    }

    .slider-btn svg {
      width: 24px;
      height: 24px;
    }

    .slider-frame {
      position: relative;
      overflow: visible;
    }

    .slider-dots {
      margin-top: 20px;
      display: flex;
      gap: 8px;
      justify-content: center;
    }

    .dot {
      width: 12px;
      height: 12px;
      background-color: rgba(217, 217, 217, 0.3);
      border-radius: 8px;
      transition: background-color 0.3s;
    }

    .dot.active {
      background-color: #F47C2C;
    }

    @media (max-width: 767px) {
      .slider-btn {
        display: none;
      }

      .mobile-section {
        padding: 0 15px 0 15px;
      }
    }

    /* --- FAQ ---*/

.faq-section {
    padding: 80px 100px;
    margin: 0 auto;
    background-color: #FFF;
    color: #333;
    position: relative;
}

    .faq-container {
      margin: auto;
      background-color: #f0f0f0;
      border-radius: 16px;
    }

    .faq-item {
      position: relative;
    }

    .faq-item::after {
      content: "";
      position: absolute;
      left: 25px;
      right: 25px;
      bottom: 0;
      height: 1px;
      background-color: rgba(0, 0, 0, 0.1);
    }

    .faq-item:last-child::after {
      content: none;
    }

    .faq-item:first-child .faq-question {
      border-top-left-radius: 16px;
      border-top-right-radius: 16px;
    }

    .faq-item:last-child .faq-question {
      border-bottom-left-radius: 16px;
      border-bottom-right-radius: 16px;
    }

    /* При відкритті останнього — забрати заокруглення */
    .faq-item:last-child .faq-question.open {
      border-bottom-left-radius: 0;
      border-bottom-right-radius: 0;
    }

    /* Додати лінію внизу відкритої відповіді */
    .faq-item:last-child .faq-answer.open {
      border-bottom-left-radius: 16px;
      border-bottom-right-radius: 16px;
    }


    /* Hover color on question */
    .faq-item:hover .faq-question {
      background-color: #f0f0f0;
    }

    /* Hover color on answer */
    .faq-item:hover .faq-answer {
      background-color: #f0f0f0;
    }

    .faq-question {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 20px 25px;
      cursor: pointer;
      font-size: 16px;
      font-weight: 700;
      background-color: #f7f7f7;
      transition: background-color 0.2s ease;
    }

    .faq-answer {
      max-height: 0;
      overflow: hidden;
      transition: max-height 0.3s ease, padding 0.3s ease, background-color 0.2s ease;
      font-size: 15px;
      padding: 0px 25px 0px 25px;
      background-color: #f7f7f7;
      font-weight: 100;
    }

    .faq-answer.open {
      padding: 0px 25px 20px 25px;
      max-height: 300px;
    }

    .faq-item:last-child .faq-answer {
      border-bottom-left-radius: 16px;
      border-bottom-right-radius: 16px;
    }

    .faq-icon {
      position: relative;
      width: 24px;
      height: 24px;
    }

    .faq-icon svg {
      position: absolute;
      top: 0;
      left: 0;
      transition: opacity 0.2s ease, visibility 0.2s ease;
    }

    /* Показати плюс, сховати мінус */
    .faq-question:not(.open) .icon-plus {
      opacity: 1;
      visibility: visible;
    }
    .faq-question:not(.open) .icon-minus {
      opacity: 0;
      visibility: hidden;
    }

    /* Показати мінус, сховати плюс */
    .faq-question.open .icon-plus {
      opacity: 0;
      visibility: hidden;
    }
    .faq-question.open .icon-minus {
      opacity: 1;
      visibility: visible;
    }

        @media (max-width: 767px) {
    .faq-section {
        padding: 60px 15px;
        }
    }


/*--- Footer ---*/

    .footer {
      display: flex;
      justify-content: space-between;
      /* gap: 120px; відстань між секціями */
      padding: 100px;
      background-color: #F7F7F7;
      color: #000;
    }

/*    

.footer-section:nth-child(2) {
      margin-right: 250px;
    } 
    */

    .footer-section {
      max-width: 250px;
    }

    .logo-footer {
      font-weight: 700;
      font-size: 28px;
      letter-spacing: 3px;
    }

    .subtitle-footer {
      color: #FF7E2C; /* помаранчевий */
      font-weight: 300;
      margin-bottom: 13px;
      display: block;
      margin-top: 4px;
    }

    .description-footer {
      line-height: 1.5;
      font-size: 16px;
    }

    .section-title-footer {
      font-weight: bold;
      margin-bottom: 10px;
      font-size: clamp(14px, 2vw, 21px);
    }

    .footer-section p {
        font-size: clamp(14px, 1.8vw, 14px);
        line-height: 1.4;
        margin-bottom: 10px;
    }

    .footer-button {
        display: flex;
        flex-direction: column;
        padding-bottom: 10px;
        color: #000;
        border: none;
        cursor: pointer;
        text-decoration: none;
        font-size: clamp(14px, 1.8vw, 14px);
}

    @media (max-width: 767px) {
        .footer {
            display: flex;
            justify-content: flex-start;
            flex-direction: column;
            gap: 20px;
            padding: 40px 15px 40px 15px;
            background-color: #f8f8f8;
            color: #000;
            align-items: flex-start;
        }

        .footer-section {
            max-width: 300px;
            display: flex;
            flex-direction: column;
            align-items: flex-start;
       }

        .subtitle-footer {
            letter-spacing: 1.2px;
        }
    }


/* --- Телефонна форма ---*/

    .phone-form {
  display: flex;
  align-items: center;
  border: 1px solid #000;
  border-radius: 13px;
  padding: 4px; /* ось тут створюємо простір навколо кнопки */
  max-width: 320px;
  height: 52px;
  background: #f7f7f7;
}

.phone-form input {
  border: none;
  padding: 12px 16px;
  flex: 1;
  font-size: 14px;
  outline: none;
  background: transparent;
}

.phone-form button {
  background-color: #f26e21;
  color: white;
  border: none;
  font-size: 20px;
  cursor: pointer;
  border-radius: 10px;
  width: 44px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.phone-form button:hover {
  background-color: #ff6a00;
}


.callback {
  margin-top: 12px;
  font-size: 14px;
  color: #444;
}

/* Модальне вікно */
.popup-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 9999;
  justify-content: center;
  align-items: center;
}

/* Popup Box */
.popup-content {
  background-color: rgb(255 255 255 / 40%);
    backdrop-filter: blur(6px);
  padding: 20px;
  max-width: 360px;
  width: 90%;
  border-radius: 16px;
  text-align: center;
  box-shadow: 0 8px 32px rgba(0,0,0,0.2);
  animation: fadeIn 0.3s ease-out;
}

/* Title & Text */
.popup-content h2 {
  margin-bottom: 12px;
  font-size: 24px;
  font-weight: 600;
}
.popup-content p {
  font-size: 16px;
  line-height: 1.4;
  margin-bottom: 30px;
}

/* Buttons */
.popup-button {
  display: block;
  width: 100%;
  margin-bottom: 12px;
  padding: 12px;
  border-radius: 8px;
  font-size: 16px;
  text-decoration: none;
  transition: background 0.2s ease;
}

.call-btn {
  background-color: rgb(244 124 44 / 70%);
  border: 0.5px solid #F47C2C;
  color: #fff;
}
.call-btn:hover {
  background-color: rgb(244 124 44 / 90%);
}

.text-btn {
   background-color: rgb(255 255 255 / 50%);
   border: 0.5px solid #fff;
  color: #000;
}
.text-btn:hover {
  background-color: rgb(255 255 255 / 70%);
}

/* Close Button */
.close-btn {
  background: none;
  border: none;
  color: #fff;
  margin-top: 8px;
  cursor: pointer;
  font-weight: 500;
  font-size: 14px;
}

/* Animation */
@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}


    @media (max-width: 767px) {
/* Модальне вікно */
.popup-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 9999;
  justify-content: center;
  align-items: flex-end; /* Зміна: вирівнювання до низу */
}

/* Popup Box */
.popup-content {
  background-color: rgb(255 255 255 / 40%);
  backdrop-filter: blur(8px);
  padding: 24px 20px 44px 20px;
  width: 100%;
  max-width: 460px;
  border-radius: 16px 16px 0 0; /* Зверху заокруглено */
  text-align: center;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.2);
  animation: slideUp 0.3s ease-out;
}

.popup-button {
  border-radius: 50px;
}

.close-btn {
  margin-top: 15px;
}

/* Анімація знизу вгору */
@keyframes slideUp {
  from { transform: translateY(100%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

    }


/*--- Popap Window ---*/

.popup-overlay-disc {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.45); /* затемнення */
  display: none; /* керується JS */
  justify-content: center;
  align-items: center;
  z-index: 999;
}


.popup-wrapper {
  position: fixed;
  z-index: 1000;
  max-width: 650px;
  width: 100%;
  font-family: 'Cabin', sans-serif;
  color: #000;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}


.popup-container {
  display: flex;
  background: #fff;
}

/* Left */
.popup-left {
  background: #f47216;
  color: #fff;
  width: 50%;
  position: relative;
  padding: 40px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.popup-drill {
  position: absolute;
  top: 55px;
  left: -100px;
  width: 260px;
  transform: rotate(-11.217deg);
  opacity: 0.8;
}

.popup-drill2 {
    position: absolute;
    top: 40px;
    left: 270px;
    width: 17px;
    opacity: 0.8;
    transform: rotate(42.647deg);
}

.popup-drill3 {
    position: absolute;
    top: 290px;
    left: 220px;
    width: 12px;
    opacity: 0.8;
    transform: rotate(149.614deg);
}

.popup-offer {
  z-index: 2;
  font-weight: bold;
  text-align: left;
}

.popup-get {
  color: #FCD8C0;
  font-family: 'Roboto', 'Arial Black', sans-serif;
  font-size: 48px;
  font-style: normal;
  font-weight: 900;
  line-height: 48px; /* 100% */
}

.popup-percent {
    font-size: 96px;
    font-family: 'Roboto', 'Arial Black', sans-serif;
    font-style: normal;
    font-weight: 900;
    line-height: 96px;
}

.popup-off {
  color: #FCD8C0;
  font-family: 'Roboto', 'Arial Black', sans-serif;
  font-size: 48px;
  font-style: normal;
  font-weight: 900;
  line-height: 48px; /* 100% */
  text-align: right;
}

/* Right */
.popup-right {
  width: 50%;
  padding: 34px 20px 20px 20px;
  position: relative;
}

.popup-title {
  font-size: 20px;
  margin-top: 0;
  margin-bottom: 16px;
  font-weight: 600;
  line-height: 1.4;
}

.popup-highlight {
  color: #f47216;
  font-weight: 700;
}

.popup-text {
    font-size: 16px;
    line-height: 21px;
    margin-bottom: 44px;
    width: 220px;
    align-items: flex-start;
}

.popup-button-dis {
  background: #F47C2C;
  color: #fff;
  padding: 20px 30px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: bold;
  display: flex;
  justify-content: center;
  align-items: center;
  border: none;
  cursor: pointer;
  transition: background 0.3s;
  width: 100%; /* Робить кнопку на всю ширину */
  box-sizing: border-box; /* Враховує padding у ширині */
}


.popup-button-dis:hover {
  background: #222;
}

.popup-close {
  position: absolute;
  top: 10px;
  right: 12px;
  font-size: 22px;
  background: none;
  border: none;
  cursor: pointer;
  color: #000;
}

.br-desktop {
  display: inline;
}

@media (max-width: 768px) {
.br-desktop {
    display: none;
  }

.popup-close {
    top: -235px;
  }

.popup-wrapper {
  margin: 20px;
  width: 90%;
}

  .popup-container {
    flex-direction: column; /* вертикальна розкладка */
  }

  .popup-left,
  .popup-right {
    width: 100%; /* обидва блоки на повну ширину */
  }

  .popup-left {
    padding: 30px 20px;
    align-items: center;
    text-align: center;
  }

  .popup-offer {
    text-align: left;
  }

  .popup-text {
    width: 100%;
  }

.popup-drill {
    top: 30px;
    left: -80px;
    width: 230px;
  }

  .popup-drill2 {
    left: 310px;
  }

  .popup-drill3 {
    top: 200px;
    left: 170px;
    transform: rotate(159.614deg);
  }

}
