/***
=============================================
    Industries page
    (base section, breadcrumb overlay and CTA styles come from 15-capabilities-page.css)
=============================================
***/

/* ---- Intro + figures ---- */
.dgs-ind-intro__lead {
    margin: 0;
    padding-left: 22px;
    border-left: 3px solid var(--thm-base);
    color: var(--thm-black);
    font-size: 20px;
    line-height: 1.65;
    font-weight: 600;
}

.dgs-ind-intro__text {
    margin: 22px 0 0;
    color: var(--thm-gray);
    font-size: 16px;
    line-height: 1.8;
}

.dgs-ind-figures {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.dgs-ind-figure {
    padding: 28px 22px;
    background: #ffffff;
    border: 1px solid rgba(23, 51, 74, 0.08);
    border-radius: 14px;
    text-align: center;
    box-shadow: 0 18px 40px -30px rgba(23, 51, 74, 0.45);
}

.dgs-ind-figure strong {
    display: block;
    color: var(--thm-base);
    font-size: 40px;
    line-height: 1.1;
    font-weight: 800;
}

.dgs-ind-figure span {
    display: block;
    margin-top: 8px;
    color: var(--thm-black);
    font-size: 15px;
    line-height: 1.4;
    font-weight: 600;
}

/* ---- Quick jump ---- */
.dgs-ind-jump {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.dgs-ind-jump a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px 10px 10px;
    background: #ffffff;
    border: 1px solid rgba(23, 51, 74, 0.12);
    border-radius: 40px;
    color: var(--thm-black);
    font-size: 15px;
    font-weight: 600;
    transition: all 250ms ease;
}

.dgs-ind-jump a span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(var(--thm-base-rgb), 0.14);
    color: var(--thm-base);
    font-size: 12px;
    font-weight: 800;
    transition: all 250ms ease;
}

.dgs-ind-jump a:hover {
    background: var(--thm-black);
    border-color: var(--thm-black);
    color: #ffffff;
}

.dgs-ind-jump a:hover span {
    background: var(--thm-base);
    color: #ffffff;
}

/* ---- Industry rows ---- */
.dgs-ind-list {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.dgs-ind-row {
    display: grid;
    grid-template-columns: 5fr 7fr;
    background: #ffffff;
    border: 1px solid rgba(23, 51, 74, 0.08);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 30px 60px -45px rgba(23, 51, 74, 0.55);
    scroll-margin-top: 130px;
}

.dgs-ind-row.is-reverse {
    grid-template-columns: 7fr 5fr;
}

.dgs-ind-row.is-reverse .dgs-ind-row__media {
    order: 2;
}

.dgs-ind-row__media {
    position: relative;
    min-height: 420px;
    overflow: hidden;
}

.dgs-ind-row__media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 800ms ease;
}

.dgs-ind-row:hover .dgs-ind-row__media img {
    transform: scale(1.05);
}

.dgs-ind-row__num {
    position: absolute;
    top: 22px;
    left: 22px;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 62px;
    height: 62px;
    border-radius: 14px;
    background: var(--thm-base);
    color: #ffffff;
    font-size: 22px;
    font-weight: 800;
    box-shadow: 0 12px 25px -10px rgba(0, 0, 0, 0.45);
}

.dgs-ind-row__body {
    padding: 48px 50px;
}

.dgs-ind-row__label {
    display: block;
    margin-bottom: 8px;
    color: var(--thm-base);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.dgs-ind-row__body h3 {
    margin: 0 0 14px;
    color: var(--thm-black);
    font-size: 32px;
    line-height: 1.2;
    font-weight: 700;
}

.dgs-ind-row__desc {
    margin: 0 0 26px;
    color: var(--thm-gray);
    font-size: 16px;
    line-height: 1.75;
}

.dgs-ind-row__cols {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 30px;
    padding-top: 26px;
    border-top: 1px solid rgba(23, 51, 74, 0.1);
}

.dgs-ind-row__cols h4 {
    margin: 0 0 14px;
    color: var(--thm-black);
    font-size: 16px;
    font-weight: 700;
}

.dgs-ind-row__support {
    margin: 0;
    padding: 0;
    list-style: none;
}

.dgs-ind-row__support li {
    position: relative;
    padding-left: 28px;
    color: var(--thm-black);
    font-size: 15px;
    line-height: 1.5;
}

.dgs-ind-row__support li + li {
    margin-top: 10px;
}

.dgs-ind-row__support li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 2px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--thm-base) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 11px no-repeat;
}

.dgs-ind-row__links {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
}

.dgs-ind-row__links a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 8px;
    background: #f3f5f8;
    color: var(--thm-black);
    font-size: 14px;
    font-weight: 600;
    line-height: 1.3;
    transition: all 200ms ease;
}

.dgs-ind-row__links a::after {
    content: "\2192";
    color: var(--thm-base);
    transition: transform 200ms ease, color 200ms ease;
}

.dgs-ind-row__links a:hover {
    background: var(--thm-black);
    color: #ffffff;
}

.dgs-ind-row__links a:hover::after {
    color: #ffffff;
    transform: translateX(3px);
}

/* ---- Responsive ---- */
@media only screen and (max-width: 1199px) {
    .dgs-ind-row__body {
        padding: 40px 36px;
    }

    .dgs-ind-row__cols {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .dgs-ind-row__links {
        flex-direction: row;
        flex-wrap: wrap;
    }
}

@media only screen and (max-width: 991px) {
    .dgs-ind-figures {
        margin-top: 40px;
    }

    .dgs-ind-row,
    .dgs-ind-row.is-reverse {
        grid-template-columns: 1fr;
    }

    .dgs-ind-row.is-reverse .dgs-ind-row__media {
        order: 0;
    }

    .dgs-ind-row__media {
        min-height: 300px;
    }

    .dgs-ind-row__body h3 {
        font-size: 28px;
    }
}

@media only screen and (max-width: 575px) {
    .dgs-ind-figures {
        grid-template-columns: 1fr;
    }

    .dgs-ind-row__body {
        padding: 30px 22px;
    }

    .dgs-ind-row__media {
        min-height: 240px;
    }

    .dgs-ind-row__body h3 {
        font-size: 24px;
    }

    .dgs-ind-list {
        gap: 28px;
    }
}
