* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: #333;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Header */
.header {
    background: #fff;
    padding: 15px 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.logo {
    display: flex;
    align-items: center;
    font-size: 24px;
    font-weight: bold;
    color: #3498db;
}

.logo-icon {
    margin-right: 8px;
}

.header-info {
    color: #666;
    font-size: 14px;
}

.header-phone a {
    color: #e74c3c;
    text-decoration: none;
    font-weight: bold;
    font-size: 18px;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><rect fill="%23333" width="1200" height="600"/></svg>');
    background-size: cover;
    background-position: center;
    padding: 120px 0 80px;
    color: white;
    margin-top: 70px;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 40px;
    align-items: center;
}

.hero-title {
    font-size: 36px;
    font-weight: bold;
    margin-bottom: 30px;
    line-height: 1.2;
}

.hero-benefits {
    list-style: none;
    font-size: 16px;
}

.hero-benefits li {
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
}

.hero-benefits li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #2ecc71;
    font-weight: bold;
}

/* Form */
.form-container {
    background: rgba(255,255,255,0.95);
    padding: 30px;
    border-radius: 10px;
    color: #333;
}

.form-title {
    color: #e74c3c;
    font-size: 24px;
    margin-bottom: 20px;
    text-align: center;
}

.car-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.car-form input {
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    font-size: 14px;
    cursor: pointer;
}

.checkbox-label input {
    margin-right: 10px;
}

.form-submit {
    background: #2ecc71;
    color: white;
    padding: 15px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s;
}

.form-submit:hover {
    background: #27ae60;
}

/* Services */
.services {
    padding: 60px 0;
    background: #f8f9fa;
}

.section-title {
    text-align: center;
    font-size: 28px;
    margin-bottom: 40px;
    color: #333;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.service-item {
    background: #666;
    color: white;
    padding: 30px 20px;
    text-align: center;
    border-radius: 5px;
}

.service-icon {
    font-size: 40px;
    margin-bottom: 15px;
}

.service-item h3 {
    font-size: 16px;
    line-height: 1.3;
}

/* Info Blocks */
.info-blocks {
    padding: 60px 0;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.info-block {
    border: 1px solid #ddd;
    padding: 30px;
    text-align: center;
    border-radius: 5px;
}

.info-block h3 {
    margin-bottom: 15px;
    font-size: 20px;
}

.info-block p {
    margin-bottom: 20px;
    color: #666;
}

.info-btn {
    background: #3498db;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

/* Consultation */
.consultation {
    background: #f8f9fa;
    padding: 60px 0;
}

.consultation-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    align-items: center;
}

.consultation h2 {
    margin-bottom: 20px;
    font-size: 24px;
}

.consultation-btn {
    background: #e74c3c;
    color: white;
    padding: 15px 30px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    width: 100%;
}

/* Advantages */
.advantages {
    padding: 60px 0;
}

.advantages-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    border: 1px solid #ddd;
    padding: 30px;
    border-radius: 5px;
}

.advantages h3 {
    margin-bottom: 20px;
    font-size: 18px;
}

.advantages ul {
    list-style: none;
}

.advantages li {
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
}

.advantages-left li::before {
    content: "-";
    position: absolute;
    left: 0;
    color: #e74c3c;
}

.advantages-right li::before {
    content: "+";
    position: absolute;
    left: 0;
    color: #2ecc71;
}

/* WhatsApp */
.whatsapp-contact {
    background: #2ecc71;
    color: white;
    padding: 60px 0;
    text-align: center;
}

.whatsapp-content h2 {
    margin-bottom: 20px;
    font-size: 24px;
}

.whatsapp-content p {
    margin-bottom: 30px;
    font-size: 16px;
}

.whatsapp-btn {
    display: inline-flex;
    align-items: center;
    background: #25d366;
    color: white;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 50px;
    font-size: 18px;
    font-weight: bold;
}

.whatsapp-icon {
    margin-right: 10px;
}

/* Recent Cars */
.recent-cars {
    padding: 60px 0;
    background: #f8f9fa;
}

.cars-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.car-item {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.car-image {
    height: 200px;
    background: #ddd;
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 300 200"><rect fill="%23ddd" width="300" height="200"/><text x="150" y="100" text-anchor="middle" fill="%23999">Авто</text></svg>');
    background-size: cover;
    background-position: center;
}

.car-btn {
    width: 100%;
    padding: 15px;
    background: #2ecc71;
    color: white;
    border: none;
    font-size: 16px;
    cursor: pointer;
}

/* Regions */
.regions {
    padding: 60px 0;
    text-align: center;
}

.regions-text {
    color: #666;
    line-height: 1.8;
    max-width: 900px;
    margin: 0 auto;
}

/* Footer */
.footer {
    background: #333;
    color: white;
    padding: 30px 0;
    text-align: center;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 10px;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .hero-title {
        font-size: 28px;
    }
    
    .form-container {
        padding: 20px;
    }
    
    .consultation-content,
    .advantages-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .service-item {
        padding: 20px 15px;
    }
    
    .section-title {
        font-size: 22px;
    }
}

@media (max-width: 480px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-title {
        font-size: 24px;
    }
    
    .hero {
        padding: 100px 0 60px;
    }
}

/* Cookie Notice Styles */
.cookie-notice {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.95);
    color: white;
    padding: 20px;
    z-index: 10000;
    transform: translateY(100%);
    transition: transform 0.3s ease-in-out;
    backdrop-filter: blur(10px);
}

.cookie-notice.show {
    transform: translateY(0);
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.cookie-text h4 {
    margin: 0 0 10px 0;
    font-size: 18px;
    color: #fff;
}

.cookie-text p {
    margin: 0;
    font-size: 14px;
    line-height: 1.4;
    color: #ddd;
}

.cookie-buttons {
    display: flex;
    gap: 15px;
    align-items: center;
    flex-shrink: 0;
}

.cookie-btn {
    padding: 12px 24px;
    border: none;
    border-radius: 25px;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.cookie-btn.accept {
    background: #2ecc71;
    color: white;
}

.cookie-btn.accept:hover {
    background: #27ae60;
    transform: translateY(-2px);
}

.cookie-btn.settings {
    background: transparent;
    color: #fff;
    border: 2px solid #fff;
}

.cookie-btn.settings:hover {
    background: #fff;
    color: #333;
}

.cookie-link {
    color: #3498db;
    text-decoration: underline;
    font-size: 12px;
    white-space: nowrap;
}

.cookie-link:hover {
    color: #2980b9;
}

/* Cookie Modal */
.cookie-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 10001;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.cookie-modal.show {
    display: flex;
}

.cookie-modal-content {
    background: white;
    border-radius: 10px;
    max-width: 600px;
    width: 100%;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.cookie-modal-header {
    padding: 25px 25px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #eee;
    padding-bottom: 20px;
}

.cookie-modal-header h3 {
    margin: 0;
    color: #333;
    font-size: 22px;
}

.cookie-close {
    background: none;
    border: none;
    font-size: 30px;
    cursor: pointer;
    color: #999;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cookie-close:hover {
    color: #333;
}

.cookie-modal-body {
    padding: 25px;
}

.cookie-category {
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid #f0f0f0;
}

.cookie-category:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.cookie-category-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.cookie-category h4 {
    margin: 0;
    color: #333;
    font-size: 16px;
}

.cookie-category p {
    margin: 0;
    color: #666;
    font-size: 14px;
    line-height: 1.4;
}

/* Cookie Switch */
.cookie-switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
}

.cookie-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.cookie-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: 0.3s;
    border-radius: 24px;
}

.cookie-slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: 0.3s;
    border-radius: 50%;
}

input:checked + .cookie-slider {
    background-color: #2ecc71;
}

input:checked + .cookie-slider:before {
    transform: translateX(26px);
}

input:disabled + .cookie-slider {
    background-color: #95a5a6;
    cursor: not-allowed;
}

.cookie-modal-footer {
    padding: 0 25px 25px;
    display: flex;
    gap: 15px;
    justify-content: flex-end;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .cookie-content {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .cookie-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .cookie-btn {
        width: 100%;
        max-width: 200px;
    }
    
    .cookie-modal-content {
        margin: 20px;
        max-height: calc(100vh - 40px);
    }
    
    .cookie-modal-footer {
        flex-direction: column;
    }
    
    .cookie-modal-footer .cookie-btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .cookie-notice {
        padding: 15px;
    }
    
    .cookie-text h4 {
        font-size: 16px;
    }
    
    .cookie-text p {
        font-size: 13px;
    }
    
    .cookie-modal-header,
    .cookie-modal-body,
    .cookie-modal-footer {
        padding-left: 20px;
        padding-right: 20px;
    }
}

/* Privacy Policy Styles */
.privacy-page {
    margin-top: 90px;
    padding: 40px 0;
    min-height: calc(100vh - 200px);
}

.privacy-content {
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.7;
}

.breadcrumb {
    margin-bottom: 30px;
    font-size: 14px;
    color: #666;
}

.breadcrumb a {
    color: #3498db;
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.privacy-content h1 {
    font-size: 36px;
    color: #333;
    margin-bottom: 10px;
    border-bottom: 3px solid #3498db;
    padding-bottom: 10px;
}

.last-updated {
    background: #f8f9fa;
    padding: 10px 15px;
    border-left: 4px solid #3498db;
    margin-bottom: 40px;
    font-size: 14px;
    color: #666;
}

.privacy-section {
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid #eee;
}

.privacy-section:last-child {
    border-bottom: none;
}

.privacy-section h2 {
    color: #2c3e50;
    font-size: 24px;
    margin-bottom: 20px;
    position: relative;
    padding-left: 20px;
}

.privacy-section h2::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 4px;
    height: 100%;
    background: #3498db;
}

.privacy-section h3 {
    color: #34495e;
    font-size: 18px;
    margin: 25px 0 15px 0;
}

.privacy-section p {
    margin-bottom: 15px;
    text-align: justify;
}

.privacy-section ul {
    margin: 15px 0;
    padding-left: 20px;
}

.privacy-section li {
    margin-bottom: 8px;
}

.privacy-section strong {
    color: #2c3e50;
}

.privacy-section a {
    color: #3498db;
    text-decoration: none;
}

.privacy-section a:hover {
    text-decoration: underline;
}

.contact-info {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

.contact-item {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.contact-item:last-child {
    margin-bottom: 0;
}

.contact-item strong {
    min-width: 140px;
    color: #2c3e50;
}

.contact-item a {
    color: #3498db;
    text-decoration: none;
    font-weight: 500;
}

.contact-item a:hover {
    text-decoration: underline;
}

.back-to-main {
    text-align: center;
    margin-top: 50px;
    padding-top: 30px;
    border-top: 2px solid #3498db;
}

.back-btn {
    display: inline-block;
    background: #3498db;
    color: white;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.back-btn:hover {
    background: #2980b9;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(52, 152, 219, 0.3);
}

/* Footer Updates */
.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.footer-links a {
    color: #bdc3c7;
    text-decoration: none;
    font-size: 14px;
}

.footer-links a:hover {
    color: #fff;
    text-decoration: underline;
}

/* Logo Link Styles */
.logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: inherit;
}

/* Mobile Responsive for Privacy */
@media (max-width: 768px) {
    .privacy-page {
        margin-top: 80px;
        padding: 20px 0;
    }
    
    .privacy-content {
        padding: 0 10px;
    }
    
    .privacy-content h1 {
        font-size: 28px;
    }
    
    .privacy-section h2 {
        font-size: 20px;
    }
    
    .privacy-section h3 {
        font-size: 16px;
    }
    
    .contact-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
    
    .contact-item strong {
        min-width: auto;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
}