:root {
    --bg: #08111B;
    --bg-soft: #0D1722;
    --panel: #0F1A26;
    --panel-2: #132131;
    --text: #E8EDF2;
    --muted: #9EABB8;
    --line: rgba(255, 255, 255, 0.08);

    --primary: #5FA637;
    --primary-hover: #76C043;
    --primary-dark: #4E8D2E;
    --primary-soft: #B9E28F;

    --white: #FFFFFF;
    --shadow: 0 20px 60px rgba(0, 0, 0, 0.30);
    --radius: 18px;
    --container: 1180px;
}

/* RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background:
        radial-gradient(circle at top left, rgba(95, 166, 55, 0.08), transparent 24%),
        linear-gradient(180deg, #040A11 0%, #08111B 100%);
    color: var(--text);
    line-height: 1.6;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}

/* LAYOUT */
.container {
    width: min(100% - 32px, var(--container));
    margin: 0 auto;
}

.narrow {
    width: min(100% - 32px, 900px);
    margin: 0 auto;
}

/* HEADER */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(12px);
    background: rgba(4, 10, 17, 0.82);
    border-bottom: 1px solid var(--line);
}

.header-inner {
    min-height: 84px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.logo {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
}

.logo img {
    height: 64px;
    width: auto;
    display: block;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 28px;
}

.site-nav a {
    color: var(--text);
    font-weight: 600;
    font-size: 0.98rem;
    transition: color 0.2s ease;
}

.site-nav a:hover {
    color: var(--primary);
}

/* LANG SWITCH */
.lang-switch {
    display: flex;
    gap: 8px;
    align-items: center;
}

.lang-btn {
    min-width: 42px;
    height: 36px;
    padding: 0 12px;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.03);
    color: var(--text);
    font-weight: 700;
    cursor: pointer;
    transition: 0.2s ease;
}

.lang-btn:hover {
    border-color: rgba(185, 226, 143, 0.35);
    color: var(--primary-soft);
}

.lang-btn.active {
    background: rgba(95, 166, 55, 0.16);
    border-color: rgba(185, 226, 143, 0.35);
    color: var(--primary-soft);
}

/* MENU TOGGLE */
.menu-toggle {
    display: none;
    width: 46px;
    height: 46px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.02);
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.menu-toggle span {
    width: 20px;
    height: 2px;
    background: var(--white);
    border-radius: 999px;
    display: block;
}

/* HERO */
.hero {
    position: relative;
    overflow: hidden;
    padding: 84px 0 72px;
    background:
        linear-gradient(90deg, rgba(5, 10, 17, 0.92) 0%, rgba(5, 10, 17, 0.82) 38%, rgba(5, 10, 17, 0.55) 100%),
        url("../images/background.png");
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    border-bottom: 1px solid var(--line);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(8, 17, 27, 0.22) 0%, rgba(8, 17, 27, 0.48) 100%),
        radial-gradient(circle at right center, rgba(95, 166, 55, 0.10), transparent 26%);
    pointer-events: none;
}

.hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 32px;
    align-items: center;
    min-height: calc(100vh - 156px);
}

.hero-copy {
    max-width: 760px;
}

.eyebrow,
.section-label {
    display: inline-block;
    margin-bottom: 14px;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--primary-soft);
}

.hero h1 {
    font-size: clamp(2.2rem, 5vw, 4.8rem);
    line-height: 1.02;
    font-weight: 900;
    letter-spacing: -0.04em;
    max-width: 11ch;
    margin-bottom: 18px;
    text-shadow: 0 8px 30px rgba(0, 0, 0, 0.28);
}

.hero p {
    max-width: 660px;
    color: #D6DEE6;
    font-size: clamp(1rem, 1.8vw, 1.12rem);
    margin-bottom: 28px;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 22px;
}

.hero-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 22px;
}

.hero-tags span {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 8px 12px;
    font-size: 0.88rem;
    font-weight: 600;
    border: 1px solid rgba(185, 226, 143, 0.18);
    border-radius: 999px;
    color: var(--primary-soft);
    background: rgba(95, 166, 55, 0.10);
    backdrop-filter: blur(4px);
}

.hero-panel {
    display: flex;
    justify-content: flex-end;
}

.hero-card,
.card,
.contact-box,
.about-box {
    background: linear-gradient(180deg, rgba(19, 33, 49, 0.94), rgba(11, 20, 31, 0.94));
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.hero-card {
    width: 100%;
    max-width: 430px;
    padding: 30px;
    backdrop-filter: blur(8px);
}

.hero-card h3 {
    font-size: 1.16rem;
    margin-bottom: 16px;
}

.hero-card ul {
    list-style: none;
    display: grid;
    gap: 12px;
}

.hero-card li {
    color: var(--muted);
    position: relative;
    padding-left: 18px;
}

.hero-card li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 11px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--primary);
}

/* BUTTONS */
.btn {
    min-height: 52px;
    padding: 13px 22px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    transition: 0.2s ease;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
    box-shadow: 0 10px 30px rgba(95, 166, 55, 0.28);
}

.btn-primary:hover {
    background: var(--primary-hover);
    transform: translateY(-1px);
}

.btn-secondary {
    border: 1px solid rgba(185, 226, 143, 0.28);
    color: var(--white);
    background: rgba(255, 255, 255, 0.04);
}

.btn-secondary:hover {
    border-color: rgba(185, 226, 143, 0.5);
    background: rgba(95, 166, 55, 0.08);
}

/* SECTIONS */
.section {
    padding: 88px 0;
}

.section-alt {
    background: rgba(255, 255, 255, 0.02);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.section-heading {
    margin-bottom: 34px;
}

.section-heading h2 {
    font-size: clamp(1.9rem, 3vw, 3rem);
    line-height: 1.12;
    margin-bottom: 10px;
}

.section-heading p,
.lead,
.card p,
.contact-box p,
.about-item p {
    color: var(--muted);
}

/* GRID */
.grid {
    display: grid;
    gap: 22px;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

/* CARDS */
.card {
    padding: 28px;
}

.card-icon {
    width: 42px;
    height: 42px;
    margin-bottom: 18px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    font-weight: 800;
    color: var(--white);
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
}

.card h3 {
    font-size: 1.18rem;
    margin-bottom: 12px;
}

/* PRODUCTS */
.product-card {
    min-height: 100%;
    padding: 18px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.product-thumb {
    position: relative;
    width: 100%;
    aspect-ratio: 800 / 520;
    overflow: hidden;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    background: #0b141f;
}

.product-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.35s ease;
}

.product-card:hover .product-thumb img {
    transform: scale(1.03);
}

.product-content {
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
}

.product-content h3 {
    margin: 0;
    font-size: 1.18rem;
}

.product-content p {
    margin: 0;
}

/* LINKS */
.text-link {
    display: inline-block;
    margin-top: auto;
    color: var(--primary-soft);
    font-weight: 700;
    transition: color 0.2s ease;
}

.text-link:hover {
    color: var(--primary-hover);
}

.contact-details a {
    color: var(--white);
}

.contact-details a:hover {
    color: var(--primary-soft);
}

/* ABOUT */
.lead {
    font-size: 1.08rem;
    margin-bottom: 22px;
}

.about-box {
    padding: 24px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin-top: 28px;
}

.about-item {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 18px;
}

.about-item strong {
    display: block;
    margin-bottom: 8px;
    font-size: 1rem;
    color: var(--white);
}

/* CONTACT */
.section-contact {
    padding-bottom: 100px;
}

.contact-box {
    padding: 32px;
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 28px;
    align-items: start;
}

.contact-box h2 {
    font-size: clamp(1.9rem, 3vw, 2.8rem);
    line-height: 1.08;
    margin-bottom: 12px;
}

.contact-details {
    display: grid;
    gap: 12px;
}

/* FOOTER */
.footer {
    border-top: 1px solid var(--line);
    padding: 26px 0 34px;
    text-align: center;
    color: var(--muted);
    background: rgba(0, 0, 0, 0.10);
}

.footer p + p {
    margin-top: 6px;
}

/* RESPONSIVE */
@media (max-width: 1024px) {
    .hero-grid,
    .grid-3,
    .about-box,
    .contact-box {
        grid-template-columns: 1fr;
    }

    .hero-panel {
        justify-content: flex-start;
    }

    .hero-card {
        max-width: 100%;
    }

    .hero h1 {
        max-width: none;
    }
}

@media (max-width: 820px) {
    .menu-toggle {
        display: inline-flex;
    }

    .site-nav {
        position: absolute;
        top: calc(100% + 10px);
        left: 16px;
        right: 16px;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 6px;
        padding: 12px;
        background: rgba(8, 17, 27, 0.98);
        border: 1px solid var(--line);
        border-radius: 16px;
        box-shadow: var(--shadow);
    }

    .site-nav.open {
        display: flex;
    }

    .site-nav a {
        padding: 12px 14px;
        border-radius: 10px;
    }

    .site-nav a:hover {
        background: rgba(255, 255, 255, 0.04);
    }

    .header-inner {
        flex-wrap: wrap;
        min-height: auto;
        padding: 14px 0;
    }

    .lang-switch {
        margin-left: auto;
    }

    .hero {
        padding: 42px 0 34px;
        background-position: center right;
    }

    .hero-grid {
        min-height: auto;
        gap: 20px;
    }

    .section {
        padding: 68px 0;
    }

    .logo img {
        height: 54px;
    }
}

@media (max-width: 560px) {
    .container,
    .narrow {
        width: min(100% - 24px, var(--container));
    }

    .header-inner {
        gap: 12px;
    }

    .logo img {
        height: 46px;
    }

    .lang-switch {
        width: 100%;
        justify-content: flex-end;
    }

    .hero p {
        font-size: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .btn {
        width: 100%;
    }

    .hero-card,
    .card,
    .contact-box,
    .about-box {
        border-radius: 16px;
    }

    .hero-card,
    .card,
    .contact-box {
        padding: 22px;
    }

    .about-box {
        padding: 16px;
    }

    .section-heading {
        margin-bottom: 24px;
    }

    .hero-tags span {
        font-size: 0.82rem;
    }

    .hero {
        background-position: 62% center;
    }
}