* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
}

:root {
    --green: #07a507;
    --green-deep: #036b35;
    --green-bright: #00c853;
    --dark: #07130e;
    --muted: #5d7065;
    --light: #f5fff8;
    --white: #ffffff;
    --shadow: 0 24px 70px rgba(0, 0, 0, 0.16);
}

body {
    background: var(--light);
    color: var(--dark);
    line-height: 1.6;
    overflow-x: hidden;
}

header {
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    backdrop-filter: blur(14px);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: 0.8rem 5%;
    max-width: 1240px;
    margin: 0 auto;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.85rem;
    text-decoration: none;
}

.brand img {
    height: 58px;
    width: 58px;
    border-radius: 50%;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.16);
}

.name {
    color: var(--green);
    font-size: clamp(20px, 4vw, 34px);
    font-weight: 800;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 1.35rem;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: var(--green);
    font-weight: 700;
    font-size: 0.95rem;
}

.btn,
.btn-hero {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0.75rem 1.45rem;
    border: 0;
    border-radius: 999px;
    color: var(--white);
    background: linear-gradient(135deg, var(--green), var(--green-bright));
    box-shadow: 0 14px 30px rgba(7, 165, 7, 0.28);
    font-weight: 800;
    text-decoration: none;
    cursor: pointer;
}

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

.burger span {
    width: 27px;
    height: 3px;
    background-color: var(--green);
    border-radius: 999px;
}

.close-btn {
    display: none;
    place-items: center;
    position: fixed;
    top: 1rem;
    right: 1rem;
    width: 44px;
    height: 44px;
    cursor: pointer;
    z-index: 1100;
    color: var(--white);
    background: var(--dark);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    font-size: 2rem;
    line-height: 1;
}

.contact-hero {
    min-height: 68vh;
    padding: 9rem 5% 4.5rem;
    display: grid;
    align-items: center;
    color: var(--white);
    background:
        linear-gradient(90deg, rgba(7, 19, 14, 0.94) 0%, rgba(7, 19, 14, 0.72) 50%, rgba(7, 165, 7, 0.12) 100%),
        url("../images/support.jpg") center right / cover no-repeat;
    position: relative;
}

.contact-hero::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 28%;
    background: linear-gradient(180deg, rgba(245, 255, 248, 0), var(--light));
}

.contact-hero-content {
    position: relative;
    z-index: 1;
    max-width: 760px;
    margin: 0 auto;
    width: 100%;
}

.eyebrow {
    display: inline-flex;
    margin-bottom: 1rem;
    color: #baf7c6;
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
}

.contact-hero h1 {
    max-width: 760px;
    font-size: clamp(2.35rem, 6vw, 4.8rem);
    line-height: 1.03;
    margin-bottom: 1.2rem;
}

.contact-hero p {
    max-width: 650px;
    color: rgba(255, 255, 255, 0.88);
    font-size: clamp(1rem, 2vw, 1.24rem);
}

.contact-main {
    padding: 5rem 5%;
    background:
        linear-gradient(180deg, rgba(245, 255, 248, 0.97), rgba(255, 255, 255, 0.98)),
        url("../images/phone.png") center / 220px no-repeat;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.8fr);
    gap: 1.5rem;
    max-width: 1120px;
    width: 100%;
    margin: 0 auto;
}

.contact-form,
.contact-info {
    padding: 1.7rem;
    border-radius: 8px;
    background: var(--white);
    border: 1px solid rgba(7, 165, 7, 0.12);
    box-shadow: 0 18px 45px rgba(7, 19, 14, 0.08);
}

.contact-form h2,
.contact-info h2 {
    margin-bottom: 1.5rem;
    color: var(--green-deep);
    font-size: clamp(1.45rem, 3vw, 2rem);
}

.form-field {
    margin-bottom: 1rem;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 0.95rem 1rem;
    border-radius: 8px;
    border: 1px solid rgba(7, 165, 7, 0.18);
    background: #fafffb;
    color: var(--dark);
    font-size: 1rem;
}

.contact-form textarea {
    min-height: 150px;
    resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--green);
    box-shadow: 0 0 0 4px rgba(7, 165, 7, 0.12);
}

.contact-form button {
    width: 100%;
    margin-top: 0.5rem;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.95rem 0;
    border-bottom: 1px solid rgba(7, 165, 7, 0.12);
}

.info-item:last-child {
    border-bottom: 0;
}

.info-item img {
    width: 34px;
    height: 34px;
    object-fit: contain;
}

.info-item p {
    color: var(--muted);
    font-weight: 600;
}

footer {
    background: var(--green);
    color: var(--white);
    padding: 2rem 5%;
    text-align: center;
}

@media (max-width: 900px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .burger {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -230px;
        height: 100vh;
        width: 220px;
        background: var(--green);
        flex-direction: column;
        align-items: flex-start;
        padding: 5rem 1.25rem;
        gap: 1.5rem;
        box-shadow: -3px 0 15px rgba(0, 0, 0, 0.2);
        transition: right 0.3s ease-in-out;
        z-index: 999;
    }

    .nav-links.nav-active {
        right: 0;
    }

    .nav-links li a {
        color: var(--white);
        font-size: 1.05rem;
    }

    .nav-links .btn {
        color: var(--green);
        background: var(--white);
        box-shadow: none;
    }

    .contact-hero {
        min-height: auto;
        padding-top: 7.6rem;
        background:
            linear-gradient(180deg, rgba(7, 19, 14, 0.94), rgba(7, 19, 14, 0.7)),
            url("../images/support.jpg") center / cover no-repeat;
    }

    .contact-main {
        padding: 3.8rem 5%;
    }
}
