* {
    margin: 0;
    padding: 0;
    box-sizing: border-box
}

:root {
    --primary-color: #2563eb;
    --primary-dark: #1d4ed8;
    --secondary-color: #f59e0b;
    /*--accent-color: #10b981;*/
    --accent-color: #07390C;

    --text-primary: #1f2937;
    --text-secondary: #6b7280;
    --text-light: #9ca3af;
    --bg-primary: #ffffff;
    --bg-secondary: #f9fafb;
    --bg-dark: #111827;
    --border-color: #e5e7eb;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --gradient-primary: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    --gradient-hero: linear-gradient(135deg, rgba(37, 99, 235, 0.9) 0%, rgba(29, 78, 216, 0.9) 100%)
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box
}

:root {
    --primary-green: #07390C;
    --light-green: #4a7c4a;
    --accent-green: #5cb85c;
    --text-dark: #333333;
    --text-light: #666666;
    --white: #ffffff;
    --light-gray: #f8f9fa;
    --border-gray: #e0e0e0;
    --font-primary: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    --font-size-base: 16px;
    --font-size-sm: 14px;
    --font-size-lg: 18px;
    --font-size-xl: 24px;
    --font-size-2xl: 32px;
    --font-size-3xl: 48px;
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-2xl: 4rem
}

body {
    font-family: var(--font-primary);
    font-size: var(--font-size-base);
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    margin: 0
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--spacing-sm)
}

@media (min-width:1280px) {

    .container {
        padding: 0 var(--spacing-lg)
    }
}

.container_hero {
    width: 100%;
    max-width: 1200px;
    margin: 10px auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    /* Вертикальное центрирование */
    min-height: 120px;
    /* Можно увеличить при необходимости */
}

.hero-content {
    max-width: 600px;
    z-index: 1;
    position: relative;
}

.company-name {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 2rem;
    letter-spacing: -.02em;
    color: #fff;
    text-shadow: 2px 2px 4px gray
}

.company-description {
    font-size: 1.125rem;
    font-weight: 400;
    line-height: 1.7;
    margin-bottom: 3rem;
    max-width: 550px;
    opacity: .95;
    color: #f0f0f0;
    text-shadow: 2px 2px 4px gray
}

.hero-background {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-size: cover;
    background-position: center
}

.cta-button {
    display: inline-block;
    background-color: rgba(255, 255, 255, .95);
    color: #2e7d32;
    padding: 16px 32px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.125rem;
    transition: all .3s ease;
    border: 2px solid transparent;
    cursor: pointer
}

.cta-button:focus,
.cta-button:hover {
    background-color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, .15);
    outline: 0
}

.cta-button:focus {
    border-color: #2e7d32;
    outline: 2px solid #2e7d32;
    outline-offset: 2px
}

body {
    font-family: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-primary)
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px
}

.partners {
    padding: 4rem 0;
    background: var(--bg-secondary)
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    align-items: center
}

.partner-item {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    background: #fff;
    border-radius: 15px;
    box-shadow: var(--shadow-sm);
    transition: all .3s ease
}

.partner-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md)
}

.partner-logo {
    max-height: 80px;
    max-width: 100%;
    object-fit: contain;
    filter: grayscale(100%);
    transition: filter .3s ease
}

.partner-item:hover .partner-logo {
    filter: grayscale(0)
}

.about {
    padding: 6rem 0;
    background: var(--bg-primary)
}

.section-header {
    text-align: center;
    margin-bottom: 4rem
}

.section-title {
    font-size: 3rem;
    font-weight: 700;
    color: var(--);
    margin-bottom: 1rem;
    position: relative
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--accent-color);
    border-radius: 2px
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem
}

.about-card {
    background: #fff;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    transition: all .3s ease;
    border: 1px solid var(--border-color)
}

.about-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl)
}

.card-icon {
    width: 80px;
    height: 80px;
    background: var(--accent-color);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem
}

.card-icon i {
    font-size: 2rem;
    color: #fff
}

.about-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem
}

.about-card p {
    color: var(--text-secondary);
    line-height: 1.7
}

.contact-info-card {
    background: var(--accent-color);
    padding: 3rem;
    border-radius: 25px;
    color: #fff;
    text-align: center;
    position: relative;
    overflow: hidden
}

.contact-info-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, .1) 0, transparent 70%);
    animation: float 6s ease-in-out infinite
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0) rotate(0)
    }

    50% {
        transform: translateY(-20px) rotate(180deg)
    }
}

.contact-content {
    position: relative;
    z-index: 2
}

.contact-info-card h3 {
    font-size: 2rem;
    margin-bottom: 1rem
}

.contact-info-card p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: .9
}

.contact-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    justify-content: center
}

.contact-item i {
    font-size: 1.2rem;
    color: var(--secondary-color)
}

@media (max-width:768px) {
    .about-grid {
        grid-template-columns: 1fr
    }

    .contact-details {
        grid-template-columns: 1fr
    }

    .section-title {
        font-size: 2rem
    }
}

/* Дополнительные стили для мобильных устройств */
@media (max-width:480px) {
    .about-card {
        padding: 1.5rem
    }

    .contact-info-card {
        padding: 2rem
    }

    .partners-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .partner-item {
        padding: 1.5rem;
        max-height: 100px;
        box-shadow: var(--shadow-md);
    }

    .partner-logo {
        max-height: 60px;
        filter: grayscale(0%);
    }

    /*.partner-item:hover {
        transform: none;
        box-shadow: var(--shadow-sm);
    }

    .partner-item:hover .partner-logo {
        filter: grayscale(100%);
    }*/
}

html {
    scroll-behavior: smooth
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px)
    }

    to {
        opacity: 1;
        transform: translateY(0)
    }
}

.about-card {
    animation: fadeInUp .6s ease forwards
}

.about-card:nth-child(2) {
    animation-delay: .2s
}

.about-card:nth-child(3) {
    animation-delay: .4s
}