:root {
    --bg: #f6f8f4;
    --surface: #ffffff;
    --surface-alt: #eef3ec;
    --text: #102019;
    --muted: #55635a;
    --line: rgba(16, 32, 25, 0.1);
    --primary: #1f7a4d;
    --primary-dark: #165b39;
    --accent: #2f5cff;
    --shadow: 0 20px 50px rgba(16, 32, 25, 0.08);
    --radius-lg: 28px;
    --radius-md: 18px;
    --radius-sm: 12px;
    --nav-height: 76px;
}

*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--nav-height) + 18px);
    font-size: 16px;
}

body {
    margin: 0;
    font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text);
    background:
        radial-gradient(circle at top left, rgba(31, 122, 77, 0.08), transparent 28%),
        radial-gradient(circle at top right, rgba(47, 92, 255, 0.06), transparent 25%),
        var(--bg);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
textarea {
    font: inherit;
}

ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.skip-link {
    position: absolute;
    left: 1rem;
    top: -3rem;
    z-index: 1000;
    padding: 0.75rem 1rem;
    background: var(--surface);
    border-radius: 999px;
    box-shadow: var(--shadow);
}

.skip-link:focus {
    top: 1rem;
}

.container {
    width: min(1120px, calc(100% - 2rem));
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav {
    backdrop-filter: blur(16px);
    background: rgba(246, 248, 244, 0.82);
    border-bottom: 1px solid transparent;
    transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.nav--scrolled {
    border-bottom-color: var(--line);
    box-shadow: 0 10px 30px rgba(16, 32, 25, 0.08);
    background: rgba(246, 248, 244, 0.95);
}

.nav__inner {
    min-height: var(--nav-height);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.nav__brand {
    font-weight: 800;
    letter-spacing: -0.03em;
    font-size: 1.05rem;
}

.nav__links {
    display: flex;
    align-items: center;
    gap: 1.35rem;
}

.nav__links a {
    color: var(--muted);
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.2s ease;
}

.nav__links a:hover,
.nav__links a:focus-visible {
    color: var(--text);
}

.nav__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 1.15rem;
    border-radius: 999px;
    background: var(--text);
    color: #fff !important;
    box-shadow: 0 10px 22px rgba(16, 32, 25, 0.12);
}

.nav__toggle {
    display: none;
    flex-direction: column;
    gap: 0.34rem;
    padding: 0.35rem;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.nav__toggle span {
    width: 1.5rem;
    height: 2px;
    border-radius: 999px;
    background: var(--text);
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.nav__toggle.is-active span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}

.nav__toggle.is-active span:nth-child(2) {
    opacity: 0;
}

.nav__toggle.is-active span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}

.section {
    padding: 4.8rem 0;
}

.hero {
    padding-top: 2.8rem;
}

.hero__grid,
.contact-layout {
    display: grid;
    gap: 2rem;
    align-items: center;
}

.hero__grid {
    grid-template-columns: 1.3fr 0.9fr;
}

.hero__content h1,
.section-heading h2,
.contact-copy h2 {
    margin: 0;
    letter-spacing: -0.04em;
    line-height: 1.05;
}

.hero__content h1 {
    max-width: 12ch;
    font-size: clamp(2.2rem, 4.6vw, 4rem);
}

.eyebrow {
    margin: 0 0 1rem;
    color: var(--primary);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.lead,
.section-heading p,
.contact-copy p {
    color: var(--muted);
    font-size: 1.05rem;
}

.lead {
    max-width: 58ch;
    margin: 1rem 0 0;
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
    margin-top: 1.2rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 3rem;
    padding: 0.85rem 1.3rem;
    border-radius: 999px;
    border: 1px solid transparent;
    font-weight: 700;
    transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn:hover,
.btn:focus-visible {
    transform: translateY(-1px);
}

.btn--primary {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 14px 26px rgba(31, 122, 77, 0.18);
}

.btn--primary:hover,
.btn--primary:focus-visible {
    background: var(--primary-dark);
}

.btn--ghost {
    background: transparent;
    border-color: var(--line);
    color: var(--text);
}

.hero__facts {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 2rem;
}

.hero__facts li,
.hero__panel,
.info-card,
.product-card,
.eco-card,
.compare-row,
.contact-form {
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow);
}

.hero__facts li {
    padding: 1rem;
}

.hero__facts strong,
.product-card__metric {
    display: block;
    font-size: 1.15rem;
    letter-spacing: -0.03em;
}

.hero__facts span,
.product-card p,
.eco-card p,
.info-card p,
.compare-row span,
.contact-points li {
    color: var(--muted);
}

.hero__panel {
    padding: 1.75rem;
    background: linear-gradient(180deg, rgba(255,255,255,0.92), rgba(238,243,236,0.86));
}

.hero__panel-label,
.product-card__label {
    color: var(--primary);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.hero__panel h2 {
    margin: 0.65rem 0 0.75rem;
    font-size: 1.7rem;
    line-height: 1.15;
}

.hero__panel-stats {
    display: grid;
    gap: 0.8rem;
    margin-top: 1.4rem;
}

.hero__panel-stats div {
    padding: 0.9rem 1rem;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.7);
}

.hero__panel-stats span {
    display: block;
    color: var(--muted);
    font-size: 0.85rem;
}

.hero__panel-stats strong {
    display: block;
    margin-top: 0.2rem;
}

.section-heading {
    max-width: 72ch;
    margin-bottom: 2rem;
}

.section-heading h2,
.contact-copy h2 {
    font-size: clamp(2rem, 4vw, 3rem);
}

.section-heading--compact {
    max-width: 64ch;
}

.section--soft {
    background: rgba(238, 243, 236, 0.7);
}

.section--nature {
    background: linear-gradient(180deg, rgba(238, 243, 236, 0.7), rgba(246, 248, 244, 0.45));
}

.tech-grid,
.product-layout,
.eco-layout {
    display: grid;
    gap: 1.25rem;
}

.tech-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.info-card,
.product-card,
.eco-card {
    padding: 1.5rem;
}

.info-card__icon {
    display: inline-flex;
    width: 2.75rem;
    height: 2.75rem;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: rgba(31, 122, 77, 0.1);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.info-card h3,
.eco-card h3 {
    margin: 0 0 0.6rem;
    font-size: 1.15rem;
}

.product-layout {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.product-card--accent {
    background: linear-gradient(180deg, rgba(31, 122, 77, 0.12), rgba(255, 255, 255, 0.84));
}

.product-card__metric {
    margin: 0.3rem 0 0.8rem;
    font-size: clamp(1.4rem, 2.6vw, 2rem);
}

.spec-band {
    margin-top: 1.25rem;
    padding: 1.1rem;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.65);
    border: 1px solid var(--line);
}

.spec-band span,
.compare-row--head span {
    display: block;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--muted);
}

.spec-band strong {
    display: block;
    margin-top: 0.3rem;
}

.eco-layout {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.eco-card--highlight {
    background: linear-gradient(180deg, rgba(31, 122, 77, 0.14), rgba(255,255,255,0.84));
}

.compare-grid {
    display: grid;
    gap: 0.75rem;
}

.compare-row {
    display: grid;
    grid-template-columns: 0.95fr 1fr 1fr;
    gap: 1rem;
    padding: 1rem 1.1rem;
}

.compare-row--head {
    background: rgba(31, 122, 77, 0.1);
    box-shadow: none;
}

.compare-row span:first-child {
    font-weight: 700;
    color: var(--text);
}

.section--contact {
    background: linear-gradient(180deg, rgba(255,255,255,0.65), rgba(238,243,236,0.8));
}

.contact-layout {
    grid-template-columns: 1fr 0.95fr;
    align-items: start;
}

.contact-points {
    display: grid;
    gap: 0.8rem;
    margin-top: 1.5rem;
}

.contact-points li {
    padding-left: 1.25rem;
    position: relative;
}

.contact-points li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.65em;
    width: 0.45rem;
    height: 0.45rem;
    border-radius: 999px;
    background: var(--primary);
}

.contact-form {
    display: grid;
    gap: 1rem;
    padding: 1.5rem;
}

.contact-form--single {
    align-content: start;
}

.contact-form__label {
    margin: 0;
    color: var(--primary);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.contact-form label {
    display: grid;
    gap: 0.45rem;
    font-size: 0.95rem;
    font-weight: 600;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 0.95rem 1rem;
    background: rgba(255, 255, 255, 0.9);
    color: var(--text);
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: 2px solid rgba(31, 122, 77, 0.25);
    border-color: rgba(31, 122, 77, 0.45);
}

.contact-form .btn {
    justify-self: start;
}

.footer {
    padding: 1.5rem 0 2rem;
}

.footer__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    border-top: 1px solid var(--line);
    padding-top: 1rem;
    color: var(--muted);
}

.footer__brand {
    font-weight: 800;
    color: var(--text);
}

@media (max-width: 960px) {
    .hero__grid,
    .contact-layout {
        grid-template-columns: 1fr;
    }

    .tech-grid,
    .eco-layout,
    .product-layout {
        grid-template-columns: 1fr 1fr;
    }

    .spec-band {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 760px) {
    .nav__toggle {
        display: flex;
    }

    .nav__links {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        display: grid;
        gap: 0.8rem;
        padding: 1rem;
        background: rgba(246, 248, 244, 0.98);
        border-bottom: 1px solid var(--line);
        box-shadow: 0 20px 30px rgba(16, 32, 25, 0.08);
        transform-origin: top;
        transform: scaleY(0);
        opacity: 0;
        pointer-events: none;
        transition: transform 0.2s ease, opacity 0.2s ease;
    }

    .nav__links.is-open {
        transform: scaleY(1);
        opacity: 1;
        pointer-events: auto;
    }

    .nav__links a {
        padding: 0.3rem 0;
    }

    .section {
        padding: 4.5rem 0;
    }

    .hero__content h1 {
        max-width: 100%;
    }

    .hero__facts,
    .tech-grid,
    .eco-layout,
    .product-layout,
    .spec-band {
        grid-template-columns: 1fr;
    }

    .compare-row {
        grid-template-columns: 1fr;
    }

    .footer__inner {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 520px) {
    .container {
        width: min(1120px, calc(100% - 1.25rem));
    }

    .hero__content h1 {
        font-size: clamp(2rem, 11vw, 2.9rem);
    }

    .lead,
    .section-heading p,
    .contact-copy p {
        font-size: 1rem;
    }

    .btn {
        width: 100%;
    }

    .hero__actions .btn,
    .contact-form .btn {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *, *::before, *::after {
        animation: none !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}
