/* ===== PROJECTS PAGE ===== */

.proj-hero {
    background-color: #0a1223;
    position: relative;
    padding: 220px 0 0;
    overflow: hidden;
}

.proj-hero-container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 48px 72px;
    position: relative;
    z-index: 2;
}

.proj-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    color: rgba(255,255,255,0.5);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 32px;
}

.proj-breadcrumb a { color: rgba(255,255,255,0.5); text-decoration: none; transition: color 0.2s; }
.proj-breadcrumb a:hover { color: #fff; }
.proj-breadcrumb .sep { color: rgba(255,255,255,0.25); }
.proj-breadcrumb .current { color: #ea232a; }

.proj-hero-label {
    font-size: 13px;
    font-weight: 800;
    color: #ea232a;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.proj-hero-title {
    font-size: 80px;
    font-weight: 900;
    color: #fff;
    text-transform: uppercase;
    line-height: 0.95;
    letter-spacing: -3px;
    margin: 0 0 24px;
}

.proj-hero-subtitle {
    font-size: 17px;
    color: rgba(255,255,255,0.55);
    font-weight: 400;
    max-width: 560px;
    line-height: 1.65;
}

/* Stats bar */
.proj-hero-stats {
    background: rgba(255,255,255,0.05);
    border-top: 1px solid rgba(255,255,255,0.08);
}

.proj-hero-stats-container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 48px;
    display: flex;
    align-items: center;
}

.proj-hero-stat {
    padding: 28px 0;
    flex: 1;
}

.proj-hero-stat-num {
    font-size: 32px;
    font-weight: 900;
    color: #fff;
    letter-spacing: -1px;
    line-height: 1;
    margin-bottom: 6px;
}

.proj-hero-stat-label {
    font-size: 12px;
    font-weight: 600;
    color: rgba(255,255,255,0.4);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.proj-hero-stat-divider {
    width: 1px;
    height: 48px;
    background: rgba(255,255,255,0.1);
    margin: 0 40px;
    flex-shrink: 0;
}

/* ===== SUBSIDIARY ===== */

.proj-subsidiary-section {
    background: #fff;
    padding: 40px 0;
    border-bottom: 1px solid #e2e8f0;
}

.proj-container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 48px;
}

.proj-subsidiary-card {
    display: flex;
    align-items: center;
    gap: 20px;
    background: #fef2f2;
    border: 1px solid rgba(234,35,42,0.2);
    border-radius: 10px;
    padding: 24px 32px;
}

.proj-subsidiary-icon {
    width: 48px;
    height: 48px;
    background: #ea232a;
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
}

.proj-subsidiary-icon i { font-size: 20px; color: #fff; }

.proj-subsidiary-label {
    font-size: 11px;
    font-weight: 800;
    color: #ea232a;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 4px;
}

.proj-subsidiary-name {
    font-size: 18px;
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 2px;
}

.proj-subsidiary-desc {
    font-size: 14px;
    color: #64748b;
    font-weight: 500;
}

/* ===== LIST SECTION ===== */

.proj-list-section {
    background: #f8fafc;
    padding: 80px 0 100px;
}

.proj-section-header {
    margin-bottom: 56px;
    padding-bottom: 32px;
    border-bottom: 2px solid #e2e8f0;
}

.proj-section-label {
    font-size: 13px;
    font-weight: 800;
    color: #ea232a;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 10px;
}

.proj-section-title {
    font-size: 40px;
    font-weight: 900;
    color: #1e293b;
    text-transform: uppercase;
    letter-spacing: -1.5px;
    line-height: 1;
    margin: 0;
}

/* ===== PARTNER GROUPS ===== */

.proj-partner-group {
    margin-bottom: 56px;
}

.proj-partner-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid #e2e8f0;
}

.proj-partner-name {
    font-size: 18px;
    font-weight: 800;
    color: #1e293b;
}

.proj-partner-count {
    font-size: 12px;
    font-weight: 700;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ===== CARDS ===== */

.proj-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.proj-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 28px;
    display: flex;
    gap: 16px;
    transition: box-shadow 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.proj-card:hover {
    box-shadow: 0 8px 32px rgba(0,0,0,0.08);
    border-color: #cbd5e1;
    transform: translateY(-2px);
}

.proj-card--own {
    border-color: rgba(234,35,42,0.2);
    background: #fffafa;
}

.proj-card-num {
    display: none;
}

.proj-card-body { flex: 1; }

.proj-card-region {
    font-size: 11px;
    font-weight: 700;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.proj-card-region i { font-size: 10px; color: #ea232a; }

.proj-card-title {
    font-size: 15px;
    font-weight: 700;
    color: #1e293b;
    line-height: 1.45;
    margin: 0 0 12px;
}

.proj-card-partner {
    display: inline-block;
    font-size: 11px;
    font-weight: 800;
    color: #475569;
    background: #f1f5f9;
    padding: 3px 10px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.proj-card-partner--own {
    background: #fef2f2;
    color: #ea232a;
}

/* ===== CTA STRIP ===== */

.proj-cta-strip {
    background: #1e293b;
    padding: 52px 0;
}

.proj-cta-container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.proj-cta-text h3 { font-size: 22px; font-weight: 800; color: #fff; margin-bottom: 6px; }
.proj-cta-text p { font-size: 15px; color: #94a3b8; }

.btn-proj-cta {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: #ea232a;
    color: #fff;
    text-decoration: none;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 14px 28px;
    border-radius: 6px;
    white-space: nowrap;
    flex-shrink: 0;
    transition: background 0.2s;
}

.btn-proj-cta:hover { background: #d21f25; }

/* ===== RESPONSIVE ===== */

@media (max-width: 1024px) {
    .proj-hero-title { font-size: 56px; letter-spacing: -2px; }

    .proj-cards-grid { grid-template-columns: repeat(2, 1fr); }

    .proj-hero-stats-container { flex-wrap: wrap; }
    .proj-hero-stat { min-width: 45%; }
    .proj-hero-stat-divider { display: none; }

    .proj-hero-container,
    .proj-container,
    .proj-cta-container,
    .proj-hero-stats-container { padding-left: 24px; padding-right: 24px; }

    .proj-cta-container { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 640px) {
    .proj-hero-title { font-size: 40px; }
    .proj-section-title { font-size: 28px; }
    .proj-cards-grid { grid-template-columns: 1fr; }
    .proj-hero-stat { min-width: 100%; }
}

/* ===== ALS PARTNER CARD ===== */

.proj-subsidiary-card--partner {
    margin-top: 16px;
    transition: background 0.2s, border-color 0.2s;
}

.proj-subsidiary-card--partner:hover {
    background: rgba(234,35,42,0.04);
    border-color: rgba(234,35,42,0.2);
}

/* ===== MODAL ===== */

.proj-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(10,18,35,0.7);
    backdrop-filter: blur(4px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
}

.proj-modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.proj-modal {
    background: #fff;
    border-radius: 16px;
    max-width: 680px;
    width: 100%;
    max-height: 90vh;
    overflow: hidden;
    position: relative;
    transform: translateY(20px);
    transition: transform 0.25s ease;
    display: flex;
    flex-direction: column;
}

.proj-modal-body {
    overflow-y: auto;
    flex: 1;
    padding: 32px 40px 40px;
    scrollbar-width: thin;
    scrollbar-color: #e2e8f0 transparent;
}

.proj-modal-body::-webkit-scrollbar {
    width: 6px;
}

.proj-modal-body::-webkit-scrollbar-track {
    background: transparent;
    margin: 8px 0;
}

.proj-modal-body::-webkit-scrollbar-thumb {
    background: #e2e8f0;
    border-radius: 99px;
}

.proj-modal-body::-webkit-scrollbar-thumb:hover {
    background: #cbd5e1;
}

.proj-modal-overlay.active .proj-modal {
    transform: translateY(0);
}

.proj-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 36px;
    height: 36px;
    background: #f1f5f9;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 15px;
    color: #64748b;
    transition: background 0.2s, color 0.2s;
    z-index: 1;
}

.proj-modal-close:hover { background: #e2e8f0; color: #1e293b; }

.proj-modal-header {
    background: #0a1223;
    border-radius: 16px 16px 0 0;
    padding: 40px 40px 32px;
}

.proj-modal-label {
    font-size: 12px;
    font-weight: 800;
    color: #ea232a;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 12px;
}

.proj-modal-title {
    font-size: 28px;
    font-weight: 900;
    color: #fff;
    margin: 0 0 16px;
    line-height: 1.2;
}

.proj-modal-title-link {
    color: #fff;
    text-decoration: none;
    transition: color 0.2s;
}

.proj-modal-title-link:hover { color: #ea232a; }

.proj-modal-title-link i { font-size: 16px; opacity: 0.6; margin-left: 8px; }

.proj-modal-address {
    font-size: 14px;
    color: rgba(255,255,255,0.55);
    display: flex;
    align-items: center;
    gap: 8px;
}

.proj-modal-address i { color: #ea232a; font-size: 12px; }


.proj-modal-stat {
    background: #f8fafc;
    border-radius: 10px;
    padding: 20px 24px;
    margin-bottom: 28px;
    display: flex;
    align-items: baseline;
    gap: 10px;
}

.proj-modal-stat-num {
    font-size: 32px;
    font-weight: 900;
    color: #ea232a;
    letter-spacing: -1px;
}

.proj-modal-stat-label {
    font-size: 14px;
    color: #64748b;
    font-weight: 600;
}

.proj-modal-section { margin-bottom: 28px; }

.proj-modal-section-title {
    font-size: 13px;
    font-weight: 800;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

.proj-modal-items { display: flex; flex-direction: column; gap: 14px; }

.proj-modal-item {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding: 16px;
    background: #f8fafc;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
}

.proj-modal-item i {
    font-size: 16px;
    color: #ea232a;
    flex-shrink: 0;
    margin-top: 2px;
}

.proj-modal-item strong {
    display: block;
    font-size: 14px;
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 4px;
}

.proj-modal-item p {
    font-size: 13px;
    color: #64748b;
    line-height: 1.55;
    margin: 0;
}

.proj-modal-advantages {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.proj-modal-adv {
    font-size: 14px;
    color: #475569;
    display: flex;
    align-items: center;
    gap: 10px;
}

.proj-modal-adv i { color: #ea232a; font-size: 12px; flex-shrink: 0; }

.proj-modal-contacts {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 28px;
    border-top: 1px solid #e2e8f0;
    padding-top: 24px;
}

.proj-modal-contact {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 12px 0;
    border-bottom: 1px solid #f1f5f9;
}

.proj-modal-contact:last-child { border-bottom: none; }

.proj-modal-contact i {
    font-size: 14px;
    color: #ea232a;
    margin-top: 2px;
    flex-shrink: 0;
}

.proj-modal-contact-label {
    font-size: 11px;
    font-weight: 700;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 3px;
}

.proj-modal-contact a {
    font-size: 14px;
    font-weight: 600;
    color: #1e293b;
    text-decoration: none;
    transition: color 0.2s;
}

.proj-modal-contact a:hover { color: #ea232a; }

.proj-modal-footer {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.btn-proj-modal {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #ea232a;
    color: #fff;
    text-decoration: none;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    padding: 12px 22px;
    border-radius: 6px;
    transition: background 0.2s, transform 0.2s;
}

.btn-proj-modal:hover { background: #c81a20; transform: translateY(-1px); }

.proj-modal-note {
    font-size: 13px;
    color: #94a3b8;
    font-style: italic;
}

@media (max-width: 640px) {
    .proj-modal-header { padding: 32px 24px 24px; }
    .proj-modal-body { padding: 24px 24px 32px; }
    .proj-modal-title { font-size: 22px; }
}
