/* --- İXTİSASLAŞDIĞIMIZ SAHƏLƏR SƏHİFƏSİ --- */
.industries-page {
    padding: 160px 0 100px 0;
    min-height: 100vh;
    width: 100%;
    /* Ana səhifə ilə eyni fon: örtük soldan sağa şəffaflaşır — mətn olan sol tərəf tünd/boz (oxunaqlı),
       sağ tərəf Bakı fotosunu aydın göstərir */
    background: linear-gradient(to right, rgba(11, 17, 32, 0.95) 0%, rgba(11, 17, 32, 0.88) 40%, rgba(11, 17, 32, 0.75) 70%, rgba(11, 17, 32, 0.6) 100%), var(--hero-photo) no-repeat center center/cover;
    background-position: top center;
    background-attachment: fixed;
    transition: background 0.4s ease;
    /* Kartlar az olanda səhifənin altı boş qalmasın — məzmun görünən sahədə şaquli ortalanır */
    display: flex;
    flex-direction: column;
    justify-content: center;
}

body.light-theme .industries-page {
    background: linear-gradient(to right, rgba(226, 232, 240, 0.95) 0%, rgba(226, 232, 240, 0.86) 40%, rgba(226, 232, 240, 0.6) 70%, rgba(226, 232, 240, 0.3) 100%), var(--hero-photo) no-repeat center center/cover;
    background-position: top center;
    background-attachment: fixed;
}

.industries-container {
    max-width: var(--container-max);
    margin: 0 auto;
    width: 95%;
    padding: 0;
}

/* İki sütun: solda giriş (başlıq, mətn, rəqəm, düymə), sağda sahələr kartları */
.industries-layout {
    display: grid;
    grid-template-columns: minmax(300px, 0.8fr) minmax(0, 1.55fr);
    gap: clamp(36px, 5vw, 80px);
    align-items: start;
}

.industries-intro {
    position: sticky;
    top: 130px;
}

.industries-hero {
    margin-bottom: 36px;
}

.industries-hero h1 {
    position: relative;
    font-size: clamp(34px, 3.6vw, 52px);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.5px;
    margin-bottom: 26px;
    padding-bottom: 22px;
    color: var(--text-color);
    text-align: left;
}

/* Başlığın altında qısa narıncı xətt */
.industries-hero h1::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 64px;
    height: 4px;
    border-radius: 4px;
    background: linear-gradient(90deg, #c4642f, #e8a15f);
}

.industries-hero p {
    font-size: clamp(15px, 1.2vw, 18px);
    line-height: 1.8;
    color: var(--text-muted);
    text-align: left;
    text-wrap: pretty;
}

/* Böyük rəqəm: "16 sahə üzrə dərin ekspertiza" */
.industries-stat {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 34px;
    padding: 14px 20px 14px 16px;
    min-height: 84px;
    border-radius: 18px;
    /* Sağdakı sahə kartları ilə eyni üslub (oxunaqlı fon, eyni haşiyə) */
    border: 1px solid var(--border-color);
    background: var(--card-bg);
    max-width: 420px;
}

.industries-stat-icon {
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    padding: 13px;
    border-radius: 15px;
    color: #d97742;
    background: linear-gradient(145deg, rgba(217, 119, 66, 0.22), rgba(217, 119, 66, 0.06));
    border: 1px solid rgba(217, 119, 66, 0.35);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.industries-stat-icon svg {
    display: block;
    width: 100%;
    height: 100%;
}

.industries-stat-label {
    font-size: clamp(15px, 1.15vw, 17px);
    line-height: 1.3;
    font-weight: 600;
    color: var(--text-color);
}

.industries-cta {
    display: inline-block;
}

/* Sahələr: nömrələnmiş premium kartlar */
.sectors-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(12px, 1.1vw, 18px);
    counter-reset: sector;
    padding: 0;
}

.sectors-list li {
    position: relative;
    counter-increment: sector;
    display: flex;
    align-items: center;
    gap: 16px;
    min-height: 84px;
    padding: 14px 20px 14px 16px;
    border-radius: 18px;
    border: 1px solid var(--border-color);
    background: var(--card-bg);
    color: var(--text-color);
    font-size: clamp(15px, 1.15vw, 17px);
    font-weight: 600;
    line-height: 1.3;
    overflow: hidden;
    transition: border-color 0.25s ease, background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

/* Sağ küncdə solğun sıra nömrəsi (01, 02 ...) */
.sectors-list li::after {
    content: counter(sector, decimal-leading-zero);
    position: absolute;
    right: 16px;
    top: 10px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--text-muted);
    opacity: 0.45;
    transition: color 0.25s ease, opacity 0.25s ease;
}

.sector-icon {
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    padding: 13px;
    border-radius: 15px;
    color: #d97742;
    background: linear-gradient(145deg, rgba(217, 119, 66, 0.22), rgba(217, 119, 66, 0.06));
    border: 1px solid rgba(217, 119, 66, 0.35);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
    transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.sector-icon svg {
    display: block;
    width: 100%;
    height: 100%;
}

.sector-name {
    padding-right: 18px;
}

.sectors-list li:hover {
    border-color: rgba(217, 119, 66, 0.75);
    background: rgba(217, 119, 66, 0.08);
    transform: translateY(-3px);
    box-shadow: 0 14px 34px rgba(217, 119, 66, 0.14);
}

.sectors-list li:hover::after {
    color: #d97742;
    opacity: 1;
}

.sectors-list li:hover .sector-icon {
    background: linear-gradient(145deg, #d97742, #c4642f);
    color: #ffffff;
    transform: scale(1.06) rotate(-4deg);
}

/* --- MOBİL VƏ PLANŞET --- */
@media (max-width: 1024px) {
    .industries-page {
        padding: 140px 0 80px 0;
    }
    .industries-layout {
        grid-template-columns: 1fr;
    }
    .industries-page {
        background: linear-gradient(rgba(11, 17, 32, 0.88), rgba(11, 17, 32, 0.88)), var(--hero-photo) no-repeat center center/cover;
        background-position: top center;
        background-attachment: fixed;
    }
    body.light-theme .industries-page {
        background: linear-gradient(rgba(226, 232, 240, 0.9), rgba(226, 232, 240, 0.9)), var(--hero-photo) no-repeat center center/cover;
        background-position: top center;
        background-attachment: fixed;
    }
    .industries-intro {
        position: static;
    }
}

@media (max-width: 768px) {
    .industries-page {
        padding-top: 150px;
    }
    .industries-hero {
        margin-bottom: 28px;
    }
}

@media (max-width: 600px) {
    .sectors-list {
        grid-template-columns: 1fr;
    }
}
