:root {
    --dark-bg: #0a0c10;
    --neon-cyan: #00e5ff;
    --accent-red: #b91c1c;
    --text-gray: #9ca3af;
    --transition: all 0.3s ease;
}

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

body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--dark-bg);
    color: #ffffff;
    padding-top: 90px; /* Відступ, щоб контент не ховався під шапку */
}

/* ШАПКА */
.navbar {
    background-color: rgba(10, 12, 16, 0.95);
    border-bottom: 1px solid rgba(0, 229, 255, 0.2);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 20000;
    height: 90px; /* Фіксуємо висоту для ідеального центрування */
    display: flex;
    align-items: center;
    backdrop-filter: blur(10px);
}

.container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 50px;
    width: 100%;
}
.navbar .container {
    max-width: 95%; /* Дозволяємо шапці розтягуватися майже на весь екран */
    display: flex;
    justify-content: space-between;
    align-items: center;
}
/* ЛОГОТИП */
.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    gap: 10px; /* Відступ між іконкою та текстом */
}

.logo-img {
    height: 60px; /* Фіксуємо висоту іконки */
    width: auto;
    display: block;
    /* Якщо в SVG є зайві поля, цей фільтр допоможе виділити іконку */
    filter: drop-shadow(0 0 5px rgba(0, 229, 255, 0.2));
}

.logo-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    line-height: 1; /* Прибираємо зайвий простір між рядками */
}

.logo-main {
    font-size: 20px;
    font-weight: 900;
    color: #ffffff;
    letter-spacing: 0.5px;
}

.logo-sub {
    font-size: 17px;
    font-weight: 700;
    color: var(--neon-cyan);
    margin-top: 2px;
}

.logo-services {
    display: flex;
    gap: 4px;
    font-size: 8px;
    font-weight: 600;
    margin-top: 6px;
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: 0.5px;
}

.separator { color: var(--accent-red); }

/* МЕНЮ */
.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-gray);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    transition: var(--transition);
}

.nav-links a:hover, .nav-links a.active {
    color: var(--neon-cyan);
}

/* CTA ТА ТЕЛЕФОН */
.nav-cta {
    display: flex;
    align-items: center;
    gap: 20px;
}

.phone-link {
    text-decoration: none;
    color: #ffffff;
    font-weight: 700;
    font-size: 15px;
}

.btn-primary {
    background-color: var(--accent-red);
    color: white;
    padding: 12px 24px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    transition: var(--transition);
}

.btn-primary:hover {
    box-shadow: 0 0 15px rgba(185, 28, 28, 0.5);
    transform: translateY(-2px);
}


/* =========================================
   📍 АДАПТИВНІСТЬ ШАПКИ (HEADER)
   ========================================= */

/* Стилізація самої кнопки бургера */
.burger {
    display: none; /* Показуємо тільки на мобільних */
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 25px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 20002;
    padding: 0;
}

.burger span {
    width: 30px;
    height: 3px;
    background: var(--neon-cyan);
    border-radius: 10px;
    transition: all 0.3s cubic-bezier(0.68, -0.6, 0.32, 1.6);
    position: relative;
}

/* Анімація іконки в "X" */
.burger.open span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}
.burger.open span:nth-child(2) {
    opacity: 0;
    transform: translateX(-20px);
}
.burger.open span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* Адаптивне меню */
    /* Змінюємо з 992px на 1200px */
@media (max-width: 1200px) {
    .burger {
        display: flex; /* Показуємо бургер раніше */
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%; /* Меню на весь екран планшета */
        height: 100vh;
        background: rgba(10, 12, 16, 0.98); 
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 30px;
        transition: 0.5s ease;
        z-index: 20001;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links li {
        opacity: 0;
        transform: translateX(50px);
        transition: 0.4s ease;
    }

    .nav-links.active li {
        opacity: 1;
        transform: translateX(0);
    }

    /* Плавна поява пунктів по черзі */
    .nav-links.active li:nth-child(1) { transition-delay: 0.1s; }
    .nav-links.active li:nth-child(2) { transition-delay: 0.2s; }
    .nav-links.active li:nth-child(3) { transition-delay: 0.3s; }
    .nav-links.active li:nth-child(4) { transition-delay: 0.4s; }
    .nav-links.active li:nth-child(5) { transition-delay: 0.5s; }

    .nav-links a {
        font-size: 28px; /* Великий шрифт для зручності */
        font-weight: 800;
        letter-spacing: 2px;
        color: #fff;
    }

    /* CTA (кнопки), які ми раніше ховали, можна додати в кінець списку в JS */
    .nav-cta {
        display: none; /* Залишаємо прихованим у хедері */
    }
}

/* Маленькі мобільні (480px) */
@media (max-width: 480px) {
    /* 1. Зменшуємо загальні відступи контейнера, щоб дати більше простору */
    .navbar .container {
        padding: 0 15px; /* Менші бокові відступи */
    }

    /* 2. Зменшуємо логотип ще трохи */
    .logo-img {
        height: 40px; /* Було 45px */
    }

    .logo-main {
        font-size: 14px; /* Було 16px */
    }

    .logo-sub {
        font-size: 11px; /* Було 13px */
    }

    /* 3. Зменшуємо відступ між іконкою та текстом лого */
    .logo-link {
        gap: 6px; 
    }

    /* 4. Налаштовуємо бургер, щоб він не займав зайвого місця */
    .burger {
        width: 25px; /* Було 30px */
        height: 20px;
    }
    
    .burger span {
        width: 25px;
    }
}




/* Вся секція */
.hero-kontakt {
    position: relative;
    width: 100%;
    /* Замість фіксованої висоти даємо мінімальну, щоб бачити майстра */
    min-height: 100vh; 
    display: flex;
    align-items: center;
    margin-top: -90px; /* Заїзд під прозору шапку */
    overflow: hidden;
}

/* Фон на всю ширину БЕЗ обмежень контейнера */
.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    /* Це розтягне фото на всю ширину екрана без полос */
    object-fit: cover; 
    /* Фокусуємося на обличчі майстра (зміщуємо трохи вправо і вгору) */
    object-position: 65% 15%; 
    filter: brightness(0.5);
}

/* Контейнер для тексту */
.hero-kontakt .container {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1700px; /* Текст не розлітається по краях */
    margin: 0 auto;
    padding: 0 20px;
}

/* Картка з ефектом скла */
.kontakt-glass-card {
    max-width: 550px;
    background: rgba(10, 12, 16, 0.5);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    padding: 60px 50px;
    border-radius: 40px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.kontakt-glass-card h1 {
    font-size: 42px;
    color: #fff;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 25px;
}

.kontakt-glass-card p {
    font-size: 18px;
    color: #e0e0e0;
    line-height: 1.6;
}




/* =========================================
   📍 АДАПТИВНІСТЬ HERO СЕКЦІЇ
   ========================================= */

@media (max-width: 992px) {
    .hero-kontakt {
        min-height: 80vh; /* Трохи зменшуємо висоту для планшетів */
        padding: 60px 0;
    }

    .kontakt-glass-card {
        max-width: 500px;
        padding: 40px;
        margin: 0 auto; /* Центруємо картку, якщо сітка перешикується */
    }

    .kontakt-glass-card h1 {
        font-size: 32px;
    }
}

@media (max-width: 768px) {
    .hero-kontakt {
        min-height: 100vh; /* Повертаємо висоту, щоб заповнити екран телефону */
        display: flex;
        align-items: flex-end; /* Опускаємо картку вниз, щоб було видно фото майстра зверху */
        padding-bottom: 50px;
        margin-top: -80px; /* Корекція під мобільну шапку */
    }

    .hero-bg img {
        /* Зміщуємо фокус фото, щоб на вузькому екрані було видно сервісанта */
        object-position: 75% center; 
        filter: brightness(0.4); /* Робимо фон темнішим, щоб білий текст читався ідеально */
    }

    .kontakt-glass-card {
        max-width: 100%;
        padding: 30px 20px;
        border-radius: 25px;
        background: rgba(10, 12, 16, 0.6); /* Трохи прозоріше для ефекту */
        text-align: center;
    }

    .kontakt-glass-card h1 {
        font-size: 24px;
        margin-bottom: 15px;
    }

    .kontakt-glass-card p {
        font-size: 15px;
        line-height: 1.5;
    }
}

@media (max-width: 480px) {
    .hero-kontakt {
        min-height: 90vh;
    }

    .kontakt-glass-card h1 {
        font-size: 22px;
    }

    .hero-bg img {
        /* Ще сильніше зміщуємо вбік для найменших екранів */
        object-position: 80% center;
    }
}





/* --- FOOTER SECTION --- */

.main-footer {
    padding: 120px 0 60px;
    background: radial-gradient(circle at 20% 20%, #0f1a22, #05090d 70%);
    position: relative;
}

.footer-card {
    background: linear-gradient(145deg, #1a1a1a, #111111);
    border-radius: 40px;
    padding: 90px 80px 50px;
    border: 1px solid rgba(0, 229, 255, 0.08);
    box-shadow: 
        0 0 60px rgba(0, 229, 255, 0.05),
        inset 0 0 30px rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(10px);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 80px;
    margin-bottom: 80px;
}

.footer-label {
    font-size: 20px;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 35px;
    color: #ffffff;
    letter-spacing: 3px;
    position: relative;
}

.footer-label::after {
    content: "";
    width: 40px;
    height: 2px;
    background: var(--neon-cyan);
    position: absolute;
    left: 0;
    bottom: -10px;
    box-shadow: 0 0 10px var(--neon-cyan);
}

/* Логотип */
.footer-logo-img {
    height: 90px;
    margin-bottom: 30px;
    filter: drop-shadow(0 0 20px rgba(0, 229, 255, 0.4));
    transition: 0.4s ease;
}

.footer-logo-img:hover {
    transform: scale(1.05);
}

/* Текст */
.footer-col p {
    color: #9ca3af;
    line-height: 1.7;
    font-size: 15px;
    max-width: 320px;
}

/* Меню */
.footer-col ul {
    list-style: none;
    padding: 0;
}

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

.footer-col ul li a {
    text-decoration: none;
    color: #9ca3af;
    font-size: 15px;
    font-weight: 500;
    position: relative;
    transition: 0.3s ease;
}

.footer-col ul li a::before {
    content: "";
    position: absolute;
    left: -15px;
    top: 50%;
    width: 6px;
    height: 6px;
    background: var(--neon-cyan);
    border-radius: 50%;
    transform: translateY(-50%);
    opacity: 0;
    transition: 0.3s ease;
}

.footer-col ul li a:hover {
    color: #ffffff;
    padding-left: 10px;
}

.footer-col ul li a:hover::before {
    opacity: 1;
}

/* Контакти */
.contact-item {
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.contact-item a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    font-size: 17px;
    transition: 0.3s ease;
}

.contact-item a:hover {
    color: var(--neon-cyan);
}

/* Соцмережі */
.social-links {
    display: flex;
    gap: 20px;
    margin-top: 35px;
}

.social-icon {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background: rgba(0, 229, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(0, 229, 255, 0.2);
    transition: 0.4s ease;
}

.social-icon:hover {
    background: var(--neon-cyan);
    box-shadow: 0 0 20px var(--neon-cyan);
    transform: translateY(-5px);
}

.social-icon img {
    width: 22px;
    filter: brightness(0) invert(1);
}

/* Нижній текст */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 40px;
    text-align: center;
}

.footer-bottom p {
    font-size: 12px;
    color: #6b7280;
    max-width: 900px;
    margin: 0 auto;
    line-height: 1.6;
}

.floating-phone {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: linear-gradient(135deg, #b91c1c, #ff1a1a);
    color: white;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 28px;
    border-radius: 50px;
    font-weight: 800;
    font-size: 14px;
    z-index: 9999;
    transition: all 0.4s ease;
    animation: pulseGlow 1.8s infinite;
}

/* Прибираємо старий box-shadow */
.floating-phone:hover {
    transform: scale(1.08) translateY(-6px);
}

/* Більш помітна пульсація */
@keyframes pulseGlow {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 0, 0, 0.7);
    }
    70% {
        box-shadow: 0 0 0 25px rgba(255, 0, 0, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 0, 0, 0);
    }
}
.phone-icon {
    animation: shake 2s infinite;
}

@keyframes shake {
    0%, 100% { transform: rotate(0deg); }
    10% { transform: rotate(-15deg); }
    20% { transform: rotate(10deg); }
    30% { transform: rotate(-10deg); }
    40% { transform: rotate(6deg); }
    50% { transform: rotate(0deg); }
}

@media (max-width: 768px) {

    .phone-text {
        display: none;
    }

    .floating-phone {
        width: 56px;
        height: 56px;
        padding: 0;
        border-radius: 50%;
        justify-content: center;
        align-items: center;

        right: 8px;
        bottom: 15px;

        animation: none; /* вимикаємо пульс */
        box-shadow: 0 6px 15px rgba(185, 28, 28, 0.4);
    }

    .phone-icon {
        font-size: 20px;
    }

}



/* =========================================
   📍 АДАПТИВНІСТЬ ФУТЕРА ТА CTA КНОПКИ
   ========================================= */

@media (max-width: 1024px) {
    .footer-card {
        padding: 60px 40px 40px; /* Трохи менші внутрішні відступи */
    }
    
    .footer-grid {
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .main-footer {
        padding: 60px 0 40px;
    }

    .footer-card {
        padding: 40px 20px;
        border-radius: 20px;
        text-align: center; /* Центруємо вміст для мобільних */
    }

    /* Колонки в один ряд */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-label::after {
        left: 50%; /* Центруємо декоративну лінію під заголовком */
        transform: translateX(-50%);
    }

    .footer-col p {
        margin: 0 auto; /* Центруємо опис фірми */
    }

    /* Контакти */
    .contact-item {
        justify-content: center;
    }

    .social-links {
        justify-content: center;
        margin-top: 25px;
    }

    /* Плаваюча кнопка дзвінка */
    .floating-phone {
        bottom: 20px;
        right: 20px;
        padding: 12px 20px;
        font-size: 13px;
    }

    .footer-bottom {
        padding-top: 30px;
    }
}

@media (max-width: 480px) {
    .footer-logo-img {
        height: 60px; /* Зменшуємо логотип у футері */
    }

    .footer-label {
        font-size: 18px;
    }

    .floating-phone .phone-text {
        display: none; /* На зовсім маленьких екранах залишаємо тільки іконку трубку */
    }

    .floating-phone {
        width: 60px;
        height: 60px;
        border-radius: 50%;
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 0;
    }

    .floating-phone .phone-icon {
        margin: 0;
        font-size: 24px;
    }
}




/* =========================================
   📍 СТИЛЬ КАЛЬКУЛЯТОРА ВІДСТАНІ
   ========================================= */

/* Сітка калькулятора */
.calculator-section {
margin-top: 100px;
}

.calc-main-grid {

    display: grid;
    grid-template-columns: 350px 1fr; /* Ліва колонка фіксована, карта на весь залишок */
    gap: 25px;
    margin-top: 20px;
}

/* Пошук зверху */
.search-top-bar {
    width: 100%;
    margin-bottom: 20px;
    z-index: 2222;
}

.search-input-wrapper {
    position: relative;
    max-width: 100%;
}

#address-search {
    width: 100%;
    padding: 20px 25px;
    background: #0f172a;
    border: 1px solid rgba(0, 229, 255, 0.3);
    border-radius: 15px;
    color: #fff;
    font-size: 18px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

/* Ліва панель результатів */
.result-card-premium {
    background: linear-gradient(145deg, #111827, #1f2937);
    border: 1px solid rgba(0, 229, 255, 0.2);
    border-radius: 20px;
    padding: 25px;
    color: #fff;
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

.res-header {
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 15px;
    margin-bottom: 20px;
}

.res-header h3 {
    font-size: 20px;
    color: #00e5ff;
    margin: 0;
}

.res-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.res-item .label { color: #9ca3af; }
.res-item .value { font-size: 18px; }
.res-item .price { color: #00e5ff; font-weight: 800; font-size: 24px; }

.order-btn-small {
    width: 100%;
    padding: 15px;
    background: #ff4b2b; /* Червоний як на кнопці в хедері */
    color: #fff;
    border: none;
    border-radius: 12px;
    font-weight: 700;
    cursor: pointer;
    margin-top: 20px;
    transition: 0.3s;
}

.order-btn-small:hover { background: #ff3612; transform: translateY(-2px); }

/* Інфо про ціни */
.pricing-info-mini {
    margin-top: 20px;
    padding: 20px;
    background: rgba(255,255,255,0.03);
    border-radius: 20px;
}

.pricing-info-mini h4 { color: #fff; margin-bottom: 10px; font-size: 14px; text-transform: uppercase; }
.pricing-info-mini ul { list-style: none; padding: 0; }
.pricing-info-mini li { 
    display: flex; 
    justify-content: space-between; 
    font-size: 13px; 
    color: #9ca3af; 
    margin-bottom: 5px; 
}

/* Карта */
#map {
    height: 600px;
    width: 100%;
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.1);
}



/* Контейнер для інпуту, щоб список позиціонувався відносно нього */
.search-input-wrapper {
    position: relative;
    width: 100%;
}

/* ПОШУК ТА ВИПАДАЮЧИЙ СПИСОК */
.search-input-wrapper {
    position: relative;
    z-index: 1; /* Вище за карту */
}

#address-search {
    width: 100%;
    padding: 18px 25px;
    background: #0f172a;
    border: 2px solid rgba(0, 229, 255, 0.2);
    border-radius: 12px;
    color: #fff;
    font-size: 16px;
    outline: none;
    transition: 0.3s;
}

#address-search:focus {
    border-color: var(--neon-cyan);
    box-shadow: 0 0 15px rgba(0, 229, 255, 0.2);
}

.autocomplete-list {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #111827;
    border: 1px solid var(--neon-cyan);
    border-radius: 0 0 12px 12px;
    margin-top: 2px;
    max-height: 250px;
    overflow-y: auto;
    z-index: 9999;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.autocomplete-item {
    padding: 15px 20px;
    color: #cbd5e1;
    cursor: pointer;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.autocomplete-item:hover {
    background: var(--neon-cyan);
    color: #000;
}



/* КАРТА ТА СІТКА */
.calc-main-grid {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 30px;
    margin-top: 30px;
}

#map {
    height: 600px;
    border-radius: 20px;
    z-index: 1; /* Карта завжди внизу */
}

.result-card-premium {
    background: #111827;
    padding: 30px;
    border-radius: 20px;
    border: 1px solid rgba(0, 229, 255, 0.1);
}

/* =========================================
   📍 АДАПТИВНІСТЬ КАЛЬКУЛЯТОРА
   ========================================= */

/* Планшети (до 1024px) */
@media (max-width: 1024px) {
    .calc-main-grid {
        grid-template-columns: 1fr; /* Перемикаємо в одну колонку */
        gap: 20px;
    }

    .calc-sidebar {
        order: 2; /* Картка з ціною йде ПІД карту */
    }

    .map-area {
        order: 1; /* Карта йде першою */
    }

    #map {
        height: 400px !important; /* Трохи зменшуємо висоту */
    }
}

/* Мобільні пристрої (до 768px) */
@media (max-width: 768px) {
    .calculator-section {
        padding: 40px 0;
    }

    .container {
        padding: 0 15px; /* Менші бокові відступи на мобілках */
    }

    /* Пошуковий рядок */
    #address-search {
        padding: 15px 15px 15px 45px !important;
        font-size: 15px;
        border-radius: 10px;
    }

    .search-input-wrapper i {
        left: 15px;
        font-size: 16px;
    }

    /* Випадаючий список адрес — ГАРАНТОВАНО ПОВЕРХ КАРТИ */
    .autocomplete-list {
        position: absolute;
        z-index: 10001 !important; 
        box-shadow: 0 10px 25px rgba(0,0,0,0.5);
    }

    /* Картка результату */
    .result-card-premium {
        padding: 20px;
        border-radius: 15px;
    }

    .res-item .price {
        font-size: 20px;
    }

    #map {
        height: 320px !important; /* Оптимальна висота, щоб зручно було користуватися пальцями */
        border-radius: 12px;
    }

    .order-btn-small {
        padding: 15px;
        font-size: 14px;
        border-radius: 10px;
    }
}

/* Маленькі екрани (до 480px) */
@media (max-width: 480px) {
    .res-header h3 {
        font-size: 17px;
    }

    .pricing-info-mini h4 {
        font-size: 12px;
    }

    .pricing-info-mini li {
        font-size: 12px;
        margin-bottom: 8px;
    }
}








/* =========================================
   📩 СЕКЦІЯ ФОРМИ (БЕЗ ХАОСУ)
   ========================================= */

.order-section {
    padding: 80px 0;
    background: var(--dark-bg);
}

.form-glass-card {
    background: #111827;
    border: 1px solid rgba(0, 229, 255, 0.2);
    border-radius: 24px;
    padding: 50px;
    max-width: 1000px;
    margin: 0 auto;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.form-glass-card h2 {
    font-size: 32px;
    text-align: center;
    margin-bottom: 10px;
    color: #fff;
}

.form-glass-card p {
    text-align: center;
    color: var(--text-gray);
    margin-bottom: 40px;
}

/* СІТКА: Дві рівні колонки */
.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px; /* Великий відступ, щоб нічого не злипалося */
    margin-bottom: 30px;
}

/* Колонки як флекс-контейнери */
.form-left, .form-right {
    display: flex;
    flex-direction: column;
    gap: 20px; /* Вертикальний відступ між полями */
}

/* СТИЛЬ ПОЛІВ */
.form-grid input, 
.form-grid select, 
.form-grid textarea {
    width: 100%;
    padding: 16px 20px;
    background: #0f172a;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: #fff;
    font-size: 15px;
    font-family: 'Montserrat', sans-serif;
    transition: all 0.3s ease;
    box-sizing: border-box; /* Важливо для стабільних розмірів */
}

/* Фокус на полях */
.form-grid input:focus, 
.form-grid select:focus, 
.form-grid textarea:focus {
    border-color: var(--neon-cyan);
    background: #161e2e;
    outline: none;
    box-shadow: 0 0 15px rgba(0, 229, 255, 0.2);
}

/* ТЕКСТОВЕ ПОЛЕ: Фіксуємо, щоб не ламало верстку */
.form-grid textarea {
    height: 100%; /* Заповнює висоту, яку створюють інпути зліва */
    min-height: 150px; 
    resize: none; /* Забороняємо ручне розтягування */
}

/* СТИЛЬ ДЛЯ АДРЕСИ (READONLY) */
#form-address {
    background: rgba(0, 229, 255, 0.05);
    border: 1px dashed rgba(0, 229, 255, 0.4);
    color: var(--neon-cyan);
    cursor: not-allowed;
}

/* КНОПКА ВІДПРАВКИ */
.submit-form-btn {
    width: 100%;
    padding: 20px;
    background: #ff4b2b;
    color: #fff;
    border: none;
    border-radius: 15px;
    font-size: 16px;
    font-weight: 800;
    text-transform: uppercase;
    cursor: pointer;
    transition: 0.3s ease;
}

.submit-form-btn:hover {
    background: #ff3612;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(255, 75, 43, 0.4);
}

/* АДАПТИВНІСТЬ: В одну колонку на планшетах/телефонах */

/* =========================================
   📍 ВИПРАВЛЕННЯ ПОШУКУ ТА ШАРІВ
   ========================================= */

/* Контейнер для інпуту */
.search-input-wrapper {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
    z-index: 10001; /* Вище за все, щоб список випадав поверх */
}

/* Виправлення ЛУПИ */
.search-input-wrapper i {
    position: absolute;
    left: 20px;
    color: #00e5ff; /* Твій колір */
    font-size: 18px;
    pointer-events: none; /* Щоб клік проходив крізь іконку в інпут */
    z-index: 10;
}

#address-search {
    width: 100%;
    /* Додаємо відступ зліва (55px), щоб текст не перекривав лупу */
    padding: 18px 25px 18px 55px !important; 
    background: #0f172a;
    border: 2px solid rgba(0, 229, 255, 0.2);
    border-radius: 12px;
    color: #fff;
    font-size: 16px;
    outline: none;
    transition: 0.3s;
}

/* Виправлення ВИПАДАЮЧОГО СПИСКУ */
.autocomplete-list {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #111827;
    border: 1px solid #00e5ff;
    border-radius: 0 0 12px 12px;
    margin-top: 2px;
    max-height: 250px;
    overflow-y: auto;
    /* ПРИМУСОВО ПОВЕРХ КАРТИ */
    z-index: 10000 !important; 
    box-shadow: 0 10px 30px rgba(0,0,0,0.8);
}

/* Виправлення КАРТИ */
#map {
    height: 600px;
    border-radius: 20px;
    /* Карта має бути внизу */
    z-index: 1 !important; 
    position: relative;
}

/* Забезпечуємо, щоб батьківський елемент пошуку теж був зверху */
.search-top-bar {
    position: relative;
    z-index: 9999;
    width: 100%;
    margin-bottom: 20px;
}



/* =========================================
   📍 АДАПТИВНІСТЬ ФОРМИ ЗАМОВЛЕННЯ
   ========================================= */

@media (max-width: 992px) {
    .form-glass-card {
        padding: 40px; /* Трохи зменшуємо внутрішні відступи */
        margin: 0 10px;
    }

    .form-grid {
        gap: 20px; /* Зменшуємо проміжок між колонками */
    }
}

@media (max-width: 768px) {
    .order-section {
        padding: 60px 0; /* Менше порожнього місця навколо */
    }

    .form-glass-card {
        padding: 30px 20px;
        border-radius: 20px;
    }

    .form-glass-card h2 {
        font-size: 26px; /* Зменшуємо заголовок, щоб не розривав рядки */
        margin-bottom: 25px;
    }

    /* Перетворюємо дві колонки в одну */
    .form-grid {
        grid-template-columns: 1fr; 
        gap: 15px;
    }

    .form-left, .form-right {
        gap: 15px;
    }

    /* На мобільних textarea не повинна бути занадто високою */
    .form-grid textarea {
        height: 120px;
        min-height: 120px;
    }

    .form-grid input, 
    .form-grid select, 
    .form-grid textarea {
        padding: 14px 18px; /* Робимо поля зручнішими для натискання пальцем */
        font-size: 16px; /* Запобігає автоматичному зуму на iPhone при фокусі */
    }

    .submit-form-btn {
        padding: 18px;
        font-size: 14px;
        margin-top: 20px;
        border-radius: 12px;
    }
}

@media (max-width: 480px) {
    .form-glass-card h2 {
        font-size: 22px;
    }
    
    .form-glass-card {
        padding: 25px 15px;
    }
}



.wyjazdy-glass-card {
    background: rgba(17, 24, 39, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 229, 255, 0.2);
    border-radius: 24px;
    padding: 50px;
    margin: 40px 0;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

.wyjazdy-glass-card h2 {
    color: #00e5ff;
    font-size: 32px;
    margin-bottom: 25px;
}

.wyjazdy-content p {
    color: #9ca3af;
    line-height: 1.8;
    margin-bottom: 20px;
    font-size: 16px;
}

.features-list {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr 1fr; /* Робимо у дві колонки для краси */
    gap: 15px;
}

.features-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #fff;
    font-size: 15px;
}

.features-list i {
    color: #00e5ff;
    font-size: 18px;
}

/* =========================================
   📍 АДАПТИВНІСТЬ СЕКЦІЇ WYJAZDY
   ========================================= */

@media (max-width: 992px) {
    .wyjazdy-glass-card {
        padding: 40px;
        margin: 20px 0;
    }
}

@media (max-width: 768px) {
    .wyjazdy-section {
        padding: 20px 0;
    }

    .wyjazdy-glass-card {
        padding: 30px 20px;
        border-radius: 20px;
        text-align: center; /* Центруємо заголовки на мобільних */
    }

    .wyjazdy-glass-card h2 {
        font-size: 24px;
        margin-bottom: 20px;
    }

    /* Змінюємо сітку списку: з 2-х колонок в одну */
    .features-list {
        grid-template-columns: 1fr; 
        gap: 12px;
        text-align: left; /* Текст списку залишаємо по лівому краю */
    }

    .features-list li {
        font-size: 14px;
        padding: 10px;
        background: rgba(255, 255, 255, 0.03); /* Додаємо легку підкладку для пунктів */
        border-radius: 10px;
    }

    .wyjazdy-content p {
        font-size: 15px;
        line-height: 1.6;
    }

    /* Корекція відступів, які прописані в HTML через <br> або класи */
    .mt-40 {
        margin-top: 30px !important;
    }
    
    br {
        display: none; /* Прибираємо зайві порожні рядки на мобільних */
    }
}

@media (max-width: 480px) {
    .wyjazdy-glass-card h2 {
        font-size: 21px;
    }
    
    .features-list li i {
        font-size: 16px; /* Трохи менші іконки */
    }
}

