/* ==========================================
   CSS Reset & Variables
   ========================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Colors - Строительная тематика с акцентами Севастополя */
    --primary-color: #d4a024;        /* Золотой - символ качества и надежности */
    --secondary-color: #1e3a5f;      /* Морской синий - Севастополь */
    --dark-color: #2c3e50;           /* Темно-серый - строительная сталь */
    --light-color: #f8f9fa;          /* Светлый фон */
    --white: #ffffff;
    --text-dark: #2c3e50;
    --text-light: #6c757d;
    --accent: #c8102e;               /* Красный - якорь Севастополя */
    --construction-orange: #ff6b00;  /* Строительный оранжевый */
    --navy-blue: #0a2342;            /* Темно-синий флота */
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #d4a024 0%, #f4c430 100%);
    --gradient-secondary: linear-gradient(135deg, #1e3a5f 0%, #2d5a8f 100%);
    --gradient-dark: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    --gradient-construction: linear-gradient(135deg, #ff6b00 0%, #ff8533 100%);
    
    /* Spacing */
    --section-padding: 80px 0;
    --container-padding: 0 20px;
    
    /* Transitions */
    --transition: all 0.3s ease;
    --transition-slow: all 0.6s ease;
    
    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.2);
    
    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
}

/* ==========================================
   Base Styles
   ========================================== */
html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    width: 100%;
}

body {
    font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
    overflow-x: hidden;
    width: 100%;
    position: relative;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
}

h1 { font-size: 3rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

p {
    margin-bottom: 15px;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

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

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--container-padding);
}

.section-padding {
    padding: var(--section-padding);
}

.bg-light {
    background-color: var(--light-color);
}

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

/* ==========================================
   Navigation
   ========================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: var(--white);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.3rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo-img {
    height: 45px;
    width: auto;
    filter: drop-shadow(0 2px 4px rgba(212, 160, 36, 0.3));
}

.logo i {
    font-size: 2rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 2px 4px rgba(212, 160, 36, 0.3));
}

.nav-menu {
    display: flex;
    gap: 30px;
}

.nav-link {
    font-weight: 500;
    color: var(--text-dark);
    position: relative;
    padding: 5px 0;
}

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

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

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

.burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.burger span {
    width: 30px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 3px;
    transition: var(--transition);
}

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

.burger.active span:nth-child(2) {
    opacity: 0;
}

.burger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
}

/* ==========================================
   Hero Section with Parallax
   ========================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding-top: 80px;
}

.parallax-section {
    position: relative;
    overflow: hidden;
}

.parallax-bg {
    position: absolute;
    top: -50px;
    left: 0;
    width: 100%;
    height: calc(100% + 100px);
    background: var(--gradient-secondary);
    background-size: cover;
    background-position: center;
    z-index: -1;
}

/* Hero Video Background */
.hero-video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1;
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
}

.hero-video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(135deg, rgba(30, 58, 95, 0.75) 0%, rgba(45, 90, 143, 0.85) 100%),
        radial-gradient(ellipse at bottom right, rgba(212, 160, 36, 0.15) 0%, transparent 60%),
        radial-gradient(ellipse at top left, rgba(200, 16, 46, 0.08) 0%, transparent 50%);
    z-index: 1;
}

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

/* Используем видео вместо статичного изображения */

.services-bg {
    background-image: linear-gradient(135deg, rgba(44, 62, 80, 0.95) 0%, rgba(52, 73, 94, 0.95) 100%),
                      repeating-linear-gradient(45deg, transparent, transparent 10px, rgba(212, 160, 36, 0.05) 10px, rgba(212, 160, 36, 0.05) 20px);
}

.stats-bg {
    background-image: linear-gradient(135deg, rgba(212, 160, 36, 0.95) 0%, rgba(244, 196, 48, 0.95) 100%),
                      url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23ffffff" fill-opacity="0.05" d="M0,192L48,197.3C96,203,192,213,288,229.3C384,245,480,267,576,250.7C672,235,768,181,864,181.3C960,181,1056,235,1152,234.7C1248,235,1344,181,1392,154.7L1440,128L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>');
}

/* ==========================================
   Construction Crane Animation (About Section)
   ========================================== */
.about-crane-container {
    position: relative;
    min-height: 450px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    overflow: visible;
    width: 100%;
}

/* Main Construction Crane */
.construction-crane {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

/* Crane Foundation at bottom */
.crane-foundation {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 30px;
    z-index: 1;
}

.foundation-base {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #666 0%, #444 50%, #555 100%);
    border-radius: 6px 6px 0 0;
    box-shadow: 
        0 -2px 10px rgba(0, 0, 0, 0.3),
        inset 0 2px 5px rgba(255, 255, 255, 0.1);
    position: relative;
}

.foundation-base::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    height: 4px;
    background: repeating-linear-gradient(
        to right,
        rgba(212, 160, 36, 0.4) 0px,
        rgba(212, 160, 36, 0.4) 12px,
        transparent 12px,
        transparent 18px
    );
}

.foundation-bolts {
    position: absolute;
    top: 8px;
    left: 0;
    width: 100%;
    height: 12px;
    display: flex;
    justify-content: space-between;
    padding: 0 8px;
}

.foundation-bolts::before,
.foundation-bolts::after {
    content: '';
    width: 10px;
    height: 10px;
    background: radial-gradient(circle, #999 0%, #555 100%);
    border-radius: 50%;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.6);
}

/* Crane Tower - lattice structure (решетчатая) */
.crane-tower-main {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 280px;
    background: transparent;
    animation: towerRise 1.2s ease-out;
    z-index: 1;
}

/* Left vertical beam */
.crane-tower-main::before {
    content: '';
    position: absolute;
    top: 0;
    left: 3px;
    width: 5px;
    height: 100%;
    background: linear-gradient(to bottom,
        var(--primary-color) 0%,
        #b8892d 50%,
        var(--primary-color) 100%);
    border-radius: 2px;
    box-shadow: 
        0 0 15px rgba(212, 160, 36, 0.4),
        inset 0 0 5px rgba(0, 0, 0, 0.2);
}

/* Right vertical beam */
.crane-tower-main::after {
    content: '';
    position: absolute;
    top: 0;
    right: 3px;
    width: 5px;
    height: 100%;
    background: linear-gradient(to bottom,
        var(--primary-color) 0%,
        #b8892d 50%,
        var(--primary-color) 100%);
    border-radius: 2px;
    box-shadow: 
        0 0 15px rgba(212, 160, 36, 0.4),
        inset 0 0 5px rgba(0, 0, 0, 0.2);
}

/* Horizontal cross beams */
.crane-tower-main {
    background-image: repeating-linear-gradient(
        to bottom,
        transparent 0px,
        transparent 35px,
        var(--primary-color) 35px,
        var(--primary-color) 38px,
        transparent 38px,
        transparent 40px
    );
}

/* Crane Cabin - at top of tower, FRONT LAYER */
.crane-cabin {
    position: absolute;
    bottom: 280px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 35px;
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    border-radius: 6px;
    box-shadow: 
        0 5px 25px rgba(0, 0, 0, 0.5),
        inset 0 2px 5px rgba(255, 255, 255, 0.1);
    animation: cabinSlide 1s ease-out 0.8s backwards;
    z-index: 10;
    border: 2px solid rgba(212, 160, 36, 0.3);
}

.crane-cabin::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 8px;
    background: linear-gradient(135deg, #34495e 0%, #2c3e50 100%);
    border-radius: 4px 4px 0 0;
}

.crane-cabin::after {
    content: '';
    position: absolute;
    top: 8px;
    left: 8px;
    width: 34px;
    height: 18px;
    background: rgba(100, 200, 255, 0.4);
    border-radius: 3px;
    box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.3);
}

/* Crane Jib (Right side - working arm, SHORTER) */
.crane-jib-main {
    position: absolute;
    bottom: 295px;
    left: calc(50% + 20px);
    width: 250px;
    height: 15px;
    background: linear-gradient(to right,
        var(--primary-color) 0%,
        #f4c430 50%,
        var(--primary-color) 100%);
    border-radius: 8px;
    transform-origin: 0 center;
    box-shadow: 0 5px 25px rgba(212, 160, 36, 0.4);
    animation: jibRotate 1.5s ease-out 1.5s backwards;
    z-index: 2;
}

.crane-jib-main::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 2px;
    background: repeating-linear-gradient(
        to right,
        rgba(255, 255, 255, 0.4) 0px,
        rgba(255, 255, 255, 0.4) 15px,
        transparent 15px,
        transparent 25px
    );
    transform: translateY(-50%);
}

/* Counter Jib (Left side - balance arm, SHORTER) */
.crane-counter-jib {
    position: absolute;
    bottom: 295px;
    right: calc(50% + 20px);
    width: 100px;
    height: 15px;
    background: linear-gradient(to left,
        var(--primary-color) 0%,
        rgba(212, 160, 36, 0.7) 100%);
    border-radius: 8px;
    transform-origin: 100% center;
    box-shadow: 0 5px 20px rgba(212, 160, 36, 0.3);
    animation: jibRotate 1.5s ease-out 1.5s backwards;
    z-index: 2;
}

/* Trolley (Moves along RIGHT jib) */
.crane-trolley {
    position: absolute;
    top: -10px;
    left: 20px;
    width: 22px;
    height: 32px;
    background: linear-gradient(135deg, #34495e 0%, #2c3e50 100%);
    border-radius: 4px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.4);
    z-index: 3;
    /* Animation controlled by JavaScript */
}

/* Hook Cable - FAST transition */
.crane-hook-cable {
    position: absolute;
    top: 32px;
    left: 50%;
    transform: translateX(-50%);
    width: 3px;
    height: 80px;
    background: linear-gradient(to bottom,
        rgba(100, 100, 100, 0.9),
        rgba(150, 150, 150, 0.7));
    transition: height 0.3s ease-in-out;
}

/* Hook - FAST transition */
.crane-hook-main {
    position: absolute;
    top: 108px;
    left: 50%;
    transform: translateX(-50%);
    width: 14px;
    height: 14px;
    background: var(--dark-color);
    border-radius: 50% 50% 0 0;
    transition: top 0.3s ease-in-out;
}

.crane-hook-main::before {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 50%;
    transform: translateX(-50%);
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 50%;
}

/* Building Block being lifted */
.building-block {
    position: absolute;
    bottom: -25px;
    left: 50%;
    transform: translateX(-50%);
    width: 35px;
    height: 20px;
    background: linear-gradient(135deg, var(--primary-color) 0%, #b8892d 100%);
    border: 2px solid var(--dark-color);
    border-radius: 2px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.building-block.visible {
    opacity: 1;
}

.block-number {
    color: var(--white);
    font-weight: bold;
    font-size: 12px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

/* Building Structure */
.building-structure {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 150px;
}

.building-foundation {
    width: 100%;
    height: 15px;
    background: linear-gradient(135deg, #555 0%, #333 100%);
    border-radius: 3px 3px 0 0;
}

.building-floors {
    width: 100%;
    min-height: 10px;
}

/* Animations */
@keyframes towerRise {
    from {
        height: 0;
        opacity: 0;
        bottom: 10px;
    }
    to {
        height: 280px;
        opacity: 1;
        bottom: 30px;
    }
}

@keyframes cabinSlide {
    from {
        bottom: 320px;
        opacity: 0;
        transform: translateX(-50%) scale(0.8);
    }
    to {
        bottom: 280px;
        opacity: 1;
        transform: translateX(-50%) scale(1);
    }
}

@keyframes jibRotate {
    from {
        transform: scaleX(0);
        opacity: 0;
    }
    to {
        transform: scaleX(1);
        opacity: 1;
    }
}

/* List markers (invisible positioning helpers) */
.list-markers {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.list-marker {
    position: absolute;
    width: 10px;
    height: 10px;
    opacity: 0;
}

/* Crane animation classes for sequential block placement - FAST */
.crane-trolley.moving {
    transition: left 0.5s ease-in-out;
}

.building-block.dropping {
    animation: blockDrop 0.3s ease-out forwards;
}

@keyframes blockDrop {
    0% {
        opacity: 1;
        transform: translateX(-50%) translateY(0) scale(1);
    }
    50% {
        opacity: 0.8;
        transform: translateX(-50%) translateY(15px) scale(0.85);
    }
    100% {
        opacity: 0;
        transform: translateX(-50%) translateY(25px) scale(0.7);
    }
}

/* Visual effect when block lands */
@keyframes blockLand {
    0% {
        box-shadow: 0 0 0 0 rgba(212, 160, 36, 0.7);
    }
    100% {
        box-shadow: 0 0 0 20px rgba(212, 160, 36, 0);
    }
}

/* Hero Content - Centered */
.hero-content {
    position: relative;
    z-index: 2;
    color: var(--white);
    padding: 40px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 70vh;
}

.hero-left {
    text-align: center;
    max-width: 800px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    text-shadow: 
        0 4px 20px rgba(0, 0, 0, 0.8),
        0 2px 10px rgba(0, 0, 0, 0.6),
        0 0 40px rgba(30, 58, 95, 0.5);
    animation: fadeInUp 1s ease;
    position: relative;
}

.hero-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: 2px;
    box-shadow: 0 0 30px rgba(212, 160, 36, 0.8);
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 40px;
    margin-top: 30px;
    opacity: 0.98;
    animation: fadeInUp 1s ease 0.2s backwards;
    text-shadow: 
        0 3px 15px rgba(0, 0, 0, 0.8),
        0 1px 5px rgba(0, 0, 0, 0.6);
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    flex-wrap: wrap;
    margin-bottom: 60px;
    animation: fadeInUp 1s ease 0.4s backwards;
}

/* Hero Features - F-Pattern (vertical stack on right) */
.hero-features {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
}

.feature-card {
    background: rgba(30, 58, 95, 0.85);
    backdrop-filter: blur(20px);
    padding: 30px;
    border-radius: var(--radius-md);
    border: 2px solid rgba(212, 160, 36, 0.4);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    opacity: 0;
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-10px);
    background: rgba(30, 58, 95, 0.95);
    border-color: var(--primary-color);
    box-shadow: 
        0 15px 40px rgba(212, 160, 36, 0.4),
        0 0 50px rgba(212, 160, 36, 0.2);
}

.feature-card:hover::before {
    opacity: 0.05;
}

.feature-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    filter: drop-shadow(0 5px 15px rgba(212, 160, 36, 0.4));
    position: relative;
    z-index: 1;
}

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 10px;
}

.feature-card p {
    font-size: 0.95rem;
    opacity: 0.9;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    gap: 5px;
    animation: bounce 2s infinite;
}

.scroll-indicator span {
    width: 3px;
    height: 15px;
    background: var(--white);
    border-radius: 2px;
    opacity: 0.8;
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(10px); }
}

/* ==========================================
   Buttons
   ========================================== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--dark-color);
    box-shadow: 0 4px 15px rgba(212, 160, 36, 0.4);
    font-weight: 700;
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(212, 160, 36, 0.6);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--primary-color);
}

.btn-light {
    background: var(--white);
    color: var(--primary-color);
}

.btn-light:hover {
    background: var(--primary-color);
    color: var(--white);
}

.btn-lg {
    padding: 18px 40px;
    font-size: 1.1rem;
}

/* ==========================================
   Section Headers
   ========================================== */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--dark-color);
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.section-title.light {
    color: var(--white) !important;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

.section-subtitle.light {
    color: rgba(255, 255, 255, 0.9);
}

/* ==========================================
   Advantages Section
   ========================================== */
/* Секция преимуществ на главной (светлая) */
section.advantages-section:not(.parallax-section) {
    background: var(--light-color);
}

/* Секция преимуществ на about.html (темная с parallax) */
section.advantages-section.parallax-section {
    background: transparent; /* Фон задается через .parallax-bg */
}

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

.advantage-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: var(--radius-md);
    text-align: center;
    transition: var(--transition);
    border: 2px solid transparent;
    box-shadow: var(--shadow-sm);
}

.advantage-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    box-shadow: 
        var(--shadow-lg),
        0 0 30px rgba(212, 160, 36, 0.2);
}

.advantage-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--white);
    box-shadow: 0 10px 30px rgba(212, 160, 36, 0.3);
}



.advantage-card h3 {
    color: var(--secondary-color);
    margin-bottom: 15px;
    font-size: 1.3rem;
}

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

/* ==========================================
   About Section
   ========================================== */
/* About section на главной странице (с краном) */
.about-preview .about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

/* About page - intro section (страница О компании) */
section.about-content {
    display: block;
    width: 100%;
}

section.about-content .container {
    max-width: 1400px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 20px;
    padding-right: 20px;
}

section.about-content .about-intro {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    width: 100%;
    margin: 0 auto;
}

section.about-content .about-intro .about-text {
    text-align: left;
}

section.about-content .about-intro .about-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 20px;
}

section.about-content .about-intro .about-text h2 {
    color: var(--secondary-color);
    margin-bottom: 25px;
    font-size: 2.2rem;
    line-height: 1.4;
    font-weight: 700;
}

.about-image,
.about-text {
    opacity: 0;
    animation: fadeInUp 1s ease forwards;
}

/* Director Photo Container */
.about-image {
    overflow: hidden;
    border-radius: var(--radius-md);
    max-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Director Photo */
.director-photo {
    width: 100%;
    height: 100%;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    object-fit: cover;
    display: block;
}

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

.image-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--light-color) 0%, #e0e0e0 100%);
    border-radius: var(--radius-md);
    min-height: 300px;
    color: var(--text-light);
    font-size: 4rem;
    box-shadow: var(--shadow-md);
}

.image-placeholder.large {
    min-height: 400px;
}

.image-placeholder p {
    font-size: 1rem;
    margin-top: 20px;
}

/* Желтый цвет для иконок сертификатов */
.image-placeholder .fa-certificate {
    color: var(--primary-color) !important;
}

.check-list {
    margin: 30px 0;
}

.check-list li {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 1.05rem;
}

.check-list i {
    color: var(--primary-color);
    font-size: 1.2rem;
}

/* Animated List Items */
.animated-list .list-item {
    opacity: 0;
    transform: translateX(-30px);
    transition: all 0.6s ease;
}

.animated-list .list-item.visible {
    opacity: 1;
    transform: translateX(0);
    animation: itemBuild 0.8s ease-out forwards;
}

.animated-list .list-item.visible i {
    animation: checkPop 0.5s ease-out 0.3s backwards;
}

.animated-list .list-item.visible span {
    animation: textSlide 0.6s ease-out 0.4s backwards;
}

@keyframes itemBuild {
    0% {
        opacity: 0;
        transform: translateX(-30px) translateY(10px);
    }
    60% {
        transform: translateX(5px) translateY(0);
    }
    100% {
        opacity: 1;
        transform: translateX(0) translateY(0);
    }
}

@keyframes checkPop {
    0% {
        transform: scale(0) rotate(-180deg);
        opacity: 0;
    }
    50% {
        transform: scale(1.3) rotate(0deg);
    }
    100% {
        transform: scale(1) rotate(0deg);
        opacity: 1;
    }
}

@keyframes textSlide {
    from {
        opacity: 0;
        transform: translateX(-10px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Animated Button */
.btn-animated {
    position: relative;
    overflow: hidden;
}

.btn-animated.visible {
    animation: btnFadeIn 0.8s ease-out 2s backwards;
}

/* ==========================================
   Services Section
   ========================================== */
.services-preview {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    position: relative;
    overflow: hidden;
}

.services-preview::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 50px,
            rgba(212, 160, 36, 0.03) 50px,
            rgba(212, 160, 36, 0.03) 100px
        ),
        url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23d4a024" fill-opacity="0.05" d="M0,160L48,176C96,192,192,224,288,213.3C384,203,480,149,576,128C672,107,768,117,864,144C960,171,1056,213,1152,213.3C1248,213,1344,171,1392,149.3L1440,128L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>');
    background-size: cover, cover;
    background-position: center, bottom;
    pointer-events: none;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    position: relative;
    z-index: 1;
}

.service-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    padding: 40px;
    border-radius: var(--radius-md);
    border: 2px solid rgba(212, 160, 36, 0.2);
    color: var(--white);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.service-card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: var(--gradient-primary);
    border-radius: var(--radius-md);
    opacity: 0;
    transition: var(--transition);
    z-index: -1;
}

.service-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.12);
    box-shadow: 0 15px 40px rgba(212, 160, 36, 0.3);
    border-color: var(--primary-color);
}

.service-card:hover::before {
    opacity: 0.1;
}

.service-icon {
    font-size: 3.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    filter: drop-shadow(0 5px 15px rgba(212, 160, 36, 0.3));
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--white);
}

.service-card p {
    opacity: 0.95;
    margin-bottom: 20px;
    line-height: 1.7;
    flex-grow: 1;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--primary-color);
    font-weight: 600;
    padding: 10px 20px;
    background: rgba(212, 160, 36, 0.1);
    border-radius: var(--radius-sm);
    transition: var(--transition);
    white-space: nowrap;
}

.service-link:hover {
    gap: 15px;
    background: rgba(212, 160, 36, 0.2);
    transform: translateX(5px);
}

/* ==========================================
   Portfolio Section
   ========================================== */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.portfolio-item {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.portfolio-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.portfolio-image {
    position: relative;
    overflow: hidden;
    height: 300px;
}

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

.portfolio-item:hover .portfolio-img {
    transform: scale(1.1);
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.3) 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    padding: 30px;
    color: var(--white);
    opacity: 0;
    transition: var(--transition);
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-overlay h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.portfolio-overlay p {
    margin-bottom: 20px;
    opacity: 0.9;
}

/* ==========================================
   Guarantee Section
   ========================================== */
.guarantee-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
    overflow: hidden;
}

.guarantee-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 60px,
        rgba(30, 58, 95, 0.02) 60px,
        rgba(30, 58, 95, 0.02) 120px
    );
    pointer-events: none;
}

.guarantee-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    position: relative;
    z-index: 1;
}

.guarantee-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border-top: 4px solid var(--primary-color);
    position: relative;
    overflow: hidden;
}

.guarantee-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    opacity: 0;
    transition: var(--transition);
    z-index: 0;
}

.guarantee-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(212, 160, 36, 0.3);
}

.guarantee-card:hover::before {
    opacity: 0.05;
}

.guarantee-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-secondary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    margin: 0 auto 25px;
    position: relative;
    z-index: 1;
    box-shadow: 0 8px 25px rgba(30, 58, 95, 0.3);
}

.guarantee-number {
    font-size: 3rem;
    font-weight: 800;
    font-family: 'Montserrat', sans-serif;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 15px;
    position: relative;
    z-index: 1;
}

.guarantee-card h3 {
    color: var(--secondary-color);
    font-size: 1.3rem;
    margin-bottom: 15px;
    position: relative;
    z-index: 1;
}

.guarantee-card p {
    color: var(--text-light);
    line-height: 1.7;
    font-size: 0.95rem;
    position: relative;
    z-index: 1;
}

/* ==========================================
   Stats Section
   ========================================== */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    text-align: center;
    color: var(--white);
}

.stat-item {
    padding: 20px;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 800;
    font-family: 'Montserrat', sans-serif;
    margin-bottom: 10px;
    color: var(--primary-color);
    text-shadow: 0 2px 10px rgba(212, 160, 36, 0.3);
}

.stat-label {
    font-size: 1.1rem;
    opacity: 0.95;
}

/* ==========================================
   CTA Section
   ========================================== */
.cta-section {
    background: linear-gradient(135deg, #1e3a5f 0%, #2d5a8f 100%);
    color: var(--white);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(circle at 20% 50%, rgba(212, 160, 36, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(212, 160, 36, 0.1) 0%, transparent 50%),
        url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23d4a024" fill-opacity="0.05" d="M0,96L48,112C96,128,192,160,288,165.3C384,171,480,149,576,128C672,107,768,85,864,96C960,107,1056,149,1152,149.3C1248,149,1344,107,1392,85.3L1440,64L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>');
    background-position: center, center, bottom;
    pointer-events: none;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.95;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ==========================================
   Footer
   ========================================== */
.footer {
    background: linear-gradient(135deg, #2c3e50 0%, #1e3a5f 100%);
    color: var(--white);
    padding: 60px 0 20px;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-primary);
}

.footer::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        repeating-linear-gradient(
            90deg,
            transparent,
            transparent 100px,
            rgba(212, 160, 36, 0.02) 100px,
            rgba(212, 160, 36, 0.02) 200px
        );
    pointer-events: none;
}

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

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.3rem;
    font-weight: 800;
    margin-bottom: 20px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-logo-img {
    height: 40px;
    width: auto;
    filter: brightness(1.2) drop-shadow(0 2px 8px rgba(212, 160, 36, 0.4));
}

.footer-logo i {
    font-size: 2rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 2px 8px rgba(212, 160, 36, 0.4));
}

.footer-col p {
    opacity: 0.8;
    margin-bottom: 20px;
}

.footer-col h4 {
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    opacity: 0.8;
    transition: var(--transition);
}

.footer-col ul li a:hover {
    opacity: 1;
    color: var(--primary-color);
    padding-left: 5px;
}

.contact-info li {
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-info i {
    color: var(--primary-color);
    width: 20px;
}

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

.social-links a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    font-size: 1.2rem;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0.7;
}

/* ==========================================
   Page Header
   ========================================== */
.page-header {
    position: relative;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    margin-top: 80px;
    overflow: hidden;
}

.page-header .container {
    position: relative;
    z-index: 2;
}

.page-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 20px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.breadcrumbs {
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: center;
    font-size: 1.1rem;
}

.breadcrumbs a {
    opacity: 0.8;
}

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

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

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.fade-in {
    animation: fadeInUp 1s ease;
}

[data-aos] {
    opacity: 0;
    transition: opacity 0.8s ease, transform 0.8s ease;
}

[data-aos].aos-animate {
    opacity: 1;
}

[data-aos="fade-up"].aos-animate {
    transform: translateY(0);
}

[data-aos="fade-up"] {
    transform: translateY(30px);
}

[data-aos="fade-right"].aos-animate {
    transform: translateX(0);
}

[data-aos="fade-right"] {
    transform: translateX(-30px);
}

[data-aos="fade-left"].aos-animate {
    transform: translateX(0);
}

[data-aos="fade-left"] {
    transform: translateX(30px);
}

[data-aos="zoom-in"].aos-animate {
    transform: scale(1);
}

[data-aos="zoom-in"] {
    transform: scale(0.9);
}

[data-aos="flip-left"].aos-animate {
    transform: rotateY(0);
}

[data-aos="flip-left"] {
    transform: rotateY(-15deg);
}

/* ==========================================
   Values, Team, Advantages
   ========================================== */
.values-grid,
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.value-card,
.team-member {
    background: var(--white);
    padding: 40px 30px;
    border-radius: var(--radius-md);
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.value-card:hover,
.team-member:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.value-icon {
    font-size: 3rem;
    color: var(--primary-color) !important;
    margin-bottom: 20px;
}

.value-icon i {
    color: var(--primary-color) !important;
}

.member-photo {
    margin-bottom: 20px;
}

.member-position {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 10px;
}

.member-desc {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* ==========================================
   Equipment Section
   ========================================== */
.equipment-section {
    background: var(--white);
}

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

.equipment-item {
    background: var(--white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border: 2px solid var(--light-color);
}

.equipment-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.equipment-image {
    position: relative;
    overflow: hidden;
    height: 280px;
    background: var(--light-color);
}

/* Настоящие изображения (когда будут добавлены) */
.equipment-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.equipment-item:hover .equipment-image img {
    transform: scale(1.1);
}

/* Placeholder для изображений (временно) */
.equipment-image .image-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--light-color) 0%, #e8e9ea 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.equipment-image .image-placeholder i {
    font-size: 4rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.equipment-image .image-placeholder p {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--secondary-color);
    text-align: center;
    line-height: 1.4;
}

.equipment-info {
    padding: 30px;
}

.equipment-info h3 {
    color: var(--secondary-color);
    margin-bottom: 20px;
    font-size: 1.4rem;
}

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

.equipment-specs li {
    display: flex;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid var(--light-color);
    font-size: 0.95rem;
    color: var(--text-dark);
}

.equipment-specs li:last-child {
    border-bottom: none;
}

.equipment-specs li i {
    color: var(--primary-color);
    margin-right: 12px;
    font-size: 1.1rem;
    min-width: 20px;
}

/* Equipment CTA Block */
.equipment-cta {
    margin-top: 60px;
    padding: 50px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    text-align: center;
}

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

.equipment-cta i.fa-tools {
    font-size: 3.5rem;
    color: var(--white);
    margin-bottom: 20px;
    opacity: 0.9;
}

.equipment-cta h3 {
    color: var(--white);
    font-size: 2rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.equipment-cta p {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 30px;
}

.equipment-cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.equipment-cta-buttons .btn {
    padding: 15px 35px;
    font-size: 1.05rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    transition: var(--transition);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.equipment-cta-buttons .btn-primary {
    background: var(--white);
    color: var(--primary-color);
    border: 2px solid var(--white);
}

.equipment-cta-buttons .btn-primary:hover {
    background: transparent;
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.equipment-cta-buttons .btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.equipment-cta-buttons .btn-secondary:hover {
    background: var(--white);
    color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

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

.advantage-item {
    background: var(--white);
    padding: 30px;
    border-radius: var(--radius-md);
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

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

.advantage-item h3 {
    color: var(--secondary-color) !important;
    margin-bottom: 10px;
}

.advantage-item p {
    color: var(--text-color) !important;
}

.advantage-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
}

.advantage-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 15px;
    font-family: 'Montserrat', sans-serif;
}

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

.certificate-item {
    background: var(--white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.certificate-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

/* ==========================================
   Services Detail Page
   ========================================== */
.service-detail {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: start;
    margin-bottom: 80px;
    position: relative;
}

.service-detail.featured-service {
    background: linear-gradient(135deg, rgba(212, 160, 36, 0.03) 0%, rgba(30, 58, 95, 0.03) 100%);
    padding: 30px;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(212, 160, 36, 0.15);
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.05);
}

.service-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-color) 0%, #f0c547 100%);
    color: var(--dark-color);
    padding: 10px 24px;
    border-radius: 25px;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 20px;
    box-shadow: 0 4px 20px rgba(212, 160, 36, 0.35);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.service-detail.reverse {
    direction: rtl;
}

.service-detail.reverse > * {
    direction: ltr;
}

.service-detail-image {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    transition: var(--transition);
}

.service-detail-image:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.service-detail-image img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.service-detail-image:hover img {
    transform: scale(1.05);
}

.service-detail-content h2 {
    display: flex;
    align-items: center;
    gap: 15px;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.service-detail-content h2 i {
    color: var(--primary-color);
}

.service-features {
    background: var(--light-color);
    padding: 30px;
    border-radius: var(--radius-md);
    margin: 30px 0;
}

.service-features h3 {
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.service-features ul li {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    padding: 10px;
    background: var(--white);
    border-radius: var(--radius-sm);
}

.service-features i {
    color: var(--primary-color);
    font-size: 1.2rem;
}

.service-types {
    margin: 30px 0;
}

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

.type-card {
    text-align: center;
    padding: 20px;
    background: var(--light-color);
    border-radius: var(--radius-md);
    transition: var(--transition);
}

.type-card:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-5px);
}

.type-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.type-card:hover i {
    color: var(--white);
}

.type-card h4 {
    font-size: 1rem;
    margin-bottom: 5px;
}

.type-card p {
    font-size: 0.9rem;
    opacity: 0.8;
}

.service-note {
    display: flex;
    align-items: start;
    gap: 15px;
    background: #fff3e0;
    padding: 20px;
    border-radius: var(--radius-md);
    border-left: 4px solid var(--accent);
    margin: 20px 0;
}

.service-note i {
    color: var(--accent);
    font-size: 1.5rem;
    margin-top: 3px;
}

/* Pricing Cards */
.pricing-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.pricing-card {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 40px 30px;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    position: relative;
}

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

.pricing-card.featured {
    border: 3px solid var(--primary-color);
}

.pricing-badge {
    position: absolute;
    top: -15px;
    right: 30px;
    background: var(--gradient-primary);
    color: var(--white);
    padding: 8px 20px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
}

.pricing-header {
    margin-bottom: 30px;
}

.pricing-header h3 {
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.pricing-period {
    color: var(--text-light);
    font-size: 1.1rem;
}

.pricing-features ul {
    text-align: left;
    margin-bottom: 30px;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.pricing-features i {
    color: var(--primary-color);
}

.pricing-note {
    display: flex;
    align-items: start;
    gap: 15px;
    background: #e3f2fd;
    padding: 20px;
    border-radius: var(--radius-md);
    margin-top: 40px;
}

.pricing-note i {
    color: var(--secondary-color);
    font-size: 1.5rem;
    margin-top: 3px;
}

/* ==========================================
   Portfolio Page
   ========================================== */
.featured-badge {
    text-align: center;
    margin-bottom: 30px;
}

.featured-badge i {
    color: var(--accent);
    font-size: 2rem;
}

.featured-badge span {
    display: block;
    color: var(--accent);
    font-weight: 600;
    font-size: 1.2rem;
    margin-top: 10px;
}

.project-showcase {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.project-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin: 20px 0;
    color: var(--text-light);
}

.project-meta span {
    display: flex;
    align-items: center;
    gap: 8px;
}

.project-meta i {
    color: var(--primary-color);
}

.project-description {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 30px;
}

.project-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 30px 0;
}

.stat {
    text-align: center;
    padding: 20px;
    background: var(--light-color);
    border-radius: var(--radius-md);
}

.stat-value {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-color);
    font-family: 'Montserrat', sans-serif;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-top: 5px;
}

.project-highlights {
    margin-top: 30px;
}

.project-highlights h4 {
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.project-highlights ul li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.project-highlights i {
    color: var(--primary-color);
}

.showcase-main-image {
    margin-bottom: 20px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.showcase-main-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: var(--radius-lg);
}

.showcase-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.showcase-gallery img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    cursor: pointer;
}

.showcase-gallery img:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.showcase-gallery .image-placeholder {
    min-height: 150px;
    font-size: 2rem;
}

/* Portfolio Filter */
.portfolio-filter {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 50px;
}

.filter-btn {
    padding: 12px 24px;
    background: var(--white);
    border: 2px solid var(--light-color);
    border-radius: var(--radius-sm);
    font-weight: 600;
    color: var(--text-dark);
    cursor: pointer;
    transition: var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--gradient-primary);
    color: var(--white);
    border-color: var(--primary-color);
}

/* Projects Grid */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.project-card {
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

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

.project-card .project-image {
    position: relative;
    overflow: hidden;
    height: 400px;
    background: var(--light-color);
}

.project-card .project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.project-card:hover .project-image img {
    transform: scale(1.1);
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(30, 58, 95, 0.95) 0%, rgba(44, 62, 80, 0.95) 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.4s ease;
    color: var(--white);
    padding: 20px;
    overflow: hidden;
    z-index: 3;
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.project-info {
    padding: 15px;
    width: 100%;
    text-align: center;
}

.project-info h3 {
    color: var(--white);
    margin-bottom: 8px;
    font-size: 1.2rem;
    line-height: 1.3;
}

.project-category,
.project-location,
.project-year {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 0.8rem;
    opacity: 0.9;
    margin-bottom: 3px;
    color: var(--white);
}

.project-details {
    padding: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    width: 100%;
    text-align: left;
}

.project-details p {
    margin-bottom: 10px;
    color: var(--white);
    font-size: 0.85rem;
    line-height: 1.4;
}

.project-details ul {
    font-size: 0.8rem;
    color: var(--white);
    margin: 0;
    padding: 0;
}

.project-details li {
    margin-bottom: 5px;
    padding-left: 12px;
    position: relative;
    color: var(--white);
    line-height: 1.3;
}

.project-details li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--primary-color);
}

.project-title {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(30, 58, 95, 0.95) 0%, rgba(30, 58, 95, 0.85) 100%);
    padding: 20px;
    color: var(--white);
    z-index: 2;
    transition: opacity 0.4s ease;
}

.project-card:hover .project-title {
    opacity: 0;
}

.project-title h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: var(--white);
    font-weight: 600;
}

.project-title span {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: center;
    gap: 5px;
}

.project-title span::before {
    content: '\f3c5';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: var(--primary-color);
}

/* Clients Grid */
.clients-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

.client-card {
    background: var(--white);
    padding: 40px 20px;
    border-radius: var(--radius-md);
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

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

.client-logo i {
    font-size: 3rem;
    color: var(--text-light);
    margin-bottom: 15px;
}

.client-logo p {
    font-weight: 600;
    color: var(--text-dark);
}

/* ==========================================
   Charity Section (Благотворительность)
   ========================================== */
.charity-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
    overflow: hidden;
}

.charity-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 50px,
        rgba(212, 160, 36, 0.02) 50px,
        rgba(212, 160, 36, 0.02) 100px
    );
    pointer-events: none;
}

.charity-intro {
    max-width: 900px;
    margin: 0 auto 60px;
}

.charity-content {
    text-align: center;
    background: var(--white);
    padding: 50px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
}

.charity-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--accent), var(--primary-color));
}

.charity-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #c8102e 0%, #e6183a 100%);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    margin: 0 auto 30px;
    box-shadow: 0 10px 30px rgba(200, 16, 46, 0.3);
    animation: heartbeat 2s ease-in-out infinite;
}

@keyframes heartbeat {
    0%, 100% { transform: scale(1); }
    10% { transform: scale(1.1); }
    20% { transform: scale(1); }
    30% { transform: scale(1.1); }
    40% { transform: scale(1); }
}

.charity-content h3 {
    color: var(--secondary-color);
    font-size: 2rem;
    margin-bottom: 20px;
}

.charity-content p {
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--text-dark);
}

/* Charity Cards Grid */
.charity-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin: 60px 0;
}

.charity-card {
    background: var(--white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border-top: 4px solid var(--accent);
    position: relative;
}

.charity-card.featured-charity {
    grid-column: span 1;
    border-top: 4px solid var(--primary-color);
    box-shadow: 0 8px 30px rgba(212, 160, 36, 0.25);
}

.charity-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--gradient-primary);
    color: var(--dark-color);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    z-index: 10;
    box-shadow: 0 4px 15px rgba(212, 160, 36, 0.4);
}

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

.charity-image {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.charity-image .image-placeholder {
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(200, 16, 46, 0.1) 0%, rgba(212, 160, 36, 0.1) 100%);
}

.charity-image .image-placeholder i {
    font-size: 4rem;
    color: var(--accent);
}

.charity-card {
    padding: 30px;
    text-align: center;
}

.charity-card-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--accent) 0%, #e6183a 100%);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    margin: 0 auto 25px;
    box-shadow: 0 8px 25px rgba(200, 16, 46, 0.3);
    transition: var(--transition);
}

.charity-card:hover .charity-card-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 12px 35px rgba(200, 16, 46, 0.4);
}

.charity-card h4 {
    color: var(--secondary-color);
    font-size: 1.3rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.charity-card p {
    color: var(--text-light);
    line-height: 1.7;
    font-size: 1rem;
}

.charity-card-content {
    padding: 30px;
}

.charity-card-content h4 {
    color: var(--secondary-color);
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.charity-card-content p {
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 20px;
}

.charity-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    color: var(--text-light);
    font-size: 0.95rem;
}

.charity-meta span {
    display: flex;
    align-items: center;
    gap: 8px;
}

.charity-meta i {
    color: var(--primary-color);
}

/* Charity Quote */
.charity-quote {
    max-width: 900px;
    margin: 60px auto;
    text-align: center;
}

.charity-quote blockquote {
    background: var(--white);
    padding: 50px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    position: relative;
    border-left: 5px solid var(--accent);
}

.charity-quote .fa-quote-left {
    font-size: 3rem;
    color: var(--primary-color);
    opacity: 0.2;
    margin-bottom: 20px;
}

.charity-quote p {
    font-size: 1.3rem;
    line-height: 1.8;
    color: var(--text-dark);
    font-style: italic;
    margin-bottom: 20px;
}

.charity-quote cite {
    display: block;
    color: var(--secondary-color);
    font-weight: 600;
    font-style: normal;
    font-size: 1.1rem;
}

/* Charity Stats */
.charity-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.charity-stat-item {
    background: var(--white);
    padding: 40px 30px;
    border-radius: var(--radius-md);
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border-top: 4px solid var(--primary-color);
}

.charity-stat-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.charity-stat-number {
    font-size: 3.5rem;
    font-weight: 800;
    font-family: 'Montserrat', sans-serif;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 15px;
}

.charity-stat-label {
    font-size: 1.1rem;
    color: var(--text-dark);
    line-height: 1.5;
}

/* ==========================================
   Contacts Page
   ========================================== */
.contact-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.contact-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: var(--radius-md);
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

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

.contact-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 20px;
}

.contact-card h3 {
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.contact-card p {
    margin-bottom: 8px;
}

.contact-card a {
    color: var(--primary-color);
    font-weight: 600;
}

/* Clickable contact card */
.contact-card-clickable {
    position: relative;
    cursor: pointer;
}

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

.contact-card-clickable .contact-card-link {
    width: 100%;
    height: 100%;
}

.contact-card-clickable:hover .contact-icon {
    transform: scale(1.1);
    transition: var(--transition);
}

.contact-card-clickable:hover .btn-map {
    background: linear-gradient(135deg, #E53935 0%, #D32F2F 100%);
}

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

.contact-note {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-top: 10px;
}

/* Contact Form */
.contact-form-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
    align-items: start;
}

.form-intro h2 {
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.form-benefits {
    margin-top: 40px;
}

.benefit-item {
    display: flex;
    align-items: start;
    gap: 20px;
    margin-bottom: 25px;
}

.benefit-item i {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.benefit-item h4 {
    color: var(--secondary-color);
    margin-bottom: 5px;
}

.benefit-item p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* Form Styles */
.contact-form {
    background: var(--white);
    padding: 40px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 16px;
    border: 2px solid var(--light-color);
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.form-message {
    grid-column: 1 / -1;
    padding: 15px;
    border-radius: var(--radius-sm);
    margin-top: 10px;
    display: none;
}

.form-message.success {
    display: block;
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-message.error {
    display: block;
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Captcha Styles */
.captcha-wrapper {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.captcha-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(135deg, var(--primary-color) 0%, #f4c430 100%);
    padding: 15px 20px;
    border-radius: var(--radius-sm);
    box-shadow: 0 4px 15px rgba(212, 160, 36, 0.3);
}

.captcha-question #captchaText {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--dark-color);
    font-family: 'Montserrat', sans-serif;
}

.captcha-refresh {
    background: rgba(255, 255, 255, 0.3);
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    color: var(--dark-color);
}

.captcha-refresh:hover {
    background: rgba(255, 255, 255, 0.5);
    transform: rotate(180deg);
}

.captcha-refresh i {
    font-size: 1rem;
}

.captcha-wrapper input[type="text"] {
    width: 100%;
}

.captcha-hint {
    display: block;
    color: var(--text-light);
    font-size: 0.85rem;
    margin-top: 5px;
    font-style: italic;
}

.captcha-wrapper input.error {
    border-color: var(--accent);
    animation: shake 0.5s;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-5px); }
    20%, 40%, 60%, 80% { transform: translateX(5px); }
}

/* Contact Methods Section */
.contact-methods-section {
    background: var(--light-color);
}

.contact-buttons-wrapper {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 60px;
}

.contact-method-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
}

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

.method-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 2.5rem;
    color: var(--white);
}

.contact-method-card h3 {
    color: var(--secondary-color);
    margin-bottom: 10px;
    font-size: 1.5rem;
}

.contact-method-card p {
    color: var(--text-color);
    margin-bottom: 8px;
}

.method-note {
    color: var(--text-light) !important;
    font-size: 0.9rem;
    margin-bottom: 25px !important;
    font-style: italic;
}

.contact-method-card .btn {
    margin-top: auto;
    width: 100%;
    max-width: 280px;
}

.contact-method-card .btn i {
    margin-right: 8px;
}

/* Success button for WhatsApp */
.btn-success {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: var(--white);
    border: none;
}

.btn-success:hover {
    background: linear-gradient(135deg, #128C7E 0%, #075E54 100%);
    transform: translateY(-2px);
}

/* Phone button - blue color */
.btn-phone {
    background: linear-gradient(135deg, #2196F3 0%, #1976D2 100%);
    color: var(--white);
    border: none;
}

.btn-phone:hover {
    background: linear-gradient(135deg, #1976D2 0%, #1565C0 100%);
    transform: translateY(-2px);
}

/* Map button - red Yandex color */
.btn-map {
    background: linear-gradient(135deg, #FC3F1D 0%, #E53935 100%);
    color: var(--white);
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-map:hover {
    background: linear-gradient(135deg, #E53935 0%, #D32F2F 100%);
    transform: translateY(-2px);
}

.btn-map i {
    font-size: 1rem;
}

/* Contact Benefits in Methods Section */
.contact-benefits {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    padding: 40px;
    background: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

/* Map Section */
.map-section {
    height: 400px;
    position: relative;
}

.map-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--light-color) 0%, #e0e0e0 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.map-overlay {
    text-align: center;
    padding: 40px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
}

.map-overlay i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.map-overlay p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-dark);
}

.map-note {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-top: 15px;
}

/* Working Hours */
.hours-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.hours-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    text-align: center;
}

.hours-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 20px;
}

.hours-card h3 {
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.hours-list {
    text-align: left;
}

.hours-row {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid var(--light-color);
}

.hours-row:last-child {
    border-bottom: none;
}

.hours-row.emergency {
    color: var(--primary-color);
    font-weight: 600;
}

/* FAQ Section */
.faq-list {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: var(--white);
    border-radius: var(--radius-md);
    margin-bottom: 20px;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 30px;
    cursor: pointer;
    transition: var(--transition);
}

.faq-question:hover {
    background: var(--light-color);
}

.faq-question h3 {
    font-size: 1.1rem;
    margin: 0;
}

.faq-question i {
    color: var(--primary-color);
    transition: var(--transition);
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 600px;
}

.faq-answer p {
    padding: 0 30px 25px;
    color: var(--text-light);
    line-height: 1.8;
}

.faq-answer p:last-child {
    padding-bottom: 25px;
}

.faq-answer ul {
    margin: 0 30px 20px;
    padding-left: 20px;
    color: var(--text-light);
    line-height: 1.8;
}

.faq-answer ul li {
    margin-bottom: 8px;
    color: var(--text-color);
}

.faq-answer ul li::marker {
    color: var(--primary-color);
}

.faq-answer strong {
    color: var(--secondary-color);
    font-weight: 600;
}

/* ==========================================
   Responsive Design
   ========================================== */

@media (max-width: 1024px) {
    .hero-title {
        font-size: 2.8rem;
    }

    .hero-subtitle {
        font-size: 1.3rem;
    }

    .about-preview .about-content,
    .service-detail,
    .project-showcase,
    .contact-form-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .service-detail-image img {
        height: 280px;
    }

    /* About page на планшетах */
    section.about-content .about-intro {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center; /* Центрирование на планшетах */
    }

    section.about-content .about-intro .about-text {
        text-align: center; /* Центрирование текста на планшетах */
    }

    section.about-content .container {
        padding-left: 30px;
        padding-right: 30px;
    }

    .service-detail.reverse {
        direction: ltr;
    }

    .construction-crane {
        transform: translateX(-50%) scale(0.7);
    }

    .about-crane-container {
        min-height: 280px;
        max-height: 280px;
        margin: 0;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 60px 0;
    }

    /* Prevent horizontal scroll globally */
    html, body {
        overflow-x: hidden;
        max-width: 100vw;
    }

    /* Prevent horizontal scroll */
    .hero,
    .advantages-section,
    .services-preview,
    .portfolio-preview,
    .stats-section {
        overflow-x: hidden;
    }

    /* About preview с краном - использовать clip для предотвращения скролла но сохранения видимости */
    .about-preview {
        overflow-x: clip;
        padding-left: 10px;
        padding-right: 10px;
    }

    h1 { font-size: 2.2rem; }
    h2 { font-size: 2rem; }
    h3 { font-size: 1.5rem; }

    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: var(--white);
        flex-direction: column;
        align-items: center;
        padding: 40px 0;
        box-shadow: var(--shadow-lg);
        transition: var(--transition);
        z-index: 999;
    }

    .nav-menu.active {
        left: 0;
    }

    .burger {
        display: flex;
    }

    .hero {
        min-height: 100vh;
        padding-top: 100px;
    }

    .hero .parallax-bg {
        background-attachment: scroll;
    }

    .hero-video {
        /* Ensure video covers properly on mobile */
        min-width: 100%;
        min-height: 100%;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    /* Hero на мобильных */
    .hero-content {
        padding: 20px 15px;
        width: 100%;
    }

    .hero-left {
        max-width: 100%;
        width: 100%;
        padding: 0 10px;
    }

    .hero-buttons {
        flex-direction: row;
        gap: 10px;
        width: 100%;
        max-width: 100%;
    }

    .hero-buttons .btn {
        flex: 1 1 auto;
        padding: 12px 16px;
        font-size: 0.9rem;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .section-title {
        font-size: 2rem;
    }

    .services-grid,
    .portfolio-grid,
    .projects-grid {
        grid-template-columns: 1fr;
    }

    /* Project cards - mobile optimization */
    .project-card .project-image {
        height: 300px;
    }

    .project-overlay {
        padding: 20px;
        font-size: 0.9rem;
    }

    .project-info h3 {
        font-size: 1.2rem;
    }

    .project-details {
        padding: 15px;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* About section - mobile: кран прямо над UL (только главная страница) */
    .about-preview .about-content {
        display: flex;
        flex-direction: column;
        gap: 10px; /* Небольшой отступ между элементами */
    }

    /* Порядок на мобильных:
       1. section-header (О компании) - вне about-content
       2. about-intro (h3 + p) - order: 1
       3. about-crane-container (Кран) - order: 2
       4. animated-list (UL) - order: 3
       5. btn-animated - order: 4
    */

    .about-crane-container {
        order: 2;
        margin: 0; /* Убрать все отступы */
        min-height: 220px; /* Точная высота для крана с scale(0.7) */
        max-height: 220px; /* Ограничить максимальную высоту */
        overflow: visible; /* Позволить крану быть видимым */
        width: 100%;
        position: relative;
    }

    .about-text {
        display: contents; /* Убрать обертку, элементы ведут себя как дети about-content */
    }

    .about-intro {
        order: 1;
        margin-bottom: 0; /* Убрать отступ снизу */
    }

    /* About page - mobile */
    section.about-content {
        display: block;
        width: 100%;
    }

    section.about-content .container {
        margin-left: auto !important;
        margin-right: auto !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    section.about-content .about-intro {
        grid-template-columns: 1fr; /* Одна колонка на мобильных */
        gap: 30px;
        text-align: center; /* Центрирование на мобильных */
    }

    section.about-content .about-intro .about-text {
        text-align: center; /* Центрирование текста */
    }

    section.about-content .about-intro .about-text h2 {
        font-size: 1.75rem; /* Уменьшенный размер для мобильных */
    }

    section.about-content .about-intro .about-text p {
        font-size: 1rem;
    }

    section.about-content .about-intro .about-image {
        margin: 0 auto; /* Центрирование изображения */
        max-height: 400px; /* Ограничение высоты на мобильных */
    }

    .animated-list {
        order: 3;
        margin-top: 0; /* Нормальный отступ */
    }

    .btn-animated {
        order: 4;
    }

    .advantages-grid {
        grid-template-columns: 1fr;
    }

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

    .equipment-info {
        padding: 20px;
    }

    .equipment-cta {
        margin-top: 40px;
        padding: 30px 20px;
    }

    .equipment-cta h3 {
        font-size: 1.5rem;
    }

    .equipment-cta p {
        font-size: 1rem;
    }

    .equipment-cta-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .equipment-cta-buttons .btn {
        width: 100%;
        justify-content: center;
    }

    .cta-buttons {
        flex-direction: column;
        width: 100%;
    }

    .cta-buttons .btn {
        width: 100%;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .page-header {
        min-height: 300px;
    }

    .page-title {
        font-size: 2rem;
    }

    .project-stats {
        grid-template-columns: 1fr;
    }

    .showcase-gallery {
        grid-template-columns: 1fr;
    }

    .portfolio-filter {
        flex-direction: column;
    }

    /* FAQ на мобильных */
    .faq-question {
        padding: 20px 20px;
    }

    .faq-question h3 {
        font-size: 1rem;
        line-height: 1.4;
    }

    .faq-answer p {
        padding: 0 20px 20px;
        font-size: 0.95rem;
    }

    .filter-btn {
        width: 100%;
    }

    /* Services page - mobile */
    .services-list {
        overflow-x: hidden;
    }

    .service-detail {
        grid-template-columns: 1fr;
        gap: 30px;
        margin-bottom: 50px;
        padding: 0;
        width: 100%;
        max-width: 100%;
    }

    .service-detail.featured-service {
        padding: 20px 15px;
    }

    .service-detail.reverse {
        direction: ltr;
    }

    .service-detail-image {
        width: 100%;
        max-width: 100%;
        margin: 0;
        overflow: hidden;
    }

    .service-detail-image img {
        height: 250px;
        width: 100%;
        max-width: 100%;
        object-fit: cover;
    }

    .service-detail-content {
        width: 100%;
        max-width: 100%;
        padding: 0;
    }

    .service-detail-content h2 {
        font-size: 1.5rem;
        flex-wrap: wrap;
    }

    .service-features {
        padding: 20px;
        margin: 20px 0;
        width: 100%;
        box-sizing: border-box;
    }

    .service-features h3 {
        font-size: 1.2rem;
    }

    .service-features ul {
        width: 100%;
    }

    .service-features ul li {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        padding: 15px;
        font-size: 0.9rem;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    .service-types {
        width: 100%;
    }

    .service-types .types-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .type-card {
        padding: 20px;
        width: 100%;
        box-sizing: border-box;
    }

    .service-note {
        padding: 15px;
        font-size: 0.9rem;
        width: 100%;
        box-sizing: border-box;
    }

    .contact-form {
        grid-template-columns: 1fr;
        padding: 30px 20px;
    }

    .contact-buttons-wrapper {
        grid-template-columns: 1fr;
        gap: 20px;
    }

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

    .contact-method-card {
        padding: 30px 20px;
    }

    .method-icon {
        width: 70px;
        height: 70px;
        font-size: 2rem;
    }

    .hours-grid,
    .pricing-cards {
        grid-template-columns: 1fr;
    }

    .types-grid {
        grid-template-columns: 1fr;
    }

    .charity-grid {
        grid-template-columns: 1fr;
    }

    .charity-content {
        padding: 30px 20px;
    }

    .charity-icon {
        width: 80px;
        height: 80px;
        font-size: 2.5rem;
    }

    .charity-quote blockquote {
        padding: 30px 20px;
    }

    .charity-quote p {
        font-size: 1.1rem;
    }

    .charity-stats {
        grid-template-columns: 1fr;
    }

    .guarantee-grid {
        grid-template-columns: 1fr;
    }

    .logo-img {
        height: 35px;
    }

    .footer-logo-img {
        height: 30px;
    }

    .service-detail.featured-service {
        padding: 20px;
    }
}

/* ==========================================
   Mobile Crane Adjustments (max-width: 480px)
   ========================================== */
@media (max-width: 480px) {
    /* Crane scaling for small screens */
    .construction-crane {
        transform: translateX(-50%) scale(0.55);
    }

    .about-crane-container {
        min-height: 180px;
        max-height: 180px;
        margin: 0;
        overflow: visible;
        width: 100%;
        position: relative;
    }

    .crane-tower-main {
        height: 180px;
        bottom: 20px;
    }

    .crane-cabin {
        bottom: 180px;
        width: 32px;
        height: 22px;
    }

    /* Крыша кабины - пропорционально уменьшена */
    .crane-cabin::before {
        top: -6px;
        width: 14px;
        height: 6px;
    }

    /* Окно кабины - отцентрировано и пропорционально уменьшено */
    .crane-cabin::after {
        top: 5px;
        left: 50%;
        transform: translateX(-50%);
        width: 20px;
        height: 12px;
    }

    .crane-jib-main {
        width: 140px;
        bottom: 190px;
        left: calc(50% + 10px);
    }

    .crane-counter-jib {
        width: 60px;
        bottom: 190px;
        right: calc(50% + 10px);
    }

    /* About page - very small screens */
    section.about-content .container {
        padding-left: 15px;
        padding-right: 15px;
    }

    section.about-content .about-intro .about-text h2 {
        font-size: 1.5rem;
    }

    section.about-content .about-intro .about-text p {
        font-size: 0.95rem;
    }

    .about-image {
        max-height: 300px; /* Еще меньше на очень маленьких экранах */
    }
    
    /* Typography adjustments */
    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 10px;
    }
    
    .hero-buttons .btn {
        width: 100%;
        padding: 12px 20px;
        font-size: 0.9rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .btn {
        padding: 12px 24px;
        font-size: 0.95rem;
    }
    
    .btn-lg {
        padding: 14px 28px;
        font-size: 1rem;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .advantages-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .advantage-card {
        padding: 30px 20px;
    }
    
    /* FAQ на маленьких экранах */
    .faq-question {
        padding: 16px 16px;
    }
    
    .faq-question h3 {
        font-size: 0.95rem;
    }
    
    .faq-answer p {
        padding: 0 16px 16px;
        font-size: 0.9rem;
    }
    
    .value-card,
    .team-member,
    .contact-card {
        padding: 30px 20px;
    }
    
    .container {
        padding-left: 15px;
        padding-right: 15px;
    }
}