/* 24-H Locksmith Services - Complete Stylesheet */

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: #333;
    scroll-behavior: smooth;
}

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

/* Utility Classes */
.btn-orange {
    background-color: #FCAE1E;
    color: black;
    font-weight: bold;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-orange:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

.scroll-offset {
    scroll-margin-top: 80px;
}

.required {
    color: #dc2626;
}

.highlight {
    color: #FCAE1E;
}

/* Navigation */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: #f9fafb;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    padding: 8px 0;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 64px;
}


.logo-image {
    height: 64px;
    width: auto;
    cursor: pointer;
}

.nav-menu {
    display: flex;
    list-style: none;
    margin-left: 36px;
    margin-right: 36px;
}

.nav-menu a {
    text-decoration: none;
    color: #000000;
    font-weight: 500;
    font-size: 1.2rem;
    transition: color 0.3s ease;
    padding: 24px 16px;
}

.nav-menu a:hover {
    color: #FCAE1E;
}

.header-right {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.emergency-text {
    color: black;
    font-weight: bold;
    font-size: 1.125rem;
    margin-bottom: 8px;
}

.header-phone {
    display: flex;
    align-items: center;
    background: #FCAE1E;
    color: black;
    padding: 12px 16px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.125rem;
    height: 48px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.header-phone .phone-icon {
    width: 20px;
    height: 20px;
    margin-right: 12px;
    color: black;
}

.header-phone:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

/* Hero Section */
.hero-section {
    min-height: 80vh;
    background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.9)), url('assets/images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    color: white;
    padding: 128px 0 64px;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
    min-height: 500px;
}

.hero-left {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 24px;
}

.hero-location {
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    margin-top: 20px;
}

.location-icon {
    width: 24px;
    height: 24px;
}

.hero-location p {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.9);
}

.hero-left h1 {
    font-size: 4rem;
    font-weight: bold;
    line-height: 1.1;
    margin-bottom: 24px;
}

.hero-highlight {
    color: #FCAE1E;
}

.hero-description {
    font-size: 1.5rem;
    margin-bottom: 32px;
    opacity: 0.9;
}

.hero-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 32px;
}

.hero-feature {
    display: flex;
    align-items: center;
    gap: 16px;
}

.check-icon {
    width: 32px;
    height: 32px;
}

.hero-feature span {
    color: white;
    font-weight: bold;
    font-size: 1.25rem;
}

.hero-buttons {
    display: flex;
    align-items: center;
    gap: 24px;
    padding-top: 20px;
}

.phone-button {
    display: flex;
    height: 64px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    text-decoration: none;
}

.phone-button .phone-icon {
    background: black;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 16px;
    color: #FCAE1E;
}

.phone-number {
    background: #FCAE1E;
    color: black;
    display: flex;
    align-items: center;
    padding: 0 24px;
    font-weight: bold;
    font-size: 1.5rem;
}

.hero-badges {
    display: flex;
    gap: 16px;
}

.badge {
    width: 166px;
    height: 166px;
}

/* Callback Form */
.hero-right {
    display: flex;
    align-items: flex-start;
    justify-content: center;
}

.callback-form {
    background: white;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    max-width: 400px;
    width: 100%;
}

.form-header {
    background: #000000;
    padding: 24px;
    text-align: center;
}

.form-header h3 {
    color: #FCAE1E;
    font-size: 1.5rem;
    font-weight: bold;
}

.form-header p {
    color: white;
    font-size: 0.875rem;
    margin-top: 8px;
}

.form-body {
    padding: 24px;
}

.form-group {
    margin-bottom: 16px;
}

.form-group label {
    display: block;
    font-weight: 500;
    margin-bottom: 8px;
    color: #333;
}

.form-group input {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 1rem;
}

.form-group input:focus {
    outline: none;
    border-color: #FCAE1E;
    box-shadow: 0 0 0 3px rgba(252, 174, 30, 0.1);
}

.phone-input {
    display: flex;
}

.country-code {
    display: flex;
    align-items: center;
    padding: 12px;
    background: #f3f4f6;
    border: 1px solid #ddd;
    border-right: 0;
    border-radius: 6px 0 0 6px;
}

.flag {
    width: 24px;
    height: 16px;
    margin-right: 8px;
    margin-left: 8px;
}

.country-code span {
    font-size: 0.875rem;
    font-weight: 500;
    color: #333;
}

.phone-input input {
    border-radius: 0 6px 6px 0;
}

.service-options {
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    cursor: pointer;
}

.checkbox-label input {
    margin-top: 2px;
    margin-right: 12px;
    width: 16px;
    height: 16px;
}

.checkbox-label span {
    font-size: 0.875rem;
    color: #333;
}

.submit-btn {
    width: 100%;
    padding: 12px;
    background: #FCAE1E;
    color: black;
    border: none;
    border-radius: 6px;
    font-weight: bold;
    font-size: 1rem;
    cursor: pointer;
    margin-top: 24px;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

/* Services Section */
.services-section {
    padding: 48px 0;
    background: linear-gradient(90deg, rgba(244, 161, 12, 0.55) 0%, rgba(255, 149, 0, 0.55) 100%);
}

.services-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    align-items: center;
    min-height: 400px;
}

.services-left {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.service-van-container {
    position: relative;
    width: 100%;
    max-width: 640px;
}

.service-van {
    width: 100%;
    height: auto;
}

.van-phone-button {
    position: absolute;
    bottom: 42%;
    left: 4%;
    display: flex;
    height: 64px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    text-decoration: none;
}

.van-phone-button .phone-icon {
    background: black;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 16px;
    color: #FCAE1E;
}

.van-phone-button span {
    background: #FCAE1E;
    color: black;
    display: flex;
    align-items: center;
    padding: 0 24px;
    font-weight: bold;
    font-size: 1.5rem;
}

.mobile-phone-button {
    display: none;
    height: 64px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    text-decoration: none;
    margin-top: 16px;
}

.mobile-phone-button .phone-icon {
    background: black;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 16px;
    color: #FCAE1E;
}

.mobile-phone-button span {
    background: #FCAE1E;
    color: black;
    display: flex;
    align-items: center;
    padding: 0 24px;
    font-weight: bold;
    font-size: 1.5rem;
}

.services-right {
    text-align: center;
    padding: 48px 0;
}

.services-right h2 {
    font-size: 2.5rem;
    font-weight: bold;
    color: #1f2937;
    line-height: 1.2;
    margin-bottom: 24px;
}

.services-right p {
    font-size: 1.25rem;
    color: #4b5563;
    max-width: 512px;
    margin: 0 auto;
}

/* About Section - Car Brands */
.about-section {
    padding: 32px 0;
    background: linear-gradient(to bottom, #f9fafb, rgba(243, 244, 246, 0.5));
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 24px;
    color: #4b5563;
}

.about-subtitle {
    text-align: center;
    font-size: 1.25rem;
    font-weight: bold;
    color: #4b5563;
    max-width: 512px;
    margin: 0 auto 48px;
}

.brand-carousel {
    position: relative;
    overflow: hidden;
    padding: 24px 0;
}

.brand-scroll {
    display: flex;
    white-space: nowrap;
    animation: brand-scroll 8s linear infinite;
}

.brand-logo {
    flex: none;
    width: 175px;
    height: 175px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 32px;
}

.brand-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

@keyframes brand-scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.brand-carousel::before,
.brand-carousel::after {
    content: '';
    position: absolute;
    top: 0;
    width: 192px;
    height: 100%;
    background: linear-gradient(to right, #f9fafb, transparent);
    z-index: 10;
    pointer-events: none;
}

.brand-carousel::before {
    left: 0;
}

.brand-carousel::after {
    right: 0;
    background: linear-gradient(to left, #f9fafb, transparent);
}

/* Lock Brands Section */
.lock-brands-section {
    padding: 64px 0 76px;
    background-color:white;
}

.lock-brands-grid {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 32px;
}

.lock-brand {
    display: flex;
    align-items: center;
    justify-content: center;
}

.lock-brand img {
    height: 80px;
    width: auto;
    max-width: 160px;
    object-fit: contain;
    transition: all 0.3s ease;
}

.lock-brand img:hover {
    transform: scale(1.05);
}

/* Service Area Section */
.service-area-section {
    padding: 16px 0;
    background: #dcdcdc;
}

.service-area-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    align-items: flex-start;
    background-color:#DCDCDC;
}

.service-area-left {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.service-area-left h2 {
    font-size: 3rem;
    font-weight: bold;
    color: #111827;
    text-align: center;
}

.service-area-left h3 {
    font-size: 2.25rem;
    font-weight: bold;
    color: #111827;
    text-align: center;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.service-areas-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    max-width: 448px;
    margin: 0 auto;
}

.service-area-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #111827;
}

.location-pin {
    height: 20px;
    width: 20px;
    flex-shrink: 0;
}

.service-area-item span {
    font-size: 1rem;
}

.service-area-phone {
    display: flex;
    height: 64px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    text-decoration: none;
}

.service-area-phone .phone-icon {
    background: black;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 16px;
    color: #FCAE1E;
}

.service-area-phone span {
    background: #FCAE1E;
    color: black;
    display: flex;
    align-items: center;
    padding: 0 24px;
    font-weight: bold;
    font-size: 1.5rem;
}

.service-area-right {
    display: flex;
    justify-content: center;
}

.service-area-map {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 20px 60px -20px rgba(0, 0, 0, 0.25);
}

/* Testimonials Section */
.testimonials-section {
    padding: 48px 0 80px;
    background: #666;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 32px;
}

.testimonial-card {
    background: white;
    padding: 32px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: scale(1.02);
}

.testimonial-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
}

.google-icon {
    width: 16px;
    height: 16px;
}

.testimonial-name {
    font-weight: bold;
    color: #333;
}

.testimonial-company {
    font-size: 0.875rem;
    color: #666;
}

.stars {
    display: flex;
    gap: 2px;
    margin-bottom: 16px;
}

.star {
    width: 20px;
    height: 20px;
    fill: #fbbf24;
}

.testimonial-content {
    color: #666;
    line-height: 1.6;
}

/* Call to Action Section */
.cta-section {
    padding: 64px 0;
    background: white;
}

.cta-content {
    background: #222222;
    border-radius: 16px;
    padding: 48px;
    max-width: 896px;
    margin: 0 auto;
    text-align: center;
}

.cta-content h3 {
    font-size: 2.25rem;
    font-weight: bold;
    margin-bottom: 24px;
    color: white;
}

.cta-content p {
    font-size: 1.25rem;
    color: #d1d5db;
    margin-bottom: 40px;
    max-width: 512px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 24px;
    align-items: center;
}

.cta-phone-button,
.cta-quote-button {
    display: flex;
    height: 64px;
    width: 288px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    text-decoration: none;
    border: none;
    cursor: pointer;
}

.cta-phone-button .phone-icon {
    background: black;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 16px;
    color: #FCAE1E;
}

.cta-phone-button span {
    background: #FCAE1E;
    color: black;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
    font-weight: bold;
    font-size: 1.5rem;
}

.logo-button,
.logo-button {
    display: flex;
    height: 44px;
    width: 220px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    text-decoration: none;
    border: none;
    cursor: pointer;
}
.logo-button .phone-icon {
    background: black;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 16px;
    color: #FCAE1E;
}

.logo-button span {
    background: #FCAE1E;
    color: black;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
    font-weight: bold;
    font-size: 1rem;
}

.cta-quote-button {
    background: #FCAE1E;
    color: black;
    font-weight: bold;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Contact Section */
.contact-section {
    padding: 40px 0;
    background: white;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.contact-image {
    display: flex;
    justify-content: center;
}

.contact-image img {
    width: 100%;
    max-width: 384px;
    height: 512px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.contact-info h2 {
    font-size: 2.25rem;
    font-weight: bold;
    margin-bottom: 32px;
    color: #1f2937;
}

.lock-issues {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 48px;
}

.lock-issue {
    display: flex;
    align-items: center;
    gap: 12px;
}

.lock-icon {
    width: 20px;
    height: 20px;
    color: #FCAE1E;
    flex-shrink: 0;
}

.lock-issue span {
    color: #4b5563;
    font-weight: bold;
    font-size: 1rem;
}

.contact-buttons {
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
}

.contact-phone-button,
.contact-quote-button {
    display: flex;
    height: 64px;
    width: 288px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    text-decoration: none;
    border: none;
    cursor: pointer;
}

.contact-phone-button .phone-icon {
    background: black;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 16px;
    color: #FCAE1E;
}

.contact-phone-button span {
    background: #FCAE1E;
    color: black;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
    font-weight: bold;
    font-size: 1.5rem;
}

.contact-quote-button {
    background: #FCAE1E;
    color: black;
    font-weight: bold;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Footer */
.site-footer {
    position: relative;
    background: #1f2937;
    color: white;
    padding: 32px 0;
    overflow: hidden;
    background-image: url('assets/images/footer-bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.site-footer::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(31, 41, 55, 0.8);
}

.footer-content {
    position: relative;
    z-index: 10;
    text-align: center;
}

.footer-content h2 {
    font-size: 2.25rem;
    font-weight: bold;
    margin-bottom: 24px;
}

.footer-buttons {
    display: flex;
    flex-direction: column;
    gap: 16px;
    justify-content: center;
    align-items: center;
}

.footer-phone-button,
.footer-quote-button {
    display: flex;
    height: 64px;
    width: 288px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    text-decoration: none;
    border: none;
    cursor: pointer;
}

.footer-phone-button .phone-icon {
    background: black;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 16px;
    color: #FCAE1E;
}

.footer-phone-button span {
    background: #FCAE1E;
    color: black;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
    font-weight: bold;
    font-size: 1.5rem;
}

.footer-quote-button {
    background: #FCAE1E;
    color: black;
    font-weight: bold;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Copyright */
.copyright {
    background: black;
    padding: 16px 0;
    text-align: center;
}

.copyright p {
    color: white;
    font-weight: bold;
    font-size: 1rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .nav-menu {
        gap: 24px;
        margin-left: 48px;
    }
    
    .nav-menu a {
        font-size: 1.25rem;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }
    
    .nav-menu {
        display: none;
    }
    
    .emergency-text {
        font-size: 0.875rem;
        margin-bottom: 4px;
    }
    
    .header-phone {
        height: 36px;
        padding: 8px 12px;
        font-size: 0.875rem;
    }
    
    .logo-image {
        height: 48px;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .hero-left h1 {
        font-size: 2.5rem;
        text-align: center;
    }
    
    .hero-features {
        grid-template-columns: 1fr;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .services-content {
        grid-template-columns: 1fr;
    }
    
    .van-phone-button {
        display: none;
    }
    
    .mobile-phone-button {
        display: flex;
        justify-content: center;
    }
    
    .service-area-content {
        grid-template-columns: 1fr;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .contact-image {
        display: none;
    }
    
    .lock-issues {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .contact-buttons,
    .cta-buttons,
    .footer-buttons {
        align-items: center;
    }
    
    .phone-button {
        width: 100%;
        max-width: 300px;
        height: 56px;
    }
    
    .badge {
        width: 140px;
        height: 140px;
    }
    .nav-menu {
    display: none;
    position: absolute;
    top: 60px;
    left: 50%;
    transform: translateX(-50%);
    background: #1a1a1a; /* тёмно-серый фон */
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.5);
    z-index: 999;
    width: 220px; /* компактное меню */
  }

  .nav-menu.active {
    display: flex;
  }

  .menu-toggle {
    display: block;
  }

  .nav-menu a {
    color: #fff;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    padding: 6px 0;
    transition: color 0.2s ease;
    text-align: center;
    width: 100%;
  }

  .nav-menu a:hover {
    color: #ff6600; /* оранжевый при наведении */
  }
  .menu-toggle {
  font-size: 36px;       /* увеличили размер */
  cursor: pointer;
  user-select: none;
  color: #000000        /* белый цвет */
  transition: color 0.2s ease, transform 0.2s ease;
}
}


/* Ховер эффект */
.menu-toggle:hover {
  color: #ff6600;        /* оранжевый при наведении */
  transform: scale(1.1); /* лёгкое увеличение */
}

@media (max-width: 480px) {




    .hero-section {
        margin-bottom: 48px;
            padding: 100px 0 64px;
    }
    
    .hero-left {
        text-align: center;
    }
    
    .hero-left h1 {
        font-size: 2rem;
        margin-top: 12px;
        margin-bottom: 12px;
    }
    
    .hero-location {
        
        margin-top:0px;
    }
    
    .hero-location p {
        font-size: 1rem;
        font-weight: normal;
            justify-content: center;
    }
    
    .hero-description {
        font-size: 0.875rem;
        line-height: 1.5;
        font-weight: normal;
        margin-bottom: 16px;
        padding: 0 16px;
    }
    
    .hero-features {
        grid-template-columns: 1fr;
        gap: 8px;
        margin-bottom: 20px;
    }
    
    .hero-feature {
        justify-content: center;
        gap: 8px;
    }
    
    .check-icon {
        width: 24px;
        height: 24px;
    }
    
    .hero-feature span {
        font-size: 1.125rem;
        font-weight: 500;
    }
    
    .hero-buttons {
        gap: 16px;
        padding-top: 16px;
        padding-bottom: 32px;
    }
    
    .phone-button {
        height: 56px;
        width: 60%;
        max-width: 288px;
    }
    
    .phone-button .phone-icon {
        background: #FCAE1E;
        padding: 0 12px;
    }
    
    .phone-button .phone-icon svg {
        color: black;
        width: 20px;
        height: 20px;
    }
    
    .phone-number {
        padding: 0 12px;
        font-size: 1.3rem;
        font-weight: 600;
        justify-content: center;
        flex: 1;
    }
    
    .hero-badges {
        gap: 12px;
        margin-top: 0;
    }
    
    .callback-form {
        margin-top: -32px;
        margin-bottom: 32px;
    }
    
    .form-body {
        padding-top: 16px;
        padding-bottom: 32px;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .services-right {
        padding-top: 0;
        padding-bottom: 24px;
    }
    
    .services-right h2 {
        font-size: 2rem;
    }
    
    .testimonial-card {
        padding: 24px;
    }
    
    .cta-section {
        padding-top: 32px;
        padding-bottom: 0;
    }
    
    .contact-section {
        padding-top: 32px;
    }
    
    .contact-info {
        text-align: center;
        padding-bottom: 32px;
    }
    
    .contact-buttons {
        align-items: center;
    }
    
    .service-area-section {
        padding-top: 32px;
        padding-bottom: 16px;
    }
    
    .lock-brands-section {
        padding-top: 32px;
        padding-bottom: 16px;
    }
    
    .testimonials-section {
        padding-top: 48px;
        padding-bottom: 32px;
    }
    
    @keyframes brand-scroll {
        0% {
            transform: translateX(0);
        }
        100% {
            transform: translateX(-50%);
        }
    }
    
    .brand-scroll {
        animation: brand-scroll 5s linear infinite;
    }

    .testimonials-grid {
        grid-template-columns: auto;
    }

    .hero-left {
        gap: 1px;
    }
}

@media (max-width: 375px) {

    .logo-image {
        height: 40px;}
    .logo-button .phone-icon {
        padding: 0 4px;}
    .logo-button, .logo-button {
        height: 34px;
        width: 150px;}
    .logo-button span {
        font-size: 0.9rem;}
    .menu-toggle {
    transform: scale(0.5);   /* уменьшаем в 2 раза */
    transform-origin: center; /* центрируем масштабирование */
  }

}

@media (max-width: 479px) {

    .logo-button .phone-icon {
        padding: 0 4px;}
    .logo-button, .logo-button {
        height: 36px;
        width: 170px;}
    .logo-button span {
        font-size: 0.9rem;}


}

@media (min-width: 955px) {

    .hero-left {
        margin-top:50px;
    }
}

.nav-menu a:hover {
  color: #FCAE1E;
}

@media (min-width: 769px) {
  .menu-toggle {
    display: none !important;
    background-color: #ababab; /* светло-серый фон */
    border-radius: 4px;
  }
}

@media (min-width: 480px) and (max-width: 768px) {
  .hero-section {
    gap: 16px; /* уменьшаем общий gap */
  }

  .hero-section h1,
  .hero-section p {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    max-width: 90%; /* чтобы текст не был слишком широким */
  }

  .hero-section .cta-buttons {
    justify-content: center;
  }

  .hero-features {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 8px; /* компактнее расстояние между фичами */
  }

  .hero-features p {
    margin: 4px 0; /* уменьшаем отступы внутри фич */
  }
}

/* Весь отрезок 769–1300 */
@media (min-width: 769px) and (max-width: 1300px) {
  /* Hero Section */
  .hero-section {
    padding-top: 140px; /* гарантированный отступ от меню */
  }

  .hero-content {
    display: grid;
    grid-template-columns: 1fr 400px; /* текст + форма справа */
    gap: 32px;
    align-items: start;
  }

  .hero-left {
    text-align: center;
    align-items: center;
    margin-top: 0;
  }

  .hero-left h1 {
    font-size: 2.6rem;
    line-height: 1.2;
  }

  .hero-description {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 24px;
  }

  .hero-features {
    grid-template-columns: 1fr;
    gap: 16px;
    max-width: 400px;
    margin: 0 auto 24px;
  }

  .hero-buttons {
    flex-direction: column;
    gap: 16px;
  }

  /* Форма */
  .hero-right {
    justify-content: center;
  }

  .callback-form {
    max-width: 400px;
    width: 100%;
    margin: 0 auto;
    background: #fff; /* убираем белые пробелы позади */
  }

  /* Навигация */
  .nav-menu {
    display: flex !important;
    flex-wrap: nowrap;   /* меню всегда в одну строку */
    justify-content: center;
    gap: 12px;
  }

  .nav-menu a {
    font-size: 1rem;
    padding: 10px 8px;
    white-space: nowrap; /* запрещаем перенос ссылок */
  }
}

/* Специальная корректировка для 769–830 */
@media (min-width: 769px) and (max-width: 830px) {
  .hero-content {
    grid-template-columns: 1fr 360px; /* форма чуть уже */
    gap: 24px;
  }

  .hero-left h1 {
    font-size: 2.2rem;
  }

  .hero-description {
    font-size: 1rem;
    max-width: 480px;
  }

  .callback-form {
    max-width: 360px; /* форма меньше, чтобы не было белых полей */
  }

  .nav-menu a {
    font-size: 0.9rem; /* уменьшаем шрифт, чтобы точно всё влезло */
    padding: 8px 6px;
  }
}

@media (min-width: 769px) and (max-width: 1100px) {
  .nav-menu {
    display: grid !important;
    grid-template-columns: repeat(4, auto); /* максимум 4 в ряд */
    justify-content: center;
    gap: 6px 16px;
    margin-left: 12px;
    margin-right: 12px;
  }

  /* верхний ряд — первые 3 */
  .nav-menu a:nth-child(-n+3) {
    grid-row: 1;
    justify-self: center;
  }

  /* нижний ряд — остальные 4 */
  .nav-menu a:nth-child(n+4) {
    grid-row: 2;
    justify-self: center;
  }

  /* мелкая оптимизация текста */
  .nav-menu a {
    font-size: 0.95rem;
    padding: 0 8px;   /* убираем вертикальные паддинги */
    line-height: 1.4;
    white-space: nowrap;
  }

  .header-right {
    flex-shrink: 0; /* оставляем место для кнопки справа */
  }
}

.nav-menu a:hover {
  background-color: #e5e5e5;
  border-radius: 4px;
  transition: background 0.2s ease;
}

/* Убираем hover у иконки гамбургера */
.menu-toggle:hover {
  background: none !important;
}

.ap-mod { font-family: Roboto, Arial, sans-serif; color:#111; }
.ap-mod .ap-wrap { max-width:1200px; margin:0 auto; padding:28px 16px; box-sizing:border-box; }

.ap-mod h2 { font-size:32px; line-height:1.15; margin:0 0 8px; text-align: center; }
.ap-mod h3 { font-size:20px; line-height:1.35; margin:0 0 12px; color:#444; font-weight:500; text-align: center; }
.ap-mod p  { font-size:16px; line-height:1.6; margin:0 0 12px; color:#222; text-align: center; }

/* CTA button (orange) */
.ap-mod .ap-cta {
  display:inline-flex; align-items:center; justify-content:center;
  padding:12px 18px; background:#FCAE1E; color:#111; font-weight:700;
  border-radius:10px; text-decoration:none; border:0; cursor:pointer;
  transition:transform .14s ease, filter .14s ease;
}
.ap-mod .ap-cta:hover { transform:translateY(-2px); filter:brightness(.96); }

/* Small badge */
.ap-mod .ap-badge { display:inline-block; background:#f4f4f4; color:#333; padding:6px 10px; border-radius:999px; font-size:14px; }

/* Layout helpers */
.ap-mod .ap-row { display:grid; gap:16px; align-items:start; }
@media (min-width:768px) { .ap-mod .ap-row-2 { grid-template-columns:1fr 1fr; } .ap-mod .ap-row-3 { grid-template-columns:repeat(3,1fr); } .ap-mod .ap-row-4 { grid-template-columns:repeat(4,1fr); } }

.ap-mod .ap-card { background:#fff; border:1px solid #eee; border-radius:12px; padding:16px; box-sizing:border-box; }
.ap-mod .ap-card h3 { margin:8px 0 6px; }
.ap-mod .ap-muted { color:#666; font-size:15px; }

/* Images */
.ap-mod .ap-img { width:100%; height:auto; border-radius:10px; display:block; object-fit:cover; }

/* Dark band style */
.ap-mod.ap-dark { background:#666666; color:#fff; }
.ap-mod.ap-dark h2, .ap-mod.ap-dark h3 { color:#fff; }
.ap-mod.ap-dark .ap-cta { color:#111; }

/* Checklist/list */
.ap-mod .ap-list { list-style:none; padding:0; margin:10px 0 0; }
.ap-mod .ap-list li { display:flex; gap:10px; align-items:flex-start; margin:8px 0; color:#fff; }

/* Steps */
.ap-mod .ap-step { text-align:center; padding:12px; }
.ap-mod .ap-step .ap-ico { width:56px; height:56px; border-radius:12px; margin:0 auto 10px; }

/* Areas */
.ap-mod .ap-areas { columns:2; column-gap:24px; }
@media (max-width:480px) { .ap-mod .ap-areas { columns:1; } }

/* FAQ */
.ap-mod details { border:1px solid #e9e9e9; border-radius:10px; padding:10px 12px; background:#fff; }
.ap-mod details + details { margin-top:10px; }
.ap-mod summary { cursor:pointer; font-weight:700; }

.ap-mod details {
  max-width: 500px;          /* компактнее */
  margin: 10px auto;         /* центрирование + отступы */
  padding: 14px 18px;
  border-radius: 10px;
  background: #f9f9f9;       /* светло-серый фон */
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  transition: all 0.3s ease;
  cursor: pointer;
}

/* Ховер-эффект */
.ap-mod details:hover {
  background: #fff;
  box-shadow: 0 6px 14px rgba(0,0,0,0.1);
}

/* Заголовки вопросов */
.ap-mod details summary {
  font-weight: 600;
  color: #333;
  list-style: none; /* убираем дефолтный маркер */
  position: relative;
  padding-right: 20px;
}

/* Кастомная стрелочка */
.ap-mod details summary::after {
  content: "➔";
  position: absolute;
  right: 0;
  top: 0;
  color: #FCAE1E;
  transition: transform 0.3s ease;
}

/* При раскрытии поворот стрелки */
.ap-mod details[open] summary::after {
  transform: rotate(90deg);
}

/* Ответ внутри */
.ap-mod details p {
  margin-top: 10px;
  font-size: 0.95rem;
  color: #555;
}

/* Small responsive tweaks */
@media (max-width:767px) {
  .ap-mod .ap-wrap { padding:18px 12px; }
  .ap-mod h2 { font-size:24px; }
  .ap-mod h3 { font-size:17px; }
  .ap-mod .ap-row { gap:12px; }
  .ap-mod .ap-row-2 { grid-template-columns: 1fr; }
  .ap-mod .ap-row-3 { grid-template-columns: 1fr; }
  .ap-mod .ap-row-4 { grid-template-columns: repeat(2,1fr); }
}

/* Accessibility: focus styles */
.ap-mod a.ap-cta:focus, .ap-mod a:focus { outline:3px solid rgba(252,169,30,0.25); outline-offset:3px; }

.ap-mod .ap-list {
  text-align: center;
  display: inline-block;
}

.ap-mod .ap-list li {
  justify-content: center;
}

.ap-mod .ap-cta {
  display: inline-flex;
  margin-left: auto;
  margin-right: auto;
}

.ap-mod .ap-list {
  list-style: none;
  padding: 0;
  margin: 0 auto;      /* центрируем весь список */
  text-align: center;  /* выравниваем пункты по центру */
  display: inline-block;
}

.ap-mod .ap-list li {
  justify-content: center;
}

.ap-mod .ap-cta {
  display: flex;
  justify-content: center; /* контент внутри кнопки */
  margin: 16px auto 0 auto; /* сама кнопка по центру блока */
}

/* Кнопка по центру без растягивания */
.ap-mod .ap-cta {
  display: inline-flex;
  margin: 16px auto 0 auto; /* по центру блока */
}

/* Список по центру блока */
.ap-mod .ap-list {
  display: table;      /* "коробка" по ширине списка */
  margin: 0 auto;      /* центрирование относительно блока */
  text-align: left;    /* чтобы иконки + текст были нормально */
  padding: 0;
}

.ap-mod .ap-list li {
  justify-content: flex-start; /* внутри строки элементы не разъезжаются */
}

.ap-ico img {
  width: 50px;
}

.trusted {
  text-align: center;
  padding: 60px 20px;
}

.trust-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
  margin-top: 25px;
}

.trust-item {
  background: #f7f7f7;
  border: 1px solid #ddd;
  padding: 12px 20px;
  border-radius: 8px;
  font-weight: 500;
  font-size: 1rem;
  color: #333;
  transition: all 0.3s ease;
}

.trust-item:hover {
  background: #ff6600;
  color: #fff;
  border-color: #ff6600;
  cursor: default;
}

.ap-text {
  margin-left: 40px;   /* дистанция между картинкой и текстом */
  flex: 1;             /* занимает оставшееся место */
}

@media (max-width: 768px) {
  .ap-row-2 {
    flex-direction: column; /* картинка сверху, текст снизу */
    text-align: center;
  }

  .ap-text {
    margin-left: 0;  /* убираем отступ, чтобы на мобиле было по центру */
    margin-top: 20px;
  }
}

.ap-mod {
  padding: 30px 0;
}

/* Цветовые варианты */
.bg-light {
  background-color: #e1e1e1;
  color: #333;
}

.bg-accent {
  background-color: #fff4ec;
  color: #333;
}

.bg-dark {
  background-color: #111;
  color: #fff;
}

.bg-white {
  background-color: #fff;
  color: #333;
}

/* Заголовки на тёмном фоне — акцент оставляем */
.bg-dark h2,
.bg-dark h3 {
  color: #FCAE1E;
}

/* Подзаголовки на сером и оранжевом — оставляем только h3 */
.bg-light h3,
.bg-accent h3 {
  color: #FCAE1E;
}