:root{
    --ps-red:#c30000;
    --ps-dark:#0d0d0d;
    --ps-card:#1a1a1a;
    --ps-text:#ffffff;
}

body{
    background:#0d0d0d;
    color:#fff;
}

section{
    padding:100px 0;
}

.section-title{
    text-align:center;
    margin-bottom:60px;
}

.section-title span{
    color:var(--ps-red);
    text-transform:uppercase;
    letter-spacing:3px;
}

.hero-logo{
    max-width:350px;
}

.service-card,
.feature-box{
    background:#1a1a1a;
    border-top:3px solid var(--ps-red);
    padding:30px;
    height:100%;
}

/* =====================================================
   NAVBAR
===================================================== */

.navbar-ps{
    background: rgba(0,0,0,.95);
    border-bottom: 1px solid rgba(255,255,255,.08);
    padding: 15px 0;
    transition: all .3s ease;
}

.navbar-ps.scrolled{
    background: #000;
    box-shadow: 0 5px 25px rgba(0,0,0,.35);
}

.navbar-brand img{
    max-height: 50px;
}

.navbar-nav .nav-link{
    color: #ffffff;
    margin: 0 12px;
    font-weight: 500;
    transition: .3s;
}

.navbar-nav .nav-link:hover{
    color: #c30000;
}

.navbar-nav .nav-link.active{
    color: #c30000;
}

.btn-ps{
    background: #c30000;
    color: #fff;
    border-radius: 0;
    padding: 10px 24px;
    font-weight: 600;
}

.btn-ps:hover{
    background: #e00000;
    color: #fff;
}

body{
    background:#0d0d0d;
    color:#ffffff;
    padding-top:90px;
}


/* =====================================
   SERVICIOS
===================================== */

.service-card{

    position: relative;

    min-height: 260px;

    overflow: hidden;

    border-top: 3px solid #c30000;

    background-size: cover;
    background-position: center center;

    transition: all .3s ease;
}

.service-overlay{

    position: absolute;

    inset: 0;

    background: rgba(0,0,0,.82);

    transition: all .3s ease;
}

.service-content{

    position: relative;

    z-index: 2;

    padding: 35px;

    color: #fff;

    height: 100%;

    display: flex;

    flex-direction: column;

    justify-content: flex-end;
}

.service-card h4{

    font-size: 1.8rem;

    margin-bottom: 15px;

    font-weight: 600;
}

.service-card p{

    margin-bottom: 0;

    color: rgba(255,255,255,.9);
}

.service-card:hover{

    transform: translateY(-5px);
}

.service-card:hover .service-overlay{

    background: rgba(0,0,0,.65);
}

/* =====================================
   IMÁGENES DE FONDO
===================================== */

.service-cctv{

    background-image:
    url('../img/web/img_cam_ps.png');
}

.service-corrientes{

    background-image:
    url('../img/web/img_debiles_ps.png');
}

.service-acceso{

    background-image:
    url('../img/web/img_accesos_ps.png');
}

/* =====================================
   VENTAJAS
===================================== */

#ventajas{

    padding:100px 0;

    background:#111111;
}

.feature-box{

    position:relative;

    overflow:hidden;

    background:#1a1a1a;

    border-top:3px solid #c30000;

    padding:40px 30px;

    min-height:320px;

    display:flex;

    flex-direction:column;

    justify-content:flex-start;

    align-items:center;

    text-align:center;

    transition:all .35s ease;
}

.feature-box::before{

    content:'';

    position:absolute;

    top:0;
    left:0;

    width:100%;
    height:100%;

    background:
    radial-gradient(
        circle at top right,
        rgba(195,0,0,.15),
        transparent 65%
    );

    opacity:0;

    transition:all .35s ease;
}

.feature-box:hover{

    transform:translateY(-8px);

    box-shadow:
    0 10px 30px rgba(195,0,0,.25);
}

.feature-box:hover::before{

    opacity:1;
}

.feature-icon{

    font-size:3.5rem;

    color:#c30000;

    margin-bottom:25px;

    transition:all .35s ease;
}

.feature-box:hover .feature-icon{

    transform:scale(1.15);

    color:#ff0000;
}

.feature-box h4{

    color:#ffffff;

    font-size:1.8rem;

    font-weight:600;

    margin-bottom:20px;
}

.feature-box p{

    color:rgba(255,255,255,.85);

    line-height:1.8;

    margin-bottom:0;
}

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

@media (max-width: 991px){

    .feature-box{

        min-height:auto;
    }

}

@media (max-width: 768px){

    .feature-box{

        padding:35px 25px;
    }

    .feature-icon{

        font-size:3rem;
    }

    .feature-box h4{

        font-size:1.5rem;
    }

}

/* =====================================
   SECTORES
===================================== */

#sectores{

    padding:100px 0;

    background:#0f0f0f;
}

.sector-card{

    position:relative;

    min-height:320px;

    border-top:3px solid #c30000;

    overflow:hidden;

    background-size:cover;
    background-position:center center;
    background-repeat:no-repeat;

    transition:all .4s ease;

    cursor:pointer;
}

.sector-overlay{

    position:absolute;

    inset:0;

    background:rgba(0,0,0,.70);

    transition:all .4s ease;
}

.sector-content{

    position:absolute;

    inset:0;

    z-index:2;

    padding:25px;

    display:flex;

    flex-direction:column;

    justify-content:center;

}
.sector-content{

    position:absolute;

    inset:0;

    z-index:2;

    padding:25px;

    display:flex;

    flex-direction:column;

    justify-content:flex-end;
}

.sector-content span{

    position:absolute;

    top:25px;

    left:25px;

    font-size:2rem;

    font-weight:700;

    color:#c30000;
}
.sector-content p{

    max-width:220px;

    line-height:1.6;
}

.sector-card:hover{

    transform:translateY(-8px);

    box-shadow:0 15px 30px rgba(195,0,0,.25);
}

.sector-card:hover .sector-overlay{

    background:rgba(0,0,0,.40);
}

/* =====================================
   IMÁGENES
===================================== */

.sector-residencial{

    background-image:
    url('../img/web/sector_residencial.jpg');
}

.sector-empresarial{

    background-image:
    url('../img/web/sector_empresarial.jpg');
}

.sector-industrial{

    background-image:
    url('../img/web/sector_industrial.jpg');
}

.sector-condominios{

    background-image:
    url('../img/web/sector_condominios.jpg');
}

.sector-comercio{

    background-image:
    url('../img/web/sector_comercio.jpg');
}

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

@media (max-width: 991px){

    .sector-card{

        min-height:280px;
    }

    .sector-content span{

        font-size:2.5rem;
    }

    .sector-content h4{

        font-size:1.6rem;
    }
}


.sector-residencial{
    background-image:url('../img/web/sector_residencial.jpg');
}

.sector-empresarial{
    background-image:url('../img/web/sector_empresarial.jpg');
}

.sector-industrial{
    background-image:url('../img/web/sector_industrial.jpg');
}

.sector-condominios{
    background-image:url('../img/web/sector_condominios.jpg');
}

.sector-comercio{
    background-image:url('../img/web/sector_comercio.jpg');
}

/* =====================================
   PAGINA CONTACTO
===================================== */

#contacto-page{

    padding:100px 0;

    background:#111111;
}

.contact-info{

    margin-top:40px;
}

.contact-item{

    display:flex;

    align-items:flex-start;

    gap:20px;

    margin-bottom:30px;
}

.contact-item i{

    width:55px;
    height:55px;

    display:flex;

    align-items:center;
    justify-content:center;

    background:#1a1a1a;

    border:1px solid rgba(195,0,0,.30);

    color:#c30000;

    font-size:1.3rem;
}

.contact-item h5{

    color:#ffffff;

    margin-bottom:5px;

    font-weight:600;
}

.contact-item p{

    color:rgba(255,255,255,.75);

    margin:0;
}

.contact-benefits{

    margin-top:40px;
}

.contact-benefits ul{

    list-style:none;

    padding:0;

    margin:0;
}

.contact-benefits li{

    color:#ffffff;

    margin-bottom:15px;

    font-size:1rem;
}

.contact-benefits i{

    color:#c30000;

    margin-right:10px;
}

/* =====================================
   FORMULARIO
===================================== */

.contact-form-box{

    background:#1a1a1a;

    border-top:3px solid #c30000;

    padding:40px;
}

.contact-form-box .form-control,
.contact-form-box .form-select{

    background:#111111;

    border:1px solid #2d2d2d;

    color:#ffffff;

    min-height:55px;
}

.contact-form-box textarea.form-control{

    min-height:160px;
}

.contact-form-box .form-control:focus,
.contact-form-box .form-select:focus{

    background:#111111;

    color:#ffffff;

    border-color:#c30000;

    box-shadow:none;
}

.contact-form-box .form-control::placeholder{

    color:rgba(255,255,255,.50);
}

.contact-form-box .form-select{

    color:rgba(255,255,255,.80);
}

.contact-form-box option{

    background:#111111;

    color:#ffffff;
}

/* =====================================
   SERVICIOS RAPIDOS
===================================== */

#servicios-rapidos{

    padding:100px 0;

    background:#0f0f0f;
}

.mini-service-card{

    background:#1a1a1a;

    border-top:3px solid #c30000;

    padding:35px 25px;

    text-align:center;

    transition:.35s ease;

    cursor:pointer;

    height:100%;
}

.mini-service-card:hover{

    transform:translateY(-8px);

    box-shadow:
    0 10px 25px rgba(195,0,0,.20);
}

.mini-service-card h4{

    color:#ffffff;

    margin:0;

    font-weight:600;
}

/* =====================================
   CTA CONTACTO
===================================== */

#cta-contacto{

    padding:100px 0;

    background:#111111;
}

.cta-box{

    background:#1a1a1a;

    border-top:3px solid #c30000;

    padding:60px;

    text-align:center;
}

.cta-box h2{

    color:#ffffff;

    font-size:2.5rem;

    margin-bottom:20px;
}

.cta-box p{

    color:rgba(255,255,255,.80);

    max-width:700px;

    margin:0 auto 30px auto;

    line-height:1.8;
}

/* =====================================
   BOTON CORPORATIVO
===================================== */

.btn-ps{

    background:#c30000;

    color:#ffffff;

    padding:14px 35px;

    border:none;

    border-radius:0;

    text-decoration:none;

    font-weight:600;

    transition:.3s ease;
}

.btn-ps:hover{

    background:#ff0000;

    color:#ffffff;

    transform:translateY(-2px);
}

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

@media (max-width: 991px){

    #contacto-page,
    #servicios-rapidos,
    #cta-contacto{

        padding:80px 0;
    }

    .contact-form-box{

        padding:30px;
    }

    .cta-box{

        padding:40px 30px;
    }

    .cta-box h2{

        font-size:2rem;
    }
}

@media (max-width: 768px){

    .contact-item{

        gap:15px;
    }

    .contact-item i{

        width:45px;
        height:45px;
    }

    .cta-box h2{

        font-size:1.8rem;
    }
}
