/* ================================================
   Quiénes Somos Page Styles
   ================================================ */

/* Video institucional */
.video-institucional-section {
    padding: 3rem 0;
    background: var(--slate-50);
}

.video-institucional-wrapper {
    max-width: 1000px;
    margin: 0 auto;
}

.video-institucional-embed {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

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

/* Section styles */
.funciones-section,
.adscripcion-section,
.gobierno-section,
.plantilla-section {
    padding: 4rem 0;
}

.section-title {
    font-family: var(--font-serif);
    font-size: clamp(1.875rem, 4vw, 2.5rem);
    font-weight: 700;
    color: var(--slate-900);
    margin: 0 0 2rem 0;
    text-align: center;
}

.subsection-title {
    font-family: var(--font-serif);
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    color: var(--slate-900);
    margin: 3rem 0 1.5rem 0;
}

/* Funciones */
.funciones-intro {
    max-width: 900px;
    margin: 0 auto 3rem;
    text-align: center;
    font-size: 1.0625rem;
    color: var(--slate-600);
    line-height: 1.7;
}

.funciones-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.funcion-card {
    background: #fff;
    border: 1px solid var(--slate-200);
    border-radius: 12px;
    padding: 2rem;
    transition: all 0.3s ease;
}

.funcion-card:hover {
    border-color: var(--brand-300);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transform: translateY(-2px);
}

.funcion-number {
    display: inline-block;
    background: linear-gradient(135deg, var(--brand-500) 0%, var(--brand-600) 100%);
    color: white;
    font-weight: 700;
    font-size: 1.125rem;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.funcion-card p {
    color: var(--slate-700);
    line-height: 1.7;
    margin: 0;
}

.funciones-adicionales {
    background: var(--slate-50);
    border-radius: 12px;
    padding: 2.5rem;
    margin-top: 3rem;
}

.funciones-adicionales h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--slate-900);
    margin: 0 0 1rem 0;
}

.funciones-adicionales > p {
    color: var(--slate-600);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.funciones-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.funciones-list li {
    padding-left: 2rem;
    margin-bottom: 1rem;
    position: relative;
    color: var(--slate-700);
    line-height: 1.7;
}

.funciones-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--brand-600);
    font-weight: 700;
    font-size: 1.25rem;
}

/* Adscripción */
.adscripcion-content > p {
    max-width: 900px;
    margin: 0 auto 3rem;
    font-size: 1.0625rem;
    color: var(--slate-600);
    line-height: 1.7;
}

.adscripcion-items {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.adscripcion-item {
    background: #fff;
    border: 1px solid var(--slate-200);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
}

.adscripcion-item:hover {
    border-color: var(--brand-300);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transform: translateY(-2px);
}

.adscripcion-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--brand-50) 0%, var(--brand-100) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--brand-600);
}

.adscripcion-item p {
    color: var(--slate-700);
    line-height: 1.7;
    margin: 0;
    text-align: left;
}

/* Gobierno */
.gobierno-intro {
    max-width: 900px;
    margin: 0 auto 3rem;
    text-align: center;
    font-size: 1.0625rem;
    color: var(--slate-600);
    line-height: 1.7;
}

.presidente-section,
.comite-section,
.pleno-section,
.comisiones-section {
    margin-bottom: 4rem;
}

/* Presidente */
.presidente-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
    align-items: start;
    max-width: 1100px;
    margin: 0 auto;
}

.presidente-image {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.presidente-image img {
    width: 100%;
    height: auto;
    display: block;
}

.presidente-text p {
    color: var(--slate-700);
    line-height: 1.7;
    margin-bottom: 1rem;
}

/* Comité Ejecutivo */
.comite-section > p {
    max-width: 900px;
    margin: 0 auto 2rem;
    font-size: 1.0625rem;
    color: var(--slate-600);
    line-height: 1.7;
}

.comite-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    max-width: 1100px;
    margin: 0 auto;
}

.comite-card {
    background: #fff;
    border: 1px solid var(--slate-200);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
}

.comite-card:hover {
    border-color: var(--brand-300);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transform: translateY(-2px);
}

.comite-cargo {
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--brand-600);
    margin-bottom: 0.5rem;
}

.comite-nombre {
    font-size: 1.0625rem;
    font-weight: 600;
    color: var(--slate-900);
}

/* Pleno */
.pleno-section > p {
    max-width: 900px;
    margin: 0 auto 2rem;
    font-size: 1.0625rem;
    color: var(--slate-600);
    line-height: 1.7;
}

.pleno-image {
    margin: 2rem 0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.pleno-image img {
    width: 100%;
    height: auto;
    display: block;
}

.pleno-table-wrapper {
    overflow-x: auto;
    margin: 2rem 0;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.pleno-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
}

.pleno-table thead {
    background: var(--slate-900);
    color: white;
}

.pleno-table th {
    padding: 1rem;
    text-align: left;
    font-weight: 600;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.pleno-table td {
    padding: 1rem;
    border-bottom: 1px solid var(--slate-200);
    color: var(--slate-700);
    font-size: 0.9375rem;
}

.pleno-table tbody tr:hover {
    background: var(--slate-50);
}

.pleno-table tbody tr:last-child td {
    border-bottom: none;
}

/* Comisiones */
.comisiones-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.comision-card {
    background: #fff;
    border: 1px solid var(--slate-200);
    border-radius: 12px;
    padding: 2rem;
    transition: all 0.3s ease;
}

.comision-card:hover {
    border-color: var(--brand-300);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transform: translateY(-2px);
}

.comision-number {
    display: inline-block;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--brand-500) 0%, var(--brand-600) 100%);
    color: white;
    font-weight: 700;
    font-size: 1.25rem;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.comision-card h4 {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--slate-900);
    margin: 0 0 1rem 0;
    line-height: 1.4;
}

.comision-card p {
    font-size: 0.9375rem;
    color: var(--slate-600);
    margin: 0.5rem 0 0 0;
    line-height: 1.6;
}

/* Plantilla */
.plantilla-image {
    max-width: 1100px;
    margin: 0 auto;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.plantilla-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Responsive */
@media (max-width: 768px) {
    .funciones-section,
    .adscripcion-section,
    .gobierno-section,
    .plantilla-section {
        padding: 3rem 0;
    }

    .presidente-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .funciones-grid,
    .adscripcion-items,
    .comisiones-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .comite-grid {
        grid-template-columns: 1fr;
    }

    .pleno-table {
        font-size: 0.875rem;
    }

    .pleno-table th,
    .pleno-table td {
        padding: 0.75rem 0.5rem;
    }
}
