/* =========================================================
   BRAINFRAME TECHNOLOGIES — HOME PAGE CSS
   Requires:
   - variables.css
   - reset.css
   - typography.css
   - header.css
   - footer.css
========================================================= */


/* =========================================================
   HERO SECTION
========================================================= */

.hero-section {
    position: relative;
    min-height: 480px;
    overflow: hidden;
    background-color: #0B0B0B;
    color: var(--color-white);
    isolation: isolate;
    padding-top: 80px;
}

.hero-background {
    position: absolute;
    inset: 0;
    z-index: -3;
    overflow: hidden;
}

.hero-background img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;

    opacity: 0;
    transform: scale(1.03);

    -webkit-mask-image: linear-gradient(
        to right,
        rgba(0, 0, 0, 0.10) 0%,
        rgba(0, 0, 0, 0.10) 30%,
        rgba(0, 0, 0, 0.35) 45%,
        rgba(0, 0, 0, 0.65) 65%,
        rgba(0, 0, 0, 0.85) 82%,
        rgba(0, 0, 0, 1) 100%
    );

    mask-image: linear-gradient(
        to right,
        rgba(0, 0, 0, 0.10) 0%,
        rgba(0, 0, 0, 0.10) 30%,
        rgba(0, 0, 0, 0.35) 45%,
        rgba(0, 0, 0, 0.65) 65%,
        rgba(0, 0, 0, 0.85) 82%,
        rgba(0, 0, 0, 1) 100%
    );

    transition:
        opacity 1.5s ease,
        transform 2s ease;
}

.hero-section.is-visible .hero-background img {
    opacity: 1;
    transform: scale(1);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: -2;

    background: linear-gradient(
        to right,
        rgba(0, 0, 0, 0.30) 0%,
        rgba(0, 0, 0, 0.20) 30%,
        rgba(0, 0, 0, 0.08) 60%,
        rgba(0, 0, 0, 0) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 2;
    padding-top: 62px;
    padding-bottom: 42px;
}

.hero-eyebrow {
    margin-bottom: 12px;
    color: var(--brand-red);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.hero-title {
    margin: 0;
    max-width: 650px;

    color: var(--color-white);
    font-family: "Fjalla One", sans-serif;
    font-size: clamp(42px, 4.2vw, 68px);
    font-weight: 400;
    line-height: 0.98;

    opacity: 0;
    transform: translateY(18px);

    /*
     * The title begins immediately with the hero image.
     * All title lines inside the same H1 therefore animate
     * simultaneously.
     */
    transition:
        opacity 0.9s ease,
        transform 0.9s ease;
}

.hero-section.is-visible .hero-title {
    opacity: 1;
    transform: translateY(0);
}

.hero-description {
    max-width: 560px;
    margin-top: 20px;
    margin-bottom: 0;

    color: rgba(255, 255, 255, 0.72);
    font-size: 13px;
    line-height: 1.55;

    opacity: 0;
    transform: translateY(14px);

    /*
     * Description begins AFTER the title animation.
     *
     * Title duration = 0.9s
     * Description delay = 0.15s
     *
     * Total description start = 1.05s
     */
    transition:
        opacity 0.9s ease 0.15s,
        transform 0.9s ease 0.15s;
}

.hero-section.is-visible .hero-description {
    opacity: 1;
    transform: translateY(0);
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 26px;
}

.hero-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;

    min-height: 42px;
    padding: 10px 18px;

    border: 1px solid transparent;
    border-radius: 2px;

    text-decoration: none;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;

    transition:
        background-color 0.2s ease,
        border-color 0.2s ease,
        color 0.2s ease;
}

.hero-btn .material-symbols-outlined {
    font-size: 15px;
}

.hero-btn-primary {
    background-color: var(--brand-red);
    color: var(--color-white);
    border-color: var(--brand-red);
}

.hero-btn-primary:hover {
    background-color: #C90606;
    border-color: #C90606;
    color: var(--color-white);
}

.hero-btn-secondary {
    background-color: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.18);
    color: var(--color-white);
}

.hero-btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.16);
}


/* =========================================================
   HERO METRICS
========================================================= */

.hero-metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-top: 50px;
}

.metric-card {
    position: relative;
    min-height: 125px;
    padding: 18px;

    background-color: rgba(15, 15, 15, 0.78);
    border: 1px solid rgba(255, 255, 255, 0.04);

    overflow: hidden;
    z-index: 3;
}

.metric-card-2 {
    transform: translateX(calc(-100% - 14px));
    z-index: 2;
}

.metric-card-3 {
    transform: translateX(calc(-200% - 28px));
    z-index: 1;
}

/*
 * These positioning animations are NOT triggered until
 * JavaScript adds .metrics-visible.
 *
 * JavaScript adds .metrics-visible at the exact moment
 * the hero description animation begins.
 */

.hero-section.metrics-visible .metric-card-2 {
    transform: translateX(0);

    transition:
        transform 1s cubic-bezier(0.22, 1, 0.36, 1);
}

.hero-section.metrics-visible .metric-card-3 {
    transform: translateX(0);

    transition:
        transform 1.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.metric-accent {
    position: absolute;
    top: 14px;
    left: 18px;

    width: 3px;
    height: 9px;

    background-color: var(--brand-red);
}

.metric-content {
    padding-left: 8px;
}

.metric-number {
    display: flex;
    align-items: baseline;

    color: var(--color-white);
    font-family: "Fjalla One", sans-serif;
    font-size: clamp(30px, 3vw, 42px);
    line-height: 1;
}

.metric-suffix {
    margin-left: 2px;
    color: var(--brand-red);
    font-size: 22px;
}

.metric-heading {
    margin-top: 8px;
    margin-bottom: 0;

    color: var(--color-white);
    font-family: "Fjalla One", sans-serif;
    font-size: clamp(15px, 1.5vw, 21px);
    font-weight: 400;
}

.metric-description {
    max-width: 260px;
    margin: 7px 0 0;

    color: rgba(255, 255, 255, 0.78);
    font-size: clamp(9px, 0.9vw, 13px);
    line-height: 1.45;

    opacity: 0;
}

.metric-card.revealed .metric-description {
    opacity: 1;

    transition:
        opacity 0.5s ease;
}


/* =========================================================
   TECHNOLOGY PARTNERS
========================================================= */

.partners-section {
    position: relative;
    overflow: hidden;

    background-color: var(--color-white);

    padding-top: 76px;
    padding-bottom: 78px;
}

.partners-intro {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: center;

    gap: 60px;
    margin-bottom: 56px;
}

.partners-heading-block {
    display: flex;
    align-items: center;
}

.partners-title {
    margin: 0;

    color: var(--color-charcoal);
    font-family: "Fjalla One", sans-serif;
    font-size: clamp(38px, 4vw, 48px);
    line-height: 1;
    text-transform: uppercase;
}

.partners-description-block {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.partners-description {
    max-width: 500px;
    margin: 0;

    color: rgba(23, 23, 23, 0.72);
    font-size: clamp(13px, 1.1vw, 16px);
    line-height: 1.55;
    text-align: right;
}

.partners-marquee {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.partners-marquee::before,
.partners-marquee::after {
    content: "";

    position: absolute;
    top: 0;
    bottom: 0;

    width: 90px;

    z-index: 2;
    pointer-events: none;
}

.partners-marquee::before {
    left: 0;

    background: linear-gradient(
        to right,
        var(--color-white),
        rgba(255, 255, 255, 0)
    );
}

.partners-marquee::after {
    right: 0;

    background: linear-gradient(
        to left,
        var(--color-white),
        rgba(255, 255, 255, 0)
    );
}

.partners-marquee-track {
    display: flex;
    align-items: center;

    width: max-content;
    gap: 110px;

    animation:
        partners-marquee-scroll 28s linear infinite;
}

.partners-marquee:hover .partners-marquee-track {
    animation-play-state: paused;
}

.partner-logo {
    flex: 0 0 auto;

    width: 125px;
    height: 74px;

    display: flex;
    align-items: center;
    justify-content: center;
}

.partner-logo img {
    display: block;

    width: auto;
    height: 52px;
    max-width: 125px;

    object-fit: contain;

    transition:
        transform 0.25s ease;
}

.partner-logo:hover img {
    transform: scale(1.06);
}

@keyframes partners-marquee-scroll {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}


/* =========================================================
   ABOUT SECTION
========================================================= */

.about-section {
    position: relative;
    overflow: hidden;

    background-color: var(--about-background);

    padding-top: 92px;
    padding-bottom: 96px;
}

.about-layout {
    align-items: center;
}

.about-image-column {
    position: relative;
}

.about-content-column {
    position: relative;
    padding-left: 26px;
}

.about-image-wrapper {
    position: relative;
    width: 100%;
    padding: 18px 0 0 16px;
}

.about-red-accent {
    position: absolute;
    top: 0;
    left: 0;

    width: 96px;
    height: 96px;

    background-color: rgba(225, 7, 7, 0.10);

    z-index: 0;

    transform: translate(20px, 20px);
}

.about-section.is-visible .about-red-accent {
    transform: translate(0, 0);

    transition:
        transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

.about-image-frame {
    position: relative;
    z-index: 1;

    overflow: hidden;
    width: 100%;

    box-shadow: 0 22px 34px rgba(23, 23, 23, 0.12);
}

.about-image {
    display: block;

    width: 100%;
    height: auto;

    transform: scale(1);

    transition:
        transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.about-image-frame:hover .about-image {
    transform: scale(1.035);
}

.about-image-caption {
    position: absolute;
    left: 16px;
    bottom: 16px;

    display: flex;
    align-items: center;
    gap: 10px;

    padding: 10px 16px;

    background: rgba(23, 23, 23, 0.90);
    color: var(--color-white);
}

.about-image-caption .material-symbols-outlined {
    color: var(--brand-red);
    font-size: 14px;
}

.about-image-caption div {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.about-image-caption strong {
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.16em;
    line-height: 1.2;
}

.about-image-caption span {
    color: rgba(255, 255, 255, 0.60);
    font-size: 8px;
    letter-spacing: 0.12em;
    line-height: 1.2;
}

.about-eyebrow {
    display: flex;
    align-items: center;
    gap: 8px;

    margin: 0 0 10px;

    color: var(--brand-red);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;

    opacity: 0;
    transform: translateY(12px);
}

.about-section.is-visible .about-eyebrow {
    opacity: 1;
    transform: translateY(0);

    transition:
        opacity 0.75s ease,
        transform 0.75s ease;
}

.about-eyebrow span {
    display: inline-block;

    width: 4px;
    height: 10px;

    background-color: var(--brand-red);
}

.about-title {
    margin: 0;

    color: var(--color-charcoal);
    font-family: "Fjalla One", sans-serif;
    font-size: clamp(38px, 3.7vw, 48px);
    font-weight: 400;
    line-height: 0.98;

    opacity: 0;
    transform: translateY(20px);
}

.about-section.is-visible .about-title {
    opacity: 1;
    transform: translateY(0);

    transition:
        opacity 0.85s ease 0.08s,
        transform 0.85s ease 0.08s;
}

.about-description {
    max-width: 600px;

    margin: 24px 0 28px;

    color: #705A55;
    font-size: 16px;
    line-height: 1.8;

    opacity: 0;
    transform: translateY(18px);
}

.about-section.is-visible .about-description {
    opacity: 1;
    transform: translateY(0);

    transition:
        opacity 0.85s ease 0.18s,
        transform 0.85s ease 0.18s;
}


/* =========================================================
   ABOUT FEATURES
========================================================= */

.about-feature-list {
    list-style: none;
    margin: 0;
    padding: 0;

    display: flex;
    flex-direction: column;
    gap: 18px;
}

.about-feature-item {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    align-items: start;
    gap: 12px;

    opacity: 0;
    transform: translateY(-18px);
}

.about-section.feature-list-visible .about-feature-item {
    animation:
        about-feature-reveal 0.65s
        cubic-bezier(0.22, 1, 0.36, 1)
        forwards;
}

.about-section.feature-list-visible .about-feature-item:nth-child(1) {
    animation-delay: 0.15s;
}

.about-section.feature-list-visible .about-feature-item:nth-child(2) {
    animation-delay: 0.35s;
}

.about-section.feature-list-visible .about-feature-item:nth-child(3) {
    animation-delay: 0.55s;
}

@keyframes about-feature-reveal {
    from {
        opacity: 0;
        transform: translateY(-18px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.about-feature-icon {
    width: 34px;
    height: 34px;

    display: flex;
    align-items: center;
    justify-content: center;

    background-color: rgba(225, 7, 7, 0.10);
}

.about-feature-icon .material-symbols-outlined {
    color: var(--brand-red);
    font-size: 18px;
}

.about-feature-text {
    padding-top: 1px;
}

.about-feature-item h3 {
    margin: 0 0 4px;

    color: var(--color-charcoal);
    font-family: "Fjalla One", sans-serif;
    font-size: clamp(16px, 1.45vw, 23px);
    font-weight: 400;
    line-height: 1;
}

.about-feature-item p {
    margin: 0;

    color: #746A67;
    font-size: 12px;
    line-height: 1.45;
}


/* =========================================================
   ABOUT CTA
========================================================= */

.about-cta {
    position: relative;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0;

    min-width: 290px;
    height: 52px;

    margin-top: 30px;
    padding: 0 24px;

    overflow: hidden;

    background-color: #2E2E2E;
    color: var(--color-white);

    text-decoration: none;

    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.13em;
    text-transform: uppercase;

    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.12);
}

.about-cta:hover {
    background-color: var(--brand-red);
    color: var(--color-white);
}

.about-cta-label {
    position: relative;
    z-index: 2;
}

.about-cta-arrow {
    display: inline-flex;

    width: 0;
    margin-left: 0;

    overflow: hidden;

    opacity: 0;
    transform: translateX(-12px);

    font-size: 17px;
    line-height: 1;

    transition:
        width 0.28s ease,
        margin-left 0.28s ease,
        opacity 0.28s ease,
        transform 0.28s ease;
}

.about-cta:hover .about-cta-arrow {
    width: 18px;
    margin-left: 9px;

    opacity: 1;
    transform: translateX(0);
}


/* =========================================================
   SERVICES SECTION
========================================================= */

.services-section {
    position: relative;
    overflow: hidden;

    background-color: var(--color-white);

    padding-top: 92px;
    padding-bottom: 94px;
}

.services-intro {
    margin-bottom: 60px;
}

.services-eyebrow {
    margin: 0 0 8px;

    color: var(--brand-red);
    font-family: "Cantarell", sans-serif;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.services-eyebrow span {
    display: inline-block;

    width: 4px;
    height: 10px;

    background-color: var(--brand-red);
}

.services-title {
    margin: 0;

    color: var(--color-charcoal);
    font-family: "Fjalla One", sans-serif;
    font-size: clamp(42px, 4.2vw, 60px);
    font-weight: 400;
    line-height: 1;
}

.services-description {
    max-width: 650px;

    margin: 22px 0 0;

    color: #67615E;
    font-size: 16px;
    line-height: 1.75;
}


/* =========================================================
   SERVICE CARDS
========================================================= */

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.service-card {
    min-height: 480px;
    height: 480px;

    display: flex;
    flex-direction: column;

    padding: 30px 32px 28px;

    background-color: var(--services-card-background);

    border: 1px solid rgba(23, 23, 23, 0.025);

    box-shadow: 0 2px 8px rgba(23, 23, 23, 0.025);

    opacity: 0;
    transform: translateY(50px);

    will-change: transform, opacity;

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.services-section.cards-visible .service-card {
    opacity: 1;
    transform: translateY(0);

    transition:
        opacity 0.7s ease,
        transform 0.7s cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 0.25s ease;
}

.services-section.cards-visible .service-card:nth-child(1) {
    transition-delay: 0.05s;
}

.services-section.cards-visible .service-card:nth-child(2) {
    transition-delay: 0.18s;
}

.services-section.cards-visible .service-card:nth-child(3) {
    transition-delay: 0.31s;
}

.services-section.cards-visible .service-card:nth-child(4) {
    transition-delay: 0.44s;
}

.service-card:hover {
    transform: translateY(-4px) scale(1.025);
    box-shadow: 0 14px 28px rgba(23, 23, 23, 0.08);
}

.service-card-icon {
    width: 54px;
    height: 54px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-bottom: 24px;

    background-color: #EEEAE9;
    color: var(--color-charcoal);

    transition:
        background-color 0.2s ease,
        color 0.2s ease,
        transform 0.2s ease;
}

.service-card-icon .material-symbols-outlined {
    font-size: 28px;
}

.service-card:hover .service-card-icon {
    background-color: rgba(225, 7, 7, 0.10);
    color: var(--brand-red);
    transform: scale(1.04);
}

.service-card-label {
    display: block;

    margin-bottom: 10px;

    color: #77706D;
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.service-card-title {
    margin: 0;

    color: var(--color-charcoal);
    font-family: "Fjalla One", sans-serif;
    font-size: clamp(26px, 2.1vw, 35px);
    font-weight: 400;
    line-height: 1.02;
}

.service-card-description {
    margin: 18px 0 0;

    color: #715F59;
    font-size: 14px;
    line-height: 1.65;
}

.service-card-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;

    width: fit-content;

    margin-top: auto;
    padding-top: 20px;

    color: var(--brand-red);

    text-decoration: none;

    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.service-card-link .material-symbols-outlined {
    font-size: 15px;

    transition:
        transform 0.2s ease;
}

.service-card-link:hover {
    color: #C90606;
}

.service-card-link:hover .material-symbols-outlined {
    transform: translateX(4px);
}


/* =========================================================
   SERVICES CTA
========================================================= */

.services-more {
    display: flex;
    flex-direction: column;
    align-items: center;

    margin-top: 64px;
}

.services-more-text {
    margin: 0;

    color: #797370;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-align: center;

    opacity: 0;
    transform: translateX(-35px);
}

.services-section.more-visible .services-more-text {
    opacity: 1;
    transform: translateX(0);

    transition:
        opacity 0.8s ease,
        transform 0.8s ease;
}

.services-cta {
    position: relative;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0;

    min-width: 300px;
    height: 52px;

    margin-top: 16px;
    padding: 0 28px;

    overflow: hidden;

    background-color: var(--brand-red);
    color: var(--color-white);

    text-decoration: none;

    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.13em;
    text-transform: uppercase;

    box-shadow: 0 5px 14px rgba(225, 7, 7, 0.16);

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        background-color 0.2s ease;
}

.services-cta:hover {
    transform: scale(1.035);

    background-color: #C90606;
    color: var(--color-white);

    box-shadow: 0 8px 20px rgba(225, 7, 7, 0.22);
}

.services-cta-label {
    position: relative;
    z-index: 2;
}

.services-cta-arrow {
    width: 0;
    margin-left: 0;

    overflow: hidden;

    opacity: 0;
    transform: translateX(-12px);

    font-size: 17px;
    line-height: 1;

    transition:
        width 0.28s ease,
        margin-left 0.28s ease,
        opacity 0.28s ease,
        transform 0.28s ease;
}

.services-cta:hover .services-cta-arrow {
    width: 20px;
    margin-left: 10px;

    opacity: 1;
    transform: translateX(0);
}


/* =========================================================
   PRODUCTS SECTION
========================================================= */

.products-section {
    position: relative;
    overflow: hidden;

    background-color: var(--products-background);

    padding-top: 92px;
    padding-bottom: 94px;
}

.products-intro {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: center;

    gap: 70px;
    margin-bottom: 58px;
}

.products-heading-block {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.products-eyebrow {
    margin: 0 0 8px;

    color: var(--brand-red);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.products-title {
    margin: 0;

    color: var(--color-charcoal);
    font-family: "Fjalla One", sans-serif;
    font-size: clamp(44px, 4.4vw, 62px);
    font-weight: 400;
    line-height: 1;
}

.products-description-block {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.products-description {
    max-width: 540px;
    margin: 0;

    color: #6D6764;
    font-size: 16px;
    line-height: 1.65;
}


/* =========================================================
   PRODUCT CARDS
========================================================= */

.products-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 20px;
}

.product-card {
    height: 304px;
    min-height: 304px;

    display: flex;
    flex-direction: column;

    padding: 22px 22px 20px;

    background-color: var(--color-white);

    border: 1px solid rgba(23, 23, 23, 0.035);

    box-shadow: 0 2px 6px rgba(23, 23, 23, 0.025);

    opacity: 0;
    transform: translateY(50px);

    will-change: opacity, transform;

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.products-section.cards-visible .product-card {
    opacity: 1;
    transform: translateY(0);

    transition:
        opacity 0.65s ease,
        transform 0.65s cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 0.25s ease;
}

.products-section.cards-visible .product-card:nth-child(1) {
    transition-delay: 0.05s;
}

.products-section.cards-visible .product-card:nth-child(2) {
    transition-delay: 0.15s;
}

.products-section.cards-visible .product-card:nth-child(3) {
    transition-delay: 0.25s;
}

.products-section.cards-visible .product-card:nth-child(4) {
    transition-delay: 0.35s;
}

.products-section.cards-visible .product-card:nth-child(5) {
    transition-delay: 0.45s;
}

.products-section.cards-visible .product-card:nth-child(6) {
    transition-delay: 0.80s;
}

.products-section.cards-visible .product-card:nth-child(7) {
    transition-delay: 0.90s;
}

.products-section.cards-visible .product-card:nth-child(8) {
    transition-delay: 1.00s;
}

.products-section.cards-visible .product-card:nth-child(9) {
    transition-delay: 1.10s;
}

.products-section.cards-visible .product-card:nth-child(10) {
    transition-delay: 1.20s;
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 28px rgba(23, 23, 23, 0.10);
}

.product-card-icon {
    color: var(--brand-red);
    font-size: 26px;
    line-height: 1;
}

.product-card-title {
    margin: 0;

    color: var(--color-charcoal);
    font-family: "Fjalla One", sans-serif;
    font-size: clamp(20px, 1.65vw, 27px);
    font-weight: 400;
    line-height: 1.05;
}

.product-card-description {
    margin: 12px 0 0;

    color: #706B68;
    font-size: 12px;
    line-height: 1.55;
}


/* =========================================================
   PRODUCTS CTA
========================================================= */

.products-cta-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;

    margin-top: 58px;
}

.products-cta {
    position: relative;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-width: 380px;
    height: 54px;

    padding: 0 28px;

    overflow: hidden;

    background-color: var(--color-white);
    color: var(--color-charcoal);

    text-decoration: none;

    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;

    box-shadow: 0 3px 8px rgba(23, 23, 23, 0.08);

    transition:
        background-color 0.2s ease,
        color 0.2s ease,
        box-shadow 0.25s ease;
}

.products-cta:hover {
    background-color: var(--brand-red);
    color: var(--color-white);

    box-shadow: 0 8px 18px rgba(225, 7, 7, 0.20);
}

.products-cta-label {
    position: relative;
    z-index: 2;
}

.products-cta-arrow {
    display: inline-flex;

    width: 0;
    margin-left: 0;

    overflow: hidden;

    opacity: 0;
    transform: translateX(-12px);

    font-size: 17px;
    line-height: 1;

    transition:
        width 0.3s ease,
        margin-left 0.3s ease,
        opacity 0.3s ease,
        transform 0.3s ease;
}

.products-cta:hover .products-cta-arrow {
    width: 20px;
    margin-left: 10px;

    opacity: 1;
    transform: translateX(0);
}


/* =========================================================
   CONTACT CTA SECTION
========================================================= */

.contact-cta-section {
    position: relative;
    overflow: hidden;

    background-color: var(--color-dark-section);
    color: var(--color-white);

    padding-top: 88px;
    padding-bottom: 88px;
}

.contact-cta-content {
    max-width: 900px;
    margin: 0 auto;

    display: flex;
    flex-direction: column;
    align-items: center;

    text-align: center;
}

.contact-cta-eyebrow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;

    margin: 0 0 12px;

    color: rgba(255, 255, 255, 0.80);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.contact-cta-eyebrow span {
    width: 7px;
    height: 7px;

    display: inline-block;

    background-color: var(--brand-red);
    border-radius: 50%;
}

.contact-cta-title {
    margin: 0;

    color: var(--color-white);
    font-family: "Fjalla One", sans-serif;
    font-size: clamp(40px, 4.8vw, 68px);
    font-weight: 400;
    line-height: 0.98;
}

.contact-cta-description {
    max-width: 760px;

    margin: 24px auto 0;

    color: rgba(255, 255, 255, 0.72);
    font-size: 16px;
    line-height: 1.75;
}

.contact-cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0;

    min-width: 260px;
    height: 52px;

    margin-top: 34px;
    padding: 0 26px;

    background-color: var(--brand-red);
    color: var(--color-white);

    text-decoration: none;

    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;

    box-shadow: 0 5px 16px rgba(0, 0, 0, 0.18);

    transition:
        background-color 0.2s ease,
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.contact-cta-button:hover {
    background-color: #C90606;
    color: var(--color-white);

    transform: scale(1.035);

    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.25);
}

.contact-cta-button-label {
    position: relative;
    z-index: 2;
}

.contact-cta-button-arrow {
    display: inline-flex;

    width: 0;
    margin-left: 0;

    overflow: hidden;

    opacity: 0;
    transform: translateX(-12px);

    font-size: 17px;

    transition:
        width 0.28s ease,
        margin-left 0.28s ease,
        opacity 0.28s ease,
        transform 0.28s ease;
}

.contact-cta-button:hover .contact-cta-button-arrow {
    width: 19px;
    margin-left: 10px;

    opacity: 1;
    transform: translateX(0);
}


/* =========================================================
   TABLET — max-width: 991.98px
========================================================= */

@media (max-width: 991.98px) {

    /* Hero */
    .hero-content {
        padding-top: 72px;
        padding-bottom: 50px;
    }

    .hero-title {
        font-size: clamp(40px, 8vw, 58px);
    }

    .hero-metrics {
        margin-top: 40px;
    }


    /* Partners */
    .partners-section {
        padding-top: 36px;
        padding-bottom: 44px;
    }

    .partners-intro {
        gap: 40px;
    }

    .partners-marquee-track {
        gap: 80px;
    }

    .partner-logo {
        width: 115px;
        height: 68px;
    }

    .partner-logo img {
        height: 46px;
    }


    /* About */
    .about-section {
        padding-top: 72px;
        padding-bottom: 76px;
    }

    .about-content-column {
        padding-left: 12px;
        padding-top: 50px;
    }

    .about-title {
        font-size: clamp(38px, 6vw, 52px);
    }


    /* Services */
    .services-section {
        padding-top: 72px;
        padding-bottom: 76px;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 18px;
    }

    .service-card {
        height: 480px;
        min-height: 480px;
        padding: 26px 28px 26px;
    }

    .service-card-title {
        font-size: clamp(25px, 3vw, 32px);
    }


    /* Products */
    .products-section {
        padding-top: 72px;
        padding-bottom: 76px;
    }

    .products-intro {
        gap: 40px;
        margin-bottom: 46px;
    }

    .products-title {
        font-size: clamp(40px, 6vw, 52px);
    }

    .products-description {
        font-size: 14px;
    }

    .products-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 18px;
    }

    .product-card {
        height: 310px;
        min-height: 310px;
    }


    /* Contact CTA */
    .contact-cta-section {
        padding-top: 72px;
        padding-bottom: 72px;
    }

    .contact-cta-title {
        font-size: clamp(38px, 6vw, 54px);
    }
}


/* =========================================================
   MOBILE — max-width: 767.98px
========================================================= */

@media (max-width: 767.98px) {

    /* Hero */
    .hero-content {
        padding-top: 44px;
        padding-bottom: 32px;
    }

    .hero-title {
        font-size: clamp(38px, 11vw, 52px);
        line-height: 1;
    }

    .hero-description {
        max-width: 100%;
        font-size: 12px;
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;

        width: 100%;
    }

    .hero-btn {
        width: 100%;
    }

    .hero-metrics {
        grid-template-columns: 1fr;
        gap: 10px;
        margin-top: 36px;
    }

    .metric-card-2 {
        transform: translateX(-110%);
    }

    .metric-card-3 {
        transform: translateX(-110%);
    }

    .hero-section.metrics-visible .metric-card-2,
    .hero-section.metrics-visible .metric-card-3 {
        transform: translateX(0);

        transition:
            transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
    }


    /* Partners */
    .partners-section {
        padding-top: 48px;
        padding-bottom: 54px;
    }

    .partners-intro {
        grid-template-columns: 1fr;
        gap: 18px;
        margin-bottom: 38px;
    }

    .partners-description {
        text-align: left;
    }

    .partners-marquee-track {
        gap: 62px;
        animation-duration: 24s;
    }

    .partner-logo {
        width: 105px;
        height: 62px;
    }

    .partner-logo img {
        height: 42px;
    }


    /* About */
    .about-section {
        padding-top: 54px;
        padding-bottom: 58px;
    }

    .about-image-wrapper {
        padding: 14px 0 0 12px;
    }

    .about-red-accent {
        width: 70px;
        height: 70px;

        transform: translate(14px, 14px);
    }

    .about-section.is-visible .about-red-accent {
        transform: translate(0, 0);
    }

    .about-image-caption {
        left: 10px;
        bottom: 10px;

        padding: 8px 10px;
    }

    .about-image-caption strong {
        font-size: 7px;
    }

    .about-image-caption span {
        font-size: 6px;
    }

    .about-content-column {
        padding-left: 12px;
        padding-top: 42px;
    }

    .about-title {
        font-size: clamp(34px, 10vw, 46px);
    }

    .about-description {
        font-size: 14px;
        line-height: 1.7;
    }

    .about-feature-list {
        gap: 14px;
    }

    .about-feature-item {
        grid-template-columns: 34px minmax(0, 1fr);
        gap: 10px;
    }

    .about-feature-icon {
        width: 30px;
        height: 30px;
    }

    .about-feature-icon .material-symbols-outlined {
        font-size: 16px;
    }

    .about-feature-item h3 {
        font-size: 15px;
    }

    .about-feature-item p {
        font-size: 10px;
    }

    .about-cta {
        width: 100%;
        min-width: 0;
        margin-top: 24px;
    }


    /* Services */
    .services-section {
        padding-top: 58px;
        padding-bottom: 64px;
    }

    .services-intro {
        margin-bottom: 40px;
    }

    .services-title {
        font-size: clamp(38px, 10vw, 52px);
    }

    .services-description {
        margin-top: 18px;
        font-size: 14px;
        line-height: 1.7;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .service-card {
        height: 460px;
        min-height: 460px;

        padding: 26px 24px 24px;
    }

    .service-card-title {
        font-size: clamp(26px, 8vw, 34px);
    }

    .service-card-description {
        font-size: 13px;
        line-height: 1.6;
    }

    .services-more {
        margin-top: 44px;
    }

    .services-more-text {
        max-width: 320px;
        font-size: 10px;
        line-height: 1.6;
    }

    .services-cta {
        width: 100%;
        min-width: 0;
        max-width: 330px;
    }


    /* Products */
    .products-section {
        padding-top: 58px;
        padding-bottom: 64px;
    }

    .products-intro {
        grid-template-columns: 1fr;
        gap: 18px;
        margin-bottom: 38px;
    }

    .products-title {
        font-size: clamp(38px, 10vw, 52px);
    }

    .products-description {
        max-width: 100%;
        font-size: 14px;
        line-height: 1.7;
    }

    .products-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .product-card {
        height: 310px;
        min-height: 310px;

        padding: 22px 22px 20px;
    }

    .product-card-title {
        font-size: 23px;
    }

    .product-card-description {
        font-size: 12px;
    }

    .products-cta-wrapper {
        margin-top: 40px;
    }

    .products-cta {
        width: 100%;
        min-width: 0;
        max-width: 360px;
    }


    /* Contact CTA */
    .contact-cta-section {
        padding-top: 58px;
        padding-bottom: 62px;
    }

    .contact-cta-eyebrow {
        font-size: 8px;
        text-align: center;
    }

    .contact-cta-title {
        font-size: clamp(34px, 10vw, 48px);
    }

    .contact-cta-description {
        margin-top: 18px;

        font-size: 13px;
        line-height: 1.7;
    }

    .contact-cta-button {
        width: 100%;
        max-width: 320px;
    }
}


/* =========================================================
   LARGE DESKTOP — min-width: 1400px
========================================================= */

@media (min-width: 1400px) {

    /* Hero */
    .hero-content {
        padding-top: 72px;
        padding-bottom: 50px;
    }


    /* Partners */
    .partners-section {
        padding-top: 92px;
        padding-bottom: 90px;
    }

    .partners-intro {
        gap: 100px;
    }

    .partners-marquee-track {
        gap: 135px;
        animation-duration: 32s;
    }


    /* About */
    .about-section {
        padding-top: 112px;
        padding-bottom: 112px;
    }

    .about-content-column {
        padding-left: 32px;
    }

    .about-image-wrapper {
        padding: 18px 0 0 16px;
    }


    /* Services */
    .services-section {
        padding-top: 110px;
        padding-bottom: 110px;
    }

    .services-intro {
        margin-bottom: 68px;
    }

    .services-grid {
        gap: 22px;
    }

    .service-card {
        height: 490px;
        min-height: 490px;

        padding: 32px 34px 30px;
    }

    .service-card-title {
        font-size: clamp(28px, 2vw, 36px);
    }


    /* Products */
    .products-section {
        padding-top: 110px;
        padding-bottom: 112px;
    }

    .products-intro {
        gap: 100px;
        margin-bottom: 68px;
    }

    .products-grid {
        gap: 22px;
    }

    .product-card {
        height: 315px;
        min-height: 315px;

        padding: 24px 24px 21px;
    }

    .product-card-title {
        font-size: clamp(21px, 1.55vw, 27px);
    }


    /* Contact CTA */
    .contact-cta-section {
        padding-top: 104px;
        padding-bottom: 104px;
    }

    .contact-cta-content {
        max-width: 1000px;
    }
}