/* مركز الملف التعريفي الكامل 2026 */

.company-profile-hub {
    max-width: 980px;
    margin: 0 auto;
    padding-bottom: 32px;
}

.cph-cover {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 20px;
    min-height: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
}

.cph-cover-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    filter: brightness(0.45);
}

.cph-cover-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(155deg, rgba(1, 13, 21, 0.88) 0%, rgba(6, 46, 68, 0.75) 55%, rgba(10, 75, 110, 0.65) 100%);
}

.cph-cover-content {
    position: relative;
    z-index: 2;
    padding: 28px 20px;
    max-width: 720px;
}

.cph-cover-logo {
    width: 96px;
    height: 96px;
    max-height: none;
    margin-bottom: 14px;
    object-fit: contain;
    filter: drop-shadow(0 6px 28px rgba(26, 143, 168, 0.5));
}

.cph-cover-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    border-radius: 20px;
    border: 1px solid rgba(212, 168, 66, 0.35);
    background: linear-gradient(90deg, rgba(212, 168, 66, 0.15), rgba(26, 143, 168, 0.12));
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: #f0c060;
    margin-bottom: 10px;
}

.cph-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #d4a842;
}

.cph-cover-saudi {
    font-size: 0.82rem;
    margin-bottom: 8px;
    opacity: 0.9;
}

.cph-cover-title {
    margin: 0 0 6px;
    font-size: clamp(1.5rem, 4vw, 2.2rem);
    font-weight: 900;
}

.cph-cover-sub {
    margin: 0 0 12px;
    font-size: 0.72rem;
    letter-spacing: 0.14em;
    opacity: 0.55;
    text-transform: uppercase;
}

.cph-cover-desc {
    margin: 0 0 18px;
    font-size: 0.92rem;
    line-height: 1.75;
    opacity: 0.82;
}

.cph-stats {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
}

.cph-stat {
    min-width: 100px;
    padding: 10px 14px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.cph-stat strong {
    display: block;
    font-size: 1.2rem;
    color: #f0c060;
}

.cph-stat span {
    font-size: 0.72rem;
    opacity: 0.8;
}

.cph-pdf-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-top: 18px;
}

.cph-pdf-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 18px;
    border-radius: 12px;
    background: linear-gradient(145deg, #d4a842, #b8860b);
    color: #041c2c;
    font-size: 0.82rem;
    font-weight: 800;
    text-decoration: none;
    box-shadow: 0 8px 22px rgba(212, 168, 66, 0.28);
    transition: transform 0.2s ease;
}

.cph-pdf-btn:hover {
    transform: translateY(-2px);
}

.cph-pdf-btn--ghost {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.22);
    box-shadow: none;
}

.cph-nav {
    display: flex;
    flex-wrap: nowrap;
    gap: 8px;
    overflow-x: auto;
    margin-bottom: 22px;
    padding: 12px;
    border-radius: 14px;
    background: rgba(6, 46, 68, 0.06);
    border: 1px solid rgba(26, 143, 168, 0.15);
    position: sticky;
    top: 8px;
    z-index: 5;
    scrollbar-width: thin;
}

.cph-nav-btn {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 999px;
    border: 1px solid rgba(13, 40, 64, 0.12);
    background: #fff;
    color: #062e44;
    font-family: inherit;
    font-size: 0.8rem;
    font-weight: 700;
    cursor: pointer;
    transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}

.cph-nav-btn:hover {
    border-color: rgba(212, 168, 66, 0.55);
    box-shadow: 0 4px 14px rgba(6, 46, 68, 0.1);
    transform: translateY(-1px);
}

.cph-nav-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.5em;
    padding: 2px 6px;
    border-radius: 8px;
    background: linear-gradient(135deg, #d4a842, #f0c060);
    color: #062e44;
    font-size: 0.68rem;
    font-weight: 900;
}

.cph-section {
    margin-bottom: 22px;
    padding: 18px 16px;
    border-radius: 16px;
    background: #fff;
    border: 1px solid rgba(13, 40, 64, 0.1);
    box-shadow: 0 8px 24px rgba(6, 46, 68, 0.06);
}

.cph-section.is-highlight {
    border-color: rgba(212, 168, 66, 0.45);
    box-shadow: 0 0 0 3px rgba(212, 168, 66, 0.12);
}

.cph-section-head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.cph-section-num {
    font-size: 0.75rem;
    font-weight: 800;
    color: #1a8fa8;
    padding: 4px 10px;
    border-radius: 8px;
    background: rgba(26, 143, 168, 0.1);
}

.cph-section-head h3 {
    margin: 0;
    flex: 1 1 auto;
    font-size: 1.05rem;
    color: #062e44;
}

.cph-open-icon {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 12px;
    border-radius: 10px;
    border: none;
    background: linear-gradient(135deg, #062e44, #0a4b6e);
    color: #fff;
    font-family: inherit;
    font-size: 0.78rem;
    font-weight: 700;
    cursor: pointer;
}

.cph-open-icon:hover {
    filter: brightness(1.08);
}

.cph-section-text {
    margin: 0 0 12px;
    line-height: 1.7;
    color: #3a5060;
    font-size: 0.9rem;
}

.cph-gallery-strip {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    align-items: center;
}

.cph-gallery-strip img {
    width: 88px;
    height: 88px;
    object-fit: contain;
    border-radius: 10px;
    border: 1px solid rgba(13, 40, 64, 0.1);
    background: rgba(1, 13, 21, 0.35);
    cursor: zoom-in;
}

.cph-gallery-strip img.nebras-clickable-media:hover {
    border-color: rgba(212, 168, 66, 0.55);
    box-shadow: 0 4px 16px rgba(26, 143, 168, 0.25);
}

.cph-gallery-more {
    font-size: 0.85rem;
    font-weight: 800;
    color: #1a8fa8;
    padding: 8px 12px;
    border-radius: 10px;
    background: rgba(26, 143, 168, 0.1);
}

.cph-product-types {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 12px;
}

.cph-product-card {
    padding: 14px;
    border-radius: 12px;
    background: linear-gradient(180deg, #f8fafb, #fff);
    border: 1px solid rgba(13, 40, 64, 0.08);
}

.cph-product-card i {
    color: #1a8fa8;
    font-size: 1.2rem;
    margin-bottom: 8px;
}

.cph-product-card h4 {
    margin: 0 0 6px;
    font-size: 0.92rem;
    color: #062e44;
}

.cph-product-card p {
    margin: 0 0 8px;
    font-size: 0.8rem;
    line-height: 1.55;
    color: #3a5060;
}

.cph-tags span {
    display: inline-block;
    margin: 2px 4px 2px 0;
    padding: 3px 8px;
    border-radius: 6px;
    font-size: 0.68rem;
    background: rgba(212, 168, 66, 0.15);
    color: #062e44;
}

.cph-strengths-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 10px;
}

.cph-strength {
    padding: 10px 12px;
    border-radius: 10px;
    background: #f8fafb;
    border: 1px solid rgba(13, 40, 64, 0.06);
}

.cph-strength i {
    color: #1a8fa8;
    margin-bottom: 4px;
}

.cph-strength strong {
    display: block;
    font-size: 0.82rem;
    color: #062e44;
}

.cph-strength span {
    font-size: 0.74rem;
    color: #7a909e;
}

.cph-cert-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.cph-cert-chips span {
    padding: 8px 14px;
    border-radius: 10px;
    background: linear-gradient(135deg, #062e44, #0d6b9a);
    color: #fff;
    font-size: 0.8rem;
    font-weight: 700;
}

.cph-project-list {
    margin: 0;
    padding: 0 18px;
    line-height: 1.8;
    color: #3a5060;
    font-size: 0.88rem;
}

.cph-hq {
    margin: 0 0 10px;
    font-weight: 800;
    color: #d4a842;
}

.cph-cities {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.cph-cities span {
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(26, 143, 168, 0.1);
    color: #062e44;
    font-size: 0.78rem;
    font-weight: 600;
}

.cph-datasheet-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 10px;
    margin-bottom: 10px;
}

.cph-ds-item {
    padding: 12px;
    border-radius: 10px;
    background: #f2f5f7;
}

.cph-ds-item strong {
    display: block;
    color: #062e44;
    margin-bottom: 4px;
}

.cph-ds-item span {
    font-size: 0.8rem;
    color: #3a5060;
}

.cph-ds-features {
    margin: 0;
    font-size: 0.82rem;
    color: #1a8fa8;
    font-weight: 600;
}

.cph-bank-note {
    padding: 12px;
    border-radius: 10px;
    background: rgba(212, 168, 66, 0.1);
    font-size: 0.85rem;
    color: #062e44;
}

.cph-footer {
    text-align: center;
    padding: 20px 12px;
    color: #7a909e;
    font-size: 0.82rem;
}

.cph-footer-badges {
    margin-top: 8px;
    font-weight: 700;
    color: #1a8fa8;
    font-size: 0.78rem;
}

.workspace-main--company-profile {
    padding-top: 8px;
}

@media (max-width: 640px) {
    .cph-nav {
        position: static;
    }

    .cph-open-icon {
        width: 100%;
        justify-content: center;
    }
}
