*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --green-900: #052e16;
    --green-800: #14532d;
    --green-700: #166534;
    --green-600: #15803a;
    --green-500: #16a34a;
    --green-400: #22c55e;
    --green-100: #dcfce7;
    --green-50: #f0fdf4;
    --cream: #faf9f6;
    --cream-dark: #f5f4f0;
    --white: #ffffff;
    --black: #0a0a0a;
    --gray-900: #171717;
    --gray-700: #404040;
    --gray-500: #6b7280;
    --gray-300: #d1d5db;
    --gray-100: #f3f4f6;
    --font-body: 'Inter', system-ui, -apple-system, sans-serif;
    --font-display: 'Playfair Display', Georgia, serif;
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    font-weight: 300;
    color: var(--gray-900);
    background: var(--cream);
    line-height: 1.6;
    font-size: 15px;
    letter-spacing: -0.01em;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ─── NAV ─── */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(250, 249, 246, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(22, 101, 52, 0.08);
    transition: background 0.3s ease;
}

.nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 18px;
    color: var(--green-800);
    letter-spacing: -0.02em;
}

.nav-logo-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: var(--green-700);
    color: var(--white);
    border-radius: 8px;
    font-size: 16px;
    font-family: var(--font-body);
    font-weight: 600;
}

.nav-logo-text {
    display: none;
}

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

.nav-links a {
    font-size: 13px;
    font-weight: 400;
    color: var(--gray-700);
    letter-spacing: 0.02em;
    text-transform: uppercase;
    transition: color 0.2s ease;
    position: relative;
}

.nav-links a:hover {
    color: var(--green-700);
}

.nav-cta {
    font-size: 13px !important;
    font-weight: 500 !important;
    color: var(--green-700) !important;
    border: 1px solid var(--green-700);
    padding: 8px 16px;
    border-radius: 100px;
    transition: background 0.2s ease, color 0.2s ease !important;
}

.nav-cta:hover {
    background: var(--green-700) !important;
    color: var(--white) !important;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.nav-toggle-line {
    display: block;
    width: 22px;
    height: 1.5px;
    background: var(--gray-900);
    transition: transform 0.3s var(--ease-out), opacity 0.2s ease;
}

/* ─── HERO ─── */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(135deg, #052e16 0%, #14532d 25%, #166534 50%, #15803a 75%, #22c55e 100%);
}

.hero-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.hero-gradient {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 20% 80%, rgba(34, 197, 94, 0.3) 0%, transparent 60%),
        radial-gradient(ellipse 60% 50% at 80% 20%, rgba(20, 83, 45, 0.5) 0%, transparent 60%),
        radial-gradient(ellipse 50% 40% at 50% 50%, rgba(5, 46, 22, 0.3) 0%, transparent 70%);
}

.hero-grain {
    position: absolute;
    inset: 0;
    opacity: 0.04;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
    background-size: 128px 128px;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 0 24px;
    max-width: 800px;
}

.hero-eyebrow {
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 24px;
}

.hero-title {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(48px, 10vw, 96px);
    line-height: 1.05;
    color: var(--white);
    letter-spacing: -0.03em;
    margin-bottom: 28px;
}

.hero-title-line {
    display: block;
}

.hero-title-line:first-child {
    opacity: 0.9;
}

.hero-subtitle {
    font-size: clamp(16px, 2vw, 19px);
    color: rgba(255, 255, 255, 0.7);
    max-width: 520px;
    margin: 0 auto 40px;
    line-height: 1.6;
    font-weight: 300;
}

.hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.02em;
    padding: 14px 28px;
    border-radius: 100px;
    border: none;
    cursor: pointer;
    transition: all 0.25s var(--ease-out);
    text-decoration: none;
}

.btn-primary {
    background: var(--white);
    color: var(--green-800);
}

.btn-primary:hover {
    background: var(--green-50);
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.btn-ghost {
    background: transparent;
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-ghost:hover {
    border-color: rgba(255, 255, 255, 0.7);
    background: rgba(255, 255, 255, 0.08);
}

.btn-full {
    width: 100%;
    justify-content: center;
}

.hero-scroll {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.4);
    font-size: 11px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    z-index: 2;
}

.hero-scroll svg {
    animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(4px); }
}

/* ─── SECTIONS ─── */
.section {
    padding: 120px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 72px;
}

.section-eyebrow {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--green-700);
    margin-bottom: 16px;
}

.section-title {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(32px, 5vw, 52px);
    line-height: 1.1;
    color: var(--gray-900);
    letter-spacing: -0.03em;
}

/* ─── PRODUCTS ─── */
.products {
    background: var(--cream);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2px;
}

.product-card {
    background: var(--white);
    padding: 40px 32px;
    transition: all 0.3s var(--ease-out);
    position: relative;
}

.product-card:hover {
    background: var(--green-50);
}

.product-card:hover .product-icon {
    color: var(--green-700);
    background: var(--green-100);
}

.product-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: var(--gray-100);
    color: var(--green-700);
    margin-bottom: 24px;
    transition: all 0.3s var(--ease-out);
}

.product-name {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 20px;
    color: var(--gray-900);
    margin-bottom: 10px;
    letter-spacing: -0.02em;
}

.product-desc {
    font-size: 14px;
    color: var(--gray-500);
    line-height: 1.7;
    font-weight: 300;
}

/* ─── WHY ─── */
.why {
    background: var(--green-800);
    color: var(--white);
}

.why .section-eyebrow {
    color: rgba(255, 255, 255, 0.5);
}

.why .section-title {
    color: var(--white);
}

.why-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.why-intro {
    font-size: 17px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
    margin-top: 24px;
    max-width: 400px;
    font-weight: 300;
}

.why-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2px;
}

.stat {
    background: rgba(255, 255, 255, 0.06);
    padding: 36px 28px;
    transition: background 0.3s ease;
}

.stat:hover {
    background: rgba(255, 255, 255, 0.1);
}

.stat-number {
    display: block;
    font-family: var(--font-display);
    font-size: 40px;
    font-weight: 700;
    color: var(--white);
    letter-spacing: -0.03em;
    line-height: 1;
    margin-bottom: 12px;
}

.stat-label {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.5;
    font-weight: 300;
}

/* ─── ABOUT ─── */
.about {
    background: var(--cream-dark);
}

.about-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-image {
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 6/7;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-content {
    padding-top: 8px;
}

.about-text {
    font-size: 15px;
    color: var(--gray-700);
    line-height: 1.8;
    margin-bottom: 20px;
    font-weight: 300;
}

.about-values {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.value {
    display: flex;
    align-items: center;
    gap: 16px;
}

.value-line {
    display: block;
    width: 32px;
    height: 1px;
    background: var(--green-700);
    flex-shrink: 0;
}

.value-label {
    font-size: 14px;
    color: var(--gray-900);
    font-weight: 400;
    letter-spacing: 0.01em;
}

/* ─── CTA ─── */
.cta {
    background: var(--green-700);
    padding: 100px 0;
}

.cta-inner {
    text-align: center;
    max-width: 640px;
    margin: 0 auto;
}

.cta .section-eyebrow {
    color: rgba(255, 255, 255, 0.5);
}

.cta-title {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(32px, 5vw, 48px);
    color: var(--white);
    letter-spacing: -0.03em;
    line-height: 1.1;
    margin-bottom: 48px;
}

.cta-links {
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: center;
}

.cta-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 400;
    transition: color 0.2s ease;
    padding: 4px 0;
}

.cta-link:hover {
    color: var(--white);
}

.cta-link svg {
    color: rgba(255, 255, 255, 0.5);
    flex-shrink: 0;
}

/* ─── CONTACT ─── */
.contact {
    background: var(--cream);
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
}

.contact-info {
    padding-top: 8px;
}

.contact-details {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.contact-item {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.contact-label {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gray-500);
}

.contact-value {
    font-size: 15px;
    color: var(--gray-900);
    line-height: 1.6;
    font-weight: 400;
}

.contact-link {
    color: var(--green-700);
    transition: color 0.2s ease;
}

.contact-link:hover {
    color: var(--green-600);
}

.contact-map {
    margin-top: 40px;
    border-radius: 8px;
    overflow: hidden;
}

/* ─── FORM ─── */
.contact-form-wrap {
    background: var(--white);
    padding: 48px;
    border-radius: 12px;
    border: 1px solid var(--gray-100);
}

.contact-form-title {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 24px;
    color: var(--gray-900);
    margin-bottom: 32px;
    letter-spacing: -0.02em;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 12px;
    font-weight: 500;
    color: var(--gray-700);
    margin-bottom: 8px;
    letter-spacing: 0.03em;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 300;
    color: var(--gray-900);
    background: var(--cream);
    border: 1px solid var(--gray-300);
    border-radius: 8px;
    outline: none;
    transition: border-color 0.2s ease, background 0.2s ease;
    -webkit-appearance: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--green-700);
    background: var(--white);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--gray-500);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-success {
    text-align: center;
    padding: 48px 24px;
}

.form-success svg {
    color: var(--green-700);
    margin-bottom: 16px;
}

.form-success p {
    font-size: 15px;
    color: var(--gray-700);
    font-weight: 400;
}

/* ─── FOOTER ─── */
.footer {
    background: var(--green-900);
    color: var(--white);
    padding: 64px 0 0;
}

.footer-inner {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 48px;
    align-items: start;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-brand .nav-logo-mark {
    width: 40px;
    height: 40px;
    font-size: 18px;
}

.footer-name {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 18px;
    color: var(--white);
}

.footer-tagline {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.45);
    font-weight: 300;
    max-width: 240px;
    line-height: 1.6;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
    transition: color 0.2s ease;
    letter-spacing: 0.02em;
}

.footer-links a:hover {
    color: var(--white);
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 10px;
    text-align: right;
}

.footer-contact a {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
    transition: color 0.2s ease;
}

.footer-contact a:hover {
    color: var(--white);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 0;
}

.footer-bottom p {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.3);
    font-weight: 300;
}

/* ─── SCROLL REVEAL ─── */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* ─── RESPONSIVE ─── */
@media (min-width: 640px) {
    .nav-logo-text {
        display: inline;
    }
}

@media (max-width: 900px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .why-layout,
    .about-layout,
    .contact-layout {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .footer-inner {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }

    .footer-contact {
        text-align: left;
    }
}

@media (max-width: 640px) {
    .nav-links {
        position: fixed;
        top: 64px;
        left: 0;
        right: 0;
        background: rgba(250, 249, 246, 0.98);
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
        flex-direction: column;
        padding: 32px 24px;
        gap: 20px;
        border-bottom: 1px solid rgba(22, 101, 52, 0.08);
        transform: translateY(-100%);
        opacity: 0;
        pointer-events: none;
        transition: transform 0.35s var(--ease-out), opacity 0.25s ease;
    }

    .nav-links.open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-toggle.active .nav-toggle-line:nth-child(1) {
        transform: translateY(6.5px) rotate(45deg);
    }

    .nav-toggle.active .nav-toggle-line:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active .nav-toggle-line:nth-child(3) {
        transform: translateY(-6.5px) rotate(-45deg);
    }

    .products-grid {
        grid-template-columns: 1fr;
    }

    .product-card {
        padding: 32px 24px;
    }

    .why-stats {
        grid-template-columns: 1fr 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .contact-form-wrap {
        padding: 32px 24px;
    }

    .section {
        padding: 80px 0;
    }

    .section-header {
        margin-bottom: 48px;
    }

    .footer-inner {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }

    .hero-actions {
        flex-direction: column;
        width: 100%;
        padding: 0 16px;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }

    html {
        scroll-behavior: auto;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }
}
