/* Red Theme Template - Красная тема в стиле Fubag */
:root {
    /* Красные тона (как на fubag.ru) */
    --primary-color: #e30613;
    --primary-dark: #c10510;
    --primary-light: #ff1a2a;
    --primary-hover: #ff3d4a;
    --secondary-color: #b8050f;
    --accent-red: #ff3d4a;
    
    /* Черные тона */
    --black-dark: #000000;
    --black-medium: #1a1a1a;
    --black-light: #2a2a2a;
    
    /* Серые тона */
    --gray-dark: #333333;
    --gray-medium: #666666;
    --gray-light: #999999;
    --gray-lighter: #cccccc;
    --gray-lightest: #e5e5e5;
    
    /* Фоны */
    --bg-white: #ffffff;
    --bg-light: #f5f5f5;
    --bg-gray: #f8f8f8;
    --bg-card: #ffffff;
    --bg-card-hover: #fafafa;
    
    /* Темные фоны для специальных секций */
    --bg-dark: #1a1a1a;
    --bg-darker: #0f0f0f;
    --bg-dark-card: #2a2a2a;
    
    /* Текстовые цвета */
    --text-dark: #000000;
    --text-black: #1a1a1a;
    --text-gray: #666666;
    --text-light-gray: #999999;
    --text-white: #ffffff;
    --text-light: #333333;
    
    /* Границы */
    --border-light: #e5e5e5;
    --border-gray: #cccccc;
    --border-dark: #999999;
    --border-red: #e30613;
    
    /* Тени */
    --shadow-light: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-medium: 0 4px 15px rgba(0, 0, 0, 0.15);
    --shadow-dark: 0 4px 15px rgba(0, 0, 0, 0.3);
    --shadow-red: 0 4px 15px rgba(227, 6, 19, 0.25);
    --shadow-red-strong: 0 8px 25px rgba(227, 6, 19, 0.4);
    --shadow-black: 0 4px 20px rgba(0, 0, 0, 0.5);
    
    /* Градиенты */
    --gradient-red: linear-gradient(135deg, #e30613 0%, #c10510 100%);
    --gradient-red-light: linear-gradient(135deg, #ff1a2a 0%, #e30613 100%);
    --gradient-dark: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-black);
    background: var(--bg-white);
    min-height: 100vh;
}

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

/* Header - Светлый с красными акцентами */
.site-header {
    background: var(--bg-white);
    border-bottom: 2px solid var(--primary-color);
    box-shadow: var(--shadow-light);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-top {
    background: var(--bg-gray);
    padding: 12px 0;
    border-bottom: 1px solid var(--border-light);
}

.header-top-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    min-height: 50px;
}

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

.logo {
    max-height: 50px;
    border-radius: 4px;
}

.logo-placeholder {
    width: 50px;
    height: 50px;
    background: var(--bg-card);
    border: 1px solid var(--border-dark);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--primary-color);
    font-weight: bold;
}

.company-name {
    font-size: 24px;
    font-weight: 700;
    margin: 0;
    color: var(--text-black);
}

.header-contact-info {
    display: flex !important;
    gap: 30px;
    flex-wrap: wrap;
    align-items: center;
    visibility: visible !important;
    opacity: 1 !important;
}

.contact-item {
    display: flex !important;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    visibility: visible !important;
    opacity: 1 !important;
    color: var(--text-gray);
}

.contact-item i {
    font-size: 18px;
    color: var(--primary-color);
}

.contact-item a {
    color: var(--text-black);
    text-decoration: none;
    transition: all 0.3s;
}

.contact-item a:hover {
    color: var(--primary-color);
}

.btn-call-us {
    display: inline-flex !important;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: var(--primary-color);
    color: var(--text-white);
    text-decoration: none;
    border-radius: 4px;
    font-weight: 700;
    font-size: 14px;
    transition: all 0.3s;
    box-shadow: var(--shadow-red);
    white-space: nowrap;
    visibility: visible !important;
    opacity: 1 !important;
    border: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-call-us:hover {
    background: var(--primary-hover);
    box-shadow: var(--shadow-red-strong);
    transform: translateY(-2px);
}

/* Navigation */
.main-nav {
    background: var(--bg-white);
    padding: 0;
    border-top: 1px solid var(--border-light);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 0;
    margin: 0;
    padding: 0;
}

.nav-menu li {
    margin: 0;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 15px 20px;
    color: var(--text-black);
    text-decoration: none;
    transition: all 0.3s;
    font-weight: 500;
    border-bottom: 3px solid transparent;
}

.nav-link:hover {
    background: var(--bg-light);
    border-bottom-color: var(--primary-color);
    color: var(--primary-color);
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--primary-color);
    font-size: 24px;
    cursor: pointer;
    padding: 10px;
}

/* Breadcrumbs */
.breadcrumbs-wrapper {
    background: var(--bg-gray);
    padding: 10px 0;
    border-bottom: 1px solid var(--border-light);
}

.breadcrumbs {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
}

.breadcrumbs a {
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s;
}

.breadcrumbs a:hover {
    color: var(--primary-light);
}

.breadcrumbs span {
    color: var(--text-light-gray);
}

/* Hero Section */
.hero-section {
    position: relative;
    background: var(--gradient-dark);
    background-image: url('../images/hero-pattern.svg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: white;
    padding: 120px 0;
    text-align: center;
    margin-bottom: 60px;
    overflow: hidden;
    border-bottom: 2px solid var(--primary-color);
}

/* Hero Background Slider */
.hero-background-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    animation: heroFade 15s infinite;
}

.hero-slide:nth-child(1) {
    animation-delay: 0s;
}

.hero-slide:nth-child(2) {
    animation-delay: 5s;
}

.hero-slide:nth-child(3) {
    animation-delay: 10s;
}

.hero-slide:nth-child(4) {
    animation-delay: 15s;
}

.hero-slide:nth-child(5) {
    animation-delay: 20s;
}

@keyframes heroFade {
    0%, 100% {
        opacity: 0;
    }
    10%, 30% {
        opacity: 1;
    }
    40% {
        opacity: 0;
    }
}

/* Hero Overlay - затемнение */
.hero-overlay {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.7) 100%);
    z-index: 1;
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 20px;
    color: white;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
    position: relative;
    z-index: 2;
}

.hero-subtitle {
    font-size: 20px;
    margin-bottom: 30px;
    color: white;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.8);
    position: relative;
    z-index: 2;
}

/* Buttons */
.btn-primary, .btn-submit {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 30px;
    background: var(--primary-color);
    color: var(--text-white);
    text-decoration: none;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: var(--shadow-red);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-primary:hover, .btn-submit:hover {
    background: var(--primary-hover);
    box-shadow: var(--shadow-red-strong);
    transform: translateY(-2px);
}

/* Sections */
.section-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-black);
    position: relative;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--border-light);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 80px;
    height: 2px;
    background: var(--primary-color);
}

.page-title {
    font-size: 36px;
    font-weight: 700;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-black);
    line-height: 1.3;
    position: relative;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--border-light);
}

.page-title::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 80px;
    height: 2px;
    background: var(--primary-color);
}

/* Equipment & Brands Grid */
.equipment-grid, .brands-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 25px;
    margin-bottom: 60px;
}

.equipment-card, .brand-card {
    background: var(--bg-white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-light);
    transition: all 0.3s;
    border: 1px solid var(--border-light);
    padding: 20px;
    text-align: center;
}

.equipment-card:hover, .brand-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-red);
    border-color: var(--primary-color);
    background: var(--bg-card-hover);
}

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

.card-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: var(--bg-light);
    border-radius: 6px;
    border: 1px solid var(--border-light);
}

.equipment-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.equipment-card:hover .equipment-photo {
    transform: scale(1.05);
}

.card-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-light);
    color: var(--text-light-gray);
    font-size: 48px;
}

.card-content {
    padding: 20px 0 0 0;
}

.card-content h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-black);
    margin: 0;
}

/* Service Page */
.service-page {
    padding: 40px 0;
}

.service-main {
    margin-bottom: 60px;
}

.service-header-grid {
    display: grid;
    grid-template-columns: 7fr 3fr;
    gap: 40px;
    align-items: start;
    margin-bottom: 40px;
}

.service-info-column {
    display: flex;
    flex-direction: column;
    gap: 30px;
    justify-content: flex-start;
    padding-right: 20px;
}

.service-photo-column {
    position: sticky;
    top: 100px;
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
    height: fit-content;
    padding-left: 20px;
}

@media (max-width: 968px) {
    .service-header-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .service-photo-column {
        position: static;
        order: -1;
        justify-content: center;
    }
}

.service-price {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 20px;
    background: var(--bg-white);
    color: var(--text-black);
    border-radius: 8px;
    margin: 0;
    font-size: 20px;
    border: 2px solid var(--primary-color);
    box-shadow: var(--shadow-red);
}

.service-price i {
    font-size: 24px;
    color: var(--primary-color);
}

.price-value {
    font-size: 32px;
    font-weight: 700;
    color: var(--primary-color);
}

.service-bottom-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 40px;
}

.service-advantages {
    margin: 0;
    width: auto;
    background: var(--bg-white);
    padding: 30px;
    border-radius: 8px;
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-light);
}

.service-advantages h3 {
    font-size: 24px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-black);
}

.advantages-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
    margin: 0;
    padding: 0;
}

.advantages-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px;
    background: var(--bg-light);
    border-radius: 6px;
    min-height: 60px;
    border: 1px solid var(--border-light);
    transition: all 0.3s;
    color: var(--text-black);
}

.advantages-list li:hover {
    background: var(--bg-card-hover);
    border-color: var(--primary-color);
    transform: translateX(5px);
}

.advantage-icon {
    font-size: 24px;
    color: var(--primary-color);
}

.service-photo {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-light);
    width: auto;
    max-width: 100%;
    background: var(--bg-light);
    padding: 15px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    height: 300px;
    border: 1px solid var(--border-light);
}

.service-photo img {
    width: auto;
    height: 100%;
    max-height: 270px;
    display: block;
    object-fit: contain;
    border-radius: 6px;
}

.contact-form-section {
    background: var(--bg-white);
    padding: 30px;
    border-radius: 8px;
    margin: 0;
    width: auto;
    border: 2px solid var(--primary-color);
    box-shadow: var(--shadow-red);
}

.contact-form-section h3 {
    color: var(--text-black);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.service-contact-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.service-contact-form input[type="tel"] {
    padding: 12px;
    border: 2px solid var(--border-light);
    border-radius: 4px;
    font-size: 16px;
    transition: all 0.3s;
    background: var(--bg-white);
    color: var(--text-black);
}

.service-contact-form input[type="tel"]:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(227, 6, 19, 0.2);
    background: var(--bg-light);
}

/* Why Choose Us */
.why-choose-us, .why-choose-service {
    margin: 60px 0;
}

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

.benefit-card {
    background: var(--bg-white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: var(--shadow-light);
    text-align: center;
    transition: all 0.3s;
    border: 1px solid var(--border-light);
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-red);
    border-color: var(--primary-color);
    background: var(--bg-card-hover);
}

.benefit-icon {
    font-size: 48px;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.benefit-card h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: var(--text-black);
}

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

/* Related Services */
.related-services, .related-brands, .related-works, .related-breakdowns, .child-pages {
    margin: 60px 0;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 20px;
}

.related-card {
    background: var(--bg-white);
    border-radius: 6px;
    overflow: hidden;
    box-shadow: var(--shadow-light);
    transition: all 0.3s;
    border: 1px solid var(--border-light);
}

.related-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-red);
    border-color: var(--primary-color);
    background: var(--bg-card-hover);
}

.related-card a {
    display: block;
    padding: 15px;
    text-decoration: none;
    color: inherit;
    text-align: center;
}

.related-card img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    margin-bottom: 10px;
    border-radius: 4px;
}

.related-card p {
    margin: 0;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-black);
}

.related-card.hidden-card {
    display: none;
}

.load-more-container {
    text-align: center;
    margin-top: 30px;
}

.btn-load-more {
    background: var(--primary-color);
    color: var(--text-white);
    border: none;
    padding: 12px 30px;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: var(--shadow-red);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-load-more:hover {
    background: var(--primary-hover);
    box-shadow: var(--shadow-red-strong);
    transform: translateY(-2px);
}

/* SEO Text */
.seo-text {
    margin: 60px 0;
    padding: 30px;
    background: var(--bg-white);
    border-radius: 8px;
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-light);
}

.seo-content {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-gray);
}

.seo-content p {
    margin-bottom: 1.2em;
}

.seo-content h2, .seo-content h3, .seo-content h4 {
    margin-top: 1.5em;
    margin-bottom: 0.8em;
    color: var(--text-black);
    font-weight: 600;
}

.seo-content a {
    color: var(--primary-color);
    text-decoration: underline;
}

.seo-content a:hover {
    color: var(--primary-hover);
}

/* Pre-footer */
.pre-footer {
    background: var(--bg-gray);
    color: var(--text-black);
    padding: 60px 0;
    margin-top: 60px;
    border-top: 2px solid var(--primary-color);
    border-bottom: 2px solid var(--primary-color);
}

.pre-footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.pre-footer-text h2 {
    font-size: 32px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-black);
}

.pre-footer-text p {
    font-size: 18px;
    color: var(--text-gray);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.contact-form input,
.contact-form textarea {
    padding: 12px;
    border: 2px solid var(--border-light);
    border-radius: 4px;
    font-size: 16px;
    background: var(--bg-white);
    color: var(--text-black);
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(227, 6, 19, 0.2);
    background: var(--bg-light);
}

.privacy-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
    cursor: pointer;
    color: var(--text-gray) !important;
}

.privacy-checkbox span {
    color: var(--text-gray) !important;
}

.privacy-checkbox a {
    color: var(--primary-color) !important;
    text-decoration: underline;
}

/* Footer */
.site-footer {
    background: var(--bg-dark);
    color: var(--text-white);
    padding: 60px 0 20px;
    border-top: 2px solid var(--primary-color);
}

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

.footer-logo {
    max-width: 150px;
    max-height: 60px;
    height: auto;
    width: auto;
    margin-bottom: 15px;
    display: block;
    object-fit: contain;
}

.footer-section h3, .footer-section h4 {
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-white);
}

.footer-section p {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-white);
}

.footer-section a {
    color: var(--text-white);
    text-decoration: none;
    transition: all 0.3s;
}

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

.footer-logo {
    max-width: 150px;
    max-height: 60px;
    height: auto;
    width: auto;
    margin-bottom: 15px;
    display: block;
    object-fit: contain;
}

.footer-description {
    margin-top: 10px !important;
    color: var(--text-light-gray) !important;
    font-size: 14px;
    line-height: 1.6;
    display: block !important;
}

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

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

.footer-nav a {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-white);
    text-decoration: none;
    transition: all 0.3s;
}

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

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

.social-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--bg-dark-card);
    border: 1px solid var(--border-dark);
    transition: all 0.3s;
    font-size: 18px;
    color: var(--text-white);
}

.social-link:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--text-white);
    transform: translateY(-3px);
    box-shadow: var(--shadow-red);
}

.footer-bottom {
    border-top: 1px solid var(--border-dark);
    padding-top: 20px;
    text-align: center;
    color: var(--text-light-gray);
    font-size: 14px;
}

/* Scroll to top */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: var(--text-white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 20px;
    box-shadow: var(--shadow-red-strong);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.scroll-to-top.show {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    background: var(--primary-hover);
    box-shadow: var(--shadow-red-strong);
    transform: translateY(-3px);
}

/* Responsive */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--bg-white);
        border-top: 2px solid var(--primary-color);
        box-shadow: var(--shadow-medium);
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .hero-section {
        padding: 80px 0;
    }
    
    .hero-title {
        font-size: 32px;
    }
    
    .hero-subtitle {
        font-size: 18px;
    }
    
    .equipment-grid, .brands-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 15px;
    }
    
    .pre-footer-content {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .service-bottom-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

/* Cookie Popup */
.cookie-popup {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: var(--bg-white);
    padding: 20px;
    border-radius: 8px;
    box-shadow: var(--shadow-black);
    max-width: 400px;
    z-index: 10000;
    display: none;
    border: 2px solid var(--primary-color);
}

.cookie-popup.show {
    display: block;
}

.cookie-popup-content {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.cookie-icon {
    font-size: 40px;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 5px;
}

.cookie-text {
    text-align: center;
}

.cookie-text h4 {
    font-size: 18px;
    color: var(--text-black);
    margin: 0 0 10px 0;
    font-weight: 600;
}

.cookie-popup p {
    font-size: 14px;
    color: var(--text-gray);
    margin: 0;
    line-height: 1.5;
}

.cookie-popup p a {
    color: var(--primary-color);
    text-decoration: underline;
}

.cookie-actions {
    display: flex;
    gap: 10px;
    margin-top: 5px;
}

.btn-accept {
    flex: 1;
    padding: 12px 20px;
    background: var(--primary-color);
    color: var(--text-white);
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s;
    box-shadow: var(--shadow-red);
    text-transform: uppercase;
}

.btn-accept:hover {
    background: var(--primary-light);
    box-shadow: var(--shadow-red-strong);
}

.btn-decline {
    flex: 1;
    padding: 12px 20px;
    background: transparent;
    color: var(--text-gray);
    border: 2px solid var(--border-light);
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s;
}

.btn-decline:hover {
    background: var(--bg-light);
    border-color: var(--primary-color);
    color: var(--text-black);
}

/* Reviews Section */
.reviews-section {
    margin: 60px 0;
}

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

.review-card {
    background: var(--bg-white);
    padding: 25px;
    border-radius: 8px;
    box-shadow: var(--shadow-light);
    border: 1px solid var(--border-light);
    transition: all 0.3s;
}

.review-card:hover {
    box-shadow: var(--shadow-medium);
    transform: translateY(-3px);
    border-color: var(--primary-color);
}

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

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

.review-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 24px;
    border: 2px solid var(--border-light);
}

.review-info h4 {
    margin: 0 0 5px 0;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-black);
}

.review-rating {
    display: flex;
    gap: 3px;
    color: #ffc107;
    font-size: 14px;
}

.review-text {
    color: var(--text-gray);
    line-height: 1.6;
    margin-bottom: 10px;
}

.review-date {
    font-size: 12px;
    color: var(--text-light-gray);
}

/* Work Stages Section */
.work-stages-section {
    margin: 60px 0;
}

.stages-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

@media (max-width: 968px) {
    .stages-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .stages-grid {
        grid-template-columns: 1fr;
    }
}

.stage-card {
    background: var(--bg-white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: var(--shadow-light);
    border: 1px solid var(--border-light);
    text-align: center;
    transition: all 0.3s;
    position: relative;
}

.stage-card:hover {
    box-shadow: var(--shadow-medium);
    transform: translateY(-5px);
    border-color: var(--primary-color);
}

.stage-number {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    color: var(--text-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 18px;
    box-shadow: var(--shadow-red);
}

.stage-icon {
    font-size: 48px;
    color: var(--primary-color);
    margin: 20px 0 15px 0;
}

.stage-card h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: var(--text-black);
}

.stage-card p {
    color: var(--text-gray);
    line-height: 1.6;
    margin: 0;
}

/* Map Container */
.map-container {
    margin-top: 30px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-light);
    border: 1px solid var(--border-light);
}

#yandex-map {
    width: 100%;
    height: 500px;
    min-height: 500px;
}

/* About Page */
.about-content {
    margin-top: 30px;
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-gray);
}

.about-content p {
    margin-bottom: 1.5em;
}

.about-content h2,
.about-content h3,
.about-content h4 {
    margin-top: 2em;
    margin-bottom: 1em;
    color: var(--text-black);
    font-weight: 600;
}

.about-content ul,
.about-content ol {
    margin-bottom: 1.5em;
    padding-left: 2em;
}

.about-content li {
    margin-bottom: 0.5em;
}

.about-content a {
    color: var(--primary-color);
    text-decoration: underline;
}

.about-content a:hover {
    color: var(--primary-hover);
}

.about-placeholder {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-light-gray);
}

.about-placeholder i {
    font-size: 64px;
    margin-bottom: 20px;
    color: var(--primary-color);
    opacity: 0.5;
}

/* Contacts Page */
.contacts-content {
    margin-top: 30px;
}

.contact-info-block {
    background: var(--bg-white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: var(--shadow-light);
    border: 1px solid var(--border-light);
    margin-bottom: 30px;
}

.contact-info-block h2 {
    color: var(--text-black);
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-detail-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.contact-detail-item i {
    font-size: 20px;
    color: var(--primary-color);
    margin-top: 2px;
}

.contact-detail-item strong {
    color: var(--text-black);
    display: block;
    margin-bottom: 5px;
}

.contact-detail-item a {
    color: var(--primary-color);
    text-decoration: none;
}

.contact-detail-item a:hover {
    text-decoration: underline;
}

.contact-detail-item span {
    color: var(--text-gray);
}

/* FAQ Section */
.faq-section {
    margin: 60px 0;
    padding: 40px 0;
}

.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 16px;
    border: 2px solid var(--border-light);
    border-radius: 8px;
    overflow: hidden;
    background: var(--bg-white);
    transition: all 0.3s ease;
    box-shadow: var(--shadow-light);
}

.faq-item:hover {
    border-color: var(--primary-color);
    box-shadow: 0 4px 12px rgba(227, 6, 19, 0.15);
}

.faq-question {
    width: 100%;
    padding: 24px;
    background: var(--bg-gray);
    border: none;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 18px;
    font-weight: 600;
    color: var(--text-black);
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: var(--primary-color);
    color: var(--text-white);
}

.faq-question-text {
    flex: 1;
    margin-right: 20px;
    line-height: 1.5;
}

.faq-icon {
    font-size: 28px;
    font-weight: 300;
    color: var(--primary-color);
    transition: transform 0.3s ease, color 0.3s ease;
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.faq-question:hover .faq-icon {
    color: var(--text-white);
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, padding 0.4s ease;
    padding: 0 24px;
}

.faq-item.active .faq-answer {
    max-height: 1000px;
    padding: 24px;
}

.faq-answer p {
    margin: 0;
    line-height: 1.8;
    color: var(--text-gray);
    font-size: 16px;
}

/* Certificates Section */
.certificates-section {
    margin: 60px 0;
    padding: 40px 0;
}

.certificates-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 24px;
    margin-top: 30px;
}

.certificate-item {
    background: var(--bg-white);
    border: 2px solid var(--border-light);
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-light);
}

.certificate-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 6px 20px rgba(227, 6, 19, 0.2);
    border-color: var(--primary-color);
}

.certificate-item a {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
}

.certificate-item img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
    min-height: 250px;
    background: var(--bg-gray);
    padding: 15px;
}

/* Responsive FAQ & Certificates */
@media (max-width: 768px) {
    .faq-section,
    .certificates-section {
        margin: 40px 0;
        padding: 30px 0;
    }
    
    .faq-question {
        padding: 18px;
        font-size: 16px;
    }
    
    .faq-icon {
        font-size: 24px;
        width: 28px;
        height: 28px;
    }
    
    .certificates-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 16px;
    }
    
    .certificate-item img {
        min-height: 180px;
    }
}

/* CTA Call Section - Призыв к действию на всю ширину */
.cta-call-section {
    margin: 80px 0;
    padding: 60px 0;
    width: 100%;
    background: linear-gradient(135deg, #fafafa 0%, #f5f5f5 50%, #fafafa 100%);
    position: relative;
    overflow: hidden;
}

.cta-call-wrapper {
    width: 100%;
    position: relative;
    z-index: 1;
}

.cta-call-content {
    display: flex;
    align-items: center;
    gap: 60px;
    max-width: 1100px;
    margin: 0 auto;
    background: var(--bg-white);
    padding: 50px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--border-light);
}

.cta-call-image {
    flex-shrink: 0;
    width: 300px;
    height: 300px;
}

.cta-call-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.cta-call-text {
    flex: 1;
}

.cta-call-title {
    font-size: 36px;
    font-weight: 800;
    color: var(--text-black);
    margin-bottom: 16px;
    line-height: 1.2;
}

.cta-call-description {
    font-size: 18px;
    color: var(--text-gray);
    margin-bottom: 32px;
    line-height: 1.6;
}

.cta-call-button {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    background: var(--primary-color);
    color: white;
    padding: 20px 40px;
    border-radius: 10px;
    text-decoration: none;
    font-size: 24px;
    font-weight: 700;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(227, 6, 19, 0.2);
    margin-bottom: 16px;
    border: 1px solid var(--primary-color);
}

.cta-call-button:hover {
    transform: translateY(-2px);
    background: var(--primary-light);
    box-shadow: 0 6px 16px rgba(227, 6, 19, 0.3);
}

.cta-call-button i {
    font-size: 28px;
}

.cta-phone-number {
    font-size: 28px;
    letter-spacing: 1px;
}

.cta-call-note {
    font-size: 14px;
    color: var(--text-gray);
    margin: 0;
}

/* Responsive CTA */
@media (max-width: 968px) {
    .cta-call-content {
        flex-direction: column;
        text-align: center;
        padding: 40px 30px;
    }
    
    .cta-call-image {
        width: 250px;
        height: 250px;
    }
    
    .cta-call-title {
        font-size: 28px;
    }
    
    .cta-call-button {
        font-size: 20px;
        padding: 18px 32px;
    }
}

@media (max-width: 640px) {
    .cta-call-section {
        margin: 50px 0;
        padding: 40px 0;
    }
    
    .cta-call-content {
        padding: 30px 20px;
    }
    
    .cta-call-image {
        width: 200px;
        height: 200px;
    }
    
    .cta-call-title {
        font-size: 24px;
    }
    
    .cta-call-button {
        font-size: 18px;
        padding: 16px 28px;
    }
}