/* ============================================
   /industries/ NICHE LANDING PAGES - shared styles
   Reuses :root vars from style.css (--primary-color, --text-color, etc.)
   Each page sets --ind-accent inline (style="--ind-accent:#hex") for per-page variety;
   falls back to --primary-color if not set.
   ============================================ */

.ind-wrap {
    --ind-accent: var(--primary-color);
}

/* ---------- HERO VARIANTS ---------- */

.ind-hero {
    padding: 4rem 1rem 3.5rem;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.ind-hero .breadcrumb { justify-content: center; margin-bottom: 1rem; color: rgba(255,255,255,.85); }
.ind-hero .breadcrumb a { color: #fff; }
.ind-hero .breadcrumb span { color: rgba(255,255,255,.6); }

.ind-hero-inner { max-width: 780px; margin: 0 auto; text-align: center; position: relative; z-index: 2; }

.ind-badge {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    background: rgba(255,255,255,.15);
    border: 1px solid rgba(255,255,255,.3);
    padding: .35rem .9rem;
    border-radius: 50px;
    font-size: .82rem;
    font-weight: 600;
    margin-bottom: 1.1rem;
}

.ind-hero h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 800; margin: 0 0 .9rem; line-height: 1.25; }
.ind-hero .ind-sub { font-size: clamp(1rem, 2vw, 1.15rem); opacity: .95; line-height: 1.6; max-width: 640px; margin: 0 auto; }

/* Variant A: solid gradient in the accent color */
.ind-hero.variant-a {
    background: linear-gradient(135deg, var(--ind-accent) 0%, var(--primary-dark) 65%, #1A1A2E 100%);
}

/* Variant B: photo background with dark overlay */
.ind-hero.variant-b { background: #1A1A2E; }
.ind-hero.variant-b .ind-hero-bg {
    position: absolute; inset: 0;
    background-size: cover; background-position: center;
    opacity: .38;
}
.ind-hero.variant-b::after {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(26,26,46,.55), rgba(26,26,46,.9));
}

/* Variant C: split layout, text left / image right */
.ind-hero.variant-c {
    background: linear-gradient(135deg, var(--ind-accent) 0%, var(--primary-dark) 100%);
    text-align: left;
    padding: 3.5rem 1rem;
}
.ind-hero.variant-c .ind-hero-split {
    max-width: 1100px; margin: 0 auto;
    display: grid; grid-template-columns: 1.2fr 1fr; gap: 2.5rem; align-items: center;
}
.ind-hero.variant-c .ind-hero-inner { text-align: left; margin: 0; max-width: none; }
.ind-hero.variant-c .ind-hero-split img {
    width: 100%; border-radius: var(--border-radius-lg); box-shadow: 0 10px 40px rgba(0,0,0,.3);
}
@media (max-width: 800px) {
    .ind-hero.variant-c .ind-hero-split { grid-template-columns: 1fr; }
    .ind-hero.variant-c .ind-hero-inner { text-align: center; }
}

/* ---------- CONTENT SECTIONS ---------- */

.ind-section { padding: 3rem 0; }
.ind-section.bg-light { background: var(--background-color); }

.ind-section h2 {
    font-size: clamp(1.4rem, 2.5vw, 1.85rem);
    font-weight: 700;
    color: var(--text-color);
    margin: 0 0 1.25rem;
}

.ind-section h3 { font-size: 1.15rem; font-weight: 700; color: var(--text-color); margin: 1.5rem 0 .6rem; }
.ind-section p { color: var(--text-light); line-height: 1.75; font-size: 1.02rem; margin: 0 0 1.1rem; }
.ind-section ul, .ind-section ol { margin: 0 0 1.1rem 1.4rem; color: var(--text-light); line-height: 1.7; }
.ind-section li { margin-bottom: .4rem; }
.ind-section li::marker { color: var(--ind-accent); }

.ind-content-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
    align-items: start;
}
@media (max-width: 800px) { .ind-content-grid { grid-template-columns: 1fr; } }
.ind-content-grid.reverse { direction: rtl; }
.ind-content-grid.reverse > * { direction: ltr; }

/* ---------- SPECIALIZATION CHIPS ---------- */

.ind-chips { display: flex; flex-wrap: wrap; gap: .6rem; margin: 1rem 0 1.5rem; }
.ind-chip {
    display: inline-block;
    padding: .5rem 1rem;
    background: rgba(10,147,150,.08);
    border: 1px solid rgba(10,147,150,.25);
    border-radius: 50px;
    font-size: .88rem;
    font-weight: 600;
    color: var(--text-color);
}

/* ---------- STATS / METRICS ---------- */

.ind-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 1.25rem;
    margin: 1.5rem 0 2rem;
}
.ind-stat {
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    padding: 1.25rem 1rem;
    text-align: center;
    box-shadow: var(--shadow);
}
.ind-stat-num { font-size: 1.8rem; font-weight: 800; color: var(--ind-accent); line-height: 1.1; }
.ind-stat-label { font-size: .82rem; color: var(--text-light); margin-top: .35rem; }

/* ---------- PROCESS STEPS (3 marker styles) ---------- */

.ind-steps { list-style: none; margin: 0; padding: 0; counter-reset: ind-step; }
.ind-steps li {
    counter-increment: ind-step;
    display: flex;
    gap: 1.1rem;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 0;
}
.ind-steps li:last-child { border-bottom: 0; }
.ind-steps li::marker { content: none; }
.ind-steps li::before {
    flex-shrink: 0;
    width: 2.25rem; height: 2.25rem;
    display: flex; align-items: center; justify-content: center;
    font-weight: 700; font-size: .95rem;
    color: #fff;
    background: var(--ind-accent);
}
.ind-steps.marker-circle li::before { content: counter(ind-step); border-radius: 50%; }
.ind-steps.marker-square li::before { content: counter(ind-step); border-radius: 8px; }
.ind-steps.marker-number li::before { content: counter(ind-step) "."; border-radius: 0; background: transparent; color: var(--ind-accent); font-size: 1.4rem; width: auto; }

.ind-step-body h3 { margin: 0 0 .3rem; font-size: 1.05rem; }
.ind-step-body p { margin: 0; }

/* ---------- FAQ ACCORDION ---------- */

.ind-faq { max-width: 800px; margin: 0 auto; }
.ind-faq details {
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 1rem 1.25rem;
    margin-bottom: .8rem;
}
.ind-faq summary {
    cursor: pointer;
    font-weight: 600;
    color: var(--text-color);
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}
.ind-faq summary::-webkit-details-marker { display: none; }
.ind-faq summary::after { content: "+"; font-size: 1.3rem; color: var(--ind-accent); flex-shrink: 0; }
.ind-faq details[open] summary::after { content: "\2212"; }
.ind-faq details p { margin: .8rem 0 0; color: var(--text-light); line-height: 1.7; }

/* ---------- IMAGES ---------- */

.ind-image { margin: 1.5rem 0; border-radius: var(--border-radius-lg); overflow: hidden; }
.ind-image img { width: 100%; height: auto; display: block; border-radius: var(--border-radius-lg); }
.ind-image-caption { text-align: center; font-size: .82rem; color: var(--text-light); margin-top: .5rem; }

.ind-image-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin: 1.5rem 0;
}
.ind-image-grid img { width: 100%; height: 220px; object-fit: cover; border-radius: var(--border-radius-lg); display: block; }
@media (max-width: 600px) { .ind-image-grid { grid-template-columns: 1fr; } }

/* ---------- CALLOUT ---------- */

.ind-callout {
    background: linear-gradient(135deg, #f0fffe, #fff);
    border: 1px solid #b2dfdb;
    border-left: 4px solid var(--ind-accent);
    border-radius: 0 var(--border-radius-lg) var(--border-radius-lg) 0;
    padding: 1.25rem 1.5rem;
    margin: 1.5rem 0;
}
.ind-callout h4 { margin: 0 0 .5rem; color: var(--text-color); font-size: 1rem; }
.ind-callout p { margin: 0; color: var(--text-light); }

/* ---------- INDEX GRID (category showcase) ---------- */

.ind-category-group { margin-bottom: 3rem; }
.ind-category-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 1.25rem;
    padding-bottom: .6rem;
    border-bottom: 2px solid var(--border-color);
}

.ind-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.25rem;
}

.ind-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    padding: 1.4rem;
    box-shadow: var(--shadow);
    transition: var(--transition);
    height: 100%;
}
.ind-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.ind-card h3 { font-size: 1.05rem; margin: 0 0 .5rem; color: var(--text-color); }
.ind-card p { color: var(--text-light); font-size: .9rem; line-height: 1.55; margin: 0 0 1rem; flex-grow: 1; }

@media (max-width: 640px) {
    .ind-hero { padding: 3rem 1rem 2.5rem; }
    .ind-section { padding: 2rem 0; }
}
