:root {
    --color-primary: #315328;
    --color-primary-dark: #25441f;
    --color-primary-deep: #1f3a1a;
    --color-primary-soft: #eef4eb;
    --color-primary-muted: #5f8450;
    --color-accent: #77a95c;
    --color-accent-light: #a8cf8b;
    --color-bg: #ffffff;
    --color-bg-warm: #ffffff;
    --color-surface: #ffffff;
    --color-text: #1d281d;
    --color-muted: #5e685c;
    --color-border: rgba(49, 83, 40, 0.14);
    --shadow-sm: 0 8px 22px rgba(20, 41, 20, 0.06);
    --shadow-md: 0 16px 40px rgba(20, 41, 20, 0.10);
    --shadow-lg: 0 26px 70px rgba(20, 41, 20, 0.18);
    --radius-sm: 12px;
    --radius-md: 18px;
    --radius-lg: 28px;
    --radius-xl: 36px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--color-text);
    background: var(--color-bg);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.55;
    text-rendering: optimizeLegibility;
}

img,
svg {
    display: block;
    max-width: 100%;
}

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

button,
input,
select,
textarea {
    font: inherit;
}

:focus-visible {
    outline: 3px solid var(--color-accent-light);
    outline-offset: 4px;
}

.skip-link {
    position: absolute;
    left: 1rem;
    top: -5rem;
    z-index: 100;
    padding: .75rem 1rem;
    color: var(--color-primary-dark);
    background: #fff;
    border-radius: 999px;
}

    .skip-link:focus {
        top: 1rem;
    }

.container,
.nav-shell {
    width: min(1180px, calc(100% - 64px));
    margin-inline: auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 30;
    background: linear-gradient(180deg, rgba(31, 58, 26, .98), rgba(37, 68, 31, .96)), var(--color-primary);
    border-bottom: 1px solid rgba(255, 255, 255, .12);
    box-shadow: 0 10px 30px rgba(0, 0, 0, .10);
    backdrop-filter: blur(18px);
}

.nav-shell {
    min-height: 74px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.brand img {
    width: clamp(150px, 13vw, 185px);
}

.nav-menu {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex: 1;
    gap: 1rem;
}

    .nav-menu ul {
        display: flex;
        align-items: center;
        gap: clamp(.8rem, 1.45vw, 1.45rem);
        list-style: none;
        padding: 0;
        margin: 0;
    }

    .nav-menu a {
        position: relative;
        color: rgba(255, 255, 255, .9);
        font-size: .88rem;
        font-weight: 750;
        transition: color .2s ease, transform .2s ease;
    }

        .nav-menu a:hover {
            color: #fff;
        }

    .nav-menu ul a::after {
        content: "";
        position: absolute;
        left: 0;
        right: 0;
        bottom: -.45rem;
        height: 2px;
        background: var(--color-accent-light);
        transform: scaleX(0);
        transform-origin: left;
        transition: transform .2s ease;
    }

    .nav-menu ul a:hover::after {
        transform: scaleX(1);
    }

.nav-actions {
    display: flex;
    align-items: center;
    gap: .65rem;
}

.nav-search {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    min-height: 36px;
    padding: .5rem .75rem;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 999px;
    background: rgba(255, 255, 255, .07);
}

    .nav-search::after {
        content: "";
        width: 15px;
        height: 15px;
        border: 2px solid currentColor;
        border-radius: 50%;
        box-shadow: 6px 6px 0 -4px currentColor;
        transform: translateY(-1px);
    }

.nav-toggle {
    display: none;
    width: 48px;
    height: 48px;
    padding: 11px;
    border: 1px solid rgba(255, 255, 255, .25);
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, .06);
}

    .nav-toggle span {
        display: block;
        height: 2px;
        margin: 6px 0;
        background: #fff;
        border-radius: 999px;
    }

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .72rem;
    min-height: 46px;
    padding: .78rem 1.2rem;
    border: 1px solid transparent;
    border-radius: var(--radius-sm);
    color: #fff;
    font-weight: 850;
    letter-spacing: 0;
    cursor: pointer;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
}

    .btn:hover {
        transform: translateY(-2px);
    }

.btn-primary {
    background: #315328;
    border-color: #315328;
    color: #fff;
    box-shadow: 0 12px 24px rgba(49, 83, 40, .22);
}

    .btn-primary:hover {
        background: #3f6a34;
        border-color: #3f6a34;
        transform: translateY(-1px);
    }

.btn-secondary,
.btn-outline-light {
    background: rgba(255, 255, 255, .08);
    border-color: rgba(255, 255, 255, .45);
    color: #fff;
}

    .btn-secondary:hover,
    .btn-outline-light:hover {
        background: rgba(255, 255, 255, .14);
        border-color: rgba(255, 255, 255, .7);
    }

.btn-small {
    min-height: 36px;
    padding: .5rem .85rem;
    font-size: .84rem;
}

.btn.full {
    width: 100%;
}

.btn-arrow {
    width: 18px;
    height: 10px;
    background: linear-gradient(currentColor, currentColor) left 50% / 15px 2px no-repeat;
    position: relative;
}

    .btn-arrow::after {
        content: "";
        position: absolute;
        right: 0;
        top: 1px;
        width: 8px;
        height: 8px;
        border-top: 2px solid currentColor;
        border-right: 2px solid currentColor;
        transform: rotate(45deg);
    }

.button-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
}

.card .btn-primary,
.solution-card .btn-primary,
.side-panel .btn-primary {
    background: #315328;
    border-color: #315328;
}

.eyebrow {
    margin: 0 0 .42rem;
    color: var(--color-primary-muted);
    text-transform: uppercase;
    letter-spacing: .14em;
    font-size: .76rem;
    font-weight: 950;
}

.hero {
    position: relative;
    overflow: hidden;
    min-height: clamp(500px, calc(100vh - 205px), 560px);
    color: #fff;
    background: radial-gradient(circle at 9% 18%, rgba(119, 169, 92, .16), transparent 26%), linear-gradient(105deg, #284922 0%, #315328 48%, #3f6a34 100%);
}

    .hero::before {
        content: "";
        position: absolute;
        inset: 0;
        background-image: radial-gradient(rgba(255,255,255,.11) 1px, transparent 1px);
        background-size: 18px 18px;
        mask-image: linear-gradient(90deg, #000 0%, rgba(0,0,0,.72) 52%, rgba(0,0,0,.18) 100%);
        opacity: .24;
    }

.hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(455px, 520px) 1fr;
    gap: clamp(1.5rem, 2.2vw, 2.8rem);
    align-items: start;
    min-height: inherit;
    padding: clamp(50px, 5vh, 68px) 0 clamp(24px, 2.4vw, 42px);
}

.hero-copy {
    position: relative;
    z-index: 5;
    align-self: start;
    max-width: 520px;
    padding-top: 0;
}

    .hero-copy .eyebrow {
        color: var(--color-accent-light);
    }

.hero h1 {
    margin: 0;
    font-size: clamp(3.55rem, 4.35vw, 4.8rem);
    line-height: .98;
    letter-spacing: 0;
    text-wrap: balance;
}

    .hero h1 span {
        display: block;
    }

.hero-lede {
    max-width: 460px;
    margin: 1rem 0 1.25rem;
    color: rgba(255, 255, 255, .9);
    font-size: clamp(1rem, 1.05vw, 1.1rem);
}

.hero-actions {
    margin-bottom: 1.35rem;
}

.trust-row {
    position: relative;
    z-index: 6;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: .8rem;
    max-width: 600px;
}

@media (min-width: 1400px) {
    .hero {
        min-height: clamp(545px, 34vw, 610px);
    }

    .trust-row {
        margin-bottom: clamp(12px, 1.4vw, 26px);
    }
}

    .trust-row article {
        display: grid;
        grid-template-columns: 34px 1fr;
        gap: .55rem;
        align-items: center;
        min-height: 54px;
        padding: 0;
        border: 0;
        border-radius: 0;
        background: transparent;
        box-shadow: none;
    }

    .trust-row h2,
    .trust-row p {
        margin: 0;
    }

    .trust-row h2 {
        font-size: .9rem;
    }

    .trust-row p {
        color: rgba(255, 255, 255, .76);
        font-size: .78rem;
        line-height: 1.3;
    }

.round-icon,
.floating-icon {
    display: inline-grid;
    place-items: center;
    flex: 0 0 auto;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    color: #fff;
    background: linear-gradient(135deg, var(--color-accent), var(--color-primary));
    box-shadow: 0 10px 28px rgba(0, 0, 0, .18);
}

    .round-icon.small {
        width: 42px;
        height: 42px;
    }

    .round-icon svg,
    .floating-icon svg {
        width: 18px;
        height: 18px;
        fill: none;
        stroke: currentColor;
        stroke-width: 2;
        stroke-linecap: round;
        stroke-linejoin: round;
    }

.hero-visual {
    position: absolute;
    z-index: 2;
    top: 0;
    right: max(-110px, calc((1180px - 100vw) / 2 - 36px));
    bottom: 0;
    width: clamp(720px, 64vw, 1120px);
    align-self: stretch;
    margin-right: 0;
    pointer-events: none;
}

.hero-image-shell {
    position: relative;
    min-height: 100%;
    max-height: none;
    height: 100%;
    overflow: hidden;
    border-radius: 0;
    box-shadow: none;
    isolation: isolate;
    -webkit-mask-image: linear-gradient(90deg,
        transparent 0%,
        rgba(0, 0, 0, .08) 4%,
        rgba(0, 0, 0, .35) 10%,
        rgba(0, 0, 0, .78) 18%,
        #000 28%,
        #000 100%);
    mask-image: linear-gradient(90deg,
        transparent 0%,
        rgba(0, 0, 0, .08) 4%,
        rgba(0, 0, 0, .35) 10%,
        rgba(0, 0, 0, .78) 18%,
        #000 28%,
        #000 100%);
}

    .hero-image-shell::after {
        content: "";
        position: absolute;
        inset: 0;
        border-radius: inherit;
        pointer-events: none;
        box-shadow: inset 0 0 0 1px rgba(255,255,255,.04);
    }

    .hero-image-shell img {
        width: 100%;
        height: 100%;
        min-height: 100%;
        object-fit: cover;
        object-position: 54% 38%;
        transform: scale(1.02);
    }

.hero-image-shade {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    background:
        linear-gradient(90deg,
            rgba(49, 83, 40, .56) 0%,
            rgba(49, 83, 40, .30) 16%,
            rgba(49, 83, 40, .08) 32%,
            transparent 49%),
        linear-gradient(0deg, rgba(49, 83, 40, .06), transparent 42%);
}


/* Mockup-style hero photo composition: right-side image fades into the #315328 brand field. */
.hero::after {
    display: none;
}

.hero-image-shell::before {
    display: none;
}

.hero-image-shell::after {
    z-index: 4;
}

.mission-card {
    z-index: 6;
}

.mission-card {
    position: absolute;
    left: clamp(310px, 34vw, 520px);
    bottom: 34px;
    width: min(330px, calc(100% - 64px));
    padding: 1.05rem 1.15rem;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: var(--radius-md);
    color: #fff;
    background: rgba(31, 58, 26, .94);
    backdrop-filter: blur(12px);
    box-shadow: var(--shadow-lg);
}

    .mission-card strong,
    .mission-card span {
        display: block;
    }

    .mission-card strong {
        margin-bottom: .45rem;
        font-size: 1rem;
    }

    .mission-card span {
        color: rgba(255, 255, 255, .86);
    }

.section {
    position: relative;
    padding: clamp(42px, 4.4vw, 58px) 0;
}

.section-warm {
    background: var(--color-bg-warm);
}

.section-header {
    max-width: 760px;
    margin-bottom: 1.1rem;
}

    .section-header.center,
    .center {
        text-align: center;
        margin-inline: auto;
    }

    .section-header h2,
    .difference-copy h2,
    .cta-inner h2 {
        margin: 0;
        font-size: clamp(1.55rem, 1.9vw, 2.15rem);
        line-height: 1.12;
        letter-spacing: 0;
    }

    .section-header p:not(.eyebrow) {
        color: var(--color-muted);
    }

.solutions-section {
    padding-top: clamp(44px, 4.1vw, 62px);
    padding-bottom: clamp(50px, 5vw, 66px);
    border-top: 1px solid rgba(49, 83, 40, .08);
}

.solution-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(1.4rem, 2.6vw, 2.2rem);
}

.solution-card {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 190px;
    gap: 1.1rem;
    align-items: start;
    min-height: 285px;
    padding: clamp(1.35rem, 2.4vw, 1.85rem);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, rgba(255,255,255,.98), rgba(232,240,228,.92)), var(--color-surface);
    box-shadow: var(--shadow-md);
}

    .solution-card::after {
        content: "";
        position: absolute;
        inset: 14px;
        border: 1px solid rgba(255, 255, 255, .72);
        border-radius: calc(var(--radius-lg) - 8px);
        pointer-events: none;
    }

.floating-icon {
    position: absolute;
    top: -20px;
    right: 30px;
    width: 56px;
    height: 56px;
    border: 4px solid var(--color-bg-warm);
    z-index: 2;
}

.solution-copy,
.solution-image {
    position: relative;
    z-index: 1;
}

.solution-copy {
    display: flex;
    flex-direction: column;
    min-height: 100%;
}

.solution-copy .compact-actions {
    margin-top: auto;
}

.solution-card h3 {
    margin: 0 0 .35rem;
    color: var(--color-primary);
    font-size: clamp(1.25rem, 1.35vw, 1.5rem);
    line-height: 1.05;
}

.solution-card p {
    color: var(--color-muted);
}

.compact-actions {
    gap: .55rem;
}

.solution-card .compact-actions {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: .48rem;
}

.solution-card .compact-actions .btn {
    flex: 0 0 auto;
    white-space: nowrap;
    min-height: 36px;
    padding: .55rem .66rem;
    font-size: .78rem;
}

.solution-image {
    align-self: start;
    margin-top: .2rem;
}

.solution-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    object-position: center top;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.check-list {
    list-style: none;
    padding: 0;
    margin: 1rem 0 1.15rem;
}

    .check-list li {
        position: relative;
        margin: .44rem 0;
        padding-left: 1.75rem;
        color: inherit;
    }

        .check-list li::before {
            content: "";
            position: absolute;
            left: 0;
            top: .25rem;
            width: 16px;
            height: 16px;
            border-radius: 50%;
            background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23315328' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 4 4L19 6'/%3E%3C/svg%3E") center / 12px 12px no-repeat, #dfead8;
        }

    .check-list.light li {
        color: rgba(255, 255, 255, .9);
    }

        .check-list.light li::before {
            background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 4 4L19 6'/%3E%3C/svg%3E") center / 12px 12px no-repeat, rgba(255,255,255,.16);
        }

.industries-section {
    background: var(--color-bg);
}

/* Final homepage spacing polish */
.industries-section {
    padding-top: clamp(42px, 4.2vw, 56px);
    padding-bottom: clamp(34px, 3.8vw, 48px);
}

.process-section {
    padding-top: clamp(38px, 4vw, 54px);
    padding-bottom: clamp(38px, 4vw, 54px);
}


.industry-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: .85rem;
    margin: 1.25rem 0 1rem;
}

.industry-card {
    display: grid;
    place-items: center;
    gap: .8rem;
    min-height: 112px;
    padding: .9rem .7rem;
    border: 1px solid transparent;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, .72);
    box-shadow: var(--shadow-sm);
    text-align: center;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease, background .2s ease;
}

    .industry-card:hover {
        transform: translateY(-5px);
        border-color: var(--color-border);
        background: #fff;
        box-shadow: var(--shadow-md);
    }

.industry-icon {
    width: 46px;
    height: 46px;
    border: 2px solid rgba(49, 83, 40, .22);
    border-radius: 15px;
    background-color: var(--color-primary-soft);
    background-position: center;
    background-repeat: no-repeat;
    background-size: 26px 26px;
    box-shadow: inset 0 0 0 8px var(--color-primary-soft);
}

.icon-factory {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='%23315328' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round' viewBox='0 0 24 24'%3E%3Cpath d='M3 21h18M5 21V9l5 3V9l5 3V5h4v16M8 17h2M13 17h2M18 17h1'/%3E%3C/svg%3E");
}

.icon-tools {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='%23315328' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round' viewBox='0 0 24 24'%3E%3Cpath d='m14 7 3-3 3 3-3 3M4 20l7-7M13 11l6 6M6 4l4 4'/%3E%3C/svg%3E");
}

.icon-office {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='%23315328' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round' viewBox='0 0 24 24'%3E%3Cpath d='M5 21V4h14v17M8 8h2M14 8h2M8 12h2M14 12h2M9 21v-5h6v5'/%3E%3C/svg%3E");
}

.icon-helmet {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='%23315328' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round' viewBox='0 0 24 24'%3E%3Cpath d='M4 14a8 8 0 0 1 16 0M3 14h18v3H3zM9 14V7M15 14V7'/%3E%3C/svg%3E");
}

.icon-store {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='%23315328' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round' viewBox='0 0 24 24'%3E%3Cpath d='M4 10h16l-1-5H5l-1 5ZM6 10v11h12V10M9 21v-6h6v6M4 10c0 2 3 2 3 0 0 2 3 2 3 0 0 2 3 2 3 0 0 2 3 2 3 0 0 2 3 2 3 0'/%3E%3C/svg%3E");
}

.icon-warehouse {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='%23315328' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round' viewBox='0 0 24 24'%3E%3Cpath d='M3 21V9l9-5 9 5v12M7 21v-7h10v7M9 17h6M9 14h6'/%3E%3C/svg%3E");
}

.difference-panel {
    display: grid;
    grid-template-columns: .85fr 1.2fr;
    gap: clamp(1.35rem, 2.6vw, 2.5rem);
    align-items: center;
    padding: clamp(1.35rem, 2.7vw, 2rem);
    color: #fff;
    background: radial-gradient(circle at 12% 0%, rgba(119, 169, 92, .3), transparent 30%), linear-gradient(135deg, #1f3a1a, #315328 56%, #3c6531);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.difference-copy .eyebrow,
.cta-inner .eyebrow {
    color: var(--color-accent-light);
}

.landing-intro-layout {
    align-items: center;
}

.dual-audience-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.audience-card,
.role-card,
.service-card,
.industry-pill-card,
.visual-link-card,
.resource-card-detailed {
    height: 100%;
}

.role-card,
.service-card {
    display: grid;
    gap: .85rem;
}

.visual-link-card {
    overflow: hidden;
}

    .visual-link-card img {
        width: 100%;
        height: 170px;
        object-fit: cover;
        border-radius: var(--radius-sm);
    }

.industry-pill-card {
    justify-content: center;
    text-align: center;
}

.resource-card-detailed {
    align-items: flex-start;
}

    .resource-card-detailed strong,
    .resource-card-detailed span {
        display: block;
    }

    .resource-card-detailed span {
        margin-top: .45rem;
        color: var(--color-muted);
        font-size: .96rem;
        font-weight: 500;
        line-height: 1.45;
    }

.difference-copy p {
    color: rgba(255, 255, 255, .82);
}

.page-link-section {
    border-top: 1px solid rgba(49, 83, 40, .08);
}

.page-highlights,
.faq-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.section-stack {
    display: grid;
    gap: 1rem;
}

.content-band {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(300px, .9fr);
    gap: 1.4rem;
    align-items: start;
    padding: clamp(1.35rem, 2.5vw, 1.9rem);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, rgba(255,255,255,.98), rgba(232,240,228,.64)), #fff;
    box-shadow: var(--shadow-sm);
}

    .content-band p {
        color: var(--color-muted);
        margin-bottom: 0;
    }

    .content-band .check-list {
        margin: 0;
    }

.contact-quick-links {
    display: flex;
    flex-wrap: wrap;
    gap: .65rem;
    margin-top: 1.1rem;
}

.article-card img,
.article-feature {
    width: 100%;
    object-fit: cover;
    border-radius: var(--radius-sm);
}

.article-card img {
    height: 180px;
}

.article-feature {
    height: clamp(240px, 34vw, 420px);
    margin: 1rem 0 1.25rem;
}

.article-card strong {
    color: var(--color-primary);
}

.faq-section .feature-card h3,
.content-band h2 {
    margin-top: 0;
}

.difference-images {
    overflow: hidden;
    border-radius: var(--radius-md);
}

    .difference-images img {
        width: 100%;
        height: 290px;
        object-fit: cover;
        object-position: center;
        border-radius: var(--radius-md);
        box-shadow: 0 18px 50px rgba(0, 0, 0, .24);
    }

.process-section {
    background: linear-gradient(180deg, rgba(255,255,255,.72), rgba(247,248,244,1)), var(--color-bg);
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}

.process-card,
.feature-card,
.testimonial-card,
.article-card,
.resource-card,
.link-card,
.contact-card,
.side-panel,
.modern-form {
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, .86);
    box-shadow: var(--shadow-sm);
}

.process-card,
.feature-card,
.testimonial-card,
.article-card,
.resource-card,
.link-card,
.contact-card,
.side-panel,
.modern-form {
    padding: clamp(1.25rem, 2.4vw, 1.65rem);
}

.process-card {
    position: relative;
    overflow: hidden;
    min-height: 215px;
}

    .process-card::after {
        content: "";
        position: absolute;
        right: -35px;
        top: -35px;
        width: 110px;
        height: 110px;
        border-radius: 50%;
        background: var(--color-primary-soft);
    }

    .process-card span,
    .step-badge,
    .process-list article > span {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 44px;
        height: 44px;
        margin-bottom: .9rem;
        border-radius: 50%;
        color: var(--color-primary);
        background: var(--color-primary-soft);
        font-weight: 950;
    }

    .process-card h3,
    .feature-card h3,
    .feature-card h2,
    .article-card h2 {
        margin: 0;
        line-height: 1.18;
    }

    .process-card p,
    .feature-card p,
    .article-card p,
    .link-card span {
        color: var(--color-muted);
    }

    .article-card p:not(.eyebrow) {
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 4;
        overflow: hidden;
    }

    .empty-state {
        grid-column: 1 / -1;
        margin: 0;
        padding: 1.25rem;
        border: 1px solid var(--color-border);
        border-radius: var(--radius-md);
        color: var(--color-muted);
        background: #fff;
    }

.card-grid,
.feature-grid,
.resource-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.testimonials-section {
    background: #fff;
    border-top: 1px solid rgba(49, 83, 40, .08);
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(1rem, 2vw, 1.35rem);
}

.testimonial-card {
    display: flex;
    flex-direction: column;
    min-height: 170px;
    padding: clamp(1.25rem, 2.2vw, 1.7rem);
    background: #fff;
    border: 1px solid rgba(49, 83, 40, .12);
    border-radius: var(--radius-md);
    box-shadow: 0 12px 28px rgba(20, 41, 20, .065);
}

.testimonial-quote {
    margin: 0 0 1.15rem;
    color: var(--color-text);
    font-size: clamp(.98rem, 1.02vw, 1.05rem);
    line-height: 1.62;
}

.testimonial-meta {
    display: grid;
    gap: .15rem;
    margin-top: auto;
}

.testimonial-meta strong {
    color: var(--color-primary);
    font-weight: 900;
}

.testimonial-meta span {
    color: var(--color-muted);
    font-size: .9rem;
    font-weight: 700;
}

.cta-band {
    color: #fff;
    background: radial-gradient(circle at 84% 25%, rgba(168, 207, 139, .24), transparent 28%), linear-gradient(135deg, #1f3a1a, #315328 58%, #3c6531);
}

.cta-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 2rem;
    align-items: center;
}

    .cta-inner h2 {
        max-width: 760px;
    }

.page-hero {
    position: relative;
    overflow: hidden;
    color: #fff;
    background: radial-gradient(circle at 12% 20%, rgba(119,169,92,.28), transparent 28%), linear-gradient(115deg, #1f3a1a, #315328 52%, #3c6531);
}

    .page-hero::before {
        content: "";
        position: absolute;
        inset: 0;
        background-image: radial-gradient(rgba(255,255,255,.1) 1px, transparent 1px);
        background-size: 18px 18px;
        opacity: .25;
    }

.page-hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 430px;
    gap: clamp(2rem, 5vw, 4rem);
    align-items: center;
    padding: clamp(48px, 5.2vw, 70px) 0;
}

.page-hero h1 {
    max-width: 760px;
    margin: 0;
    font-size: clamp(2.7rem, 4.5vw, 4.45rem);
    line-height: 1;
}

.page-hero p:not(.eyebrow) {
    max-width: 650px;
    margin: 1.3rem 0 1.8rem;
    color: rgba(255,255,255,.86);
    font-size: 1.12rem;
}

.page-hero-media {
    overflow: hidden;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.page-hero img {
    width: 100%;
    height: 290px;
    object-fit: cover;
    object-position: center top;
}

.split-layout,
.form-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(340px, 410px);
    gap: clamp(1.5rem, 3vw, 2.4rem);
    align-items: start;
}

.lead {
    color: var(--color-muted);
    font-size: clamp(1.05rem, 1.4vw, 1.2rem);
}

.side-panel {
    position: sticky;
    top: 112px;
    display: grid;
    gap: 1rem;
}

    .side-panel.dark {
        color: #fff;
        background: linear-gradient(135deg, #1f3a1a, #315328 58%, #3c6531);
    }

        .side-panel.dark h2 {
            color: #fff;
        }

.tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: .65rem;
    list-style: none;
    padding: 0;
    margin: 1rem 0;
}

    .tag-list li {
        padding: .58rem .82rem;
        color: var(--color-primary-dark);
        background: var(--color-primary-soft);
        border: 1px solid rgba(49,83,40,.08);
        border-radius: 999px;
        font-size: .9rem;
        font-weight: 850;
    }

.process-list {
    display: grid;
    gap: 1rem;
    margin-top: 1.5rem;
}

    .process-list article {
        display: grid;
        grid-template-columns: 58px 1fr;
        gap: 1rem;
        align-items: start;
        padding: 1.2rem;
        border: 1px solid var(--color-border);
        border-radius: var(--radius-md);
        background: #fff;
        box-shadow: var(--shadow-sm);
    }

.stats-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: .9rem;
    margin: 1.5rem 0;
}

    .stats-row article {
        padding: 1.05rem;
        border: 1px solid var(--color-border);
        border-radius: var(--radius-md);
        background: #fff;
        box-shadow: var(--shadow-sm);
    }

    .stats-row strong,
    .stats-row span {
        display: block;
    }

    .stats-row strong {
        color: var(--color-primary);
        font-size: 1.1rem;
    }

    .stats-row span {
        color: var(--color-muted);
        font-size: .88rem;
    }

.modern-form {
    display: grid;
    gap: 1rem;
    background: linear-gradient(135deg, rgba(255,255,255,.98), rgba(232,240,228,.42)), #fff;
}

    .modern-form label {
        display: grid;
        gap: .42rem;
        color: var(--color-primary-dark);
        font-weight: 850;
    }

    .modern-form input,
    .modern-form select,
    .modern-form textarea {
        width: 100%;
        border: 1px solid var(--color-border);
        border-radius: var(--radius-sm);
        padding: .9rem 1rem;
        background: #fff;
        color: var(--color-text);
        transition: border-color .2s ease, box-shadow .2s ease;
    }

        .modern-form input:focus,
        .modern-form select:focus,
        .modern-form textarea:focus {
            border-color: var(--color-primary-muted);
            box-shadow: 0 0 0 4px rgba(119, 169, 92, .16);
            outline: none;
        }

    .modern-form fieldset {
        border: 1px solid var(--color-border);
        border-radius: var(--radius-sm);
        padding: 1rem;
    }

    .modern-form .radio {
        display: inline-flex;
        align-items: center;
        gap: .45rem;
        margin-right: 1rem;
    }

        .modern-form .radio input {
            width: auto;
        }

.resource-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.resource-card {
    min-height: 118px;
    display: flex;
    align-items: center;
    color: var(--color-primary-dark);
    font-size: 1.08rem;
    font-weight: 900;
    transition: transform .2s ease, box-shadow .2s ease;
}

.article-card,
.link-card {
    display: grid;
    gap: .75rem;
    transition: transform .2s ease, box-shadow .2s ease;
}

    .article-card:hover,
    .link-card:hover,
    .resource-card:hover {
        transform: translateY(-4px);
        box-shadow: var(--shadow-md);
    }

    .article-card .eyebrow {
        margin-bottom: 0;
    }

.article-body {
    max-width: 780px;
}

    .article-body h2 {
        margin: 2rem 0 .9rem;
        color: var(--ink);
        font-size: clamp(1.35rem, 2vw, 1.75rem);
        line-height: 1.2;
    }

    .article-body p {
        font-size: 1.08rem;
    }

    .article-body ul {
        display: grid;
        gap: .55rem;
        margin: .25rem 0 1.25rem;
        padding-left: 1.35rem;
    }

    .article-body li {
        color: var(--muted);
        font-size: 1.04rem;
        line-height: 1.7;
    }

    .article-body a {
        color: var(--green);
        font-weight: 700;
        text-decoration: underline;
        text-underline-offset: 3px;
    }

.card-grid.small {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.narrow {
    max-width: 980px;
}

.site-footer {
    position: relative;
    overflow: hidden;
    padding: 52px 0 24px;
    color: rgba(255,255,255,.78);
    background: radial-gradient(circle at 14% 0%, rgba(168, 207, 139, .20), transparent 28%), linear-gradient(180deg, #1f3a1a, #172d14);
}

    .site-footer::before {
        content: "";
        position: absolute;
        inset: 0;
        background-image: radial-gradient(rgba(255,255,255,.08) 1px, transparent 1px);
        background-size: 18px 18px;
        opacity: .18;
    }

.footer-grid,
.footer-bottom {
    position: relative;
    z-index: 1;
}

.footer-grid {
    display: grid;
    grid-template-columns: minmax(280px, 1.6fr) repeat(3, 1fr);
    gap: clamp(1.5rem, 4vw, 3rem);
}

.footer-logo {
    width: 185px;
    margin-bottom: 1rem;
}

.footer-brand p {
    max-width: 360px;
}

.footer-contact {
    display: grid;
    gap: .35rem;
    margin-top: 1rem;
}

.site-footer h2 {
    margin: 0 0 1rem;
    color: #fff;
    font-size: 1rem;
}

.site-footer a {
    display: block;
    margin: .45rem 0;
    color: rgba(255,255,255,.78);
}

    .site-footer a:hover {
        color: #fff;
    }

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 2.5rem;
    padding-top: 1.3rem;
    border-top: 1px solid rgba(255,255,255,.13);
    font-size: .9rem;
}

@media (max-width: 1080px) {
    .nav-toggle {
        display: block;
    }

    .nav-menu {
        position: absolute;
        left: 24px;
        right: 24px;
        top: 74px;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
        padding: 1rem;
        border: 1px solid rgba(255,255,255,.12);
        border-radius: var(--radius-md);
        background: #1f3a1a;
        box-shadow: var(--shadow-lg);
    }

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

        .nav-menu ul,
        .nav-actions {
            flex-direction: column;
            align-items: stretch;
        }

        .nav-menu ul {
            gap: .2rem;
        }

        .nav-menu a {
            display: flex;
            padding: .75rem .6rem;
        }

    .nav-search {
        justify-content: space-between;
    }

    .hero-grid,
    .page-hero-grid,
    .difference-panel,
    .content-band,
    .split-layout,
    .form-layout,
    .footer-grid,
    .cta-inner {
        grid-template-columns: 1fr;
    }

    .hero-grid {
        padding-top: 38px;
        padding-bottom: 0;
    }

    .hero-visual {
        position: relative;
        z-index: 2;
        top: auto;
        right: auto;
        bottom: auto;
        width: 100%;
        margin-right: 0;
        pointer-events: auto;
    }

    .hero-image-shell,
    .hero-image-shell img {
        min-height: 430px;
        height: 430px;
    }

    .hero-image-shell {
        border-radius: var(--radius-lg);
        -webkit-mask-image: none;
        mask-image: none;
    }

        .hero::after,
        .hero-image-shell::before {
            display: none;
        }

    .mission-card {
        left: 24px;
        bottom: 24px;
        width: min(340px, calc(100% - 48px));
    }

    .side-panel {
        position: static;
    }

    .solution-grid,
    .process-grid,
    .industry-grid,
    .card-grid.small,
    .page-highlights,
    .faq-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .container,
    .nav-shell {
        width: min(100% - 32px, 1180px);
    }

    .nav-shell {
        min-height: 68px;
    }

    .brand img {
        width: 145px;
    }

    .nav-menu {
        top: 68px;
        left: 16px;
        right: 16px;
    }

    .hero {
        min-height: auto;
    }

        .hero h1 {
            font-size: clamp(3rem, 14vw, 4.25rem);
        }

    .hero-grid {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 1.55rem;
        padding-top: 34px;
        padding-bottom: 38px;
    }

    .trust-row,
    .solution-grid,
    .solution-card,
    .industry-grid,
    .process-grid,
    .testimonial-grid,
    .feature-grid,
    .card-grid,
    .card-grid.small,
    .resource-grid,
    .stats-row,
    .page-highlights,
    .faq-grid {
        grid-template-columns: 1fr;
    }

        .trust-row article {
            min-height: auto;
        }

    .hero-image-shell,
    .hero-image-shell img {
        min-height: 335px;
        height: 335px;
        border-radius: var(--radius-lg);
    }

    .mission-card {
        left: 18px;
        bottom: 18px;
        width: calc(100% - 36px);
        padding: 1rem 1.05rem;
    }

    .solution-card {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .solution-image {
        order: -1;
    }

    .solution-card .compact-actions {
        flex-wrap: wrap;
    }

        .solution-image img,
        .difference-images img,
        .page-hero img {
            height: 230px;
        }

    .floating-icon {
        top: 16px;
        right: 18px;
        border-color: rgba(255,255,255,.82);
    }

    .page-hero-grid {
        padding: 40px 0;
    }

    .page-hero h1 {
        font-size: clamp(2.35rem, 11vw, 3.25rem);
    }

    .footer-bottom {
        flex-direction: column;
    }
}

/* Live jobs strip
   Phase 1 UX-only section for homepage job board integration.
   Placeholder data is rendered from Index.cshtml for now and can later be
   replaced by a database-backed job listing service.
*/
.live-jobs-section {
    padding: clamp(20px, 2.4vw, 30px) 0;
    background: #fff;
    border-top: 1px solid rgba(49, 83, 40, .08);
    border-bottom: 1px solid rgba(49, 83, 40, .08);
}

.live-jobs-panel {
    display: grid;
    grid-template-columns: minmax(220px, .62fr) minmax(0, 1.95fr);
    gap: clamp(.85rem, 1.6vw, 1.15rem);
    align-items: stretch;
    padding: clamp(.9rem, 1.6vw, 1.2rem);
    border: 1px solid rgba(49, 83, 40, .10);
    border-radius: var(--radius-lg);
    background: #fff;
    box-shadow: 0 14px 30px rgba(20, 41, 20, .055);
}

.live-jobs-intro {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-width: 0;
}

.live-jobs-intro h2 {
    margin: 0;
    color: var(--color-text);
    font-size: clamp(1.25rem, 1.55vw, 1.65rem);
    line-height: 1.05;
    letter-spacing: -.01em;
}

.live-jobs-intro p:not(.eyebrow) {
    margin: .45rem 0 .75rem;
    color: var(--color-muted);
}

.live-jobs-all {
    margin-top: auto;
}

.live-jobs-list {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: .85rem;
    min-width: 0;
}

.live-job-card {
    display: flex;
    flex-direction: column;
    min-height: 108px;
    padding: .8rem .85rem;
    border: 1px solid rgba(49, 83, 40, .11);
    border-radius: var(--radius-md);
    background: #fff;
    box-shadow: 0 10px 22px rgba(20, 41, 20, .045);
    cursor: pointer;
    transition:
        transform .2s ease,
        border-color .2s ease,
        box-shadow .2s ease,
        background .2s ease;
}

.live-job-card:hover {
    transform: translateY(-3px);
    border-color: rgba(49, 83, 40, .22);
    background: #fff;
    box-shadow: 0 14px 28px rgba(20, 41, 20, .075);
}

.live-job-card strong {
    display: -webkit-box;
    min-height: 2.2em;
    overflow: hidden;
    color: var(--color-text);
    font-size: .9rem;
    line-height: 1.12;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.live-job-location {
    display: block;
    margin-top: .3rem;
    overflow: hidden;
    color: var(--color-muted);
    font-size: .74rem;
    font-weight: 750;
    text-overflow: ellipsis;
    text-transform: uppercase;
    letter-spacing: .02em;
    white-space: nowrap;
}

.live-job-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: .3rem;
    margin-top: .35rem;
    padding-top: 0;
    min-width: 0;
}

.live-job-pay {
    display: block;
    color: var(--color-primary);
    background: transparent;
    border-radius: 0;
    padding: 0;
    font-size: .76rem;
    font-weight: 900;
    line-height: 1.12;
    white-space: normal;
    overflow-wrap: anywhere;
}

.live-job-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 24px;
    padding: .28rem .52rem;
    border-radius: 7px;
    color: #fff;
    background: var(--color-primary);
    font-size: .7rem;
    font-weight: 900;
    line-height: 1;
    white-space: nowrap;
}

    .live-job-link span {
        display: none;
    }

@media (max-width: 1080px) {
    .live-jobs-panel {
        grid-template-columns: 1fr;
    }

    .live-jobs-intro {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        column-gap: 1rem;
        align-items: end;
    }

    .live-jobs-intro .eyebrow,
    .live-jobs-intro h2,
    .live-jobs-intro p {
        grid-column: 1;
    }

    .live-jobs-all {
        grid-column: 2;
        grid-row: 1 / 4;
        align-self: center;
        margin-top: 0;
    }

    .live-jobs-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .live-job-card {
        min-height: 104px;
    }
}

@media (max-width: 880px) {
    .live-jobs-intro {
        display: block;
    }

    .live-jobs-all {
        margin-top: .35rem;
    }

    .live-jobs-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .live-jobs-section {
        padding: 1.2rem 0;
    }

    .live-jobs-panel {
        padding: 1rem;
        border-radius: var(--radius-md);
    }

    .live-jobs-intro {
        display: block;
    }

    .live-jobs-all {
        margin-top: .4rem;
    }

    .live-jobs-list {
        display: grid;
        grid-template-columns: 1fr;
        gap: .85rem;
        overflow: visible;
        padding: 0;
        scroll-snap-type: none;
    }

    .live-job-card {
        width: 100%;
        min-height: 104px;
        flex: initial;
        scroll-snap-align: none;
    }
}


/* Final visual cleanup pass
   Source: latest checked-in/user-provided site.css.
   Goals:
   - Keep #315328 as the brand base.
   - Reduce the over-green wash below the hero.
   - Make buttons crisp/non-gradient but clearly visible.
   - Tighten and clean up homepage cards.
*/

/* Make main content areas clean white like the approved mockup. */
body {
    background: #fff;
}

.section,
.section-warm,
.industries-section,
.process-section,
.testimonial-section,
.testimonials-section,
.live-jobs-section,
.page-link-section {
    background: #fff !important;
}

.process-section {
    background: #fff !important;
}

/* Buttons: no gradients on controls, but primary CTAs must pop against green. */
.btn,
a.btn,
button.btn {
    background-image: none !important;
    border-radius: 10px;
    font-weight: 850;
}

.btn-primary,
a.btn-primary,
button.btn-primary {
    color: #fff !important;
    background: #315328 !important;
    border-color: #315328 !important;
    box-shadow: 0 12px 24px rgba(49, 83, 40, .18);
}

.btn-primary:hover,
a.btn-primary:hover,
button.btn-primary:hover,
.btn-primary:focus-visible,
a.btn-primary:focus-visible,
button.btn-primary:focus-visible {
    color: #fff !important;
    background: #3f6a34 !important;
    border-color: #3f6a34 !important;
    box-shadow: 0 16px 30px rgba(49, 83, 40, .24);
    transform: translateY(-1px);
}

/* On the dark hero, primary buttons need to be lighter than the field. */
.hero .btn-primary,
.hero a.btn-primary {
    background: #6fa154 !important;
    border-color: rgba(255, 255, 255, .24) !important;
    color: #fff !important;
    box-shadow:
        0 16px 30px rgba(10, 30, 12, .30),
        inset 0 1px 0 rgba(255, 255, 255, .18);
}

.hero .btn-primary:hover,
.hero a.btn-primary:hover {
    background: #7fb462 !important;
    border-color: rgba(255, 255, 255, .36) !important;
}

/* Keep hero secondary buttons readable without turning them into green blobs. */
.hero .btn-secondary,
.hero a.btn-secondary,
.hero .btn-outline-light,
.hero a.btn-outline-light {
    color: #fff !important;
    background: rgba(255, 255, 255, .09) !important;
    border-color: rgba(255, 255, 255, .56) !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12);
}

.hero .btn-secondary:hover,
.hero a.btn-secondary:hover,
.hero .btn-outline-light:hover,
.hero a.btn-outline-light:hover {
    color: #fff !important;
    background: rgba(255, 255, 255, .16) !important;
    border-color: rgba(255, 255, 255, .78) !important;
}

/* Any CTA button sitting on a white/light section must not fade away. */
.section:not(.hero) .btn-secondary,
.section:not(.hero) a.btn-secondary,
.section:not(.hero) .btn-outline-light,
.section:not(.hero) a.btn-outline-light,
.industries-section .btn-secondary,
.industries-section a.btn-secondary,
.industries-section .btn-outline-light,
.industries-section a.btn-outline-light,
.cta-center .btn-secondary,
.cta-center a.btn-secondary,
.cta-center .btn-outline-light,
.cta-center a.btn-outline-light {
    color: #315328 !important;
    background: #fff !important;
    border-color: rgba(49, 83, 40, .34) !important;
    box-shadow: 0 10px 22px rgba(49, 83, 40, .10);
}

.section:not(.hero) .btn-secondary:hover,
.section:not(.hero) a.btn-secondary:hover,
.section:not(.hero) .btn-outline-light:hover,
.section:not(.hero) a.btn-outline-light:hover,
.industries-section .btn-secondary:hover,
.industries-section a.btn-secondary:hover,
.industries-section .btn-outline-light:hover,
.industries-section a.btn-outline-light:hover,
.cta-center .btn-secondary:hover,
.cta-center a.btn-secondary:hover,
.cta-center .btn-outline-light:hover,
.cta-center a.btn-outline-light:hover {
    color: #fff !important;
    background: #315328 !important;
    border-color: #315328 !important;
}

/* If "Explore Industry Pages" is implemented as a primary CTA, keep it clean and visible. */
.industries-section .btn-primary,
.industries-section a.btn-primary,
.cta-center .btn-primary,
.cta-center a.btn-primary {
    color: #fff !important;
    background: #315328 !important;
    border-color: #315328 !important;
    box-shadow: 0 14px 28px rgba(49, 83, 40, .18);
}

/* Homepage first-section cards: tighter, cleaner, whiter, less green tint. */
.solutions-section {
    background: #fff !important;
    padding-top: clamp(44px, 4.1vw, 60px);
    padding-bottom: clamp(44px, 4.6vw, 62px);
}

.solution-grid {
    gap: clamp(1.15rem, 2.1vw, 1.75rem);
}

.solution-card {
    grid-template-columns: minmax(0, 1fr) 170px;
    gap: .95rem;
    align-items: start;
    min-height: 270px;
    padding: clamp(1.15rem, 2vw, 1.55rem);
    border-color: rgba(49, 83, 40, .13);
    background: #fff !important;
    box-shadow: 0 16px 36px rgba(20, 41, 20, .08);
}

.solution-card::after {
    inset: 10px;
    border-color: rgba(49, 83, 40, .05);
}

.solution-card h3 {
    margin-top: 0;
    margin-bottom: .45rem;
    font-size: clamp(1.18rem, 1.25vw, 1.38rem);
    line-height: 1.1;
}

.solution-card p {
    margin-top: .35rem;
    margin-bottom: .55rem;
}

.solution-card .check-list {
    margin: .72rem 0 .85rem;
}

.solution-card .check-list li {
    margin: .33rem 0;
}

.solution-image {
    align-self: start;
    margin-top: .1rem;
}

.solution-image img {
    height: 178px;
    border-radius: 14px;
    box-shadow: none;
}

.floating-icon {
    width: 52px;
    height: 52px;
    top: -18px;
    right: 28px;
    border-color: #fff;
    background: #4f7f3f;
    box-shadow: 0 14px 28px rgba(49, 83, 40, .22);
}

/* Industry section should feel like a white section, not green-tinted paper. */
.industries-section {
    padding-top: clamp(38px, 4vw, 54px);
    padding-bottom: clamp(34px, 3.8vw, 48px);
}

.industry-card {
    background: #fff !important;
    border-color: rgba(49, 83, 40, .08);
    box-shadow: 0 12px 26px rgba(20, 41, 20, .055);
}

.industry-card:hover {
    border-color: rgba(49, 83, 40, .18);
    box-shadow: 0 16px 34px rgba(20, 41, 20, .09);
}

.industry-icon {
    background-color: #f2f6ef;
    box-shadow: inset 0 0 0 8px #f2f6ef;
}

/* General cards: cleaner white surface, less green film. */
.process-card,
.feature-card,
.testimonial-card,
.article-card,
.resource-card,
.link-card,
.contact-card,
.side-panel,
.modern-form,
.content-band {
    background: #fff !important;
    border-color: rgba(49, 83, 40, .12);
    box-shadow: 0 12px 28px rgba(20, 41, 20, .065);
}

.testimonial-card,
.modern-form,
.content-band {
    background: #fff !important;
}

/* Keep the dark feature/CTA areas rich, but avoid unnecessary gradient noise on controls. */
.difference-panel,
.cta-band,
.side-panel.dark {
    background:
        radial-gradient(circle at 12% 0%, rgba(119, 169, 92, .20), transparent 30%),
        linear-gradient(135deg, #1f3a1a, #315328 58%, #3a6330) !important;
}

/* Section headers should sit on white with a touch more premium spacing. */
.section-header.center {
    margin-bottom: clamp(1.25rem, 2vw, 1.75rem);
}

.section-header h2,
.difference-copy h2,
.cta-inner h2 {
    letter-spacing: -.01em;
}

/* Mobile/tablet: keep cards comfortable after tightening desktop cards. */
@media (max-width: 980px) {
    .solution-card .compact-actions {
        flex-wrap: wrap;
    }

    .solution-card .compact-actions .btn {
        padding: .6rem .8rem;
        font-size: .82rem;
    }
}

@media (max-width: 760px) {
    .solution-card {
        grid-template-columns: 1fr;
        min-height: auto;
        padding: 1.25rem;
    }

    .solution-copy {
        min-height: auto;
    }

    .solution-copy .compact-actions {
        margin-top: 1rem;
    }

    .solution-image {
        margin-top: .75rem;
    }

    .solution-image img {
        height: 230px;
    }
}


/* Footer column alignment pass
   Move the Company footer section up into the main footer row with the other link columns.
*/
.footer-grid {
    grid-template-columns: minmax(280px, 1.55fr) repeat(4, minmax(130px, 1fr));
    align-items: start;
}

.footer-grid > * {
    min-width: 0;
}

.footer-grid h2 {
    margin-top: 0;
}

@media (max-width: 1080px) {
    .footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .footer-brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 760px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-brand {
        grid-column: auto;
    }
}


/* Hero trust row: two-item layout
   The homepage hero now has only:
   - Local Staffing Experts
   - Broad Industry Reach
   So the trust row should no longer reserve space for a third item.
*/
.hero .trust-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 430px;
    gap: clamp(1rem, 1.45vw, 1.35rem);
    margin-top: 1.05rem;
}

.hero .trust-item {
    min-width: 0;
}

.hero .trust-item p {
    max-width: 175px;
}

/* On wide screens, keep the two trust items visually grouped under the buttons
   instead of stretching across the full hero copy width. */
@media (min-width: 1400px) {
    .hero .trust-row {
        max-width: 455px;
        gap: 1.35rem;
        margin-bottom: clamp(14px, 1.5vw, 28px);
    }
}

/* Tablet/mobile: let the two items stack or compress naturally. */
@media (max-width: 760px) {
    .hero .trust-row {
        grid-template-columns: 1fr;
        max-width: 100%;
        gap: .85rem;
    }

    .hero .trust-item p {
        max-width: none;
    }
}

/* CTA band button contrast
   The CTA band uses a dark green background, so its buttons need to be white/pale,
   not brand-green-on-green. Hero buttons remain unchanged.
*/
.cta-band .btn-primary,
.cta-band a.btn-primary,
.cta-band .btn-secondary,
.cta-band a.btn-secondary,
.cta-band .btn-outline-light,
.cta-band a.btn-outline-light {
    color: #315328 !important;
    background: #ffffff !important;
    border-color: #ffffff !important;
    background-image: none !important;
    box-shadow: 0 14px 28px rgba(0, 0, 0, .18);
}

.cta-band .btn-primary:hover,
.cta-band a.btn-primary:hover,
.cta-band .btn-secondary:hover,
.cta-band a.btn-secondary:hover,
.cta-band .btn-outline-light:hover,
.cta-band a.btn-outline-light:hover {
    color: #315328 !important;
    background: #edf4e9 !important;
    border-color: #edf4e9 !important;
    transform: translateY(-1px);
}

/* Industries hub page */
.industries-hub-section {
    padding-top: clamp(44px, 4.3vw, 62px);
    padding-bottom: clamp(46px, 4.8vw, 70px);
}

.industry-hub-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(1rem, 2vw, 1.35rem);
}

.industry-hub-card {
    display: grid;
    grid-template-columns: minmax(150px, 34%) minmax(0, 1fr);
    min-height: 100%;
    overflow: hidden;
    border: 1px solid rgba(49, 83, 40, .12);
    border-radius: var(--radius-md);
    background: #fff;
    box-shadow: 0 12px 28px rgba(20, 41, 20, .065);
}

.industry-hub-card-media {
    min-height: 100%;
    background: #eef4ea;
    overflow: hidden;
}

.industry-hub-card-media img {
    width: 100%;
    height: 100%;
    min-height: 245px;
    object-fit: cover;
    object-position: center center;
    display: block;
}

/* Industries hub image focal points
   These pair with the slug classes added in _IndustriesPage.cshtml:
   industry-hub-card--manufacturing, industry-hub-card--industrial, etc.
   Keep this CSS close to the industries hub rules.
*/
.industry-hub-card--manufacturing .industry-hub-card-media img {
    object-position: 64% center;
}

.industry-hub-card--industrial .industry-hub-card-media img {
    object-position: 38% center;
}

.industry-hub-card--clerical .industry-hub-card-media img {
    object-position: 50% 34%;
}

.industry-hub-card--warehouse .industry-hub-card-media img {
    object-position: 52% center;
}

.industry-hub-card--construction .industry-hub-card-media img {
    object-position: 64% center;
}

.industry-hub-card--retail .industry-hub-card-media img {
    object-position: 64% center;
}

.industry-hub-card--drivers .industry-hub-card-media img {
    object-position: 28% center;
}

.industry-hub-card--welders .industry-hub-card-media img {
    object-position: 50% 32%;
}

.industry-hub-card-body {
    display: flex;
    flex-direction: column;
    gap: .75rem;
    padding: clamp(1.15rem, 2vw, 1.45rem);
}

.industry-hub-card-icon {
    flex: 0 0 auto;
}

.industry-hub-card-body .eyebrow {
    margin-bottom: .25rem;
}

.industry-hub-card-body h3 {
    margin: 0;
    line-height: 1.15;
}

.industry-hub-card-body p {
    margin: 0;
    color: var(--color-muted);
}

.industry-hub-card-body .check-list {
    margin: .15rem 0 .25rem;
}

.industry-hub-card-actions {
    margin-top: auto;
    padding-top: .25rem;
}

.icon-driver {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='%23315328' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round' viewBox='0 0 24 24'%3E%3Cpath d='M3 17V8h11l4 4h3v5M7 17a2 2 0 1 0 0 4 2 2 0 0 0 0-4ZM17 17a2 2 0 1 0 0 4 2 2 0 0 0 0-4ZM14 8v4h4M3 13h18'/%3E%3C/svg%3E");
}

.icon-welder {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='%23315328' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round' viewBox='0 0 24 24'%3E%3Cpath d='M5 21h14M8 21v-5h8v5M7 6h10l-1 10H8L7 6ZM9 3h6M12 9v3M4 10l-2-2M20 10l2-2M5 15l-2 2M19 15l2 2'/%3E%3C/svg%3E");
}

.icon-briefcase {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='%23315328' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round' viewBox='0 0 24 24'%3E%3Cpath d='M4 7h16v12H4zM9 7V5h6v2M4 12h16'/%3E%3C/svg%3E");
}

@media (max-width: 1080px) {
    .industry-hub-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 760px) {
    .industry-hub-card {
        grid-template-columns: 1fr;
    }

    .industry-hub-card-media img {
        min-height: 220px;
        height: 220px;
    }

    .industry-hub-card--manufacturing .industry-hub-card-media img {
        object-position: 58% center;
    }

    .industry-hub-card--industrial .industry-hub-card-media img {
        object-position: 40% center;
    }

    .industry-hub-card--clerical .industry-hub-card-media img {
        object-position: 50% 32%;
    }

    .industry-hub-card--warehouse .industry-hub-card-media img {
        object-position: 52% center;
    }

    .industry-hub-card--construction .industry-hub-card-media img {
        object-position: 60% center;
    }

    .industry-hub-card--retail .industry-hub-card-media img {
        object-position: 60% center;
    }

    .industry-hub-card--drivers .industry-hub-card-media img {
        object-position: 32% center;
    }

    .industry-hub-card--welders .industry-hub-card-media img {
        object-position: 50% 30%;
    }
}

/* ==========================================================================
   1A Church form refinement pass
   Purpose:
   - Refines the Add Person / modern app form pattern.
   - Safe as a drop-in CSS addition because it only targets app-form
     and app-page helper classes used by the ChurchManagementSystem UI.
   ========================================================================== */

.app-form-page {
    max-width: 1240px;
}

.app-page-header {
    margin-bottom: 1.15rem;
}

.app-page-kicker,
.app-back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    color: var(--app-blue-600, #0d6efd);
    font-size: 0.85rem;
    font-weight: 650;
    text-decoration: none;
    margin-bottom: 0.35rem;
}

.app-page-kicker:hover,
.app-back-link:hover {
    color: var(--app-blue-500, #3b82f6);
    text-decoration: none;
}

.app-page-title {
    margin: 0 0 0.2rem;
    color: var(--app-text, #0f172a);
    font-size: 2rem;
    font-weight: 750;
    letter-spacing: -0.025em;
    line-height: 1.12;
}

.app-page-subtitle {
    margin-bottom: 0;
    color: var(--app-muted, #64748b);
}

.app-form {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.app-form-card {
    max-width: 1120px;
    overflow: hidden;
    background: var(--app-card, #ffffff);
    border: 1px solid rgba(15, 47, 87, 0.08);
    border-radius: 16px;
    box-shadow: 0 14px 34px rgba(5, 24, 56, 0.055);
}

.app-form-card-header {
    display: flex;
    align-items: center;
    gap: 0.95rem;
    padding: 1rem 1.25rem 0.85rem;
    border-bottom: 1px solid rgba(15, 47, 87, 0.07);
    background:
        linear-gradient(180deg, rgba(248, 251, 255, 0.72), rgba(255, 255, 255, 0.96));
}

.app-form-card-header-split {
    justify-content: space-between;
    gap: 1rem;
}

.app-form-card-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 2.55rem;
    height: 2.55rem;
    color: var(--app-blue-600, #0d6efd);
    background: #eef4ff;
    border: 1px solid rgba(13, 110, 253, 0.10);
    border-radius: 0.85rem;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.78);
}

.app-form-card-header h2 {
    margin: 0;
    color: var(--app-text, #0f172a);
    font-size: 1rem;
    font-weight: 750;
    line-height: 1.2;
}

.app-form-card-header p {
    margin: 0.15rem 0 0;
    color: var(--app-muted, #64748b);
    font-size: 0.84rem;
    line-height: 1.35;
}

.app-form-card-body {
    padding: 1.2rem 1.25rem 1.25rem;
}

.app-form-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.55rem;
    max-width: 1120px;
    margin-top: 0.25rem;
}

.app-form-actions .btn {
    min-height: 2.55rem;
    padding-inline: 1rem;
    border-radius: 0.65rem;
    font-weight: 700;
}

.app-form .form-label {
    margin-bottom: 0.4rem;
    color: #334155;
    font-size: 0.84rem;
    font-weight: 650;
}

.app-form .form-control,
.app-form .form-select {
    min-height: 2.75rem;
    color: var(--app-text, #0f172a);
    background-color: #fff;
    border-color: var(--app-border, #dbe4ef);
    border-radius: 0.65rem;
    transition:
        border-color 0.16s ease,
        box-shadow 0.16s ease,
        background-color 0.16s ease;
}

.app-form .form-control::placeholder {
    color: #94a3b8;
}

.app-form .form-control:focus,
.app-form .form-select:focus {
    border-color: rgba(13, 110, 253, 0.55);
    box-shadow: 0 0 0 0.22rem rgba(13, 110, 253, 0.10);
}

.app-form .form-text {
    margin-top: 0.35rem;
    color: var(--app-muted, #64748b);
    font-size: 0.82rem;
}

.app-form .form-check {
    min-height: 1.45rem;
}

.app-form .form-check-label {
    color: #334155;
    font-size: 0.9rem;
}

.app-form-switch {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    min-height: 2rem;
    padding: 0.35rem 0.65rem;
    background: #f8fbff;
    border: 1px solid rgba(15, 47, 87, 0.08);
    border-radius: 999px;
    white-space: nowrap;
}

.app-form-switch .form-check-input {
    margin-top: 0;
}

.app-form-switch .form-check-label {
    color: #1f2937;
    font-size: 0.84rem;
    font-weight: 650;
}

@media (max-width: 767.98px) {
    .app-form-page {
        max-width: 100%;
    }

    .app-page-header {
        margin-bottom: 1.1rem;
    }

    .app-page-title {
        font-size: 1.65rem;
    }

    .app-form-card {
        max-width: 100%;
    }

    .app-form-card-header,
    .app-form-card-header-split {
        align-items: flex-start;
        flex-direction: column;
    }

    .app-form-card-body {
        padding: 0.95rem;
    }

    .app-form-actions {
        align-items: stretch;
        flex-direction: column;
        max-width: 100%;
    }

    .app-form-actions .btn {
        width: 100%;
    }

    .app-form-switch {
        align-self: stretch;
        justify-content: space-between;
        width: 100%;
    }
}
/* Apply page dark-background button contrast
   The apply page hero and dark side panel sit on green backgrounds, so primary
   buttons need a brighter treatment than the default dark-green button.
*/
.page-hero .btn-primary,
.page-hero a.btn-primary {
    color: #fff !important;
    background: #6fa154 !important;
    border-color: rgba(255, 255, 255, .24) !important;
    box-shadow:
        0 16px 30px rgba(10, 30, 12, .30),
        inset 0 1px 0 rgba(255, 255, 255, .18);
}

.page-hero .btn-primary:hover,
.page-hero a.btn-primary:hover,
.page-hero .btn-primary:focus-visible,
.page-hero a.btn-primary:focus-visible {
    color: #fff !important;
    background: #7fb462 !important;
    border-color: rgba(255, 255, 255, .36) !important;
}

/* In dark side panels, the primary action should read as the obvious CTA. */
.side-panel.dark .btn-primary,
.side-panel.dark a.btn-primary,
.side-panel.dark .btn-primary.full,
.side-panel.dark a.btn-primary.full {
    color: #315328 !important;
    background: #fff !important;
    border-color: #fff !important;
    box-shadow: 0 12px 22px rgba(0, 0, 0, .16);
}

.side-panel.dark .btn-primary:hover,
.side-panel.dark a.btn-primary:hover,
.side-panel.dark .btn-primary.full:hover,
.side-panel.dark a.btn-primary.full:hover,
.side-panel.dark .btn-primary:focus-visible,
.side-panel.dark a.btn-primary:focus-visible {
    color: #315328 !important;
    background: #f4f7f1 !important;
    border-color: #f4f7f1 !important;
    transform: translateY(-1px);
}

/* Keep the secondary side-panel action visibly secondary but still readable. */
.side-panel.dark .btn-outline-light,
.side-panel.dark a.btn-outline-light {
    color: #fff !important;
    background: rgba(255, 255, 255, .08) !important;
    border-color: rgba(255, 255, 255, .72) !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12);
}

.side-panel.dark .btn-outline-light:hover,
.side-panel.dark a.btn-outline-light:hover,
.side-panel.dark .btn-outline-light:focus-visible,
.side-panel.dark a.btn-outline-light:focus-visible {
    color: #315328 !important;
    background: #fff !important;
    border-color: #fff !important;
}
