/*==================================================
  LAWYERS & VIDEO SECTIONS
  Proyecto: QPERTINO
  Secciones de abogados y video institucional
==================================================*/

/*=====================================
VIDEO SECTION
=====================================*/

.video-section {
    padding: 120px 0;
    background: var(--bg-section);
    position: relative;
    overflow: hidden;
}

.video-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(200,168,107,.05) 0%, rgba(200,168,107,.02) 100%);
    pointer-events: none;
}

.video-wrapper {
    position: relative;
    z-index: 1;
}

.video-header {
    text-align: center;
    margin-bottom: 60px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.video-header .section-tag {
    display: inline-block;
    color: var(--gold);
    font-size: .85rem;
    font-weight: 600;
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-bottom: 18px;
}

.video-title {
    font-family: "Cormorant Garamond", serif;
    font-size: clamp(2.2rem, 3.5vw, 3rem);
    color: var(--heading);
    line-height: 1.15;
    margin-bottom: 22px;
}

.video-description {
    font-size: 1.1rem;
    line-height: 1.9;
    color: var(--text);
}

.video-container {
    position: relative;
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    aspect-ratio: 16 / 9;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 30px 70px rgba(0, 0, 0, .35);
    border: 1px solid rgba(200, 168, 107, .15);
}

.video-iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/*=====================================
LAWYERS SECTION — Corregido: fondo oscuro
=====================================*/

.lawyers-section {
    padding: 120px 0;
    /* Corregido: fondo oscuro en lugar de var(--light) que no existe */
    background: var(--bg-soft, #1A1C23);
}

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

/* CARD — Corregido: fondo oscuro en lugar de #FFFFFF */
.lawyer-card {
    background: var(--surface, #121318);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--radius-sm);
    overflow: hidden;
    transition: var(--transition);
    box-shadow: 0 5px 15px rgba(0, 0, 0, .25);
}

.lawyer-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow);
    border-color: rgba(200, 168, 107, .45);
}

.lawyer-image {
    position: relative;
    width: 100%;
    height: 280px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.lawyer-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition);
}

.lawyer-card:hover .lawyer-photo {
    transform: scale(1.05);
}

.lawyer-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(200, 168, 107, .15) 0%, rgba(200, 168, 107, .05) 100%);
    color: var(--gold);
    font-size: 3rem;
}

.lawyer-info {
    padding: 30px 24px;
}

.lawyer-name {
    font-family: "Cormorant Garamond", serif;
    font-size: 1.5rem;
    color: var(--heading);
    margin: 0 0 8px 0;
    line-height: 1.2;
}

.lawyer-position {
    font-size: .95rem;
    font-weight: 600;
    color: var(--gold);
    margin: 0 0 12px 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Corregido: especialidades visibles sobre fondo oscuro */
.lawyer-specialties {
    font-size: .9rem;
    color: var(--text-muted, #718096);
    margin: 0 0 12px 0;
    line-height: 1.6;
    font-style: italic;
}

.lawyer-biography {
    font-size: .95rem;
    color: var(--text);
    line-height: 1.7;
    margin: 0 0 16px 0;
}

.lawyer-contact {
    display: flex;
    gap: 12px;
    margin-top: 16px;
    padding-top: 16px;
    /* Corregido: separador sutil oscuro */
    border-top: 1px solid rgba(255,255,255,0.08);
}

.contact-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(200, 168, 107, .1);
    color: var(--gold);
    text-decoration: none;
    transition: var(--transition);
    font-size: .9rem;
}

.contact-link:hover {
    background: var(--gold);
    color: var(--heading);
    transform: translateY(-3px);
}

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

@media (max-width: 992px) {
    .video-section {
        padding: 80px 0;
    }

    .lawyers-section {
        padding: 80px 0;
    }

    .video-header {
        margin-bottom: 40px;
    }

    .lawyers-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 30px;
    }

    .video-title {
        font-size: 2.2rem;
    }
}

@media (max-width: 768px) {
    .video-section {
        padding: 65px 0;
    }

    .lawyers-section {
        padding: 65px 0;
    }

    .video-header {
        margin-bottom: 30px;
    }

    .lawyers-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .lawyer-image {
        height: 240px;
    }

    .lawyer-info {
        padding: 24px 18px;
    }

    .lawyer-name {
        font-size: 1.3rem;
    }

    .video-title {
        font-size: 1.8rem;
    }

    .video-description {
        font-size: 1rem;
    }
}
