
/* ==========================================
   SPECTRUM SAFETY - COMPACT INDUSTRY PAGE
========================================== */

.compact-industry {
    --compact-orange: #f75c03;
    --compact-dark: #10243e;
    --compact-muted: #666666;
    --compact-border: #e7e7e7;
    color: var(--compact-dark);
}

.compact-industry [hidden] {
    display: none !important;
}

.compact-industry section {
    scroll-margin-top: 95px;
}

.compact-industry .auto-kicker {
    display: inline-block;
    color: var(--compact-orange);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.5px;
    line-height: 1.5;
}

/* HERO */

.compact-hero {
    position: relative;
    min-height: 360px;
    height: 390px;
    max-height: 65vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    background: #222;
    color: #fff;
    isolation: isolate;
}

.compact-hero-image,
.compact-hero-overlay {
    position: absolute;
    inset: 0;
}

.compact-hero-image {
    z-index: -2;
}

.compact-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.compact-hero-overlay {
    z-index: -1;
    background: linear-gradient(
        90deg,
        rgba(0, 0, 0, 0.88) 0%,
        rgba(0, 0, 0, 0.68) 48%,
        rgba(0, 0, 0, 0.15) 100%
    );
}

.compact-hero-content {
    width: min(850px, 90%);
    padding: 38px 7%;
}

.compact-hero-content .auto-kicker {
    color: #ff985e;
}

.compact-hero-content h1 {
    max-width: 750px;
    margin: 12px 0;
    color: #fff;
    font-size: clamp(30px, 4vw, 52px);
    line-height: 1.08;
    letter-spacing: -1.3px;
}

.compact-hero-content p {
    max-width: 600px;
    margin: 0 0 20px;
    color: rgba(255, 255, 255, 0.88);
    font-size: 15px;
    line-height: 1.7;
}

.compact-hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

.compact-hero-actions a {
    min-height: 42px;
    padding: 12px 17px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.5px;
    text-decoration: none;
}

.compact-hero-actions .auto-primary-btn {
    background: var(--compact-orange);
    color: #fff;
}

.compact-hero-actions .auto-secondary-btn {
    border: 1px solid rgba(255, 255, 255, 0.6);
    color: #fff;
    background: rgba(0, 0, 0, 0.15);
}

.compact-hero-label {
    position: absolute;
    right: 24px;
    bottom: 20px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 1.4px;
}

/* INTRODUCTION */

.compact-intro {
    max-width: 1250px;
    margin: 0 auto;
    padding: 34px 5%;
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    align-items: start;
    gap: 36px;
    border-bottom: 1px solid var(--compact-border);
}

.compact-intro-heading h2 {
    margin: 8px 0 0;
    font-size: clamp(23px, 2.5vw, 32px);
    line-height: 1.2;
}

.compact-intro-text {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.compact-intro-text p {
    margin: 0;
    color: var(--compact-muted);
    font-size: 13px;
    line-height: 1.75;
}

/* APPLICATION SELECTOR */

.compact-applications {
    max-width: 1400px;
    margin: 0 auto;
    padding: 40px 5% 30px;
}

.compact-section-heading {
    margin-bottom: 20px;
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 24px;
}

.compact-section-heading h2 {
    margin: 7px 0 0;
    font-size: clamp(24px, 3vw, 34px);
    line-height: 1.2;
}

.compact-section-heading > p {
    max-width: 400px;
    margin: 0;
    color: var(--compact-muted);
    font-size: 13px;
    line-height: 1.7;
}

.compact-application-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.compact-app-card {
    min-width: 0;
    min-height: 132px;
    position: relative;
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-rows: auto 1fr;
    align-content: start;
    gap: 9px;
    padding: 15px;
    border: 1px solid var(--compact-border);
    border-radius: 5px;
    background: #fff;
    color: var(--compact-dark);
    text-align: left;
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s,
                transform 0.2s, box-shadow 0.2s;
}

.compact-app-card:hover {
    border-color: var(--compact-orange);
    transform: translateY(-2px);
}

.compact-app-card.active {
    border-color: var(--compact-orange);
    background: #fff8f3;
    box-shadow: inset 0 3px 0 var(--compact-orange);
}

.compact-app-number {
    color: #999;
    font-size: 11px;
    font-weight: 800;
}

.compact-app-icon {
    justify-self: end;
    font-size: 21px;
    line-height: 1;
}

.compact-app-content {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.compact-app-content > span {
    color: var(--compact-orange);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.9px;
    text-transform: uppercase;
}

.compact-app-content strong {
    font-size: 14px;
    line-height: 1.35;
}

.compact-app-content small {
    color: var(--compact-muted);
    font-size: 11px;
    line-height: 1.5;
}

.compact-app-arrow {
    position: absolute;
    right: 13px;
    bottom: 12px;
    color: var(--compact-orange);
    font-size: 15px;
}

/* PRODUCT HEADER */

.compact-products {
    max-width: 1400px;
    margin: 0 auto;
    padding: 28px 5% 40px;
}

.compact-product-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 22px;
}

.compact-product-header h2 {
    max-width: 700px;
    margin: 7px 0 0;
    font-size: clamp(23px, 2.8vw, 33px);
    line-height: 1.3;
}

.compact-product-header h2 span {
    color: var(--compact-orange);
}

.compact-result-counter {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
}

.compact-result-counter strong {
    font-size: 30px;
    line-height: 1;
}

.compact-result-counter > span {
    color: var(--compact-muted);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1px;
}

/* PRODUCT TABS */

.compact-product-tabs {
    display: flex;
    gap: 8px;
    border-bottom: 1px solid var(--compact-border);
    margin-bottom: 20px;
}

.compact-product-tab {
    min-height: 45px;
    padding: 12px 17px;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    border: 0;
    border-bottom: 3px solid transparent;
    margin-bottom: -1px;
    background: transparent;
    color: #666;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.4px;
    cursor: pointer;
}

.compact-product-tab > span {
    min-width: 23px;
    padding: 4px 6px;
    border-radius: 20px;
    background: #f0f0f0;
    color: #444;
    text-align: center;
    font-size: 10px;
}

.compact-product-tab.active {
    border-bottom-color: var(--compact-orange);
    color: var(--compact-orange);
}

.compact-product-tab.active > span {
    background: #fff0e7;
    color: var(--compact-orange);
}

.compact-product-tab:focus-visible,
.compact-app-card:focus-visible {
    outline: 2px solid var(--compact-orange);
    outline-offset: 3px;
}

/* PRODUCT GRID */

.compact-product-panel {
    min-width: 0;
}

.compact-product-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    align-items: stretch;
    gap: 16px;
}

.compact-product-card {
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--compact-border);
    border-radius: 5px;
    background: #fff;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.compact-product-card:hover {
    border-color: #d5d5d5;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.07);
}

.compact-product-image {
    height: 185px;
    padding: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #f8f8f8;
}

.compact-product-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.25s;
}

.compact-product-card:hover .compact-product-image img {
    transform: scale(1.04);
}

.compact-image-placeholder {
    color: #888;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1px;
}

.compact-product-info {
    padding: 14px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.compact-product-code {
    color: var(--compact-orange);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.6px;
}

.compact-product-info h3 {
    margin: 7px 0;
    font-size: 14px;
    line-height: 1.5;
}

.compact-product-info p {
    margin: 0 0 14px;
    color: var(--compact-muted);
    font-size: 12px;
    line-height: 1.6;
}

.compact-product-link {
    width: 100%;
    margin-top: auto;
    padding-top: 12px;
    display: flex;
    justify-content: space-between;
    gap: 8px;
    border-top: 1px solid var(--compact-border);
    color: var(--compact-dark);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.5px;
    text-decoration: none;
}

.compact-product-link span {
    color: var(--compact-orange);
}

.compact-product-link:hover {
    color: var(--compact-orange);
}

.compact-empty {
    grid-column: 1 / -1;
    padding: 24px;
    color: var(--compact-muted);
    font-size: 13px;
}

/* COMPACT PROCESS */

.compact-process {
    max-width: 1400px;
    margin: 0 auto;
    padding: 25px 5% 35px;
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    align-items: center;
    gap: 30px;
    border-top: 1px solid var(--compact-border);
}

.compact-process-heading h2 {
    margin: 7px 0 0;
    font-size: clamp(20px, 2.3vw, 28px);
    line-height: 1.3;
}

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

.compact-process-steps > div {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.compact-process-steps strong {
    color: var(--compact-orange);
    font-size: 23px;
}

.compact-process-steps span {
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.5px;
}

/* FINAL CTA */

.compact-final {
    position: relative;
    min-height: 215px;
    overflow: hidden;
    display: flex;
    align-items: center;
    background: #202020;
    color: #fff;
    isolation: isolate;
}

.compact-final > img,
.compact-final-overlay {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.compact-final > img {
    z-index: -2;
    object-fit: cover;
    object-position: center;
}

.compact-final-overlay {
    z-index: -1;
    background: linear-gradient(
        90deg,
        rgba(0, 0, 0, 0.88),
        rgba(0, 0, 0, 0.48)
    );
}

.compact-final-content {
    width: 100%;
    max-width: 1000px;
    padding: 30px 7%;
}

.compact-final-content .auto-kicker {
    color: #ff985e;
}

.compact-final-content h2 {
    max-width: 750px;
    margin: 9px 0 17px;
    color: #fff;
    font-size: clamp(25px, 3.5vw, 39px);
    line-height: 1.25;
}

.compact-final-content h2 span {
    color: #ff985e;
}

.compact-final-content > a {
    display: inline-flex;
    align-items: center;
    gap: 20px;
    padding: 12px 16px;
    background: var(--compact-orange);
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    text-decoration: none;
}

/* TABLET */

@media (max-width: 950px) {
    .compact-application-grid,
    .compact-product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .compact-intro {
        gap: 22px;
    }

    .compact-process {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .compact-product-image {
        height: 200px;
    }
}

/* MOBILE */

@media (max-width: 600px) {
    .compact-industry section {
        scroll-margin-top: 75px;
    }

    .compact-hero {
        height: auto;
        min-height: 340px;
        max-height: none;
    }

    .compact-hero-content {
        width: 100%;
        padding: 38px 6%;
    }

    .compact-hero-content h1 {
        font-size: 32px;
    }

    .compact-hero-content p {
        font-size: 13px;
        line-height: 1.6;
    }

    .compact-hero-actions a {
        min-height: 40px;
        padding: 11px 12px;
        font-size: 9px;
    }

    .compact-hero-label {
        right: 12px;
        bottom: 10px;
        font-size: 8px;
    }

    .compact-intro {
        padding: 25px 6%;
        grid-template-columns: 1fr;
        gap: 13px;
    }

    .compact-intro-text {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .compact-applications {
        padding: 28px 5% 20px;
    }

    .compact-section-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 9px;
    }

    .compact-section-heading > p {
        font-size: 12px;
    }

    .compact-application-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 9px;
    }

    .compact-app-card {
        min-height: 125px;
        padding: 11px;
    }

    .compact-app-content strong {
        font-size: 12px;
    }

    .compact-app-content small {
        font-size: 10px;
    }

    .compact-products {
        padding: 25px 5% 30px;
    }

    .compact-product-header {
        align-items: flex-start;
        gap: 12px;
    }

    .compact-product-header h2 {
        font-size: 22px;
    }

    .compact-result-counter strong {
        font-size: 24px;
    }

    .compact-result-counter > span {
        max-width: 75px;
        font-size: 8px;
        text-align: right;
    }

    .compact-product-tabs {
        gap: 0;
    }

    .compact-product-tab {
        flex: 1;
        justify-content: center;
        gap: 6px;
        padding: 10px 5px;
        font-size: 9px;
    }

    .compact-product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .compact-product-image {
        height: 135px;
        padding: 8px;
    }

    .compact-product-info {
        padding: 10px;
    }

    .compact-product-info h3 {
        font-size: 12px;
    }

    .compact-product-info p {
        font-size: 11px;
    }

    .compact-product-link {
        font-size: 9px;
    }

    .compact-process {
        padding: 25px 5%;
    }

    .compact-process-steps {
        gap: 8px;
    }

    .compact-process-steps strong {
        font-size: 20px;
    }

    .compact-process-steps span {
        font-size: 8px;
    }

    .compact-final {
        min-height: 205px;
    }

    .compact-final-content {
        padding: 27px 6%;
    }

    .compact-final-content h2 {
        font-size: 27px;
    }
}

/* SMALL PHONES */

@media (max-width: 360px) {
    .compact-hero-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .compact-product-image {
        height: 115px;
    }

    .compact-product-tab {
        font-size: 8px;
    }
}


/* ==========================================
   SPECTRUM SAFETY - PREMIUM MOTION EFFECTS
========================================== */

.compact-industry {
    --motion-orange: #ff5b0a;
    --motion-glow: rgba(255, 91, 10, 0.28);
}

/* HERO: cinematic image zoom */

.compact-hero-image img {
    animation: heroImageReveal 1.4s ease-out both;
    transform-origin: center;
}

.compact-hero-overlay {
    animation: heroOverlayReveal 1.1s ease-out both;
}

.compact-hero::after {
    content: "";
    position: absolute;
    z-index: 0;
    top: 0;
    bottom: 0;
    left: -45%;
    width: 30%;
    pointer-events: none;
    background: linear-gradient(
        100deg,
        transparent,
        rgba(255, 110, 35, 0.14),
        transparent
    );
    transform: skewX(-18deg);
    animation: heroLightSweep 1.8s ease-out 0.5s both;
}

.compact-hero-content {
    position: relative;
    z-index: 1;
}

.compact-hero-content > * {
    animation: heroTextReveal 0.7s cubic-bezier(.2,.7,.2,1) both;
}

.compact-hero-content > *:nth-child(1) {
    animation-delay: 0.15s;
}

.compact-hero-content > *:nth-child(2) {
    animation-delay: 0.3s;
}

.compact-hero-content > *:nth-child(3) {
    animation-delay: 0.45s;
}

.compact-hero-content > *:nth-child(4) {
    animation-delay: 0.6s;
}

.compact-hero-label {
    animation: labelFadeIn 1s ease 0.9s both;
}

/* BUTTONS: premium hover */

.compact-hero-actions a,
.compact-final-content > a {
    position: relative;
    overflow: hidden;
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        background 0.25s ease;
}

.compact-hero-actions .auto-primary-btn:hover,
.compact-final-content > a:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px var(--motion-glow);
}

.compact-hero-actions .auto-secondary-btn:hover {
    border-color: var(--motion-orange);
    background: rgba(255, 91, 10, 0.15);
    transform: translateY(-2px);
}

.compact-hero-actions a span,
.compact-final-content > a span {
    display: inline-block;
    transition: transform 0.25s ease;
}

.compact-hero-actions a:hover span,
.compact-final-content > a:hover span {
    transform: translateX(4px);
}

/* SECTION HEADINGS */

.compact-intro-heading,
.compact-section-heading,
.compact-product-header,
.compact-process-heading {
    animation: headingReveal 0.7s ease both;
}

/* APPLICATION CARDS */

.compact-app-card {
    overflow: hidden;
    isolation: isolate;
    animation: cardReveal 0.65s cubic-bezier(.2,.7,.2,1) both;
    transition:
        transform 0.3s cubic-bezier(.2,.7,.2,1),
        border-color 0.3s ease,
        box-shadow 0.3s ease,
        background 0.3s ease;
}

.compact-app-card:nth-child(1) { animation-delay: 0.04s; }
.compact-app-card:nth-child(2) { animation-delay: 0.12s; }
.compact-app-card:nth-child(3) { animation-delay: 0.20s; }
.compact-app-card:nth-child(4) { animation-delay: 0.28s; }
.compact-app-card:nth-child(5) { animation-delay: 0.36s; }
.compact-app-card:nth-child(6) { animation-delay: 0.44s; }
.compact-app-card:nth-child(7) { animation-delay: 0.52s; }
.compact-app-card:nth-child(8) { animation-delay: 0.60s; }

.compact-app-card::before {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 0;
    background: linear-gradient(
        120deg,
        rgba(255, 91, 10, 0.12),
        transparent 65%
    );
    opacity: 0;
    transition: opacity 0.3s ease;
}

.compact-app-card:hover {
    transform: translateY(-5px);
    border-color: var(--motion-orange);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
}

.compact-app-card:hover::before,
.compact-app-card.active::before {
    opacity: 1;
}

.compact-app-icon {
    transition:
        transform 0.3s ease,
        filter 0.3s ease;
}

.compact-app-card:hover .compact-app-icon {
    transform: scale(1.15) rotate(-5deg);
    filter: drop-shadow(0 3px 5px var(--motion-glow));
}

.compact-app-arrow {
    transition: transform 0.25s ease;
}

.compact-app-card:hover .compact-app-arrow {
    transform: translate(3px, -3px);
}

.compact-app-card.active {
    box-shadow:
        inset 0 3px 0 var(--motion-orange),
        0 5px 18px rgba(255, 91, 10, 0.08);
}

/* PRODUCT TABS */

.compact-product-tab {
    position: relative;
    transition:
        color 0.25s ease,
        background 0.25s ease;
}

.compact-product-tab:hover {
    color: var(--motion-orange);
    background: #fff8f3;
}

.compact-product-tab > span {
    transition:
        background 0.25s ease,
        transform 0.25s ease;
}

.compact-product-tab:hover > span {
    transform: scale(1.08);
}

/* PRODUCT CARDS */

.compact-product-card {
    animation: productReveal 0.55s ease both;
    transition:
        transform 0.3s ease,
        border-color 0.3s ease,
        box-shadow 0.3s ease;
}

.compact-product-card:nth-child(4n + 1) {
    animation-delay: 0.04s;
}

.compact-product-card:nth-child(4n + 2) {
    animation-delay: 0.10s;
}

.compact-product-card:nth-child(4n + 3) {
    animation-delay: 0.16s;
}

.compact-product-card:nth-child(4n + 4) {
    animation-delay: 0.22s;
}

.compact-product-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 91, 10, 0.65);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.09);
}

.compact-product-image {
    position: relative;
    overflow: hidden;
}

.compact-product-image::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.5),
        transparent 40%
    );
    opacity: 0;
    transition: opacity 0.3s ease;
}

.compact-product-card:hover .compact-product-image::after {
    opacity: 1;
}

.compact-product-image img {
    transition:
        transform 0.5s cubic-bezier(.2,.7,.2,1),
        filter 0.3s ease;
}

.compact-product-card:hover .compact-product-image img {
    transform: scale(1.08);
}

.compact-product-link {
    transition:
        color 0.25s ease,
        border-color 0.25s ease;
}

.compact-product-link span {
    display: inline-block;
    transition: transform 0.25s ease;
}

.compact-product-link:hover span {
    transform: translateX(5px);
}

/* PROCESS STEPS */

.compact-process-steps > div {
    position: relative;
    transition: transform 0.3s ease;
}

.compact-process-steps > div:hover {
    transform: translateY(-4px);
}

.compact-process-steps strong {
    transition:
        color 0.25s ease,
        text-shadow 0.25s ease;
}

.compact-process-steps > div:hover strong {
    color: #ff7b35;
    text-shadow: 0 4px 15px var(--motion-glow);
}

/* FINAL CTA */

.compact-final > img {
    animation: finalImageDrift 18s ease-in-out infinite alternate;
}

.compact-final-content h2 span {
    transition: color 0.3s ease;
}

.compact-final-content > a:hover {
    background: #e94d00;
}

/* KEYFRAMES */

@keyframes heroImageReveal {
    from {
        transform: scale(1.09);
        filter: brightness(0.7);
    }
    to {
        transform: scale(1);
        filter: brightness(1);
    }
}

@keyframes heroOverlayReveal {
    from { opacity: 0.4; }
    to { opacity: 1; }
}

@keyframes heroLightSweep {
    from { left: -45%; }
    to { left: 140%; }
}

@keyframes heroTextReveal {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes labelFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes headingReveal {
    from {
        opacity: 0;
        transform: translateY(14px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes cardReveal {
    from {
        opacity: 0;
        transform: translateY(18px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes productReveal {
    from {
        opacity: 0;
        transform: translateY(14px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes finalImageDrift {
    from { transform: scale(1); }
    to { transform: scale(1.07); }
}

/* ACCESSIBILITY: RESPECT REDUCED MOTION */

@media (prefers-reduced-motion: reduce) {
    .compact-industry *,
    .compact-industry *::before,
    .compact-industry *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }
}


/* =====================================
   SPECTRUM SAFETY - LARGER TYPOGRAPHY
   ===================================== */

.compact-industry {
    font-size: 17px;
    line-height: 1.75;
}

/* Hero banner */
.compact-industry .compact-hero-eyebrow {
    font-size: 15px;
    letter-spacing: 2px;
}

.compact-industry .compact-hero h1 {
    font-size: clamp(38px, 4.5vw, 58px);
    line-height: 1.15;
}

.compact-industry .compact-hero p {
    font-size: 18px;
    line-height: 1.8;
}

/* Section headings */
.compact-industry h2 {
    font-size: clamp(30px, 3.2vw, 40px);
    line-height: 1.25;
}

.compact-industry h3 {
    font-size: 23px;
    line-height: 1.35;
}

/* Introductory text */
.compact-industry .compact-intro p {
    font-size: 17px;
    line-height: 1.85;
}

/* Application cards */
.compact-industry .compact-app-card {
    padding: 24px;
}

.compact-industry .compact-app-card h3 {
    font-size: 21px;
}

.compact-industry .compact-app-card p {
    font-size: 16px;
    line-height: 1.7;
}

/* Product cards */
.compact-industry .compact-product-card h3 {
    font-size: 20px;
    line-height: 1.4;
}

.compact-industry .compact-product-card p {
    font-size: 16px;
    line-height: 1.7;
}

.compact-industry .compact-product-card .product-code {
    font-size: 1px;
    letter-spacing: 1px;
}

/* Tabs and buttons */
.compact-industry .compact-product-tab,
.compact-industry .compact-hero a,
.compact-industry .compact-final a {
    font-size: 16px;
    font-weight: 700;
}

.compact-industry .compact-app-card button {
    font-size: 16px;
}

/* Process steps */
.compact-industry .compact-process h3 {
    font-size: 20px;
}

.compact-industry .compact-process p {
    font-size: 16px;
    line-height: 1.75;
}

/* Small labels and counters */
.compact-industry .compact-product-header p,
.compact-industry .compact-product-header span {
    font-size: 16px;
}

/* Mobile readability */
@media (max-width: 600px) {
    .compact-industry {
        font-size: 16px;
    }

    .compact-industry .compact-hero h1 {
        font-size: 36px;
    }

    .compact-industry .compact-hero p {
        font-size: 17px;
    }

    .compact-industry h2 {
        font-size: 29px;
    }

    .compact-industry h3 {
        font-size: 21px;
    }

    .compact-industry .compact-app-card p,
    .compact-industry .compact-product-card p,
    .compact-industry .compact-process p {
        font-size: 16px;
    }
}


/* ===== APPLICATION CARDS: BIGGER TEXT ===== */

.compact-industry .compact-app-card {
    padding: 28px;
}

.compact-industry .compact-app-card h3 {
    font-size: 27px;
    line-height: 1.35;
    font-weight: 700;
    margin-top: 10px;
    margin-bottom: 12px;
}

.compact-industry .compact-app-card p {
    font-size: 19px;
    line-height: 1.8;
}

/* Hide category labels such as HANDLING, CUT,
   IMPACT and ABRASION */
.compact-industry .compact-app-card .application-category,
.compact-industry .compact-app-card .app-category {
    display: none !important;
}

@media (max-width: 600px) {
    .compact-industry .compact-app-card h3 {
        font-size: 23px;
    }

    .compact-industry .compact-app-card p {
        font-size: 17px;
    }
}


/* ===== BALANCED APPLICATION CARD FONT SIZES ===== */

.compact-industry .compact-application-grid .compact-app-card {
    padding: 24px !important;
    min-height: 190px;
}

.compact-industry .compact-application-grid .compact-app-card .compact-app-content strong {
    font-size: 24px !important;
    line-height: 1.4 !important;
    font-weight: 700 !important;
    margin-bottom: 8px !important;
}

.compact-industry .compact-application-grid .compact-app-card .compact-app-content small {
    font-size: 17px !important;
    line-height: 1.7 !important;
}

.compact-industry .compact-application-grid .compact-app-card .compact-app-icon {
    font-size: 26px !important;
}

.compact-industry .compact-application-grid .compact-app-card .compact-app-number {
    font-size: 15px !important;
}

@media (max-width: 600px) {
    .compact-industry .compact-application-grid .compact-app-card .compact-app-content strong {
        font-size: 21px !important;
    }

    .compact-industry .compact-application-grid .compact-app-card .compact-app-content small {
        font-size: 16px !important;
    }
}


/* ===== APPLICATION CARD ALIGNMENT FIX ===== */

.compact-industry .compact-application-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    align-items: stretch;
}

/* Consistent card structure */
.compact-industry .compact-application-grid .compact-app-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    width: 100%;
    min-width: 0;
    min-height: 220px;
    height: 100%;
    padding: 24px !important;
    box-sizing: border-box;
    gap: 10px;
}

/* Keep icons aligned */
.compact-industry .compact-app-card .compact-app-icon {
    display: block;
    font-size: 26px !important;
    line-height: 1.2;
    margin: 4px 0;
}

/* Remove category label spacing */
.compact-industry .compact-app-card .compact-app-content > span {
    display: none !important;
}

/* Make content use the same width */
.compact-industry .compact-app-card .compact-app-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    min-width: 0;
    gap: 8px;
    padding-right: 16px;
}

/* Consistent title alignment */
.compact-industry .compact-app-card .compact-app-content strong {
    display: block;
    font-size: 23px !important;
    line-height: 1.4 !important;
    font-weight: 700;
    margin: 0 !important;
}

/* Consistent description alignment */
.compact-industry .compact-app-card .compact-app-content small {
    display: block;
    font-size: 16px !important;
    line-height: 1.65 !important;
    margin: 0;
}

/* Keep the number in the same top position */
.compact-industry .compact-app-card .compact-app-number {
    display: block;
    font-size: 14px !important;
    line-height: 1.2;
}

/* Position arrows consistently */
.compact-industry .compact-app-card .compact-app-arrow {
    position: absolute;
    right: 20px;
    bottom: 18px;
    font-size: 20px;
}

/* Tablet */
@media (max-width: 950px) {
    .compact-industry .compact-application-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* Mobile */
@media (max-width: 600px) {
    .compact-industry .compact-application-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .compact-industry .compact-application-grid .compact-app-card {
        min-height: 180px;
        padding: 20px !important;
    }

    .compact-industry .compact-app-card .compact-app-content strong {
        font-size: 21px !important;
    }

    .compact-industry .compact-app-card .compact-app-content small {
        font-size: 16px !important;
    }
}


/* ===== COMPACT APPLICATION CARDS ===== */

.compact-industry .compact-application-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    align-items: stretch;
}

.compact-industry .compact-application-grid .compact-app-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    width: 100%;
    min-width: 0;
    min-height: 0;
    height: auto;
    padding: 18px !important;
    gap: 6px;
    box-sizing: border-box;
}

/* Smaller icon and number */
.compact-industry .compact-app-card .compact-app-icon {
    font-size: 22px !important;
    line-height: 1.1;
    margin: 2px 0;
}

.compact-industry .compact-app-card .compact-app-number {
    font-size: 12px !important;
    line-height: 1.1;
}

/* Application title */
.compact-industry .compact-app-card .compact-app-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    min-width: 0;
    gap: 5px;
    padding-right: 12px;
}

.compact-industry .compact-app-card .compact-app-content strong {
    font-size: 21px !important;
    line-height: 1.3 !important;
    margin: 0 !important;
}

/* Application description */
.compact-industry .compact-app-card .compact-app-content small {
    font-size: 15px !important;
    line-height: 1.5 !important;
    margin: 0;
}

/* Smaller arrow */
.compact-industry .compact-app-card .compact-app-arrow {
    position: absolute;
    right: 14px;
    bottom: 12px;
    font-size: 17px;
}

/* Tablet */
@media (max-width: 950px) {
    .compact-industry .compact-application-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }
}

/* Mobile */
@media (max-width: 600px) {
    .compact-industry .compact-application-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .compact-industry .compact-application-grid .compact-app-card {
        padding: 14px !important;
    }

    .compact-industry .compact-app-card .compact-app-content strong {
        font-size: 18px !important;
    }

    .compact-industry .compact-app-card .compact-app-content small {
        font-size: 14px !important;
    }
}


/* =========================================
   SPECTRUM SAFETY - OUR APPROACH REDESIGN
   ========================================= */

.compact-industry .compact-process {
    position: relative;
    padding: 65px 5%;
    margin: 35px 0;
    overflow: hidden;
    background:
        radial-gradient(
            circle at 95% 5%,
            rgba(247, 92, 3, 0.10),
            transparent 32%
        ),
        #f7f7f5;
    border-top: 1px solid rgba(20, 30, 40, 0.08);
    border-bottom: 1px solid rgba(20, 30, 40, 0.08);
}

/* Heading */
.compact-industry .compact-process-heading {
    max-width: 720px;
    margin: 0 auto 34px;
    text-align: center;
}

.compact-industry .compact-process-heading .auto-kicker {
    display: inline-block;
    color: #f75c03;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 2.5px;
    margin-bottom: 12px;
}

.compact-industry .compact-process-heading h2 {
    color: #17212b;
    font-size: clamp(28px, 3vw, 40px);
    font-weight: 800;
    line-height: 1.2;
    margin: 0 0 12px;
}

.compact-industry .compact-process-heading p {
    color: #5c6670;
    font-size: 16px;
    line-height: 1.7;
    margin: 0;
}

/* Four-column layout */
.compact-industry .compact-process-steps {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    max-width: 1250px;
    margin: 0 auto;
    align-items: stretch;
}

/* Individual cards */
.compact-industry .process-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-width: 0;
    padding: 24px 20px 27px;
    background: #ffffff;
    border: 1px solid #e7e8e8;
    border-radius: 12px;
    box-shadow: 0 5px 18px rgba(20, 30, 40, 0.04);
    overflow: hidden;
    transition:
        transform 0.3s ease,
        border-color 0.3s ease,
        box-shadow 0.3s ease;
}

/* Orange accent on hover */
.compact-industry .process-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: #f75c03;
    transform: scaleX(0.15);
    transform-origin: left;
    transition: transform 0.35s ease;
}

.compact-industry .process-card:hover {
    transform: translateY(-6px);
    border-color: rgba(247, 92, 3, 0.45);
    box-shadow: 0 14px 32px rgba(20, 30, 40, 0.10);
}

.compact-industry .process-card:hover::before {
    transform: scaleX(1);
}

/* Number and icon row */
.compact-industry .process-card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin-bottom: 24px;
}

.compact-industry .process-number {
    color: #f75c03;
    font-size: 30px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -1px;
}

.compact-industry .process-icon {
    display: grid;
    place-items: center;
    width: 43px;
    height: 43px;
    border-radius: 10px;
    background: #fff0e8;
    color: #f75c03;
    font-size: 27px;
    font-weight: 700;
    transition:
        background 0.3s ease,
        color 0.3s ease,
        transform 0.3s ease;
}

.compact-industry .process-card:hover .process-icon {
    background: #f75c03;
    color: #ffffff;
    transform: rotate(-5deg) scale(1.05);
}

/* Small label */
.compact-industry .process-label {
    color: #f75c03;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.4px;
    line-height: 1.5;
    margin-bottom: 9px;
}

/* Card title */
.compact-industry .process-card h3 {
    color: #17212b;
    font-size: 20px;
    font-weight: 800;
    line-height: 1.35;
    margin: 0 0 10px;
}

/* Card description */
.compact-industry .process-card p {
    color: #5c6670;
    font-size: 14px;
    line-height: 1.75;
    margin: 0 0 20px;
}

/* Bottom orange line */
.compact-industry .process-bottom-line {
    display: block;
    width: 34px;
    height: 3px;
    background: #f75c03;
    border-radius: 5px;
    margin-top: auto;
    transition: width 0.3s ease;
}

.compact-industry .process-card:hover .process-bottom-line {
    width: 65px;
}

/* Tablet */
@media (max-width: 1000px) {
    .compact-industry .compact-process-steps {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .compact-industry .compact-process {
        padding: 50px 5%;
    }
}

/* Mobile */
@media (max-width: 560px) {
    .compact-industry .compact-process {
        padding: 40px 18px;
        margin: 25px 0;
    }

    .compact-industry .compact-process-heading {
        margin-bottom: 24px;
        text-align: left;
    }

    .compact-industry .compact-process-steps {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 11px;
    }

    .compact-industry .process-card {
        padding: 17px 14px 19px;
        border-radius: 9px;
    }

    .compact-industry .process-card-top {
        margin-bottom: 17px;
    }

    .compact-industry .process-number {
        font-size: 25px;
    }

    .compact-industry .process-icon {
        width: 35px;
        height: 35px;
        font-size: 22px;
    }

    .compact-industry .process-label {
        font-size: 9px;
        letter-spacing: 0.8px;
    }

    .compact-industry .process-card h3 {
        font-size: 17px;
    }

    .compact-industry .process-card p {
        font-size: 13px;
        line-height: 1.6;
    }
}

/* Respect reduced-motion preferences */
@media (prefers-reduced-motion: reduce) {
    .compact-industry .process-card,
    .compact-industry .process-card::before,
    .compact-industry .process-icon,
    .compact-industry .process-bottom-line {
        transition: none;
    }

    .compact-industry .process-card:hover {
        transform: none;
    }
}


