/* ========================================
   SOCIOS — listado
   ======================================== */

/* ---- Grid de socios ---- */
.socios-row {
    display: flex;
    flex-wrap: wrap;
}
.socios-row > [class*="col-"] {
    display: flex;
    flex-direction: column;
    margin-bottom: 24px;
}
.socio-card {
    display: flex;
    flex-direction: column;
    flex: 1;
    text-decoration: none;
    color: inherit;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
    transition: box-shadow .3s, transform .3s;
}
.socio-card:hover {
    box-shadow: 0 8px 28px rgba(0,0,0,.12);
    transform: translateY(-3px);
    text-decoration: none;
    color: inherit;
}

/* Foto */
.socio-card-photo {
    position: relative;
    height: 180px;
    overflow: hidden;
    background: #eee;
}
.socio-card-photo img {
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .4s ease;
}
.socio-card:hover .socio-card-photo img { transform: scale(1.06); }

.socio-card-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,183,235,.85);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity .3s;
}
.socio-card:hover .socio-card-overlay { opacity: 1; }
.socio-card-overlay span {
    background: rgba(255,255,255,.2);
    color: #fff;
    border: 1px solid rgba(255,255,255,.5);
    border-radius: 5px;
    padding: 7px 20px;
    font-size: 13px;
    font-weight: 600;
}

/* Foto placeholder sin imagen */
.socio-card-photo-placeholder {
    height: 180px;
    background: linear-gradient(135deg, #3a5253 0%, #2a3d3e 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}
.socio-card-photo-placeholder span {
    font-size: 3rem;
    color: rgba(255,255,255,.25);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Info */
.socio-card-info {
    padding: 14px 16px;
    border-top: 2px solid #00B7EB;
    flex: 1;
}
.socio-card-nombre {
    font-weight: 700;
    font-size: 14px;
    color: #2c3e50;
    margin: 0 0 8px;
    line-height: 1.3;
}
.socio-card-dato {
    display: flex;
    align-items: flex-start;
    gap: 7px;
    font-size: 12px;
    color: #666;
    margin-bottom: 4px;
}
.socio-card-dato .fa {
    color: #00B7EB;
    margin-top: 2px;
    flex-shrink: 0;
}
.socio-card-footer {
    padding: 10px 16px;
    background: #f9f9f9;
    border-top: 1px solid #f0f0f0;
    text-align: right;
}
.socio-card-footer span {
    font-size: 11px;
    color: #3a5253;
    font-weight: 600;
}

/* Estado vacío */
.socios-empty {
    text-align: center;
    padding: 80px 20px;
    color: #aaa;
}
.socios-empty .fa { font-size: 3rem; margin-bottom: 16px; display: block; }

/* ---- Información para el socio (archivos públicos) ---- */
.socios-info-section {
    padding: 40px 0 50px;
    background: #f8f5f0;
}
.socios-archivos-row {
    display: flex;
    flex-wrap: wrap;
}
.socios-archivos-row > [class*="col-"] {
    display: flex;
    margin-bottom: 24px;
}
.socio-archivo-card {
    display: flex;
    flex-direction: column;
    flex: 1;
    border: 1px solid #e4ddd4;
    border-radius: 8px;
    background: #fff;
    overflow: hidden;
    transition: box-shadow .25s;
}
.socio-archivo-card:hover {
    box-shadow: 0 6px 20px rgba(58,82,83,.12);
}
.socio-archivo-icon {
    background: linear-gradient(135deg, #3a5253 0%, #2a3d3e 100%);
    padding: 24px;
    text-align: center;
}
.socio-archivo-icon .fa {
    font-size: 2.8rem;
    color: #d4a884;
}
.socio-archivo-body {
    padding: 18px 18px 12px;
    flex: 1;
}
.socio-archivo-title {
    font-weight: 700;
    font-size: 14px;
    color: #2c3e50;
    margin: 0 0 6px;
    line-height: 1.4;
}
.socio-archivo-desc {
    font-size: 12px;
    color: #888;
    margin: 0;
    line-height: 1.5;
}
.socio-archivo-footer {
    padding: 12px 18px 18px;
}

/* ---- Empresas amigas en socios ---- */
.socios-sponsors-section {
    padding: 40px 0 50px;
    background: #fff;
}
.socios-sponsors-grid {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 32px;
}
.socios-sponsor-item {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 20px;
    border: 1px solid #eee;
    border-radius: 8px;
    background: #fafafa;
    min-width: 120px;
    min-height: 70px;
    transition: border-color .2s, box-shadow .2s;
}
.socios-sponsor-item:hover {
    border-color: #d4a884;
    box-shadow: 0 4px 12px rgba(0,0,0,.07);
}
.socios-sponsor-item img {
    max-height: 55px;
    max-width: 160px;
    object-fit: contain;
    filter: grayscale(30%);
    opacity: .85;
    transition: filter .2s, opacity .2s;
}
.socios-sponsor-item:hover img {
    filter: grayscale(0%);
    opacity: 1;
}
.socios-sponsor-name {
    font-size: 13px;
    color: #555;
    font-weight: 600;
}
