/* ─────────────────────────────────────────────────────────
   INDUSTRIES PAGE - STENZO
   Typography uses global CSS variables from base.css.
   ONLY color values are overridden here for each theme.
───────────────────────────────────────────────────────── */

/* ── Page wrapper ── */
.ind-page {
    background-color: var(--color-bg, #ebeff5);
}

/* ══════════════════════════════════════════
   HERO — normal scroll section
══════════════════════════════════════════ */
.ind-hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 24px;
    text-align: center;
}

.ind-hero-content {
    max-width: 800px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

/* Eyebrow pill */
.ind-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: var(--color-peach);
    border: 1px solid var(--color-peach-border);
    color: var(--color-dark);
    padding: 6px 16px;
    border-radius: 100px;
    font-size: 14px;
    font-weight: 500;
}

.ind-eyebrow-icon {
    width: 24px;
    height: 24px;
    background-color: var(--color-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ind-eyebrow-icon svg {
    width: 14px;
    height: 14px;
}

/* Hero title — same sizes as hww-hero-title / about / contact */
.ind-hero-title {
    font-size: clamp(40px, 5vw, 64px);
    line-height: 1.1;
    font-weight: var(--text-title-weight);
    letter-spacing: -0.02em;
    color: var(--color-dark);
    margin: 0;
}

/* Hero description */
.ind-hero-desc {
    font-size: clamp(16px, 1.2vw, 18px);
    line-height: 1.6;
    color: var(--text-desc-color, rgba(33, 34, 47, 0.75));
    max-width: 600px;
    margin: 0;
}

/* ══════════════════════════════════════════
   CINEMATIC SECTION — pinned on desktop
══════════════════════════════════════════ */
.ind-cinematic {
    position: relative;
    overflow: hidden;
    /* height set by JS on desktop; auto on mobile */
}

/* Background overlay animated by JS */
.ind-cinematic-bg {
    position: absolute;
    inset: 0;
    background-color: var(--color-bg, #ebeff5);
    z-index: 0;
}

/* ── Each industry panel ── */
.ind-panel {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: row;
    opacity: 0;
    visibility: hidden;
    z-index: 1;
    /* NO overflow-y on the panel itself — content must fit */
}

/* Image half — always 50% */
.ind-panel-image {
    flex: 0 0 50%;
    width: 50%;
    height: 100%;
    overflow: hidden;
    flex-shrink: 0;
}

.ind-panel-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Content half — always 50% */
.ind-panel-content {
    flex: 0 0 50%;
    width: 50%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 48px 64px;
    gap: 16px;
    overflow: hidden;
    /* Never allow an inner scrollbar */
    flex-shrink: 0;
    box-sizing: border-box;
}

/* ── Meta row: "01  TECHNOLOGY & IT" ── */
.ind-showcase-meta {
    display: flex;
    align-items: center;
    gap: 16px;
}

.ind-showcase-num {
    font-family: var(--font-mono, monospace);
    font-size: 20px;
    font-weight: 600;
    color: var(--color-subtle);
}

.ind-showcase-meta-eyebrow {
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.1em;
    color: var(--color-dark);
    text-transform: uppercase;
}

/* Section title — matches hww-journey-title / about section titles */
.ind-showcase-title {
    font-size: clamp(24px, 3vw, 32px);
    font-weight: var(--text-title-weight, 500);
    letter-spacing: var(--text-title-spacing);
    color: var(--color-dark);
    margin: 0;
    line-height: 1.2;
}

/* Description — matches hww-journey-desc / about section descs */
.ind-showcase-desc {
    font-size: clamp(16px, 1.2vw, 18px);
    line-height: var(--text-desc-line-height, 1.65);
    font-weight: var(--text-desc-weight, 400);
    letter-spacing: var(--text-desc-spacing, 0);
    color: var(--text-desc-color, rgba(33, 34, 47, 0.75));
    margin: 0;
}

/* List */
.ind-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
}

.ind-list li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid var(--color-border-light);
    /* Text sizing matches other pages' list items */
    font-size: clamp(14px, 1vw, 16px);
    font-weight: var(--text-title-weight, 500);
    color: var(--color-dark);
    transition: color 0.2s ease;
    cursor: default;
}

.ind-list li:first-child {
    border-top: 1px solid var(--color-border-light);
}

.ind-list li:hover {
    color: var(--color-peach);
}

.ind-list li svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    color: var(--color-subtle);
    transition: transform 0.2s ease, color 0.2s ease;
}

.ind-list li:hover svg {
    transform: translateX(4px);
    color: var(--color-peach);
}

/* ══════════════════════════════════════════
   TECHNOLOGY THEME  (dark navy)
   Only color overrides — no size changes
══════════════════════════════════════════ */
.ind-panel--tech .ind-panel-content {
    background-color: #111A24;
}

.ind-panel--tech .ind-showcase-title {
    color: #F5F7FA;
}

.ind-panel--tech .ind-showcase-desc {
    color: #B8C2CC;
}

.ind-panel--tech .ind-showcase-num {
    color: rgba(255, 255, 255, 0.3);
}

.ind-panel--tech .ind-showcase-meta-eyebrow {
    color: #AAB8C5;
}

.ind-panel--tech .ind-list li {
    color: #F5F7FA;
    border-color: rgba(255, 255, 255, 0.14);
}

.ind-panel--tech .ind-list li svg {
    color: #C5D0D9;
}

.ind-panel--tech .ind-list li:hover {
    color: #C5D0D9;
}

/* ══════════════════════════════════════════
   HEALTHCARE THEME  (light sage)
   Only color overrides — no size changes
══════════════════════════════════════════ */
.ind-panel--health .ind-panel-content {
    background-color: #DFECE7;
}

.ind-panel--health .ind-showcase-title {
    color: #122520;
}

.ind-panel--health .ind-showcase-desc {
    color: #58706A;
}

.ind-panel--health .ind-showcase-num {
    color: rgba(18, 37, 32, 0.3);
}

.ind-panel--health .ind-showcase-meta-eyebrow {
    color: #55716A;
}

.ind-panel--health .ind-list li {
    color: #122520;
    border-color: rgba(18, 37, 32, 0.14);
}

.ind-panel--health .ind-list li svg {
    color: #526F68;
}

.ind-panel--health .ind-list li:hover {
    color: #526F68;
}

/* ══════════════════════════════════════════
   MOBILE — stacked panels, no pin
══════════════════════════════════════════ */
@media (max-width: 991px) {

    .ind-hero {
        min-height: auto;
        padding: 130px 24px 64px;
    }

    /* On mobile: override the absolute positioning so panels flow normally */
    .ind-cinematic {
        height: auto !important;
        position: relative;
    }

    .ind-cinematic-bg {
        display: none;
    }

    .ind-panel {
        position: relative;
        inset: unset;
        width: 100%;
        height: auto;
        flex-direction: column;
        opacity: 1 !important;
        visibility: visible !important;
    }

    /* Healthcare on mobile: image first, then content (same as tech) */
    .ind-panel--health {
        flex-direction: column;
    }

    .ind-panel-image {
        flex: none;
        width: calc(100% - 32px);
        /* 16px margin each side */
        margin: 20px 16px;
        height: 240px;
        border-radius: 24px;
        /* matches About page video container */
        overflow: hidden;
    }

    .ind-panel-content {
        flex: none;
        width: 100%;
        height: auto;
        padding: 28px 24px 40px;
        overflow: visible;
    }

    /* Apply theme background to the whole panel on mobile */
    .ind-panel--tech {
        background-color: #111A24;
    }

    .ind-panel--health {
        background-color: #DFECE7;
    }

    /* Ensure list items are always visible on mobile */
    .ind-panel--tech .ind-list li {
        color: #F5F7FA;
        border-color: rgba(255, 255, 255, 0.14);
    }

    .ind-panel--tech .ind-list li svg {
        color: #C5D0D9;
    }

    .ind-panel--health .ind-list li {
        color: #122520;
        border-color: rgba(18, 37, 32, 0.14);
    }

    .ind-panel--health .ind-list li svg {
        color: #526F68;
    }
}