/* ===== Общие стили ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-accent: #F7931E;
    --primary-accent-hover: #E37E00;
    --secondary-accent: #FFB84D;
    --graphite: #1A1A1A;
    --dark-bg: #0F0F0F;
    --card-bg: #FFFFFF;
    --white: #FFFFFF;
    --light-text: #E5E5E5;
    --text-dark: #2C2C2C;
    --gradient-accent: linear-gradient(135deg, #F7931E 0%, #FFB84D 100%);
    --soft-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    --warm-beige: #FFF6EE;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    color: #1A1A1A;
    line-height: 1.6;
    overflow-x: hidden;
    background: #F8F8F8;
}

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

/* ===== Навигация ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 249, 240, 0.98) 100%);
    backdrop-filter: blur(20px);
    box-shadow: 0 4px 30px rgba(247, 147, 30, 0.15);
    border-bottom: 2px solid rgba(247, 147, 30, 0.2);
    z-index: 1000;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    padding: 25px 0;
}

.navbar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary-accent), transparent);
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

.nav-content {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
    position: relative;
}

.nav-content::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--primary-accent);
    transition: width 0.6s ease;
    box-shadow: 0 0 10px var(--primary-accent);
}

.navbar:hover .nav-content::after {
    width: 200px;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    height: 80px;
    position: relative;
    padding: 8px 20px;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.logo::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(247, 147, 30, 0.1), rgba(255, 184, 77, 0.1));
    border-radius: 12px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.logo:hover::before {
    opacity: 1;
}

.logo-img {
    height: 100%;
    max-height: 80px;
    width: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
    position: relative;
    z-index: 1;
    filter: drop-shadow(0 2px 8px rgba(247, 147, 30, 0.2));
}

.logo:hover .logo-img {
    transform: scale(1.08) rotate(1deg);
    filter: drop-shadow(0 4px 12px rgba(247, 147, 30, 0.4));
}

.nav-menu {
    display: none !important;
}

.mobile-menu-btn {
    display: none !important;
}

/* ===== Блок 1: Главный баннер ===== */
.hero-banner {
    background: #FFFFFF;
    padding: clamp(90px, 14vw, 140px) 0;
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-banner::after {
    display: none;
}

.hero-banner::before {
    display: none;
}

.hero-inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(500px, 1.5fr) minmax(280px, 1fr);
    align-items: center;
    gap: clamp(40px, 6vw, 80px);
    max-width: 1800px;
    margin: 0 auto;
    padding: 0 40px;
    width: 100%;
}

.hero-visual {
    position: relative;
    width: 100%;
    max-width: 1400px;
}

.hero-visual::before {
    display: none;
}

.hero-visual img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
}

.hero-content {
    max-width: 520px;
    display: flex;
    flex-direction: column;
    gap: 24px;
    color: #1A1A1A;
    animation: fadeInUp 1s ease-out 0.3s both;
}

.hero-title {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.hero-title::after {
    content: '';
    display: block;
    width: 120px;
    height: 4px;
    background: #F7931E;
    margin-top: 16px;
    margin-bottom: 8px;
}

.hero-title-primary {
    color: #1A1A1A;
    font-size: clamp(4rem, 8vw, 6.5rem);
    font-weight: 700;
    letter-spacing: -2px;
    text-shadow: 0 0 30px rgba(247, 147, 30, 0.3);
}

.hero-title-secondary {
    color: #1A1A1A;
    font-size: clamp(4rem, 8vw, 6.5rem);
    font-weight: 700;
    letter-spacing: -2px;
}

.hero-subtitle {
    color: #1A1A1A;
    font-size: clamp(1rem, 1.5vw, 1.2rem);
    font-weight: 400;
    line-height: 1.6;
}

.hero-title-accent {
    font-size: clamp(1.3rem, 2.5vw, 1.8rem);
    font-weight: 400;
    line-height: 1.5;
    margin-top: 8px;
}

.hero-accent-white {
    color: #1A1A1A;
}

.hero-accent-orange {
    color: #F7931E;
    font-weight: 500;
}

@media (max-width: 1200px) {
    .hero-banner {
        min-height: auto;
        background: #FFFFFF;
    }

    .hero-banner::after,
    .hero-banner::before {
        display: none;
    }

    .hero-inner {
        grid-template-columns: 1fr;
        gap: 48px;
        text-align: center;
        padding: 0 32px;
    }

    .hero-visual {
        max-width: 1300px;
        margin: 0 auto;
    }

    .hero-content {
        align-items: center;
        max-width: 100%;
        background: transparent;
        padding: 0;
    }

    .hero-title,
    .hero-title-accent,
    .hero-subtitle {
        text-align: center;
    }

    .hero-title::after {
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 640px) {
    .hero-banner {
        padding: 60px 0;
        min-height: auto;
        background: #FFFFFF;
    }

    .hero-inner {
        gap: 36px;
        padding: 0 20px;
    }

    .hero-visual {
        max-width: 100%;
    }

    .hero-content {
        padding: 0;
    }

    .hero-title::after {
        width: 100px;
        height: 3px;
    }

    .hero-title-primary,
    .hero-title-secondary {
        font-size: clamp(3.4rem, 13vw, 5.8rem);
    }

    .hero-title-accent {
        font-size: clamp(1.2rem, 4.5vw, 1.6rem);
    }

    .hero-subtitle {
        font-size: clamp(1rem, 3.5vw, 1.2rem);
    }
}

.secondary-link {
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    position: relative;
    padding-bottom: 6px;
}

.secondary-link::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 2px;
    background: rgba(255, 255, 255, 0.35);
    transition: transform 0.35s ease, background 0.35s ease;
    transform-origin: left;
}

.secondary-link:hover {
    color: var(--white);
}

.secondary-link:hover::after {
    transform: scaleX(1.1);
    background: var(--white);
}

.secondary-link::before {
    content: '→';
    display: inline-block;
    transform: translateY(-1px);
    opacity: 0.6;
    transition: transform 0.35s ease, opacity 0.35s ease;
}

.secondary-link:hover::before {
    transform: translate(4px, -1px);
    opacity: 1;
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slowZoom {
    0% { transform: scale(1); }
    100% { transform: scale(1.1); }
}

.hero-banner::before {
    display: none;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.hero-banner::after {
    display: none;
}

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


@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.1); opacity: 0.8; }
}

.hero-overlay {
    display: none;
}

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

.hero-content::before,
.hero-content::after {
    display: none;
}

@keyframes ripple {
    0% { transform: translate(-50%, -50%) scale(0.8); opacity: 1; }
    100% { transform: translate(-50%, -50%) scale(1.2); opacity: 0; }
}

.hero-title {
    font-size: clamp(3rem, 6vw, 5.5rem);
    font-weight: 800;
    color: #1A1A1A;
    margin-bottom: 2rem;
    line-height: 1.1;
    letter-spacing: -2px;
    animation: slideInLeft 1s ease-out 0.3s both;
    text-shadow: 0 4px 20px rgba(247, 147, 30, 0.2);
    position: relative;
    padding-bottom: 20px;
}

.hero-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: var(--gradient-accent);
    border-radius: 2px;
    animation: expandLine 1s ease-out 1.5s both;
}

@keyframes expandLine {
    from { width: 0; }
    to { width: 100px; }
}

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

.accent-text {
    color: var(--primary-accent);
    display: block;
    margin-top: 0.5rem;
    animation: slideInRight 1s ease-out 0.5s both, pulseText 2s ease-in-out infinite 2s;
    font-weight: 900;
    position: relative;
    text-shadow: 0 0 30px rgba(247, 147, 30, 0.3);
}

@keyframes pulseText {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.02); }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}


.hero-subtitle {
    font-size: clamp(1.2rem, 2.5vw, 1.8rem);
    color: #2C2C2C;
    opacity: 0.9;
    margin-bottom: 3rem;
    font-weight: 400;
    animation: fadeInUp 1s ease-out 0.7s both;
    letter-spacing: 0.5px;
}

.cta-button {
    background: var(--primary-accent);
    color: var(--white);
    border: none;
    padding: 18px 45px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(247, 147, 30, 0.3);
    font-family: inherit;
    position: relative;
    overflow: hidden;
    animation: fadeInUp 1s ease-out 0.9s both;
}

.cta-button::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%);
    transition: width 0.6s, height 0.6s;
}

.cta-button:hover::before {
    width: 300px;
    height: 300px;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 30px rgba(247, 147, 30, 0.4);
    background: var(--primary-accent-hover);
}

.cta-button:active {
    transform: translateY(-1px) scale(1.02);
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.mouse {
    width: 26px;
    height: 40px;
    border: 2px solid var(--primary-accent);
    border-radius: 15px;
    position: relative;
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.3);
}

.wheel {
    width: 4px;
    height: 8px;
    background: var(--primary-accent);
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll 2s infinite;
    box-shadow: 0 0 10px var(--primary-accent);
}

@keyframes scroll {
    0% { opacity: 1; transform: translateX(-50%) translateY(0); }
    100% { opacity: 0; transform: translateX(-50%) translateY(10px); }
}

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

/* ===== Блок 2: О компании ===== */
.about-section {
    padding: 120px 0;
    background: linear-gradient(135deg, #FFFFFF 0%, #F8F8F8 50%, #FFFFFF 100%);
    position: relative;
    overflow: hidden;
}

.about-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary-accent), transparent);
    animation: shimmer 3s ease-in-out infinite;
}

.about-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary-accent), transparent);
    animation: shimmer 3s ease-in-out infinite 1.5s;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    position: relative;
    padding: 40px 0;
}

.about-content::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(247, 147, 30, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
    animation: float 15s ease-in-out infinite;
}

.about-text {
    position: relative;
    padding-left: 0;
    z-index: 1;
    background: transparent;
    padding: 0;
}

.accent-line {
    display: none;
}

.section-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    color: #1A1A1A;
    margin-bottom: 2rem;
    line-height: 1.2;
    letter-spacing: -1px;
    position: relative;
    display: inline-block;
}

.section-title::after {
    display: none;
}

.section-title.center::after {
    left: 50%;
    transform: translateX(-50%);
}

.section-subtitle-small {
    font-size: 0.9rem;
    color: #6A6A6A;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.about-paragraphs {
    margin-bottom: 2.5rem;
}

.about-paragraphs p {
    font-size: clamp(1rem, 1.2vw, 1.2rem);
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: #1A1A1A;
}

.about-paragraphs .large-text {
    font-size: clamp(1.3rem, 1.8vw, 1.6rem);
    font-weight: 600;
    color: #1A1A1A;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.highlight {
    color: var(--primary-accent);
    font-weight: 700;
}

.secondary-button {
    background: var(--primary-accent);
    color: var(--white);
    border: none;
    padding: 18px 45px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
    box-shadow: 0 4px 20px rgba(247, 147, 30, 0.3);
    display: inline-block;
    text-decoration: none;
    text-align: center;
}

.secondary-button:hover {
    background: var(--primary-accent-hover);
    transform: translateY(-3px);
    box-shadow: 0 6px 30px rgba(247, 147, 30, 0.4);
    color: var(--white);
    text-decoration: none;
}

.about-image {
    position: relative;
    width: 100%;
    max-width: 600px;
    height: auto;
    margin: 0 auto;
}

.about-image-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    width: 100%;
}

.about-image-item {
    width: 100%;
    aspect-ratio: 1;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-image-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18);
}

.about-image-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}


/* ===== Блок 3: Наши принципы ===== */
.principles-section {
    padding: 120px 0;
    background: linear-gradient(135deg, #F5F5F5 0%, #FFFFFF 50%, #F5F5F5 100%);
    background-size: 400% 400%;
    animation: gradientShift 20s ease infinite;
    position: relative;
    overflow: hidden;
}

.principles-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary-accent), transparent);
    animation: shimmer 4s ease-in-out infinite;
    z-index: 2;
}

.principles-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('ourWorks/e1cefffa84ac91195fd762a33789e16c.jpg');
    background-size: cover;
    background-position: center;
    opacity: 0.08;
    z-index: 0;
    filter: blur(3px) grayscale(100%);
}

.principles-section .container {
    position: relative;
    z-index: 1;
}

.section-title.center {
    text-align: center;
    margin-bottom: 60px;
}

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

.principle-card {
    background: var(--white);
    padding: 50px 40px;
    border-radius: 25px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 15px 50px rgba(247, 147, 30, 0.15);
    border: 2px solid rgba(247, 147, 30, 0.1);
    position: relative;
    overflow: hidden;
}

.principle-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(247, 147, 30, 0.15) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.principle-card:hover::before {
    opacity: 1;
}

.principle-card:hover {
    transform: translateY(-15px) scale(1.03);
    box-shadow: 0 25px 70px rgba(247, 147, 30, 0.25);
    border: 2px solid rgba(247, 147, 30, 0.4);
    background: linear-gradient(135deg, #FFFFFF 0%, #FFF9F0 100%);
}

.principle-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    color: var(--primary-accent);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    z-index: 1;
    filter: drop-shadow(0 0 15px rgba(247, 147, 30, 0.3));
    animation: floatIcon 3s ease-in-out infinite;
}

.principle-card:hover .principle-icon {
    transform: scale(1.2) rotate(10deg);
    filter: drop-shadow(0 0 25px rgba(247, 147, 30, 0.6));
    color: var(--secondary-accent);
}

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

.principle-card h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #1A1A1A;
    margin-bottom: 15px;
}

.principle-card p {
    font-size: 1.1rem;
    color: #4A4A4A;
    opacity: 0.9;
    line-height: 1.6;
}

/* ===== Блок 4: Наши направления ===== */
.services-section {
    padding: 120px 0;
    background: linear-gradient(135deg, #FFFFFF 0%, #F8F8F8 50%, #FFFFFF 100%);
    background-size: 400% 400%;
    animation: gradientShift 18s ease infinite;
    position: relative;
    overflow: hidden;
}

.services-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary-accent), transparent);
    animation: shimmer 3.5s ease-in-out infinite;
    z-index: 2;
}

.services-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('ourWorks/c09048665c1cf92a3698a0502983cc41.jpg');
    background-size: cover;
    background-position: center;
    opacity: 0.08;
    z-index: 0;
    filter: blur(3px) grayscale(100%);
}

.services-section .container {
    position: relative;
    z-index: 1;
}

.section-subtitle {
    font-size: 1.3rem;
    color: #4A4A4A;
    opacity: 0.9;
    text-align: center;
    margin-bottom: 60px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

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

.service-card {
    background: var(--white);
    padding: 40px;
    border-radius: 25px;
    border: 2px solid rgba(247, 147, 30, 0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    box-shadow: 0 15px 50px rgba(247, 147, 30, 0.12);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(247, 147, 30, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
    z-index: 0;
    opacity: 1;
}

.service-card:hover::before {
    width: 400px;
    height: 400px;
}

.service-card:hover {
    border-color: rgba(247, 147, 30, 0.4);
    transform: translateY(-10px) scale(1.03);
    box-shadow: 0 25px 70px rgba(247, 147, 30, 0.25);
    background: linear-gradient(135deg, #FFFFFF 0%, #FFF9F0 100%);
}

.service-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
    color: var(--primary-accent);
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
    filter: drop-shadow(0 0 15px rgba(247, 147, 30, 0.3));
    animation: floatIcon 3s ease-in-out infinite;
}

.service-card:hover .service-icon {
    color: var(--secondary-accent);
    filter: drop-shadow(0 0 25px rgba(247, 147, 30, 0.6));
    transform: scale(1.15) rotate(5deg);
}

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

.service-card h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: #1A1A1A;
    margin-bottom: 15px;
    position: relative;
    z-index: 1;
    transition: color 0.3s ease;
}

.service-card:hover h3 {
    color: #1A1A1A;
}

.service-card p {
    font-size: 1rem;
    color: #4A4A4A;
    opacity: 0.9;
    line-height: 1.6;
    position: relative;
    z-index: 1;
    transition: color 0.3s ease;
}

.service-card:hover p {
    color: #2C2C2C;
    opacity: 1;
}

/* ===== Блок 5: Почему выбирают нас ===== */
.why-us-section {
    padding: 120px 0;
    background: linear-gradient(135deg, var(--white) 0%, #F5F5F5 50%, var(--white) 100%);
    background-size: 400% 400%;
    animation: gradientShift 22s ease infinite;
    position: relative;
    overflow: hidden;
}

.why-us-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary-accent), transparent);
    animation: shimmer 4s ease-in-out infinite;
    z-index: 2;
}

.why-us-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 700;
    color: #1A1A1A;
    text-align: center;
    margin-bottom: 60px;
    letter-spacing: -1px;
    position: relative;
    z-index: 1;
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.why-us-section .why-us-title.prepare-animation {
    opacity: 0;
    transform: translateY(-30px);
}

.why-us-section .why-us-title.animate {
    opacity: 1;
    transform: translateY(0);
    animation: titleFadeIn 0.8s ease forwards;
}

@keyframes titleFadeIn {
    0% {
        opacity: 0;
        transform: translateY(-30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.why-us-features {
    margin-bottom: 80px;
    position: relative;
    z-index: 1;
}

.why-us-features-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 50px;
}

.why-us-feature {
    text-align: center;
    opacity: 1;
    transform: translateY(0) scale(1);
    transition: opacity 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275), 
                transform 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.why-us-feature.prepare-animation {
    opacity: 0;
    transform: translateY(60px) scale(0.7);
}

.why-us-feature.animate {
    opacity: 1;
    transform: translateY(0) scale(1);
    animation: featureGrow 1s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

@keyframes featureGrow {
    0% {
        opacity: 0;
        transform: translateY(60px) scale(0.7);
    }
    50% {
        opacity: 1;
        transform: translateY(-10px) scale(1.05);
    }
    75% {
        transform: translateY(3px) scale(0.98);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.why-us-feature.animate:nth-child(1) {
    animation-delay: 0s;
}

.why-us-feature.animate:nth-child(2) {
    animation-delay: 0.15s;
}

.why-us-feature.animate:nth-child(3) {
    animation-delay: 0.3s;
}

.why-us-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: scale(1) rotate(0deg);
    opacity: 1;
    transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1), 
                opacity 0.6s ease;
}

.why-us-feature.prepare-animation .why-us-icon {
    transform: scale(0) rotate(-180deg);
    opacity: 0;
}

.why-us-feature.animate .why-us-icon {
    animation: iconGrow 1s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.why-us-feature.animate:nth-child(1) .why-us-icon {
    animation-delay: 0.2s;
}

.why-us-feature.animate:nth-child(2) .why-us-icon {
    animation-delay: 0.35s;
}

.why-us-feature.animate:nth-child(3) .why-us-icon {
    animation-delay: 0.5s;
}

@keyframes iconGrow {
    0% {
        transform: scale(0) rotate(-180deg);
        opacity: 0;
    }
    50% {
        transform: scale(1.3) rotate(15deg);
        opacity: 1;
    }
    70% {
        transform: scale(0.9) rotate(-5deg);
    }
    85% {
        transform: scale(1.1) rotate(3deg);
    }
    100% {
        transform: scale(1) rotate(0deg);
        opacity: 1;
    }
}

.why-us-icon svg {
    width: 100%;
    height: 100%;
    transition: transform 0.3s ease;
}

.why-us-feature:hover .why-us-icon {
    transform: scale(1.1) rotate(5deg);
}

.why-us-feature:hover .why-us-icon svg {
    transform: scale(1.05);
}

.why-us-feature-title {
    font-size: clamp(1.2rem, 2vw, 1.5rem);
    font-weight: 600;
    color: #1A1A1A;
    margin-bottom: 16px;
    line-height: 1.3;
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.why-us-feature.prepare-animation .why-us-feature-title {
    opacity: 0;
    transform: translateY(20px);
}

.why-us-feature-text {
    font-size: clamp(0.95rem, 1.2vw, 1.1rem);
    color: rgba(26, 26, 26, 0.8);
    line-height: 1.6;
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.why-us-feature.prepare-animation .why-us-feature-text {
    opacity: 0;
    transform: translateY(15px);
}

.why-us-feature.animate .why-us-feature-title {
    animation: titleFadeInUp 0.6s ease forwards;
}

.why-us-feature.animate .why-us-feature-text {
    animation: textFadeInUp 0.6s ease forwards;
}

@keyframes titleFadeInUp {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes textFadeInUp {
    0% {
        opacity: 0;
        transform: translateY(15px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.why-us-feature.animate .why-us-feature-title {
    animation-delay: 0.6s;
}

.why-us-feature.animate .why-us-feature-text {
    animation-delay: 0.8s;
}

.why-us-stats {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 30px;
    padding-top: 60px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 1;
}

.why-us-stat-item {
    text-align: center;
    opacity: 1;
    transform: scale(1) translateY(0);
    transition: opacity 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275), 
                transform 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.why-us-stat-item.prepare-animation {
    opacity: 0;
    transform: scale(0.3) translateY(50px);
}

.why-us-stat-item.animate {
    opacity: 1;
    transform: scale(1) translateY(0);
    animation: statItemGrow 1s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

@keyframes statItemGrow {
    0% {
        opacity: 0;
        transform: scale(0.3) translateY(50px);
    }
    50% {
        opacity: 1;
        transform: scale(1.1) translateY(-8px);
    }
    75% {
        transform: scale(0.95) translateY(2px);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.why-us-stat-item.animate:nth-child(1) {
    animation-delay: 0s;
}

.why-us-stat-item.animate:nth-child(1) .why-us-stat-number {
    animation-delay: 0.15s;
}

.why-us-stat-item.animate:nth-child(2) {
    animation-delay: 0.15s;
}

.why-us-stat-item.animate:nth-child(2) .why-us-stat-number {
    animation-delay: 0.3s;
}

.why-us-stat-item.animate:nth-child(3) {
    animation-delay: 0.3s;
}

.why-us-stat-item.animate:nth-child(3) .why-us-stat-number {
    animation-delay: 0.45s;
}

.why-us-stat-item.animate:nth-child(4) {
    animation-delay: 0.45s;
}

.why-us-stat-item.animate:nth-child(4) .why-us-stat-number {
    animation-delay: 0.6s;
}

.why-us-stat-item.animate:nth-child(5) {
    animation-delay: 0.6s;
}

.why-us-stat-item.animate:nth-child(5) .why-us-stat-number {
    animation-delay: 0.75s;
}

.why-us-stat-number {
    font-size: clamp(2.5rem, 4vw, 4rem);
    font-weight: 700;
    color: #F7931E;
    line-height: 1;
    margin-bottom: 12px;
    display: inline-block;
    transform: scale(1);
    opacity: 1;
    transition: transform 0.2s ease-out;
    will-change: contents;
}

.why-us-stat-item.prepare-animation .why-us-stat-number {
    transform: scale(0);
    opacity: 0;
}

.why-us-stat-item.animate .why-us-stat-number {
    animation: numberGrow 1.2s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

@keyframes numberGrow {
    0% {
        transform: scale(0) rotate(-10deg) translateY(15px);
        opacity: 0;
    }
    40% {
        transform: scale(1.15) rotate(5deg) translateY(-5px);
        opacity: 1;
    }
    65% {
        transform: scale(0.97) rotate(-2deg) translateY(2px);
        opacity: 1;
    }
    80% {
        transform: scale(1.02) rotate(1deg) translateY(-1px);
    }
    100% {
        transform: scale(1) rotate(0deg) translateY(0);
        opacity: 1;
    }
}

.why-us-stat-label {
    font-size: clamp(0.75rem, 1vw, 0.9rem);
    color: rgba(26, 26, 26, 0.8);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.why-us-stat-item.prepare-animation .why-us-stat-label {
    opacity: 0;
    transform: translateY(20px) scale(0.8);
}

.why-us-stat-item.animate .why-us-stat-label {
    opacity: 1;
    transform: translateY(0) scale(1);
    animation: labelGrow 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

@keyframes labelGrow {
    0% {
        opacity: 0;
        transform: translateY(20px) scale(0.8);
    }
    60% {
        opacity: 0.9;
        transform: translateY(-4px) scale(1.05);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.why-us-stat-item.animate:nth-child(1) .why-us-stat-label {
    animation-delay: 0.6s;
}

.why-us-stat-item.animate:nth-child(2) .why-us-stat-label {
    animation-delay: 0.75s;
}

.why-us-stat-item.animate:nth-child(3) .why-us-stat-label {
    animation-delay: 0.9s;
}

.why-us-stat-item.animate:nth-child(4) .why-us-stat-label {
    animation-delay: 1.05s;
}

.why-us-stat-item.animate:nth-child(5) .why-us-stat-label {
    animation-delay: 1.2s;
}

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

.stat-item {
    text-align: center;
    position: relative;
    z-index: 1;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    padding: 40px 30px;
    border-radius: 25px;
    border: 2px solid rgba(247, 147, 30, 0.1);
    box-shadow: 0 15px 50px rgba(247, 147, 30, 0.12);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.stat-item:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 25px 70px rgba(247, 147, 30, 0.25);
    border-color: rgba(247, 147, 30, 0.4);
    background: linear-gradient(135deg, #FFFFFF 0%, #FFF9F0 100%);
}

.stat-number {
    font-size: 5rem;
    font-weight: 800;
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
    filter: drop-shadow(0 0 20px rgba(0, 212, 255, 0.5));
}

.stat-number::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 4px;
    background: var(--gradient-accent);
    animation: underline 1s ease-out 0.5s forwards;
    box-shadow: 0 0 20px var(--primary-accent);
}

@keyframes underline {
    to { width: 100%; }
}

.stat-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    color: var(--primary-accent);
    transition: all 0.4s ease;
    animation: floatIcon 3s ease-in-out infinite;
}

@keyframes floatIcon {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-10px) rotate(5deg); }
}

.stat-item:hover .stat-icon {
    transform: scale(1.2) rotate(10deg);
    filter: drop-shadow(0 0 30px rgba(0, 212, 255, 0.8));
    color: var(--secondary-accent);
}

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

.stat-label {
    font-size: 1.2rem;
    color: #2C2C2C;
    opacity: 0.9;
    line-height: 1.5;
}

.decorative-line {
    width: 100px;
    height: 4px;
    background: var(--gradient-accent);
    margin: 0 auto;
    transform: rotate(-45deg);
    position: relative;
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.5);
}

.decorative-line::before {
    content: '';
    position: absolute;
    top: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 10px;
    height: 10px;
    background: var(--primary-accent);
    border-radius: 50%;
    box-shadow: 0 0 15px var(--primary-accent);
}

/* ===== Блок: Наши работы ===== */
.portfolio-section {
    padding: 120px 0;
    background: linear-gradient(135deg, #F5F5F5 0%, #FFFFFF 50%, #F5F5F5 100%);
    background-size: 400% 400%;
    animation: gradientShift 20s ease infinite;
    position: relative;
    overflow: hidden;
}

.portfolio-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary-accent), transparent);
    animation: shimmer 3.5s ease-in-out infinite;
    z-index: 2;
}

.portfolio-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('ourWorks/ccyrk48b4x3sdcstzu32lchsl3c1j6f3.jpg');
    background-size: cover;
    background-position: center;
    opacity: 0.08;
    z-index: 0;
    filter: blur(3px) grayscale(100%);
}

.portfolio-section .container {
    position: relative;
    z-index: 1;
}

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

.portfolio-item {
    position: relative;
    border-radius: 25px;
    overflow: hidden;
    aspect-ratio: 4/3;
    box-shadow: 0 15px 50px rgba(247, 147, 30, 0.15);
    border: 2px solid rgba(247, 147, 30, 0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.portfolio-item:hover {
    transform: translateY(-10px) scale(1.03);
    box-shadow: 0 25px 70px rgba(247, 147, 30, 0.3);
    border-color: rgba(247, 147, 30, 0.3);
    cursor: pointer;
}

.portfolio-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-accent);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
}

.portfolio-item:hover::before {
    opacity: 0.2;
}

.portfolio-item:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 60px rgba(247, 147, 30, 0.2);
    border-color: rgba(247, 147, 30, 0.3);
}

.portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
    filter: brightness(0.9);
}

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

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        to bottom,
        transparent 0%,
        rgba(0, 0, 0, 0.3) 50%,
        rgba(0, 0, 0, 0.8) 100%
    );
    display: flex;
    align-items: flex-end;
    padding: 30px;
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 2;
}

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

.portfolio-content {
    color: var(--white);
    transform: translateY(20px);
    transition: transform 0.4s ease;
}

.portfolio-item:hover .portfolio-content {
    transform: translateY(0);
}

.portfolio-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.portfolio-content p {
    font-size: 1rem;
    color: var(--light-text);
    opacity: 0.9;
}

/* ===== Блок: Наши клиенты ===== */
.clients-section {
    padding: 120px 0;
    background: linear-gradient(135deg, var(--white) 0%, #F8F8F8 50%, var(--white) 100%);
    background-size: 400% 400%;
    animation: gradientShift 18s ease infinite;
    position: relative;
    overflow: hidden;
}

.clients-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary-accent), transparent);
    animation: shimmer 3.5s ease-in-out infinite;
    z-index: 1;
}

.clients-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-top: 60px;
}

.client-logo {
    background: var(--white);
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 15px 50px rgba(247, 147, 30, 0.12);
    border: 2px solid rgba(247, 147, 30, 0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    align-items: center;
    justify-content: center;
    height: 150px;
    overflow: hidden;
    position: relative;
}

.client-logo:hover {
    transform: translateY(-8px) scale(1.05);
    box-shadow: 0 25px 70px rgba(247, 147, 30, 0.25);
    border-color: rgba(247, 147, 30, 0.4);
    background: linear-gradient(135deg, #FFFFFF 0%, #FFF9F0 100%);
}

.client-logo::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(247, 147, 30, 0.1), transparent);
    transition: left 0.5s ease;
    z-index: 1;
}

.client-logo:hover::before {
    left: 100%;
}

.client-logo img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.client-logo:hover img {
    opacity: 1;
    transform: scale(1.05);
}

/* ===== Блок 6: Контакты ===== */
.contacts-section {
    padding: 120px 0;
    background: var(--white);
}

.contacts-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin: 60px 0;
}

.contacts-info {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

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

.contact-icon {
    width: 50px;
    height: 50px;
    min-width: 50px;
    color: var(--primary-accent);
    flex-shrink: 0;
    filter: drop-shadow(0 0 15px rgba(0, 212, 255, 0.4));
}

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

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

.contact-details a {
    color: #1A1A1A;
    text-decoration: none;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

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

.contact-details p {
    color: #2C2C2C;
    font-size: 1.2rem;
    line-height: 1.6;
}

.contact-form-wrapper {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    padding: 50px;
    border-radius: 25px;
    box-shadow: 0 20px 60px rgba(247, 147, 30, 0.15);
    border: 2px solid rgba(247, 147, 30, 0.1);
}

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

.form-group {
    position: relative;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px 20px;
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: 10px;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
    background: var(--dark-bg);
    color: var(--light-text);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-accent);
    box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.1), 0 0 20px rgba(0, 212, 255, 0.2);
    transform: translateY(-2px);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.map-wrapper {
    margin: 60px 0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    width: 100%;
    position: relative;
}

.map-wrapper iframe {
    width: 100%;
    height: 450px;
    display: block;
    border: none;
}

@media (max-width: 768px) {
    .map-wrapper {
        margin: 40px 0;
        border-radius: 8px;
    }
    
    .map-wrapper iframe {
        height: 350px;
    }
}

@media (max-width: 480px) {
    .map-wrapper iframe {
        height: 300px;
    }
}

.footer-message {
    text-align: center;
    margin-top: 60px;
    padding: 40px;
    border-top: 2px solid rgba(247, 147, 30, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(10px);
    border-radius: 25px;
    box-shadow: 0 10px 40px rgba(247, 147, 30, 0.1);
}

.footer-logo {
    height: 60px;
    width: auto;
    object-fit: contain;
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.footer-logo:hover {
    opacity: 1;
}

.footer-message p {
    font-size: 1.5rem;
    color: var(--light-text);
}

.footer-message strong {
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 20px rgba(0, 212, 255, 0.5));
}

/* ===== Адаптивность ===== */
@media (max-width: 968px) {
    .logo-img {
        max-height: 60px;
    }
    
    .logo {
        height: 65px;
        padding: 6px 18px;
    }
    
    .navbar {
        padding: 22px 0;
    }

    .nav-menu {
        position: fixed;
        top: 95px;
        left: -100%;
        flex-direction: column;
        background: var(--white);
        width: 100%;
        padding: 2rem;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        transition: left 0.3s ease;
    }

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

    .mobile-menu-btn {
        display: flex;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-image-grid {
        gap: 12px;
    }

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

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

    .clients-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }

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

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

    .why-us-features-row {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .why-us-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 25px;
    }
}

@media (max-width: 640px) {
    .logo-img {
        max-height: 50px;
    }
    
    .logo {
        height: 55px;
        padding: 5px 15px;
    }
    
    .navbar {
        padding: 20px 0;
    }
    
    .nav-menu {
        top: 85px;
    }

    .footer-logo {
        height: 50px;
    }

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

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

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

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

    .stat-number {
        font-size: 3rem;
    }

    .why-us-section {
        padding: 40px 0 30px;
    }

    .why-us-title {
        margin-bottom: 25px;
        font-size: clamp(1.8rem, 6vw, 2.5rem);
    }

    .why-us-features {
        margin-bottom: 30px;
    }

    .why-us-features-row {
        grid-template-columns: 1fr;
        gap: 25px;
        margin-bottom: 25px;
    }

    .why-us-icon {
        width: 50px;
        height: 50px;
        margin-bottom: 15px;
    }

    .why-us-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
        padding-top: 25px;
    }

    .why-us-stat-number {
        font-size: 1.8rem;
        margin-bottom: 8px;
    }

    .why-us-stat-label {
        font-size: 0.7rem;
    }

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

    .portfolio-grid {
        margin-top: 30px;
        gap: 20px;
    }

    .contact-form-wrapper {
        padding: 30px 20px;
    }

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

    .client-logo {
        height: 120px;
        padding: 20px;
    }

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

@media (max-width: 1024px) {
    .hero-banner {
        padding: 120px 0 80px;
    }

    .hero-inner {
        grid-template-columns: 1fr;
        gap: 48px;
        text-align: center;
    }

    .hero-content {
        align-items: center;
    }
}

@media (max-width: 640px) {
    .hero-banner {
        padding: 110px 0 70px;
    }

}

/* ===== Плавная прокрутка ===== */
html {
    scroll-behavior: smooth;
}

/* ===== Анимации появления при прокрутке ===== */
@media (prefers-reduced-motion: no-preference) {
    .principle-card,
    .service-card,
    .stat-item,
    .client-logo,
    .portfolio-item {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
        animation: fadeInUpScale 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
    }

    @keyframes fadeInUpScale {
        to {
            opacity: 1;
            transform: translateY(0) scale(1);
        }
    }

    .principle-card:nth-child(1) { animation-delay: 0.1s; }
    .principle-card:nth-child(2) { animation-delay: 0.2s; }
    .principle-card:nth-child(3) { animation-delay: 0.3s; }

    .service-card:nth-child(1) { animation-delay: 0.1s; }
    .service-card:nth-child(2) { animation-delay: 0.2s; }
    .service-card:nth-child(3) { animation-delay: 0.3s; }
    .service-card:nth-child(4) { animation-delay: 0.4s; }
    .service-card:nth-child(5) { animation-delay: 0.5s; }
    .service-card:nth-child(6) { animation-delay: 0.6s; }

    .client-logo:nth-child(1) { animation-delay: 0.1s; }
    .client-logo:nth-child(2) { animation-delay: 0.15s; }
    .client-logo:nth-child(3) { animation-delay: 0.2s; }
    .client-logo:nth-child(4) { animation-delay: 0.25s; }
    .client-logo:nth-child(5) { animation-delay: 0.3s; }
    .client-logo:nth-child(6) { animation-delay: 0.35s; }
    .client-logo:nth-child(7) { animation-delay: 0.4s; }
    .client-logo:nth-child(8) { animation-delay: 0.45s; }

    .portfolio-item {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
        animation: fadeInUpScale 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
    }

    .portfolio-item:nth-child(1) { animation-delay: 0.1s; }
    .portfolio-item:nth-child(2) { animation-delay: 0.15s; }
    .portfolio-item:nth-child(3) { animation-delay: 0.2s; }
    .portfolio-item:nth-child(4) { animation-delay: 0.25s; }
    .portfolio-item:nth-child(5) { animation-delay: 0.3s; }
    .portfolio-item:nth-child(6) { animation-delay: 0.35s; }
    .portfolio-item:nth-child(7) { animation-delay: 0.4s; }
    .portfolio-item:nth-child(8) { animation-delay: 0.45s; }
    .portfolio-item:nth-child(9) { animation-delay: 0.5s; }
    .portfolio-item:nth-child(10) { animation-delay: 0.55s; }
    .portfolio-item:nth-child(11) { animation-delay: 0.6s; }
}

/* ===== WhatsApp кнопка ===== */
.whatsapp-button {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: all 0.3s ease;
    text-decoration: none;
}

.whatsapp-button:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.6);
    background: #20BA5A;
}

.whatsapp-button svg {
    width: 32px;
    height: 32px;
}

@media (max-width: 640px) {
    .whatsapp-button {
        width: 55px;
        height: 55px;
        bottom: 20px;
        right: 20px;
    }
    
    .whatsapp-button svg {
        width: 28px;
        height: 28px;
    }
}

