/* Hero слайдер */
    /* ========================================
       HEADER НА ГОЛОВНІЙ - ПОВЕРХ СЛАЙДЕРА
       ======================================== */

    body.home-page header#mainHeader {
        position: absolute;
        top: 20px; /* Більший відступ від верхнього краю */
        left: 0;
        right: 0;
        z-index: 1000;
        background: transparent;
    }

    /* При скролі - фіксоване положення і білий фон */
    body.home-page header#mainHeader.scrolled {
        position: fixed;
        top: 0; /* При скролі прибираємо відступ */
        background: transparent;
    }

    body.home-page header#mainHeader.scrolled .navbar {
        background: #ffffff !important;
        box-shadow: 0 2px 4px rgba(0,0,0,0.08);
    }

    body.home-page .hero-slider {
        margin-top: 0;
        padding-top: 0;
    }

    /* ========================================
       МОБІЛЬНА ВЕРСІЯ НА ГОЛОВНІЙ
       ======================================== */

    @media (max-width: 992px) {
        body.home-page header#mainHeader {
            top: 0;
            padding-top: 10px; /* Відступ зверху ТІЛЬКИ на головній */
        }

        /* При скролі прибираємо відступ */
        body.home-page header#mainHeader.scrolled {
            padding-top: 0;
        }

        /* Navbar не на всю ширину екрану */
        body.home-page .navbar {
            width: 100%;
            padding-left: 0;
            padding-right: 0;
        }

        /* Дропдаун меню - коралові посилання на білому фоні */
        body.home-page #mainNavbar.show .nav-link,
        body.home-page #mainNavbar.collapsing .nav-link,
        body.home-page .navbar-collapse.show .nav-link,
        body.home-page .navbar-collapse.collapsing .nav-link {
            color: #e7685d !important;
            transition: none !important;
        }

        body.home-page #mainNavbar.show .nav-link:hover,
        body.home-page #mainNavbar.collapsing .nav-link:hover {
            color: #d45648 !important;
        }
    }

    /* ========================================
       КНОПКА ЗАМОВИТИ НА ГОЛОВНІЙ
       ======================================== */

    /* Кнопка Замовити - завжди коралова */
    body.home-page .navbar .btn-outline-danger {
        color: #ffffff !important;
        border-color: #e7685d !important;
        background-color: #e7685d !important;
    }

    body.home-page .navbar .btn-outline-danger:hover {
        color: #ffffff !important;
        background-color: #d45648 !important;
        border-color: #d45648 !important;
    }

        .hero-slider {
          position: relative;
            height: 650px;
            overflow: hidden;
            width: 100%;
      margin-top: 0;
            margin-left: 0;
            margin-right: 0;
        }

        .hero-slide {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            opacity: 0;
            transition: opacity 1s ease-in-out;
            background-size: cover;
            background-position: center center;
            background-repeat: no-repeat;
        }

        .hero-slide.active {
            opacity: 1;
            z-index: 1;
        }

        .hero-slide::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(0, 0, 0, 0.6);
            z-index: 1;
        }

        /* Контент слайдів */
        .hero-content {
            position: relative;
            z-index: 2;
            height: 100%;
            display: flex;
            align-items: center;
            justify-content: center;
            text-align: center;
        }

        .hero-text {
            max-width: 800px;
            padding: 0 20px;
        }

        .hero-title {
            font-family: 'Manrope', sans-serif;
            font-size: 4rem;
            font-weight: 800;
            color: #ffffff;
            margin-bottom: 1.5rem;
            line-height: 1.2;
            text-transform: uppercase;
            letter-spacing: 0.02em;
        }

        .hero-subtitle {
            font-family: 'Onest', sans-serif;
            font-size: 1.5rem;
            font-weight: 400;
            color: #f0f0f0;
            margin-bottom: 2rem;
            text-transform: uppercase;
            letter-spacing: 0.05em;
        }

        .hero-cta {
            padding: 15px 40px;
            font-size: 1.1rem;
            font-weight: 600;
            border-radius: 4px;
            background-color: #E7685D !important;
            border-color: #E7685D !important;
            color: #ffffff !important;
            text-transform: uppercase;
            letter-spacing: 0.05em;
        }

        .hero-cta:hover {
            background-color: #d45648 !important;
            border-color: #d45648 !important;
            color: #ffffff !important;
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(231, 104, 93, 0.3);
        }

        /* Індикатори слайдів */
        .slider-indicators {
            position: absolute;
            bottom: 40px;
            left: 50%;
            transform: translateX(-50%);
            z-index: 3;
            display: flex;
            gap: 15px;
        }

        .slider-indicator {
            width: 12px;
            height: 12px;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.5);
            border: 2px solid #ffffff;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .slider-indicator.active {
            background: #e7695d;
            border-color: #e7695d;
            transform: scale(1.2);
        }

        /* Адаптивність */
        @media (max-width: 768px) {
            .hero-title {
                font-size: 2.5rem;
            }
            .hero-subtitle {
                font-size: 1.2rem;
            }
            .hero-slider {
                height: 500px;
            }
        }

        @media (max-width: 576px) {
            .hero-title {
                font-size: 2rem;
            }
            .hero-subtitle {
                font-size: 1rem;
            }
            .hero-slider {
                height: 400px;
            }
            .hero-cta {
                padding: 12px 30px;
                font-size: 1rem;
            }
        }

        /* Мобільне меню на головній */
        @media (max-width: 992px) {
            /* До скролу - toggler білий (на прозорому фоні) */
            body.home-page #mainHeader .navbar:not(.scrolled) .navbar-toggler {
                border-color: rgba(255,255,255,0.9) !important;
            }
            body.home-page #mainHeader .navbar:not(.scrolled) .navbar-toggler-icon {
                background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255,255,255,1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
            }

            /* При скролі - toggler кораловий (на білому фоні) */
            body.home-page #mainHeader .navbar.scrolled .navbar-toggler {
                border-color: rgba(231, 104, 93, 0.9) !important;
            }
            body.home-page #mainHeader .navbar.scrolled .navbar-toggler-icon {
                background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(231,104,93,1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
            }

            /* Відкрите мобільне меню - білий фон, коралові посилання */
            body.home-page #mainNavbar.show,
            body.home-page #mainNavbar.collapsing {
                background: #ffffff !important;
            }

            body.home-page #mainNavbar.show .nav-link,
            body.home-page #mainNavbar.collapsing .nav-link {
                color: #e7685d !important;
            }

            /* Кнопка Замовити в мобільному меню - завжди коралова */
            body.home-page #mainNavbar .btn-outline-danger {
                background-color: #e7685d !important;
                border-color: #e7685d !important;
                color: #ffffff !important;
            }
        }

        /* Секція з 4 блоками послуг */
        .services-section {
            background-color: #e7685d;
            padding: 0;
            margin: 0;
            width: 100%;
        }

        .services-container {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 0;
            max-width: 100%;
            margin: 0;
        }

        .service-box {
            padding: 60px 30px;
   text-align: center;
        border-right: 1px solid rgba(255, 255, 255, 0.2);
            transition: all 0.3s ease;
       display: flex;
 flex-direction: column;
      align-items: center;
      text-decoration: none;
   color: inherit;
        }

        .service-box:last-child {
            border-right: none;
        }

        .service-box:hover {
            background-color: rgba(0, 0, 0, 0.1);
      transform: translateY(-5px);
            text-decoration: none;
     color: inherit;
        }

        .service-icon {
            width: 60px;
            height: 60px;
            margin-bottom: 20px;
            filter: brightness(0) invert(1);
            transition: all 0.3s ease;
        }

        .service-box:hover .service-icon {
            transform: scale(1.1);
        }

         .service-title {
              font-family: 'Manrope', sans-serif;
                   font-size: 1.8rem;
                   font-weight: 700;
                   color: #ffffff;
           margin: 0;
           text-transform: uppercase;
          letter-spacing: 0.02em;
               }

             .service-more-link {
                 display: inline-flex;
                       align-items: center;
                    gap: 6px;
                   margin-top: 14px;
                        font-family: 'Inter', sans-serif;
                font-size: 0.95rem;
                font-weight: 500;
                      color: #ffffff;
                     text-decoration: none;
              border-bottom: 1px solid transparent;
                           padding-bottom: 2px;
                   transition: border-color 0.2s ease, gap 0.2s ease;
                }

                              .service-box:hover .service-more-link {
                              color: #ffffff;
                    border-bottom-color: #ffffff;
                         gap: 10px;
                      }

            .service-more-link svg {
           flex-shrink: 0;
         }

        /* Адаптивність для секції послуг */
        @media (max-width: 992px) {
            .services-container {
                grid-template-columns: repeat(2, 1fr);
            }

            .service-box {
                border-right: none;
                border-bottom: 1px solid rgba(255, 255, 255, 0.2);
            }

            .service-box:nth-child(odd) {
                border-right: 1px solid rgba(255, 255, 255, 0.2);
            }

            .service-box:nth-child(3),
            .service-box:nth-child(4) {
                border-bottom: none;
            }

            .service-title {
                font-size: 1.5rem;
            }
        }

        @media (max-width: 576px) {
            .services-container {
                grid-template-columns: 1fr;
            }

            .service-box {
                padding: 40px 20px;
                border-right: none;
                border-bottom: 1px solid rgba(255, 255, 255, 0.2);
            }

            .service-box:last-child {
                border-bottom: none;
            }

            .service-title {
                font-size: 1.3rem;
            }
        }

    /* ===== НОВІ БЛОКИ НА ГОЛОВНІЙ ===== */

    /* Блок "Наш підхід" */
    .approach-section {
        padding: 80px 20px;
   background: #f8f9fa;
    }

    .approach-container {
        max-width: 1200px;
        width: 100%;
     margin: 0 auto;
        text-align: center;
        box-sizing: border-box;
    }

    .approach-title {
        font-family: 'Manrope', sans-serif;
      font-size: 36px;
        font-weight: 700;
    color: #333;
margin-bottom: 30px;
 line-height: 1.3;
    }

    .approach-text {
      font-family: 'Onest', sans-serif;
    font-size: 18px;
        color: #555;
 line-height: 1.8;
        max-width: 900px;
    margin: 0 auto;
    }

    /* Блок "Експертиза" */
    .expertise-section {
        padding: 80px 20px;
     background: #ffffff;
    }

    .expertise-container {
        max-width: 1200px;
     width: 100%;
        margin: 0 auto;
  box-sizing: border-box;
    }

    .expertise-title {
        font-family: 'Manrope', sans-serif;
        font-size: 36px;
        font-weight: 700;
        color: #333;
        margin-bottom: 40px;
        text-align: center;
    }

    .expertise-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
        margin-top: 40px;
    }

    .expertise-item {
        padding: 30px;
        background: #f8f9fa;
        border-radius: 12px;
        border-left: 4px solid #e7685d;
    }

    .expertise-item-title {
        font-family: 'Manrope', sans-serif;
        font-size: 22px;
        font-weight: 700;
        color: #e7685d;
        margin-bottom: 15px;
    }

    .expertise-item-text {
        font-family: 'Onest', sans-serif;
        font-size: 16px;
        color: #555;
        line-height: 1.7;
    }

    /* Блок "Портфоліо" */
    .portfolio-preview-section {
        padding: 80px 20px;
        background: #f8f9fa;
    }

    .portfolio-preview-container {
        max-width: 1200px;
    width: 100%;
      margin: 0 auto;
  box-sizing: border-box;
    }

    .portfolio-preview-title {
        font-family: 'Manrope', sans-serif;
        font-size: 36px;
        font-weight: 700;
        color: #333;
        margin-bottom: 50px;
        text-align: center;
    }

    .portfolio-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
        margin-bottom: 40px;
    }

    .portfolio-item {
        position: relative;
        display: block;
        background: #fff;
        border-radius: 12px;
        overflow: hidden;
        box-shadow: 0 5px 20px rgba(0,0,0,0.1);
        transition: all 0.3s ease;
        text-decoration: none;
        aspect-ratio: 1 / 1; /* Робимо квадрат */
    }

    .portfolio-item:hover {
        transform: translateY(-10px);
        box-shadow: 0 15px 40px rgba(0,0,0,0.2);
    }

    .portfolio-item-image {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.3s ease;
    }

    .portfolio-item:hover .portfolio-item-image {
        transform: scale(1.05);
    }

    .portfolio-item-overlay {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: linear-gradient(to bottom, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.7) 100%);
        display: flex;
        align-items: center;
        justify-content: center;
        opacity: 0;
        transition: opacity 0.3s ease;
    }

    .portfolio-item:hover .portfolio-item-overlay {
        opacity: 1;
    }

    .portfolio-item-content {
        text-align: center;
        padding: 20px;
        color: #fff;
        transform: translateY(20px);
        transition: transform 0.3s ease;
    }

    .portfolio-item:hover .portfolio-item-content {
        transform: translateY(0);
    }

    .portfolio-item-title {
        font-family: 'Manrope', sans-serif;
        font-size: 24px;
        font-weight: 700;
        color: #ffffff;
        margin-bottom: 15px;
        text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    }

    .portfolio-item-btn {
        display: inline-flex;
        align-items: center;
     gap: 6px;
        color: #ffffff;
        text-decoration: none;
        font-family: 'Manrope', sans-serif;
        font-weight: 600;
        font-size: 16px;
        border-bottom: 1px solid transparent;
        padding-bottom: 2px;
transition: border-color 0.2s ease, gap 0.2s ease;
    }

    .portfolio-item:hover .portfolio-item-btn {
        border-bottom-color: #ffffff;
     gap: 10px;
    }

    .portfolio-btn-wrapper {
        text-align: center;
    }

    .portfolio-btn {
        display: inline-block;
        padding: 15px 40px;
        background: #e7685d;
        color: #fff;
        text-decoration: none;
        border-radius: 8px;
        font-family: 'Manrope', sans-serif;
        font-weight: 600;
        transition: all 0.3s ease;
    }

    .portfolio-btn:hover {
        background: #d45648;
        transform: translateY(-2px);
        color: #fff;
    }

    /* Блок "Вартість послуг" (4 колонки) */
    .pricing-grid-section {
      padding: 80px 20px;
        background: #ffffff;
    }

    .pricing-grid-container {
        max-width: 1400px;
      width: 100%;
        margin: 0 auto;
        box-sizing: border-box;
    }

    .pricing-grid-title {
        font-family: 'Manrope', sans-serif;
        font-size: 36px;
        font-weight: 700;
        color: #333;
        margin-bottom: 50px;
        text-align: center;
    }

    .pricing-grid {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 30px;
    }

    .pricing-column {
        background: #f8f9fa;
        border-radius: 12px;
        padding: 40px 25px;
        border-top: 4px solid #e7685d;
        transition: all 0.3s ease;
    }

    .pricing-column:hover {
        box-shadow: 0 10px 30px rgba(231,104,93,0.2);
        transform: translateY(-5px);
    }

    .pricing-column-title {
        font-family: 'Manrope', sans-serif;
        font-size: 22px;
        font-weight: 700;
        color: #333;
        margin-bottom: 20px;
        text-align: center;
    }

    .pricing-column-list {
        list-style: none;
        padding: 0;
        margin-bottom: 20px;
    }

    .pricing-column-list li {
        font-family: 'Onest', sans-serif;
        font-size: 15px;
        color: #555;
        padding: 8px 0;
        padding-left: 20px;
        position: relative;
    }

    .pricing-column-list li:before {
        content: '\2022';
        position: absolute;
        left: 0;
        color: #e7685d;
        font-weight: bold;
    }

    .pricing-column-price {
        font-family: 'Manrope', sans-serif;
        font-size: 28px;
        font-weight: 700;
        color: #e7685d;
        text-align: center;
        margin: 20px 0;
    }

    .pricing-column-btn {
        display: block;
        width: 100%;
        padding: 12px;
        background: #e7685d;
        color: #fff;
        text-align: center;
        text-decoration: none;
        border-radius: 8px;
        font-family: 'Manrope', sans-serif;
        font-weight: 600;
        transition: all 0.3s ease;
    }

    .pricing-column-btn:hover {
        background: #d45648;
        color: #fff;
    }

    /* Блок "Блог" */
    .blog-preview-section {
        padding: 80px 20px;
        background: #f8f9fa;
    }

    .blog-preview-container {
        max-width: 1200px;
  width: 100%;
     margin: 0 auto;
        box-sizing: border-box;
    }

    .blog-preview-title {
        font-family: 'Manrope', sans-serif;
        font-size: 36px;
        font-weight: 700;
        color: #333;
        margin-bottom: 50px;
        text-align: center;
    }

    .blog-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 30px;
    }

    .blog-item {
        background: #fff;
        border-radius: 12px;
        overflow: hidden;
        box-shadow: 0 5px 20px rgba(0,0,0,0.1);
        transition: transform 0.3s ease;
    }

    .blog-item:hover {
        transform: translateY(-5px);
    }

    .blog-item-image {
        width: 100%;
        height: 180px;
        object-fit: cover;
    }

    .blog-item-content {
        padding: 25px;
    }

    .blog-item-title {
        font-family: 'Manrope', sans-serif;
        font-size: 20px;
        font-weight: 700;
        color: #333;
        margin-bottom: 15px;
        line-height: 1.4;
    }

    .blog-item-excerpt {
        font-family: 'Onest', sans-serif;
        font-size: 15px;
        color: #666;
        line-height: 1.6;
    }

    /* Адаптивність — планшети (992px) */
    @media (max-width: 992px) {
        .approach-section,
        .expertise-section,
        .portfolio-preview-section,
    .pricing-grid-section,
        .blog-preview-section {
            padding: 60px 16px;
  }

        .approach-title,
        .expertise-title,
 .portfolio-preview-title,
        .pricing-grid-title,
   .blog-preview-title {
 font-size: 28px;
        }

     .approach-text {
         font-size: 16px;
     }

  .expertise-grid {
            grid-template-columns: 1fr;
  gap: 20px;
   }

     .portfolio-grid {
         grid-template-columns: repeat(2, 1fr);
  gap: 20px;
      }

        .pricing-grid {
   grid-template-columns: repeat(2, 1fr);
     gap: 20px;
        }

        .blog-grid {
      grid-template-columns: repeat(2, 1fr);
          gap: 20px;
    }
    }

/* Адаптивність — мобільні (768px) */
    @media (max-width: 768px) {
        .approach-section,
     .expertise-section,
        .portfolio-preview-section,
        .pricing-grid-section,
    .blog-preview-section {
     padding: 48px 16px;
        }

 .approach-title,
        .expertise-title,
        .portfolio-preview-title,
        .pricing-grid-title,
        .blog-preview-title {
    font-size: 24px;
    margin-bottom: 24px;
   }

        .approach-text {
   font-size: 15px;
        }

        .portfolio-grid {
          grid-template-columns: 1fr;
     gap: 16px;
  }

     .blog-grid {
 grid-template-columns: 1fr;
    gap: 16px;
      }

        .pricing-grid {
      grid-template-columns: 1fr;
  gap: 16px;
        }

        .expertise-item {
         padding: 20px;
        }

        .expertise-item-title {
            font-size: 18px;
  }

        .portfolio-item-title {
            font-size: 18px;
        }

     .pricing-column {
      padding: 28px 20px;
        }
    }

    /* Адаптивність — малі мобільні (576px) */
    @media (max-width: 576px) {
        .approach-section,
        .expertise-section,
        .portfolio-preview-section,
     .pricing-grid-section,
        .blog-preview-section {
    padding: 36px 12px;
        }

        .approach-title,
    .expertise-title,
   .portfolio-preview-title,
     .pricing-grid-title,
        .blog-preview-title {
 font-size: 22px;
        }

        .approach-text {
       font-size: 14px;
        }

        .portfolio-grid,
        .pricing-grid,
        .blog-grid {
          grid-template-columns: 1fr;
  }

        .portfolio-btn {
            padding: 12px 28px;
         font-size: 14px;
        }
    }
