
/* =========================================================
   eDEFEND HOMEPAGE
   Uses the global template styling from assets/css/style.css
========================================================= */

:root {
    --home-green: #248e41;
    --home-green-deep: #248E41;
    --home-emerald: #248E41;
    --home-ink: #151e2b;
    --home-body: #64748b;
    --home-line: #e8edef;
    --home-soft: #f7faf8;
    --home-mint: #eefaf3;
    --home-radius: 18px;
    --home-shadow: 0 14px 32px rgba(18, 36, 29, .08);
}

body {
    background: #fff;
}

.template-main.home-main {
    min-height: 0;
    overflow: hidden;
    background: #fff;
}

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

.home-section {
    position: relative;
    padding: 82px 0;
    border-top: 1px solid #edf1f3;
}

.home-section:first-child {
    border-top: 0;
}

.home-section--soft {
    background: #f8faf9;
}

.home-section--green {
    color: #fff;
    background: var(--home-green);
}

.section-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 13px;
    color: var(--home-green);
    font-size: 13px;
    line-height: 1;
    font-weight: 700;
    letter-spacing: .13em;
    text-transform: uppercase;
}

.section-kicker::before {
    content: "";
    width: 20px;
    height: 2px;
    background: currentColor;
    border-radius: 999px;
}

.home-section h2 {
    margin: 0;
    color: var(--home-ink);
    font-size: clamp(27px, 3vw, 39px);
    line-height: 1.13;
    letter-spacing: -.038em;
    font-weight: 700;
}

.home-section h3 {
    margin: 0;
    color: var(--home-ink);
    font-size: 18px;
    line-height: 1.38;
    letter-spacing: -.025em;
    font-weight: 700;
}

.home-section p {
    color: var(--home-body);
}

.green-underline {
    width: 60px;
    height: 4px;
    margin-top: 13px;
    background: var(--home-green);
    border-radius: 999px;
}

.section-heading-center {
    max-width: 750px;
    margin: 0 auto 44px;
    text-align: center;
}

.section-heading-center .section-kicker {
    justify-content: center;
}

.section-heading-center p {
    max-width: 660px;
    margin: 15px auto 0;
    font-size: 15px;
    line-height: 1.75;
}


/* ---------------------------------------------------------
   REVEAL SYSTEM
--------------------------------------------------------- */

.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition:
        opacity 1.05s cubic-bezier(.16,1,.3,1),
        transform 1.05s cubic-bezier(.16,1,.3,1);
    will-change: opacity, transform;
}

.reveal.reveal-left {
    transform: translateX(-28px);
}

.reveal.reveal-right {
    transform: translateX(28px);
}

.reveal.is-visible {
    opacity: 1;
    transform: translate3d(0,0,0);
}

[data-reveal-delay="1"] { transition-delay: .12s; }
[data-reveal-delay="2"] { transition-delay: .24s; }
[data-reveal-delay="3"] { transition-delay: .36s; }
[data-reveal-delay="4"] { transition-delay: .48s; }


/* ---------------------------------------------------------
   HERO
--------------------------------------------------------- */

.home-hero {
    position: relative;
    padding: 52px 0 40px;
    overflow: hidden;
    background:
        radial-gradient(circle at 82% 26%, rgba(36,142,65,.055), transparent 30%),
        #fff;
}

.home-hero::before {
    content: "";
    position: absolute;
    width: 420px;
    height: 420px;
    right: -170px;
    top: -185px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(36,142,65,.08), rgba(36,142,65,0) 70%);
    pointer-events: none;
}

.hero-grid {
    display: grid;
    grid-template-columns: .94fr 1.06fr;
    gap: 58px;
    align-items: center;
}

.hero-copy {
    position: relative;
    z-index: 2;
}

.hero-kicker,
.hero-copy h1,
.hero-copy > p,
.hero-copy > .home-btn,
.hero-metrics {
    opacity: 0;
    transform: translateY(18px);
}

.home-hero.hero-ready .hero-kicker {
    animation: heroElementIn .62s cubic-bezier(.22,.61,.36,1) .05s forwards;
}

.home-hero.hero-ready .hero-copy h1 {
    animation: heroElementIn .72s cubic-bezier(.22,.61,.36,1) .14s forwards;
}

.home-hero.hero-ready .hero-copy > p {
    animation: heroElementIn .68s cubic-bezier(.22,.61,.36,1) .23s forwards;
}

.home-hero.hero-ready .hero-copy > .home-btn {
    animation: heroElementIn .64s cubic-bezier(.22,.61,.36,1) .32s forwards;
}

.home-hero.hero-ready .hero-metrics {
    animation: heroElementIn .68s cubic-bezier(.22,.61,.36,1) .40s forwards;
}

@keyframes heroElementIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-kicker {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0 12px;
    margin-bottom: 23px;
    border: 1px solid #d7ecde;
    border-radius: 999px;
    color: var(--home-green);
    background: #f7fcf9;
    font-size: 12px;
    line-height: 1;
    font-weight: 700;
    letter-spacing: .11em;
    text-transform: uppercase;
}

.hero-copy h1 {
    max-width: 610px;
    margin: 0;
    color: #111827;
    font-size: clamp(42px, 5.3vw, 67px);
    line-height: .99;
    font-weight: 700;
    letter-spacing: -.058em;
}

.hero-copy h1 span {
    display: block;
}

.hero-copy > p {
    max-width: 590px;
    margin: 24px 0 27px;
    color: #66758c;
    font-size: 17px;
    line-height: 1.72;
}

.home-btn {
    min-height: 47px;
    padding: 0 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    border: 1px solid transparent;
    border-radius: 999px;
    font-size: 15px;
    line-height: 1;
    font-weight: 700;
    transition:
        transform .25s ease,
        box-shadow .25s ease,
        background-color .25s ease,
        border-color .25s ease;
}

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

.home-btn--primary {
    color: #fff;
    background: var(--home-green);
    box-shadow: 0 12px 24px rgba(36,142,65,.18);
}

.home-btn--primary:hover {
    background: #248E41;
    box-shadow: 0 16px 28px rgba(36,142,65,.24);
}

.home-btn--dark {
    color: #fff;
    background: #111827;
}

.home-btn--outline {
    color: #243047;
    background: #fff;
    border-color: #dbe3e8;
}

.hero-visual {
    position: relative;
    opacity: 0;
    transform: translate3d(28px, 0, 0) scale(.975);
}

.home-hero.hero-ready .hero-visual {
    animation: heroVisualIn .95s cubic-bezier(.22,.61,.36,1) .16s forwards;
}

@keyframes heroVisualIn {
    to {
        opacity: 1;
        transform: translate3d(0,0,0) scale(1);
    }
}

.hero-visual > img {
    width: 100%;
    height: auto;
    border-radius: 22px;
    box-shadow: 0 20px 42px rgba(20,42,34,.10);
    animation: heroImageFloat 7s ease-in-out 1.25s infinite alternate;
}

@keyframes heroImageFloat {
    from { transform: translateY(0); }
    to { transform: translateY(-7px); }
}

/* Metrics match reference: compact 3-column strip inside left hero column */
.hero-metrics {
    width: min(100%, 520px);
    margin-top: 33px;
    padding-top: 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    border-top: 0;
}

.hero-metric {
    min-width: 0;
}

.hero-metric strong {
    display: block;
    margin-bottom: 5px;
    color: #182131;
    font-size: 18px;
    line-height: 1;
    font-weight: 700;
    letter-spacing: -.045em;
}

.hero-metric:nth-child(2) strong {
    color: var(--home-green);
}

.hero-metric span {
    display: block;
    max-width: 110px;
    color: #7c899b;
    font-size: 13px;
    line-height: 1.35;
    font-weight: 600;
    letter-spacing: .01em;
}


/* ---------------------------------------------------------
   SECURITY PILLARS
--------------------------------------------------------- */

.pillars-row {
    padding: 36px 0 43px;
    border-top: 1px solid #edf1f3;
    border-bottom: 1px solid #edf1f3;
}

.pillars-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.pillar {
    padding: 5px 27px 4px;
    border-left: 1px solid #edf1f3;
}

.pillar:first-child {
    padding-left: 0;
    border-left: 0;
}

.pillar-icon,
.micro-icon {
    width: 52px;
    height: 52px;
    margin-bottom: 15px;
    display: grid;
    place-items: center;
    background: transparent;
    border-radius: 16px;
    font-size: 0;
}

.pillar-icon img,
.micro-icon img {
    display: block;
    width: 52px;
    height: 52px;
    object-fit: contain;
}

.pillar h3 {
    margin-bottom: 7px;
    font-size: 15px;
}

.pillar p {
    margin: 0;
    font-size: 13px;
    line-height: 1.65;
}


/* ---------------------------------------------------------
   PARTNER / CLIENT MARQUEES
--------------------------------------------------------- */

.logo-marquee {
    position: relative;
    overflow: hidden;
    mask-image: linear-gradient(to right, transparent, #000 7%, #000 93%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, #000 7%, #000 93%, transparent);
}

.logo-track {
    width: max-content;
    display: flex;
    gap: 14px;
    animation: partnerScroll 27s linear infinite;
}

.logo-marquee:hover .logo-track {
    animation-play-state: paused;
}

.logo-card {
    width: 186px;
    min-height: 86px;
    padding: 16px 14px;
    display: grid;
    place-items: center;
    text-align: center;
    background: #fff;
    border: 1px solid #e7edef;
    border-radius: 14px;
}

.logo-mark {
    display: block;
    margin-bottom: 5px;
    color: var(--home-green);
    font-size: 19px;
    line-height: 1;
    font-weight: 800;
    letter-spacing: -.04em;
}

.logo-card strong {
    color: #263244;
    font-size: 13px;
    line-height: 1.25;
    font-weight: 700;
}

.logo-card small {
    display: block;
    margin-top: 3px;
    color: #97a2b1;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: .08em;
}

@keyframes partnerScroll {
    from { transform: translateX(0); }
    to { transform: translateX(calc(-50% - 7px)); }
}


/* ---------------------------------------------------------
   COMPANY OVERVIEW
--------------------------------------------------------- */

.overview-grid {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 72px;
    align-items: start;
}

.overview-copy p {
    max-width: 470px;
    margin: 20px 0 0;
    font-size: 15px;
    line-height: 1.8;
}

.overview-points {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.overview-point {
    padding: 21px;
    border: 1px solid #e8edef;
    border-radius: 14px;
    background: #fff;
}

.overview-point h3 {
    margin-bottom: 8px;
    font-size: 15px;
}

.overview-point p {
    margin: 0;
    font-size: 15px;
    line-height: 1.65;
}


/* ---------------------------------------------------------
   SERVICES / CAPABILITIES
--------------------------------------------------------- */

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

.capability-card {
    position: relative;
    min-height: 244px;
    padding: 24px 23px 20px;
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid #e8edef;
    border-radius: 15px;
    box-shadow: 0 12px 22px rgba(17,32,25,.08);
    transition:
        transform .28s ease,
        box-shadow .28s ease,
        border-color .28s ease;
}

.capability-card:hover {
    transform: translateY(-5px);
    border-color: #d7e8dd;
    box-shadow: 0 18px 32px rgba(17,32,25,.11);
}

.capability-label {
    width: fit-content;
    min-height: 22px;
    padding: 0 8px;
    margin-bottom: 17px;
    display: inline-flex;
    align-items: center;
    color: var(--home-green);
    background: #effaf3;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.capability-icon {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    color: var(--home-green);
    background: #effaf3;
    border: 1px solid #dcefe3;
    border-radius: 13px;
}

.capability-icon img {
    display: block;
    width: 26px;
    height: 26px;
    object-fit: contain;
}

.capability-card h3 {
    margin-bottom: 14px;
    font-size: 15px;
}

.capability-card h3::after {
    content: "";
    display: block;
    width: 80px;
    height: 2px;
    margin: 11px 0 0;
    background: var(--home-green);
    border-radius: 999px;
}

.capability-card p {
    margin: 0 0 15px;
    font-size: 15px;
    line-height: 1.7;
}

.capability-card ul {
    margin: auto 0 14px;
    padding: 0;
    list-style: none;
}

.capability-card li {
    position: relative;
    padding-left: 13px;
    margin-top: 5px;
    color: #637387;
    font-size: 11px;
    line-height: 1.45;
}

.capability-card li::before {
    content: "";
    position: absolute;
    left: 0;
    top: .58em;
    width: 4px;
    height: 4px;
    background: var(--home-green);
    border-radius: 50%;
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--home-green);
    font-size: 12px;
    line-height: 1;
    font-weight: 700;
}

.text-link::after {
    content: "→";
    transition: transform .2s ease;
}

.text-link:hover::after {
    transform: translateX(3px);
}


/* ---------------------------------------------------------
   ARCHITECTURE SECTION
--------------------------------------------------------- */

.arch-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 72px;
    align-items: center;
}

.arch-visual {
    position: relative;
}

.arch-visual img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 18px 36px rgba(16, 35, 29, .12);
    transition: transform .65s cubic-bezier(.22,.61,.36,1);
}

.arch-visual.is-visible img {
    transform: translateY(-3px);
}

.arch-copy > p {
    margin: 18px 0 25px;
    font-size: 13px;
    line-height: 1.75;
}

.arch-list {
    border-top: 1px solid #e8edef;
}

.arch-item {
    padding: 16px 0;
    border-bottom: 1px solid #e8edef;
}

.arch-item strong {
    display: block;
    margin-bottom: 5px;
    color: #213044;
    font-size: 12px;
}

.arch-item p {
    margin: 0;
    font-size: 12px;
    line-height: 1.6;
}


/* ---------------------------------------------------------
   STANDARDS
--------------------------------------------------------- */

.standards-row {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    border-top: 1px solid #edf1f3;
    border-bottom: 1px solid #edf1f3;
}

.standard {
    min-height: 77px;
    padding: 17px 12px;
    text-align: center;
    border-left: 1px solid #edf1f3;
}

.standard:first-child {
    border-left: 0;
}

.standard strong {
    display: block;
    margin-bottom: 3px;
    color: #243047;
    font-size: 13px;
}

.standard span {
    color: #8895a6;
    font-size: 10px;
}


/* ---------------------------------------------------------
   HOW WE WORK
--------------------------------------------------------- */

.process-section {
    padding: 54px 0 58px;
    border-top: 0;
}

.process-section .section-heading-center {
    margin-bottom: 38px;
}

.process-section .section-kicker,
.process-section h2,
.process-section p {
    color: #fff;
}

.process-section .section-kicker {
    opacity: .72;
}

.process-section .section-heading-center p {
    color: rgba(255,255,255,.62);
}

.process-track {
    position: relative;
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 24px;
}

.process-track::before {
    content: "";
    position: absolute;
    top: 23px;
    left: 4%;
    right: 4%;
    height: 1px;
    background: rgba(255,255,255,.26);
    transform: scaleX(0);
    transform-origin: left center;
}

.process-track::before {
    display: none !important;
}

.process-section.process-visible .process-track::before {
    animation: processLineDraw 1.26s cubic-bezier(.22,.61,.36,1) .10s forwards;
}

@keyframes processLineDraw {
    to { transform: scaleX(1); }
}

.process-step {
    position: relative;
    z-index: 1;
    opacity: 0;
    transform: translateY(28px) scale(.92);
    filter: blur(3px);
}

.process-section.process-visible .process-step {
    animation: processStepIn .70s cubic-bezier(.22,.61,.36,1) forwards;
}

.process-section.process-visible .process-step:nth-child(1) { animation-delay: .06s; }
.process-section.process-visible .process-step:nth-child(2) { animation-delay: .22s; }
.process-section.process-visible .process-step:nth-child(3) { animation-delay: .38s; }
.process-section.process-visible .process-step:nth-child(4) { animation-delay: .54s; }
.process-section.process-visible .process-step:nth-child(5) { animation-delay: .70s; }
.process-section.process-visible .process-step:nth-child(6) { animation-delay: .86s; }

@keyframes processStepIn {
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0);
    }
}

.process-circle {
    width: 46px;
    height: 46px;
    margin-bottom: 16px;
    display: grid;
    place-items: center;
    color: var(--home-green);
    background: #fff;
    border-radius: 50%;
    font-size: 15px;
    font-weight: 800;
    box-shadow: 0 8px 18px rgba(0,0,0,.12);
    transition:
        transform .35s ease,
        box-shadow .35s ease;
}

.process-step:hover .process-circle {
    transform: translateY(-4px) scale(1.06);
    box-shadow: 0 13px 24px rgba(0,0,0,.18);
}

.process-step small {
    display: block;
    margin-bottom: 5px;
    color: rgba(255,255,255,.53);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.process-step h3 {
    margin-bottom: 8px;
    color: #fff;
    font-size: 15px;
}

.process-step p {
    margin: 0;
    color: rgba(255,255,255,.63);
    font-size: 11px;
    line-height: 1.65;
}


/* ---------------------------------------------------------
   WHY EDEFEND
--------------------------------------------------------- */

.why-grid {
    display: grid;
    grid-template-columns: .85fr 1.15fr;
    gap: 85px;
    align-items: start;
}

.why-copy p {
    max-width: 420px;
    margin: 18px 0 25px;
    font-size: 13px;
    line-height: 1.75;
}

.why-list {
    border-top: 1px solid #e8edef;
}

.why-item {
    padding: 18px 0;
    display: grid;
    grid-template-columns: 28px 1fr;
    gap: 13px;
    border-bottom: 1px solid #e8edef;
}

.why-check {
    width: 23px;
    height: 23px;
    display: grid;
    place-items: center;
    color: var(--home-green);
    background: #effaf3;
    border-radius: 50%;
    font-size: 12px;
    font-weight: 800;
}

.why-item strong {
    display: block;
    margin-bottom: 4px;
    color: #243047;
    font-size: 12px;
}

.why-item p {
    margin: 0;
    font-size: 12px;
    line-height: 1.6;
}


/* ---------------------------------------------------------
   TESTIMONIALS
--------------------------------------------------------- */

.testimonials-head {
    margin-bottom: 35px;
}

.testimonials-head .green-underline {
    margin-inline: auto;
}

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

.quote-card {
    min-height: 216px;
    padding: 24px;
    background: #fff;
    border: 1px solid #e8edef;
    border-radius: 15px;
}

.stars {
    margin-bottom: 17px;
    color: var(--home-green);
    font-size: 13px;
    letter-spacing: 2px;
}

.quote-card blockquote {
    margin: 0 0 22px;
    color: #000;
    font-size: 15px;
    line-height: 1.75;
}

.quote-person strong {
    display: block;
    color: #243047;
    font-size: 12px;
}

.quote-person span {
    color: #000;
    font-size: 10px;
}


/* ---------------------------------------------------------
   CLIENTS
--------------------------------------------------------- */

.clients-section .section-head-row,
.editorial-section .section-head-row {
    margin-bottom: 35px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 30px;
}

.clients-section .section-head-row--centered {
    display: block;
    text-align: center;
}

.clients-section .section-head-row--centered > div {
    max-width: 750px;
    margin-inline: auto;
}

.clients-section .section-head-row--centered .section-kicker {
    justify-content: center;
}

.clients-section .section-head-row--centered .green-underline {
    margin-inline: auto;
}

.clients-track {
    animation-duration: 34s;
}

.client-logo-card {
    width: 150px;
    min-height: 61px;
}



/* ---------------------------------------------------------
   CASE STUDIES + CYBERSECURITY INSIGHTS
   Reference-matched editorial blocks
--------------------------------------------------------- */
.editorial-section {
    padding: 72px 0 78px;
}

.case-studies-section {
    background: #f8faf9;
}

.insights-section {
    background: #ffffff;
}

.editorial-section-head {
    margin-bottom: 44px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 365px;
    gap: 64px;
    align-items: end;
}

.editorial-section-head--centered {
    display: block;
    text-align: center;
}

.editorial-section-head--centered .editorial-heading-block {
    max-width: 750px;
    margin-inline: auto;
}

.editorial-section-head--centered .section-kicker {
    justify-content: center;
}

.editorial-section-head--centered .green-underline {
    margin-inline: auto;
}

.editorial-heading-block .section-kicker {
    margin-bottom: 10px;
}

.editorial-heading-block h2 {
    margin: 0;
    color: #18202c;
    font-size: clamp(29px, 2.8vw, 37px);
    line-height: 1.08;
    letter-spacing: -.035em;
}

.editorial-intro {
    margin: 0 0 5px;
    color: #718094;
    font-size: 10px;
    line-height: 1.6;
    font-weight: 600;
    letter-spacing: .035em;
    text-transform: uppercase;
}

.editorial-grid--reference {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
}

.editorial-card--plain {
    position: relative;
    min-height: 224px;
    padding: 0 32px 17px 0;
    display: flex;
    flex-direction: column;
    background: transparent;
    border: 0;
}

.editorial-card--plain + .editorial-card--plain {
    padding-left: 32px;
    border-left: 1px solid #e7ece9;
}

.editorial-card--plain::before {
    content: "";
    width: 24px;
    height: 2px;
    margin-bottom: 17px;
    background: #248E41;
    border-radius: 999px;
    opacity: .32;
}

.editorial-card--plain .editorial-meta {
    margin-bottom: 12px;
    color: var(--home-green);
    font-size: 10px;
    line-height: 1;
    font-weight: 700;
    letter-spacing: .085em;
    text-transform: uppercase;
}

.editorial-card--plain .editorial-meta--muted {
    color: #7f8c9d;
}

.editorial-card--plain h3 {
    max-width: 305px;
    margin: 0 0 12px;
    color: #202a39;
    font-size: 17px;
    line-height: 1.38;
    font-weight: 700;
    letter-spacing: -.027em;
}

.editorial-card--plain p {
    max-width: 318px;
    margin: 0 0 19px;
    color: #718094;
    font-size: 15px;
    line-height: 1.68;
}

.editorial-card--plain > .text-link {
    margin-top: auto;
}

.editorial-card-footer {
    margin-top: auto;
    padding-top: 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    border-top: 1px solid #edf1f2;
}

.editorial-card-footer > span {
    color: #909cab;
    font-size: 10px;
    line-height: 1.4;
}

.editorial-card .text-link {
    font-size: 11px;
}


/* Homepage CTA interactions */
.home-main .site-cta-button {
    transition:
        color .24s ease,
        transform .24s ease,
        box-shadow .24s ease,
        background-color .24s ease,
        border-color .24s ease;
}

.home-main .site-cta-button--primary {
    color: #248E41;
    background: #ffffff;
    box-shadow: 0 10px 24px rgba(0, 0, 0, .10);
}

.home-main .site-cta-button--primary span {
    display: inline-block;
    transition: transform .24s ease;
}

.home-main .site-cta-button--primary:hover,
.home-main .site-cta-button--primary:focus-visible {
    color: #ffffff;
    background: #111827;
    border-color: #111827;
    box-shadow: 0 15px 30px rgba(0, 0, 0, .20);
}

.home-main .site-cta-button--primary:hover span,
.home-main .site-cta-button--primary:focus-visible span {
    transform: translateX(4px);
}

.home-main .site-cta-button--secondary {
    color: #ffffff;
    background: transparent;
    border-color: rgba(255, 255, 255, .72);
}

.home-main .site-cta-button--secondary:hover,
.home-main .site-cta-button--secondary:focus-visible {
    color: #ffffff;
    background: #248E41;
    border-color: #ffffff;
    box-shadow: 0 15px 30px rgba(0, 0, 0, .16);
}


/* CTA + FAQ are shared globally in style.css */

/* ---------------------------------------------------------
   RESPONSIVE
--------------------------------------------------------- */

@media (max-width: 1060px) {
    .hero-grid,
    .overview-grid,
    .arch-grid,
    .why-grid {
        gap: 45px;
    }

    .capabilities-grid {
        gap: 15px;
    }

    .process-track {
        gap: 16px;
    }
}

@media (max-width: 900px) {
    .home-container {
        width: min(calc(100% - 38px), 1180px);
    }

    .home-section {
        padding: 66px 0;
    }

    .hero-grid,
    .overview-grid,
    .arch-grid,
    .why-grid {
        grid-template-columns: 1fr;
    }

    .hero-copy h1 {
        max-width: 720px;
    }

    .hero-visual {
        max-width: 690px;
        margin: 0 auto;
    }

    .pillars-grid,
    .overview-points,
    .capabilities-grid,
    .testimonials-grid,
    .editorial-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .pillar:nth-child(3) {
        padding-left: 0;
        border-left: 0;
    }

    .pillars-grid {
        gap: 28px 0;
    }

    .process-track {
        grid-template-columns: repeat(3, 1fr);
        row-gap: 36px;
    }

    .process-track::before {
        display: none;
    }

    .standards-row {
        grid-template-columns: repeat(3, 1fr);
    }

    .standard:nth-child(4) {
        border-left: 0;
    }
}

@media (max-width: 620px) {
    .home-container {
        width: calc(100% - 30px);
    }

    .home-hero {
        padding-top: 42px;
    }

    .hero-copy h1 {
        font-size: 43px;
    }

    .hero-metrics,
    .pillars-grid,
    .overview-points,
    .capabilities-grid,
    .testimonials-grid,
    .editorial-grid,
    .process-track,
    .standards-row {
        grid-template-columns: 1fr;
    }

    .hero-metrics {
        gap: 15px;
    }

    .pillar {
        padding: 15px 0;
        border-left: 0;
        border-top: 1px solid #edf1f3;
    }

    .pillar-icon,
    .micro-icon,
    .pillar-icon img,
    .micro-icon img {
        width: 48px;
        height: 48px;
    }

    .pillar:first-child {
        border-top: 0;
    }

    .standard {
        border-left: 0;
        border-top: 1px solid #edf1f3;
    }

    .standard:first-child {
        border-top: 0;
    }

    .clients-section .section-head-row,
    .editorial-section .section-head-row {
        align-items: flex-start;
        flex-direction: column;
    }

    .home-btn {
        width: 100%;
    }

    .cta-actions {
        flex-direction: column;
    }
}

@media (prefers-reduced-motion: reduce) {
    .logo-track {
        animation: none !important;
    }

    .reveal,
    .process-step {
        opacity: 1 !important;
        transform: none !important;
        animation: none !important;
    }

    .home-main .site-cta-button,
    .home-main .site-cta-button--primary span {
        transition: none !important;
    }

    .home-main .site-cta-button:hover,
    .home-main .site-cta-button:focus-visible,
    .home-main .site-cta-button--primary:hover span,
    .home-main .site-cta-button--primary:focus-visible span {
        transform: none;
    }
}


@media (max-width: 620px) {
    .hero-metrics {
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
    }

    .hero-metric strong {
        font-size: 17px;
    }

    .hero-metric span {
        font-size: 11px;
    }
}


@media (max-width: 900px) {
    .editorial-section-head {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-bottom: 40px;
    }

    .editorial-intro {
        max-width: 500px;
    }

    .editorial-grid--reference {
        grid-template-columns: repeat(2, 1fr);
        gap: 42px 34px;
    }
}

@media (max-width: 620px) {
    .editorial-section {
        padding: 62px 0 66px;
    }

    .editorial-grid--reference {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .editorial-card--plain {
        min-height: 0;
    }
}


/* Reference editorial responsive normalization */
@media (max-width: 900px) {
    .editorial-grid--reference {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 34px 0;
    }

    .editorial-card--plain:nth-child(odd) {
        padding-left: 0;
        padding-right: 28px;
        border-left: 0;
    }

    .editorial-card--plain:nth-child(even) {
        padding-left: 28px;
        padding-right: 0;
        border-left: 1px solid #e7ece9;
    }
}

@media (max-width: 620px) {
    .editorial-grid--reference {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .editorial-card--plain,
    .editorial-card--plain + .editorial-card--plain,
    .editorial-card--plain:nth-child(odd),
    .editorial-card--plain:nth-child(even) {
        min-height: 0;
        padding: 0 0 26px;
        border-left: 0;
        border-bottom: 1px solid #e7ece9;
    }
}



.partners-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 18px;
}

.partner-logo-card {
    min-height: 110px;
    padding: 22px 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    border: 1px solid #e7edef;
    border-radius: 16px;
    box-shadow: 0 10px 24px rgba(31, 45, 61, 0.04);
}

.partner-logo-card img {
    display: block;
    max-width: 78%;
    max-height: 54px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: saturate(1);
}

@media (max-width: 1180px) {
    .partners-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .partners-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 14px;
    }

    .partner-logo-card {
        min-height: 92px;
        padding: 18px 14px;
    }

    .partner-logo-card img {
        max-width: 82%;
        max-height: 46px;
    }
}

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


/* ---------------------------------------------------------
   HOMEPAGE LOGO SECTIONS
--------------------------------------------------------- */

.partner-marquee {
    margin-top: 36px;
    padding: 8px 0;
}

.partner-logo-track {
    align-items: center;
    gap: 38px;
    animation-duration: 56s;
}

.partner-inline-card {
    width: 200px;
    min-width: 200px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: #ffffff;
    border: 1px solid rgba(22, 101, 52, 0.10);
    border-radius: 16px;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.06);
}

.partner-inline-card img {
    display: block;
    width: 100%;
    max-width: 170px;
    height: 80px;
    max-height: none;
    object-fit: contain;
    backface-visibility: hidden;
    transform: translateZ(0);
}

.clients-section .section-head-row {
    margin-bottom: 28px;
}

.client-carousel {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 18px;
}

.client-carousel-viewport {
    overflow: hidden;
}

.client-carousel-track {
    display: flex;
    gap: 18px;
    transition: transform 900ms cubic-bezier(.16, 1, .3, 1);
    will-change: transform;
}

.client-logo-slide {
    flex: 0 0 calc((100% - 54px) / 4);
    min-height: 132px;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
}

.client-logo-slide img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: 80px;
    max-height: none;
    object-fit: contain;
}

.client-carousel-btn {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #1e4f38;
    background: #ffffff;
    border: 1px solid #d7e6dc;
    border-radius: 999px;
    box-shadow: 0 10px 22px rgba(31, 45, 61, 0.06);
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
    transition: transform 160ms ease, box-shadow 160ms ease, color 160ms ease, border-color 160ms ease;
}

.client-carousel-btn:hover,
.client-carousel-btn:focus-visible {
    color: var(--home-green);
    border-color: rgba(30, 120, 86, 0.26);
    transform: translateY(-1px);
    box-shadow: 0 14px 26px rgba(31, 45, 61, 0.08);
}

.client-carousel-btn[disabled] {
    opacity: .45;
    cursor: default;
    transform: none;
    box-shadow: none;
}

@media (max-width: 1180px) {
    .client-logo-slide {
        flex-basis: calc((100% - 36px) / 3);
    }
}

@media (max-width: 900px) {
    .partner-logo-track {
        gap: 28px;
    }

    .partner-inline-card {
        width: 168px;
        min-width: 168px;
        height: 80px;
    }

    .partner-inline-card img {
        max-width: 136px;
        height: 80px;
        max-height: none;
    }

    .client-logo-slide {
        flex-basis: calc((100% - 18px) / 2);
        min-height: 118px;
    }
}

@media (max-width: 640px) {
    .client-carousel {
        grid-template-columns: 36px minmax(0, 1fr) 36px;
        gap: 10px;
    }

    .client-carousel-btn {
        width: 36px;
        height: 36px;
        font-size: 16px;
    }

    .client-logo-slide {
        flex-basis: 100%;
        min-height: 108px;
    }
}

/* =========================================================
   APPROVED RESPONSIVE + MOBILE VISUAL QC
========================================================= */

/* Hero image: stable dimensions and no continuously animated pixels. */
.hero-visual {
    isolation: isolate;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

.hero-visual > img {
    display: block;
    aspect-ratio: 1672 / 941;
    object-fit: contain;
    animation: none;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    transform: translateZ(0);
}

/* Larger, highlighted delivery model cards. */
.hero-metrics {
    width: min(100%, 650px);
    gap: 12px;
}

.hero-metric {
    min-height: 96px;
    padding: 15px 13px;
    display: grid;
    grid-template-columns: 54px minmax(0, 1fr);
    gap: 11px;
    align-items: center;
    background: #eff9f2;
    border: 1px solid #d9eddf;
    border-radius: 16px;
    box-shadow: 0 12px 28px rgba(36, 142, 65, .07);
}

.hero-metric > .hero-metric-icon {
    width: 54px;
    height: 54px;
    max-width: none;
    display: grid;
    place-items: center;
    color: inherit;
    background: #fff;
    border: 1px solid rgba(36, 142, 65, .18);
    border-radius: 14px;
}

.hero-metric-icon img {
    display: block;
    width: 38px;
    height: 38px;
}

.hero-metric > .hero-metric-copy {
    max-width: none;
    display: block;
    color: inherit;
}

.hero-metric-copy strong {
    font-size: 15px;
    letter-spacing: -.025em;
}

.hero-metric-copy > span {
    max-width: none;
    font-size: 12px;
    line-height: 1.35;
}

/* Security pillars: strong right-aligned icon blocks. */
.pillars-grid {
    gap: 16px;
}

.pillar,
.pillar:first-child,
.pillar:nth-child(3) {
    min-height: 170px;
    padding: 22px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 76px;
    grid-template-rows: auto 1fr;
    column-gap: 18px;
    align-items: start;
    background: #fff;
    border: 1px solid #e2ebe5;
    border-radius: 18px;
    box-shadow: 0 13px 30px rgba(24, 48, 38, .055);
}

.pillar-icon {
    grid-column: 2;
    grid-row: 1 / span 2;
    justify-self: end;
    width: 76px;
    height: 76px;
    margin: 0;
    background: var(--home-green);
    border-radius: 20px;
    box-shadow: 0 12px 25px rgba(36, 142, 65, .22);
}

.pillar-icon img {
    width: 43px;
    height: 43px;
    filter: brightness(0) invert(1);
}

.pillar h3 {
    grid-column: 1;
    grid-row: 1;
    margin: 4px 0 10px;
    font-size: 18px;
}

.pillar p {
    grid-column: 1;
    grid-row: 2;
    font-size: 13px;
}

/* Six-stage process with icon circles and section-triggered motion. */
.process-track {
    gap: 14px;
}

.process-track::before {
    top: 46px;
    height: 2px;
}

.process-section.process-visible .process-track::before {
    animation-duration: 3.2s;
    animation-delay: .10s;
}

.process-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transform: translateY(28px) scale(.92);
    filter: none;
}

.process-section.process-visible .process-step {
    animation-duration: 1.15s;
    animation-timing-function: cubic-bezier(.16, 1, .3, 1);
}

.process-section.process-visible .process-step:nth-child(1) { animation-delay: .10s; }
.process-section.process-visible .process-step:nth-child(2) { animation-delay: .40s; }
.process-section.process-visible .process-step:nth-child(3) { animation-delay: .70s; }
.process-section.process-visible .process-step:nth-child(4) { animation-delay: 1.00s; }
.process-section.process-visible .process-step:nth-child(5) { animation-delay: 1.30s; }
.process-section.process-visible .process-step:nth-child(6) { animation-delay: 1.60s; }

.process-circle {
    width: 82px;
    height: 82px;
    margin-bottom: 14px;
    border: 5px solid rgba(255, 255, 255, .22);
    box-shadow: 0 15px 32px rgba(0, 0, 0, .16);
}

.process-circle span {
    display: block;
    color: #000000;
    font-size: 13px;
    line-height: 1.15;
    font-weight: 800;
    letter-spacing: .02em;
    text-align: center;
    text-transform: uppercase;
}

.process-step h3 {
    width: fit-content;
    min-width: 108px;
    margin: 0 auto 12px;
    padding: 9px 12px;
    color: #111827;
    background: #fff;
    border-radius: 10px;
    font-size: 15px;
    line-height: 1.2;
    box-shadow: 0 8px 18px rgba(0, 0, 0, .10);
}

.process-step p {
    text-align: center;
}

/* Safari-safe logo movement and touch carousel behaviour. */
.partner-logo-track {
    will-change: transform;
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
}

.client-carousel-viewport {
    touch-action: pan-y;
    -webkit-user-select: none;
    user-select: none;
    -webkit-overflow-scrolling: touch;
}

.client-carousel-track {
    transition-duration: 900ms;
    transition-timing-function: cubic-bezier(.16, 1, .3, 1);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

@media (hover: none), (pointer: coarse) {
    .logo-marquee:hover .logo-track {
        animation-play-state: running !important;
    }

    .hero-visual,
    .home-hero.hero-ready .hero-visual {
        opacity: 1;
        transform: none;
        animation: none;
    }

    .hero-visual > img {
        transform: none;
    }
}

@media (max-width: 900px) {
    .hero-metrics {
        max-width: 690px;
    }

    .process-track {
        gap: 28px 18px;
    }

    .process-circle {
        width: 86px;
        height: 86px;
    }
}

@media (max-width: 620px) {
    .hero-metrics {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .hero-metric {
        min-height: 84px;
        padding: 13px;
        grid-template-columns: 58px minmax(0, 1fr);
    }

    .hero-metric-copy strong {
        font-size: 16px;
    }

    .hero-metric-copy > span {
        font-size: 13px;
    }

    .pillar,
    .pillar:first-child,
    .pillar:nth-child(3) {
        min-height: 150px;
        padding: 20px;
        border: 1px solid #e2ebe5;
    }

    .pillar-icon,
    .pillar-icon img {
        flex: none;
    }

    .pillar-icon {
        width: 70px;
        height: 70px;
    }

    .pillar-icon img {
        width: 40px;
        height: 40px;
    }

    .process-track {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .process-step {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .process-circle {
        width: 82px;
        height: 82px;
        margin: 0 0 14px;
    }

    .process-circle span {
        font-size: 12px;
    }

    .process-step small,
    .process-step h3,
    .process-step p {
        grid-column: auto;
    }

    .process-step h3 {
        min-width: 0;
        margin-right: auto;
        margin-left: auto;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-visual,
    .hero-visual > img,
    .partner-logo-track,
    .client-carousel-track,
    .process-track::before,
    .process-step {
        animation: none !important;
        transition: none !important;
        transform: none !important;
    }

    .hero-visual,
    .process-step {
        opacity: 1 !important;
    }
}

/* =========================================================
   SECURITY PILLARS + INDUSTRY STANDARDS CARD SYSTEM
========================================================= */

.pillars-grid {
    position: relative;
}

.pillar,
.pillar:first-child,
.pillar:nth-child(3) {
    position: relative;
    z-index: 1;
    overflow: hidden;
    background:
        radial-gradient(circle at 92% 12%, rgba(36, 142, 65, .085), transparent 34%),
        #fff;
    transition: transform .28s ease, border-color .28s ease, box-shadow .28s ease;
}

.pillar:hover {
    border-color: rgba(36, 142, 65, .42);
    transform: translateY(-5px);
    box-shadow: 0 20px 42px rgba(24, 48, 38, .10);
}

.pillar h3::before {
    content: "";
    display: block;
    width: 48px;
    height: 4px;
    margin-bottom: 17px;
    background: var(--home-green);
    border-radius: 999px;
}

.pillar-icon {
    background: var(--home-green);
}

.pillar-icon img {
    filter: none;
}

@media (min-width: 1100px) {
    .pillars-grid::before {
        content: "";
        position: absolute;
        z-index: 0;
        left: 7%;
        right: 7%;
        top: 50%;
        height: 2px;
        background: linear-gradient(90deg, transparent, rgba(36, 142, 65, .28) 12%, rgba(36, 142, 65, .28) 88%, transparent);
        transform: translateY(-50%);
    }
}

.standards-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    border: 0;
}

.standard,
.standard:first-child,
.standard:nth-child(4) {
    position: relative;
    min-height: 184px;
    padding: 24px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    background:
        radial-gradient(circle at 96% 8%, rgba(36, 142, 65, .09), transparent 36%),
        #fff;
    border: 1px solid #e0e8e3;
    border-radius: 17px;
    box-shadow: 0 13px 32px rgba(20, 42, 34, .06);
    transition: transform .28s ease, border-color .28s ease, box-shadow .28s ease;
}

.standard:hover {
    border-color: rgba(36, 142, 65, .55);
    transform: translateY(-5px);
    box-shadow: 0 20px 44px rgba(36, 142, 65, .12);
}

.standard > .standard-icon {
    width: 58px;
    height: 58px;
    margin: 0 auto 20px;
    display: grid;
    place-items: center;
    color: inherit;
    background: linear-gradient(145deg, #f2fbf5, #e5f7eb);
    border: 1px solid #d8eee0;
    border-radius: 15px;
    box-shadow: 0 9px 20px rgba(36, 142, 65, .08);
}

.standard-icon img {
    display: block;
    width: 42px;
    height: 42px;
}

.standard strong {
    margin-bottom: 6px;
    color: #182131;
    font-size: 20px;
    line-height: 1.2;
    letter-spacing: -.035em;
}

.standard > span:not(.standard-icon) {
    color: #000000;
    font-size: 15px;
    line-height: 1.45;
}

@media (min-width: 1440px) {
    .standards-row {
        grid-template-columns: repeat(6, minmax(0, 1fr));
        gap: 15px;
    }

    .standard,
    .standard:first-child,
    .standard:nth-child(4) {
        min-height: 194px;
        padding: 21px 19px;
    }

    .standard strong {
        font-size: 18px;
    }

    .standard > span:not(.standard-icon) {
        font-size: 13px;
    }
}

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

@media (max-width: 620px) {
    .standards-row {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .standard,
    .standard:first-child,
    .standard:nth-child(4) {
        min-height: 0;
        padding: 20px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
    }

    .standard > .standard-icon {
        grid-column: auto;
        grid-row: auto;
        margin: 0 auto 16px;
    }

    .standard strong,
    .standard > span:not(.standard-icon) {
        grid-column: auto;
        grid-row: auto;
    }

    .standard strong {
        margin: 0 0 3px;
        font-size: 18px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .pillar,
    .standard {
        transition: none !important;
    }

    .pillar:hover,
    .standard:hover {
        transform: none;
    }
}
