/* ================= RESET ================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', Arial, sans-serif;
    color: #1f2933;
    line-height: 1.6;
}

/* ================= HERO ================= */

.hero {
    position: relative;
    width: 100%;
    height: 85vh;
    min-height: 520px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-image: url("./images/hero-bg-v4.jpg"); /* ИЛИ ?v=4 */
    background-size: cover;
    background-position: center;
    z-index: 1;
}

.hero-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(20, 45, 25, 0.18),
        rgba(20, 45, 25, 0.30),
        rgba(20, 45, 25, 0.55)
    );
}

.hero-content {
    position: relative;
    z-index: 2;
    height: 100%;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    text-align: center;
    padding: 0 24px;
}

.hero-logo {
    width: 560px;
    max-width: 92vw;
    margin-bottom: 36px;
    filter: drop-shadow(0 18px 42px rgba(0,0,0,0.65));
}

.hero-content h1 {
    font-family: 'Inter', Arial, sans-serif;
    font-size: 52px;
    font-weight: 600;
    line-height: 1.15;
    letter-spacing: -0.02em;

    color: rgba(255,255,255,0.97);

    text-shadow:
        0 8px 26px rgba(0,0,0,0.75),
        0 2px 4px rgba(0,0,0,0.8);
}

/* MOBILE */
@media (max-width: 768px) {
    .hero {
        height: 75vh;
        min-height: 460px;
    }

    .hero-logo {
        width: 300px;
        margin-bottom: 20px;
    }

    .hero-content h1 {
        font-size: 28px;
    }
}

/* ================= ABOUT ================= */
.about {
    padding: 80px 10%;
}

.about-with-video {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
}

.about .text {
    font-size: 16px;
}

.about-video {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

.about-video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: brightness(0.95);
}

/* ================= WHY ================= */
.why-section {
    padding: 80px 10%;
    background: #ffffff;
}

.why-layout {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 60px;
    align-items: flex-start;
}

.why-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.12);
}

.why-section h2 {
    font-size: 32px;
    margin-bottom: 40px;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px 40px;
}

.why-card h3 {
    font-size: 16px;
    margin-bottom: 12px;
}

.why-card ul {
    padding-left: 18px;
}

.why-card li {
    margin-bottom: 6px;
}

/* ================= CTA ================= */
.cta {
    padding: 80px 10%;
    text-align: center;
}

.cta h2 {
    font-size: 32px;
    margin-bottom: 24px;
}

.btn {
    display: inline-block;
    padding: 14px 36px;
    background: #3f6b3f;
    color: #ffffff;
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    border-radius: 8px;
    transition: background 0.2s ease, transform 0.15s ease;
}

.btn:hover {
    background: #335a33;
    transform: translateY(-1px);
}

/* ================= INFO BAR ================= */
.info-bar {
    width: 100%;
    background-image: url("./images/footer-bg.jpg");
    background-size: cover;
    background-position: center;
}

.info-overlay {
    background: linear-gradient(
        to right,
        rgba(20, 50, 20, 0.75),
        rgba(20, 50, 20, 0.55),
        rgba(20, 50, 20, 0.35)
    );
    padding: 48px 0;
}

.info-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #ffffff;
}

.info-left {
    display: flex;
    align-items: center;
    gap: 20px;
}

.info-left img {
    height: 46px;
}

.info-right a {
    color: #ffffff;
    text-decoration: none;
}

/* ================= FOOTER ================= */
footer {
    background: #1f2933;
    color: white;
    text-align: center;
    padding: 20px;
}

/* ================= MOBILE FIX ================= */
@media (max-width: 768px) {

    /* Общие отступы */
    .about,
    .why-section,
    .cta {
        padding: 48px 20px;
    }

    /* ABOUT */
    .about-with-video {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .about-video {
        order: -1; /* видео сверху */
    }

    /* WHY */
    .why-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .why-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .why-section h2 {
        font-size: 24px;
        margin-bottom: 24px;
    }

    /* INFO BAR */
    .info-content {
        flex-direction: column;
        gap: 16px;
        text-align: center;
        padding: 0 20px;
    }

    .info-left {
        flex-direction: column;
        gap: 12px;
    }

    .info-left img {
        height: 40px;
    }

    /* Footer text */
    footer {
        font-size: 14px;
    }
}

