:root {
    --home-bg: #f3f8f4;
    --home-surface: #ffffff;
    --home-surface-soft: #eef5ee;
    --home-text: #122118;
    --home-muted: #496050;
    --home-primary: #1f7a3e;
    --home-primary-dark: #155a2d;
    --home-accent: #d4862f;
    --home-border: #dbe7dd;
    --home-shadow: 0 20px 45px rgba(23, 48, 33, 0.08);
    --home-radius: 20px;
}

body {
    background: radial-gradient(circle at 20% -10%, #e4f1e6 0%, var(--home-bg) 45%, #f9fbfa 100%);
    color: var(--home-text);
    font-family: "Plus Jakarta Sans", "Source Sans 3", sans-serif;
}

.page-home .navbar {
    background: rgba(255, 255, 255, 0.82);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(219, 231, 221, 0.9);
    box-shadow: 0 10px 30px rgba(12, 25, 17, 0.08);
}

.page-home .nav-menu a {
    color: #1a2f22;
}

.page-home .nav-menu a:hover {
    color: var(--home-primary-dark);
}

.page-home .nav-brand h1,
.page-home .nav-brand .nav-brand-title {
    color: #133322;
}

.page-home .tagline {
    color: #4b6556;
}

.page-home .nav-logo {
    border-radius: 12px;
}

.page-home .footer {
    background: #122118;
}

.page-home .footer-section a:hover,
.page-home .footer-seo a:hover {
    color: #f2d8b7;
}

.home-main {
    overflow: hidden;
}

.search-icon {
    border: 0;
    background: transparent;
    cursor: pointer;
    padding: 0;
}

.home-section {
    padding: 4.5rem 0;
}

.home-section .section-header {
    max-width: 760px;
    margin: 0 auto 2.25rem;
    text-align: center;
}

.home-section .section-header h2 {
    font-family: "Fraunces", serif;
    font-size: clamp(1.9rem, 2.8vw, 2.8rem);
    line-height: 1.2;
    color: #153024;
    margin-bottom: 0.65rem;
}

.home-section .section-header p {
    color: var(--home-muted);
    font-size: 1rem;
}

.home-hero {
    padding: 3.5rem 0 4.5rem;
}

.home-hero .container {
    position: relative;
}

.home-hero .container::before {
    content: none;
}

.home-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    gap: clamp(1.1rem, 2.2vw, 1.7rem);
    align-items: stretch;
}

.home-hero-copy {
    background: linear-gradient(145deg, #ffffff 0%, #f3faf4 100%);
    border: 1px solid var(--home-border);
    border-radius: 26px;
    padding: clamp(1.5rem, 3vw, 2.6rem);
    box-shadow: var(--home-shadow);
    position: relative;
    z-index: 1;
    height: 100%;
}

.home-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.45rem 0.9rem;
    border-radius: 999px;
    background: #e8f5ea;
    color: var(--home-primary-dark);
    font-weight: 700;
    font-size: 0.78rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.home-hero h1 {
    margin: 1rem 0 0.85rem;
    font-family: "Fraunces", serif;
    font-size: clamp(2rem, 4vw, 3.7rem);
    line-height: 1.08;
    color: #10281c;
}

.home-hero p {
    color: #3e5547;
    font-size: 1.04rem;
    line-height: 1.75;
    max-width: 60ch;
}

.home-hero-highlights {
    margin: 1.25rem 0 0;
    display: grid;
    gap: 0.7rem;
}

.home-highlight {
    border: 1px solid var(--home-border);
    background: rgba(255, 255, 255, 0.85);
    border-radius: 16px;
    padding: 0.9rem 0.95rem;
}

.home-highlight dt {
    margin: 0;
    font-weight: 900;
    font-size: 0.82rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #1f5d35;
}

.home-highlight dd {
    margin: 0.25rem 0 0;
    color: var(--home-muted);
    line-height: 1.55;
    font-size: 0.95rem;
}

.home-hero-actions {
    margin-top: 1.6rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.home-hero-highlights {
    margin-top: 1.4rem;
}

.home-hero-proof {
    margin-top: 1.1rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
}

.home-hero-proof span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 0.85rem;
    border-radius: 999px;
    border: 1px dashed #c8dccd;
    background: rgba(255, 255, 255, 0.7);
    color: #4d6556;
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.home-hero-aside {
    display: grid;
    gap: 0.9rem;
    height: 100%;
}

.home-hero-metrics {
    border-radius: 26px;
    border: 1px solid var(--home-border);
    background: #ffffff;
    box-shadow: var(--home-shadow);
    padding: clamp(1.1rem, 2.4vw, 1.6rem);
    display: grid;
    gap: 0.9rem;
    position: relative;
    overflow: hidden;
}

.home-hero-metrics::before {
    content: "";
    position: absolute;
    inset: -20px;
    background:
        radial-gradient(360px 220px at 10% 10%, rgba(31, 122, 62, 0.09), transparent 70%),
        radial-gradient(320px 220px at 95% 35%, rgba(212, 134, 47, 0.12), transparent 70%);
    pointer-events: none;
}

.home-hero-metrics > * {
    position: relative;
    z-index: 1;
}

.home-metric {
    border: 1px solid rgba(219, 231, 221, 0.9);
    background: rgba(255, 255, 255, 0.85);
    border-radius: 18px;
    padding: 0.95rem 1rem;
}

.home-metric h3 {
    margin: 0;
    font-size: 1.02rem;
    line-height: 1.25;
    color: #10281c;
    font-family: "Fraunces", serif;
}

.home-metric p {
    margin: 0.45rem 0 0;
    color: var(--home-muted);
    line-height: 1.65;
    font-size: 0.96rem;
}

.home-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    padding: 0.82rem 1.35rem;
    font-weight: 700;
    text-decoration: none;
    border: 1px solid transparent;
    transition: transform 420ms cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 420ms cubic-bezier(0.22, 1, 0.36, 1),
        background-color 420ms cubic-bezier(0.22, 1, 0.36, 1),
        color 420ms cubic-bezier(0.22, 1, 0.36, 1),
        border-color 420ms cubic-bezier(0.22, 1, 0.36, 1);
}

.home-btn:focus-visible {
    outline: 3px solid rgba(31, 122, 62, 0.3);
    outline-offset: 2px;
}

.home-btn-primary {
    background: var(--home-primary);
    color: #fff;
    box-shadow: 0 10px 24px rgba(31, 122, 62, 0.28);
}

.home-btn-primary:hover {
    background: var(--home-primary-dark);
    transform: translateY(-1px);
}

.home-btn-soft {
    background: #ffffff;
    color: #1f4f31;
    border-color: #d6e6da;
}

.home-btn-soft:hover {
    background: #f2f7f3;
    transform: translateY(-1px);
}

.home-btn-ghost {
    background: #fef7ee;
    color: #8a4f16;
    border-color: #f2d8b7;
}

.home-btn-ghost:hover {
    background: #fdeedb;
}

.home-hero-media {
    display: grid;
    gap: 0.9rem;
}

.home-hero-media-frame {
    border-radius: 26px;
    border: 1px solid var(--home-border);
    overflow: hidden;
    background: #fff;
    box-shadow: var(--home-shadow);
}

.home-hero-media-frame img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    object-position: 50% 55%;
    display: block;
}

@media (max-width: 940px) {
    .home-hero-grid {
        grid-template-columns: 1fr;
    }
    .home-hero-aside {
        max-width: 820px;
        margin: 0 auto;
    }
    .home-hero-proof {
        justify-content: center;
    }
}

.home-products-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.home-product-card {
    border-radius: 18px;
    border: 1px solid var(--home-border);
    background: var(--home-surface);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 12px 28px rgba(14, 27, 18, 0.06);
    transition: transform 200ms ease, box-shadow 200ms ease;
}

.home-product-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 35px rgba(14, 27, 18, 0.1);
}

.home-product-card a {
    color: inherit;
    text-decoration: none;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.home-product-image {
    aspect-ratio: 1.15 / 1;
    width: 100%;
    object-fit: cover;
}

.home-product-body {
    padding: 1rem;
    display: grid;
    gap: 0.52rem;
}

.home-product-badge {
    display: inline-flex;
    align-self: start;
    justify-self: start;
    width: fit-content;
    padding: 0.12rem 0.45rem;
    border-radius: 999px;
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    background: #e6f5ea;
    color: #1a6a36;
}

.home-product-badge.areca {
    background: #fef0de;
    color: #8d531c;
}

.home-product-body h3 {
    font-size: 1.02rem;
    line-height: 1.3;
    margin: 0;
    color: #183426;
}

.home-product-body p {
    margin: 0;
    color: var(--home-muted);
    font-size: 0.9rem;
    line-height: 1.6;
}

.home-categories-grid,
.home-process-grid,
.home-industries-grid {
    display: grid;
    gap: 0.95rem;
}

.home-categories-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.home-category-card,
.home-process-card,
.home-industry-card {
    border: 1px solid var(--home-border);
    background: var(--home-surface);
    border-radius: 18px;
    padding: 1.1rem;
}

.home-category-card {
    display: grid;
    gap: 1rem;
    padding: 1.25rem;
    border-radius: 20px;
    box-shadow: 0 12px 30px rgba(14, 27, 18, 0.06);
}

.home-category-meta {
    display: grid;
    gap: 0.5rem;
}

.home-category-kicker {
    display: inline-flex;
    align-self: start;
    justify-self: start;
    width: fit-content;
    padding: 0.12rem 0.45rem;
    border-radius: 999px;
    font-weight: 800;
    font-size: 0.62rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #1a6a36;
    background: #e6f5ea;
    border: 1px solid #cfe8d7;
}

.home-category-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    align-items: center;
}

.home-category-actions .home-btn {
    flex: 1 1 auto;
    min-width: 180px;
}

.home-capabilities-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.95rem;
}

.home-capability-card {
    border: 1px solid var(--home-border);
    background: linear-gradient(145deg, #ffffff 0%, #f6fbf7 100%);
    border-radius: 18px;
    padding: 1.1rem;
    box-shadow: 0 12px 30px rgba(14, 27, 18, 0.06);
}

.home-capability-card h3 {
    margin: 0 0 0.4rem;
    color: #173426;
    font-size: 1.05rem;
}

.home-capability-card p {
    margin: 0;
    color: var(--home-muted);
    line-height: 1.64;
}

.home-category-card h3,
.home-process-card h3,
.home-industry-card h3 {
    margin: 0 0 0.4rem;
    color: #173426;
}

.home-category-card p,
.home-process-card p,
.home-industry-card p {
    margin: 0;
    color: var(--home-muted);
    line-height: 1.64;
}

.home-process-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.home-process-number {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #e5f3e8;
    color: #1b6738;
    font-weight: 800;
    margin-bottom: 0.65rem;
}

.home-industries-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.home-about {
    background: linear-gradient(145deg, #eef6ef 0%, #f9fbf9 100%);
    border-top: 1px solid #e2ece4;
    border-bottom: 1px solid #e2ece4;
}

.home-about-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 1rem;
}

.home-about-card {
    border: 1px solid var(--home-border);
    border-radius: 18px;
    background: #fff;
    padding: 1.1rem;
}

.home-about-card ul {
    margin: 0.5rem 0 0;
    padding-left: 1.1rem;
    color: var(--home-muted);
}

.home-about-card li {
    margin-bottom: 0.35rem;
}

.home-cta-banner {
    border-radius: 24px;
    border: 1px solid #d1e6d7;
    background: linear-gradient(115deg, #183b29 0%, #1d5a37 60%, #216b40 100%);
    padding: clamp(1.25rem, 2.4vw, 2rem);
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 1rem;
    align-items: center;
    color: #e8f6ec;
}

.home-cta-banner h3 {
    margin: 0 0 0.35rem;
    font-family: "Fraunces", serif;
    font-size: clamp(1.4rem, 2.3vw, 2rem);
}

.home-cta-banner p {
    margin: 0;
    color: rgba(236, 248, 240, 0.9);
}

.home-cta-actions {
    display: flex;
    gap: 0.65rem;
    flex-wrap: wrap;
}

.home-cta-actions .home-btn-primary {
    background: #f8fdf9;
    color: #1b5734;
    box-shadow: none;
}

.home-cta-actions .home-btn-primary:hover {
    background: #e7f4ea;
}

.home-cta-actions .home-btn-soft {
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.22);
    color: #f2fbf5;
}

.home-cta-actions .home-btn-soft:hover {
    background: rgba(255, 255, 255, 0.2);
}

.home-actions-center {
    margin-top: 1.2rem;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.7rem;
}

@media (max-width: 1080px) {
    .home-hero-grid,
    .home-about-layout {
        grid-template-columns: 1fr;
    }

    .home-products-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .home-process-grid {
        grid-template-columns: 1fr;
    }

    .home-cta-banner {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .home-hero {
        padding-top: 3.2rem;
    }

    .home-section {
        padding: 3.2rem 0;
    }

    .home-hero-copy,
    .home-hero-media-frame {
        border-radius: 20px;
    }

    .home-hero-media-frame img {
        aspect-ratio: 1 / 1;
    }

    .home-products-grid,
    .home-categories-grid,
    .home-industries-grid {
        grid-template-columns: 1fr;
    }

    .home-capabilities-grid {
        grid-template-columns: 1fr;
    }

    .home-cta-actions {
        width: 100%;
    }

    .home-cta-actions .home-btn {
        flex: 1 1 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .home-btn,
    .home-product-card {
        transition: none;
    }

    .home-btn-primary:hover,
    .home-btn-soft:hover,
    .home-product-card:hover {
        transform: none;
    }
}
