/* ===== СБРОС СТИЛЕЙ ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Arial, sans-serif;
    background: #f5f5f5;
    color: #222;
    line-height: 1.5;
}

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

/* ===== ШАПКА ===== */
header {
    background: #111;
    color: white;
    padding: 20px 0;
    border-bottom: 5px solid #00c3ff;
}

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

.logo {
    font-size: 36px;
    font-weight: 700;
    letter-spacing: 2px;
}

.logo a {
    color: white;
    text-decoration: none;
}

.logo span {
    color: #00c3ff;
}

.nav {
    display: flex;
    gap: 30px;
}

.nav a {
    color: white;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: 0.2s;
    padding: 8px 0;
    border-bottom: 2px solid transparent;
}

.nav a:hover {
    color: #00c3ff;
    border-bottom-color: #00c3ff;
}

.nav a.active {
    color: #00c3ff !important;
    border-bottom-color: #00c3ff;
    font-weight: 600;
}

.mobile-menu-btn {
    display: none;
    font-size: 30px;
    cursor: pointer;
    color: white;
    padding: 5px 10px;
}

/* ===== КНОПКИ ===== */
.btn {
    display: inline-block;
    background: #00c3ff;
    color: #111;
    padding: 14px 35px;
    font-size: 18px;
    font-weight: bold;
    text-decoration: none;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(0,195,255,0.3);
    transition: all 0.2s;
    border: none;
    cursor: pointer;
}

.btn:hover {
    background: #0099cc;
    transform: scale(1.02);
    box-shadow: 0 6px 20px rgba(0,195,255,0.4);
}

.btn-dark {
    background: #111;
    color: white;
}

.btn-dark:hover {
    background: #333;
}

/* ===== КНОПКИ MAX С ПОДСВЕТКОЙ ===== */
.btn-max {
    display: inline-block;
    background: linear-gradient(135deg, #00c3ff 0%, #00a8e0 100%);
    color: #111;
    padding: 16px 40px;
    font-size: 20px;
    font-weight: bold;
    text-decoration: none;
    border-radius: 50px;
    box-shadow: 0 0 15px rgba(0, 195, 255, 0.5), 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    animation: pulse-glow 2s infinite;
}

.btn-max:hover {
    background: linear-gradient(135deg, #0099cc 0%, #007aa8 100%);
    box-shadow: 0 0 25px rgba(0, 195, 255, 0.8), 0 6px 15px rgba(0, 0, 0, 0.15);
    transform: scale(1.05);
    color: white;
    animation: none;
}

.btn-max-dark {
    background: linear-gradient(135deg, #111 0%, #333 100%);
    color: #00c3ff;
    box-shadow: 0 0 15px rgba(0, 195, 255, 0.3), 0 4px 10px rgba(0, 0, 0, 0.2);
    border: 1px solid #00c3ff;
}

.btn-max-dark:hover {
    background: linear-gradient(135deg, #00c3ff 0%, #00a8e0 100%);
    color: #111;
    box-shadow: 0 0 30px rgba(0, 195, 255, 0.8);
    border-color: transparent;
}

@keyframes pulse-glow {
    0% { box-shadow: 0 0 10px rgba(0, 195, 255, 0.4), 0 4px 10px rgba(0, 0, 0, 0.1); }
    50% { box-shadow: 0 0 25px rgba(0, 195, 255, 0.7), 0 6px 15px rgba(0, 0, 0, 0.1); }
    100% { box-shadow: 0 0 10px rgba(0, 195, 255, 0.4), 0 4px 10px rgba(0, 0, 0, 0.1); }
}

/* ===== ПЛАШКА "ГОТОВИМ НОВОЕ МЕСТО" С ПОДСВЕТКОЙ ===== */
.banner-glow {
    background: linear-gradient(135deg, #00c3ff 0%, #00a8e0 50%, #00c3ff 100%);
    background-size: 200% 200%;
    padding: 25px 30px;
    border-radius: 60px;
    margin: 40px 0 20px;
    text-align: center;
    box-shadow: 0 0 20px rgba(0, 195, 255, 0.5), 0 8px 20px rgba(0, 195, 255, 0.3);
    animation: banner-pulse 3s infinite;
}

@keyframes banner-pulse {
    0% { box-shadow: 0 0 15px rgba(0, 195, 255, 0.4), 0 8px 20px rgba(0, 195, 255, 0.2); }
    50% { box-shadow: 0 0 30px rgba(0, 195, 255, 0.7), 0 10px 25px rgba(0, 195, 255, 0.4); }
    100% { box-shadow: 0 0 15px rgba(0, 195, 255, 0.4), 0 8px 20px rgba(0, 195, 255, 0.2); }
}

.banner-glow p {
    margin: 0;
    font-size: 32px;
    font-weight: 800;
    color: #111;
    letter-spacing: 1px;
    line-height: 1.3;
}

.banner-glow span {
    font-size: 24px;
}

/* ===== ЗАГОЛОВКИ СТРАНИЦ ===== */
.page-title {
    text-align: center;
    font-size: 42px;
    margin: 40px 0 10px;
    color: #00c3ff;
    font-weight: 700;
}

.page-subtitle {
    text-align: center;
    color: #666;
    margin-bottom: 40px;
    font-size: 18px;
}

.section-title {
    text-align: center;
    font-size: 32px;
    margin: 40px 0 25px;
    color: #111;
    font-weight: 700;
}

/* ===== ГЛАВНЫЙ ЭКРАН (HERO) ===== */
.hero {
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('fon4.jpg');
    background-size: cover;
    background-position: center 60%;
    color: white;
    text-align: center;
    padding: 120px 20px;
    margin: 30px 0;
    border-radius: 20px;
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.5);
}

.hero p {
    font-size: 22px;
    margin-bottom: 30px;
}

/* ===== КАРТОЧКИ УСЛУГ ===== */
.services {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.card {
    background: white;
    padding: 30px 25px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
    border: 1px solid #eee;
    transition: transform 0.2s;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.card h3 {
    color: #00c3ff;
    font-size: 24px;
    margin-bottom: 15px;
}

.card p {
    color: #555;
    margin-bottom: 20px;
}

.price {
    font-size: 28px;
    font-weight: 800;
    color: #111;
    margin: 15px 0 5px;
}

.card small {
    color: #888;
    font-size: 14px;
}

/* ===== ПРЕИМУЩЕСТВА ===== */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
    margin: 40px 0;
}

.feature-item {
    text-align: center;
    padding: 25px 20px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.03);
    border: 1px solid #f0f0f0;
}

.feature-icon {
    font-size: 40px;
    margin-bottom: 15px;
}

.feature-item h4 {
    font-size: 18px;
    margin-bottom: 10px;
    color: #111;
}

.feature-item p {
    color: #666;
    font-size: 14px;
    margin: 0;
}

/* ===== FAQ ===== */
.faq-page {
    max-width: 800px;
    margin: 40px auto;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin: 40px 0;
}

.faq-item {
    background: white;
    padding: 25px;
    border-radius: 20px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.03);
    border: 1px solid #f0f0f0;
}

.faq-question {
    font-weight: 700;
    font-size: 18px;
    color: #00c3ff;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.faq-answer {
    color: #555;
    line-height: 1.6;
}

/* ===== КОНТАКТЫ ===== */
.contacts {
    background: white;
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    margin: 40px 0;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.contacts-page {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin: 30px 0;
}

.contacts-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-block {
    background: white;
    padding: 25px;
    border-radius: 20px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.03);
    border: 1px solid #f0f0f0;
}

.contact-block h3 {
    color: #00c3ff;
    font-size: 20px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.contact-block p {
    font-size: 16px;
    color: #333;
}

.phone-link {
    font-size: 24px;
    font-weight: 700;
    color: #00c3ff;
    text-decoration: none;
}

.contacts-map {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
}

.address {
    font-size: 18px;
    margin-bottom: 10px;
}

.phone {
    font-size: 32px;
    font-weight: 800;
    color: #00c3ff;
    text-decoration: none;
}

/* ===== ПРАЙС-ЛИСТ ===== */
.price-table {
    max-width: 900px;
    margin: 0 auto;
}

.price-category {
    margin-bottom: 40px;
}

.price-category h2 {
    font-size: 26px;
    color: #00c3ff;
    margin-bottom: 20px;
    border-bottom: 2px solid #00c3ff;
    padding-bottom: 10px;
}

.price-category table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0,0,0,0.05);
}

.price-category td {
    padding: 16px 20px;
    border-bottom: 1px solid #eee;
    color: #333;
}

.price-category tr:last-child td {
    border-bottom: none;
}

.price-cell {
    font-weight: 700;
    color: #111;
    text-align: right;
    white-space: nowrap;
}

/* ===== ГАЛЕРЕЯ ===== */
.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin: 40px 0;
}

.gallery-item {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
    border: 1px solid #eee;
    transition: transform 0.2s;
    cursor: pointer;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.gallery-img {
    width: 100%;
    height: 220px;
    background-size: cover;
    background-position: center;
    background-color: #ddd;
    position: relative;
}

.badge-do {
    position: absolute;
    top: 12px;
    left: 12px;
    background: #ff4d4d;
    color: white;
    padding: 6px 14px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: bold;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    z-index: 2;
}

.badge-posle {
    position: absolute;
    top: 12px;
    left: 60px;
    background: #00c3ff;
    color: #111;
    padding: 6px 14px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: bold;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    z-index: 2;
}

.photo-count {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background: rgba(0,0,0,0.7);
    color: white;
    padding: 5px 12px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 500;
    z-index: 2;
}

.gallery-text {
    padding: 20px;
}

.gallery-text h4 {
    margin: 0 0 8px 0;
    font-size: 18px;
    color: #111;
}

.gallery-text p {
    margin: 0;
    color: #666;
    font-size: 14px;
}

/* ===== ЛАЙТБОКС ===== */
.lightbox {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.95);
    align-items: center;
    justify-content: center;
}

.lightbox.active {
    display: flex !important;
}

.lightbox-content {
    max-width: 90%;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 16px;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 45px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10000;
    transition: 0.2s;
}

.lightbox-close:hover {
    color: #00c3ff;
}

.lightbox-prev, .lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: white;
    font-size: 50px;
    font-weight: bold;
    cursor: pointer;
    padding: 15px;
    user-select: none;
    background: rgba(0,0,0,0.4);
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.2s;
}

.lightbox-prev:hover, .lightbox-next:hover {
    background: rgba(0,195,255,0.8);
    color: #111;
}

.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }

.lightbox-counter {
    position: absolute;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-size: 16px;
    background: rgba(0,0,0,0.6);
    padding: 10px 25px;
    border-radius: 40px;
    border: 1px solid #00c3ff;
}

/* ===== МОДАЛЬНОЕ ОКНО ===== */
.modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: white;
    padding: 35px 30px;
    border-radius: 30px;
    max-width: 450px;
    width: 90%;
    position: relative;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
    text-align: center;
}

.modal-content h3 {
    font-size: 26px;
    margin-bottom: 10px;
    color: #111;
}

.modal-content p {
    color: #666;
    margin-bottom: 25px;
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 32px;
    cursor: pointer;
    color: #aaa;
    line-height: 1;
    transition: 0.2s;
}

.modal-close:hover {
    color: #00c3ff;
}

.modal-note {
    margin-top: 20px;
    font-size: 12px;
    color: #aaa;
}

/* ===== ПОДВАЛ ===== */
footer {
    text-align: center;
    padding: 30px;
    color: #666;
    border-top: 1px solid #ddd;
    margin-top: 50px;
    font-size: 14px;
}

/* ===== АДАПТАЦИЯ ПОД ТЕЛЕФОН ===== */
@media (max-width: 768px) {
    .nav {
        display: none;
        width: 100%;
        flex-direction: column;
        align-items: center;
        padding: 20px 0 10px;
        gap: 15px;
    }
    
    .nav.open {
        display: flex;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .header-inner {
        justify-content: space-between;
    }
    
    .logo {
        font-size: 28px;
    }
    
    .hero {
        padding: 80px 20px;
    }
    
    .hero h1 {
        font-size: 28px;
    }
    
    .hero p {
        font-size: 18px;
    }
    
    .page-title {
        font-size: 32px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .contacts-page {
        grid-template-columns: 1fr;
    }
    
    .banner-glow {
        padding: 20px;
        border-radius: 40px;
    }
    
    .banner-glow p {
        font-size: 24px;
    }
    
    .banner-glow span {
        font-size: 18px;
    }
    
    .price-category h2 {
        font-size: 22px;
    }
    
    .price-category td {
        padding: 12px 12px;
        font-size: 14px;
    }
    
    .price-cell {
        font-size: 16px;
    }
    
    .gallery {
        grid-template-columns: 1fr;
    }
    
    .badge-do, .badge-posle {
        font-size: 11px;
        padding: 4px 10px;
    }
    
    .badge-posle {
        left: 52px;
    }
    
    .lightbox-prev, .lightbox-next {
        font-size: 30px;
        width: 45px;
        height: 45px;
    }
    
    .lightbox-close {
        font-size: 35px;
        top: 15px;
        right: 20px;
    }
    
    .btn, .btn-max, .btn-max-dark {
        padding: 12px 25px;
        font-size: 16px;
    }
    
    .phone {
        font-size: 26px;
    }
    
    .faq-question {
        font-size: 16px;
    }
}

/* Отключаем анимации на мобильных для экономии батареи */
@media (max-width: 768px) {
    .btn-max {
        animation: none;
    }
    .banner-glow {
        animation: none;
    }
}