:root {
    --green: #82b916;
    --orange: #f9a02c;
    --night: #232832;
    --ink: #2c2c2c;
    --stone: #f2f1f0;
    --card: #ffffff;
    --muted: #6a6a6a;
    --shadow: 0 10px 35px rgba(0, 0, 0, 0.12);
    --radius: 14px;
    --font: "Lucida Sans Unicode", "Lucida Grande", Verdana, sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: auto;
}

body {
    margin: 0;
    font-family: var(--font);
    color: var(--ink);
    background: var(--stone);
    line-height: 1.6;
}

a {
    color: inherit;
    text-decoration: none;
}

header {
    position: sticky;
    top: 0;
    z-index: 1200;
    background: rgba(35, 40, 50, 0.95);
    backdrop-filter: blur(4px);
    color: #fff;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.12);
}

.nav {
    max-width: 1200px;
    margin: 0 auto;
    padding: 14px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    position: relative;
    z-index: 1201;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 100;
    letter-spacing: 0.5px;
    color: var(--green);
    font-size: 35px;
}

.brand img {
    width: 30px;
    height: 30px;
}

.menu {
    list-style: none;
    display: flex;
    gap: 14px;
    font-size: 15px;
    margin: 0;
    padding: 0;
}

.menu>li {
    position: relative;
}

.menu a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 10px;
    color: #dfe6f0;
    border-bottom: 2px solid transparent;
    transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
    white-space: nowrap;
}

.menu a:hover {
    color: var(--green);
    border-color: var(--green);
}

.menu i {
    font-size: 15px;
}

.menu-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    background: rgba(30, 35, 45, 0.9);
    color: #dfe6f0;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.menu-toggle:hover {
    background: rgba(130, 185, 22, 0.15);
    color: #fff;
    border-color: rgba(130, 185, 22, 0.7);
}

.submenu {
    list-style: none;
    position: absolute;
    left: 0;
    top: 100%;
    min-width: 190px;
    background: #1e232d;
    padding: 10px 0;
    margin: 8px 0 0;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
    border-radius: 10px;
    display: none;
    z-index: 1210;
}

.submenu li {
    width: 100%;
}

.submenu a {
    width: 100%;
    padding: 8px 14px;
    border-bottom: none;
}

.submenu a:hover {
    background: rgba(130, 185, 22, 0.12);
    color: #fff;
}

.menu>li.open .submenu {
    display: block;
}

.hero {
    position: relative;
    height: 80vh;
    min-height: 520px;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    isolation: isolate;
}

.hero-layer {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transform: scale(1.05);
    animation: heroFade 1s ease-out forwards, kenburns 12s ease-out forwards;
}

/* .hero::after {
            content: '';
            position: absolute;
            inset: 0;
            background: linear-gradient(120deg, rgba(35,40,50,0.82), rgba(35,40,50,0.5));
            z-index: 1;
        } */

.hero-anim {
    position: relative;
    z-index: 2;
    margin: 0 auto;
    width: 100%;
    max-width: 1190px;
    height: 100%;
    display: flex;
    overflow: hidden;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
}

.hero-word,
.hero-brand,
.hero-tagline {
    position: absolute;
    left: 0;
    color: var(--green);
    text-align: left;
    font-weight: 700;
    letter-spacing: 0.06em;
    white-space: nowrap;
}

.hero-word {
    font-size: clamp(26px, 5vw, 36px);
    opacity: 0;
    transform: translate(0, -80vh);
    animation: wordDrop 1.7s ease-out forwards, wordExit 1s ease-in forwards;
    color: var(--green);
    text-align: left;
}

.hero-word.word1 {
    --final-y: -150px;
    animation-delay: 0.5s, 5.3s;
}

.hero-word.word2 {
    --final-y: -90px;
    animation-delay: 1.5s, 5.2s;
}

.hero-word.word3 {
    --final-y: -30px;
    animation-delay: 2.5s, 5.1s;
}

.hero-word.word4 {
    --final-y: 30px;
    animation-delay: 3.5s, 5s;
}

.hero-brand {
    font-size: clamp(42px, 7vw, 72px);
    font-weight: 800;
    opacity: 0;
    transform: translate(0, -80vh);
    animation: brandDrop 1.6s ease-out forwards;
    animation-delay: 5.2s;
    color: var(--green);
}

.hero-tagline {
    font-size: clamp(16px, 2vw, 22px);
    font-weight: 700;
    letter-spacing: 0.19em;
    color: #bcbcbc;
    opacity: 0;
    transform: translate(-150%, 60px);
    animation: taglineSlide 0.9s ease-out forwards;
    animation-delay: 6.2s;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(12px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes heroFade {
    from {
        opacity: 0;
        transform: scale(1.05);
    }

    to {
        opacity: 1;
        transform: scale(1.0);
    }
}

@keyframes kenburns {
    from {
        transform: scale(1.05) translate3d(0, 0, 0);
    }

    to {
        transform: scale(1.0) translate3d(0, -4%, 0);
    }
}

@keyframes wordDrop {
    0% {
        opacity: 0;
        transform: translate(0, -80vh);
    }

    70% {
        opacity: 1;
        transform: translate(0, calc(var(--final-y) - 10px));
    }

    100% {
        opacity: 1;
        transform: translate(0, var(--final-y));
    }
}

@keyframes wordExit {
    0% {
        opacity: 1;
        transform: translate(0, var(--final-y));
    }

    100% {
        opacity: 0;
        transform: translate(0, 220%);
    }
}

@keyframes brandDrop {
    0% {
        opacity: 0;
        transform: translate(0, -80vh);
    }

    70% {
        opacity: 1;
        transform: translate(0, -10px);
    }

    100% {
        opacity: 1;
        transform: translate(0, 0);
    }
}

@keyframes taglineSlide {
    0% {
        opacity: 0;
        transform: translate(-150%, 60px);
    }

    100% {
        opacity: 1;
        transform: translate(0, 60px);
    }
}

main {
    position: relative;
    z-index: 3;
}

.section {
    padding: 70px 20px;
}

.section:nth-of-type(even) {
    background: #f6f6f6;
}

.section-inner {
    max-width: 1100px;
    margin: 0 auto;
}

h2 {
    margin: 0 0 16px;
    font-size: clamp(28px, 4vw, 36px);
    color: var(--green);
}

h3 {
    margin: 0 0 12px;
    font-size: 22px;
    color: var(--ink);
}

p {
    margin: 0 0 18px;
    color: #2f2f2f;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 60px;
    align-items: start;
}

.card {
    background: var(--card);
    padding: 32px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    margin: 10px 0;
}

.card ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 10px;
}

.card li {
    padding-left: 26px;
    position: relative;
    color: #333;
}

.card ul>li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 9px;
    width: 10px;
    height: 10px;
    background: var(--green);
    border-radius: 50%;
}

.legal-card {
    display: grid;
    gap: 8px;
    line-height: 1.7;
}

.legal-card h3 {
    margin-top: 18px;
}

.legal-card h3:first-child {
    margin-top: 0;
}

.legal-card h4 {
    margin: 12px 0 6px;
    font-size: 18px;
    color: var(--ink);
}

.legal-card p {
    margin-bottom: 14px;
}

.legal-list {
    list-style: lower-alpha;
    padding-left: 22px;
    margin: 0 0 10px;
}

.legal-list li {
    margin-bottom: 14px;
}

.legal-bullets {
    list-style: disc;
    padding-left: 18px;
    margin: 10px 0 12px;
}

.legal-bullets li {
    margin-bottom: 8px;
}

.captcha-box {
    margin: 8px 0;
    max-width: 100%;
    overflow: hidden;
}
.h-captcha,
.h-captcha iframe {
    max-width: 100%;
}

.banner {
    border-left: 5px solid var(--green);
    padding: 16px 18px;
    background: #e8f3d3;
    border-radius: var(--radius);
    color: #20300c;
    box-shadow: var(--shadow);
}

.bg-image {
    background-size: cover;
    background-position: center;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.bg-image::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(35, 40, 50, 0.82);
}

.bg-image .section-inner {
    position: relative;
    z-index: 1;
}


.bg-image .text-box p,
.bg-image .text-box h3 {
    color: #ffffff;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 60px;
    align-items: stretch;
}

.contact-box {
    background: rgba(255, 255, 255, 0.96);
    color: #111;
    padding: 22px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    max-width: 100%;
}

form {
    display: flex;
    flex-direction: column;
    gap: 14px;
    width: 100%;
}

input,
textarea {
    width: 100%;
    max-width: 100%;
    padding: 12px 14px;
    border-radius: 10px;
    border: 1px solid #cfd6e0;
    font-family: var(--font);
    font-size: 15px;
    background: #fff;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

input:focus,
textarea:focus {
    outline: none;
    border-color: var(--green);
    box-shadow: 0 0 0 3px rgba(130, 185, 22, 0.22);
}

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

.feedback {
    padding: 12px 14px;
    border-radius: 10px;
    font-weight: 600;
}

.feedback.success {
    background: #d9f2c9;
    color: #1c3b0b;
    border: 1px solid #b3df95;
}

.feedback.info {
    background: #fdf4d7;
    color: #7a5300;
    border: 1px solid #f1d488;
}

.feedback.error {
    background: #ffe0e0;
    color: #751313;
    border: 1px solid #f3b6b6;
}

.contact-box .btn-primary {
    background: linear-gradient(135deg, var(--green), #9ad734);
    color: #0f1a05;
    box-shadow: 0 10px 26px rgba(130, 185, 22, 0.3);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    width: 100%;
    padding: 12px 14px;
    border-radius: 10px;
    border: 1px solid #cfd6e0;
    cursor: pointer;
}

.contact-box .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(130,185,22,0.35);
}

footer {
    background: #2c2c2c;
    color: var(--green);
    padding: 22px 20px;
    text-align: center;
    font-size: 14px;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 18px;
    margin-top: 6px;
}

.back-to-top {
    position: fixed;
    right: 20px;
    bottom: 22px;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: none;
    background: var(--green);
    color: #0f1a05;
    font-weight: 800;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow);
    cursor: pointer;
    opacity: 0;
    transform: translateY(20px);
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
    z-index: 20;
}

.back-to-top:hover {
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
}

.back-to-top.visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

@media (max-width: 600px) {
    .back-to-top {
        right: 14px;
        bottom: 18px;
    }
}

@media (max-width: 860px) {
    .menu {
        display: none;
        position: absolute;
        right: 20px;
        top: calc(100% + 8px);
        flex-direction: column;
        background: #1e232d;
        padding: 10px 0;
        border-radius: 12px;
        box-shadow: 0 12px 28px rgba(0, 0, 0, 0.28);
        width: min(260px, 90vw);
    }

    .menu>li {
        width: 100%;
    }

    .menu a {
        width: 100%;
        padding: 10px 14px;
        border-bottom: none;
    }

    .submenu {
        position: relative;
        top: 0;
        left: 0;
        min-width: 100%;
        background: transparent;
        box-shadow: none;
        padding: 0 0 6px 0;
        margin: 0;
    }

    .submenu a {
        padding-left: 26px;
    }

    .menu-toggle {
        display: inline-flex;
    }

    .nav.menu-open .menu {
        display: flex;
    }

    .menu>li.open .submenu {
        display: flex;
        flex-direction: column;
    }

    .hero {
        min-height: 480px;
    }

    header {
        position: sticky;
        top: 0;
        z-index: 1300;
    }
    .nav { z-index: 1301; }
}

@media (max-width: 920px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 34px;
    }
    .contact-box {
        padding: 18px;
    }
    .captcha-box {
        transform: scale(0.9);
        transform-origin: 0 0;
        width: calc(100% / 0.9);
    }
}

@media (max-width: 1400px) {
     .nav {
        max-width: 95vw;
    }
    .hero-anim {
        max-width: 90vw;
        padding: 0 20px;
    }
    .section-inner {
    max-width: 1100px;
    max-width: 95vw;
    padding: 0 20px;
    margin: 0 auto;
    }
}

@media (max-width: 480px) {
    .section {
        padding: 60px 14px;
    }
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }
    .contact-box {
        padding: 14px;
    }
    .captcha-box {
        transform: scale(0.82);
        transform-origin: 0 0;
        width: calc(100% / 0.82);
    }
}

@media (max-width: 420px) {
    input,
    textarea {
        font-size: 14px;
        padding: 11px 12px;
    }
    .contact-box .btn-primary {
        font-size: 14px;
        padding: 11px 12px;
    }
    .contact-box {
        padding: 12px;
    }
    .captcha-box {
        transform: scale(0.78);
        width: calc(100% / 0.78);
    }
}
