/* ============================================================
   INDUSTRY PAGES (pages/industries.php hub, pages/industry.php via parts/industry-detail.php),
   drafts 31.10.2026. Loaded on top of service-detail.css: the beige "for whom", ink "includes",
   steps, pricing and FAQ blocks are its sd-* sections. Here: the white hero with a fact strip
   (same look as the team page), the owner's report mock, tax cards and the hub cards.
   ============================================================ */

/* ── Hero (white) ── */
.ind-hero {
    padding: clamp(3rem, 6vw, 5rem) 0 clamp(2.5rem, 4vw, 3.5rem);
    background: var(--color-white);
}

.ind-hero .sd-label {
    margin-bottom: 1.25rem;
}

.ind-hero__title {
    max-width: 52rem;
    margin: 0 0 1rem;
    font-family: var(--font-heading);
    font-size: clamp(2.1rem, 4.6vw, 3.25rem);
    font-weight: 600;
    line-height: 1.15;
    color: var(--color-text-primary);
}

.ind-hero__lead {
    max-width: 44rem;
    margin: 0;
    font-family: var(--font-heading);
    font-size: 1.125rem;
    line-height: 1.65;
    color: var(--color-text-muted);
}

.ind-hero__btns {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 2rem;
}

.ind-hero__btns .btn-primary {
    text-decoration: none;
}

.ind-hero__stats {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem 2rem;
    margin: 2.5rem 0 0;
    padding: 1.75rem 0 0;
    list-style: none;
    border-top: 1px solid rgba(30, 41, 59, 0.12);
}

.ind-hero__stats li {
    display: grid;
    gap: 0.3rem;
    flex: 1 1 10rem;
    min-width: 0;
}

.ind-hero__stat-num {
    font-family: var(--font-card-title);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-card-heading);
}

.ind-hero__stat-lbl {
    font-family: var(--font-heading);
    font-size: 0.72rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--color-text-muted);
}

/* ── Owner's report (white section, framed panel) ── */
.ind-dash {
    padding: clamp(3rem, 6vw, 4.5rem) 0;
    background: var(--color-white);
}

.ind-dash__header {
    max-width: 44rem;
    margin-bottom: 2rem;
}

.ind-dash__heading,
.ind-rules__heading {
    margin: 1rem 0 0.75rem;
    font-family: var(--font-heading);
    font-size: clamp(1.75rem, 3.4vw, 2.5rem);
    font-weight: 600;
    line-height: 1.2;
    color: var(--color-text-primary);
}

.ind-dash__sub {
    margin: 0;
    font-family: var(--font-heading);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--color-text-muted);
}

.ind-dash__panel {
    overflow: hidden;
    background: var(--color-white);
    border: 1px solid rgba(30, 41, 59, 0.12);
    border-radius: 5px;
    box-shadow: 0 0.75rem 2.5rem rgba(30, 41, 59, 0.08);
}

.ind-dash__bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.85rem 1.25rem;
    border-bottom: 1px solid rgba(30, 41, 59, 0.1);
    background: var(--color-text-primary);
}

.ind-dash__window {
    font-family: var(--font-heading);
    font-size: 0.875rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.85);
}

.ind-dash__chip {
    flex-shrink: 0;
    padding: 0.2rem 0.65rem;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 100px;
    font-family: var(--font-heading);
    font-size: 0.68rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.8);
}

.ind-dash__tiles {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.75rem;
    padding: 1.25rem;
}

.ind-dash__tile {
    display: grid;
    gap: 0.35rem;
    align-content: start;
    padding: 1.1rem 1.15rem;
    background: var(--color-bg);
    border-radius: 5px;
}

.ind-dash__tile-label {
    font-family: var(--font-heading);
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-text-muted);
}

.ind-dash__tile-value {
    font-family: var(--font-card-title);
    font-size: clamp(1.25rem, 2.2vw, 1.6rem);
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    color: var(--color-card-heading);
}

.ind-dash__tile-note {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    line-height: 1.4;
    color: var(--color-text-muted);
}

.ind-dash__table-wrap {
    overflow-x: auto;
    padding: 0 1.25rem 1.25rem;
}

.ind-dash__table {
    width: 100%;
    min-width: 38rem;
    border-collapse: collapse;
    font-family: var(--font-heading);
    font-size: 0.92rem;
    color: var(--color-text-primary);
}

.ind-dash__table caption {
    padding: 0.5rem 0 0.75rem;
    text-align: left;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--color-text-primary);
}

.ind-dash__table th,
.ind-dash__table td {
    padding: 0.7rem 0.75rem;
    text-align: left;
    border-bottom: 1px solid rgba(30, 41, 59, 0.08);
    white-space: nowrap;
}

.ind-dash__table thead th {
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-text-muted);
    border-bottom-color: rgba(30, 41, 59, 0.16);
}

.ind-dash__table tbody th {
    font-weight: 500;
}

.ind-dash__table tbody tr:last-child th,
.ind-dash__table tbody tr:last-child td {
    border-bottom: 0;
}

.ind-dash__table .is-num {
    text-align: right;
    font-variant-numeric: tabular-nums;
}

/* Status: the icon carries the colour, the label stays in text colour (never colour alone) */
.ind-status {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.ind-status svg {
    flex-shrink: 0;
    width: 1rem;
    height: 1rem;
}

.ind-status--ok svg   { color: #1f7a4d; }
.ind-status--warn svg { color: #b45309; }
.ind-status--bad svg  { color: #b42318; }
.ind-status--none svg { color: #94a3b8; }

/* ── Tax & rules (beige, white cards) ── */
.ind-rules {
    padding: clamp(3rem, 6vw, 4.5rem) 0;
    background: var(--color-bg);
}

.ind-rules__header {
    max-width: 44rem;
    margin-bottom: 2rem;
}

.ind-rules__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(17rem, 1fr));
    gap: 1rem;
}

.ind-rules__card {
    padding: 1.5rem;
    background: var(--color-white);
    border-radius: 5px;
    box-shadow: 0 0.25rem 1rem rgba(30, 41, 59, 0.05);
}

.ind-rules__title {
    margin: 0 0 0.6rem;
    font-family: var(--font-card-title);
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.35;
    color: var(--color-card-heading);
}

.ind-rules__desc {
    margin: 0;
    font-family: var(--font-heading);
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--color-text-primary);
}

.ind-rules__more {
    display: inline-block;
    margin-top: 1.75rem;
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 500;
    color: var(--color-text-primary);
}

/* ── How we start: white here (beige on service pages) ── */
.ind-steps.sd-steps {
    background: var(--color-white);
}

/* ── Hub cards (beige, white cards) ── */
.ind-hub {
    padding: clamp(2.75rem, 5vw, 4.5rem) 0 clamp(4rem, 7vw, 5.5rem);
    background: var(--color-bg);
}

.ind-hub__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(17rem, 1fr));
    gap: 1rem;
}

.ind-hub__card {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding: 1.75rem;
    background: var(--color-white);
    border-radius: 5px;
    box-shadow: 0 0.25rem 1rem rgba(30, 41, 59, 0.05);
    text-decoration: none;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.ind-hub__card:hover {
    box-shadow: 0 0.75rem 2rem rgba(30, 41, 59, 0.1);
    transform: translateY(-2px);
}

.ind-hub__card--other {
    background: transparent;
    border: 1px dashed rgba(30, 41, 59, 0.25);
    box-shadow: none;
}

.ind-hub__title {
    margin: 0;
    font-family: var(--font-card-title);
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--color-card-heading);
}

.ind-hub__desc {
    flex: 1;
    margin: 0;
    font-family: var(--font-heading);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--color-text-primary);
}

.ind-hub__more {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--color-text-primary);
}

/* ── «Services by industry» on /services/ (parts/industries-strip.php): white, between the
   beige services grid and the dark contact form ── */
.ind-strip {
    padding: clamp(3rem, 6vw, 4.5rem) 0;
    background: var(--color-white);
}

.ind-strip__header {
    max-width: 44rem;
    margin-bottom: 2rem;
}

.ind-strip__heading {
    margin: 1rem 0 0.75rem;
    font-family: var(--font-heading);
    font-size: clamp(1.75rem, 3.4vw, 2.5rem);
    font-weight: 600;
    line-height: 1.2;
    color: var(--color-text-primary);
}

.ind-strip__sub {
    margin: 0;
    font-family: var(--font-heading);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--color-text-muted);
}

.ind-strip__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(13.5rem, 1fr));
    gap: 0.75rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.ind-strip__link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    height: 100%;
    padding: 1.1rem 1.25rem;
    background: var(--color-bg);
    border-radius: 5px;
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 500;
    color: var(--color-text-primary);
    text-decoration: none;
    transition: background-color 0.2s ease;
}

.ind-strip__link:hover,
.ind-strip__link:focus-visible {
    background: #e4e9f0;
}

.ind-strip__arrow {
    flex-shrink: 0;
    color: var(--color-text-muted);
}

.ind-strip__all {
    display: inline-block;
    margin-top: 1.5rem;
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 500;
    color: var(--color-text-primary);
}

@media (max-width: 900px) {
    .ind-dash__tiles {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 480px) {
    .ind-dash__tiles {
        gap: 0.5rem;
        padding: 1rem;
    }

    .ind-dash__tile {
        padding: 0.9rem;
    }

    .ind-dash__table-wrap {
        padding: 0 1rem 1rem;
    }

    .ind-dash__window {
        font-size: 0.8rem;
    }
}
