.com-etic {
    padding: 0 8rem;
    padding-top: 6rem;
    background-color: var(--azulFuerte);
    display: flex;
    flex-direction: column;
}

.container-etic {
    background: var(--bg);
    display: flex;
    justify-content: center;
    padding: 5rem;
    flex-direction: column;
    align-items: center;
    gap: 5rem;
}

.hero_comt {
    padding: 0;
    /*padding-top: 80px;*/
}

#tt_c {
    font-size: 3.5rem;
    text-transform: uppercase;
    text-align: center;
    font-weight: 600;
}

.img_hero_comt {
    background-image: url("../build/img/etica/B_ETICA_2.webp");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 350px;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.ttls {
    color: var(--azulFuerte) !important;
    font-size: 26px;
    text-align: center;
    margin: 0;
}

#hero-img {
    width: 100% !important;
    border-bottom: 4px solid var(--primario);
}

.text-proc {
    font-size: 14px;
    color: var(--muted);
    text-align: center;
    width: 70%;
}

/* directorio */
.ce-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    width: 100%;
}

.ce-eyebrow {
    font-size: 30px;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--primario);
    margin: 0;
}

.ce-directorio {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2.5rem;
    padding: 1rem;
}

.ce-fila {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 28px;
    flex-wrap: wrap;
}

.ce-persona {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: transform 0.2s ease;
}

.ce-persona:hover {
    transform: translateY(-4px);
}

.ce-persona--secretaria {
    margin-top: 10px;
}

.ce-persona--presidente {
    margin-top: 0;
}

.ce-persona--vocal {
    margin-top: 22px;
}

.ce-nombre {
    font-weight: 600;
    font-size: 15px;
    margin: 12px 0 0;
    color: var(--texto);
    max-width: 160px;
    min-height: 34px;
}

.ce-cargo {
    font-size: 13px;
    color: var(--muted);
    margin: 4px 0 0;
    max-width: 160px;
}

.ce-persona--presidente .ce-nombre {
    font-size: 15px;
}

.ce-persona--secretaria .ce-nombre {
    font-size: 15px;
}

.ce-avatar {
    position: relative;
}

.ce-persona--presidente .ce-avatar {
    width: 132px;
    height: 132px;
}

.ce-persona--secretaria .ce-avatar {
    width: 116px;
    height: 116px;
}

.ce-persona--vocal .ce-avatar {
    width: 106px;
    height: 106px;
}

.ce-avatar__cara {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 2px 4px 10px rgba(0, 40, 85, 0.18);
    overflow: hidden;
    position: relative;
    clip-path: polygon(0 0, 100% 0, 100% 75%, 75% 100%, 0 100%);
}

.ce-persona--presidente .ce-avatar__cara {
    background: var(--azulFuerte);
}

.ce-persona--secretaria .ce-avatar__cara {
    background: var(--primario);
}

.ce-persona--vocal .ce-avatar__cara {
    background: var(--azulClaro);
}

.ce-icon {
    width: 45%;
    height: 45%;
    color: var(--blanco);
}

.ce-avatar__cara img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* proceso */
.procQD {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    width: 100%;
}

.pqp-track-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    max-width: 1000px;
}

.pqp-viewport {
    overflow: hidden;
    width: 100%;
}

.pqp-track {
    display: flex;
    transition: transform 0.4s ease;
}

.pqp-slide {
    display: flex;
    gap: 20px;
    min-width: 100%;
    justify-content: center;
    flex-wrap: wrap;
}

.pqp-arrow {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: var(--azulFuerte);
    color: var(--blanco);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 3px 0 0 #001a38;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
    font-size: 18px;
}

.pqp-arrow:hover:not(:disabled) {
    box-shadow: 0 2px 0 0 #001a38;
    transform: translateY(1px);
}

.pqp-arrow:disabled {
    opacity: 0.35;
    cursor: default;
    box-shadow: 0 3px 0 0 #001a38;
    transform: none;
}

.pqp-dots {
    display: flex;
    gap: 8px;
}

.pqp-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--borde);
    cursor: pointer;
    transition: background 0.2s ease;
    border: none;
    padding: 0;
}

.pqp-dot--active {
    background: var(--primario);
}

.cardQP {
    width: 280px;
    min-height: 260px;
    position: relative;
    background: var(--bg-white);
    border: 1px solid var(--borde);
    box-shadow: 0 8px 16px rgba(0, 40, 85, 0.08);
    padding: 22px 20px;
    border-top: 4px solid var(--card-accent, var(--primario));
    clip-path: polygon(0 0, calc(100% - 22px) 0, 100% 22px, 100% 100%, 22px 100%, 0 calc(100% - 22px));
}

.cardQP:nth-child(1) {
    --card-accent: var(--primario);
}

.cardQP:nth-child(2) {
    --card-accent: var(--azul);
}

.cardQP:nth-child(3) {
    --card-accent: var(--azulClaro);
}

.numpas {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--card-accent, var(--primario));
    color: var(--blanco);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 18px;
    z-index: 2;
}

.titlQP {
    padding-top: 4px;
    display: block;
    width: 200px;
    font-size: 16px;
    font-weight: 800;
    color: var(--texto) !important;
    margin: 0;
}

.textQP {
    margin-bottom: 0 !important;
}

.textQP,
.listQP {
    padding-top: 18px;
    font-size: 15px;
    font-weight: 500;
    color: var(--muted);
    line-height: 1.75;
    width: 220px;
}

.listQP {
    padding-left: 18px;
    margin: 0;
}

.listQP li {
    margin-bottom: 6px;
    line-height: 1.4;
}

/* docs */
.cont-but {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    width: 100%;
    max-width: 620px;
}

.btn-comt {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    flex: 1 1 280px;
    max-width: 380px;
}

.btn-comt:nth-child(3) {
    flex: 1 1 100%;
    max-width: 820px;
}

.btn-comt a {
    font-size: 15px;
    font-weight: 600;
    background: var(--bg-white);
    text-decoration: none;
    color: var(--texto);
    border-radius: 0 8px 8px 0;
    border-top: 1.5px solid var(--borde);
    border-right: 1.5px solid var(--borde);
    box-shadow: 0 6px 0 0 var(--borde);
    flex: 1;
    min-width: 0;
    height: 72px;
    display: flex;
    align-items: center;
    padding: 0 1.6rem;
    transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.2s ease, color 0.2s ease;
}

.btn-comt:nth-child(1) a:hover {
    background: var(--primario);
    box-shadow: 0 6px 0 0 #007a63;
    color: var(--blanco);
    transform: translateY(2px);
}

.btn-comt:nth-child(2) a:hover {
    background: var(--azul);
    box-shadow: 0 6px 0 0 #003a8f;
    color: var(--blanco);
    transform: translateY(2px);
}

.btn-comt:nth-child(3) a:hover {
    background: var(--azulClaro);
    box-shadow: 0 6px 0 0 #00719c;
    color: var(--blanco);
    transform: translateY(2px);
}

.icon-comt {
    width: 72px;
    height: 72px;
    border-radius: 8px 0 0 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.btn-comt:nth-child(1) .icon-comt {
    background: var(--primario);
    box-shadow: 0 6px 0 0 #007a63;
}

.btn-comt:nth-child(2) .icon-comt {
    background: var(--azul);
    box-shadow: 0 6px 0 0 #003a8f;
}

.btn-comt:nth-child(3) .icon-comt {
    background: var(--azulClaro);
    box-shadow: 0 6px 0 0 #00719c;
}

.icon-comt img {
    width: 32px;
}

/* responsive */
@media (max-width: 900px) {
    .cont-but {
        grid-template-columns: repeat(2, 1fr);
    }

    .btn-comt:nth-child(3) {
        grid-column: span 2;
    }

    .btn-comt:nth-child(3) a {
        max-width: 420px;
        margin: 0 auto;
    }

    .hero_comt {
        padding: 0 3rem;
        padding-top: 80px;
    }
}

@media (max-width: 800px) {
    .com-etic {
        padding: 0 2rem;
    }
}

@media (max-width: 650px) {
    .hero_comt {
        padding: 0 1rem !important;
        padding-top: 80px !important;
    }
}

@media (max-width: 600px) {

    .textQP,
    .listQP {
        width: 100% !important;
        text-align: justify;
    }

    .com-etic {
        padding: 0 2rem;
    }

    .container-etic {
        padding: 4rem 2rem;
        gap: 3.5rem;
    }

    .cont-but {
        grid-template-columns: 1fr;
    }

    .btn-comt:nth-child(3) {
        grid-column: span 1;
    }

    .btn-comt a {
        max-width: 100%;
    }

    .pqp-slide {
        flex-wrap: wrap;
    }

    .cardQP {
        width: 100%;
        max-width: 350px;
    }

    .numpas {
        display: none;
    }
}

/* 1920px+ */
@media (min-width: 1720px) {
    .com-etic {
        padding: 0 28rem;
    }

    .hero_comt {
        padding-top: 100px;
    }
}