/* =========================================
   PÁGINA ATTORNEYS (ESTILOS NUEVOS)
   ========================================= */

/* 1. HERO BANNER ESPECÍFICO */
.hero-attorneys {
    background: linear-gradient(rgba(17, 24, 39, 0.85), rgba(17, 24, 39, 0.85)),
        url('https://images.unsplash.com/photo-1507679799987-c73779587ccf?ixlib=rb-4.0.3&auto=format&fit=crop&w=2400&q=80');
    background-size: cover;
    background-position: center;
    height: 40vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    margin-top: 60px;
    /* Ajusta según la altura de tu navbar fijo */
}

/* 2. TARJETA DEL FUNDADOR (BOB) */
.founder-card {
    display: flex;
    flex-wrap: wrap;
    background: #f8fafc;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 80px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.founder-img-col {
    flex: 1;
    min-width: 300px;
    background: #111;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

.founder-img-wrapper {
    position: relative;
    width: 260px;
    height: 285px;
}

.founder-frame {
    position: absolute;
    top: 15px;
    left: 15px;
    width: 100%;
    height: 100%;
    border: 2px solid var(--accent, #c5a059);
    z-index: 1;
}

.founder-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: relative;
    z-index: 2;
    filter: contrast(1.1);
    box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.5);
}

.founder-info-col {
    flex: 2;
    min-width: 300px;
    padding: 50px;
}

.founder-name {
    font-size: 2.5rem;
    color: #111;
    margin-bottom: 5px;
    text-transform: uppercase;
    font-weight: 800;
    letter-spacing: -1px;
}

.founder-role {
    color: var(--accent, #c5a059);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 25px;
    font-size: 0.9rem;
}

.founder-quote {
    font-size: 1.2rem;
    color: #333;
    margin-bottom: 15px;
    font-weight: 700;
    font-style: italic;
    border-left: 4px solid var(--accent, #c5a059);
    padding-left: 15px;
}

.founder-bio {
    color: #475569;
    line-height: 1.8;
    margin-bottom: 30px;
    font-size: 1rem;
}

.founder-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    list-style: none;
    margin-bottom: 30px;
    padding: 0;
}

.founder-stats li {
    display: flex;
    align-items: center;
    color: #334155;
    font-size: 0.95rem;
    font-weight: 600;
}

.check-icon {
    color: var(--accent, #c5a059);
    margin-right: 10px;
    font-weight: bold;
}

/* 3. GRID DE EQUIPO */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

/* 4. SECCIÓN REFERIDOS */
.referral-section {
    background: #111111;
    /* Slate 900 */
    color: #fff;
    padding: 100px 5%;
    border-top: 5px solid var(--accent, #c5a059);
}

.referral-container {
    max-width: 1100px;
    margin: 0 auto;
}

.referral-header {
    text-align: center;
    margin-bottom: 60px;
}

.referral-eyebrow {
    color: var(--accent, #c5a059);
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    display: block;
    margin-bottom: 15px;
    font-size: 0.9rem;
}

.referral-title {
    font-size: 2.5rem;
    color: #fff;
    margin: 0;
    font-weight: 800;
}

.referral-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

.referral-item {
    background: rgba(255, 255, 255, 0.03);
    padding: 35px;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s;
}

.referral-item:hover {
    transform: translateY(-5px);
    border-color: var(--accent, #c5a059);
    background: rgba(255, 255, 255, 0.06);
}

.referral-item h4 {
    color: var(--accent, #c5a059);
    font-size: 1.2rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.referral-item p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: #94a3b8;
}

.referral-cta {
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 50px;
}

.referral-quote {
    margin-bottom: 30px;
    font-style: italic;
    color: #cbd5e1;
    font-size: 1.1rem;
    font-weight: 300;
}

/* RESPONSIVE */
@media (max-width: 900px) {
    .founder-card {
        flex-direction: column;
    }

    .founder-info-col {
        padding: 30px;
    }

    .founder-stats {
        grid-template-columns: 1fr;
        gap: 15px;
        /* Alineación central pero limpia */
        max-width: 320px;
        margin: 0 auto 30px;
        text-align: left;
    }
}

/* 5. CLASES UTILITARIAS (Reemplazo de estilos inline) */
.team-section {
    background: #fff;
    padding: 80px 5%;
}

.team-header {
    text-align: center;
    margin-bottom: 60px;
}

.associates-title {
    text-align: center;
    margin-bottom: 40px;
    font-size: 1.8rem;
    color: #111;
    text-transform: uppercase;
    letter-spacing: -1px;
}

.referral-description {
    color: #94a3b8;
    max-width: 800px;
    margin: 20px auto;
    font-size: 1.1rem;
}

/* .btn-outline {
    background: transparent;
    border: 1px solid var(--accent, #c5a059);
    color: var(--accent, #c5a059);
    margin-top: 10px;
}

.btn-outline:hover {
    background: var(--accent, #c5a059);
    color: #fff;
} */