/* Modern Site Template CSS */
:root {
    --primary-color: #2563eb;
    --primary-dark: #1e40af;
    --secondary-color: #10b981;
    --accent-color: #f59e0b;
    --text-dark: #1f2937;
    --text-light: #6b7280;
    --bg-light: #f9fafb;
    --bg-white: #ffffff;
    --border-color: #e5e7eb;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-secondary: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --gradient-accent: linear-gradient(135deg, #4facfe 0%, #00f2fe 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-dark);
    background-color: var(--bg-white);
}

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

/* Header */
.site-header {
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--shadow-md);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-top {
    background: rgba(0, 0, 0, 0.1);
    padding: 15px 0;
    overflow: visible;
}

.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: 8px;
}

.logo-placeholder {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.company-name {
    font-size: 24px;
    font-weight: 700;
    margin: 0;
}

.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;
}

.contact-item i {
    font-size: 18px;
}

.contact-item a {
    color: white;
    text-decoration: none;
    transition: opacity 0.3s;
}

.contact-item a:hover {
    opacity: 0.8;
}

.btn-call-us {
    display: inline-flex !important;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: var(--secondary-color);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s;
    box-shadow: 0 0 15px rgba(5, 150, 105, 0.5), 0 4px 15px rgba(0, 0, 0, 0.2);
    white-space: nowrap;
    visibility: visible !important;
    opacity: 1 !important;
    position: relative;
    overflow: hidden;
    animation: pulse-glow 2s ease-in-out infinite;
}

.btn-call-us::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    animation: ripple 2s ease-out infinite;
}

.btn-call-us::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: shine 3s ease-in-out infinite;
}

.btn-call-us:hover {
    background: #059669;
    transform: translateY(-2px);
    box-shadow: 0 0 25px rgba(5, 150, 105, 0.8), 0 6px 20px rgba(0, 0, 0, 0.3);
    animation: pulse-glow-hover 1.5s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% {
        box-shadow: 0 0 15px rgba(5, 150, 105, 0.5), 0 4px 15px rgba(0, 0, 0, 0.2);
    }
    50% {
        box-shadow: 0 0 25px rgba(5, 150, 105, 0.8), 0 0 35px rgba(5, 150, 105, 0.4), 0 4px 15px rgba(0, 0, 0, 0.2);
    }
}

@keyframes pulse-glow-hover {
    0%, 100% {
        box-shadow: 0 0 25px rgba(5, 150, 105, 0.8), 0 6px 20px rgba(0, 0, 0, 0.3);
    }
    50% {
        box-shadow: 0 0 35px rgba(5, 150, 105, 1), 0 0 45px rgba(5, 150, 105, 0.6), 0 6px 20px rgba(0, 0, 0, 0.3);
    }
}

@keyframes ripple {
    0% {
        width: 0;
        height: 0;
        opacity: 0.8;
    }
    100% {
        width: 200px;
        height: 200px;
        opacity: 0;
    }
}

@keyframes shine {
    0% {
        left: -100%;
    }
    50%, 100% {
        left: 100%;
    }
}

/* Navigation */
.main-nav {
    background: rgba(0, 0, 0, 0.15);
    padding: 0;
}

.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: white;
    text-decoration: none;
    transition: background 0.3s;
    font-weight: 500;
}

.nav-link:hover {
    background: rgba(255, 255, 255, 0.1);
}

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

/* Breadcrumbs */
.breadcrumbs-wrapper {
    background: rgba(0, 0, 0, 0.05);
    padding: 10px 0;
}

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

.breadcrumbs a {
    color: white;
    text-decoration: none;
    opacity: 0.9;
}

.breadcrumbs a:hover {
    opacity: 1;
}

.breadcrumbs span {
    color: rgba(255, 255, 255, 0.7);
}

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

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.6) 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-content .btn-primary {
    position: relative;
    z-index: 2;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

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

.hero-subtitle {
    font-size: 20px;
    margin-bottom: 30px;
    opacity: 0.95;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
    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: white;
    text-decoration: none;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: var(--shadow-md);
}

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

/* Sections */
.section-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-dark);
}

.page-title {
    font-size: 36px;
    font-weight: 700;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-dark);
    line-height: 1.3;
}

/* 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: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.3s;
    border: 1px solid var(--border-color);
    padding: 20px;
    text-align: center;
}

.brand-card h3 {
    margin: 0;
    padding: 0;
}

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

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

.card-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: var(--bg-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);
    font-size: 48px;
}

.card-content {
    padding: 20px;
}

.card-content h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-dark);
    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-photo {
        width: 100%;
        height: 250px;
        justify-content: center;
    }
    
    .service-photo img {
        max-height: 220px;
    }
    
    .service-bottom-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

.service-price {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 20px;
    background: var(--gradient-primary);
    color: white;
    border-radius: 12px;
    margin: 0;
    font-size: 20px;
}

.service-price i {
    font-size: 24px;
}

.price-value {
    font-size: 32px;
    font-weight: 700;
}

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

.service-advantages {
    margin: 0;
    width: auto;
}

.service-advantages h3 {
    font-size: 24px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.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: 8px;
    min-height: 60px;
    box-sizing: border-box;
}

.advantage-icon {
    font-size: 24px;
}

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

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

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

.contact-form-section h3 {
    color: var(--text-dark);
    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-color);
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s;
}

.service-contact-form input[type="tel"]:focus {
    outline: none;
    border-color: var(--primary-color);
}

/* 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: 12px;
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: all 0.3s;
    border: 2px solid transparent;
}

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

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

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

.benefit-card p {
    color: var(--text-light);
    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: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s;
    border: 1px solid var(--border-color);
}

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

.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;
}

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

.related-card.hidden-card {
    display: none;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.related-card:not(.hidden-card) {
    animation: fadeInUp 0.4s ease forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

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

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

.btn-load-more:active {
    transform: translateY(0);
}

.btn-load-more i {
    transition: transform 0.3s;
}

.btn-load-more:hover i {
    transform: translateY(2px);
}

/* SEO Text */
.seo-text {
    margin: 60px 0;
    padding: 30px;
    background: var(--bg-light);
    border-radius: 12px;
}

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

.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(--primary-color);
    font-weight: 600;
}

.seo-content ul, .seo-content ol {
    margin: 1em 0;
    padding-left: 2em;
}

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

.seo-content strong {
    font-weight: 600;
    color: var(--text-color);
}

.seo-content em {
    font-style: italic;
}

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

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

/* LSI Section */
.lsi-section {
    margin: 60px 0;
}

.lsi-spoiler {
    background: var(--bg-light);
    border-radius: 8px;
    padding: 20px;
    margin-top: 20px;
}

.lsi-spoiler summary {
    cursor: pointer;
    font-weight: 600;
    padding: 10px;
    background: var(--bg-white);
    border-radius: 6px;
    margin-bottom: 15px;
}

.lsi-content {
    padding: 15px;
    line-height: 1.8;
}

/* Pre-footer */
.pre-footer {
    background: var(--gradient-secondary);
    color: white;
    padding: 60px 0;
    margin-top: 60px;
}

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

.pre-footer-specialist {
    position: absolute;
    right: -150px;
    top: 50%;
    transform: translateY(-50%);
    width: 180px;
    height: 180px;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    opacity: 0.95;
    z-index: 1;
    background: rgba(255, 255, 255, 0.1);
    border: 3px solid rgba(255, 255, 255, 0.3);
}

@media (max-width: 1400px) {
    .pre-footer-specialist {
        right: -100px;
    }
}

@media (max-width: 1200px) {
    .pre-footer-specialist {
        display: none;
    }
}

.pre-footer-specialist img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 1200px) {
    .pre-footer-specialist {
        display: none;
    }
}

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

.pre-footer-text p {
    font-size: 18px;
    opacity: 0.95;
}

.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: none;
    border-radius: 8px;
    font-size: 16px;
    background: rgba(255, 255, 255, 0.95);
}

.contact-form textarea {
    resize: vertical;
}

.privacy-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
    cursor: pointer;
    color: #000000 !important;
}

.privacy-checkbox span {
    color: #000000 !important;
    line-height: 1.5;
}

.privacy-checkbox a {
    color: #000000 !important;
    text-decoration: underline;
}

.privacy-checkbox input[type="checkbox"] {
    margin-top: 3px;
    cursor: pointer;
}

.honeypot {
    display: none !important;
}

/* Footer */
.site-footer {
    background: #1f2937;
    color: white;
    padding: 60px 0 20px;
}

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

.footer-section h3, .footer-section h4 {
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-logo {
    max-height: 50px;
    margin-bottom: 15px;
    border-radius: 8px;
}

.footer-description {
    color: rgba(255, 255, 255, 0.7);
    margin-top: 10px;
}

.footer-section p {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s;
}

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

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

.social-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    transition: all 0.3s;
    font-size: 18px;
}

.social-link:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
}

.footer-nav {
    list-style: none;
}

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

.footer-nav a {
    display: flex;
    align-items: center;
    gap: 8px;
}

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

/* About Page */
.about-content {
    line-height: 1.8;
    font-size: 16px;
}

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

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

/* Contacts Page */
.contacts-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin: 40px 0;
}

.contact-info-block h2 {
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 12px;
}

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

.contact-detail-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 20px;
    background: var(--bg-light);
    border-radius: 8px;
}

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

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

.map-container {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    background: var(--bg-light);
    min-height: 500px;
}

#yandex-map {
    width: 100%;
    height: 500px;
    border-radius: 12px;
}

/* Стили для балуна карты */
.ymaps-balloon {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

.ymaps-balloon__content {
    padding: 15px;
}

.ymaps-balloon__content a {
    color: var(--primary-color);
    text-decoration: none;
}

.ymaps-balloon__content a:hover {
    text-decoration: underline;
}

/* Privacy & Guarantee Pages */
.privacy-content, .guarantee-content {
    line-height: 1.8;
}

.privacy-content section,
.guarantee-section {
    margin-bottom: 40px;
    padding: 30px;
    background: var(--bg-light);
    border-radius: 12px;
}

.privacy-content h2,
.guarantee-section h2 {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-dark);
}

.privacy-content ul,
.guarantee-section ul {
    margin-left: 20px;
    margin-top: 10px;
}

.privacy-content li,
.guarantee-section li {
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

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

/* Cookie Popup */
.cookie-popup {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: white;
    padding: 20px;
    border-radius: 12px;
    box-shadow: var(--shadow-xl);
    max-width: 400px;
    z-index: 10000;
    display: none;
    animation: slideUp 0.3s ease-out;
}

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

@keyframes slideUp {
    from {
        transform: translateY(100px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

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

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

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

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

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

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

.cookie-popup p a:hover {
    color: var(--primary-dark);
}

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

.btn-accept {
    flex: 1;
    padding: 12px 20px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    font-size: 14px;
    transition: background 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-accept:hover {
    background: var(--primary-dark);
}

.btn-decline {
    flex: 1;
    padding: 12px 20px;
    background: transparent;
    color: var(--text-dark);
    border: 2px solid var(--border-color);
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

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

/* Responsive */
@media (max-width: 1024px) and (min-width: 769px) {
    .stages-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(0, 0, 0, 0.95);
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .hero-section {
        padding: 80px 0;
        background-size: cover;
        background-position: center;
    }
    
    .hero-section::before {
        background: linear-gradient(135deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.7) 100%);
    }
    
    .hero-title {
        font-size: 32px;
        text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.6), 0 0 15px rgba(0, 0, 0, 0.4);
    }
    
    .hero-subtitle {
        font-size: 18px;
        text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.6);
    }
    
    .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;
    }
    
    .contacts-content {
        grid-template-columns: 1fr;
    }
    
    #yandex-map {
        height: 400px;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .cookie-popup {
        right: 10px;
        left: 10px;
        bottom: 10px;
        max-width: none;
        padding: 15px;
    }
    
    .cookie-actions {
        flex-direction: column;
    }
    
    .btn-accept,
    .btn-decline {
        width: 100%;
    }
    
    .cookie-text h4 {
        font-size: 16px;
    }
    
    .cookie-popup p {
        font-size: 13px;
    }
    
    .header-contact-info {
        display: flex !important;
        flex-wrap: wrap;
        gap: 10px;
        visibility: visible !important;
        opacity: 1 !important;
    }
    
    .contact-item {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
    
    .btn-call-us {
        display: inline-flex !important;
        width: 100%;
        justify-content: center;
        margin-top: 10px;
        visibility: visible !important;
        opacity: 1 !important;
        animation: pulse-glow 2s ease-in-out infinite;
    }
    
    .btn-call-us::before,
    .btn-call-us::after {
        display: block;
    }
    
    .reviews-grid {
        grid-template-columns: 1fr;
    }
    
    .stages-grid {
        grid-template-columns: 1fr;
    }
    
    .stage-card {
        padding: 25px 20px;
    }
}

/* Notifications */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 15px 20px;
    border-radius: 8px;
    box-shadow: var(--shadow-xl);
    z-index: 10001;
    opacity: 0;
    transform: translateX(400px);
    transition: all 0.3s ease-out;
    max-width: 400px;
}

.notification.show {
    opacity: 1;
    transform: translateX(0);
}

.notification-success {
    background: var(--secondary-color);
    color: white;
}

.notification-error {
    background: #ef4444;
    color: white;
}

.notification-content {
    display: flex;
    align-items: center;
    gap: 12px;
}

.notification-content i {
    font-size: 20px;
}

/* Scroll to top button */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 20px;
    box-shadow: var(--shadow-lg);
    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-dark);
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
}

/* 404 Error Page */
.error-page {
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 0;
    background: var(--bg-light);
}

.error-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.error-code {
    font-size: 120px;
    font-weight: 900;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 20px;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.8;
    }
}

.error-title {
    font-size: 36px;
    color: var(--text-dark);
    margin-bottom: 15px;
    font-weight: 700;
}

.error-message {
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 40px;
    line-height: 1.6;
}

.error-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 50px;
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 30px;
    background: var(--bg-white);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s;
    box-shadow: var(--shadow-md);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.error-help {
    margin-top: 40px;
    padding: 30px;
    background: var(--bg-white);
    border-radius: 12px;
    box-shadow: var(--shadow-md);
}

.error-help h3 {
    font-size: 20px;
    color: var(--text-dark);
    margin-bottom: 20px;
    font-weight: 600;
}

.help-links {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    text-align: left;
}

.help-links li {
    margin: 0;
}

.help-links a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 15px;
    color: var(--text-dark);
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s;
    background: var(--bg-light);
}

.help-links a:hover {
    background: var(--primary-color);
    color: white;
    transform: translateX(5px);
}

.help-links a i {
    font-size: 18px;
    width: 20px;
    text-align: center;
}

@media (max-width: 768px) {
    .error-code {
        font-size: 80px;
    }
    
    .error-title {
        font-size: 28px;
    }
    
    .error-message {
        font-size: 16px;
    }
    
    .error-actions {
        flex-direction: column;
    }
    
    .btn-primary,
    .btn-secondary {
        width: 100%;
        justify-content: center;
    }
    
    .help-links {
        grid-template-columns: 1fr;
    }
}

/* Reviews Section */
.reviews-section {
    margin: 60px 0;
    padding: 40px 0;
    background: var(--bg-light);
    border-radius: 12px;
}

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

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

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

.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(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
}

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

.review-rating {
    color: var(--accent-color);
    font-size: 14px;
}

.review-rating .far {
    color: var(--border-color);
}

.review-text {
    color: var(--text-dark);
    line-height: 1.6;
    margin: 15px 0;
}

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

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

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

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

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

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

.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-dark);
}

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

/* Animation classes */
@keyframes slideDown {
    from {
        transform: translateY(0);
        opacity: 1;
    }
    to {
        transform: translateY(100px);
        opacity: 0;
    }
}

.animate-in {
    animation: fadeInUp 0.6s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

