/* ════════════════════════════════════════
   COMPANIES PAGE
════════════════════════════════════════ */
.co-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 64px;
}

.co-stat {
    text-align: center;
    padding: 32px 16px;
    background: #fff;
    border-radius: var(--radius);
    border: 1px solid #eee;
    transition: all .3s;
}

.co-stat:hover {
    border-color: var(--teal);
    box-shadow: var(--shadow);
}

.co-stat-n {
    font-family: 'Playfair Display', serif;
    font-size: 46px;
    font-weight: 700;
    color: var(--teal);
    line-height: 1;
    margin-bottom: 8px;
}

.co-stat-l {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--muted);
}

/* ── Company Cards ── */
.co-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-bottom: 64px;
}

.co-card {
    background: #fff;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid #eee;
    transition: all .3s;
}

.co-card:hover {
    box-shadow: 0 16px 48px rgba(0, 0, 0, .1);
    transform: translateY(-4px);
    border-color: var(--teal);
}

.co-card-img {
    height: 180px;
    overflow: hidden;
    background: var(--light);
}

.co-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s;
}

.co-card:hover .co-card-img img {
    transform: scale(1.05);
}

.co-card-body {
    padding: 24px;
}

.co-card-name {
    font-size: 15px;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 6px;
    line-height: 1.4;
}

.co-card-plot {
    font-size: 12px;
    font-weight: 500;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--teal);
    margin-bottom: 10px;
}

/* ── Companies Table ── */
.co-table-wrap {
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid #eee;
}

table {
    width: 100%;
    border-collapse: collapse;
}

thead tr {
    background: var(--navy);
}

thead th {
    padding: 15px 22px;
    text-align: left;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .72);
}

tbody tr {
    border-bottom: 1px solid #f0f0f0;
    transition: background .2s;
}

tbody tr:last-child {
    border-bottom: none;
}

tbody tr:hover {
    background: rgba(0, 157, 162, .04);
}

tbody td {
    padding: 15px 22px;
    font-size: 14px;
    color: var(--body);
}

tbody td:first-child {
    color: var(--navy);
    font-weight: 500;
}

/* ── Responsive ── */
@media (max-width: 1024px) {
    .co-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .co-stats,
    .co-grid {
        grid-template-columns: 1fr;
    }
    .table-responsive {
        width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .table-responsive table {
        width: 100%;
        min-width: 700px; /* Adjust as needed */
        border-collapse: collapse;
    }
}
