/*
Theme Name: OknaNonStop Theme
Author: Vladyslav K.
Description: Liquid glass style for OknaNonStop website.
Version: 1.3
*/

html {
    background-color: #0c0c10; /* Базовий чорний колір для браузера */
}


/* --- НАЛАШТУВАННЯ "СКЛА" --- */
:root {
    /* Було #000000 — освітлили до глибокого антрациту, щоб сайт "дихав", лишаючись чорним */
    --bg-deep: #0c0c10;
    --bg-deep-2: #131318;
    --text-white: #ffffff;
    --text-gray: #b4b4bc; /* трохи світліший за старий #a1a1a6 */
    --accent-red: #fe7f00;
    --accent-blue: #fe7f00;

    /* Формула скла: напівпрозорий білий + розмиття */
    --glass-bg: rgba(255, 255, 255, 0.04);
    --glass-border: 1px solid rgba(255, 255, 255, 0.12);
    --glass-blur: blur(20px);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    /* 1. Забираємо суцільний чорний колір */
    background-color: transparent; 
    color: var(--text-white);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    position: relative;
    min-height: 100vh;
    overflow-x: hidden;
}

/* === ШАР 1: Розмита картинка (Найнижчий рівень -3) === */
body::before {
    content: "";
    position: fixed;
    top: -5%; left: -5%; 
    width: 110%; height: 110%;
    z-index: -3; /* Опустили ще нижче, щоб звільнити місце для інших шарів */
    
    background-image: url('img/background5.jpg'); 
    background-size: cover;
    background-position: center;
    filter: blur(7px) brightness(0.3); 
}

/* === ШАР 2: Статичні плями (Рівень -2) === */
body::after {
    content: ""; /* ВАЖЛИВО: без цього псевдоелемент не працює */
    position: fixed;
    top: 0; left: 0; 
    width: 100%; height: 100%;
    z-index: -2; 
    pointer-events: none; /* Щоб не блокувало кліки по сайту */
}
/* === ШАР 3: Анімований 3D-фон (Масштабований) === */
.bg-3d-layer {
    position: fixed;
    inset: 0;
    z-index: -1;
    overflow: hidden;
    perspective: 1200px;
    pointer-events: none;
}

.bg-3d-layer .orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    opacity: 0.45;
    will-change: transform;
}

/* 1. ВЕРХНЯ ЛІВА */
.orb-a {
    width: 35vw; height: 35vw; /* Розмір тепер залежить від ширини екрану (vw) */
    top: -10vh; left: -5vw;    /* Позиція теж відносна (vh/vw) */
    background: radial-gradient(circle, rgba(254, 127, 0, 0.45), transparent 70%);
    animation: orbFloat1 10s ease-in-out infinite;
}

/* 2. НИЖНЯ ПРАВА */
.orb-b {
    width: 40vw; height: 40vw;
    bottom: -15vh; right: -5vw;
    background: radial-gradient(circle, rgba(254, 127, 0, 0.45), transparent 70%);
    animation: orbFloat2 12s ease-in-out infinite;
}

/* 3. ЦЕНТР СПРАВА */
.orb-c {
    width: 25vw; height: 25vw;
    top: 30vh; right: -10vw;
    background: radial-gradient(circle, rgba(254, 127, 0, 0.4), transparent 70%);
    animation: orbFloat3 14s ease-in-out infinite;
}

/* 4. НИЖНЯ ЛІВА */
.orb-d {
    width: 32vw; height: 32vw;
    bottom: -10vh; left: -10vw;
    background: radial-gradient(circle, rgba(254, 127, 0, 0.45), transparent 70%);
    animation: orbFloat4 11s ease-in-out infinite;
}

/* 5. ЦЕНТРАЛЬНА */
.orb-e {
    width: 22vw; height: 22vw;
    top: 40vh; left: 40vw;
    background: radial-gradient(circle, rgba(254, 127, 0, 0.4), transparent 70%);
    animation: orbFloat5 15s ease-in-out infinite;
}

/* АНІМАЦІЇ: Рух теж прив'язаний до екрану, щоб при зумі вони не збивались в купу */
@keyframes orbFloat1 {
    0%, 100% { transform: translate3d(0, 0, 0) rotate3d(1, 1, 0, 0deg) scale(1); }
    50%      { transform: translate3d(15vw, 10vh, 100px) rotate3d(1, 1, 0, 45deg) scale(1.25); }
}
@keyframes orbFloat2 {
    0%, 100% { transform: translate3d(0, 0, 0) rotate3d(0, 1, 1, 0deg) scale(1); }
    50%      { transform: translate3d(-15vw, -10vh, 80px) rotate3d(0, 1, 1, -40deg) scale(1.2); }
}
@keyframes orbFloat3 {
    0%, 100% { transform: translate3d(0, 0, 0) rotate3d(0, 1, 0, 0deg) scale(1); }
    50%      { transform: translate3d(-20vw, 10vh, 50px) rotate3d(0, 1, 0, 30deg) scale(1.15); }
}
@keyframes orbFloat4 {
    0%, 100% { transform: translate3d(0, 0, 0) rotate3d(1, 0, 1, 0deg) scale(1); }
    50%      { transform: translate3d(15vw, -15vh, 150px) rotate3d(1, 0, 1, -45deg) scale(1.3); }
}
@keyframes orbFloat5 {
    0%, 100% { transform: translate3d(0, 0, 0) rotate3d(1, 1, 1, 0deg) scale(1); }
    50%      { transform: translate3d(-10vw, -10vh, -50px) rotate3d(1, 1, 1, 60deg) scale(0.9); }
}

@media (max-width: 768px) {
    .bg-3d-layer .orb { filter: blur(60px); opacity: 0.35; }
}
@media (prefers-reduced-motion: reduce) {
    .bg-3d-layer .orb { animation: none; }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

a { text-decoration: none; color: inherit; transition: 0.3s; }
ul { list-style: none; }

/* --- HEADER (Ефект матового скла) --- */
.main-header {
    /* --- ЗМІНИ ТУТ --- */
    position: fixed;          /* Хедер тепер не займає місця, він "висить" */
    left: 50%;                /* Ставимо лівий край по центру екрану */
    transform: translateX(-50%); /* Зсуваємо назад на 50% ширини, щоб ідеально відцентрувати */
    
    width: 95%;
    max-width: 1200px;
    z-index: 1000;            /* Щоб точно був поверх картинки */
    
    /* Твій стиль скла залишається */
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 0 0 30px 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    padding: 10px 30px;

    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1); /* Плавна крива "ease-in-out" */
}

.main-header.scrolled {
    top: 0;
    width: 40%;
    min-width: 300px;
    height: 45px;
    
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    padding: 10px 30px;
    
    /* Важливо для вирівнювання в тонкій смужці */
    display: flex;
    justify-content: center;
}

.main-header.scrolled .brand-block {
    max-width: 0;
    opacity: 0;
    visibility: hidden;
    margin: 0;
    padding: 0;
    height: 0;          /* Додав це, щоб лого точно не займало висоту */
}

.main-header.scrolled .header-flex {
    justify-content: center; /* Меню стає по центру панелі */
}

.main-header.scrolled .header-right {
    gap: 30px;
}

.main-header.scrolled .phone-link {
    padding: 5px 15px;  /* Менші відступи всередині кнопки */
    font-size: 13px;    /* Менший шрифт */
    border-radius: 15px;
}

.main-header.scrolled .main-nav a {
    font-size: 14px;
}

.main-header .container {
    padding: 0;
    max-width: 100%;
	gap: 20px;
}

.header-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-right {
    display: flex;
    align-items: center;       /* Центруємо вертикально */
    gap: 30px;                 /* Відступ між меню і кнопкою */
    flex-wrap: nowrap;         /* ЗАБОРОНЯЄМО перенос на новий рядок */
}

.main-nav ul {
    display: flex;
    align-items: center;
    gap: 25px;                 /* Відступ між посиланнями */
    margin: 0;
    padding: 0;
    list-style: none;
}

/* Якщо екран буде надто вузьким, краще просто приховати зайве або зменшити відступи */
@media (max-width: 900px) {
    .header-right {
        gap: 0px;
    }
    .main-nav ul {
        gap: 15px;
    }
}

/* Логотип */
.brand-block {
    display: flex;
    align-items: center;
}

.logo-img img {
    width: 60px;
    height: 60px;
    border-radius: 12px; /* Трохи заокруглені кути, як в іконках iOS */
    padding: 2px;
}

.site-title {
    font-size: 24px;
    font-weight: 600;
    letter-spacing: -0.5px; /* Apple style typography */
}

.site-tagline {
    font-size: 13px;
    color: var(--text-gray);
}

/* Меню */
.main-nav a {
    font-size: 14px;
    color: var(--text-gray);
    font-weight: 500;
}
.main-nav a:hover { color: var(--text-white); text-shadow: 0 0 10px rgba(255,255,255,0.5); }

/* 1. Налаштування кнопки */
.phone-link {
    position: relative;
    overflow: hidden; /* ГОЛОВНЕ: Обрізає все, що виходить за межі */
    z-index: 1;       /* Щоб текст був зверху */
    
    display: inline-flex;
    align-items: center;
    gap: 10px;
    
    background: rgba(255, 255, 255, 0.1); 
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 12px 25px;
    border-radius: 50px;
    
    color: white;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s;
}

/* 2. Створюємо хвилю (Круг по центру) */
.phone-link::after {
    content: '';
    position: absolute;
    
    /* Центруємо круг */
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    
    width: 0;
    height: 0;
    
    border-radius: 50%; /* Робимо ідеальне коло */
    background: rgba(255, 255, 255, 0.2); /* Колір хвилі (напівпрозорий білий) */
    
    z-index: -1; /* Хвиля під текстом */
    
    /* Запускаємо анімацію */
    animation: inner-ripple 2s infinite;
}

/* 3. Анімація розширення */
@keyframes inner-ripple {
    0% {
        width: 0;
        height: 0;
        opacity: 0.5; /* Спочатку видно */
    }
    100% {
        width: 300px; /* Розширюється більше за саму кнопку */
        height: 300px;
        opacity: 0;   /* Розчиняється в кінці */
    }
}

/* При наведенні */
.phone-link:hover {
    background: white;
    color: black;
    border-color: white;
}

/* --- CARDS (Основний ефект скла тут) --- */
.section { padding: 50px 0; }
.section-title {
    text-align: center;
    font-size: 32px;
    margin-bottom: 50px;
}

/* === НОВІ СЕКЦІЇ (Dark Glass Style) === */

/* --- СІТКА ПОСЛУГ --- */
.services-grid-advanced {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.price-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    overflow: hidden; /* Важливо: щоб картинка не вилазила за кути */
    transition: 0.3s ease;
    display: flex;
    flex-direction: column;
    text-align: left; /* Текст тепер зліва, виглядає акуратніше з фото */
}

.price-card:hover {
    background: rgba(255, 255, 255, 0.07);
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

/* Блок картинки */
.card-image {
    height: 180px; /* Фіксована висота фото */
    width: 100%;
    overflow: hidden;
    position: relative;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Картинка заповнює весь простір */
    transition: transform 0.5s ease;
}

/* Зум картинки при наведенні */
.price-card:hover .card-image img {
    transform: scale(1.1);
}

/* Блок контенту (текст, ціна, кнопка) */
.card-content {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.price-card h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: white;
}

.price-card .desc {
    font-size: 14px;
    color: var(--text-gray);
    margin-bottom: 20px;
    flex-grow: 1; /* Рівняє кнопки по низу */
    line-height: 1.5;
}

.price-card .price {
    font-size: 18px;
    font-weight: bold;
    color: #fff;
    margin-bottom: 20px;
    padding: 10px 0;
    border-top: 1px solid rgba(255,255,255,0.1); /* Тонка лінія над ціною */
}

.btn-card {
    display: block;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.5);
    color: white;
    padding: 12px;
    border-radius: 10px;
    text-transform: uppercase;
    font-size: 13px;
    font-weight: bold;
    letter-spacing: 1px;
}

.btn-card:hover {
    background: white;
    color: black;
}

/* --- ПЕРЕВАГИ --- */

.benefits-flex {
    display: grid;
    /* Робимо 4 колонки на великих екранах, щоб все влізло в 2 ряди */
    grid-template-columns: repeat(4, 1fr); 
    gap: 30px;
    margin-top: 0px;
}

.benefit-item {
    background: rgba(255, 255, 255, 0.05); /* Легкий фон */
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 30px 20px;
    text-align: center;
    transition: 0.3s;
}

.benefit-item:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    border-color: white;
}

.benefit-item i {
    font-size: 40px;
    color: #888; /* Сірий колір іконок */
    margin-bottom: 15px;
    transition: 0.3s;
}

.benefit-item:hover i {
    color: #fff; /* Біліють при наведенні */
}

.benefit-item h4 { margin-bottom: 5px; font-size: 18px; }
.benefit-item p { font-size: 14px; color: var(--text-gray); }

/* === АДАПТИВНІСТЬ === */

/* На планшетах - по 2 в ряд */
@media (max-width: 992px) {
    .benefits-flex {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* На телефонах - по 1 в ряд */
@media (max-width: 576px) {
    .benefits-flex {
        grid-template-columns: 1fr;
    }
}

/* --- FAQ + КОНТАКТИ --- */
.split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

/* Акордеон (Питання) */
.glass-accordion {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    margin-bottom: 15px;
    overflow: hidden;
}

.glass-accordion summary {
    padding: 20px;
    cursor: pointer;
    font-weight: 600;
    list-style: none; /* Ховаємо стандартний трикутник */
    position: relative;
    transition: 0.3s;
}

.glass-accordion summary:hover {
    background: rgba(255,255,255,0.05);
}

/* Робимо свій плюсик */
.glass-accordion summary::after {
    content: '+';
    position: absolute;
    right: 20px;
    font-size: 20px;
    font-weight: lighter;
}

.glass-accordion[open] summary::after {
    content: '-';
}

.glass-accordion p {
    padding: 0 20px 20px 20px;
    font-size: 14px;
    color: var(--text-gray);
    line-height: 1.5;
}

/* Форма */
.glass-form {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 40px;
    border-radius: 25px;
    backdrop-filter: blur(10px);
    height: 93%;
    display: flex;
    flex-direction: column;
    justify-content: center; /* Вирівнює контент по центру вертикально */
}

.form-content {
    display: flex;
    flex-direction: column;
    width: 100%; /* Гарантує, що контент займає всю ширину */
}

.glass-form h3 { margin-bottom: 5px; }
.glass-form p { color: var(--text-gray); margin-bottom: 25px; font-size: 14px; }

.glass-form input {
    width: 100%;
    background: rgba(0,0,0,0.3);
    border: 1px solid rgba(255,255,255,0.2);
    padding: 15px;
    border-radius: 10px;
    color: white;
    margin-bottom: 15px;
    font-family: inherit;
}

.glass-form input:focus {
    outline: none;
    border-color: white;
}


/* Адаптивність для FAQ */
@media (max-width: 768px) {
    .split-layout {
        grid-template-columns: 1fr; /* Стають в одну колонку */
    }
}

/* === ГАЛЕРЕЯ ТА ВІДГУКИ === */

.section-subtitle {
    text-align: center;
    color: var(--text-gray);
    margin-top: -40px;
    margin-bottom: 50px;
}

/* --- АДАПТИВНІСТЬ ГАЛЕРЕЇ --- */

/* --- ВІДГУКИ (Google Style) --- */
.google-badge {
    text-align: center;
    margin-bottom: 40px;
    font-size: 18px;
    color: #fff;
}
.google-badge i { color: #fff; margin-right: 5px; }

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.review-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 25px;
    transition: 0.3s;
}

.review-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    position: relative;
}

/* Аватарка з буквою */
.user-avatar {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: white;
    font-size: 20px;
	object-fit: cover; /* Це найважливіше: фото не буде сплющуватись */
    background-color: transparent; /* Прибираємо кольоровий фон */
}

.user-info h4 {
    font-size: 16px;
    margin-bottom: 2px;
    color: white;
}

/* Зірочки Google (жовті) */
.stars {
    color: #fbbc04; /* Офіційний колір Google Star */
    font-size: 12px;
}

/* Лого Google в кутку картки */
.g-icon {
    position: absolute;
    right: 0;
    top: 0;
    color: var(--text-gray);
    opacity: 0.5;
    font-size: 20px;
}

.review-text {
    font-size: 14px;
    color: var(--text-gray);
    line-height: 1.6;
    font-style: italic;
}

/* === ФІНАЛЬНИЙ CTA БЛОК === */
.final-cta-section {
    padding-bottom: 50px; /* Відступ від футера */
}

.cta-glass-box {
    background: linear-gradient(135deg, rgba(255,255,255,0.1), rgba(255,255,255,0.03));
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 30px;
    padding: 60px 20px;
    text-align: center;
    backdrop-filter: blur(20px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    position: relative;
    overflow: hidden;
}

/* Декоративне світіння на фоні */
.cta-glass-box::before {
    content: '';
    position: absolute;
    top: -50%; left: -50%;
    width: 200%; height: 200%;
    background: radial-gradient(circle, rgba(58, 134, 255, 0.15) 0%, transparent 60%);
    z-index: -1;
}

.cta-glass-box h2 {
    font-size: 36px;
    margin-bottom: 15px;
    color: white;
}

.cta-glass-box p {
    color: var(--text-gray);
    margin-bottom: 40px;
    font-size: 18px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Кнопка з пульсацією */
.btn-pulse {
    display: inline-flex;
    align-items: center;
	justify-content:center;
    gap: 10px;
    background: white;
    color: black;
    padding: 18px 40px;
    border-radius: 50px;
    font-weight: bold;
    font-size: 18px;
    text-transform: uppercase;
    animation: pulse-white 2s infinite;
    transition: 0.3s;
}

.btn-pulse:hover {
    transform: scale(1.05);
    box-shadow: 0 0 30px rgba(255,255,255,0.4);
}

@keyframes pulse-white {
    0% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7); }
    70% { box-shadow: 0 0 0 20px rgba(255, 255, 255, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); }
}

/* === ВЕЛИКИЙ ФУТЕР === */
.main-footer {
    /* Робимо фон напівпрозорим чорним замість суцільного */
    background: rgba(10, 10, 12, 0.7); 
    
    /* Додаємо ефект скла (розмиття фону під футером) */
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    
    border-top: 1px solid rgba(255, 255, 255, 0.08); /* Робимо лінію ще тоншою і делікатнішою */
    padding: 80px 0 30px;
    margin-top: 50px;
    position: relative; /* Важливо для z-index, щоб футер був поверх фону */
    z-index: 10;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr; /* Перша колонка ширша */
    gap: 50px;
    margin-bottom: 60px;
}

.footer-col h4 {
    color: white;
    font-size: 18px;
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-col ul li {
    margin-bottom: 15px;
}

.footer-col a {
    color: var(--text-gray);
    font-size: 15px;
    transition: 0.3s;
}

.footer-col a:hover {
    color: white;
    padding-left: 5px; /* Ефект зсуву при наведенні */
}

/* Стиль для колонки бренду */
.footer-logo {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}
.footer-logo img { width: 50px; border-radius: 10px; }
.footer-logo span { font-size: 20px; font-weight: bold; color: white; }

.brand-col p {
    color: var(--text-gray);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 25px;
    max-width: 300px;
}

.social-links { display: flex; gap: 15px; }
.social-links a {
    width: 40px; height: 40px;
    background: rgba(255,255,255,0.1);
    display: flex; align-items: center; justify-content: center;
    border-radius: 50%;
    color: white;
}
.social-links a:hover { background: white; color: black; padding: 0; }

/* Список контактів з іконками */
.contact-list li {
    display: flex;
    align-items: center;
    gap: 15px;
    color: var(--text-gray);
    font-size: 15px;
}
.contact-list i { color: white; width: 20px; text-align: center; }

/* Нижній рядок (Copyright) */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    color: #555;
    font-size: 13px;
}

/* Адаптивність футера */
@media (max-width: 900px) {
    .footer-grid {
        grid-template-columns: 1fr; /* Все в одну колонку на телефоні */
        gap: 40px;
        text-align: center;
    }
    
    .footer-logo, .social-links, .contact-list li {
        justify-content: center;
    }
    
    .brand-col p { margin: 0 auto 25px auto; }
    
    .footer-bottom {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
}

/* === СЕКЦІЯ ПРО НАС (O NAS) === */

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Дві рівні колонки */
    gap: 60px;
    align-items: center;
}

/* --- Текстова частина --- */
.about-lead {
    font-size: 18px;
    color: white;
    margin-bottom: 20px;
    line-height: 1.6;
}

.about-text p {
    color: var(--text-gray);
    margin-bottom: 20px;
}

.about-features {
    margin: 30px 0;
}

.about-features li {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    font-weight: 500;
    color: #ddd;
}

.about-features i {
    color: white; /* Або можна зробити акцентним кольором */
    font-size: 18px;
    width: 25px;
    text-align: center;
}

/* --- Фото частина (Складна композиція) --- */
.about-image-wrapper {
    position: relative;
    height: 500px; /* Фіксована висота для картинки */
}

.main-about-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 30px;
    /* Легка тінь позаду фото */
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    /* Робимо фото трохи темнішим, щоб не сліпило */
    filter: brightness(0.9);
}

/* ЛІТАЮЧА СКЛЯНА КАРТКА */
.floating-glass-card {
    position: absolute;
    bottom: 30px;
    left: -30px; /* Вилазить за межі фото вліво */
    
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    
    text-align: center;
    min-width: 180px;
    
    /* Анімація легкого погойдування */
    animation: float-card 6s ease-in-out infinite;
}

.stat-number {
    font-size: 42px;
    font-weight: 800;
    color: white;
    margin-bottom: 5px;
    line-height: 1;
}

.stat-label {
    font-size: 14px;
    color: #ccc;
    text-transform: uppercase;
    letter-spacing: 1px;
}

@keyframes float-card {
    0% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0); }
}

/* Адаптивність для About */
@media (max-width: 900px) {
    .about-grid {
        grid-template-columns: 1fr; /* Одна колонка */
    }
    
    .about-image-wrapper {
        height: 350px;
        margin-top: 30px;
    }
    
    .floating-glass-card {
        left: 20px; /* На мобільному картка всередині */
        bottom: 20px;
    }
}

/* Кнопка "Написати відгук" */
.btn-write-review {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    
    background: white;       /* Біла кнопка */
    color: black;            /* Чорний текст */
    
    padding: 12px 25px;
    border-radius: 50px;     /* Овальна форма */
    font-weight: bold;
    font-size: 14px;
    text-transform: uppercase;
    text-decoration: none;
    width: 30%;
    
    margin-top: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.15); /* Світіння */
}

.btn-write-review:hover {
    transform: translateY(-3px); /* Підскакує при наведенні */
    box-shadow: 0 10px 25px rgba(255, 255, 255, 0.3);
    background: #f0f0f0;
}

.btn-write-review i {
    font-size: 18px; /* Логотип G трохи більший */
}

/* Підказка під кнопкою */
.review-hint {
    font-size: 11px;
    color: var(--text-gray);
    margin-top: 10px;
    opacity: 0.7;
}

/* Контейнер, який дозволяє гортати */
.packs-slider {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory; /* Обов'язкова зупинка на слайді */
    -webkit-overflow-scrolling: touch;
    
    /* Прибираємо скролбар */
    scrollbar-width: none; 
}
.packs-slider::-webkit-scrollbar { display: none; }

/* Одна "Пачка" (Слайд) */
.gallery-pack {
    min-width: 100%; /* Займає 100% ширини контейнера */
    scroll-snap-align: start; /* Прилипає до початку */
    padding-right: 20px; /* Невеликий відступ, щоб слайди не злипались */
}

/* --- ТВОЯ УЛЮБЛЕНА СІТКА (Всередині пачки) --- */
.gallery-grid-vertical {
    display: grid;
    /* 3 колонки: широка + дві вузькі */
    grid-template-columns: 1.5fr 1fr 1fr; 
    grid-template-rows: repeat(2, 350px); /* Висота рядів */
    gap: 15px;
}

.gallery-item {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
    border: 1px solid rgba(255,255,255,0.1);
    height: 100%;
}

/* ГОЛОВНЕ ФОТО (Велике зліва) */
.gallery-item.featured {
    grid-column: 1 / 2;
    grid-row: 1 / 3; /* На 2 ряди висотою */
}

/* Стандартні стилі фото */
.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img { transform: scale(1.05); }

.overlay {
    position: absolute;
    bottom: 0; left: 0; width: 100%;
    padding: 15px;
    background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
    color: white;
    font-size: 14px;
    font-weight: 600;
    opacity: 0;
    transform: translateY(20px);
    transition: 0.3s;
}

.gallery-item:hover .overlay {
    opacity: 1;
    transform: translateY(0);
}

/* --- АДАПТИВНІСТЬ --- */
@media (max-width: 900px) {
    .gallery-grid-vertical {
        grid-template-columns: 1fr 1fr; /* 2 колонки */
        grid-template-rows: auto;
    }
    .gallery-item.featured {
        grid-column: span 2; /* На всю ширину зверху */
        height: 300px;
    }
    .gallery-item:not(.featured) { height: 200px; }
}

@media (max-width: 600px) {
    .gallery-grid-vertical {
        grid-template-columns: 1fr; /* Одна колонка */
        gap: 10px;
    }
    .gallery-item.featured { grid-column: span 1; height: 250px; }
    
    /* На телефоні пачка займає трохи менше 100%, щоб видно було край наступної */
    .gallery-pack { min-width: 90%; margin-right: 10px; padding-right: 0;}
}

/* Індикатор (Крапки знизу) */
.slider-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}
.dot {
    width: 10px; height: 10px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
}
.dot.active { background: white; }

/* --- СТРІЛОЧКИ СЛАЙДЕРА --- */
.slider-wrapper {
    position: relative; /* Обов'язково! Кнопки будуть відштовхуватись від цього блоку */
    width: 100%;
    padding: 0 60px;
    box-sizing: border-box;
}

/* --- СТРІЛОЧКИ (ВИПРАВЛЕНІ І ПОСИЛЕНІ) --- */
/* --- СТРІЛОЧКИ (ВИСУНУТІ НАЗОВНІ) --- */
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    
    width: 50px; height: 50px;
    border-radius: 50%;
    
    /* Змінив колір: тепер вони темні, але прозорі, щоб не так кидались в очі */
    background: rgba(255, 255, 255, 0.1); 
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    
    font-size: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
}

/* ВИСУВАЄМО ЇХ ЗА МЕЖІ */
.slider-arrow.prev {
    left: 0; /* Притискаємо до лівого краю нашого padding-у */
}

.slider-arrow.next {
    right: 0; /* Притискаємо до правого краю нашого padding-у */
}

.slider-arrow:hover {
    background: white;
    color: black;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 0 15px rgba(255,255,255,0.5);
}

/* На мобільному ховаємо стрілки, бо там нема місця збоку */
@media (max-width: 900px) {
    .slider-wrapper {
        padding: 0; /* Прибираємо відступи на телефоні */
    }
    .slider-arrow {
        display: none;
    }
}
/* === HERO SLIDER (PROFESSIONAL STYLE) === */

/* === HERO: LIQUID GLASS INTERFACE === */

.hero-slider-section {
    position: relative;
    min-height: unset;
    width: 100%;
    overflow: hidden;
    color: white;
    padding: 130px 0 50px;
}

/* ФОН (Без змін) */
.hero-bg-layer { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 0; }
.bg-slide { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-size: cover; background-position: center; opacity: 0; transition: opacity 2s ease-in-out; }
.bg-slide.active { opacity: 1; }
.hero-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.42); z-index: 1; }

/* СІТКА HERO: текст+картки зліва, форма справа */
.hero-grid {
    position: relative;
    z-index: 10;
    display: grid;
    grid-template-columns: 1fr;
    align-items: stretch;
    gap: 24px;
}

@media (min-width: 1041px) {
    .hero-grid {
        grid-template-columns: 1.4fr 0.6fr;
    }
}

/* Бейдж над заголовком (як на референсі) */
.hero-badge-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(254, 127, 0, 0.15);
    border: 1px solid rgba(254, 127, 0, 0.4);
    color: var(--accent-red);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 12.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 14px;
}

/* КОНТЕЙНЕР ЗЛІВА */
.hero-left-layout {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: flex-start; /* Все притиснуто вліво */
    justify-content: space-between;
}

/* --- РЯДОК: СТРІЛОЧКИ ЗЛІВА/СПРАВА ВІД ГОЛОВНОЇ КАРТКИ --- */
.hero-slide-row {
    display: flex;
    align-items: center;
    gap: 14px;
    width: 100%;
}

.hero-slide-row .liquid-glass-btn {
    flex-shrink: 0;
}

.hero-slide-row .liquid-glass-box.main-box {
    flex: 0 1 650px;
}

/* --- РЯДОК МІНІ-КАРТОК --- */
.hero-bottom-row {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    gap: 12px;
    margin-top: 16px;
    width: 100%;
}

/* --- МІНІ-КАРТКИ ПЕРЕВАГ (як у референсі) --- */
.hero-mini-cards {
    display: flex;
    gap: 10px;
    flex: 1 1 auto;
    min-width: 0;
}

.mini-card {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 14px;
    padding: 10px 12px;
    flex: 1 1 0;
    min-width: 0;
    box-shadow: 0 8px 20px rgba(0,0,0,0.25);
}

.mini-card-icon {
    width: 30px; height: 30px; min-width: 30px;
    border-radius: 9px;
    background: rgba(254, 127, 0, 0.18);
    color: var(--accent-red);
    display: flex; align-items: center; justify-content: center;
    font-size: 12.5px;
}

.mini-card-text { min-width: 0; }
.mini-card-text strong { display: -webkit-box; font-size: 12.5px; margin-bottom: 2px; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; line-height: 1.25; }
.mini-card-text span { font-size: 11px; color: var(--text-gray); line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* --- ФОТО СПРАВА --- */
.hero-right-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.hero-photo-wrapper {
    position: relative;
    max-width: 420px;
    width: 100%;
}

.hero-photo {
    width: 100%;
    display: block;
    border-radius: 30px;
    object-fit: cover;
    aspect-ratio: 4 / 5;
    box-shadow: 0 25px 60px rgba(0,0,0,0.6);
    filter: brightness(0.95);
}

.hero-badge-floating {
    position: absolute;
    bottom: -20px;
    left: -20px;
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 18px;
    padding: 16px 20px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.4);
    animation: float-card 6s ease-in-out infinite;
}

.hero-badge-floating i { font-size: 22px; color: var(--accent-red); }
.hero-badge-floating strong { display: block; font-size: 15px; }
.hero-badge-floating span { font-size: 12px; color: var(--text-gray); }

@media (max-width: 1040px) {
    .hero-grid { grid-template-columns: 1fr; }
    .hero-right-visual { display: none; } /* На планшеті/мобільному фото ховаємо — фокус на CTA */
}

/* --- ФОРМА ЗАЯВКИ СПРАВА (як на референсі, у нашому "рідкому склі") --- */
.hero-form-card {
    position: relative;
    z-index: 10;
    justify-self: end;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 22px;
    padding: 28px 26px;
    max-width: 340px;
    width: 100%;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
    background-image: linear-gradient(135deg, rgba(255,255,255,0.09) 0%, rgba(255,255,255,0) 100%);
}

.hero-form-title {
    font-size: 20px;
    font-weight: 800;
    color: var(--text-white);
    margin-bottom: 5px;
}

.hero-form-sub {
    font-size: 13px;
    color: var(--text-gray);
    margin-bottom: 20px;
    line-height: 1.5;
}

.hero-form-group { margin-bottom: 12px; }

.hero-form-input {
    width: 100%;
    padding: 13px 16px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.06);
    color: var(--text-white);
    font-size: 14.5px;
    font-family: inherit;
    outline: none;
    transition: 0.3s;
}

.hero-form-input::placeholder { color: rgba(255, 255, 255, 0.4); }

.hero-form-input:focus {
    border-color: var(--accent-red);
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 0 3px rgba(254, 127, 0, 0.15);
}

.hero-phone-group {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 16px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.06);
    transition: 0.3s;
}

.hero-phone-group:focus-within {
    border-color: var(--accent-red);
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 0 3px rgba(254, 127, 0, 0.15);
}

.hero-phone-group .flag { font-size: 18px; line-height: 1; }
.hero-phone-group .code { color: rgba(255, 255, 255, 0.6); font-size: 14.5px; }

.hero-phone-group input {
    flex: 1;
    min-width: 0;
    border: none;
    background: transparent;
    padding: 13px 0;
    color: var(--text-white);
    font-size: 14.5px;
    font-family: inherit;
    outline: none;
}

.hero-phone-group input::placeholder { color: rgba(255, 255, 255, 0.4); }

.hero-form-submit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 14px;
    border: none;
    border-radius: 12px;
    background: var(--accent-red);
    color: #fff;
    font-weight: 800;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    cursor: pointer;
    transition: 0.3s;
    box-shadow: 0 10px 25px rgba(254, 127, 0, 0.3);
}

.hero-form-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(254, 127, 0, 0.45);
}

.hero-form-note {
    font-size: 11.5px;
    color: var(--text-gray);
    text-align: center;
    margin-top: 14px;
    line-height: 1.4;
}

.hero-form-submit .loader { font-size: 16px; }
.hero-form-submit:disabled { opacity: 0.7; cursor: not-allowed; transform: none; }

.hero-form-response {
    text-align: center;
    font-size: 13px;
    font-weight: 600;
    margin-top: 12px;
    line-height: 1.4;
}

@media (max-width: 1040px) {
    .hero-form-card { justify-self: center; margin: 0 auto; }
    .hero-bottom-row { flex-wrap: wrap; }
    .mini-card { flex: 1 1 200px; }
}

@media (max-width: 768px) {
    .hero-form-card { padding: 28px 24px; }
}

@media (max-width: 768px) {
    .hero-bottom-row { justify-content: center; }
    .hero-mini-cards { flex-wrap: wrap; justify-content: center; }
    .mini-card { flex: 1 1 100%; max-width: 100%; }
	.hero-grid {
        padding-top: 90px; 
    }
}

/* --- ГОЛОВНИЙ РЕЦЕПТ LIQUID GLASS (Загальний стиль) --- */
.liquid-glass-box, .liquid-glass-btn {
    background: rgba(0, 0, 0, 0.6); /* Темна напівпрозора основа */
    backdrop-filter: blur(25px); /* Сильне розмиття фону */
    -webkit-backdrop-filter: blur(25px); /* Для Safari */
    border: 1px solid rgba(255, 255, 255, 0.2); /* Тонка скляна рамка */
    box-shadow: 0 15px 35px rgba(0,0,0,0.3); /* М'яка тінь */
    
    /* Додаємо легкий градієнт для ефекту "бліка" на склі */
    background-image: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 100%);
}


/* 1. ВЕЛИКИЙ БЛОК З ТЕКСТОМ */
.liquid-glass-box.main-box {
    padding: 28px 32px;
    max-width: 650px;
    width: 100%;
    border-radius: 22px; /* М'які кути */
    margin-bottom: 0; /* Відступ тепер задає hero-bottom-row */
}

.content-slide { display: none; animation: fadeEffect 0.6s ease; }
.content-slide.active { display: block; }

.slide-title { font-size: 30px; font-weight: 800; text-transform: uppercase; margin-bottom: 12px; line-height: 1.15; text-shadow: 0 2px 10px rgba(0,0,0,0.5); }
.slide-desc { font-size: 15.5px; color: rgba(255,255,255,0.9); margin-bottom: 20px; line-height: 1.55; }

.slide-btn {
    display: inline-flex; align-items: center; gap: 10px; padding: 12px 28px;
    font-weight: 700; text-transform: uppercase; text-decoration: none; border-radius: 12px; transition: 0.3s;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    font-size: 14px;
}
.btn-red { background: #fe7f00; color: white; }
.btn-white { background: white; color: black; }
.btn-green { background: #25D366; color: white; }
.slide-btn:hover { transform: translateY(-3px); box-shadow: 0 10px 25px rgba(0,0,0,0.4); }


/* 2. СТРІЛОЧКИ (Кнопки) */
.liquid-glass-btn {
    width: 46px; height: 46px;
    border-radius: 14px; /* Теж м'які квадрати, як і головний блок */
    color: rgba(255, 255, 255, 0.8);
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex; align-items: center; justify-content: center;
}

.liquid-glass-btn:hover {
    background: rgba(255, 255, 255, 0.9); /* Стають яскравими при наведенні */
    color: black;
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(255,255,255,0.3);
}

/* Анімація появи */
@keyframes fadeEffect { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

/* Мобільний адаптив */
@media (max-width: 768px) {
    .hero-left-layout { align-items: center; /* На телефоні все по центру */ }
    .liquid-glass-box.main-box { padding: 22px 22px; text-align: center; }
    .slide-title { font-size: 22px; }
    .slide-desc { font-size: 14px; }
    .hero-bottom-row { justify-content: center; }
    .slide-btn { width: 100%; justify-content: center; }
    .mini-card { flex-direction: column; align-items: center; text-align: center; }

    .hero-slide-row { flex-wrap: wrap; justify-content: center; row-gap: 14px; }
    .hero-slide-row .liquid-glass-box.main-box { order: 1; flex-basis: 100%; }
    .hero-slide-row .liquid-glass-btn.prev { order: 2; }
    .hero-slide-row .liquid-glass-btn.next { order: 3; }
}
@media (max-width: 1040px) {

    /* --- 1. ВИПРАВЛЕННЯ КНОПКИ ВІДГУКУ --- */
    .btn-write-review {
        width: auto;          /* Скасовуємо 30% */
        min-width: 220px;     /* Мінімальна зручна ширина */
        padding: 12px 30px;   /* Більше простору всередині */
        font-size: 14px;      /* Читабельний шрифт */
    }

    /* --- 2. ВИПРАВЛЕННЯ ХЕДЕРА --- */
    
    /* Робимо хедер на всю ширину на мобільних */
    .main-header {
        width: 100% !important;
        left: 0 !important;
        transform: none !important; /* Прибираємо центрування */
        border-radius: 0 0 20px 20px; /* Трохи менші радіуси */
        padding: 10px 15px; /* Менші відступи */
        display: flex;
        justify-content: space-between;
        gap: 15px !important;
    }

    /* Прибираємо слоган (дрібний текст) під логотипом, щоб зекономити місце */
    .site-tagline {
        display: none;
    }
    
    /* Зменшуємо розмір заголовка сайту */
    .site-title {
        font-size: 18px;
    }
    .logo-img img {
        width: 45px;
        height: 45px;
    }

    /* --- ХЕДЕР ПРИ ПРОКРУТЦІ (SCROLLED) --- */
    /* На мобільному не треба перетворювати його на маленьку "пігулку" */
    .main-header.scrolled {
        width: 100% !important;
        min-width: 100% !important;
        height: 60px; /* Трохи вищий за десктопний варіант, щоб зручніше тицяти */
        border-radius: 0; /* Рівний низ */
        left: 0;
        transform: none;
        justify-content: space-between; /* Розтягуємо елементи */
        padding: 0 20px;
        gap: 15px !important;
    }

    /* Повертаємо логотип при прокрутці на мобільному! 
       (Бо на десктопі ти його ховав, а на мобільному місце є, якщо прибрати текст) */
    .main-header.scrolled .brand-block {
        max-width: none;
        opacity: 1;
        visibility: visible;
        height: auto;
        margin-right: 20px; /* Притискаємо вліво */
    }
    
    /* Але ховаємо ТЕКСТ логотипу при прокрутці, залишаємо тільки картинку */
    .main-header.scrolled .logo-text {
        display: none;
    }

    /* Кнопка телефону в хедері */
    .phone-link {
        padding: 8px 15px; /* Компактніша кнопка */
        font-size: 13px;
    }
    
    /* Ховаємо меню на мобільному (бо воно не влізе) */
    /* В ідеалі треба робити бургер-меню, але поки просто сховаємо посилання, залишивши телефон */
    .main-nav {
        display: none; 
    }
}
/* 1. Стилі для кнопки Бургер (на ПК її не видно) */
.burger-btn {
    display: none; /* За замовчуванням прихована */
    background: transparent;
    border: 1px solid rgba(255,255,255,0.3);
    color: white;
    font-size: 20px;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    margin-left: 10px; /* Відступ від кнопки телефону */
}

/* 2. Стилі для Шторки меню (спочатку схована) */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    right: -100%; /* Схована за правим краєм екрану */
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.95); /* Темний фон */
    backdrop-filter: blur(20px);
    z-index: 2000; /* Поверх усього */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-menu-overlay.active {
    right: 0; /* Виїжджає на екран */
}

.mobile-links {
    list-style: none;
    text-align: center;
}

.mobile-links li { margin: 25px 0; }

.mobile-links a {
    font-size: 24px;
    color: white;
    font-weight: bold;
    text-transform: uppercase;
}

.close-menu-btn {
    position: absolute;
    top: 30px;
    right: 30px;
    background: none;
    border: none;
    color: white;
    font-size: 35px;
    cursor: pointer;
}

/* === АДАПТИВ (Тут ми фіксимо злипання) === */
@media (max-width: 900px) {
    
    /* Ховаємо звичайне меню */
    .desktop-nav { display: none; }
    
    /* Показуємо бургер */
    .burger-btn { display: flex; }

    /* !!! ГОЛОВНИЙ ФІКС ЗЛИПАННЯ !!! */
    /* На телефоні ховаємо довгий напис "OknaNonStop.Pl", залишаємо тільки лого-картинку */
    .logo-text {
        display: none; 
    }
    
    /* Робимо лого-картинку трохи більшою */
    .logo-img img {
        width: 50px;
        height: 50px;
    }

    /* Налаштування хедера, щоб все влізло */
    .main-header .container {
        padding: 0 15px; /* Менші відступи по боках */
		gap: 10px;
    }


    /* Кнопка телефону: прибираємо текст "Zadzwoń", лишаємо тільки трубку, якщо екран дуже вузький */
    .phone-link span {
        display: none; /* Ховаємо слово "Zadzwoń" на вузьких екранах */
    }
    
    .phone-link {
        padding: 10px; /* Робимо кнопку круглою/квадратною */
        border-radius: 50%;
        width: 40px;
        height: 40px;
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 0;
    }
    
    /* Якщо телефон трохи ширший (більше 380px), можна повернути текст */
    @media (min-width: 380px) {
        .phone-link span { display: inline; }
        .phone-link { 
            width: auto; 
            border-radius: 50px; 
            padding: 8px 15px; 
            gap: 10px;
        }
        /* Можна повернути назву сайту, якщо влізе */
        .logo-text { display: block; }
        .site-tagline { display: none; } /* Але слоган точно ховаємо */
        .site-title { font-size: 16px; }
    }
}
@media (min-width: 901px) {
    
    /* 1. ХОВАЄМО МОБІЛЬНЕ МЕНЮ НА КОМП'ЮТЕРІ */
    /* Це прибере ті величезні написи справа */
    .mobile-menu-overlay, 
    .burger-btn, 
    .close-menu-btn {
        display: none !important;
    }

    /* 2. ВІДНОВЛЮЄМО ГОРИЗОНТАЛЬНЕ МЕНЮ */
    /* Гарантуємо, що звичайне меню буде видно */
    .desktop-nav {
        display: block !important;
    }

    .desktop-nav ul {
        display: flex;
        gap: 30px;
    }

    /* 3. ВИПРАВЛЕННЯ СІТКИ (Щоб текст не прилипав до країв) */
    .container {
        max-width: 1200px;
        margin: 0 auto; /* Центрує весь сайт */
        padding: 0 20px;
    }

    /* Фікс секції "O Nas", щоб текст і фото були рівно 50/50 */
    .about-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 60px;
        align-items: center;
    }

    /* Фікс хедера, щоб він був рівним */
    .header-right {
        display: flex;
        align-items: center;
    }
}

/* === ЧИСТА СТОКОВА ФОРМА (БЕЗ ПЛАГІНІВ) === */

.custom-glass-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.glass-input {
    width: 100%;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 15px;
    border-radius: 10px;
    color: white;
    font-size: 14px;
    font-family: inherit;
    outline: none;
    transition: 0.3s;
}

.glass-input:focus {
    border-color: white;
    background: rgba(0, 0, 0, 0.5);
    box-shadow: 0 0 10px rgba(255,255,255,0.1);
}

.glass-input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.select-wrapper {
    position: relative;
    width: 100%;
}

/* 2. Сам селект (в закритому стані) */
select.glass-input {
    appearance: none;          /* Прибираємо стандартну системну стрілку */
    -webkit-appearance: none;  /* Для Safari/Chrome */
    -moz-appearance: none;     /* Для Firefox */
    
    width: 100%;
    background-color: rgba(0, 0, 0, 0.3); /* Темне скло */
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
	
	margin-bottom: 15px;
    
    padding: 15px;
    padding-right: 45px;      /* Місце справа, щоб текст не наліз на нашу стрілку */
    
    color: white;
    font-size: 14px;
    font-family: inherit;     /* Шрифт як на сайті */
    cursor: pointer;
    outline: none;
    transition: all 0.3s ease;
}

/* Ефект при наведенні та кліку */
select.glass-input:hover {
    background-color: rgba(0, 0, 0, 0.4);
    border-color: rgba(255, 255, 255, 0.4);
}

select.glass-input:focus {
    background-color: rgba(0, 0, 0, 0.6);
    border-color: white;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.1); /* Легке світіння */
}

/* 3. ВНУТРІШНІ ОПЦІЇ (Меню, що випадає) */
/* Важливо: тут не можна дати прозорість, тому даємо стильний матовий чорний */
select.glass-input option {
    background-color: #121212; /* Темно-сірий, майже чорний (Material Dark) */
    color: #e0e0e0;            /* Світлий текст */
    padding: 15px;             /* Відступи (працює в Firefox/Chrome) */
    font-size: 14px;
}

/* 4. СТРІЛОЧКА (Іконка) */
/* Цей клас вже є в твоєму HTML (<i class="... select-arrow"></i>) */
.select-arrow {
    position: absolute;
    top: 40%;
    right: 20px;
    transform: translateY(-50%); /* Центрування по вертикалі */
    
    color: rgba(255, 255, 255, 0.6); /* Трохи тьмяна */
    font-size: 14px;
    pointer-events: none; /* ВАЖЛИВО: щоб клік по стрілці відкривав меню */
    transition: 0.3s ease;
}

/* Коли селект відкритий (у фокусі) — стрілочка крутиться і біліє */
.select-wrapper:focus-within .select-arrow {
    transform: translateY(-50%) rotate(180deg);
    color: white;
}

/* Текстове поле зі скролом */
textarea.scroll-text {
    height: 100px;
    resize: none;
    overflow-y: auto;
}

.btn-text
{
	font-weight: 800;
}

.btn-glow:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

/* === SEKCJA PARTNERZY (KARUZELA) === */
.partners-section {
    overflow: hidden;
}

.partners-title {
    text-align: center;
    color: var(--text-gray);
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 30px;
	margin-top: 20px;
    opacity: 0.7;
}

/* Okno, w którym widać loga */
.partners-window {
    width: 100%;
	overflow: hidden;
	padding-top: 20px;  
    padding-bottom: 20px;
    position: relative;
    /* Dodajemy gradient po bokach, żeby ładnie zanikało */
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

/* Pasek z elementami */
.partners-track {
    display: flex;
    align-items: center;
    gap: 0; /* Odstępy regulujemy paddingiem w itemie */
    transition: transform 0.5s ease-in-out; /* Płynne przesuwanie */
}

/* Pojedyncze logo */
.partner-item {
    min-width: 200px; /* Stała szerokość elementu */
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    
    /* Domyślny styl (nieaktywny) */
    opacity: 0.3;
    transform: scale(0.8);
    transition: all 0.5s ease; /* Płynna zmiana wielkości */
    
    /* Styl tekstu zastępczego (jeśli nie masz obrazków) */
    font-size: 24px;
    font-weight: 800;
    color: white;
    background: rgba(255,255,255,0.05);
    border-radius: 15px;
    margin: 0 10px;
}

/* Obrazek w środku */
.partner-item img {
    max-width: 80%;
    max-height: 80%;
    filter: grayscale(100%); /* Czarno-białe */
    transition: 0.5s;
}

/* === MAGIA: FOKUS NA DRUGIM ELEMENCIE === */
/* Kiedy karuzela stoi, drugi element jest wyróżniony */
.partners-track .partner-item:nth-child(2) {
    opacity: 1;           /* Pełna widoczność */
    transform: scale(1.1); /* Powiększenie */
    background: rgba(255,255,255,0.1); /* Jaśniejsze tło */
    box-shadow: 0 0 20px rgba(255,255,255,0.1); /* Lekkie świecenie */
    border: 1px solid rgba(255,255,255,0.2);
}

.partners-track .partner-item:nth-child(2) img {
    filter: grayscale(0%); /* Kolorowe logo */
}

/* Responsywność na telefony */
@media (max-width: 768px) {
    .partner-item {
        min-width: 140px; /* Mniejsze kafelki na telefonie */
        font-size: 18px;
    }
}
/* Стиль для картинки всередині слайдера */
.partner-item img {
    max-width: 80%;       /* Щоб не вилазили за рамки */
    max-height: 80%;
    object-fit: contain;  /* Зберігає пропорції логотипу */
    filter: grayscale(100%); /* Робить лого чорно-білим */
    transition: 0.5s;
    opacity: 0.7;         /* Трохи прозорі, коли не в фокусі */
}

/* Коли слайд стає другим (активним) */
.partners-track .partner-item:nth-child(2) img {
    filter: grayscale(0%); /* Повертаємо колір */
    opacity: 1;            /* Повна яскравість */
    transform: scale(1.1); /* Легке збільшення */
}

/* === СЕКЦІЯ DLA FIRM (LIQUID GLASS STYLE) === */
.b2b-glass-section {
    padding: 50px 0;
    position: relative;
    overflow: hidden;
}

/* Сітка: Зліва інфо, Справа плитки */
.b2b-glass-grid {
    display: grid;
    grid-template-columns: 1.2fr 1.8fr; /* Ліва частина трохи вужча */
    gap: 30px;
    margin-top: 40px;
}

/* === ЗАГАЛЬНИЙ СТИЛЬ СКЛЯНОЇ КАРТКИ === */
.glass-card {
    background: rgba(255, 255, 255, 0.03); /* Дуже прозорий фон */
    backdrop-filter: blur(12px);          /* Розмиття фону (ефект скла) */
    -webkit-backdrop-filter: blur(12px);  /* Для Safari */
    border: 1px solid rgba(255, 255, 255, 0.08); /* Тонка рамка */
    border-radius: 24px;
    padding: 30px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1); /* М'яка тінь */
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s;
}

/* Ефект при наведенні на будь-яку картку */
.glass-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4); /* Глибша тінь */
}

/* === ЛІВА ЧАСТИНА (ОСНОВНЕ ІНФО) === */
.b2b-main-info h3 {
    font-size: 28px;
    margin-bottom: 15px;
    background: linear-gradient(90deg, #fff, #aaa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent; /* Градієнтний текст */
}

.b2b-main-info p {
    color: #ccc;
    line-height: 1.6;
    margin-bottom: 30px;
}

/* Список з іконками */
.glass-list {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
}

.glass-list li {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    color: white;
}

.icon-box {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ccc; /* Жовтий акцент */
    font-size: 18px;
}

/* Кнопка з світінням */
.btn-glow {
    display: inline-block;
    padding: 15px 35px;
    background: white;
    color: black;
    font-weight: bold;
    border-radius: 50px;
    text-decoration: none;
    text-transform: uppercase;
    text-align: center;
    transition: 0.3s;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.2);
}

.btn-glow:hover {
    background: white;
    box-shadow: 0 0 25px rgba(255, 255, 255, 0.6); /* Жовте світіння */
    transform: scale(1.05);
}

/* === ПРАВА ЧАСТИНА (ПЛИТКИ) === */
.b2b-types-grid {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Дві колонки */
    gap: 20px;
}

.type-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    padding: 25px;
}

.type-icon {
    font-size: 32px;
    margin-bottom: 15px;
    color: rgba(255, 255, 255, 0.8);
    transition: 0.3s;
}

.type-card:hover .type-icon {
    color: white; /* Іконка стає жовтою при наведенні */
    transform: scale(1.1);
}

.type-card h4 {
    color: white;
    font-size: 18px;
    margin-bottom: 10px;
}

.type-card p {
    font-size: 13px;
    color: #999;
    margin: 0;
}

/* АДАПТИВНІСТЬ (МОБІЛЬНІ) */
@media (max-width: 992px) {
    .b2b-glass-grid {
        grid-template-columns: 1fr; /* Одна колонка на планшетах */
    }
	    .b2b-main-info .btn-glow {
        width: 100%;        /* Займає 100% ширини контейнера */
        display: block;     /* Поводиться як блочний елемент */
        text-align: center; /* Текст по центру */
        box-sizing: border-box; /* Щоб відступи (padding) не розширювали кнопку за межі екрану */
        margin-top: 20px;   /* Трохи відступу зверху для краси */
    }
}

/* === POP-UP ПРЕМІУМ СТИЛЬ === */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85); /* Глибокий темний фон */
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(8px); /* Розмиття заднього плану */
    animation: fadeInOverlay 0.5s ease;
}

@keyframes fadeInOverlay {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Контейнер вікна */
.popup-content {
    width: 900px;
    max-width: 95%;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 30px 60px rgba(0,0,0,0.6);
    border: 1px solid rgba(255,255,255,0.1);
    animation: scaleIn 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes scaleIn {
    from { transform: scale(0.8); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.popup-flex {
    display: flex;
    align-items: stretch;
    min-height: 450px;
}

/* --- ЛІВА КОЛОНКА (ФОТО) --- */
.popup-image-col {
    flex: 1;
    position: relative;
    overflow: hidden;
	background-color: #1e1e1e73;
}

.popup-image-col img {
    width: 100%;
    height: 100%;
    object-fit: cover;
	-webkit-mask-image: linear-gradient(to right, black 70%, transparent 100%);
    mask-image: linear-gradient(to right, black 70%, transparent 100%);
}

/* Градієнт, щоб текст плавно переходив у картинку */

/* Бейдж "PROMOCJA" */
.promo-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: #fe7f00; /* Червоний */
    color: white;
    padding: 8px 15px;
    border-radius: 50px;
    font-weight: 800;
    font-size: 14px;
    letter-spacing: 1px;
    box-shadow: 0 5px 15px rgba(254, 127, 0, 0.4);
    display: flex;
    align-items: center;
    gap: 8px;
}

.promo-badge span {
    background: rgba(255,255,255,0.2);
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}

/* --- ПРАВА КОЛОНКА (ТЕКСТ) --- */
.popup-text-col {
    flex: 1.2;
    padding: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: #1e1e1e73;
    color: white;
    position: relative;
    z-index: 2;
}

.popup-subtitle {
    font-size: 14px;
    color: white; /* Жовтий */
    letter-spacing: 2px;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.popup-title {
    font-size: 42px;
    line-height: 1.1;
    margin-bottom: 20px;
    font-weight: 900;
}

.text-highlight {
    color: #4ade80; /* Зелений */
    text-transform: uppercase;
}

.popup-desc {
    font-size: 16px;
    color: #ccc;
    margin-bottom: 25px;
    line-height: 1.5;
}

/* Список переваг */
.popup-features {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
}

.popup-features li {
    margin-bottom: 10px;
    font-size: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #ddd;
}

.popup-features li i {
    color: #4ade80;
}

.popup-footer {
    margin-top: 20px;
    font-size: 12px;
    color: #666;
    text-align: center;
}

/* Кнопка закриття (хрестик) */
.close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255,255,255,0.1);
    border: none;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    transition: 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.close-btn:hover {
    background: rgba(255,255,255,0.3);
    transform: rotate(90deg);
}

/* --- МОБІЛЬНА ВЕРСІЯ --- */
@media (max-width: 768px) {
    .popup-flex {
        flex-direction: column;
    }
	.popup-image-col img {
        /* Змінюємо напрямок маски: зверху вниз */
        -webkit-mask-image: linear-gradient(to bottom, black 60%, transparent 100%) !important;
        mask-image: linear-gradient(to bottom, black 60%, transparent 100%) !important;
    }
    /* Додатково: прибираємо фіксовану висоту, якщо вона була, щоб картинка не обрізалась дивно */
    .popup-image-col {
        height: 250px; /* Можна погратись з висотою */
        flex: none;
    }
    .popup-text-col {
        padding: 30px 20px;
    }
    .popup-title {
        font-size: 32px;
    }
}

/* === МОДАЛКА ДЛЯ ПОСЛУГ (КАРТИНКА ЗЛІВА) === */
.price-card {
    cursor: pointer;
}

.service-modal-content {
    width: 1000px; /* Зробили ширше, щоб гарно влізли дві колонки */
    max-width: 95%;
    background: rgba(20, 20, 20, 0.95);
}

/* Робимо розкладку в рядок */
.service-modal-body {
    display: flex;
    flex-direction: row; /* Зліва направо */
    min-height: 450px;
}

/* Картинка займає ліву частину */
#modalServiceImg {
    width: 45%; 
    height: auto; /* Тягнеться на всю висоту модалки */
    object-fit: cover;
    /* Плавно розчиняємо правий край картинки */
    -webkit-mask-image: linear-gradient(to right, black 70%, transparent 100%);
    mask-image: linear-gradient(to right, black 70%, transparent 100%);
}

/* Текст займає праву частину */
.service-modal-info {
    width: 55%;
    padding: 50px 40px 40px 10px; /* Відступи (зліва менше, щоб текст був ближче до фото) */
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center; /* Відцентровує весь текст по вертикалі */
}

.service-modal-info h3 {
    font-size: 32px;
    margin-bottom: 20px;
    font-weight: 800;
    line-height: 1.2;
}

.modal-text-content p {
    color: #ccc;
    font-size: 15px;
    margin-bottom: 15px;
    line-height: 1.6;
}

.modal-text-content ul {
    color: #ddd;
    margin-bottom: 20px;
    padding-left: 20px;
    list-style-type: disc;
}

.modal-text-content li {
    margin-bottom: 8px;
    font-size: 15px;
}

.price-highlight {
    font-size: 24px;
    font-weight: 900;
    color: #4ade80; 
    margin: 20px 0 30px 0;
    padding-top: 15px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

/* === АДАПТИВНІСТЬ ДЛЯ МОБІЛЬНИХ === */
/* На телефонах місця збоку немає, тому повертаємо картинку наверх */
@media (max-width: 768px) {
    .service-modal-body {
        flex-direction: column; /* Знову один під одним */
    }
    #modalServiceImg {
        width: 100%;
        height: 250px;
        /* Маска знову йде зверху вниз */
        -webkit-mask-image: linear-gradient(to bottom, black 60%, transparent 100%);
        mask-image: linear-gradient(to bottom, black 60%, transparent 100%);
    }
    .service-modal-info {
        width: 100%;
        padding: 0 20px 30px 20px;
        margin-top: -30px; /* Підтягуємо текст трохи вище під маску */
    }
    .service-modal-info h3 {
        font-size: 24px;
    }
}

/* === WIDEO-DOWÓD (АСИМЕТРИЧНА СІТКА) === */
.video-proof-grid {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Дві рівні половини: текст і відео */
    gap: 60px;
    align-items: center;
}

.video-proof-text .about-features li {
    align-items: flex-start; /* Щоб іконка була на рівні першого рядка тексту */
    margin-bottom: 20px;
}

.video-proof-text .about-features span {
    color: white;
    font-size: 15px;
    line-height: 1.5;
}

.video-proof-text .about-features strong {
    color: white;
}

/* Сама сітка для відео */
.video-masonry {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Дві колонки всередині блоку відео */
    grid-template-rows: 1fr 1fr;    /* Два рівні ряди */
    gap: 15px;
    height: 500px; /* Загальна висота блоку з відео */
}

/* Рамки для кожного відео в стилі Liquid Glass */
.vid-item {
    border-radius: 20px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    transition: transform 0.3s ease;
}

.vid-item:hover {
    transform: scale(1.02);
    border-color: rgba(255, 255, 255, 0.3);
}

/* Це правило робить перше відео високим (на 2 ряди) */
.vid-item.tall {
    grid-row: 1 / 3; /* Займає з 1 по 3 лінію сітки (тобто 2 ряди) */
}

/* Налаштування самого відео, щоб воно заповнювало рамку як обкладинка */
.vid-item video {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Обрізає краї, щоб відео ідеально вписалося у блок */
    display: block;
}

/* Адаптив під телефони */
@media (max-width: 900px) {
    .video-proof-grid {
        grid-template-columns: 1fr; /* Текст і відео стають в один стовпчик */
        gap: 40px;
    }
    
    .video-masonry {
        height: 400px; /* На мобільному робимо трохи нижчим */
    }
}

@media (max-width: 500px) {
    /* На дуже вузьких екранах робимо всі відео одне під одним */
    .video-masonry {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto auto;
        height: auto;
    }
    .vid-item.tall {
        grid-row: auto;
        height: 350px; /* Фіксована висота для мобільних */
    }
    .vid-item:not(.tall) {
        height: 250px;
    }
}


/* MOBILE BUTTON CALL */

/* --- КНОПКА ДЗВІНКА: ТІЛЬКИ ДЛЯ МОБІЛЬНИХ --- */
.glass-call-btn {
    display: none; /* ГАРАНТОВАНО ХОВАЄМО НА КОМП'ЮТЕРАХ */
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 60px;
    height: 60px;
    z-index: 10000;
    border-radius: 50%;
    color: #ffffff;
    text-decoration: none;
    font-size: 26px;

    /* === ОНОВЛЕНІ СТИЛІ СКЛА (ЗЕЛЕНИЙ КОЛІР #4ade80 / RGB 74, 222, 128) === */
    /* 1. Напівпрозорий зелений градієнт фону */
    background: linear-gradient(135deg, rgba(74, 222, 128, 0.6), rgba(74, 222, 128, 0.3));
    
    /* 2. Ефект розмиття фону за кнопкою */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px); /* Підтримка iOS Safari */
    
    /* 3. Тонка напівпрозрачна біла рамка */
    border: 1px solid rgba(255, 255, 255, 0.25);
    
    /* 4. Глибока тінь для об'єму (Зелена) та внутрішнє світіння */
    box-shadow: 
        0 8px 32px 0 rgba(74, 222, 128, 0.4),
        inset 0 0 10px rgba(255, 255, 255, 0.15);

    transition: all 0.3s ease;
    animation: pulse-green-glass 2.5s infinite; /* Оновлена назва анімації */
}

/* --- АКТИВАЦІЯ ТІЛЬКИ НА МОБІЛЬНИХ (До 768px) --- */
@media (max-width: 768px) {
    .glass-call-btn {
        /* Тільки тут вмикаємо видимість та центрування */
        display: flex !important; 
        justify-content: center;
        align-items: center;
    }
}

/* Іконка */
.glass-call-btn i {
    display: block;
}

/* Ефект при натисканні - ОНОВЛЕНО НА ЗЕЛЕНИЙ */
.glass-call-btn:active {
    transform: scale(0.9) translateY(2px);
    background: rgba(74, 222, 128, 0.8); /* Більш насичений зелений при дотику */
    border-color: rgba(255, 255, 255, 0.5);
}

/* --- ОНОВЛЕНА ЗЕЛЕНА ПУЛЬСАЦІЯ (на основі #4ade80) --- */
@keyframes pulse-green-glass {
    0% {
        box-shadow: 
            0 8px 32px rgba(74, 222, 128, 0.4),
            0 0 0 0 rgba(74, 222, 128, 0.5); /* Зелене світіння */
    }
    70% {
        box-shadow: 
            0 8px 32px rgba(74, 222, 128, 0.4),
            0 0 0 18px rgba(74, 222, 128, 0); /* Пульсуюче зелене кільце */
    }
    100% {
        box-shadow: 
            0 8px 32px rgba(74, 222, 128, 0.4),
            0 0 0 0 rgba(74, 222, 128, 0);
    }
}

/* --- СУПЕР-ТОНКА ПЛАВАЮЧА ПАНЕЛЬ --- */
.mobile-bottom-bar.slim-version {
    display: none; 
    position: fixed;
    bottom: calc(15px + env(safe-area-inset-bottom)); /* Трохи нижче до краю */
    left: 50%;
    transform: translateX(-50%);
    width: 90%; 
    max-width: 380px;
    z-index: 10000;
    
    border-radius: 40px; /* Повністю округла */
    background: rgba(10, 10, 10, 0.8); /* Більш прозоре темне скло */
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    
    /* Мінімізуємо висоту */
    padding: 8px 5px; 
}

/* Контейнер кнопок */
.mobile-bottom-bar .bar-items {
    display: flex;
    justify-content: space-around;
    align-items: center;
}

/* Стиль кожної кнопки */
.mobile-bottom-bar .bar-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #ffffff;
    flex: 1;
    transition: opacity 0.2s;
}

/* Зменшені іконки */
.mobile-bottom-bar .bar-item i {
    font-size: 18px; /* Було 22px, стало 18px */
    margin-bottom: 3px; /* Мінімальний відступ до тексту */
}

/* Дуже дрібний, але читабельний текст */
.mobile-bottom-bar .bar-item span {
    font-size: 9px;
    text-transform: uppercase;
    font-weight: 500;
    letter-spacing: 0.5px;
    opacity: 0.8;
}

/* Кольори іконок залишаємо кольоровими (це важливо для зручності) */
.mobile-bottom-bar .bar-item:nth-child(1) i { color: #E1306C; }
.mobile-bottom-bar .bar-item:nth-child(3) i { color: #4ade80; }
.mobile-bottom-bar .bar-item:nth-child(2) i { color: #facc15; }
.mobile-bottom-bar .bar-item:nth-child(4) i { color: white; }

/* Активний стан */
.mobile-bottom-bar .bar-item:active {
    opacity: 0.5;
}

/* --- ПОКАЗУЄМО ТІЛЬКИ НА МОБІЛКАХ --- */
@media (max-width: 768px) {
    .mobile-bottom-bar.slim-version {
        display: block;
    }
    
    /* Ховаємо стару круглу кнопку */
    .glass-call-btn {
        display: none !important;
    }
}
/* ============================================================ */
/* === НОВІ СТОРІНКИ (Багатосторінкова структура) ============= */
/* ============================================================ */

/* --- Банер заголовка підсторінки (O nas, Usługi, Cennik, Kontakt) --- */
.page-header {
    position: relative;
    padding: 160px 0 60px;
    margin-bottom: 20px;
    text-align: center;
    background: radial-gradient(circle at 50% 0%, rgba(254, 127, 0, 0.12), transparent 60%), var(--bg-deep);
    border-bottom: var(--glass-border);
    overflow: hidden;
}

.page-header h1 {
    font-size: 40px;
    color: var(--text-white);
    margin: 0 0 12px;
}

.breadcrumbs {
    font-size: 14px;
    color: var(--text-gray);
}

.breadcrumbs a {
    color: var(--text-gray);
    transition: color 0.3s;
}

.breadcrumbs a:hover {
    color: var(--accent-red);
}

@media (max-width: 768px) {
    .page-header {
        padding: 130px 0 40px;
    }
    .page-header h1 {
        font-size: 28px;
    }
}

/* ============================================================ */
/* --- Таблиця цін (Cennik) - Liquid Glass Style --- */
/* ============================================================ */

.price-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: var(--glass-border);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4); /* Глибша тінь для об'єму */
}

/* Шапка таблиці */
.price-table thead th {
    text-align: left;
    padding: 22px 24px;
    background: rgba(255, 255, 255, 0.08); /* Трохи світліше для контрасту */
    color: var(--text-white);
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

/* Рядки */
.price-table tbody tr {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.4s ease;
}

.price-table tbody tr:last-child {
    border-bottom: none;
}

/* Ефект при наведенні (світіння та градієнт) */
.price-table tbody tr:hover {
    background: linear-gradient(90deg, rgba(254, 127, 0, 0.08) 0%, rgba(255, 255, 255, 0.03) 50%, transparent 100%);
    box-shadow: inset 4px 0 0 var(--accent-red); /* Акцентна лінія зліва */
}

/* Клітинки */
.price-table td {
    padding: 24px;
    color: var(--text-white);
    vertical-align: middle; /* Вирівнювання по центру для кращого вигляду */
}

/* Назва послуги */
.price-table td strong {
    display: block;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 6px;
    letter-spacing: 0.3px;
    color: #ffffff;
}

/* Опис послуги */
.price-table .price-note {
    display: block;
    font-size: 14px;
    color: var(--text-gray);
    line-height: 1.6;
    max-width: 500px;
}

/* Клітинка з ціною (контейнер) */
.price-table td:last-child {
    white-space: nowrap;
    font-size: 15px;
    color: rgba(255, 255, 255, 0.6); /* Текст "od" робимо приглушеним */
    text-align: left;
}

/* Сама цифра ціни */
.price-table td:last-child strong {
    display: inline-block;
    font-size: 26px;
    font-weight: 900;
    color: var(--accent-red);
    text-shadow: 0 0 15px rgba(254, 127, 0, 0.4); /* Неонове світіння ціни */
    margin-left: 8px;
    margin-bottom: 0;
}

/* --- Адаптивність (мобільна версія - перетворення на картки) --- */
@media (max-width: 768px) {
    .price-table {
        background: transparent;
        border: none;
        box-shadow: none;
        border-radius: 0;
    }
    
    .price-table thead { 
        display: none; 
    }
    
    .price-table, .price-table tbody, .price-table tr, .price-table td {
        display: block;
        width: 100%;
    }
    
    /* Кожен рядок стає окремою скляною карткою */
    .price-table tbody tr {
        background: var(--glass-bg);
        backdrop-filter: var(--glass-blur);
        -webkit-backdrop-filter: var(--glass-blur);
        border: var(--glass-border);
        border-radius: 16px;
        margin-bottom: 16px;
        padding: 20px;
        box-shadow: var(--glass-shadow);
        transition: 0.3s;
    }
    
    .price-table tbody tr:hover {
        box-shadow: 0 10px 30px rgba(0,0,0,0.5), inset 4px 0 0 var(--accent-red);
        transform: translateY(-3px);
    }
    
    .price-table td {
        padding: 0;
        border: none;
    }
    
    .price-table td:first-child {
        margin-bottom: 16px;
    }
    
    /* Блок ціни на мобільному */
    .price-table td:last-child {
        display: flex;
        align-items: center;
        justify-content: space-between;
        text-align: left;
        padding-top: 16px;
        border-top: 1px dashed rgba(255, 255, 255, 0.15); /* Розділювач */
    }
    
    /* Додаємо підпис "Ціна" на мобільному */
    .price-table td:last-child::before {
        content: "Cena:";
        font-size: 13px;
        color: var(--text-gray);
        text-transform: uppercase;
        letter-spacing: 1px;
        font-weight: 600;
    }
}

/* --- Сторінка Kontakt --- */
.kontakt-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    margin-bottom: 60px;
}

.kontakt-info-list {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: var(--glass-border);
    border-radius: 24px;
    padding: 35px;
}

.kontakt-row {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    margin-bottom: 25px;
}

.kontakt-row:last-child {
    margin-bottom: 0;
}

.kontakt-row strong {
    display: block;
    color: var(--text-white);
    margin-bottom: 4px;
}

.kontakt-row p, .kontakt-row a {
    color: var(--text-gray);
    font-size: 15px;
    line-height: 1.5;
}

.kontakt-row a:hover {
    color: var(--accent-red);
}

.kontakt-faq {
    max-width: 800px;
    margin: 0 auto;
}

@media (max-width: 900px) {
    .kontakt-info-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        margin-bottom: 40px;
    }
}

/* ============================================================ */
/* === СТОРІНКА USŁUGI: сайдбар + детальний опис послуги ======= */
/* ============================================================ */

.page-content {
    display: flex;
    flex-direction: column;
    gap: 30px;
    padding: 40px 0 60px;
}

.sidebar {
    width: 100%;
}

.sidebar-widget {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: var(--glass-border);
    border-radius: 20px;
    padding: 24px;
    margin-bottom: 24px;
    box-shadow: var(--glass-shadow);
}

.sidebar-widget h3 {
    font-size: 16px;
    color: var(--text-white);
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--accent-red);
}

.sidebar-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-menu li {
    margin-bottom: 6px;
}

.sidebar-menu a {
    display: block;
    padding: 12px 14px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-gray);
    background: rgba(255, 255, 255, 0.03);
    transition: 0.3s;
}

.sidebar-menu a:hover,
.sidebar-menu a.active {
    background: var(--accent-red);
    color: #fff;
    font-weight: 600;
}

.sidebar-widget--accent {
    background: linear-gradient(135deg, var(--accent-red), #ff9d33);
    border: none;
}

.sidebar-widget--accent h3 {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.4);
}

.sidebar-widget--accent p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
    margin-bottom: 18px;
}

.btn-sidebar-call {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: #fff !important;
    color: var(--accent-red) !important;
    padding: 14px 18px;
    border-radius: 12px;
    font-weight: 800;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: 0.3s;
}

.btn-sidebar-call:hover {
    transform: scale(1.03);
}

/* --- Правий блок з описом послуги --- */
.article {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: var(--glass-border);
    border-radius: 24px;
    padding: 35px;
    box-shadow: var(--glass-shadow);
}

.service-pane {
    display: none;
}

.service-pane:first-child {
    display: block;
}

.service-pane img {
    width: 100%;
    max-height: 420px;
    object-fit: cover;
    border-radius: 16px;
    margin-bottom: 26px;
}

.article h2 {
    font-size: clamp(22px, 3vw, 30px);
    color: var(--text-white);
    margin: 0 0 16px;
    line-height: 1.3;
}

.article h3 {
    font-size: 18px;
    color: var(--text-white);
    margin: 20px 0 10px;
}

.article p {
    color: var(--text-gray);
    line-height: 1.7;
    margin-bottom: 18px;
}

.article ul, .article ol {
    margin: 0 0 18px;
    padding-left: 20px;
}

.article li {
    color: var(--text-gray);
    margin-bottom: 10px;
    line-height: 1.6;
}

.article li strong {
    color: var(--text-white);
}

.service-tip {
    background: rgba(254, 127, 0, 0.08);
    border-left: 4px solid var(--accent-red);
    border-radius: 0 14px 14px 0;
    padding: 18px 22px;
    margin: 10px 0 26px;
    color: var(--text-white);
}

.service-tip strong {
    color: var(--accent-red);
}

.service-tip p {
    margin: 8px 0 0;
    font-size: 14px;
    color: var(--text-gray);
}

@media (min-width: 900px) {
    .page-content {
        display: grid;
        grid-template-columns: 300px 1fr;
        gap: 40px;
        padding: 60px 0 80px;
    }
    .sidebar {
        width: auto;
    }
}

@media (min-width: 1100px) {
    .page-content {
        grid-template-columns: 320px 1fr;
    }
}