/* ============================================================
   SNAP SCROLLING LAYOUT (Shared between Services & Industries)
   ============================================================ */
body:has(.snap-container) {
    margin: 0;
    overflow: hidden;
}

.snap-container {
    height: 100vh;
    overflow-y: auto;
    scroll-snap-type: y mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
    scroll-behavior: smooth;
}

.snap-container::-webkit-scrollbar {
    display: none;
}

.snap-section {
    height: 100vh;
    width: 100%;
    scroll-snap-align: start;
    scroll-snap-stop: always;
    position: relative;
    display: flex;
    align-items: center;
    padding: 40px var(--hero-padding-x);
    color: white;
    overflow-y: auto;
    overflow-x: hidden;
}

.snap-section.static {
    height: auto;
    display: block;
    padding: 0;
    scroll-snap-align: start;
    overflow: visible;
}

.footer-snap-area {
    background-color: var(--color-black);
}

.snap-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 70%;
    z-index: -1;
    filter: brightness(30%) saturate(80%);
}

.hero-snap-section {
    flex-direction: column;
}

.hero-snap-section .snap-content {
    margin-top: auto;
    margin-bottom: auto;
}

.hero-icons-row {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 20px;
    margin-top: 30px;
    width: revert
}

.hero-icons-row[data-count="8"] {
    grid-template-columns: repeat(8, 1fr);
}

.hero-icon-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    text-align: center;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.hero-icon-item:hover {
    transform: translateY(-5px);
}

.hero-icon-svg,
.hero-icon-item>svg {
    width: 48px;
    height: 48px;
    color: var(--color-meteor);
    filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.5));
    transition: color 0.3s ease;
}

.hero-icon-item:hover .hero-icon-svg,
.hero-icon-item:hover>svg {
    color: var(--color-white);
}

.hero-icon-item span {
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.1;
}

.snap-scroll-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
    padding-bottom: 40px;
    position: absolute;
    bottom: 0;
}

.snap-content {
    max-width: 1920px;
    margin: 0 auto;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 16px;
}

.snap-content.right-align {
    align-items: flex-end;
    text-align: right;
}

.snap-content.left-align {
    align-items: flex-start;
    text-align: left;
}

.snap-cat {
    font-size: 20px;
    font-weight: 700;
    color: var(--color-sub-header);
    letter-spacing: 4px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.snap-icon,
.snap-cat>svg {
    width: 128px;
    height: 128px;
    color: var(--color-white);
    filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.5));
}

.hero-snap-section .snap-content h1 {
    max-width: 70vw;
}

.snap-content h1 {
    font-size: clamp(60px, 8vw, 150px);
    font-weight: 900;
    font-style: italic;
    line-height: 0.85;
    text-transform: uppercase;
    margin-bottom: 30px;

}

.snap-desc {
    font-size: 24px;
    max-width: 800px;
    line-height: 1.4;
    color: #eee;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.snap-actions {
    margin-top: 20px;
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.right-align .snap-actions {
    justify-content: flex-end;
}

.bg-gradient-text {
    background: var(--gradient-brand);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    padding: 0 0.15em 0 0.05em;
}

.service-link {
    color: var(--color-white);
    text-decoration: underline;
    text-underline-offset: 4px;
    transition: color 0.3s ease;
    font-weight: 500;
}

.service-link:hover {
    color: var(--color-meteor);
}

/* Small screens tweak */
@media (max-width: 1024px) {
    .hero-icons-row {
        grid-template-columns: repeat(3, 1fr);
        gap: 30px 10px;
        width: 100%;
    }

    /* .hero-icons-row[data-count="4"] {
        grid-template-columns: repeat(2, 1fr);
    } */
}

@media (min-width: 1400px) {
    .hero-snap-section .snap-content h1 {
        max-width: 60vw;
    }
}

@media (max-width: 768px) {

    .snap-icon,
    .snap-cat>svg {
        width: 88px;
        height: 88px;
    }

    .hero-snap-section .snap-content {
        margin-top: 100px;
        margin-bottom: auto;
    }

    .hero-snap-section .snap-content h1 {
        max-width: 100vw;

    }

    .snap-content h1 {
        font-size: clamp(40px, 10vw, 70px);
        margin-bottom: 10px;

    }

    .snap-desc {
        font-size: 18px;
        margin-bottom: 30px;
    }

    .snap-actions {
        flex-direction: column;
        width: 100%;
        gap: 12px;
    }

    .snap-actions .btn--meteor {
        order: -1;
    }

    .snap-actions .btn--outline-white {
        order: 1;
    }

    .snap-actions .btn {
        width: 100%;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
}

@media (max-width: 500px) {
    .hero-icons-row {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px 5px;
        margin-top: 0;
        width: 100%;
        display: none;
    }

    .hero-icons-row[data-count="4"] {
        grid-template-columns: repeat(4, 1fr);
        align-items: center;
    }

    .hero-icon-svg,
    .hero-icon-item>svg {
        width: 36px;
        height: 36px;
    }

    .hero-icon-item span {
        font-size: 10px;
    }
}