:root {
    --green-primary: #1b6735;
    --green-dark: #012807;
    --green-neon: #00e34b;
    --text-dark: #1f2937;
    --text-soft: #6b7280;
    --bg-light: #f7f7f7;
}

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
    font-family: "Poppins", sans-serif;
    color: var(--text-dark);
    background: #fff;
}

.wrap {
    width: min(1120px, calc(100% - 2rem));
    margin: 0 auto;
}

.narrow {
    width: min(920px, calc(100% - 2rem));
}

.side-dots {
    position: fixed;
    left: 8px;
    top: 140px;
    z-index: 50;
    display: flex;
    flex-direction: column;
    gap: 58px;
}

.side-dots span {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #2d74ff;
    border: 2px solid #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.24);
}

.hero {
    position: relative;
    min-height: 92vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: url("../images/hero-section.webp") center center / cover no-repeat;
}

.hero::before {
    content: "";
    position: absolute;
    inset: -12px;
    background: url("../images/hero-section.webp") center center / cover no-repeat;
    filter: blur(0.35px) saturate(1.02);
    transform: scale(1.002);
    z-index: 0;
}

.hero-overlay,
.cta-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0, 55, 23, 0.72) 0%, rgba(8, 63, 31, 0.52) 52%, rgba(0, 0, 0, 0.3) 100%);
    backdrop-filter: blur(0.2px);
    z-index: 1;
}

.hero-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.08fr 0.92fr;
    gap: 2.1rem;
    align-items: center;
    padding: 5rem 0 4.2rem;
}

.logo-image {
    display: block;
    width: 100%;
    height: auto;
}

.logo-hero {
    max-width: 220px;
    margin-bottom: 1.8rem;
}

.hero-copy h1 {
    color: #fff;
    font-size: clamp(1.95rem, 2.95vw, 3.05rem);
    line-height: 1.12;
    margin: 0 0 1.45rem;
    max-width: 590px;
}

.hero-copy p {
    color: #f0f3f4;
    font-size: clamp(1.02rem, 1.32vw, 1.55rem);
    line-height: 1.34;
    margin: 0;
    max-width: 540px;
}

.card-form {
    background: #fff;
    border-radius: 14px;
    padding: 1.35rem;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.28);
    display: grid;
    gap: 0.44rem;
    width: min(430px, 100%);
    justify-self: end;
}

.card-form h2 {
    margin: 0 0 0.35rem;
    font-size: 1.18rem;
    color: #111827;
}

.card-form label {
    font-size: 0.82rem;
    color: #334155;
    font-weight: 600;
}

.card-form input,
.card-form textarea {
    width: 100%;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    padding: 0.63rem 0.72rem;
    font: inherit;
    font-size: 0.93rem;
    color: #0f172a;
    background: #f8fafc;
}

.card-form textarea {
    min-height: 96px;
    resize: vertical;
}

.card-form button,
.cta-btn {
    border: 0;
    border-radius: 7px;
    background: var(--green-neon);
    color: #fff;
    font-weight: 700;
    font-size: 0.98rem;
    padding: 0.74rem 0.9rem;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.2s ease, filter 0.2s ease;
}

.card-form button:disabled {
    cursor: not-allowed;
    opacity: 0.75;
}

.card-form button:hover,
.cta-btn:hover {
    filter: brightness(0.95);
    transform: translateY(-1px);
}

.form-feedback {
    min-height: 1.1rem;
    margin: 0.2rem 0 0;
    font-size: 0.78rem;
    font-weight: 600;
}

.form-feedback.loading {
    color: #475569;
}

.form-feedback.success {
    color: #15803d;
}

.form-feedback.error {
    color: #b91c1c;
}

.card-form-green .form-feedback.loading {
    color: #e2e8f0;
}

.card-form-green .form-feedback.success {
    color: #bbf7d0;
}

.card-form-green .form-feedback.error {
    color: #fecaca;
}

.services {
    padding: 4.8rem 0;
    text-align: center;
    background: #fff;
}

.services h2,
.contact h2,
.cta h2 {
    margin: 0 0 0.8rem;
    font-size: clamp(1.62rem, 2.5vw, 2.25rem);
    line-height: 1.2;
}

.services > .wrap > p,
.cta p {
    margin: 0 auto 1.7rem;
    color: var(--text-soft);
    line-height: 1.55;
    max-width: 860px;
}

.service-box {
    margin-top: 2.1rem;
    text-align: left;
    border-radius: 12px;
    background: var(--bg-light);
    padding: 2rem 2.2rem;
}

.service-box h3 {
    margin: 0 0 0.9rem;
    color: var(--green-primary);
    font-size: 1.35rem;
}

.service-box ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 0.72rem;
}

.service-box li {
    position: relative;
    padding-left: 1.45rem;
    line-height: 1.45;
}

.service-box li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--green-primary);
    font-weight: 700;
}

.cta {
    position: relative;
    overflow: hidden;
    background: url("../images/section-image.webp") center center / cover no-repeat;
    padding: 4rem 0;
    text-align: center;
    color: #fff;
}

.cta::before {
    content: "";
    position: absolute;
    inset: -10px;
    background: url("../images/section-image.webp") center center / cover no-repeat;
    filter: blur(0.35px) saturate(1.02);
    transform: scale(1.002);
    z-index: 0;
}

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

.cta p {
    color: #dce2e7;
}

.cta-btn {
    display: inline-block;
    min-width: 280px;
}

.contact {
    padding: 4.6rem 0 4.1rem;
    background: #fff;
}

.contact h2 {
    max-width: 890px;
    margin-bottom: 1.2rem;
}

.contact-copy p {
    margin: 0 0 0.7rem;
    line-height: 1.52;
    color: #4b5563;
}

.contact-copy .strong {
    font-weight: 700;
    color: #111827;
    margin-bottom: 1.4rem;
}

.card-form-green {
    max-width: 620px;
    background: var(--green-primary);
    margin: 1.1rem auto 0;
    justify-self: center;
}

.card-form-green label {
    color: #fff;
}

.card-form-green input,
.card-form-green textarea {
    background: #fff;
}

.partners {
    padding: 4rem 0 3.6rem;
    text-align: center;
    border-top: 1px solid #e5e7eb;
    border-bottom: 1px solid #e5e7eb;
}

.partners h3 {
    margin: 0 0 1.3rem;
    color: var(--green-primary);
    font-size: 2rem;
}

.partners-carousel {
    overflow: hidden;
    margin-top: 0.8rem;
    mask-image: linear-gradient(90deg, transparent 0%, #000 10%, #000 90%, transparent 100%);
}

.partners-track {
    display: flex;
    width: max-content;
    gap: 0.9rem;
    animation: partners-scroll 28s linear infinite;
}

.partner-item {
    min-width: 150px;
    height: 84px;
    padding: 0.7rem 0.9rem;
    border: 1px solid #d9dee3;
    border-radius: 10px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.partner-item img {
    max-width: 132px;
    max-height: 44px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.footer {
    background: var(--green-dark);
    color: #fff;
    text-align: center;
    padding: 2.4rem 0 2rem;
}

.footer-inner {
    width: min(940px, 100%);
    margin: 0 auto;
}

.footer-logo {
    max-width: 140px;
    margin: 0 auto 0.35rem;
}

.footer-subtitle {
    margin: 0 0 1rem;
    color: #9cb3a7;
    font-size: 1.05rem;
    font-weight: 400;
}

.footer-contact {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.7rem;
    color: #8fa195;
    font-size: 0.95rem;
    flex-wrap: wrap;
}

.footer-contact .sep {
    opacity: 0.6;
}

.footer-divider {
    width: min(1020px, 92%);
    height: 1px;
    background: rgba(148, 163, 155, 0.34);
    margin: 1rem auto 0.85rem;
}

.footer-security {
    margin: 0 0 0.25rem;
    color: #b6c9bd;
    font-size: 0.95rem;
}

.footer-copy {
    margin: 0;
    color: #88a193;
    font-size: 0.82rem;
}

.footer-rights {
    margin: 0;
    color: #88a193;
    font-size: 0.9rem;
}

@media (max-width: 920px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 1.6rem;
        padding-top: 3.5rem;
    }

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

    .hero-copy h1 {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-copy p {
        margin-left: auto;
        margin-right: auto;
    }

    .logo-hero {
        margin: 0 auto 1.5rem;
    }

    .card-form {
        max-width: 560px;
        margin: 0 auto;
        justify-self: center;
    }

    .footer-contact .sep {
        display: none;
    }

    .footer-subtitle {
        font-size: 0.98rem;
    }

    .footer-contact {
        font-size: 0.86rem;
        flex-direction: column;
        gap: 0.2rem;
    }

    .footer-security {
        font-size: 0.85rem;
    }

    .footer-copy,
    .footer-rights {
        font-size: 0.78rem;
    }

    .partner-item {
        min-width: 128px;
        height: 76px;
    }

    .partner-item img {
        max-width: 108px;
        max-height: 38px;
    }
}

@media (max-width: 640px) {
    .side-dots {
        display: none;
    }

    .services,
    .contact {
        padding-top: 3.2rem;
        padding-bottom: 3.2rem;
    }

    .partners-track {
        gap: 0.65rem;
    }
}

@keyframes partners-scroll {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}
