/* ========================================
   COMPONENT: Industries Pages
   ======================================== */

/* Industry Hero Section */
.industry-hero {
    display: block;
    min-height: 520px;
    background: none;
    color: #ffffff;
    text-align: left;
    position: relative;
    overflow: hidden;
    margin-top: 13px;
}

.industry-hero::before {
    display: none;
}

.industry-hero-panel {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 11%;
    display: flex;
    align-items: center;
    width: min(36%, 520px);
    background: #0c4f5d;
    z-index: 2;
}

.industry-hero-content {
    max-width: 620px;
    margin: 0;
    padding: 56px 44px;
    position: relative;
    z-index: 1;
}

.industry-hero-title {
    font-size: clamp(2.5rem, 4.8vw, 5rem);
    font-weight: 800;
    margin-bottom: 36px;
    letter-spacing: -0.05em;
    line-height: 0.98;
}

.industry-hero-description {
    max-width: 28ch;
    font-size: clamp(1rem, 1.3vw, 1.25rem);
    line-height: 1.45;
    margin-bottom: 0;
    opacity: 1;
    font-weight: 600;
}

.industry-hero-media {
    position: relative;
    min-height: 520px;
    background-image:
        linear-gradient(135deg, rgba(9, 36, 73, 0.18), rgba(15, 44, 70, 0.12)),
        url("../../images/industries/ant-rozetsky-SLIFI67jv5k-unsplash.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.industry-hero-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(12, 79, 93, 0.18) 0%, rgba(12, 79, 93, 0.04) 16%, transparent 30%),
        linear-gradient(180deg, rgba(8, 23, 47, 0.12) 0%, rgba(8, 23, 47, 0.2) 100%);
}

.industry-hero--mines {
    min-height: 460px;
}

.industry-hero--mines .industry-hero-media {
    min-height: 460px;
    background-image:
        linear-gradient(135deg, rgba(9, 36, 73, 0.18), rgba(15, 44, 70, 0.12)),
        url("/static/assets/images/industries/ant-rozetsky-SLIFI67jv5k-unsplash.jpg");
    background-position: center center;
}

.industry-hero--highway .industry-hero-media {
    background-image:
        linear-gradient(135deg, rgba(9, 36, 73, 0.18), rgba(15, 44, 70, 0.12)),
        url("/static/assets/images/industries/highway-infrastructure.jpg");
    background-position: center center;
}

.industry-hero--airport .industry-hero-media {
    background-image:
        linear-gradient(135deg, rgba(9, 36, 73, 0.18), rgba(15, 44, 70, 0.12)),
        url("/static/assets/images/industries/airport_transportation-hubs.jpg");
    background-position: center center;
}

.industry-hero--smart-cities .industry-hero-media {
    background-image:
        linear-gradient(135deg, rgba(9, 36, 73, 0.18), rgba(15, 44, 70, 0.12)),
        url("/static/assets/industries/smart-cities-2.jpg");
    background-position: center center;
}

.industry-hero--travel .industry-hero-media {
    background-image:
        linear-gradient(135deg, rgba(9, 36, 73, 0.18), rgba(15, 44, 70, 0.12)),
        url("/static/assets/industries/travel-and-hospitality-2.jpg");
    background-position: center center;
}

.industry-hero--construction .industry-hero-media {
    background-image:
        linear-gradient(135deg, rgba(9, 36, 73, 0.18), rgba(15, 44, 70, 0.12)),
        url("/static/assets/industries/construction-and-engineering-2.jpg");
    background-position: center 25%;
}

.industry-hero--airport~.industry-energy-story .industry-energy-story-image {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(14, 34, 66, 0.12)),
        url("/static/assets/industries/airport-and-transportation-hubs-2.jpg") center center / cover no-repeat;
}

.industry-hero--smart-cities~.industry-energy-story .industry-energy-story-image {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(14, 34, 66, 0.12)),
        url("/static/assets/industries/motion-speed-effect-with-city-night.jpg") center center / cover no-repeat;
}

.industry-hero--travel~.industry-energy-story .industry-energy-story-image {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(14, 34, 66, 0.12)),
        url("/static/assets/industries/travel-and-hospitality-3.jpg") center center / cover no-repeat;
}

.industry-hero--construction~.industry-energy-story .industry-energy-story-image {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(14, 34, 66, 0.12)),
        url("/static/assets/industries/construction-and-engineering-3.jpg") center center / cover no-repeat;
}

.industry-hero--oil-and-gas .industry-hero-media {
    background-image:
        linear-gradient(135deg, rgba(9, 36, 73, 0.18), rgba(15, 44, 70, 0.12)),
        url("/static/assets/industries/patrick-hendry-6xeDIZgoPaw-unsplash.jpg");
    background-position: center center;
}

.industry-hero--healthcare .industry-hero-media {
    background-image:
        linear-gradient(135deg, rgba(9, 36, 73, 0.18), rgba(15, 44, 70, 0.12)),
        url("/static/assets/industries/healthcare.jpg");
    background-position: center center;
}

.industry-intro {
    padding: 48px 24px 72px;
    background: #ffffff;
    border-bottom: 1px solid rgba(12, 79, 93, 0.12);
}

.industry-intro-container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 48px;
}

.industry-breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-bottom: 42px;
    font-size: 13px;
    font-weight: 600;
    color: #7f8990;
}

.industry-breadcrumbs a {
    color: #0c4f5d;
    text-decoration: none;
}

.industry-breadcrumbs a:hover {
    text-decoration: underline;
}

.industry-breadcrumbs-separator {
    color: #98a1a8;
    font-weight: 700;
}

.industry-breadcrumb-current {
    color: #000000;
    font-weight: 500;
}

.industry-intro-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(360px, 0.9fr);
    gap: 64px;
    align-items: start;
}

.industry-intro-heading {
    margin: 0;
    font-size: clamp(2.35rem, 3.6vw, 4rem);
    line-height: 1.12;
    letter-spacing: -0.04em;
    font-weight: 800;
    color: #000000;
    max-width: 25ch;
}

.industry-intro-text {
    margin: 0;
    max-width: 40ch;
    font-size: clamp(0.98rem, 1.15vw, 1.18rem);
    line-height: 1.6;
    letter-spacing: -0.01em;
    color: #000000;
}

.industry-energy-story {
    padding: 24px 24px 80px;
    background: #ffffff;
}

.industry-energy-story-container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 48px;
}

.industry-energy-story-copy {
    max-width: 1680px;
    margin-bottom: 48px;
}

.industry-energy-story-copy p {
    margin: 0 0 26px;
    font-size: clamp(1rem, 1.2vw, 1.18rem);
    line-height: 1.52;
    letter-spacing: -0.01em;
    color: #000000;
}

.industry-energy-story-copy p:last-child {
    margin-bottom: 0;
}

.industry-energy-story-feature {
    position: relative;
    min-height: 760px;
}

.industry-energy-story-blue {
    position: absolute;
    z-index: 2;
    background: rgba(12, 79, 93, 0.88);
}

.industry-energy-story-blue--left {
    inset: 84px auto 0 0;
    width: 36%;
}

.industry-energy-story-blue--right {
    top: 84px;
    right: 0;
    width: 30%;
    height: calc(100% - 84px);
}

.industry-energy-story-image {
    position: absolute;
    top: 84px;
    left: 0;
    width: 100%;
    height: calc(100% - 84px);
    z-index: 1;
    overflow: hidden;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(14, 34, 66, 0.12)),
        url("../../images/industries/Petroleum-plant-Keihin-Industrial-Zone-Japan.webp") center center / cover no-repeat;
}

.industry-energy-story-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.industry-energy-story-card {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 38%;
    z-index: 3;
    padding: 52px 44px;
    background: #ffffff;
    box-shadow: 0 18px 40px rgba(12, 30, 57, 0.08);
    overflow: hidden;
}

.industry-energy-story-card h3 {
    margin: 0 0 26px;
    font-size: clamp(1.55rem, 2.1vw, 2.45rem);
    line-height: 1.16;
    letter-spacing: -0.04em;
    font-weight: 500;
    color: #000000;
}

.industry-energy-story-card p {
    margin: 0 0 28px;
    font-size: clamp(0.96rem, 1.1vw, 1.18rem);
    line-height: 1.5;
    color: #000000;
}

.industry-energy-story-button {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    max-width: 100%;
    padding: 14px 24px;
    border-radius: 999px;
    background: #0c4f5d;
    color: #ffffff;
    text-decoration: none;
    font-size: 0.98rem;
    font-weight: 700;
    white-space: nowrap;
}

.industry-metering {
    padding: 56px 24px 84px;
    background: #ffffff;
}

.industry-metering-container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 48px;
    display: grid;
    grid-template-columns: minmax(0, 3fr) minmax(320px, 2fr);
    gap: clamp(24px, 4vw, 56px);
    align-items: center;
}

.industry-metering-media {
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 20px 48px rgba(6, 29, 56, 0.16);
    background: #edf3f7;
}

.industry-metering-media img {
    display: block;
    width: 100%;
    height: auto;
}

.industry-metering-copy h2 {
    margin: 0 0 20px;
    font-size: clamp(1.75rem, 2.2vw, 2.8rem);
    line-height: 1.15;
    letter-spacing: -0.03em;
    color: #000000;
}

.industry-metering-copy p {
    margin: 0 0 18px;
    font-size: clamp(0.98rem, 1.06vw, 1.1rem);
    line-height: 1.68;
    color: #000000;
}

.industry-metering-copy p:last-child {
    margin-bottom: 0;
}

/* Industry Overview Section */
.industry-overview {
    padding: 80px 24px;
    background: var(--bg-primary);
}

.industry-section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 60px;
    color: var(--text-primary);
    letter-spacing: -0.01em;
}

/* Industry Grid */
.industry-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.industry-card {
    padding: 40px;
    background: var(--bg-secondary);
    border-radius: 12px;
    border: 1px solid var(--border-color-light);
    transition: all 0.3s ease;
    text-align: center;
}

.industry-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary-color);
    box-shadow: 0 12px 32px rgba(26, 142, 160, 0.15);
}

.industry-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.industry-card p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Solutions Section */
.industry-solutions {
    padding: 80px 24px;
    background: var(--bg-primary);
}

.solutions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.solution-item {
    padding: 40px;
    background: linear-gradient(135deg, rgba(26, 142, 160, 0.05) 0%, rgba(8, 47, 56, 0.05) 100%);
    border-radius: 12px;
    border: 1px solid var(--primary-color);
    border-opacity: 0.2;
    transition: all 0.3s ease;
}

.solution-item:hover {
    background: linear-gradient(135deg, rgba(26, 142, 160, 0.1) 0%, rgba(8, 47, 56, 0.1) 100%);
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(26, 142, 160, 0.2);
}

.solution-item h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 12px;
}

.solution-item p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.industry-insight {
    padding: 72px 24px 84px;
    background: #ffffff;
    border-top: 1px solid rgba(12, 79, 93, 0.1);
}

.industry-insight-container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 48px;
}

.industry-insight-heading {
    margin: 0 0 52px;
    font-size: clamp(1.65rem, 2.7vw, 2.7rem);
    line-height: 1.12;
    letter-spacing: -0.03em;
    font-weight: 800;
    color: #000000;
}

.industry-insight-tabs {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: end;
    gap: 20px;
    margin-bottom: 28px;
    padding-bottom: 14px;
    border-bottom: 1px solid #dde4ea;
}

.industry-insight-arrow {
    border: 0;
    background: transparent;
    color: #2f60e4;
    font-size: 1.35rem;
    line-height: 1;
    padding: 0;
    cursor: pointer;
}

.industry-insight-tab-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.industry-insight-tab {
    appearance: none;
    border: 0;
    background: transparent;
    text-align: left;
    cursor: pointer;
    padding-bottom: 10px;
    font-size: clamp(0.84rem, 1.05vw, 0.98rem);
    line-height: 1.35;
    font-weight: 500;
    color: #19324e;
}

.industry-insight-tab.is-active {
    border-bottom: 4px solid #17304d;
}

.industry-insight-tab.is-hidden {
    display: none;
}

.industry-insight-tab:focus-visible {
    outline: 2px solid #2f60e4;
    outline-offset: 4px;
}

.industry-insight-arrow:disabled {
    opacity: 0.35;
    cursor: not-allowed;
}

.industry-insight-grid {
    display: grid;
    grid-template-columns: minmax(260px, 320px) minmax(0, 1fr);
    gap: 52px;
    align-items: start;
}

.industry-insight-profile {
    text-align: center;
}

.industry-insight-avatar {
    width: 180px;
    height: 180px;
    margin: 0 auto 22px;
    border-radius: 50%;
    background: linear-gradient(145deg, #eef3f8 0%, #dde4ec 100%);
    display: grid;
    place-items: center;
    box-shadow: inset 0 0 0 1px rgba(23, 48, 77, 0.08);
}

.industry-insight-avatar span {
    font-size: 2.8rem;
    font-weight: 800;
    color: #0c4f5d;
    letter-spacing: -0.06em;
}

.industry-insight-name {
    margin: 0 0 10px;
    font-size: 0.88rem;
    line-height: 1.3;
    font-weight: 700;
    color: #2f60e4;
}

.industry-insight-role {
    margin: 0;
    font-size: 0.84rem;
    line-height: 1.45;
    color: #000000;
}

.industry-insight-socials {
    display: flex;
    justify-content: center;
    gap: 18px;
    margin-top: 18px;
}

.industry-insight-social {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid #d3def0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #2f60e4;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 700;
}

.industry-insight-panels {
    width: 100%;
}

.industry-insight-panel {
    display: none;
}

.industry-insight-panel.is-active {
    display: block;
}

.industry-insight-body p {
    margin: 0 0 20px;
    font-size: clamp(0.92rem, 1.1vw, 1.02rem);
    line-height: 1.65;
    letter-spacing: -0.015em;
    color: #000000;
}

.industry-insight-body p:last-child {
    margin-bottom: 0;
}

/* Footer Actions */
.footer-actions {
    padding: 60px 24px;
    background: var(--bg-secondary);
}

.footer-actions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-action-item h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.footer-action-item p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 16px;
    line-height: 1.5;
}

.footer-action-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-color);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.footer-action-link:hover {
    gap: 12px;
    color: #1a8ea0;
}

.footer-action-link svg {
    transition: transform 0.3s ease;
}

.footer-action-link:hover svg {
    transform: translateX(4px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .industry-hero {
        display: grid;
        min-height: auto;
        margin-top: 80px;
    }

    .industry-hero-panel {
        position: static;
        top: auto;
        bottom: auto;
        left: auto;
        width: auto;
        min-height: auto;
        background: #0c4f5d;
    }

    .industry-hero-content {
        padding: 40px 24px;
    }

    .industry-hero-title {
        font-size: 2.8rem;
        margin-bottom: 24px;
    }

    .industry-hero-description {
        font-size: 1rem;
        max-width: none;
    }

    .industry-section-title {
        font-size: 2rem;
        margin-bottom: 40px;
    }

    .industry-overview,
    .industry-solutions {
        padding: 60px 20px;
    }

    .industry-grid,
    .solutions-grid {
        gap: 20px;
    }

    .industry-card,
    .solution-item {
        padding: 30px;
    }

    .industry-hero-media {
        min-height: 260px;
    }

    .industry-intro {
        padding: 36px 20px 56px;
    }

    .industry-intro-container {
        padding: 0;
    }

    .industry-breadcrumbs {
        margin-bottom: 28px;
    }

    .industry-intro-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .industry-intro-heading,
    .industry-intro-text {
        max-width: none;
    }

    .industry-energy-story {
        padding: 20px 20px 60px;
    }

    .industry-energy-story-container {
        padding: 0;
    }

    .industry-energy-story-copy {
        margin-bottom: 32px;
    }

    .industry-energy-story-copy p {
        font-size: 1rem;
        line-height: 1.75;
    }

    .industry-energy-story-feature {
        min-height: auto;
        display: grid;
        gap: 0;
    }

    .industry-energy-story-blue--left,
    .industry-energy-story-blue--right,
    .industry-energy-story-image,
    .industry-energy-story-card {
        position: relative;
        top: auto;
        right: auto;
        left: auto;
        width: auto;
        height: auto;
    }

    .industry-energy-story-blue--left {
        min-height: 160px;
    }

    .industry-energy-story-image {
        min-height: 320px;
    }

    .industry-energy-story-blue--right {
        min-height: 120px;
    }

    .industry-energy-story-card {
        padding: 36px 28px;
        box-shadow: none;
    }

    .industry-energy-story-card h3 {
        font-size: 2rem;
    }

    .industry-energy-story-card p {
        font-size: 1rem;
        margin-bottom: 28px;
    }

    .industry-insight {
        padding: 56px 20px 64px;
    }

    .industry-metering {
        padding: 34px 20px 60px;
    }

    .industry-metering-container {
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 0;
    }

    .industry-metering-copy h2 {
        font-size: 2rem;
    }

    .industry-metering-copy p {
        font-size: 1rem;
        line-height: 1.7;
    }

    .industry-insight-container {
        padding: 0;
    }

    .industry-insight-heading {
        margin-bottom: 24px;
    }

    .industry-insight-tabs {
        grid-template-columns: 1fr;
        gap: 18px;
        padding-bottom: 16px;
    }

    .industry-insight-arrow {
        display: none;
    }

    .industry-insight-tab-list {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .industry-insight-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .industry-insight-avatar {
        width: 150px;
        height: 150px;
        margin-bottom: 20px;
    }

    .industry-insight-avatar span {
        font-size: 2.35rem;
    }

    .industry-insight-body p {
        font-size: 0.95rem;
        line-height: 1.7;
        margin-bottom: 18px;
    }

    .footer-actions {
        padding: 40px 20px;
    }
}

@media (max-width: 480px) {
    .industry-hero {
        margin-top: 60px;
    }

    .industry-hero-content {
        padding: 32px 18px;
    }

    .industry-hero-title {
        font-size: 2.15rem;
    }

    .industry-hero-description {
        font-size: 0.9rem;
    }

    .industry-hero-media {
        min-height: 220px;
    }

    .industry-intro {
        padding: 28px 16px 44px;
    }

    .industry-breadcrumbs {
        gap: 8px;
        margin-bottom: 24px;
        font-size: 12px;
    }

    .industry-intro-heading {
        font-size: 2.35rem;
        line-height: 1.08;
    }

    .industry-intro-text {
        font-size: 1.05rem;
        line-height: 1.65;
    }

    .industry-energy-story {
        padding: 16px 16px 44px;
    }

    .industry-energy-story-copy p {
        font-size: 0.95rem;
    }

    .industry-energy-story-card {
        padding: 28px 22px;
    }

    .industry-energy-story-card h3 {
        font-size: 1.65rem;
    }

    .industry-energy-story-button {
        width: 100%;
        justify-content: center;
        padding: 16px 22px;
    }

    .industry-insight {
        padding: 44px 16px 52px;
    }

    .industry-insight-heading {
        font-size: 1.7rem;
    }

    .industry-insight-tab {
        font-size: 0.88rem;
        padding-bottom: 8px;
    }

    .industry-insight-social {
        width: 38px;
        height: 38px;
    }

    .industry-section-title {
        font-size: 1.5rem;
    }

    .industry-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .solutions-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .industry-card,
    .solution-item {
        padding: 20px;
    }

    .industry-card h3,
    .solution-item h3 {
        font-size: 1.1rem;
    }
}

/* Dark Mode Adjustments */
html[data-theme="dark"] .industry-card {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
}

html[data-theme="dark"] .industry-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 12px 32px rgba(26, 142, 160, 0.25);
}

html[data-theme="dark"] .solution-item {
    background: linear-gradient(135deg, rgba(26, 142, 160, 0.1) 0%, rgba(8, 47, 56, 0.1) 100%);
    border-color: rgba(26, 142, 160, 0.3);
}

html[data-theme="dark"] .solution-item:hover {
    background: linear-gradient(135deg, rgba(26, 142, 160, 0.15) 0%, rgba(8, 47, 56, 0.15) 100%);
    box-shadow: 0 8px 24px rgba(26, 142, 160, 0.3);
}

html[data-theme="dark"] .footer-actions {
    background: rgba(255, 255, 255, 0.02);
}