
:root{
    --pcn-yellow:#F8F812;
    --pcn-black:#000;
    --pcn-gray:#f5f5f5;
}

body{
    font-family: Arial, Helvetica, sans-serif;
    color:#111;
}

a{
    text-decoration:none;
}

.topbar{
    background:var(--pcn-black);
    color:#fff;
    font-size:13px;
    padding:8px 0;
}

.topbar a{
    color:var(--pcn-yellow);
    font-weight:600;
}

.logo-header{
    max-height: 150px;
    width:auto;
}

.logo-area{
    background:#fff;
    padding:18px 0;
}

.navbar-pcn{
    background:#fff;
    border-top:4px solid var(--pcn-yellow);
    border-bottom:1px solid #eee;
}

.navbar-pcn .nav-link{
    color:#000;
    font-weight:700;
    text-transform:uppercase;
    font-size:14px;
    padding:16px 20px;
}

.navbar-pcn .nav-link:hover,
.navbar-pcn .nav-link.active{
    color:#000;
    background:var(--pcn-yellow);
}

.dropdown-menu{
    border:0;
    border-radius:0;
    box-shadow:0 12px 30px rgba(0,0,0,.12);
}

.dropdown-item{
    padding:12px 22px;
    font-size:15px;
}

.dropdown-item:hover{
    background:var(--pcn-yellow);
    color:#000;
}

.btn-pcn{
    background:var(--pcn-yellow);
    color:#000;
    border:2px solid var(--pcn-yellow);
    font-weight:800;
    border-radius:50px;
    padding:11px 24px;
    text-transform:uppercase;
}

.btn-pcn:hover{
    background:#000;
    color:var(--pcn-yellow);
    border-color:#000;
}

.hero{
    min-height:520px;
    background:
    linear-gradient(rgba(0,0,0,.58),rgba(0,0,0,.58)),
    url('assets/img/hero.jpg') center/cover no-repeat;
    display:flex;
    align-items:center;
}

.hero-box{
    max-width:720px;
    color:#fff;
}

.hero-badge{
    display:inline-block;
    background:var(--pcn-yellow);
    color:#000;
    padding:8px 18px;
    font-weight:800;
    border-radius:50px;
    margin-bottom:18px;
}

.section-padding{
    padding:80px 0;
}

.section-title{
    font-weight:800;
    color:#000;
    margin-bottom:12px;
}

.section-subtitle{
    color:#666;
    max-width:650px;
    margin:0 auto 40px auto;
}

.account-card{
    background:#000;
    color:#fff;
    border-radius:24px;
    padding:35px 25px;
    height:100%;
    transition:.3s;
    border:3px solid transparent;
    position:relative;
    overflow:hidden;
}

.account-card:hover{
    transform:translateY(-8px);
    border-color:var(--pcn-yellow);
}

.account-card .icon{
    width:86px;
    height:86px;
    border-radius:50%;
    background:var(--pcn-yellow);
    color:#000;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:42px;
    margin:0 auto 22px;
}

.account-card h3{
    font-size:34px;
    font-weight:900;
    color:var(--pcn-yellow);
}

.info-card{
    background:#fff;
    border-radius:20px;
    overflow:hidden;
    box-shadow:0 10px 30px rgba(0,0,0,.08);
    height:100%;
    transition:.3s;
}

.info-card:hover{
    transform:translateY(-6px);
}

.info-card img{
    width:100%;
    height:230px;
    object-fit:cover;
}

.info-card-body{
    padding:24px;
}

.bg-soft{
    background:#f7f7f7;
}

.stats-section{
    background:#000;
    color:#fff;
}

.stat-number{
    color:var(--pcn-yellow);
    font-weight:900;
    font-size:34px;
}

.news-card{
    border:0;
    box-shadow:0 8px 24px rgba(0,0,0,.08);
    border-radius:18px;
    overflow:hidden;
    height:100%;
}

.news-card img{
    height:210px;
    object-fit:cover;
}

.news-tag{
    display:inline-block;
    background:var(--pcn-yellow);
    color:#000;
    font-size:12px;
    font-weight:800;
    padding:5px 10px;
    border-radius:30px;
}

.whatsapp-float{
    position:fixed;
    right:20px;
    bottom:20px;
    width:62px;
    height:62px;
    border-radius:50%;
    background:#25D366;
    color:#fff;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:34px;
    z-index:9999;
    box-shadow:0 10px 25px rgba(0,0,0,.25);
}

.whatsapp-float:hover{
    color:#fff;
    transform:scale(1.05);
}

footer{
    background:#000;
    color:#fff;
}

.footer-bottom{
    background:var(--pcn-yellow);
    color:#000;
    font-weight:700;
    font-size:13px;
}

@media(max-width:768px){
    .topbar{
        text-align:center;
    }

    .topbar .d-flex{
        gap:8px;
    }

    .logo-header{
        max-height:80px;
    }

    .hero{
        min-height:430px;
        text-align:center;
    }

    .hero h1{
        font-size:38px;
    }

    .section-padding{
        padding:55px 0;
    }

    .navbar-pcn .nav-link{
        padding:12px;
    }
}


/* HERO SLIDER */

.hero-slide{
    min-height: 600px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.hero-slide .overlay{
    position:absolute;
    width:100%;
    height:100%;
    background:rgba(0,0,0,0.6);
    top:0;
    left:0;
}

.hero-box{
    position:relative;
    z-index:2;
    max-width:600px;
}

.hero-box h1{
    font-size:58px;
    font-weight:900;
}

.hero-box p{
    font-size:18px;
    margin:15px 0 25px;
}

.badge-pcn{
    display:inline-block;
    background:#F8F812;
    color:#000;
    padding:8px 18px;
    border-radius:50px;
    font-weight:800;
    margin-bottom:15px;
}

.carousel-indicators button{
    background:#F8F812;
    width:10px;
    height:10px;
    border-radius:50%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon{
    filter: invert(1);
}

/* MOBILE */
@media(max-width:768px){

    .hero-slide{
        height:420px;
    }

    .hero-box h1{
        font-size:34px;
    }

}


.contador-rendicion{
    background:
        linear-gradient(rgba(0,0,0,.45), rgba(0,0,0,.45)),
        url('../img/transparencia_ins.jpg') center/cover no-repeat fixed;
}

.contador-overlay{
    padding:90px 0;
}

.contador-rendicion h2{
    font-size:42px;
    font-weight:800;
    margin-bottom:10px;
    color: #fff;
}

.linea-amarilla{
    width:70px;
    height:2px;
    background:#F8F812;
    margin:0 auto 18px auto;
}

.subtitulo-contador{
    font-size:16px;
    margin-bottom:35px;
    color: #fff;
}

.contador-item h3{
    font-size:36px;
    font-weight:900;
    color:#fff;
    margin-bottom:6px;
}

.contador-item p{
    color:#F8F812;
    font-size:18px;
    font-weight:600;
    line-height:1.05;
    margin:0;
}

.contador-divider{
    max-width:760px;
    height:1px;
    background:rgba(255,255,255,.18);
    margin:45px auto 35px auto;
}

@media(max-width:768px){
    .contador-overlay{
        padding:60px 0;
    }

    .contador-rendicion h2{
        font-size:32px;
    }

    .contador-item h3{
        font-size:30px;
    }

    .contador-item p{
        font-size:15px;
    }
}

.account-link{
    display:block;
    height:100%;
    text-decoration:none;
    color:inherit;
}

.account-card{
    cursor:pointer;
}

/* BOTON */
.btn-ver-mas{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    background:#F8F812;
    color:#000;
    font-weight:800;
    padding:12px 28px;
    border-radius:50px;
    font-size:15px;
    transition:all 0.3s ease;
}

/* EFECTO HOVER */
.account-card:hover .btn-ver-mas{
    background:#fff;
    transform:scale(1.05);
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-image: none; /* eliminamos icono default */
    width: 50px;
    height: 50px;
    position: relative;
}

/* FLECHA IZQUIERDA */
.carousel-control-prev-icon::after {
    content: "‹";
    font-size: 60px;
    color: #F8F812;
    font-weight: bold;
    position: absolute;
    top: -15px;
    left: 5px;
}

/* FLECHA DERECHA */
.carousel-control-next-icon::after {
    content: "›";
    font-size: 60px;
    color: #F8F812;
    font-weight: bold;
    position: absolute;
    top: -15px;
    left: 5px;
}

.categorias-section{
    background:#fff;
}

.categoria-card{
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    min-height:230px;
    background:#fff;
    border:2px solid #000;
    border-bottom:8px solid #F8F812;
    border-radius:22px;
    text-align:center;
    padding:28px 18px;
    color:#000;
    transition:.3s;
    height:100%;
}

.categoria-card:hover{
    background:#000;
    color:#fff;
    transform:translateY(-6px);
    border-color:#000;
}

.categoria-icon{
    width:76px;
    height:76px;
    border-radius:50%;
    background:#F8F812;
    color:#000;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:36px;
    margin-bottom:20px;
}

.categoria-card h5{
    font-weight:900;
    text-transform:uppercase;
    font-size:17px;
    min-height:42px;
    display:flex;
    align-items:center;
    justify-content:center;
}

.categoria-card span{
    margin-top:12px;
    font-weight:800;
    font-size:14px;
    color:#000;
    background:#F8F812;
    padding:8px 18px;
    border-radius:50px;
}

@media(max-width:768px){
    .categoria-card{
        min-height:210px;
        padding:24px 12px;
    }

    .categoria-card h5{
        font-size:14px;
    }

    .categoria-icon{
        width:64px;
        height:64px;
        font-size:30px;
    }
}

.account-card.disabled {
    opacity: 0.7;
}

.account-card.disabled .btn-ver-mas {
    background: #ccc;
    color: #000;
}

.cta-section{
    background:
    linear-gradient(rgba(0,0,0,.7), rgba(0,0,0,.85)),
    url('../img/cta-bg.jpeg') center/cover no-repeat;
    color:#fff;
}

.cta-overlay{
    padding:90px 0;
}

.cta-section h2{
    font-size:42px;
    font-weight:900;
}

.cta-section p{
    max-width:650px;
    margin:20px auto;
    font-size:18px;
}

.categoria-card:hover{
    background:#000;
    color:#fff;
    transform:translateY(-6px);
}

.categoria-card:hover span{
    background:#fff;
}

.linea-titulo{
    width:60px;
    height:4px;
    background:#F8F812;
    margin:12px auto 20px auto;
    border-radius:2px;
}

html{
    scroll-behavior:smooth;
}

section{
    scroll-margin-top:95px;
}


/* HERO SLIDER */

.hero-slide{
    min-height:600px;
    background-size:cover;
    background-position:center;
    position:relative;
    display:flex;
    align-items:center;
}

/* OVERLAY (recomendado activar) */
.hero-slide::before{
    content:"";
    position:absolute;
    width:100%;
    height:100%;
    top:0;
    left:0;
    background:rgba(0,0,0,0.45);
}

/* CONTENIDO */
.hero-slide .container{
    position:relative;
    z-index:2;
}

/* TEXTO */
.hero-box{
    max-width:650px;
}

.hero-box h1{
    font-size:58px;
    font-weight:900;
}

.hero-box p{
    font-size:18px;
    margin:15px 0 25px;
}

/* BADGE */
.badge-pcn{
    display:inline-block;
    background:#F8F812;
    color:#000;
    padding:8px 18px;
    border-radius:50px;
    font-weight:800;
    margin-bottom:15px;
}

/* INDICADORES */
.carousel-indicators button{
    background:#F8F812;
    width:10px;
    height:10px;
    border-radius:50%;
}

/* FLECHAS */
.carousel-control-prev-icon,
.carousel-control-next-icon{
    background-image:none;
    width:50px;
    height:50px;
    position:relative;
}

.carousel-control-prev-icon::after{
    content:"‹";
    font-size:55px;
    color:#F8F812;
    position:absolute;
    top:-12px;
    left:8px;
}

.carousel-control-next-icon::after{
    content:"›";
    font-size:55px;
    color:#F8F812;
    position:absolute;
    top:-12px;
    left:8px;
}

/* MOBILE */
@media(max-width:768px){

    .hero-slide{
        min-height:420px;
        text-align:center;
    }

    .hero-box{
        margin:0 auto;
    }

    .hero-box h1{
        font-size:34px;
    }

    .hero-box p{
        font-size:16px;
    }

}

.hero-box{
    animation: fadeUp 1s ease;
}

@keyframes fadeUp{
    from{
        opacity:0;
        transform:translateY(30px);
    }
    to{
        opacity:1;
        transform:translateY(0);
    }
}


.contador-item{
    padding:10px 8px;
}

.contador-item h3{
    font-size:34px;
    font-weight:900;
    color:#fff;
    margin-bottom:6px;
    white-space:nowrap;
}

.contador-item p{
    color:#F8F812;
    font-size:16px;
    font-weight:700;
    line-height:1.1;
    margin:0;
}

@media(max-width:768px){

    .contador-overlay{
        padding:55px 0;
    }

    .contador-rendicion h2{
        font-size:30px;
    }

    .contador-item{
        max-width:310px;
        margin:0 auto;
        padding:18px 14px;
        background:rgba(0,0,0,.45);
        border-radius:18px;
    }

    .contador-item h3{
        font-size:30px;
        white-space:nowrap;
    }

    .contador-item p{
        font-size:15px;
    }

    .contador-divider{
        margin:25px auto;
    }
}

@media(max-width:380px){
    .contador-item h3{
        font-size:26px;
    }
}




















