:root {
    --blue: #0056ff;
    --dark: #0f172a;
    --footer: #111827;
    --text: #374151;
    --light-bg: #f8fafc;
    --green: #10b981;
}

* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Inter', sans-serif; }
html { scroll-behavior: smooth; }
body { color: var(--text); background: #fff; overflow-x: hidden; width: 100%; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* Header */
.header { background: #fff; height: 80px; display: flex; align-items: center; position: sticky; top: 0; z-index: 1000; transition: 0.3s; }
.header-row { width: 100%; display: flex; justify-content: space-between; align-items: center; }
.header-logo { display: flex; align-items: center; gap: 10px; z-index: 1001; }
.header-logo img { height: 40px; }
.brand-name { font-weight: 900; font-size: 18px; color: var(--blue); }

.nav-list { list-style: none; display: flex; gap: 20px; }
.nav-list a { text-decoration: none; color: #64748b; font-weight: 600; font-size: 14px; transition: 0.3s; }
.nav-list a:hover { color: var(--blue); }

.header-right { display: flex; align-items: center; gap: 15px; }

/* Lang Pill */
.lang-switcher-pill { display: flex; border: 1px solid #e2e8f0; border-radius: 50px; background: #fff; padding: 2px; }
.lang-pill { padding: 6px 12px; font-size: 12px; font-weight: 700; cursor: pointer; color: #64748b; border-radius: 50px; transition: 0.3s; }
.lang-pill.active { background: var(--blue); color: #fff; }

/* Burger Toggle */
.menu-toggle { display: none; background: none; border: none; font-size: 22px; color: var(--blue); cursor: pointer; z-index: 1001; }

/* Hero */
.hero-section { padding: 60px 0; background: linear-gradient(to bottom, #f8fafc, #fff); }
.hero-h1 { font-size: 48px; font-weight: 900; line-height: 1.1; margin-bottom: 20px; color: #111827; }
.hero-subtext { font-size: 18px; color: #64748b; margin-bottom: 30px; max-width: 700px; margin-left: auto; margin-right: auto; }
.hero-badges { display: flex; justify-content: center; gap: 10px; margin-bottom: 30px; flex-wrap: wrap; }
.badge-blue { background: #e0e7ff; color: var(--blue); padding: 8px 16px; border-radius: 30px; font-weight: 700; font-size: 13px; }
.badge-green { background: #dcfce7; color: var(--green); padding: 8px 16px; border-radius: 30px; font-weight: 700; font-size: 13px; }

.hero-action-btns { display: flex; justify-content: center; gap: 15px; margin-bottom: 35px; }
.btn-main-solid { background: var(--blue); color: #fff; padding: 16px 30px; border-radius: 12px; text-decoration: none; font-weight: 800; display: flex; align-items: center; gap: 10px; }
.btn-main-outline { border: 2px solid var(--blue); color: var(--blue); padding: 16px 30px; border-radius: 12px; text-decoration: none; font-weight: 800; display: flex; align-items: center; gap: 10px; }

.hero-phones-row { display: flex; justify-content: center; gap: 30px; margin-bottom: 40px; flex-wrap: wrap; }
.hero-phones-row a { text-decoration: none; color: #111827; font-weight: 800; font-size: 16px; display: flex; align-items: center; gap: 8px; }
.hero-phones-row a i { color: var(--blue); }

.hero-video-box { max-width: 800px; margin: 0 auto; border-radius: 20px; overflow: hidden; box-shadow: 0 20px 40px rgba(0,0,0,0.1); }
.hero-video-box video { width: 100%; display: block; }

/* Common Sections */
.section-padding { padding: 80px 0; }
.bg-soft { background: var(--light-bg); }
.title-l { font-size: 32px; font-weight: 800; margin-bottom: 40px; color: #111827; }
.title-m { font-size: 28px; font-weight: 800; margin-bottom: 20px; color: #111827; }
.text-center { text-align: center; }

/* Grids */
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 15px; }
.s-card { background: #fff; padding: 20px; border-radius: 12px; display: flex; align-items: center; gap: 12px; font-weight: 700; box-shadow: 0 2px 10px rgba(0,0,0,0.03); }
.s-card i { color: var(--green); }

.equip-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.equip-card img { width: 100%; height: 220px; object-fit: cover; border-radius: 15px; margin-bottom: 15px; }
.equip-card h3 { font-weight: 800; margin-bottom: 8px; }

.steps-container { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; }
.step-item { text-align: center; padding: 20px; }
.step-num { background: var(--blue); color: #fff; width: 28px; height: 28px; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 15px; font-weight: 900; font-size: 14px; }
.step-item i { font-size: 36px; color: var(--blue); margin-bottom: 15px; display: block; }
.step-item p { font-weight: 700; font-size: 15px; }

/* Split Layout */
.split-layout { display: flex; align-items: center; gap: 50px; flex-wrap: wrap; }
.split-layout.reverse { flex-direction: row-reverse; }
.split-visual, .split-content { flex: 1; min-width: 300px; }
.rounded-img { width: 100%; border-radius: 20px; }
.price-tag { font-size: 32px; font-weight: 900; color: var(--blue); margin: 20px 0; }
.btn-blue { background: var(--blue); color: #fff; border: none; padding: 12px 24px; border-radius: 8px; font-weight: 700; cursor: pointer; }
.btn-blue-xl { background: var(--blue); color: #fff; border: none; padding: 16px 40px; border-radius: 10px; font-size: 16px; font-weight: 800; cursor: pointer; transition: 0.3s; }

/* Footer */
.footer-dark { background: var(--footer); color: #fff; padding: 60px 0 20px; }
.f-logo { font-size: 22px; font-weight: 900; margin-bottom: 15px; color: #fff; }
.footer-contacts-col h3, .footer-social-col h3 { font-size: 16px; color: #9ca3af; margin-bottom: 20px; text-transform: uppercase; letter-spacing: 1px; }
.f-item { font-size: 18px; font-weight: 700; margin-bottom: 12px; }
.social-circles { display: flex; gap: 12px; }
.social-circles a { width: 40px; height: 40px; background: rgba(255,255,255,0.05); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; text-decoration: none; transition: 0.3s; }
.social-circles a:hover { background: var(--blue); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 20px; text-align: center; color: #6b7280; font-size: 13px; }

/* Modal */
.modal-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.7); z-index: 2000; display: none; align-items: center; justify-content: center; padding: 20px; }
.modal-overlay.active { display: flex; }
.modal-box { background: #fff; padding: 30px; border-radius: 20px; max-width: 400px; width: 100%; position: relative; animation: slideUp 0.3s ease; }
@keyframes slideUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
.close-modal { position: absolute; top: 15px; right: 20px; font-size: 24px; border: none; background: none; cursor: pointer; color: #64748b; }
.form-group { margin-bottom: 15px; }
.form-group input, .form-group select { width: 100%; padding: 12px; border-radius: 8px; border: 1px solid #e2e8f0; font-size: 15px; outline: none; }
.w-100 { width: 100%; }

/* --- MOBILE OPTIMIZATION --- */
@media (max-width: 992px) {
    .menu-toggle { display: block; }
    .header-nav { position: fixed; top: 0; left: -100%; width: 80%; height: 100vh; background: #fff; z-index: 1000; padding: 100px 30px; transition: 0.4s; box-shadow: 10px 0 30px rgba(0,0,0,0.1); }
    .header-nav.active { left: 0; }
    .nav-list { flex-direction: column; gap: 25px; }
    .nav-list a { font-size: 18px; color: var(--dark); }
    .header-right .btn-blue { display: none; } /* Hide small btn on mobile header */
}

@media (max-width: 768px) {
    .hero-h1 { font-size: 32px; }
    .hero-subtext { font-size: 16px; }
    .hero-action-btns { flex-direction: column; }
    .btn-main-solid, .btn-main-outline { width: 100%; justify-content: center; }
    .hero-phones-row { flex-direction: column; gap: 15px; align-items: center; }
    .section-padding { padding: 50px 0; }
    .title-l { font-size: 26px; }
    .split-layout.reverse { flex-direction: column; } /* Don't reverse on mobile for better flow */
    .split-layout { text-align: center; }
}
/* Стилі для додаткових послуг */
.extra-services-list { display: flex; flex-direction: column; gap: 10px; margin-bottom: 30px; }
.extra-item { 
    background: #f1f5f9; 
    padding: 15px 20px; 
    border-radius: 12px; 
    display: flex; 
    align-items: center; 
    gap: 15px; 
    font-weight: 600;
    transition: 0.3s;
}
.extra-item i { color: var(--green); }
.extra-item:hover { background: #e2e8f0; transform: translateX(5px); }

.after-clean-box { background: #fff; border: 2px dashed #cbd5e1; padding: 20px; border-radius: 15px; }
.after-clean-box h4 { margin-bottom: 10px; color: var(--dark); font-weight: 800; }
.after-list { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.after-list li { font-size: 14px; font-weight: 600; color: #64748b; display: flex; align-items: center; gap: 8px; }
.after-list li::before { content: '✓'; color: var(--green); font-weight: 900; }

@media (max-width: 600px) {
    .after-list { grid-template-columns: 1fr; }
}
/* Контейнер для питань */
.faq-container {
    max-width: 900px;
    margin: 40px auto;
    display: flex;
    flex-direction: column;
    gap: 16px; /* Відстань між картками */
    padding: 0 20px;
}

/* Сама картка */
.faq-item {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05); /* М'яка тінь */
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

/* Кнопка питання */
.faq-question {
    width: 100%;
    padding: 22px 28px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    outline: none;
}
/* Найти этот блок и заменить на: */
.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    /* Линия border-bottom удалена отсюда */
    padding-bottom: 40px;
}

/* Линия в .footer-bottom остается, чтобы разделять основной блок и копирайт */
.footer-bottom { 
    border-top: 1px solid rgba(255,255,255,0.1); 
    padding-top: 20px; 
    text-align: center; 
    color: #6b7280; 
    font-size: 13px; 
}
.faq-question span {
    font-size: 18px;
    font-weight: 700;
    color: #1a1a1a;
}

.faq-question i {
    font-size: 16px;
    color: #333;
    transition: transform 0.3s ease;
}

/* Блок відповіді (прихований) */
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    background: #ffffff;
}

.faq-answer-content {
    padding: 0 28px 22px 28px;
    color: #555;
    line-height: 1.6;
    font-size: 16px;
}

/* Активний стан */
.faq-item.active {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.faq-item.active .faq-answer {
    max-height: 300px; /* Достатньо для тексту */
}

.faq-item.active .faq-question i {
    transform: rotate(180deg); /* Поворот стрілочки */
}
/* --- ВИПРАВЛЕННЯ ТА ДОДАТКОВІ СТИЛІ --- */

/* Секція FAQ */
.faq-section {
    padding: 80px 0;
    background-color: #f8faff;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.faq-item {
    background: #fff;
    border-radius: 12px;
    border: 1px solid #eef2ff;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-question {
    width: 100%;
    padding: 20px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: 600;
    color: #1a2b4b;
    text-align: left;
}

.faq-question i {
    transition: transform 0.3s ease;
    color: #0056ff;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    background: #fcfdff;
}

.faq-answer-content {
    padding: 0 25px 20px 25px;
    color: #506176;
    line-height: 1.6;
}

/* Активний стан FAQ */
.faq-item.active {
    border-color: #0056ff;
    box-shadow: 0 10px 25px rgba(0, 86, 255, 0.05);
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-item.active .faq-answer {
    max-height: 300px; /* Достатньо для тексту */
}

/* Секція Доставки */
.districts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.dist-card {
    background: #fff;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
    border: 1px solid transparent;
}

.dist-card:hover {
    transform: translateY(-5px);
    border-color: #0056ff;
}

.dist-card h4 {
    color: #0056ff;
    font-size: 1.25rem;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.dist-card p {
    color: #506176;
    line-height: 1.5;
    font-size: 0.95rem;
}

/* Виправлення футера (щоб не було дірок) */
.footer-dark {
    background: #0f172a;
    color: #fff;
    padding: 80px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 40px;
}

.social-circles {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.social-circles a {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    transition: 0.3s;
}

.social-circles a:hover {
    background: #0056ff;
    transform: translateY(-3px);
}

/* Адаптивність для мобільних */
@media (max-width: 768px) {
    .faq-question {
        font-size: 1rem;
        padding: 15px;
    }
    
    .districts-grid {
        grid-template-columns: 1fr; /* На телефонах по одному в ряд */
    }
    
    .section-padding {
        padding: 50px 0;
    }

    .title-l {
        font-size: 1.8rem;
    }
}
/* Кнопка "Залишити заявку" для телефона (плавающая) */
.mobile-floating-btn {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 999;
    background: var(--blue);
    color: white;
    border: none;
    padding: 15px 25px;
    border-radius: 50px;
    font-weight: 800;
    box-shadow: 0 10px 25px rgba(0, 86, 255, 0.4);
    align-items: center;
    gap: 10px;
    text-decoration: none;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.desktop-only-btn { display: block; }

@media (max-width: 768px) {
    .desktop-only-btn { display: none; }
    .mobile-floating-btn { display: flex; }
    .brand-name { font-size: 14px; }
}
/* Прибираємо підкреслення у всіх посилань та номерів */
a, a:hover, a:focus, a:active {
    text-decoration: none !important;
}

/* Окремо для мобільної кнопки та футера */
.mobile-floating-btn, .f-item a, .hero-phones-row a {
    text-decoration: none !important;
}