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

:root {
    --primary-blue: #1e40af;
    --light-blue: #3b82f6;
    --warm-blue: #2563eb;
    --dark-blue: #1e3a8a;
    --white: #ffffff;
    --light-gray: #f8fafc;
    --text-dark: #1e293b;
    --text-gray: #64748b;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.15);
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
    position: relative;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
    box-sizing: border-box;
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
}

/* Prevent horizontal overflow */
* {
    max-width: 100%;
}

html, body {
    overflow-x: hidden;
    width: 100%;
    position: relative;
}

img, video, iframe, embed, object {
    max-width: 100%;
    height: auto;
}

/* Ensure all sections and containers don't overflow */
section, article, aside, header, footer, nav, main {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

/* Main Header */
.main-header {
    background: linear-gradient(138deg, var(--primary-blue) 0%, #2563eb 50%, var(--warm-blue) 100%);
    color: var(--white);
    padding: 32px 0 28px;
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
    width: 100%;
    max-width: 100%;
}

.main-header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    pointer-events: none;
}

.header-content {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 30px;
    align-items: center;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-icon {
    width: 60px;
    height: 60px;
    flex-shrink: 0;
    border-radius: 12px;
    overflow: hidden;
    background-color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.logo-icon svg {
    width: 100%;
    height: 100%;
}

.logo-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    padding: 6px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.logo-text h1 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 5px;
    line-height: 1.2;
}

.logo-text p {
    font-size: 14px;
    opacity: 0.9;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.coverage-text {
    font-size: 16px;
    font-weight: 600;
    color: var(--white);
    opacity: 0.95;
    margin-bottom: 5px;
    text-align: center;
    padding: 8px 12px;
    background-color: rgba(255, 255, 255, 0.15);
    border-radius: 8px;
}

.phone-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    color: var(--white);
    text-decoration: none;
    font-size: 28px;
    font-weight: 700;
    transition: all 0.3s;
    padding: 16px 20px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    min-height: 70px;
}

.phone-link:hover,
.phone-link:focus {
    transform: scale(1.05);
    background-color: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.phone-link svg {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
}

.working-hours,
.address {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    opacity: 0.95;
}

.working-hours svg,
.address svg {
    flex-shrink: 0;
}

.btn-call-main {
    background-color: var(--white);
    color: var(--primary-blue);
    padding: 20px 40px;
    border-radius: 16px;
    text-decoration: none;
    font-weight: 700;
    font-size: 18px;
    text-align: center;
    transition: all 0.3s;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
    white-space: nowrap;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 70px;
    border: 3px solid var(--white);
}

.btn-call-main:hover,
.btn-call-main:focus {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    background-color: var(--light-gray);
    border-color: var(--light-blue);
}

.btn-call-main svg {
    flex-shrink: 0;
}

/* Main Navigation */
.main-nav {
    background-color: var(--white);
    border-bottom: 1px solid #e2e8f0;
    padding: 15px 0;
    width: 100%;
    max-width: 100%;
}

/* Desktop: Navigation that becomes fixed when header is scrolled past */
@media (min-width: 969px) {
    .main-nav {
        position: relative;
        z-index: 1000;
        background-color: var(--white);
        border-bottom: 1px solid #e2e8f0;
        padding: 15px 0;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
        width: 100%;
        max-width: 100%;
        overflow: visible;
        transition: all 0.3s ease;
    }
    
    /* Когда header скрыт, навигация становится fixed и следует за пользователем */
    .main-nav.nav-sticky {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
        animation: slideDown 0.3s ease;
    }
    
    @keyframes slideDown {
        from {
            transform: translateY(-100%);
        }
        to {
            transform: translateY(0);
        }
    }
}

@media (max-width: 968px) {
    .main-nav {
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 1000;
        background-color: transparent;
        padding: 0;
        box-shadow: none;
        border-bottom: none;
        transition: background-color 0.3s ease;
        overflow: visible;
        touch-action: auto;
        pointer-events: none;
    }
    
    .main-nav.has-active-menu {
        background-color: var(--white);
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
        border-bottom: 1px solid #e2e8f0;
    }
    
    .main-nav .container {
        pointer-events: none;
        overflow: visible;
    }
    
    .main-nav .nav-content {
        pointer-events: none;
        overflow: visible;
    }
    
    .main-nav .nav-links {
        pointer-events: auto;
        overflow-y: auto;
        overflow-x: hidden;
        -webkit-overflow-scrolling: touch;
        touch-action: pan-y;
    }
    
    /* Скрываем навигационные ссылки по умолчанию на мобильных */
    .nav-links:not(.active) {
        display: none !important;
    }
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow-x: hidden;
    overflow-y: hidden;
    touch-action: none;
}

.nav-links {
    display: flex;
    gap: 25px;
    align-items: center;
    flex-wrap: wrap;
    overflow-x: hidden;
    overflow-y: hidden;
    touch-action: none;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    transition: color 0.3s;
    padding: 8px 0;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-blue);
}

.nav-dropdown {
    position: relative;
}

.nav-dropdown .nav-link svg {
    transition: transform 0.3s ease;
    transform: rotate(0deg);
}

.nav-dropdown:hover .nav-link svg,
.nav-dropdown.active .nav-link svg {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--white);
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    min-width: 220px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s;
    z-index: 200;
    margin-top: 10px;
    padding: 10px 0;
}

.nav-dropdown:hover .dropdown-menu,
.nav-dropdown.active .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-link {
    display: block;
    padding: 12px 20px;
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.3s;
    border-left: 3px solid transparent;
}

.dropdown-link:hover,
.dropdown-link:focus {
    background-color: var(--light-gray);
    color: var(--primary-blue);
    border-left-color: var(--primary-blue);
}

.nav-link-call {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--warm-blue) 100%);
    color: var(--white) !important;
    padding: 10px 20px !important;
    border-radius: 10px;
    font-weight: 600;
}

.nav-link-call:hover {
    background: linear-gradient(135deg, var(--warm-blue) 0%, var(--light-blue) 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(30, 64, 175, 0.4);
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-link {
    color: var(--text-gray);
    transition: color 0.3s;
}

.social-link:hover {
    color: var(--primary-blue);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background-color: #FFFFFF;
    border: none;
    cursor: pointer;
    padding: 0;
    position: fixed;
    top: 15px;
    right: 15px;
    z-index: 1001;
    width: 40px;
    height: 40px;
    min-width: 40px;
    min-height: 40px;
    max-width: 40px;
    max-height: 40px;
    justify-content: center;
    align-items: center;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    transition: all 0.3s;
}

.mobile-menu-toggle:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--primary-blue);
    border-radius: 2px;
    transition: all 0.3s;
}


/* Services Section */
.services-section {
    padding: 60px 0;
    background-color: var(--light-gray);
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

.section-title {
    text-align: center;
    font-size: 36px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 48px;
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-blue), var(--light-blue));
    border-radius: 2px;
}

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

.service-card {
    background-color: var(--white);
    padding: 25px 18px 28px 22px;
    border-radius: 14px 18px 16px 15px;
    text-align: center;
    transition: all 0.3s;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.08), 0 1px 3px rgba(0, 0, 0, 0.05);
    cursor: pointer;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.service-card:nth-child(2) {
    padding: 28px 20px 25px 20px;
    border-radius: 16px 14px 15px 18px;
}

.service-card:nth-child(3) {
    padding: 26px 22px 27px 19px;
    border-radius: 15px 17px 14px 16px;
}

.service-card:nth-child(4) {
    padding: 27px 19px 26px 21px;
    border-radius: 17px 15px 18px 14px;
}

.service-card:nth-child(5) {
    padding: 25px 21px 28px 18px;
    border-radius: 16px 15px 17px 14px;
}

.service-card:hover {
    transform: translateY(-4px) rotate(0.5deg);
    box-shadow: var(--shadow-lg);
}

.service-image {
    width: 100%;
    height: 200px;
    margin: 0 auto 18px;
    border-radius: 10px 12px 11px 9px;
    overflow: hidden;
    background-color: #f0f0f0;
    position: relative;
}

.service-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.02) 100%);
    pointer-events: none;
}

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

.service-card:hover .service-image img {
    transform: scale(1.08);
}

.service-card h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-dark);
    line-height: 1.4;
    margin-bottom: 8px;
    letter-spacing: -0.2px;
}

.service-card:nth-child(2) h3 {
    font-size: 17px;
}

.service-card:nth-child(4) h3 {
    font-size: 19px;
}

.service-card p {
    font-size: 14px;
    color: var(--text-gray);
    line-height: 1.5;
    margin-top: 4px;
}

/* Gallery Section */
.gallery-section {
    padding: 60px 0;
    background-color: #f5f7fa;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

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

.gallery-item {
    border-radius: 12px 14px 13px 11px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08), 0 1px 4px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    background-color: #e5e7eb;
    aspect-ratio: 4/3;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.gallery-item:nth-child(2) {
    border-radius: 14px 12px 11px 13px;
}

.gallery-item:nth-child(3) {
    border-radius: 13px 11px 14px 12px;
}

.gallery-item:nth-child(4) {
    border-radius: 11px 13px 12px 14px;
}

.gallery-item:hover {
    transform: translateY(-3px) rotate(-0.3deg);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
    background-color: #e5e7eb;
}

.gallery-item img[alt] {
    font-size: 0;
}

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

/* Works Grid */
.works-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.work-card {
    background-color: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.work-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.15);
}

.work-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.work-image-wrapper {
    width: 100%;
    height: 280px;
    overflow: hidden;
    background-color: var(--light-gray);
    position: relative;
}

.work-cover-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    display: block;
}

.work-card:hover .work-cover-image {
    transform: scale(1.1);
}

.work-content {
    padding: 25px 30px;
}

.work-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 15px;
    line-height: 1.4;
}

.work-excerpt {
    font-size: 16px;
    color: var(--text-gray);
    line-height: 1.6;
    margin-bottom: 20px;
}

.work-more-btn {
    display: inline-block;
    color: var(--primary-blue);
    font-weight: 600;
    font-size: 16px;
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 8px 0;
    position: relative;
}

.work-more-btn::after {
    content: ' →';
    transition: transform 0.3s ease;
    display: inline-block;
}

.work-card:hover .work-more-btn {
    color: var(--warm-blue);
    transform: translateX(5px);
}

.work-card:hover .work-more-btn::after {
    transform: translateX(5px);
}

/* Work Detail Section */
.work-detail-section {
    padding: 60px 0;
    background-color: var(--white);
}

.work-detail-content {
    max-width: 1000px;
    margin: 0 auto;
}

.work-cover-image-wrapper {
    width: 100%;
    margin-bottom: 40px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.work-cover-large {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.work-description {
    margin-bottom: 40px;
}

.work-intro {
    font-size: 18px;
    line-height: 1.8;
    color: var(--text-dark);
    margin-bottom: 0;
}

.work-gallery {
    margin: 40px 0;
}

.work-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.work-gallery-grid img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.work-gallery-grid img:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* Benefits Section */
.benefits-section {
    padding: 58px 0 62px;
    background-color: var(--white);
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

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

.benefit-card {
    text-align: center;
    padding: 28px 22px 32px 18px;
}

.benefit-card:nth-child(2) {
    padding: 30px 18px 28px 20px;
}

.benefit-card:nth-child(3) {
    padding: 29px 21px 31px 19px;
}

.benefit-card:nth-child(4) {
    padding: 31px 19px 29px 21px;
}

.benefit-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
}

.benefit-icon svg {
    width: 100%;
    height: 100%;
}

.benefit-card h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 10px;
    letter-spacing: -0.3px;
}

.benefit-card:nth-child(1) h3 {
    font-size: 19px;
}

.benefit-card:nth-child(3) h3 {
    font-size: 21px;
}

.benefit-card p {
    font-size: 16px;
    color: var(--text-gray);
    line-height: 1.6;
}

/* Videos Section */
.videos-section {
    padding: 60px 0;
    background-color: var(--white);
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

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

.video-widget {
    background-color: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    padding: 0;
}

.video-widget:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.video-widget .su-youtube {
    margin-bottom: 0;
}

.videos-button-wrapper {
    text-align: center;
    margin-top: 30px;
}

.btn-youtube {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #ff0000 0%, #cc0000 100%);
    color: var(--white);
    padding: 16px 32px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 18px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 0, 0, 0.3);
}

.btn-youtube:hover {
    background: linear-gradient(135deg, #cc0000 0%, #990000 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 0, 0, 0.4);
}

.btn-youtube svg {
    width: 24px;
    height: 24px;
}

@media (max-width: 768px) {
    .videos-section {
        padding: 40px 0;
    }

    .videos-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-bottom: 30px;
    }

    .btn-youtube {
        padding: 14px 28px;
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .videos-grid {
        gap: 15px;
    }

    .btn-youtube {
        padding: 12px 24px;
        font-size: 14px;
    }
}

/* Warning Section */
.warning-section {
    padding: 60px 0;
    background-color: #fef3c7;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    border-top: 3px solid #f59e0b;
    border-bottom: 3px solid #f59e0b;
    text-align: center;
}

.warning-title {
    text-align: center;
    font-size: 32px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 30px;
}

.warning-content {
    max-width: 800px;
    margin: 0 auto;
}

.warning-content p {
    font-size: 18px;
    line-height: 1.8;
    color: var(--text-dark);
    margin-bottom: 20px;
}

.btn-call-warning {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--warm-blue) 100%);
    color: var(--white);
    padding: 20px 40px;
    border-radius: 16px;
    text-decoration: none;
    font-weight: 700;
    font-size: 20px;
    margin-top: 30px;
    transition: all 0.3s;
    box-shadow: 0 6px 20px rgba(30, 64, 175, 0.4);
    border: 3px solid var(--primary-blue);
    min-height: 70px;
}

.btn-call-warning:hover,
.btn-call-warning:focus {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 10px 30px rgba(30, 64, 175, 0.5);
}

.btn-call-warning svg {
    flex-shrink: 0;
}

/* Floating Call Button */
.floating-call-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--warm-blue) 100%);
    color: var(--white);
    padding: 22px 28px;
    border-radius: 50px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    font-size: 18px;
    box-shadow: 0 8px 25px rgba(30, 64, 175, 0.5);
    z-index: 999;
    transition: all 0.3s;
    animation: pulse 2s infinite;
    border: 3px solid var(--white);
    min-height: 70px;
}

.floating-call-btn:hover,
.floating-call-btn:focus {
    transform: scale(1.1);
    box-shadow: 0 12px 35px rgba(30, 64, 175, 0.6);
}

.floating-call-btn svg {
    flex-shrink: 0;
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 8px 20px rgba(30, 64, 175, 0.4);
    }
    50% {
        box-shadow: 0 8px 30px rgba(30, 64, 175, 0.6);
    }
}

@keyframes pulse-footer {
    0%, 100% {
        box-shadow: 0 6px 25px rgba(30, 64, 175, 0.5);
        transform: scale(1);
    }
    50% {
        box-shadow: 0 8px 35px rgba(30, 64, 175, 0.7);
        transform: scale(1.01);
    }
}

/* Улучшение для очень маленьких экранов */
@media (max-width: 360px) {
    .container {
        padding: 0 12px;
    }

    .phone-link {
        font-size: 18px;
    }

    .floating-call-btn {
        padding: 14px 18px;
        font-size: 15px;
    }
}

/* Footer */
.footer {
    background-color: var(--dark-blue);
    color: var(--white);
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    padding: 50px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 30px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.footer-map {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    border-radius: 12px;
}

.footer-map iframe {
    width: 100% !important;
    max-width: 100%;
    display: block;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 15px;
    font-size: 18px;
}

.footer-section p,
.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    display: block;
    margin-bottom: 10px;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: var(--white);
}

.footer-phone {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 15px;
    display: block;
}

.btn-call-footer {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--warm-blue) 100%);
    color: var(--white);
    padding: 20px 40px;
    border-radius: 16px;
    text-decoration: none;
    font-weight: 700;
    font-size: 18px;
    margin-top: 20px;
    transition: all 0.3s;
    box-shadow: 0 6px 25px rgba(30, 64, 175, 0.5);
    border: 3px solid var(--white);
    min-height: 70px;
    animation: pulse-footer 2s infinite;
    width: 100%;
    justify-content: center;
}

.btn-call-footer:hover,
.btn-call-footer:focus {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 10px 35px rgba(30, 64, 175, 0.6);
    background: linear-gradient(135deg, var(--warm-blue) 0%, var(--light-blue) 100%);
    color: var(--white);
    border-color: var(--white);
    animation: none;
}

.btn-call-footer:hover svg path,
.btn-call-footer:focus svg path {
    stroke: var(--white);
}

.btn-call-footer svg {
    flex-shrink: 0;
}

.btn-call-footer svg path {
    stroke: var(--white);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
}

.footer-nav {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-nav a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 15px;
    transition: color 0.3s, padding-left 0.3s;
    padding: 5px 0;
}

.footer-nav a:hover {
    color: var(--white);
    padding-left: 10px;
}

.footer-nav-sub {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-left: 20px;
    margin-top: 5px;
    margin-bottom: 5px;
}

.footer-nav-sub a {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
}

.footer-subheading {
    margin-top: 20px;
    margin-bottom: 10px;
    font-size: 16px;
    font-weight: 600;
}

.footer-email {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    display: block;
    margin-bottom: 10px;
    transition: color 0.3s;
}

.footer-email:hover {
    color: var(--white);
}

.footer-schedule {
    margin-bottom: 15px;
    color: rgba(255, 255, 255, 0.8);
}

.footer-address {
    margin-bottom: 15px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

/* Prices Section */
.prices-section {
    padding: 60px 0;
    background-color: var(--white);
}

.prices-content {
    max-width: 1000px;
    margin: 0 auto;
}

.prices-subtitle {
    font-size: 24px;
    font-weight: 600;
    color: var(--text-dark);
    margin: 40px 0 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary-blue);
}

.prices-subtitle:first-of-type {
    margin-top: 0;
}

.table-wrapper {
    overflow-x: auto;
    margin: 30px 0;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    width: 100%;
    max-width: 100%;
    -webkit-overflow-scrolling: touch;
}

.prices-table {
    width: 100%;
    border-collapse: collapse;
    background-color: var(--white);
    font-size: 16px;
}

.prices-table thead {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--warm-blue) 100%);
    color: var(--white);
}

.prices-table th {
    padding: 18px 20px;
    text-align: left;
    font-weight: 600;
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--white) !important;
}

.prices-table td {
    padding: 16px 20px;
    border-bottom: 1px solid #e2e8f0;
    color: var(--text-dark);
}

.prices-table tbody tr {
    transition: background-color 0.3s;
}

.prices-table tbody tr:hover {
    background-color: var(--light-gray);
}

.prices-table tbody tr:last-child td {
    border-bottom: none;
}

.prices-table th:first-child,
.prices-table td:first-child {
    padding-left: 25px;
}

.prices-table th:last-child {
    padding-right: 25px;
    text-align: right;
    font-weight: 600;
    color: var(--white) !important;
}

.prices-table td:last-child {
    padding-right: 25px;
    text-align: right;
    font-weight: 600;
    color: var(--primary-blue);
}

.prices-note {
    background-color: var(--light-gray);
    padding: 25px 30px;
    border-radius: 12px;
    margin-top: 30px;
    border-left: 4px solid var(--primary-blue);
}

.prices-note p {
    font-size: 16px;
    color: var(--text-dark);
    line-height: 1.8;
    margin-bottom: 10px;
}

.prices-note p:last-child {
    margin-bottom: 0;
}

.prices-note strong {
    color: var(--primary-blue);
    font-weight: 700;
}

/* Repair Brands Section */
.repair-brands-section {
    padding: 60px 0;
    background-color: var(--light-gray);
}

.brands-intro {
    text-align: center;
    font-size: 18px;
    color: var(--text-gray);
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
}

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

.brand-card {
    background-color: var(--white);
    padding: 30px 25px;
    border-radius: 14px;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s;
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.brand-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.brand-card h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 15px;
    text-align: center;
}

.brand-card p {
    font-size: 15px;
    color: var(--text-gray);
    line-height: 1.7;
    margin-bottom: 20px;
    text-align: center;
}

.brand-call-btn {
    display: block;
    text-align: center;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--warm-blue) 100%);
    color: var(--white);
    padding: 14px 25px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s;
    box-shadow: 0 4px 12px rgba(30, 64, 175, 0.3);
    border: 2px solid transparent;
}

.brand-call-btn:hover,
.brand-call-btn:focus {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(30, 64, 175, 0.4);
    background: linear-gradient(135deg, var(--warm-blue) 0%, var(--light-blue) 100%);
}

/* Brand Info Section */
.brand-info-section {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 2px solid #e2e8f0;
}

.brand-list {
    font-size: 18px;
    font-weight: 600;
    color: var(--primary-blue);
    margin-bottom: 20px;
    text-align: center;
    padding: 15px;
    background-color: var(--light-gray);
    border-radius: 10px;
}

.brand-link {
    color: var(--primary-blue);
    text-decoration: none;
    transition: color 0.3s, text-decoration 0.3s;
    font-weight: 700;
}

.brand-link:hover {
    color: var(--warm-blue);
    text-decoration: underline;
}

.brand-description {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-dark);
    margin-bottom: 20px;
}

.brand-description strong {
    color: var(--primary-blue);
    font-weight: 700;
}

.brand-call-section {
    margin-top: 40px;
    padding: 30px;
    background: linear-gradient(135deg, var(--light-gray) 0%, rgba(30, 64, 175, 0.05) 100%);
    border-radius: 15px;
    text-align: center;
    border: 2px solid var(--primary-blue);
}

.brand-call-text {
    font-size: 18px;
    color: var(--text-dark);
    margin-bottom: 20px;
}

.brand-phone-link {
    color: var(--primary-blue);
    font-weight: 700;
    font-size: 20px;
    text-decoration: none;
    transition: color 0.3s;
}

.brand-phone-link:hover {
    color: var(--warm-blue);
    text-decoration: underline;
}

/* Contacts Section */
.contacts-section {
    padding: 60px 0;
    background-color: var(--light-gray);
}

.contacts-content {
    max-width: 1000px;
    margin: 0 auto;
}

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

.contact-card {
    background-color: var(--white);
    padding: 35px 30px;
    border-radius: 14px;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: all 0.3s;
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.contact-card-full {
    grid-column: 1 / -1;
}

.contact-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    color: var(--primary-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(30, 64, 175, 0.1) 0%, rgba(37, 99, 235, 0.1) 100%);
    border-radius: 50%;
}

.contact-icon svg {
    width: 60px;
    height: 60px;
}

.contact-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 20px;
}

.contact-phone {
    display: block;
    font-size: 28px;
    font-weight: 700;
    color: var(--primary-blue);
    text-decoration: none;
    margin-bottom: 25px;
    transition: color 0.3s;
}

.contact-phone:hover {
    color: var(--warm-blue);
}

.contact-email {
    display: block;
    font-size: 18px;
    color: var(--primary-blue);
    text-decoration: none;
    margin-bottom: 20px;
    transition: color 0.3s;
    word-break: break-all;
}

.contact-email:hover {
    color: var(--warm-blue);
    text-decoration: underline;
}

.contact-schedule {
    font-size: 18px;
    color: var(--text-dark);
    font-weight: 600;
    margin-bottom: 20px;
}

.contact-address {
    font-size: 17px;
    color: var(--text-dark);
    line-height: 1.8;
    margin-bottom: 20px;
    text-align: left;
}

.contact-address strong {
    color: var(--primary-blue);
    font-weight: 700;
}

/* Reviews Section */
.reviews-section {
    padding: 60px 0;
    background-color: var(--white);
}

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

.review-card {
    background-color: var(--light-gray);
    padding: 30px 25px;
    border-radius: 14px;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s;
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.review-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.review-header {
    margin-bottom: 20px;
}

.review-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.review-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--warm-blue) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    flex-shrink: 0;
}

.review-author-info h4 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 5px;
}

.review-rating {
    color: #fbbf24;
    font-size: 16px;
    letter-spacing: 2px;
}

.review-text {
    font-size: 15px;
    color: var(--text-dark);
    line-height: 1.7;
    margin-bottom: 15px;
}

.review-date {
    font-size: 13px;
    color: var(--text-gray);
    font-style: italic;
}

/* Mobile Responsive Styles */
@media (max-width: 968px) {
    .header-content {
        grid-template-columns: 1fr;
        gap: 20px;
        text-align: center;
    }

    .logo-section {
        justify-content: center;
    }

    .contact-info {
        align-items: center;
        width: 100%;
    }

    .phone-link {
        font-size: 24px;
        padding: 16px 20px;
        min-height: 64px;
        width: 100%;
        max-width: 100%;
    }

    .coverage-text {
        font-size: 14px;
        padding: 8px 12px;
        width: 100%;
        text-align: center;
    }

    .working-hours,
    .address {
        font-size: 14px;
        text-align: center;
        width: 100%;
    }

    .working-hours svg,
    .address svg {
        flex-shrink: 0;
    }

    .nav-content {
        justify-content: flex-end;
        align-items: center;
        position: relative;
        min-height: 50px;
        overflow-x: hidden;
        overflow-y: visible;
        width: 100%;
        max-width: 100%;
        touch-action: auto;
        padding: 0;
    }

    .nav-links {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        width: 100%;
        height: 100%;
        max-height: 100vh;
        background-color: var(--white);
        flex-direction: column;
        padding: 80px 0 40px;
        gap: 0;
        z-index: 9999;
        overflow-x: hidden;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        touch-action: pan-y;
        box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
        box-sizing: border-box;
        margin: 0;
    }
    
    .nav-links.active {
        display: flex;
        overflow-y: auto !important;
        -webkit-overflow-scrolling: touch !important;
        touch-action: pan-y !important;
    }


    .nav-link {
        font-size: 18px;
        padding: 20px 20px;
        width: 100%;
        border-bottom: 1px solid #e2e8f0;
        min-height: 60px;
        display: flex;
        align-items: center;
        justify-content: flex-start;
        touch-action: auto;
        -webkit-tap-highlight-color: rgba(30, 64, 175, 0.1);
        transition: background-color 0.2s ease;
    }

    .nav-link:active {
        background-color: var(--light-gray);
    }

    .nav-dropdown {
        width: 100%;
    }
    
    /* Disable hover on mobile to prevent conflicts */
    .nav-dropdown:hover .nav-link svg {
        transform: rotate(0deg) !important;
    }
    
    .nav-dropdown .nav-link svg {
        transition: transform 0.3s ease;
        transform: rotate(0deg) !important;
    }
    
    .nav-dropdown.active .nav-link svg {
        transform: rotate(180deg) !important;
    }
    
    /* Ensure arrow returns to 0deg when dropdown is closed */
    .nav-dropdown:not(.active) .nav-link svg {
        transform: rotate(0deg) !important;
    }

    .dropdown-menu {
        position: static;
        display: none;
        transform: none;
        box-shadow: none;
        border: none;
        border-top: 1px solid #e2e8f0;
        margin: 0;
        padding: 0;
        background-color: var(--light-gray);
        width: 100%;
    }
    
    .nav-dropdown.active .dropdown-menu {
        display: block;
    }

    .dropdown-link {
        padding: 18px 20px 18px 40px;
        border-left: none;
        border-bottom: 1px solid #e2e8f0;
        min-height: 56px;
        touch-action: auto;
        -webkit-tap-highlight-color: rgba(30, 64, 175, 0.1);
        transition: background-color 0.2s ease;
    }

    .dropdown-link:active {
        background-color: rgba(30, 64, 175, 0.05);
    }

    .mobile-menu-toggle {
        display: flex;
        z-index: 10000;
    }

    .mobile-menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(8px, 8px);
    }

    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }

    .social-links {
        display: none;
    }

}

@media (max-width: 768px) {
    .section-title {
        font-size: 28px;
        margin-bottom: 35px;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

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

    .gallery-section {
        padding: 40px 0;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .warning-title {
        font-size: 24px;
    }

    .warning-content p {
        font-size: 16px;
    }

    .btn-call-main {
        width: 100%;
        padding: 20px;
        font-size: 18px;
        min-height: 64px;
    }

    .floating-call-btn {
        bottom: 20px;
        right: 20px;
        left: 20px;
        padding: 18px 24px;
        font-size: 18px;
        min-height: 64px;
        border-radius: 16px;
        justify-content: center;
        width: auto;
        max-width: calc(100% - 40px);
    }

    .floating-call-btn span {
        display: block;
        font-weight: 700;
    }

    .floating-call-btn svg {
        width: 28px;
        height: 28px;
    }

    .btn-call-warning {
        padding: 18px 30px;
        font-size: 18px;
        min-height: 60px;
        width: 100%;
        justify-content: center;
    }

}

@media (max-width: 480px) {
    .logo-text h1 {
        font-size: 22px;
        line-height: 1.2;
    }

    .logo-text p {
        font-size: 13px;
        margin-top: 4px;
    }

    .logo-icon {
        width: 50px;
        height: 50px;
        background-color: var(--white);
        box-shadow: 0 3px 10px rgba(0, 0, 0, 0.25);
        border: 2px solid rgba(255, 255, 255, 0.3);
    }

    .logo-image {
        width: 100%;
        height: 100%;
        object-fit: contain;
        padding: 5px;
        filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
    }

    .phone-link {
        font-size: 20px;
        padding: 16px 18px;
        min-height: 60px;
        flex-wrap: wrap;
        gap: 8px;
    }

    .phone-link svg {
        width: 28px;
        height: 28px;
    }

    .coverage-text {
        font-size: 13px;
        padding: 8px 10px;
        line-height: 1.4;
    }

    .working-hours,
    .address {
        font-size: 13px;
        gap: 6px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .working-hours svg,
    .address svg {
        width: 18px;
        height: 18px;
    }

    .main-header {
        padding: 20px 0;
    }

    .header-content {
        gap: 16px;
    }

    .btn-call-main {
        padding: 18px 20px;
        font-size: 16px;
        min-height: 60px;
        gap: 10px;
    }

    .btn-call-main svg {
        width: 24px;
        height: 24px;
    }

    .services-section,
    .benefits-section,
    .warning-section,
    .gallery-section {
        padding: 30px 0;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .section-title {
        font-size: 22px;
        margin-bottom: 25px;
        padding: 0 10px;
    }

    .prices-section {
        padding: 30px 0;
    }

    .prices-subtitle {
        font-size: 20px;
        margin: 30px 0 15px;
    }

    .prices-table {
        font-size: 14px;
    }

    .prices-table th,
    .prices-table td {
        padding: 12px 15px;
    }

    .prices-table th:first-child,
    .prices-table td:first-child {
        padding-left: 15px;
    }

    .prices-table th:last-child,
    .prices-table td:last-child {
        padding-right: 15px;
    }

    .prices-note {
        padding: 20px;
        font-size: 14px;
    }

    .footer-nav-sub {
        margin-left: 15px;
    }

    .repair-brands-section {
        padding: 30px 0;
    }

    .brands-intro {
        font-size: 16px;
        margin-bottom: 25px;
        padding: 0 10px;
    }

    .brands-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .brand-card {
        padding: 25px 20px;
    }

    .brand-card h3 {
        font-size: 20px;
    }

    .brand-card p {
        font-size: 14px;
    }

    .brand-call-btn {
        padding: 12px 20px;
        font-size: 15px;
    }

    .reviews-section {
        padding: 30px 0;
    }

    .contacts-section {
        padding: 30px 0;
    }

    .contacts-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .works-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .work-card {
        margin-bottom: 0;
    }

    .work-image-wrapper {
        height: 240px;
    }

    .work-content {
        padding: 20px 25px;
    }

    .work-title {
        font-size: 18px;
        margin-bottom: 12px;
    }

    .work-excerpt {
        font-size: 15px;
        margin-bottom: 18px;
    }

    .work-detail-section {
        padding: 30px 0;
    }

    .work-cover-image-wrapper {
        margin-bottom: 30px;
        border-radius: 12px;
    }

    .work-intro {
        font-size: 16px;
    }

    .work-gallery {
        margin: 30px 0;
    }

    .work-gallery-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .work-gallery-grid img {
        height: 200px;
    }

    .contact-card {
        padding: 25px 20px;
    }

    .contact-phone {
        font-size: 24px;
    }

    .contact-icon {
        width: 70px;
        height: 70px;
        margin-bottom: 20px;
    }

    .contact-icon svg {
        width: 50px;
        height: 50px;
    }

    .reviews-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .review-card {
        padding: 25px 20px;
    }

    .review-author-info h4 {
        font-size: 16px;
    }

    .review-text {
        font-size: 14px;
    }

    .service-card {
        padding: 22px 16px 25px 18px;
    }

    .service-image {
        height: 180px;
        margin-bottom: 15px;
    }

    .service-card h3 {
        font-size: 16px;
    }

    .benefit-card {
        padding: 20px 15px;
    }

    .benefit-icon {
        width: 70px;
        height: 70px;
        margin-bottom: 15px;
    }

    .benefit-card h3 {
        font-size: 18px;
    }

    .benefit-card p {
        font-size: 14px;
    }


    .warning-title {
        font-size: 20px;
        margin-bottom: 20px;
        padding: 0 10px;
        line-height: 1.3;
    }

    .warning-content {
        padding: 0 10px;
    }

    .warning-content p {
        font-size: 15px;
        line-height: 1.6;
        margin-bottom: 15px;
    }

    .btn-call-warning {
        padding: 18px 20px;
        font-size: 16px;
        min-height: 60px;
        gap: 10px;
        margin-top: 20px;
    }

    .btn-call-warning svg {
        width: 24px;
        height: 24px;
    }

    .main-nav {
        padding: 12px 0;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 100;
        background-color: transparent;
        box-shadow: none;
        border-bottom: none;
        transition: background-color 0.3s ease;
    }
    
    .main-nav.has-active-menu {
        background-color: var(--white);
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
        border-bottom: 1px solid #e2e8f0;
    }

    .nav-content {
        justify-content: flex-end;
        align-items: center;
        min-height: 44px;
        padding: 0;
        overflow-x: hidden;
        overflow-y: visible;
        width: 100%;
        max-width: 100%;
        touch-action: auto;
    }

    .social-links {
        display: none;
    }

    .mobile-menu-toggle {
        top: 15px;
        right: 15px;
        padding: 0;
        width: 40px;
        height: 40px;
        min-width: 40px;
        min-height: 40px;
        max-width: 40px;
        max-height: 40px;
    }

    .footer {
        padding: 30px 0 15px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 25px;
        text-align: center;
    }

    .footer-section h3,
    .footer-section h4 {
        font-size: 18px;
        margin-bottom: 12px;
    }

    .footer-section p,
    .footer-section a {
        font-size: 14px;
    }

    .footer-phone {
        font-size: 20px;
    }

    .btn-call-footer {
        padding: 18px 30px;
        font-size: 17px;
        min-height: 64px;
        margin-top: 15px;
        width: 100%;
    }

    .floating-call-btn {
        bottom: 15px;
        right: 15px;
        left: 15px;
        padding: 16px 20px;
        font-size: 16px;
        min-height: 60px;
        max-width: calc(100% - 30px);
    }

    .floating-call-btn svg {
        width: 26px;
        height: 26px;
    }
}

/* Touch-friendly improvements */
@media (hover: none) and (pointer: coarse) {
    .btn-call-main,
    .floating-call-btn,
    .phone-link,
    .service-card,
    .btn-call-warning,
    .btn-call-footer {
        -webkit-tap-highlight-color: rgba(30, 64, 175, 0.3);
        min-height: 48px;
    }

    .nav-link {
        min-height: 48px;
        display: flex;
        align-items: center;
    }
}

/* Accessibility improvements */
*:focus-visible {
    outline: 3px solid var(--primary-blue);
    outline-offset: 2px;
}

img {
    max-width: 100%;
    height: auto;
}

/* Skip to main content for screen readers */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--primary-blue);
    color: var(--white);
    padding: 8px;
    text-decoration: none;
    z-index: 100;
}

.skip-link:focus {
    top: 0;
}

.btn-call-main:focus,
.floating-call-btn:focus,
.phone-link:focus,
.btn-call-warning:focus,
.btn-call-footer:focus {
    outline: 4px solid var(--white);
    outline-offset: 3px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .btn-call-main,
    .btn-call-warning,
    .btn-call-footer,
    .floating-call-btn {
        border-width: 4px;
    }

    .phone-link {
        border-width: 3px;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Улучшения для iOS Safari */
@supports (-webkit-touch-callout: none) {
    .floating-call-btn,
    .btn-call-main,
    .phone-link {
        -webkit-tap-highlight-color: rgba(30, 64, 175, 0.3);
    }
}

/* Улучшения для Android */
@media screen and (-webkit-min-device-pixel-ratio: 0) {
    .floating-call-btn,
    .btn-call-main {
        -webkit-tap-highlight-color: rgba(30, 64, 175, 0.3);
    }
}

/* Print styles */
@media print {
    .floating-call-btn,
    .mobile-menu-toggle,
    .main-nav {
        display: none;
    }
}

/* Custom HTML Widget for Services */
.textwidget.custom-html-widget {
    width: 100%;
}

.homecats {
    display: block;
    position: relative;
    text-decoration: none;
    color: inherit;
    background-color: var(--white);
    padding: 25px 18px 28px 22px;
    border-radius: 14px 18px 16px 15px;
    text-align: center;
    transition: all 0.3s;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.08), 0 1px 3px rgba(0, 0, 0, 0.05);
    cursor: pointer;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.04);
    height: 100%;
}

.homecats:hover {
    transform: translateY(-4px) rotate(0.5deg);
    box-shadow: var(--shadow-lg);
}

.homecats .service-image-wrapper {
    width: 200px;
    height: 200px;
    margin: 0 auto 18px;
    border-radius: 50%;
    overflow: hidden;
    background-color: #f0f0f0;
    position: relative;
}

.homecats .service-image-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.02) 100%);
    pointer-events: none;
    border-radius: 50%;
}

.homecats .respon {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: opacity 0.4s ease, transform 0.4s ease;
    border-radius: 50%;
}

.homecats .respon.hovered {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
}

.homecats:hover .respon:not(.hovered) {
    opacity: 0;
}

.homecats:hover .respon.hovered {
    opacity: 1;
}

.homecats h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-dark);
    line-height: 1.4;
    margin-bottom: 8px;
    letter-spacing: -0.2px;
}

.homecats p {
    font-size: 14px;
    color: var(--text-gray);
    line-height: 1.5;
    margin-top: 4px;
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .homecats {
        padding: 22px 16px 25px 18px;
    }
    
    .homecats .service-image-wrapper {
        width: 180px;
        height: 180px;
        margin-bottom: 15px;
    }
    
    .homecats h3 {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .nav-links {
        padding: 70px 0 30px;
    }

    .nav-link {
        font-size: 17px;
        padding: 18px 16px;
        min-height: 56px;
    }

    .dropdown-link {
        padding: 16px 16px 16px 35px;
        font-size: 15px;
        min-height: 52px;
    }

    .mobile-menu-toggle {
        top: 12px;
        right: 12px;
        padding: 0;
        width: 40px;
        height: 40px;
        min-width: 40px;
        min-height: 40px;
        max-width: 40px;
        max-height: 40px;
    }

    .mobile-menu-toggle span {
        width: 22px;
        height: 2.5px;
    }

    .homecats {
        padding: 22px 16px 25px 18px;
    }
    
    .homecats .service-image-wrapper {
        width: 160px;
        height: 160px;
        margin-bottom: 15px;
    }
    
    .homecats h3 {
        font-size: 16px;
    }
}

/* Reviews Page Styles */
.article-inner {
    padding: 40px 0;
}

.entry-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 30px;
    text-align: center;
}

.entry-meta {
    display: block;
    margin-bottom: 30px;
}

.entry-content {
    margin-bottom: 40px;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    box-sizing: border-box;
}

/* Two-column layout */
.su-row {
    display: flex;
    flex-wrap: wrap;
    margin: 0;
    gap: 30px;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    box-sizing: border-box;
}

.su-column {
    flex: 1;
    min-width: 300px;
    padding: 0 15px;
}

.su-column-size-1-2 {
    flex: 0 0 calc(50% - 15px);
}

.su-column-size-1-1 {
    flex: 0 0 100%;
    max-width: 100%;
    padding: 0;
}

.su-column-inner {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    box-sizing: border-box;
}

.su-u-clearfix::after {
    content: "";
    display: table;
    clear: both;
}

.su-u-trim {
    overflow: hidden;
}

/* YouTube responsive wrapper */
.su-youtube {
    margin-bottom: 30px;
}

.fluid-width-video-wrapper {
    position: relative;
    width: 100%;
    height: 0;
    overflow: hidden;
}

.fluid-width-video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Button center */
.su-button-center {
    text-align: center;
    margin-top: 20px;
}

.su-button {
    display: inline-block;
    padding: 12px 24px;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s ease;
    border: 2px solid;
}

.su-button:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.su-button-style-flat {
    border-radius: 0;
}

/* Comments section */
#comments {
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid #e6e6e6;
}

/* Schema markup */
.schema-publisher {
    display: none;
}

/* Responsive styles for reviews page */
@media (max-width: 768px) {
    .su-column-size-1-2 {
        flex: 0 0 100%;
    }
    
    .entry-title {
        font-size: 2rem;
    }
    
    .su-row {
        margin: 0;
        gap: 20px;
    }
    
    .su-column {
        padding: 0;
        min-width: 100%;
    }
    
    .article-inner > div[style*="height: 800px"] {
        height: 600px !important;
    }
}

@media (max-width: 480px) {
    .entry-title {
        font-size: 1.75rem;
    }
    
    .article-inner > div[style*="height: 800px"] {
        height: 400px !important;
    }
    
    .su-button span {
        font-size: 16px !important;
        padding: 8px 20px !important;
    }
}

