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

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Oswald', sans-serif;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 15px;
}

h1 {
    font-size: 3rem;
}

h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 20px;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 15px;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 30px;
    font-weight: 500;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(135deg, #ff6b00 0%, #e05e00 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(255, 107, 0, 0.3);
    border: none;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #e05e00 0%, #ff6b00 100%);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 107, 0, 0.4);
}

.btn-secondary {
    background-color: #007bff;
    color: white;
}

.btn-secondary:hover {
    background-color: #0069d9;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid #ff6b00;
    color: #ff6b00;
}

.btn-outline:hover {
    background-color: #ff6b00;
    color: white;
}

.btn-block {
    display: block;
    width: 100%;
}

/* Header */
.header {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo h1 a {
    color: #222;
    font-size: 1.8rem;
}

.logo h1 a span {
    color: #ff6b00;
}

.contact-info {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.phones {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    margin-bottom: 5px;
}

.contact-info .phone a {
    font-weight: 700;
    font-size: 1rem;
    color: #ff6b00;
}

.contact-info .phone {
    margin-bottom: 5px;
}

.contact-info .hours {
    font-size: 0.9rem;
    color: #666;
}

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #222;
}

/* Navigation Menu */
.main-nav {
    display: flex;
    align-items: center;
}

.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 30px;
    align-items: center;
}

.nav-link {
    color: #222;
    font-weight: 500;
    text-decoration: none;
    padding: 8px 15px;
    border-radius: 5px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: #ff6b00;
    background-color: rgba(255, 107, 0, 0.1);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 15px;
    right: 15px;
    height: 2px;
    background-color: #ff6b00;
}

@media (max-width: 992px) {
    .main-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: white;
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
        z-index: 1000;
    }
    
    .header.mobile-menu-open .main-nav {
        display: block;
    }
    
    .nav-menu {
        flex-direction: column;
        gap: 0;
        padding: 20px 0;
    }
    
    .nav-link {
        display: block;
        padding: 15px 30px;
        width: 100%;
    }
    
    .nav-link.active::after {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .contact-info {
        display: none;
    }
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.75) 0%, rgba(255, 107, 0, 0.3) 100%), url('https://images.unsplash.com/photo-1534889156217-0d83d6d3a0d3?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: white;
    padding: 120px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.hero-content .subtitle {
    font-size: 1.3rem;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
}

.emergency {
    display: inline-flex;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.2);
    padding: 12px 25px;
    border-radius: 30px;
    font-weight: 500;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(255, 107, 0, 0.7);
    }
    50% {
        box-shadow: 0 0 0 10px rgba(255, 107, 0, 0);
    }
}

.emergency i {
    margin-right: 10px;
    color: #ff6b00;
}

/* Hero Animations */
.hero-animations {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.key-animation, .lock-animation {
    position: absolute;
    font-size: 2rem;
    opacity: 0.1;
    animation: float 15s infinite linear;
}

.key-animation i, .lock-animation i {
    color: white;
}

.key-1 {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.key-2 {
    top: 60%;
    left: 80%;
    animation-delay: 5s;
}

.lock-1 {
    top: 30%;
    left: 90%;
    animation-delay: 10s;
}

.lock-2 {
    top: 70%;
    left: 5%;
    animation-delay: 15s;
}

@keyframes float {
    0% {
        transform: translateY(0) rotate(0deg);
    }
    25% {
        transform: translateY(-20px) rotate(10deg);
    }
    50% {
        transform: translateY(0) rotate(0deg);
    }
    75% {
        transform: translateY(20px) rotate(-10deg);
    }
    100% {
        transform: translateY(0) rotate(0deg);
    }
}

/* Section Header */
.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    position: relative;
    padding-bottom: 15px;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: #ff6b00;
}

.section-header p {
    font-size: 1.2rem;
    color: #666;
}

/* ========== Главная: уникальные блоки ========== */
.front-intro {
    padding: 50px 0 40px;
    background-color: #fff;
}
.front-intro-text {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
    line-height: 1.7;
    color: #444;
}
.front-intro-text p:last-child {
    margin-bottom: 0;
}

/* Два главных направления с фото */
.front-featured {
    padding: 70px 0;
    background: linear-gradient(180deg, #f8f9fa 0%, #fff 100%);
}
.front-featured-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}
.front-featured-card {
    display: block;
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    min-height: 320px;
    text-decoration: none;
    color: #fff;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.front-featured-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(255, 107, 0, 0.25);
}
.front-featured-image {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: transform 0.5s ease;
}
.front-featured-card:hover .front-featured-image {
    transform: scale(1.06);
}
.front-featured-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.25) 0%, rgba(0,0,0,0.75) 100%);
    transition: background 0.35s ease;
}
.front-featured-card:hover .front-featured-overlay {
    background: linear-gradient(180deg, rgba(255,107,0,0.2) 0%, rgba(0,0,0,0.85) 100%);
}
.front-featured-content {
    position: relative;
    z-index: 2;
    padding: 40px 28px 32px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}
.front-featured-icon {
    position: absolute;
    top: 28px;
    left: 28px;
    width: 56px;
    height: 56px;
    background: rgba(255, 107, 0, 0.95);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
}
.front-featured-content h3 {
    font-size: 1.6rem;
    margin-bottom: 10px;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}
.front-featured-content p {
    font-size: 0.95rem;
    margin-bottom: 16px;
    color: rgba(255,255,255,0.9);
    line-height: 1.5;
}
.front-featured-link {
    font-weight: 600;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #ff8c42;
    transition: gap 0.25s ease;
}
.front-featured-card:hover .front-featured-link {
    gap: 12px;
}

/* Навигационные карточки по разделам */
.front-nav-blocks {
    padding: 70px 0;
    background-color: #fff;
}
.front-nav-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.front-nav-card {
    display: block;
    padding: 28px 22px;
    background: #f8f9fa;
    border-radius: 14px;
    text-align: center;
    text-decoration: none;
    color: #222;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}
.front-nav-card:hover {
    background: #fff;
    border-color: #ff6b00;
    box-shadow: 0 10px 30px rgba(255, 107, 0, 0.12);
    transform: translateY(-4px);
}
.front-nav-card i {
    font-size: 2.2rem;
    color: #ff6b00;
    margin-bottom: 14px;
    display: block;
}
.front-nav-card h3 {
    font-size: 1.2rem;
    margin-bottom: 8px;
}
.front-nav-card p {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 0;
    line-height: 1.4;
}

/* CTA блок внизу главной */
.front-cta {
    padding: 70px 0;
    background: linear-gradient(135deg, #ff6b00 0%, #e05e00 100%);
    color: #fff;
}
.front-cta-inner {
    text-align: center;
    max-width: 640px;
    margin: 0 auto;
}
.front-cta-inner h2 {
    color: #fff;
    margin-bottom: 14px;
    font-size: 2rem;
}
.front-cta-inner p {
    font-size: 1.1rem;
    margin-bottom: 28px;
    opacity: 0.95;
}
.front-cta-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
}
.front-cta-buttons .btn-primary {
    background: #fff;
    color: #ff6b00;
}
.front-cta-buttons .btn-primary:hover {
    background: #f0f0f0;
    color: #e05e00;
}
.front-cta-buttons .btn-secondary {
    background: rgba(255,255,255,0.2);
    color: #fff;
    border: 2px solid #fff;
}
.front-cta-buttons .btn-secondary:hover {
    background: #fff;
    color: #ff6b00;
}

@media (max-width: 992px) {
    .front-featured-grid {
        grid-template-columns: 1fr;
    }
    .front-featured-card {
        min-height: 280px;
    }
    .front-nav-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 576px) {
    .front-nav-grid {
        grid-template-columns: 1fr;
    }
    .front-featured-content {
        padding: 32px 20px 24px;
    }
    .front-featured-content h3 {
        font-size: 1.35rem;
    }
}

/* Services Section */
.services {
    padding: 80px 0;
    background-color: white;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: #f8f9fa;
    border-radius: 15px;
    padding: 35px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 107, 0, 0.1);
}

.service-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 20px 40px rgba(255, 107, 0, 0.15);
    border-color: rgba(255, 107, 0, 0.3);
    background-color: white;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, #ff6b00, #007bff);
}

.service-card:nth-child(1)::before {
    background: linear-gradient(90deg, #ff6b00, #ff8c42);
}

.service-card:nth-child(2)::before {
    background: linear-gradient(90deg, #dc3545, #ff6b00);
}

.service-card:nth-child(3)::before {
    background: linear-gradient(90deg, #28a745, #20c997);
}

.service-card:nth-child(4)::before {
    background: linear-gradient(90deg, #007bff, #0056b3);
}

.service-card:nth-child(5)::before {
    background: linear-gradient(90deg, #6f42c1, #9d7ce8);
}

.service-card:nth-child(6)::before {
    background: linear-gradient(90deg, #17a2b8, #138496);
}

.service-card:nth-child(7)::before {
    background: linear-gradient(90deg, #fd7e14, #ff6b00);
}

.service-card:nth-child(8)::before {
    background: linear-gradient(90deg, #20c997, #17a2b8);
}

.service-icon {
    font-size: 3rem;
    color: #ff6b00;
    margin-bottom: 20px;
}

.service-card h3 {
    margin-bottom: 15px;
}

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

/* Gallery Section */
.gallery {
    padding: 80px 0;
    background-color: white;
}

.gallery .section-header {
    margin-bottom: 50px;
}

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

.gallery-item {
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
}

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

.gallery-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(transparent 50%, rgba(0, 0, 0, 0.7));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover::before {
    opacity: 1;
}

.shop-gallery {
    background-color: #f8f9fa;
}

.shop-gallery .gallery-grid {
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
}

/* Shops Section */
.shops {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.shops-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.shop-card {
    background-color: white;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

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

.shop-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, #007bff, #ff6b00);
}

.shop-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    border-radius: 10px;
    margin-bottom: 20px;
}

.shop-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.shop-card:hover .shop-image img {
    transform: scale(1.05);
}

.shop-icon {
    font-size: 3rem;
    color: #007bff;
    margin-bottom: 20px;
}

.shop-card h3 {
    margin-bottom: 20px;
    color: #222;
}

.shop-card p {
    margin-bottom: 10px;
    color: #666;
}

.shop-description {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.shop-description p {
    color: #555;
    line-height: 1.7;
    text-align: left;
    font-size: 0.95rem;
}

.shop-card p i {
    margin-right: 10px;
    color: #ff6b00;
}

.shop-address, .shop-phone, .shop-hours {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Why Us Section */
.why-us {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature {
    background-color: white;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.feature::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #28a745, #007bff);
}

.feature-icon {
    font-size: 2.5rem;
    color: #007bff;
    margin-bottom: 20px;
}

.feature h3 {
    margin-bottom: 15px;
}

.feature p {
    color: #666;
}

/* Prices Section */
.prices {
    padding: 80px 0;
    background-color: white;
}

.price-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.price-card {
    background-color: #f8f9fa;
    border-radius: 15px;
    padding: 35px;
    text-align: center;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    border-top: 5px solid #ff6b00;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(255, 107, 0, 0.1);
}

.price-card:hover {
    transform: translateY(-10px) scale(1.03);
    box-shadow: 0 20px 40px rgba(255, 107, 0, 0.2);
    background-color: white;
    border-color: rgba(255, 107, 0, 0.4);
}

.price-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 107, 0, 0.05), transparent);
    z-index: 0;
}

.price-card h3 {
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.price {
    font-size: 2rem;
    font-weight: 700;
    color: #ff6b00;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.price-card ul {
    text-align: left;
    margin-bottom: 25px;
    position: relative;
    z-index: 1;
}

.price-card ul li {
    padding: 8px 0;
    border-bottom: 1px solid #eee;
    position: relative;
    padding-left: 20px;
}

.price-card ul li::before {
    content: '✓';
    color: #28a745;
    position: absolute;
    left: 0;
}

.price-note {
    text-align: center;
    color: #666;
    font-style: italic;
}

.price-note i {
    color: #007bff;
    margin-right: 5px;
}

/* Stats Section */
.stats {
    padding: 80px 0;
    background-color: white;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

.stat-item {
    text-align: center;
    padding: 30px;
    border-radius: 10px;
    background: #f8f9fa;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

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

.stat-icon {
    font-size: 2.5rem;
    color: #ff6b00;
    margin-bottom: 20px;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #007bff;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 1.1rem;
    color: #666;
}

/* Footer */
.footer {
    background-color: #222;
    color: white;
    padding: 50px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.footer-logo h2 {
    color: white;
    margin-bottom: 15px;
}

.footer-logo h2 span {
    color: #ff6b00;
}

.footer-logo p {
    color: #ccc;
}

.footer-links h3,
.footer-contact h3 {
    color: white;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-links h3::after,
.footer-contact h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: #ff6b00;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a {
    color: #ccc;
    transition: color 0.3s ease;
}

.footer-links ul li a:hover {
    color: #ff6b00;
}

.footer-contact p {
    color: #ccc;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.footer-contact p i {
    margin-right: 10px;
    color: #ff6b00;
    width: 20px;
}

.shop-info {
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #444;
}

.shop-info:last-child {
    border-bottom: none;
    margin-bottom: 10px;
    padding-bottom: 10px;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #444;
    color: #aaa;
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 992px) {
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-content .subtitle {
        font-size: 1.1rem;
    }
}

@media (max-width: 768px) {
    .header .container {
        flex-direction: column;
        text-align: center;
    }
    
    .contact-info {
        align-items: center;
        margin-top: 15px;
    }
    
    .mobile-menu-btn {
        display: block;
        position: absolute;
        top: 20px;
        right: 20px;
    }
    
    .hero {
        padding: 60px 0;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-buttons .btn {
        width: 100%;
        max-width: 300px;
        margin-bottom: 15px;
    }
    
    .section-header h2 {
        font-size: 1.8rem;
    }
    
    .key-animation, .lock-animation {
        display: none;
    }
}

@media (max-width: 576px) {
    .container {
        width: 95%;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.7rem;
    }
    
    .hero-content h1 {
        font-size: 1.8rem;
    }
    
    .hero-content .subtitle {
        font-size: 1rem;
    }
    
    .service-card,
    .feature,
    .price-card {
        padding: 20px;
    }
    
    .phones {
        align-items: center;
    }
    
    .contact-info .phone a {
        font-size: 0.9rem;
    }
    
    .shop-image {
        height: 150px;
    }
    
    .stat-number {
        font-size: 2rem;
    }
}

/* Detailed Service Sections */
.detailed-service {
    padding: 80px 0;
    background-color: white;
}

.detailed-service:nth-child(even) {
    background-color: #f8f9fa;
}

.service-detail-content {
    max-width: 1200px;
    margin: 0 auto;
}

.service-detail-intro {
    text-align: center;
    margin-bottom: 60px;
    padding: 40px;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.detail-icon {
    font-size: 4rem;
    color: #ff6b00;
    margin-bottom: 20px;
}

.service-detail-intro h3 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #222;
}

.service-detail-intro p {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.8;
    max-width: 900px;
    margin: 0 auto;
}

.service-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.feature-detail {
    background-color: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border-top: 4px solid #ff6b00;
}

.feature-detail:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.feature-detail-icon {
    font-size: 3rem;
    color: #007bff;
    margin-bottom: 20px;
    text-align: center;
}

.feature-detail h4 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #222;
    text-align: center;
}

.feature-detail > p {
    color: #666;
    margin-bottom: 20px;
    line-height: 1.7;
    text-align: center;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.feature-list li {
    padding: 10px 0;
    padding-left: 30px;
    position: relative;
    color: #555;
    border-bottom: 1px solid #f0f0f0;
    transition: all 0.2s ease;
}

.feature-list li:last-child {
    border-bottom: none;
}

.feature-list li:hover {
    padding-left: 35px;
    color: #ff6b00;
}

.feature-list li i {
    position: absolute;
    left: 0;
    color: #28a745;
    font-size: 0.9rem;
}

.service-benefits {
    margin-top: 60px;
    padding: 40px;
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    border-radius: 15px;
    color: white;
}

.service-benefits h3 {
    text-align: center;
    color: white;
    font-size: 2rem;
    margin-bottom: 40px;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.benefit-item {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 25px;
    border-radius: 10px;
    text-align: center;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.benefit-item:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-5px);
}

.benefit-item i {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: #ff6b00;
}

.benefit-item h4 {
    color: white;
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.benefit-item p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
    line-height: 1.6;
}

.emergency-cta {
    margin-top: 50px;
    padding: 40px;
    background: linear-gradient(135deg, #ff6b00 0%, #e05e00 100%);
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(255, 107, 0, 0.3);
}

.emergency-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.emergency-content i {
    font-size: 4rem;
    color: white;
}

.emergency-content h3 {
    color: white;
    font-size: 2rem;
    margin-bottom: 10px;
}

.emergency-content p {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.btn-large {
    padding: 15px 40px;
    font-size: 1.2rem;
    font-weight: 600;
}

.contact-cta {
    margin-top: 30px;
    padding: 40px;
    background: linear-gradient(135deg, #ff6b00 0%, #e05e00 100%);
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(255, 107, 0, 0.2);
}
.contact-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    max-width: 100%;
}
.contact-content i {
    font-size: 3rem;
    color: rgba(255, 255, 255, 0.9);
    flex-shrink: 0;
}
.contact-content > div {
    min-width: 0;
}
.contact-content h3 {
    margin-bottom: 10px;
}
.contact-content p {
    margin-bottom: 15px;
}

.service-process {
    margin-top: 60px;
    padding: 40px;
    background-color: #f8f9fa;
    border-radius: 15px;
}

.service-process h3 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 40px;
    color: #222;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.process-step {
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    position: relative;
    transition: all 0.3s ease;
}

.process-step:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #ff6b00, #007bff);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0 auto 20px;
    box-shadow: 0 5px 15px rgba(255, 107, 0, 0.3);
}

.process-step h4 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: #222;
}

.process-step p {
    color: #666;
    line-height: 1.6;
}

/* Contact Form Styles */
.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
    border-color: #ff6b00;
    box-shadow: 0 0 0 3px rgba(255, 107, 0, 0.1);
    transform: translateY(-1px);
}

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

/* Map Container */
#yandex-map {
    border-radius: 0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

/* Responsive Design for Detailed Sections */
@media (max-width: 768px) {
    .service-detail-intro {
        padding: 30px 20px;
    }
    
    .service-detail-intro h3 {
        font-size: 1.5rem;
    }
    
    .detail-icon {
        font-size: 3rem;
    }
    
    .service-features-grid {
        grid-template-columns: 1fr;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .process-steps {
        grid-template-columns: 1fr;
    }
    
    .emergency-content {
        flex-direction: column;
        text-align: center;
    }
    
    .emergency-content i {
        font-size: 3rem;
    }
    
    .service-benefits {
        padding: 30px 20px;
    }
    
    .service-process {
        padding: 30px 20px;
    }
}

/* === Фиксы для прод: без съездов, единые стили на всех страницах === */
body {
    overflow-x: hidden;
}

/* Контент страниц (главная, услуги, контакты и т.д.) */
.entry-content,
.intro-text,
.entry-content p {
    word-wrap: break-word;
    overflow-wrap: break-word;
}
.entry-content img {
    max-width: 100%;
    height: auto;
    display: block;
}
.entry-content a {
    color: #ff6b00;
}
.entry-content a:hover {
    text-decoration: underline;
}
.entry-content ul,
.entry-content ol {
    margin: 0 0 15px 1.5em;
    list-style-position: outside;
}
.entry-content ul { list-style-type: disc; }
.entry-content ol { list-style-type: decimal; }
.entry-content h2 {
    margin-top: 1.5em;
    margin-bottom: 0.5em;
}
.entry-content h2:first-child { margin-top: 0; }
.entry-content .alignleft,
.entry-content .alignright {
    max-width: 100%;
    height: auto;
}

/* Пустой section-header не занимает лишнее место */
.section-header:empty {
    margin-bottom: 0;
    padding: 0;
    height: 0;
    overflow: hidden;
}

/* Секция с картой — без горизонтального скролла */
.map-section,
#yandex-map {
    max-width: 100vw;
    overflow: hidden;
}
.map-section .container {
    max-width: 100%;
}

/* Форма обратной связи — поля не вылезают за контейнер */
.contact-form input[type="text"],
.contact-form input[type="tel"],
.contact-form input[type="email"],
.contact-form textarea,
.contact-form select {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
}
.contact-form p {
    margin-bottom: 1rem;
}

/* Галерея и картинки магазинов — всегда в пределах блока */
.gallery-item img,
.shop-image img {
    max-width: 100%;
    object-fit: cover;
}

/* Подвал: длинные ссылки и текст не ломают верстку */
.footer-content {
    word-wrap: break-word;
}
.footer-links ul li a {
    word-break: normal;
}

/* Страница Цены: блок CTA не вылезает */
.page-template-template-ceny-php .contact-cta .contact-content,
.contact-cta .contact-content {
    flex-wrap: wrap;
}

/* Мобильная шапка: логотип и кнопка в одну строку, без наложения */
@media (max-width: 768px) {
    .header .container {
        flex-wrap: wrap;
        padding-top: 15px;
        padding-bottom: 15px;
        justify-content: space-between;
    }
    .logo {
        flex: 1;
        min-width: 0;
        text-align: left;
    }
    .logo h1 a {
        font-size: 1.4rem;
    }
    .main-nav {
        order: 3;
        width: 100%;
    }
    .mobile-menu-btn {
        position: relative;
        top: auto;
        right: auto;
        order: 2;
        flex-shrink: 0;
    }
}