.pdt0{padding-top:0!important}.pdt5{padding-top:5px!important}.pdt4{padding-top:4px!important}.pdt3{padding-top:3px!important}.pdt2{padding-top:2px!important}.pdt1{padding-top:1px!important}.pdt10{padding-top:10px!important}.pdt11{padding-top:11px!important}.pdt12{padding-top:12px!important}.pdt13{padding-top:13px!important}.pdt14{padding-top:14px!important}.pdt15{padding-top:15px!important}.pdt20{padding-top:20px!important}.pdt25{padding-top:25px!important}.pdt30{padding-top:30px!important}.pdt35{padding-top:35px!important}.pdt40{padding-top:40px!important}.pdt45{padding-top:45px!important}.pdt50{padding-top:50px!important}.pdb4{padding-bottom:4px!important}.pdb5{padding-bottom:5px!important}.pdb8{padding-bottom:8px!important}.pdb10{padding-bottom:10px!important}.pdb12{padding-bottom:12px!important}.pdb15{padding-bottom:15px!important}.pdb20{padding-bottom:20px!important}.pdb25{padding-bottom:25px!important}.pdb30{padding-bottom:30px!important}.pdb35{padding-bottom:35px!important}.pdb40{padding-bottom:40px!important}.pdb45{padding-bottom:45px!important}.pdb50{padding-bottom:50px!important}.pdb55{padding-bottom:55px!important}.pdb60{padding-bottom:60px!important}.pdl0{padding-left:0!important}.pdl5{padding-left:5px!important}.pdl10{padding-left:10px!important}.pdl15{padding-left:15px!important}.pdr5{padding-right:5px!important}.pdr10{padding-right:10px!important}.pdr15{padding-right:15px!important}.pdr20{padding-right:20px!important}.pdr25{padding-right:25px!important}.pdr30{padding-right:30px!important}.pdr35{padding-right:35px!important}.pdr40{padding-right:40px!important}.mgr0{margin-right:0!important}.mgr3{margin-right:3px!important}.mgr5{margin-right:5px!important}.mgr6{margin-right:6px!important}.mgr7{margin-right:7px!important}.mgr8{margin-right:8px!important}.mgr9{margin-right:9px!important}.mgr10{margin-right:10px!important}.mgr14{margin-right:14px!important}.mgr15{margin-right:15px!important}.mgr20{margin-right:20px!important}.mgr25{margin-right:25px!important}.mgr30{margin-right:30px!important}.mgr35{margin-right:35px!important}.mgr40{margin-right:40px!important}.mgr45{margin-right:45px!important}.mgr50{margin-right:50px!important}.mgl0{margin-left:0!important}.mgl5{margin-left:5px!important}.mgl10{margin-left:10px!important}.mgl15{margin-left:15px!important}.mgl20{margin-left:20px!important}.mgl25{margin-left:25px!important}.mgl30{margin-left:30px!important}.mgl35{margin-left:35px!important}.mgl40{margin-left:40px!important}.mgl45{margin-left:45px!important}.mgl50{margin-left:50px!important}.mgl60{margin-left:60px!important}.mgl70{margin-left:70px!important}.mgl80{margin-left:80px!important}.mgl90{margin-left:90px!important}.mgt0{margin-top:0!important}.mgt1{margin-top:1px!important}.mgt2{margin-top:2px!important}.mgt3{margin-top:3px!important}.mgt4{margin-top:4px!important}.mgt5{margin-top:5px!important}.mgt10{margin-top:10px!important}.mgt15{margin-top:15px!important}.mgt20{margin-top:20px!important}.mgt22{margin-top:22px!important}.mgt25{margin-top:25px!important}.mgt30{margin-top:30px!important}.mgt35{margin-top:35px!important}.mgt40{margin-top:40px!important}.mgt45{margin-top:45px!important}.mgt50{margin-top:50px!important}.mgt60{margin-top:60px!important}.mgb0{margin-bottom:0!important}.mgb5{margin-bottom:5px!important}.mgb10{margin-bottom:10px!important}.mgb12{margin-bottom:12px!important}.mgb15{margin-bottom:15px!important}.mgb20{margin-bottom:20px!important}.mgb22{margin-bottom:22px!important}.mgb24{margin-bottom:24px!important}.mgb25{margin-bottom:25px!important}.mgb30{margin-bottom:30px!important}.mgb32{margin-bottom:32px!important}.mgb35{margin-bottom:35px!important}.mgb40{margin-bottom:40px!important}.mgb45{margin-bottom:45px!important}.mgb50{margin-bottom:50px!important}.mgmt1{margin-top:-1px!important}.mgmt2{margin-top:-2px!important}.mgmt3{margin-top:-3px!important}.mgmt4{margin-top:-4px!important}.mgmt5{margin-top:-5px!important}.mgmt6{margin-top:-6px!important}.mgmt7{margin-top:-7px!important}.mgmt8{margin-top:-8px!important}.mgmt9{margin-top:-9px!important}.mgmt10{margin-top:-10px!important}.mgmt15{margin-top:-15px!important}.mgmt20{margin-top:-20px!important}.mgmt25{margin-top:-25px!important}.mgmt30{margin-top:-30px!important}.mgmt35{margin-top:-35px!important}.mgmt40{margin-top:-40px!important}.mgmt45{margin-top:-45px!important}.mgmt50{margin-top:-50px!important}.mgmb1{margin-bottom:-1px!important}.mgmb2{margin-bottom:-2px!important}.mgmb3{margin-bottom:-3px!important}.mgmb4{margin-bottom:-4px!important}.mgmb5{margin-bottom:-5px!important}.mgmb10{margin-bottom:-10px!important}.mgmb15{margin-bottom:-15px!important}.mgmb20{margin-bottom:-20px!important}.mgmb25{margin-bottom:-25px!important}.mgmb30{margin-bottom:-30px!important}.mgmb35{margin-bottom:-35px!important}.mgmb40{margin-bottom:-40px!important}.mgmb45{margin-bottom:-45px!important}.mgmb50{margin-bottom:-50px!important}.mglm5{margin-left:-5px!important}.mglm10{margin-left:-10px!important}.mglm15{margin-left:-15px!important}.mglm20{margin-left:-20px!important}.mglm25{margin-left:-25px!important}.mglm30{margin-left:-30px!important}.f10{font-size:10px!important}.f11{font-size:11px!important}.f12{font-size:12px!important}.f13{font-size:13px!important}.f14{font-size:14px!important}.f15{font-size:15px!important}.f16{font-size:16px!important}.f17{font-size:17px!important}.f18{font-size:18px!important}.f19{font-size:19px!important}.f20{font-size:20px!important}

.error{color:rgb(196, 34, 34) !important;} 

.iconos-contacto{
    font-size: 16px;
    margin-right: 15px;
}

.lista-contacto{
    margin-bottom: 25px;
}

.textbox-contacto{
    min-height: 153px;
}

.logo-grande{
    transform: scale(1.7)
}

@media (max-width: 575px) {
    .logo-grande {
        transform: scale(1.3)
    }
}

.slider-paragraph {
    margin: 8px 0px 0px;  }

/* Ajusta el texto del banner en pantallas pequeñas */
@media (max-width: 768px) {
    .slider-heading {
      font-size: 1.5em !important;
      line-height: 1.3 !important;
      padding: 0 10px !important;
    }
  
    .slider-paragraph {
      line-height: 1.5 !important;
      padding: 0 15px !important;
    }
}

@media (max-width: 1400px) {
    .slider-heading {
      font-size: 50px !important;
     
    }
}

@media (max-width: 1100px) {
    .slider-heading {
        font-size: 40px !important;
    }
    .slider-paragraph {
        font-size: 15px !important;
    }
}

@media (max-width: 880px) {
    .slider-heading {
        font-size: 30px !important;
    }
    .slider-paragraph {
        font-size: 13px !important;
    }
}

@media (max-width: 650px) {
    .slider-heading {
        font-size: 25px !important;
    }

}


@media (max-width: 478px) {
    .slider-heading {
      font-size: 1.1em !important;
      line-height: 1.3 !important;
      padding: 0 10px !important;
    }
  
}

@media (max-width: 375px) {
    .slider-paragraph {
        font-size: 11px !important;
        margin: 15px;
    }
}

.checkbox-aviso{
    left:20px !important;
}

/* Solución responsive general para toda la web (1200px a menor) */
@media (max-width: 1200px) {
    h1, h2, h3, h4, h5, h6, 
    .heading, .main_heading, .heading_mainc, .title, .heading_font_sm {
        font-size: clamp(26px, 4vw, 42px) !important;
        line-height: 1.25 !important;
        word-wrap: break-word !important;
    }
    .colored_heading {
        font-size: clamp(14px, 2vw, 18px) !important;
    }
    p, .info, .card-text, .slider-paragraph {
        font-size: clamp(14px, 1.5vw, 16px) !important;
        line-height: 1.6 !important;
    }
    .card-title {
        font-size: clamp(20px, 3vw, 26px) !important;
    }
}

@media (max-width: 768px) {
    /* Reseteo fuerte para móviles */
    h1, h2, h3, h4, h5, h6, 
    .heading, .main_heading, .heading_mainc, .title, .heading_font_sm {
        font-size: clamp(22px, 6vw, 28px) !important;
        margin-bottom: 15px !important;
        word-wrap: break-word !important;
        hyphens: auto !important;
    }
    
    p, .info, .card-text, .address-text, .company-about {
        font-size: 15px !important;
        line-height: 1.6 !important;
        margin-bottom: 15px !important;
    }
    
    .info_width {
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 10px !important;
    }

    .card-title {
        font-size: 20px !important;
        margin-bottom: 10px !important;
    }
    
    .colored_heading {
        font-size: 16px !important;
        margin-bottom: 5px !important;
    }
    
    /* Espaciado de secciones más amigable en móvil */
    .section-padding {
        padding-top: 40px !important;
        padding-bottom: 40px !important;
    }
    
    .slider-section, section {
        overflow-x: hidden !important; /* Prevenir scroll horizontal */
    }
    
    .testimonial-box {
        min-height: auto !important;
        padding: 20px !important;
    }
    
    .btn {
        font-size: 14px !important;
        padding: 10px 20px !important;
        white-space: normal !important;
        height: auto !important;
    }
}

@media (max-width: 480px) {
    h1, .slider-heading {
        font-size: 24px !important;
    }
    h2, .heading, .main_heading, .heading_mainc, .title {
        font-size: 22px !important;
    }
    h3, h4, .card-title {
        font-size: 18px !important;
    }
    .slider-paragraph {
        font-size: 14px !important;
    }
}

/* Fixes solicitados: Testimonial boxes, Portadas de imágenes y Espaciado de cartas */
.testimonial-box-custom {
    border-radius: 15px;
    text-align: center;
    cursor: default;
    min-height: 130px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.testimonial-box-bg-1 { background-color: #0976a1; }
.testimonial-box-bg-2 { background-color: #1b8dba; }
.testimonial-box-bg-3 { background-color: #2ea0cd; }
.testimonial-box-bg-4 { background-color: #39b7e8; }
.testimonial-text {
    color: #ffffff !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

.cover-img-container {
    position: relative;
    overflow: hidden;
    height: 100%;
    padding: 0 !important;
    border-radius: 15px;
    margin-bottom: 30px; /* Margen para separar las tarjetas */
}
.cover-img-custom {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.cover-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.85);
    padding: 15px;
    text-align: center;
}
.cover-caption .card-title {
    margin-bottom: 0 !important;
    margin-top: 0 !important;
}

/* Reducir los enormes márgenes por defecto de .cover .card-title en escritorio */
.cover .card-title {
    margin-top: 15px !important;
    margin-bottom: 15px !important;
}

.pad-20 {
    padding: 20px !important;
}


