/* ============================================================
   QuantumIT — Products Page Stylesheet
   Page-specific layout only. The page reuses shared patterns
   from general.css: .hero / .proof-bar / .section / .standalones
   / .standalone-card / .final-cta / .footer.
   Do not redefine typography or color tokens here.
   ============================================================ */

/* ============================================================
   HERO photo — shift content 20% to the right for this page
   ============================================================ */
.hero__photo img { transform: translateX(13%); }

/* ============================================================
   INDUSTRIES GRID — 6 cards. Same chrome as the other cards
   (top blue stripe, hairline border) but with an edge-to-edge
   industry photo at the top instead of an icon. They are not
   links, so nothing moves on hover (client, June): the photo
   only gains a little colour.
   ============================================================ */
.industries-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.industry-card {
    position: relative;
    background: white;
    border: 1px solid var(--gray-200);
    padding: 0 0 28px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}
.industry-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: var(--blue);
    z-index: 2;
}

.industry-card__photo {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 2;
    overflow: hidden;
    background: var(--gray-50);
    margin-bottom: 24px;
}
.industry-card__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 22%;
    display: block;
    filter: grayscale(0.15) contrast(1.05);
    transition: transform 0.3s var(--ease-out), filter var(--t-slow) var(--ease-out);
}
/* Higher-education (1st card) — heads are mid-frame, keep default center crop */
.industry-card:nth-child(1) .industry-card__photo img {
    object-position: center 50%;
}
.industry-card:hover .industry-card__photo img {
    filter: grayscale(0) contrast(1.06);
}
.industry-card__photo::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 78, 104, 0) 60%, rgba(0, 24, 32, 0.18) 100%);
    pointer-events: none;
    transition: opacity var(--t-slow) var(--ease-out);
}
.industry-card:hover .industry-card__photo::after { opacity: 0.5; }

.industry-card h3 {
    font-size: 18px;
    font-weight: var(--fw-bold);
    line-height: 1.3;
    letter-spacing: -0.01em;
    margin: 0 28px 10px;
}
.industry-card p {
    font-size: 13.5px;
    line-height: 1.6;
    margin: 0 28px;
}

/* ============================================================
   INPLACE SUITE — vertical tab column + content panel
   ============================================================ */
.suite {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 16px;
    align-items: stretch;
}
.suite__tabs {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.suite__tab {
    position: relative;
    background: white;
    border: 1px solid var(--gray-200);
    padding: 22px 22px 22px 28px;
    display: flex;
    align-items: center;
    gap: 14px;
    cursor: pointer;
    text-align: left;
    transition:
        background var(--t-mid) var(--ease-out),
        border-color var(--t-mid) var(--ease-out),
        transform var(--t-mid) var(--ease-out);
    font-family: inherit;
}
.suite__tab::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: transparent;
    transition: background var(--t-mid) var(--ease-out);
}
.suite__tab:hover {
    border-color: var(--gray-300);
    background: var(--gray-50);
}
.suite__tab:hover::before { background: var(--blue-soft); }
.suite__tab.is-active {
    background: var(--blue-soft);
    border-color: var(--blue);
}
.suite__tab.is-active::before { background: var(--blue); }
.suite__tab-logo {
    width: 28px;
    height: 28px;
    object-fit: contain;
    flex-shrink: 0;
    transition: transform var(--t-slow) var(--ease-out);
}
.suite__tab:hover .suite__tab-logo,
.suite__tab.is-active .suite__tab-logo { transform: scale(1.06); }
.suite__tab-name {
    font-size: 14px;
    font-weight: var(--fw-bold);
    color: var(--navy);
    line-height: 1.3;
    letter-spacing: -0.005em;
}

.suite__panels {
    position: relative;
    background: white;
    border: 1px solid var(--gray-200);
    overflow: hidden;
}
.suite__panels::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: var(--blue);
    z-index: 1;
}
.suite__panel {
    display: none;
    padding: 56px 0 56px 56px;
    grid-template-columns: 1fr 1.25fr;
    gap: 32px;
    align-items: center;
    animation: suite-fade 0.45s var(--ease-out);
}
.suite__panel.is-active { display: grid; }
.suite__panel-content {
    display: flex;
    flex-direction: column;
    min-width: 0;
}
.suite__panel-content .eyebrow { align-self: flex-start; }
.suite__panel-features {
    list-style: none;
    margin: 22px 0 30px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.suite__panel-features li {
    position: relative;
    padding-left: 22px;
    font-size: 13.5px;
    line-height: 1.55;
    color: var(--gray-ink);
}
.suite__panel-features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 7px;
    width: 10px;
    height: 10px;
    background: var(--blue);
}
.suite__panel .btn { align-self: flex-start; }
.suite__panel-soon {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 18px;
    background: var(--gray-100);
    color: var(--gray);
    font-size: var(--fs-xs);
    font-weight: var(--fw-bold);
    letter-spacing: var(--ls-label);
    text-transform: uppercase;
    align-self: flex-start;
}
.suite__panel-soon::before {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--blue);
}

.suite__panel-visual {
    position: relative;
    display: flex;
    align-items: stretch;
    justify-content: center;
    min-height: 320px;
    overflow: hidden;
}
.suite__panel-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

@keyframes suite-fade {
    from { opacity: 0; transform: translateY(8px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1200px) {
    .industries-grid { grid-template-columns: repeat(3, 1fr); }
    .suite { grid-template-columns: 240px 1fr; }
}
@media (max-width: 1024px) {
    .industries-grid { grid-template-columns: repeat(2, 1fr); }
    .suite__panel { padding: 40px; gap: 32px; }
}
@media (max-width: 880px) {
    .suite {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    .suite__tabs {
        flex-direction: row;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        padding-bottom: 2px;
        -webkit-overflow-scrolling: touch;
    }
    .suite__tab {
        flex: 0 0 auto;
        min-width: 200px;
        padding: 18px 18px 18px 22px;
        scroll-snap-align: start;
    }
    .suite__panel.is-active {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .suite__panel-visual { min-height: 240px; }
}
@media (max-width: 600px) {
    .industries-grid { grid-template-columns: 1fr; }
    .industry-card { padding: 0 0 24px; }
    .industry-card h3 { margin: 0 24px 10px; }
    .industry-card p  { margin: 0 24px; }
    .suite__panel { padding: 28px; }
}

/* Five industries (G2377 WP 1.8b): above 1024 px six narrow tracks, each card spans two, and card 4
   starts at track 2, so the bottom row of two sits centred under the top three. 1024 px and below keep their own rules. */
@media (min-width: 1025px) {
    .industries-grid { grid-template-columns: repeat(6, 1fr); }
    .industries-grid > .industry-card { grid-column: span 2; }
    .industries-grid > .industry-card:nth-child(4) { grid-column: 2 / span 2; }
}
