/* ============================================================
   ОБЩИЕ СТИЛИ ДЛЯ ВСЕГО САЙТА
   ============================================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    line-height: 1.4;
    background-image: url('../fon2.jpeg');
    background-size: cover;
    background-position: center center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    color: #FFFFFF;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(20, 15, 35, 0.55);
    backdrop-filter: blur(1px);
    z-index: -1;
    pointer-events: none;
}

/* ===== НАВИГАЦИЯ ===== */
.navbar {
    position: sticky;
    top: 0;
    z-index: 100;
    width: 100%;
    background: rgba(20, 15, 35, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(126, 200, 255, 0.3);
    padding: 16px 0;
}

.navbar .container-nav {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

/* ===== КОНТЕЙНЕР ===== */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px 80px 24px;
    position: relative;
    z-index: 2;
}

/* ===== ЗАГОЛОВКИ ===== */
h1,
h2,
h3,
.logo,
.btn,
.stat-number {
    font-weight: 800;
    letter-spacing: -0.02em;
}

h2 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    margin: 2rem 0 1.2rem 0;
    color: #FFFFFF;
    font-weight: 800;
    scroll-margin-top: 80px;
    background: rgba(128, 90, 180, 0.25);
    backdrop-filter: blur(6px);
    display: inline-block;
    padding: 0.5rem 1.2rem 0.5rem 1.5rem;
    border-radius: 60px;
    border-left: 5px solid #7EC8FF;
}

/* ===== ЛОГОТИП ===== */
.logo {
    font-size: 1.8rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 4px;
    flex-wrap: wrap;
}

.logo .fix {
    color: #FFFFFF;
}

.logo .service {
    color: #7EC8FF;
}

.logo .separator {
    color: #7EC8FF;
    font-weight: 600;
}

.logo .apple-reanimator {
    color: #C5A3FF;
    font-weight: 800;
}

/* ===== НАВИГАЦИОННЫЕ ССЫЛКИ ===== */
.nav-links {
    display: flex;
    gap: 1.8rem;
    flex-wrap: wrap;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    font-weight: 600;
    color: #F0F9FF;
    transition: 0.2s;
    cursor: pointer;
    padding: 6px 0;
}

.nav-link:hover {
    color: #7EC8FF;
    transform: translateY(-1px);
}

/* ===== БЛОКИ С ПРОЗРАЧНЫМ ФОНОМ ===== */
.hero-block,
.text-block,
.about-service-block,
.stats-section,
.faq-block,
.reviews-block,
.brands-grid .brand-card,
.services-grid .service-card,
.parts-grid .part-card,
.accessories-grid .accessory-card,
.form-block,
.contacts-wrapper,
.map-block {
    background: rgba(128, 90, 180, 0.25);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(126, 200, 255, 0.35);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* ===== HERO БЛОК ===== */
.hero-block {
    border-radius: 32px;
    padding: 2rem;
    margin: 20px 0 40px;
}

.badge {
    display: inline-block;
    background: rgba(126, 200, 255, 0.2);
    backdrop-filter: blur(4px);
    padding: 6px 16px;
    border-radius: 40px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 1rem;
    border: 1px solid rgba(126, 200, 255, 0.5);
}

.hero-block h1 {
    font-size: clamp(2.2rem, 6vw, 4.2rem);
    line-height: 1.2;
    margin-bottom: 1rem;
}

.hero-description {
    font-size: 1.4rem;
    font-weight: 600;
    color: #F0F9FF;
}

.hero-btn {
    background: #3E9FDC;
    color: white;
    font-weight: 700;
    padding: 12px 32px;
    border-radius: 60px;
    margin-top: 24px;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.2s;
}

.hero-btn:hover {
    background: #62B8F0;
    transform: scale(1.02);
}

/* ===== ТЕКСТОВЫЙ БЛОК ===== */
.text-block {
    border-radius: 32px;
    padding: 2rem;
    margin: 20px 0 30px;
}

.text-block p {
    font-size: 1.1rem;
    line-height: 1.5;
    color: #E0F0FF;
    margin-bottom: 1rem;
}

/* ===== О СЕРВИСЕ ===== */
.about-service-block {
    border-radius: 40px;
    padding: 2rem;
    margin: 1rem 0 2rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 2rem;
}

.service-left {
    flex: 0 0 160px;
    text-align: center;
}

.service-photo img {
    width: 140px;
    height: 140px;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid #FFFFFF;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    background: #2a2350;
    transition: transform 0.2s;
}

.service-photo img:hover {
    transform: scale(1.02);
}

.service-quote-area {
    flex: 1;
    align-self: center;
}

.service-quote-text {
    font-size: 1.2rem;
    font-weight: 500;
    color: #F0F9FF;
    background: rgba(197, 163, 255, 0.15);
    border-left: 4px solid #C5A3FF;
    padding: 1rem 1.2rem;
    border-radius: 20px;
    line-height: 1.4;
}

/* ===== ГАЛЕРЕЯ ===== */
.service-gallery-block {
    width: 100%;
    margin-top: 1.5rem;
}

.service-gallery-title {
    font-weight: 700;
    font-size: 1.1rem;
    color: #C5A3FF;
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
}

.gallery-link-btn {
    background: rgba(62, 159, 220, 0.8);
    padding: 5px 14px;
    border-radius: 40px;
    font-size: 0.75rem;
    font-weight: 600;
    color: white;
    text-decoration: none;
    transition: 0.2s;
}

.gallery-link-btn:hover {
    background: #3E9FDC;
    transform: translateY(-2px);
}

.service-gallery-grid {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 8px;
}

.service-gallery-item {
    background: rgba(0, 0, 0, 0.4);
    border-radius: 10px;
    overflow: hidden;
    aspect-ratio: 1 / 1;
    cursor: pointer;
    border: 1px solid rgba(126, 200, 255, 0.3);
    transition: all 0.2s;
}

.service-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-gallery-item:hover {
    transform: scale(1.02);
    border-color: #7EC8FF;
}

/* ===== СТАТИСТИКА ===== */
.stats-section {
    border-radius: 40px;
    padding: 30px 20px;
    margin: 25px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
    text-align: center;
}

.stat-item {
    cursor: pointer;
    transition: all 0.2s;
    padding: 10px;
    border-radius: 24px;
}

.stat-item:hover {
    background: rgba(126, 200, 255, 0.15);
    transform: translateY(-3px);
}

.stat-number {
    font-size: 2.4rem;
    font-weight: 800;
    color: #7EC8FF;
}

.stat-label {
    color: #E0F0FF;
    font-weight: 600;
}

/* ===== БРЕНДЫ ===== */
.brands-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
    gap: 14px;
    margin: 1rem 0;
}

.brand-card {
    border-radius: 60px;
    padding: 0.8rem 0.5rem;
    text-align: center;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    background: rgba(128, 90, 180, 0.25);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(126, 200, 255, 0.35);
}

.brand-card:hover {
    background: #3E9FDC;
    transform: scale(1.03);
    border-color: #C5A3FF;
}

/* ===== УСЛУГИ ===== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 16px;
    margin: 1rem 0;
}

.service-card {
    border-radius: 28px;
    padding: 1.2rem;
    text-align: center;
    transition: all 0.2s;
    cursor: pointer;
    display: block;
    text-decoration: none;
    color: inherit;
}

.service-card:hover {
    transform: translateY(-4px);
    background: rgba(128, 90, 180, 0.45);
    border-color: #7EC8FF;
}

.service-title {
    font-weight: 700;
    font-size: 0.95rem;
}

/* ===== АКСЕССУАРЫ ===== */
.accessories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 16px;
    margin: 1rem 0;
}

.accessory-card {
    border-radius: 28px;
    padding: 1.2rem;
    text-align: center;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.2s;
    cursor: pointer;
}

.accessory-card:hover {
    transform: translateY(-4px);
    background: rgba(128, 90, 180, 0.45);
    border-color: #7EC8FF;
}

/* ===== ЗАПЧАСТИ ===== */
.parts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
    margin: 1rem 0;
}

.part-card {
    border-radius: 28px;
    padding: 1.5rem 1rem;
    text-align: center;
    transition: all 0.2s;
    border: 1px solid #C5A3FF;
}

.part-card:hover {
    transform: translateY(-5px);
    background: rgba(128, 90, 180, 0.45);
    border-color: #7EC8FF;
}

.part-icon {
    font-size: 2.5rem;
    margin-bottom: 12px;
    color: #C5A3FF;
}

.part-title {
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 8px;
    color: white;
}

.part-desc {
    font-size: 0.8rem;
    color: #E0E0FF;
}

/* ===== FAQ ===== */
.faq-block {
    border-radius: 32px;
    padding: 1.8rem;
    margin: 1.5rem 0;
}

.faq-item {
    margin-bottom: 1.2rem;
    padding-bottom: 0.8rem;
    border-bottom: 1px solid rgba(126, 200, 255, 0.25);
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-question {
    font-weight: 800;
    font-size: 1.2rem;
    color: #7EC8FF;
    margin-bottom: 0.4rem;
}

.faq-answer {
    color: #E0F0FF;
    line-height: 1.4;
}

/* ===== ОТЗЫВЫ ===== */
.reviews-block {
    border-radius: 32px;
    padding: 1.8rem;
    margin: 1.5rem 0;
}

.reviews-grid {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 20px;
    padding-bottom: 10px;
}

.reviews-grid::-webkit-scrollbar {
    height: 6px;
}

.reviews-grid::-webkit-scrollbar-track {
    background: rgba(126, 200, 255, 0.2);
    border-radius: 10px;
}

.reviews-grid::-webkit-scrollbar-thumb {
    background: rgba(126, 200, 255, 0.6);
    border-radius: 10px;
}

.review-card {
    flex: 0 0 320px;
    background: rgba(128, 90, 180, 0.4);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(126, 200, 255, 0.4);
    border-radius: 28px;
    padding: 1.5rem;
    transition: all 0.2s;
}

.review-card:hover {
    transform: translateY(-4px);
    background: rgba(128, 90, 180, 0.6);
    border-color: #7EC8FF;
}

.review-author {
    font-weight: 700;
    color: #7EC8FF;
    margin-bottom: 0.25rem;
}

.review-rating {
    color: #FFD700;
    font-size: 0.8rem;
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
}

.review-text {
    font-size: 0.9rem;
    line-height: 1.4;
    color: #E0F0FF;
    font-style: italic;
}

/* ===== ФОРМА ===== */
.form-block {
    border-radius: 32px;
    padding: 2rem;
    margin: 1rem 0 1.5rem;
}

.form-group {
    margin-bottom: 1.2rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(126, 200, 255, 0.5);
    border-radius: 40px;
    font-size: 1rem;
    color: #FFFFFF;
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #7EC8FF;
    background: rgba(255, 255, 255, 0.2);
}

.form-group textarea {
    border-radius: 24px;
    resize: vertical;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    font-size: 0.85rem;
    text-align: left;
}

.checkbox-label input {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    flex-shrink: 0;
}

.checkbox-label a {
    color: #7EC8FF;
}

.btn-submit {
    background: #3E9FDC;
    width: 100%;
    padding: 14px;
    border: none;
    border-radius: 60px;
    font-weight: 800;
    font-size: 1rem;
    color: white;
    cursor: pointer;
    transition: all 0.2s;
    position: relative;
}

.btn-submit.loading {
    pointer-events: none;
    opacity: 0.7;
}

.btn-submit.loading::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    margin-left: 10px;
    border: 2px solid white;
    border-top-color: transparent;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.btn-submit:hover {
    background: #62B8F0;
    transform: scale(1.02);
}

/* ===== КОНТАКТЫ ===== */
.contacts-wrapper {
    border-radius: 32px;
    padding: 1.8rem;
    margin: 1rem 0 1.5rem;
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
}

.contacts-col {
    flex: 1;
    min-width: 250px;
}

.contacts-col h3 {
    font-size: 1.3rem;
    color: #7EC8FF;
    margin-bottom: 1rem;
    border-left: 3px solid #7EC8FF;
    padding-left: 12px;
    text-transform: uppercase;
}

.contacts-col p {
    margin-bottom: 0.8rem;
    color: #F0F9FF;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    background: rgba(126, 200, 255, 0.08);
    border-radius: 48px;
    padding: 0.6rem 0.8rem;
    justify-content: flex-start;
}

.contacts-col p .svg-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    flex-shrink: 0;
}

.contacts-col p .svg-icon img {
    width: 28px;
    height: 28px;
    display: block;
    filter: brightness(0) saturate(100%) invert(61%) sepia(88%) saturate(373%) hue-rotate(202deg) brightness(96%) contrast(92%);
}

.contacts-col p a {
    word-break: break-word;
    flex: 1;
    text-align: left;
    margin: 0;
    padding: 0;
    color: #7EC8FF;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s;
}

.contacts-col a:hover {
    color: #C5A3FF;
}

/* ===== КАРТА ===== */
.map-block {
    border-radius: 32px;
    padding: 1.8rem;
    margin: 1rem 0 1.5rem;
}

.map-wrapper iframe {
    width: 100%;
    height: 280px;
    border-radius: 24px;
    border: 1px solid rgba(126, 200, 255, 0.4);
    pointer-events: auto;
}

.work-hours {
    margin-top: 1rem;
    text-align: center;
    font-weight: 600;
    color: #7EC8FF;
    font-size: 1rem;
}

.map-link {
    text-align: center;
    margin-top: 12px;
}

.map-link a {
    color: #7EC8FF;
    text-decoration: none;
    font-size: 0.85rem;
}

.map-address-list {
    text-align: left;
    margin-bottom: 1rem;
    color: #E0F0FF;
    font-size: 0.9rem;
    line-height: 1.6;
}

.map-address-list strong {
    color: #7EC8FF;
}

/* ===== ПЛАВАЮЩИЕ КНОПКИ ===== */
.floating-buttons {
    position: fixed;
    bottom: 30px;
    right: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 1000;
}

.float-call,
.float-telegram {
    padding: 12px 20px;
    border-radius: 60px;
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3);
    text-decoration: none;
    text-align: center;
    font-family: inherit;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.float-call {
    background: #3E9FDC;
    color: white;
}

.float-telegram {
    background: #0088cc;
    color: white;
}

.float-call:hover {
    transform: scale(1.05);
    background: #62B8F0;
}

.float-telegram:hover {
    transform: scale(1.05);
    background: #006699;
}

/* ===== ПОПАП ВЫБОРА МОДЕЛИ ===== */
.popup-model-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(12px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    visibility: hidden;
    opacity: 0;
    transition: 0.2s;
}

.popup-model-overlay.active {
    visibility: visible;
    opacity: 1;
}

.popup-model-container {
    background: rgba(30, 25, 55, 0.95);
    backdrop-filter: blur(16px);
    max-width: 600px;
    width: 90%;
    border-radius: 40px;
    padding: 1.8rem;
    border: 1px solid rgba(126, 200, 255, 0.6);
    max-height: 85vh;
    overflow-y: auto;
}

.popup-model-container h3 {
    color: #7EC8FF;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.popup-model-search {
    width: 100%;
    padding: 12px 18px;
    margin-bottom: 1rem;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(126, 200, 255, 0.5);
    border-radius: 60px;
    font-size: 1rem;
    color: white;
}

.popup-model-search:focus {
    outline: none;
    border-color: #7EC8FF;
}

.popup-models-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 10px;
    max-height: 400px;
    overflow-y: auto;
}

.popup-model-card {
    background: rgba(126, 200, 255, 0.1);
    border: 1px solid rgba(126, 200, 255, 0.3);
    border-radius: 28px;
    padding: 10px 12px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
}

.popup-model-card:hover {
    background: #3E9FDC;
    transform: translateY(-2px);
}

.close-model-popup {
    float: right;
    font-size: 2rem;
    cursor: pointer;
    color: #7EC8FF;
    background: transparent;
    border: none;
    line-height: 1;
}

.close-model-popup:hover {
    color: #C5A3FF;
}

/* ===== ОСНОВНОЙ ПОПАП ===== */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    z-index: 1001;
    display: flex;
    align-items: center;
    justify-content: center;
    visibility: hidden;
    opacity: 0;
    transition: 0.2s;
}

.popup-overlay.active {
    visibility: visible;
    opacity: 1;
}

.popup-form {
    background: rgba(128, 90, 180, 0.35);
    backdrop-filter: blur(12px);
    max-width: 500px;
    width: 90%;
    border-radius: 32px;
    padding: 2rem;
    border: 1px solid rgba(126, 200, 255, 0.6);
}

.popup-form h3 {
    color: #FFFFFF;
    margin-bottom: 1rem;
    font-weight: 800;
}

.popup-form input,
.popup-form select,
.popup-form textarea {
    width: 100%;
    padding: 12px 16px;
    margin-bottom: 1rem;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(126, 200, 255, 0.5);
    border-radius: 30px;
    color: #FFFFFF;
    font-family: inherit;
    font-size: 0.9rem;
}

.popup-form input:focus,
.popup-form select:focus,
.popup-form textarea:focus {
    outline: none;
    border-color: #7EC8FF;
    background: rgba(255, 255, 255, 0.2);
}

.close-popup {
    background: transparent;
    border: none;
    float: right;
    font-size: 2rem;
    cursor: pointer;
    color: #7EC8FF;
    transition: all 0.2s;
    line-height: 1;
    padding: 0 8px;
}

.close-popup:hover {
    color: #C5A3FF;
    transform: scale(1.1);
}

.form-buttons {
    display: flex;
    gap: 12px;
    margin-top: 8px;
}

.form-buttons button {
    flex: 1;
    background: #3E9FDC;
    padding: 12px;
    border: none;
    border-radius: 40px;
    font-weight: bold;
    color: white;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 1rem;
}

.form-buttons button:hover {
    background: #62B8F0;
    transform: translateY(-2px);
}

.cancel-btn {
    background: rgba(255, 255, 255, 0.25);
}

.cancel-btn:hover {
    background: rgba(255, 255, 255, 0.4);
}

.popup-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 15px 0;
    font-size: 0.8rem;
    text-align: left;
    justify-content: flex-start;
}

.popup-checkbox input {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    flex-shrink: 0;
}

.popup-checkbox label {
    flex: 1;
    text-align: left;
    line-height: 1.4;
}

.popup-checkbox a {
    color: #7EC8FF;
}

/* ===== TOAST (ВСПЛЫВАЮЩЕЕ УВЕДОМЛЕНИЕ) ===== */
.toast {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: #3E9FDC;
    color: white;
    padding: 12px 24px;
    border-radius: 60px;
    font-weight: 600;
    z-index: 1100;
    transition: all 0.3s;
    opacity: 0;
    pointer-events: none;
    font-size: 0.9rem;
    white-space: nowrap;
}

.toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* ===== ФУТЕР ===== */
footer {
    padding: 30px 0 25px;
    margin-top: 20px;
    border-top: 1px solid rgba(126, 200, 255, 0.3);
    text-align: center;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin: 1rem 0;
}

.footer-links a {
    color: #E0F0FF;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s;
    padding: 4px 8px;
    border-radius: 20px;
}

.footer-links a:hover {
    color: #7EC8FF;
    background: rgba(126, 200, 255, 0.15);
}

.footer-text {
    font-size: 0.85rem;
    color: #aaa;
    margin-top: 10px;
}

.footer-privacy {
    margin-top: 12px;
}

.footer-privacy a {
    color: #7EC8FF;
    text-decoration: none;
    font-size: 0.8rem;
}

/* ===== ЛАЙТБОКС (УВЕЛИЧЕННОЕ ФОТО) ===== */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(12px);
    z-index: 3000;
    display: flex;
    align-items: center;
    justify-content: center;
    visibility: hidden;
    opacity: 0;
    transition: visibility 0.2s, opacity 0.2s;
    cursor: pointer;
}

.lightbox.active {
    visibility: visible;
    opacity: 1;
}

.lightbox-img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    cursor: default;
}

.close-lightbox {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 40px;
    font-weight: bold;
    color: #7EC8FF;
    background: transparent;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
    z-index: 3001;
    padding: 8px 16px;
    border-radius: 50%;
}

.close-lightbox:hover {
    color: #C5A3FF;
    transform: scale(1.1);
}

/* ============================================================
   МОБИЛЬНАЯ ВЕРСИЯ: БУРГЕР-МЕНЮ
   ============================================================ */

/* Кнопка бургер */
.burger-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px 4px;
    z-index: 110;
}

.burger-btn span {
    display: block;
    width: 28px;
    height: 3px;
    background: #7EC8FF;
    border-radius: 4px;
    transition: all 0.3s ease;
    transform-origin: center;
}

/* Анимация бургера в крестик */
.burger-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
}

.burger-btn.active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.burger-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
}

/* ============================================================
   МОБИЛЬНАЯ ВЕРСИЯ (ДО 768px)
   ============================================================ */

@media (max-width: 768px) {
    /* ===== БУРГЕР ===== */
    .burger-btn {
        display: flex;
        flex-shrink: 0;
        gap: 4px;
        padding: 4px 2px;
        position: relative;
        z-index: 110;
    }
    
    .burger-btn span {
        width: 22px;
        height: 2.5px;
    }
    
    .burger-btn.active span:nth-child(1) {
        transform: rotate(45deg) translate(4px, 5px);
    }
    
    .burger-btn.active span:nth-child(2) {
        opacity: 0;
        transform: scaleX(0);
    }
    
    .burger-btn.active span:nth-child(3) {
        transform: rotate(-45deg) translate(4px, -5px);
    }
    
    /* ===== ШАПКА ===== */
    .navbar .container-nav {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 6px 12px;
        gap: 0;
    }
    
    /* ===== ЛОГО НА ВСЮ ШИРИНУ ===== */
    .logo {
        font-size: 1.8rem !important;
        gap: 2px;
        flex: 1;
        min-width: 0;
        overflow: hidden;
        white-space: nowrap;
    }
    
    .logo .fix,
    .logo .service,
    .logo .separator,
    .logo .apple-reanimator {
        white-space: nowrap;
    }
    
    .logo .separator {
        font-size: 1.2rem;
    }
    
    .logo .apple-reanimator {
        font-size: 0.85rem;
    }
    
    /* ===== МЕНЮ ===== */
    .nav-links {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(20, 15, 35, 0.97);
        backdrop-filter: blur(16px);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        gap: 0.5rem;
        transform: translateX(100%);
        transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 105;
        padding: 70px 16px 20px 16px;
        overflow-y: auto;
    }
    
    .nav-links.open {
        transform: translateX(0);
    }
    
    .nav-links .nav-link:first-child {
        margin-top: 0;
    }
    
    .nav-links .nav-link {
        font-size: 1.1rem;
        font-weight: 600;
        color: #FFFFFF;
        padding: 10px 20px;
        border-radius: 12px;
        width: 100%;
        max-width: 280px;
        text-align: center;
        border: 1px solid rgba(126, 200, 255, 0.1);
        background: rgba(126, 200, 255, 0.03);
        transition: all 0.2s;
    }
    
    .nav-links .nav-link:hover {
        background: rgba(62, 159, 220, 0.25);
        color: #7EC8FF;
    }
    
    /* ===== ОТЗЫВЫ ===== */
    .reviews-grid {
        gap: 12px;
        padding-bottom: 6px;
    }
    
    .review-card {
        flex: 0 0 85%;
        padding: 0.8rem 1rem;
        border-radius: 20px;
    }
    
    .review-author {
        font-size: 0.85rem;
        margin-bottom: 0.15rem;
    }
    
    .review-rating {
        font-size: 0.7rem;
        margin-bottom: 0.3rem;
        letter-spacing: 1px;
    }
    
    .review-text {
        font-size: 0.8rem;
        line-height: 1.3;
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    
    /* ===== БРЕНДЫ (ГОРИЗОНТАЛЬНЫЙ СКРОЛЛ) ===== */
    .brands-grid {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        gap: 10px;
        padding: 10px 4px 16px 4px;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x mandatory;
    }
    
    .brands-grid::-webkit-scrollbar {
        height: 4px;
    }
    
    .brands-grid::-webkit-scrollbar-track {
        background: rgba(126, 200, 255, 0.15);
        border-radius: 10px;
    }
    
    .brands-grid::-webkit-scrollbar-thumb {
        background: rgba(126, 200, 255, 0.5);
        border-radius: 10px;
    }
    
    .brands-grid .brand-card {
        flex: 0 0 auto;
        min-width: 100px;
        scroll-snap-align: start;
    }
    
    /* ===== ЗАПЧАСТИ (ГОРИЗОНТАЛЬНЫЙ СКРОЛЛ) ===== */
    .parts-grid {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        gap: 14px;
        padding: 10px 4px 16px 4px;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x mandatory;
    }
    
    .parts-grid::-webkit-scrollbar {
        height: 4px;
    }
    
    .parts-grid::-webkit-scrollbar-track {
        background: rgba(126, 200, 255, 0.15);
        border-radius: 10px;
    }
    
    .parts-grid::-webkit-scrollbar-thumb {
        background: rgba(126, 200, 255, 0.5);
        border-radius: 10px;
    }
    
    .parts-grid .part-card {
        flex: 0 0 180px;
        scroll-snap-align: start;
        margin: 0;
    }
    
    /* ===== АКСЕССУАРЫ (ГОРИЗОНТАЛЬНЫЙ СКРОЛЛ) ===== */
    .accessories-grid {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        gap: 10px;
        padding: 10px 4px 16px 4px;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x mandatory;
    }
    
    .accessories-grid::-webkit-scrollbar {
        height: 4px;
    }
    
    .accessories-grid::-webkit-scrollbar-track {
        background: rgba(126, 200, 255, 0.15);
        border-radius: 10px;
    }
    
    .accessories-grid::-webkit-scrollbar-thumb {
        background: rgba(126, 200, 255, 0.5);
        border-radius: 10px;
    }
    
    .accessories-grid .accessory-card {
        flex: 0 0 auto;
        min-width: 140px;
        scroll-snap-align: start;
        padding: 1rem;
        font-size: 0.85rem;
    }
    
    /* ===== АДАПТИВНОСТЬ ===== */
    .close-lightbox {
        top: 10px;
        right: 15px;
        font-size: 32px;
    }
    .lightbox-img {
        max-width: 95%;
        max-height: 85%;
    }
}

/* ============================================================
   ДЕСКТОПНАЯ ВЕРСИЯ (ОТ 769px)
   ============================================================ */

@media (min-width: 769px) {
    .burger-btn {
        display: none !important;
    }
    
    /* ===== БРЕНДЫ (СЕТКА) ===== */
    .brands-grid {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
    }
    
    /* ===== ЗАПЧАСТИ (СЕТКА) ===== */
    .parts-grid {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }
    
    /* ===== АКСЕССУАРЫ (СЕТКА) ===== */
    .accessories-grid {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    }
}

/* ============================================================
   СТАРЫЕ АДАПТИВНЫЕ СТИЛИ (ДО 800px)
   ============================================================ */

@media (max-width: 800px) {
    .about-service-block {
        flex-direction: column;
        text-align: center;
    }
    .service-left {
        flex: 0 0 auto;
    }
    .service-gallery-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 8px;
    }
    .services-grid {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    }
    .toast {
        white-space: normal;
        text-align: center;
        max-width: 85%;
        font-size: 0.8rem;
        bottom: 90px;
    }
    .contacts-wrapper {
        flex-direction: column;
        gap: 1.8rem;
        padding: 1.5rem;
    }
    .contacts-col:first-child h3 {
        border-left: none;
        border-bottom: 2px solid #7EC8FF;
        padding-left: 0;
        padding-bottom: 0.5rem;
        display: inline-block;
        width: auto;
        margin-bottom: 1rem;
        text-transform: uppercase;
    }
    .contacts-col p {
        flex-direction: row;
        align-items: center;
        gap: 8px;
        margin-bottom: 1rem;
        padding: 0.6rem 0.8rem;
        background: rgba(126, 200, 255, 0.08);
        border-radius: 48px;
        justify-content: flex-start;
    }
    .contacts-col p .svg-icon img {
        width: 22px;
        height: 22px;
    }
}

@media (max-width: 480px) {
    .review-card {
        flex: 0 0 85%;
    }
    .brand-card {
        min-width: 80px;
        font-size: 0.7rem;
        padding: 0.5rem 0.3rem;
    }
    .service-gallery-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 6px;
    }
}

/* ============================================================
   ИСПРАВЛЕНИЕ: ВЫПАДАЮЩИЙ СПИСОК (ОСНОВНАЯ ФОРМА + ПОПАП)
   ============================================================ */

/* ===== ОСНОВНАЯ ФОРМА ===== */
.form-group select {
    color: #FFFFFF !important;
    background: rgba(255, 255, 255, 0.1) !important;
}

.form-group select option {
    color: #000000 !important;
    background: #FFFFFF !important;
    padding: 10px !important;
}

.form-group select option:hover,
.form-group select option:focus,
.form-group select option:active {
    background: #f0f0f0 !important;
}

/* ===== ПОПАП-ФОРМА ===== */
.popup-form select {
    color: #FFFFFF !important;
    background: rgba(255, 255, 255, 0.12) !important;
}

.popup-form select option {
    color: #000000 !important;
    background: #FFFFFF !important;
    padding: 10px !important;
}

.popup-form select option:hover,
.popup-form select option:focus,
.popup-form select option:active {
    background: #f0f0f0 !important;
}