/**
* Template Name: CGR - v2.0
* Author: Dirección General de Tecnología de Información
* License: https://bootstrapmade.com/license/
*/

/*--------------------------------------------------------------
# General
--------------------------------------------------------------*/
body {
    font-family: "Open Sans", sans-serif;
    color: #222222;

}

a {
    color: #000000;
    text-decoration: none;
}

a:hover {
    color: #000000;
    text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Raleway", sans-serif;
}

/*--------------------------------------------------------------
# Back to top button
--------------------------------------------------------------*/
.back-to-top {
    position: fixed;
    visibility: hidden;
    opacity: 0;
    right: 15px;
    bottom: 15px;
    z-index: 996;
    background: #0058a0;
    width: 40px;
    height: 40px;
    border-radius: 4px;
    transition: all 0.4s;
}

.back-to-top i {
    font-size: 28px;
    color: #fff;
    line-height: 0;
}

.back-to-top:hover {
    background: #b41111;
    color: #fff;
}

.back-to-top.active {
    visibility: visible;
    opacity: 1;
}

/*--------------------------------------------------------------
# Disable aos animation delay on mobile devices
--------------------------------------------------------------*/
@media screen and (max-width: 768px) {
    [data-aos-delay] {
        transition-delay: 0 !important;
    }
    .about-img{
        margin-left: -60px !important;
        width: 80% !important;
    }
    .nameResponsive{
    text-align: center !important;
    }
}
/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
#header {
    transition: all 0.5s;
    z-index: 997;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    background: #333333e8 !important;
    width: 100%;
    left: 0;
    right: 0;
}

#header.header-scrolled,
#header.header-inner-pages {
    background: #2e2e2eee !important;
}

#header .logo {
    font-size: 28px;
    margin: 0;
    padding: 0;
    line-height: 1;
    font-weight: 700;
    letter-spacing: 0.5px;
}

#header .logo a {
    color: #fff;
}

#header .logo img {
    max-height: 100px;
}
.fixed-top {
    left: 0;
    right: 0;
}

/*--------------------------------------------------------------
# Get Startet Button
--------------------------------------------------------------*/
.get-started-btn {
    margin-left: 30px;
    background: #0058a0;
    color: #fff;
    border-radius: 4px;
    padding: 8px 25px;
    white-space: nowrap;
    transition: 0.3s;
    font-size: 14px;
    font-weight: 600;
    display: inline-block;
}

.get-started-btn1 {
    margin-left: 1000px;
    background: #b41111;
    color: #fff;
    border-radius: 5px;
    padding: 8px 15px;
    white-space: nowrap;
    transition: 0.5s;
    font-size: 14px;
    font-weight: 600;
    display: inline-block;
}

.get-started-btn1:hover {
    border-color: #fff;
}
.get-started-btn1 i {
    font-size: 15px;
    margin-left: 3px;
}

.get-started-btn:hover {
    background: #0066aa;
    color: #fff;
}

@media (max-width: 992px) {
    .get-started-btn {
        margin: 0 15px 0 0;
        padding: 6px 18px;
    }
    .fixed-top {
        left: 0px;
    }
}

/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/
@media (max-width: 1366px) {
    .navbar .dropdown .dropdown ul {
        left: -90%;
    }

    .navbar .dropdown .dropdown:hover > ul {
        left: -100%;
    }
    .about-img{
        margin-left: 80px !important;
        width: 80% !important;
    }
    .nameResponsive{
    text-align: center !important;
    }
}

.navbar {
    padding: 0;
    margin-left: 32px;
}

.navbar ul {
    margin: 0;
    padding: 0;
    display: flex;
    list-style: none;
}
.navbar li {
    position: relative;
}

.navbar > ul > li {
    position: relative;
    white-space: nowrap;
    margin: 0 12px;
}

.navbar a,
.navbar a:focus {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 25px 2px;
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    white-space: nowrap;
    transition: 0.3s;
    position: relative;
}

.navbar a i,
.navbar a:focus i {
    font-size: 10px;
    line-height: 0;
    margin-left: 5px;
}
.navbar > ul > li > a:before {
    content: "";
    position: absolute;
    width: 100%;
    height: 2px;
    bottom: -2px;
    left: 0;
    background-color: #0058a0;
    visibility: hidden;
    width: 0px;
    transition: all 0.3s ease-in-out 0s;
}
.navbar a:hover:before,
.navbar li:hover > a:before,
.navbar .active:before {
    visibility: visible;
    width: 100%;
}

.navbar a:hover,
.navbar .active,
.navbar .active:focus,
.navbar li:hover > a {
    color: #fff;
}

.navbar .dropdown ul {
    display: block;
    position: absolute;
    left: 0;
    top: calc(100% + 30px);
    margin: 0;
    padding: 10px 0;
    z-index: 99;
    opacity: 0;
    visibility: hidden;
    background: #2e2e2eee;
    box-shadow: 0px 0px 30px rgba(255, 179, 179, 0);
    transition: 0.3s;
}

.navbar .dropdown ul li {
    min-width: 200px;
}

.navbar .dropdown ul a {
    padding: 10px 20px;
    font-size: 14px;
    text-transform: none;
    font-weight: 500;
    color: #fff;
}

.navbar .dropdown ul a i {
    font-size: 12px;
}

.navbar .dropdown ul a:hover,
.navbar .dropdown ul .active:hover,
.navbar .dropdown ul li:hover > a {
    color: #248aff;
}

.navbar .dropdown:hover > ul {
    opacity: 1;
    top: 100%;
    visibility: visible;
}

.navbar .dropdown .dropdown ul {
    top: 0;
    left: calc(100% - 30px);
    visibility: hidden;
}

.navbar .dropdown .dropdown:hover > ul {
    opacity: 1;
    top: 0;
    left: 100%;
    visibility: visible;
}
/**
* Mobile Navigation
*/
.mobile-nav-toggle {
    color: #fffefe;
    font-size: 28px;
    cursor: pointer;
    display: none;
    line-height: 0;
    transition: 0.5s;
}

.mobile-nav-toggle.bi-x {
    color: #fff;
}

@media (max-width: 991px) {
    .mobile-nav-toggle {
        display: block;
    }
    .navbar ul {
        display: none;
    }
    .navbar {
        margin-left: 0px;
    }
    .clients .img-entes img {
        width: 85% !important;
    }

    .clients .img-entes1 .col {
        width: 150px !important;
    }

    .clients2 .swiper-slide img {
        transition: 0.3s;
        width: 100% !important;
    }
    #avance {
        display: none;
    }
    #cont {
        display: none;
    }
    .cred {
        display: none;
    }
    .about-img{
        margin-left: -60px !important;
        width: 80% !important;
    }
    .nameResponsive{
    text-align: center !important;
    }
}

.navbar-mobile {
    position: fixed;
    overflow: hidden;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.9);
    transition: 3s;
    z-index: 999;
}

.navbar-mobile .mobile-nav-toggle {
    position: absolute;
    top: 15px;
    right: 15px;
}

.navbar-mobile ul {
    display: block;
    position: absolute;
    top: 0px;
    right: 0px;
    bottom: 15px;
    left: 25px;
    padding: 10px 0;
    background: rgba(0, 0, 0, 0.705);

    transition: 0.3s;
}
.navbar-mobile ul::before {
    display: block;
    position: absolute;
    top: 0px;
    right: 100%;
    bottom: 15px;
    left: 25px;
    padding: 10px 0;
    background: rgba(0, 0, 0, 0.705);

    transition: 0.3s;
}

.navbar-mobile a,
.navbar-mobile a:focus {
    padding: 10px 20px;
    font-size: 15px;
    color: #fff;
}

.navbar-mobile .getstarted,
.navbar-mobile .getstarted:focus {
    margin: 15px;
}

.navbar-mobile .dropdown ul {
    position: static;
    display: none;
    margin: 10px 20px;
    padding: 10px 0;
    z-index: 99;
    opacity: 1;

    visibility: visible;
    background: rgba(0, 0, 0, 0.1);
    box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.1);
}

.navbar-mobile .dropdown ul li {
    min-width: 200px;
}

.navbar-mobile .dropdown ul a {
    padding: 10px 20px;
}

.navbar-mobile .dropdown ul a i {
    font-size: 12px;
}

.navbar-mobile .dropdown > .dropdown-active {
    display: block;
}

/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/

@media screen and (max-width: 991px) {
    .titulo{
        font-size: 30px;
    }
    .carousel-image {
        height: 200vh !important; 
        width: 100% !important;
        object-fit: cover;

    }
    .hero {
        height: 75vh !important;
    }
    #avance {
        display: none;
    }
    #cont {
        display: none;
    }
    .cred {
        display: none;
    }
    .stats-item {
        display: none;
    }
    .about-img{
        margin-left: -60px !important;
        width: 80% !important;
    }
    .nameResponsive{
    text-align: center !important;
    }
}

@media screen and (max-width: 991px) {
    .carousel-image {
        height: 110vh !important; 
        object-fit: cover;
    }
    .hero {
        height: 77vh !important;
    }
    .custom-btn {
        padding: 10px !important;
    }
    .carousel-caption {
        top: 10%;
    }
    div.carousel-caption {
        width: 100%;
    }
    div.carousel-caption h1 {
        font-size: 30px !important;
        width: 96% !important;
        font-weight: bold !important;
    }
    div.carousel-caption h2 {
        font-size: 20px;
    }
    .carousel-item {
        transition: none;
        transition-delay: 0s;
    }
    .custom-btn {
        padding: 5px 10px !important;
    }
    #resumen {
        display: none;
    }
    #avance {
        display: none !important;
    }
    #cont {
        display: none;
    }
    .cred {
        display: none;
    }
    .about-img{
        margin-left: -60px !important;
        width: 80% !important;
    }
    .nameResponsive{
    text-align: center !important;
    }
}
@media screen and (max-width: 991px) and (orientation: landscape) {
    .carousel-image {
        height: 100% !important;
    }
    .hero {
        height: 125vh !important;
    }
    .about-img{
        margin-left: -60px !important;
        width: 80% !important;
    }
    .nameResponsive{
    text-align: center !important;
    }
}

.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    padding-top: 0px;
    padding-bottom: 0;
}
.titulo{
    font-size: 40px;
}
.titulo1{
    font-size: 30px;
}
.antetitulo {
    font-size: 22px;
}
.section-hero {
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    position: relative;
}

.section-hero-text {
    position: relative;
}

.carousel {
    padding-right: 0;
    padding-left: 0;
}

.hero-carousel,
.carousel-inner,
.carousel-item {
    height: 100%;
}
.carousel-image-wrap::before {
    content: "";
    background: linear-gradient(to top, var(--dark-color), transparent 90%);
    position: absolute;
    z-index: 2;
    top: 0;
    right: 0;
    left: 0;
    pointer-events: none;
    opacity: 0.7;
}
/*****TEXTO*****/
.carousel-caption {
    z-index: 9;
    top: 10%;
    bottom: 0;
    left: 0;
    text-align: left;
    width: 60%;
    margin-right: 12px;
    margin-left: 12px;
}

.carousel-image-wrap {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    margin-left: auto;
}

.carousel-image {
    width: 100%;
    height: 119vh;
   object-fit: cover;
}

.carousel-control-next,
.carousel-control-prev {
    top: 90%;
    bottom: 50px;
    opacity: 1;
}

.carousel-control-prev {
    left: auto;
    right: 70px;
}

.carousel-control-next-icon,
.carousel-control-prev-icon {
    width: 40px;
    height: 40px;
}
.custom-btn {
    font-family: "Raleway", sans-serif;
    font-weight: 500;
    font-size: 16px;
    letter-spacing: 1px;
    display: inline-block;
    padding: 10px 30px;
    border-radius: 4px;
    transition: 0.5s;
    margin-top: -5px;
    color: #fff;
    background: #b41111;
    border: 2px solid #b41111;
}

.custom-btn:hover {
    background: transparent;
    border-color: #fff;
}

.custom-btn1 {
    font-family: "Raleway", sans-serif;
    font-weight: 500;
    font-size: 16px;
    letter-spacing: 1px;
    display: inline-block;
    padding: 10px 30px;
    border-radius: 4px;
    transition: 0.5s;
    margin-top: -5px;
    color: #fff;
    background: #0058a0;
    border: 2px solid #0058a0;
}

.custom-btn1:hover {
    background: transparent;
    border-color: #fff;
}

/*--------------------------------------------------------------
# Sections General de fondo
--------------------------------------------------------------*/
section {
    padding: 60px 0;
    overflow: hidden;
    position: relative;
}

.section-title h2 {
    font-weight: 700px;
}

.section-title {
    text-align: center;
    padding-bottom: 30px;
    position: relative;
}
.section-titlel {
    text-align: center;
    padding-bottom: 30px;
    position: relative;
}
.section-subtitle h2 {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 10px;
    margin-top: 20px;
}

.section-title h2::after {
    content: "";
    position: relative;
    display: block;
    width: 50px;
    height: 2px;
    background: #0058a0;
    bottom: 0;
    left: calc(50% - 25px);
}
.section-titlel h2::after {
    content: "";
    position: relative;
    display: block;
    width: 50px;
    height: 2px;
    background: #0058a0;
    bottom: 0;
    left: calc(50% - 25px);
}

.section-title p {
    margin-bottom: 0;
}

.section-bg {
    padding: 120px 0;
    color: #fff;
}

.section-bg:before {
    content: "";
    background: #2e2e2e;
    position: absolute;
    bottom: 50px;
    top: 60px;
    left: 0;
    right: 0;
    transform: skewY(-3deg);
}
.section-bg1 {
    padding: 120px 0;
    color: #fff;
}

.section-bg1:before {
    content: "";
    background: #2e2e2e;
    position: absolute;
    bottom: -50px;
    top: -60px;
    left: 0;
    right: 0;
    transform: skewY(-3deg);
}
.section-bg2 {
    padding: 80px 0;
    color: #fff;
    padding-bottom: 10px;
}

.section-bg2:before {
    content: "";
    background: #2e2e2e;
    position: absolute;
    bottom: -50px;
    top: -60px;
    left: 0;
    right: 0;
    transform: skewY(-3deg);
}
.section-bg3 {
    padding: 120px 0;
    color: #fff;
}

.section-bg3:before {
    content: "";
    background: #2e2e2e;
    position: absolute;
    bottom: 50px;
    top: 60px;
    left: 0;
    right: 0;
    transform: skewY(-3deg);
}
/*--------------------------------------------------------------
# Clients
--------------------------------------------------------------*/
.clients .swiper-pagination {
    margin-top: 100px;
    position: relative;
}

.clients .swiper-pagination .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background-color: #fff;
    opacity: 1;
    border: 1px solid #0058a0;
}

.clients .swiper-pagination .swiper-pagination-bullet-active {
    background-color: #0058a0;
}
.clients .swiper-wrapper {
    align-items: center;
    text-align: center;
}

.clients .img-entes img {
    /* PRUEBA DE JULIO */
    transition: 0.3s;
    width: 51%;
}
.entes {
    max-width: 100%;
    display: flex;
    margin: -20px auto;
}
.clients .img-entes img:hover {
    filter: none;
    opacity: 0.5;
    filter: grayscale(100);
}

.clients .img-entes1 img {
    transition: 0.3s;
    width: 150px;
    margin: 80px;
    margin-bottom: -40px;
    margin-top: -25px;
}
.clients .img-entes1 img:hover {
    filter: none;
    opacity: 0.5;
    filter: grayscale(100);
}
/*--------------------------------------------------------------
# Services
--------------------------------------------------------------*/
.services .icon-box {
    margin-bottom: 20px;
    padding: 30px;
    border-radius: 6px;
    background: #25252588;
    transition: 0.3s;
    height: 85px !important;
}

.services .icon-box i {
    float: left;
    color: #0058a0;
    font-size: 40px;
    line-height: 0;
    margin-top: 10px;
}

.services .icon-box i:hover {
    color: white;
    cursor: pointer;
}
.services .icon-box i img:hover {
    transition: background-color 0.5s;
}
.services .icon-box h4 {
    margin-left: 70px;
    font-weight: 700;
    margin-bottom: 15px;
    font-size: 17px;
}

.services .icon-box .servi {
    font-size: 17px;
    margin-top: -10px;
    line-height: 1.5;
    display: inline;
    vertical-align: middle;
    margin-left: 4%;
}
.services .icon-box h4 a {
    color: #fff;
    transition: 0.3s;
}

.services .icon-box h4 a:hover {
    text-decoration: none;
}

.services .icon-box .icon-box:hover h4 a {
    color: #e03a3c;
}

.services .icon-box p {
    margin-left: 70px;
    line-height: 24px;
    font-size: 14px;
}

@media (max-width: 900px) {
    .services .icon-box h4,
    .services .icon-box .servi {
        font-size: 14px;
        font-weight: 500;
    }
}

/*--------------------------------------------------------------
# Portfolio
--------------------------------------------------------------*/
.portfolio .portfolio-item {
    margin-bottom: 30px;
}

.portfolio #portfolio-flters {
    padding: 0;
    margin: 0 auto 15px auto;
    list-style: none;
    text-align: center;
    border-radius: 50px;
    padding: 2px 15px;
}

.portfolio #portfolio-flters li {
    cursor: pointer;
    display: inline-block;
    padding: 8px 16px 10px 16px;
    font-size: 14px;
    font-weight: 600;
    line-height: 1;
    text-transform: uppercase;
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
    margin: 0 3px 10px 3px;
    transition: all 0.3s ease-in-out;
    border-radius: 4px;
}

.portfolio #portfolio-flters li:hover,
.portfolio #portfolio-flters li.filter-active {
    background: #b41111;
}

.portfolio #portfolio-flters li:last-child {
    margin-right: 0;
}

.portfolio .portfolio-wrap {
    transition: 0.3s;
    position: relative;
    overflow: hidden;
    z-index: 1;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 15px 15px 0px 0px;
}

.portfolio .portfolio-wrap::before {
    content: "";
    background: rgba(0, 0, 0, 0.6);
    position: absolute;
    left: 30px;
    right: 30px;
    top: 30px;
    bottom: 30px;
    transition: all ease-in-out 0.3s;
    z-index: 2;
    opacity: 0;
}
.palo {
    width: 100%;
    height: 220px;
}
.portfolio .portfolio-wrap .portfolio-info {
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    text-align: center;
    z-index: 3;
    transition: all ease-in-out 1s;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.portfolio .portfolio-wrap .portfolio-info::before {
    display: block;
    content: "";
    width: 48px;
    height: 48px;
    position: absolute;
    top: 35px;
    left: 35px;
    border-top: 3px solid #fff;
    border-left: 3px solid #fff;
    transition: all 0.5s ease 0s;
    z-index: 9994;
}

.portfolio .portfolio-wrap .portfolio-info::after {
    display: block;
    content: "";
    width: 48px;
    height: 48px;
    position: absolute;
    bottom: 35px;
    right: 35px;
    border-bottom: 3px solid #fff;
    border-right: 3px solid #fff;
    transition: all 0.5s ease 0s;
    z-index: 9994;
}
.portfolio .portfolio-wrap .portfolio-info h4 {
    font-size: 20px;
    color: #fff;
    font-weight: 600;
}

.portfolio .portfolio-wrap .portfolio-info p {
    color: #ffffff;
    font-size: 14px;
    text-transform: uppercase;
    padding: 0;
    margin: 0;
}

.portfolio .portfolio-wrap .portfolio-links {
    text-align: center;
    z-index: 4;
}

.portfolio .portfolio-wrap .portfolio-links a {
    color: #fff;
    margin: 0 2px;
    font-size: 28px;
    display: inline-block;
    transition: 0.3s;
}

.portfolio .portfolio-wrap .portfolio-links a:hover {
    color: #b41111;
}

.portfolio .portfolio-wrap:hover::before {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 1;
}

.portfolio .portfolio-wrap:hover .portfolio-info {
    opacity: 1;
}

.portfolio .portfolio-wrap:hover .portfolio-info::before {
    top: 15px;
    left: 15px;
}

.portfolio .portfolio-wrap:hover .portfolio-info::after {
    bottom: 15px;
    right: 15px;
}
.portfolio-details {
    padding-top: 40px;
    background: rgba(0, 0, 0, 0.8);
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    overflow-y: auto;
}

.portfolio-details .container {
    padding-top: 20px;
    padding-bottom: 40px;
}

.portfolio-details .portfolio-title {
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 20px;
}

.portfolio-details .portfolio-info {
    padding-top: 45px;
}

.portfolio-details .portfolio-info h3 {
    font-size: 22px;
    font-weight: 400;
    margin-bottom: 20px;
}

.portfolio-details .portfolio-info ul {
    list-style: none;
    padding: 0;
    font-size: 15px;
}

.portfolio-details .portfolio-info ul li + li {
    margin-top: 10px;
}

.portfolio-details .portfolio-info p {
    font-size: 15px;
    padding: 15px 0 0 0;
}

@media (max-width: 992px) {
    .portfolio-details .portfolio-info {
        padding-top: 20px;
    }
}

.portfolio-details .swiper-pagination {
    margin-top: 20px;
    position: relative;
}

.portfolio-details .swiper-pagination .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    opacity: 1;
    background-color: rgba(255, 255, 255, 0.3);
}

.portfolio-details .swiper-pagination .swiper-pagination-bullet-active {
    background-color: #0058a0;
}
/*--------------------------------------------------------------
# Testimonials
--------------------------------------------------------------*/
.testimonials .testimonials-carousel,
.testimonials .testimonials-slider {
    overflow: hidden;
}
.text-noticia {
    padding: 0px 15px;
    top: -10px;
}

.text-noticia p {
    max-height: 500px;
    margin: 10px 0 !important;
    padding: 0;
    text-align: center;
    font-size: 15px;
}
.text-noticia a {
    color: #fff;
}
.text-noticia i {
    color: rgb(197, 197, 197);
    font-weight: bold;
}
.testimonials .testimonial-item {
    box-sizing: content-box;
    margin: 30px 15px;
    min-height: 350px;
    box-shadow: 0px 2px 12px rgba(0, 0, 0, 0.08);
    position: relative;
    background: #1e1e1e80;
    color: #fff;
    border-radius: 15px;
}

.testimonials .testimonial-item .testimonial-img {
    width: 90px;
    border-radius: 10px;
    border: 6px solid #fff;
    float: left;
    margin: 0 10px 0 0;
}

.testimonials .testimonial-item h3 {
    font-size: 18px;
    font-weight: bold;
    margin: 25px 0 5px 0;
    color: #111;
}

.testimonials .testimonial-item h4 {
    font-size: 14px;
    color: #999;
    margin: 0;
}

.testimonials .testimonial-item .quote-icon-left,
.testimonials .testimonial-item .quote-icon-right {
    color: #000000;
    font-size: 26px;
}

.testimonials .testimonial-item .quote-icon-left {
    display: inline-block;
    left: -5px;
    position: relative;
}

.testimonials .testimonial-item .quote-icon-right {
    display: inline-block;
    right: -5px;
    position: relative;
    top: 10px;
}

.testimonials .testimonial-item p {
    font-style: italic;
    margin: 30px auto 15px auto;
}

.testimonials .swiper-pagination {
    margin-top: 20px;
    position: relative;
}

.testimonials .swiper-pagination .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background-color: rgb(255, 255, 255);
    opacity: 0.5 !important;
}

.testimonials .swiper-pagination .swiper-pagination-bullet-active {
    background-color: #0058a0;
    opacity: 1 !important;
}

/*--------------------------------------------------------------
# Call To Action Section
--------------------------------------------------------------*/
.call-to-action .container {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
        url("../img/tapa.jpg") center ;
    background-size: cover;
    background-position: 30% 77%;
    padding: 100px 80px;
    border-radius: 15px;
    overflow: hidden;
    width: 85%;
}

.call-to-action h3 {
    color: #fff;
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 20px;
}

.call-to-action p {
    color: #000;
    margin-bottom: 20px;
}

.call-to-action .play-btn {
    width: 94px;
    height: 94px;
    margin-bottom: 20px;
    background: radial-gradient(rgb(180, 17, 17) 50%, rgba(131, 0, 0, 0.4) 52%);
    border-radius: 50%;
    display: inline-block;
    position: relative;
    overflow: hidden;
}

.call-to-action .play-btn:before {
    content: "";
    position: absolute;
    width: 120px;
    height: 120px;
    -webkit-animation-delay: 0s;
    animation-delay: 0s;
    -webkit-animation: pulsate-btn 2s;
    animation: pulsate-btn 2s;
    -webkit-animation-direction: forwards;
    animation-direction: forwards;
    -webkit-animation-iteration-count: infinite;
    animation-iteration-count: infinite;
    -webkit-animation-timing-function: steps;
    animation-timing-function: steps;
    opacity: 1;
    border-radius: 50%;
    border: 5px solid rgba(131, 0, 0, 0.7);
    top: -15%;
    left: -15%;
    background: rgba(198, 16, 0, 0);
}

.call-to-action .play-btn:after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translateX(-40%) translateY(-50%);
    width: 0;
    height: 0;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-left: 15px solid #fff;
    z-index: 100;
    transition: all 900ms cubic-bezier(0.55, 0.055, 0.675, 0.19);
}

.call-to-action .play-btn:hover:before {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translateX(-40%) translateY(-50%);
    width: 0;
    height: 0;
    border: none;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-left: 15px solid #fff;
    z-index: 200;
    -webkit-animation: none;
    animation: none;
    border-radius: 0;
}

.call-to-action .play-btn:hover:after {
    border-left: 15px solid rgb(180, 17, 17);
    transform: scale(20);
}

.call-to-action .cta-btn {
    font-family: var(--font-primary);
    font-weight: 500;
    font-size: 16px;
    letter-spacing: 1px;
    display: inline-block;
    padding: 12px 48px;
    border-radius: 50px;
    transition: 0.5s;
    margin: 10px;
    border: 2px solid #fff;
    color: #fff;
}

.call-to-action .cta-btn:hover {
    background: var(--color-primary);
    border: 2px solid var(--color-primary);
}

@keyframes pulsate-btn {
    0% {
        transform: scale(0.6, 0.6);
        opacity: 1;
    }

    100% {
        transform: scale(1, 1);
        opacity: 0;
    }
}
@media (max-width: 900px) {
    .call-to-action .container {
        height: 280px;
        padding: 90px 10px !important;
    }
    .call-to-action h3 {
        font-size: 20px;
    }
}
/*--------------------------------------------------------------
# Contact
--------------------------------------------------------------*/
.contact {
    margin-top: -110px;
}
.contact .info-box {
    background: #fff;
    color: #000000;
    text-align: center;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.747);
    padding: 30px 0 32px 0;
    border-radius: 4px;
}

.contact .info-box i {
    font-size: 32px;
    /*  color: #b41111; */
    color: #0058a0;
    border-radius: 50%;
    padding: 8px;
    border: 2px solid #000;
}

.contact .info-box h3 {
    font-size: 20px;
    color: #000000;
    font-weight: 700;
    margin: 10px 0;
}

.contact .info-box p {
    padding: 0;
    line-height: 24px;
    font-size: 14px;
    margin-bottom: 0;
}

.contact .php-email-form {
    background: #fff;
    padding: 30px;
    border-radius: 4px;
}

.contact .php-email-form .error-message {
    display: none;
    color: #fff;
    background: #ed3c0d;
    text-align: left;
    padding: 15px;
    font-weight: 600;
}

.contact .php-email-form .error-message br + br {
    margin-top: 25px;
}

.contact .php-email-form .sent-message {
    display: none;
    color: #fff;
    background: #b41111;
    text-align: center;
    padding: 15px;
    font-weight: 600;
}

.contact .php-email-form .loading {
    display: none;
    background: #fff;
    text-align: center;
    padding: 15px;
}

.contact .php-email-form .loading:before {
    content: "";
    display: inline-block;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    margin: 0 10px -6px 0;
    border: 3px solid #b41111;
    border-top-color: #eee;
    -webkit-animation: animate-loading 1s linear infinite;
    animation: animate-loading 1s linear infinite;
}

.contact .php-email-form .form-group {
    margin-bottom: 25px;
}

.contact .php-email-form input,
.contact .php-email-form textarea {
    box-shadow: none;
    font-size: 14px;
    border-radius: 4px;
}

.contact .php-email-form input:focus,
.contact .php-email-form textarea:focus {
    border-color: #111111;
}

.contact .php-email-form input {
    padding: 10px 15px;
}

.contact .php-email-form textarea {
    padding: 12px 15px;
}

.contact .php-email-form button[type="submit"] {
    background: #b41111;
    border: 0;
    padding: 10px 32px;
    color: #fff;
    transition: 0.4s;
    border-radius: 4px;
}

.contact .php-email-form button[type="submit"]:hover {
    background: #e35052;
}

@-webkit-keyframes animate-loading {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes animate-loading {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}
/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
#footer {
    background: linear-gradient(rgba(38, 40, 44, 0.6), rgba(31, 32, 34, 0.4)),
        url("../img/footer.webp") fixed center center;
    background-size: cover;
    color: #fff;
    font-size: 14px;
    text-align: center;
    padding: 20px 0;
    bottom: 0;
    left: 0;
}

#footer h3 {
    font-size: 36px;
    font-weight: 700;
    color: #fff;
    position: relative;
    font-family: "Poppins", sans-serif;
    padding: 0;
    margin: 0 0 15px 0;
}

#footer p {
    font-size: 17px;
    padding: 0;
    margin: 20px 0 40px 0;
}

#footer .social-links {
    margin: 0 0 40px 0;
}

#footer .social-links a {
    font-size: 18px;
    display: inline-block;
    background: #0058a0;
    color: #fff;
    line-height: 1;
    padding: 8px 0;
    margin-right: 4px;
    border-radius: 50%;
    text-align: center;
    width: 36px;
    height: 36px;
    transition: 0.3s;
}

#footer .social-links a:hover {
    background: #f1f1f1 !important;
    color: rgb(0, 0, 0);
    text-decoration: none;
}

#footer .copyright {
    margin: -10px 0 0 0;
}

#footer .credits {
    font-size: 13px;
}
.credito::after {
    content: "";
    position: relative;
    display: block;
    width: 100%;
    height: 1px;
    background: #ffffff;
    margin-bottom: 20px;
}
.cred::after {
    content: "";
    position: relative;
    display: block;
    width: 100%;
    height: 1px;
    background: #ffffff;
    margin-bottom: 20px;
}

/* Step : CARDS */
.step {
    box-shadow: rgba(0, 0, 0, 0.25) 0px 25px 50px -12px;
    background: #fff;
    padding: 20px 20px;
    border-radius: 14px;
    cursor: pointer;
    width: 100%;
}

.step:hover {
    background-color: #9797971f;
    box-shadow: rgba(0, 0, 0, 0.16) 0px 3px 6px, rgba(0, 0, 0, 0.23) 0px 3px 6px;
}
.step .number {
    background: linear-gradient(-45deg, #1391a5, #274685);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700;
    letter-spacing: 0.2rem;
    margin-bottom: 10px;
    display: block;
}

.step p:last-child {
    margin-bottom: 2px;
    font-size: 13px;
    text-align: justify;
}
.step h3 {
    text-align: center;
}

.title-icon {
    font-size: 17px;
    color: #0058a0;
    font-weight: bold;
}
.concepto {
    font-style: italic;
}
.image-cards {
    display: flex;
    margin: 0px auto;
    align-items: center;
    opacity: 0.9;
    margin-top: -190px;
    margin-bottom: 60px;
}

/*--------------------------------------------------------------
# Tabs
--------------------------------------------------------------*/
.tabs .nav-tabs {
    border: 0;
}

.tabs .nav-link {
    border: 1px solid #b9b9b9;
    padding: 20px;
    transition: 0.3s;
    color: #111111;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 10px 50px;
}

.tabs .nav-link i {
    padding-right: 15px;
    font-size: 44px;
}

.tabs .nav-link h4 {
    font-size: 14px;
    line-height: 150%;
    margin: 0;
}

.tabs .nav-link:hover {
    color: #0058a0;
}

.tabs .nav-link.active {
    background: #0058a0;
    color: #fff;
    border-color: #0058a0;
}

@media (max-width: 768px) {
    .tabs .nav-link i {
        padding: 0;
        line-height: 1;
        font-size: 36px;
    }
    .tabs .nav-link h4 {
        font-size: 4px;
    }
    .clients2 .swiper-slide img {
        transition: 0.3s;
        width: 100% !important;
    }
    .about-img{
        margin-left: -60px !important;
        width: 80% !important;
    }
    .nameResponsive{
    text-align: center !important;
    }
}

@media (max-width: 575px) {
    .tabs .nav-link {
        padding: 15px;
    }

    .tabs .nav-link i {
        font-size: 24px;
    }
    .clients2 .swiper-slide img {
        transition: 0.3s;
        width: 100% !important;
    }
    .about-img{
        margin-left: -60px !important;
        width: 80% !important;
    }
    .nameResponsive{
    text-align: center !important;
    }
}

.tabs .tab-content {
    margin-top: 30px;
}

.tabs .tab-pane h3 {
    font-weight: 600;
    font-size: 26px;
}

.tabs .tab-pane ul {
    list-style: none;
    padding: 0;
}

.tabs .tab-pane ul li {
    padding-bottom: 10px;
}

.tabs .tab-pane ul i {
    font-size: 20px;
    padding-right: 4px;
    color: #e03a3c;
}

.tabs .tab-pane p:last-child {
    margin-bottom: 0;
}
.entes-cards h4 {
    margin: 35px auto;
    box-shadow: rgba(17, 17, 26, 0.1) 0px 4px 16px,
        rgba(17, 17, 26, 0.1) 0px 8px 24px, rgba(17, 17, 26, 0.1) 0px 16px 56px;
}

/*  */
.tooltip {
    position: relative;
    display: inline-block;
    border-bottom: 1px dotted black;
}
.tooltip .tiptext {
    visibility: hidden;
    width: 120px;
    background-color: black;
    color: #fff;
    text-align: center;
    border-radius: 3px;
    padding: 6px 0;
    position: absolute;
    z-index: 1;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
}
.tooltip .tiptext::after {
    content: "";
    position: absolute;
    border-width: 5px;
    border-style: solid;
}
.tooltip:hover .tiptext {
    visibility: visible;
}

/*  */

.icon {
    margin-right: 15px;
    font-size: 30px;
    line-height: 0;
    color: #0058a0;
    font-weight: 600;
}
.oficina {
    font-size: 16px;
    font-weight: bold;
    position: relative;
    padding-bottom: 5px;
    color: #fff;
}

.hora {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
}

/*--------------------------------------------------------------
# Our Clients
--------------------------------------------------------------*/
.clients2 .swiper-pagination {
    margin-top: 20px;
    position: relative;
}

.clients2 .swiper-pagination .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background-color: #fff;
    opacity: 1;
    border: 1px solid #e96b56;
}

.clients2 .swiper-pagination .swiper-pagination-bullet-active {
    background-color: #e96b56;
}

.clients2 .swiper-slide img {
    transition: 0.3s;
    width: 140%;
}

.clients2 .swiper-slide img:hover {
    filter: none;
    opacity: 1;
}
.clients2 {
    padding: 120px 0;
    color: #fff;
}
.clients2::before {
    content: "";
    position: absolute;
    bottom: -50px;
    top: 40px;
    left: 0;
    right: 0;
    transform: skewY(-3deg);
}

/* FLECHA AVANCE */
#avance {
    position: absolute;
    top: 88%;
    left: 50%;
    width: 5%;
    transform: translate(-50%, -50%);
}

/* INFORMES */
/*--------------------------------------------------------------
# Services
--------------------------------------------------------------*/
.services2 .icon-box2 {
    box-shadow: 0px 0 25px 0 rgba(0, 0, 0, 0.1);
    padding: 50px 30px;
    transition: all ease-in-out 0.4s;
    background: #fff;
    margin-bottom: 35px;
}

.services2 .icon-box2 .icon2 {
    margin-bottom: 20px;
}

.services2 .icon-box2 .icon2 i {
    color: #919191;
    font-size: 36px;
    transition: 0.3s;
}

.services2 .icon-box2 h4 {
    font-weight: 500;
    margin-bottom: 15px;
    font-size: 24px;
}

.services2 .icon-box2 h4 {
    color: #919191;
    transition: ease-in-out 0.3s;
}
.services2 .icon-box2 p {
    line-height: 24px;
    font-size: 14px;
    margin-bottom: 0;
    font-family: Garamond;
    color: #0058a0;
    font-weight: bold;
}

.services2 .icon-box2:hover {
    transform: translateY(-10px);
}

/*--------------------------------------------------------------
# Stats Counter Section
--------------------------------------------------------------*/
.stats-counter .stats-item {
    width: 100%;
    position: absolute;
    top: 330%;
    left: -292%;
    right: 0;
    margin-top: 5px;
}

.stats-counter .stats-item span {
    font-size: 40px;
    display: block;
    color: #fff;
    font-weight: 700;
    margin-bottom: 0px;
    padding-bottom: 0px;
    position: relative;
}

.stats-counter .stats-item span:after {
    content: "";
    position: absolute;
    display: block;
    width: 25px;
    height: 3px;
    background: #b41111;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
}

.stats-counter .stats-item p {
    padding: 0;
    margin: 0;
    font-size: 15px;
    font-weight: 600;
    color: #fff;
}
#cont {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    position: absolute;
    cursor: default;
}

.text-bg-secondary-cgr {
    color: #fff !important;
    background: rgb(153, 153, 153);
    background: linear-gradient(
        0deg,
        rgba(153, 153, 153, 1) 0%,
        rgba(77, 78, 83, 1) 100%
    );
}

/******ENTES******/
/*--------------------------------------------------------------
# Testimonials
--------------------------------------------------------------*/
.testimonials3 .testimonial-item {
    box-sizing: content-box;
    padding: 10px;
    margin: 30px 20px;
    box-shadow: 0px 0 20px rgba(1, 41, 112, 0.1);
    background: #fff;
    /* min-height: 80px; */
    display: flex;
    flex-direction: column;
    text-align: center;
    transition: 0.3s;
  }

  .testimonials3 .testimonial-item .stars {
    margin-bottom: 15px;
  }

  .testimonials3 .testimonial-item .stars i {
    color: #ffc107;
    margin: 0 1px;
  }

  .testimonials3 .testimonial-item .testimonial-img {
    width: 150px;
    border: 4px solid #fff;
    margin: 0 auto;
  }

  .testimonials3 .testimonial-item h3 {
    font-size: 18px;
    font-weight: bold;
    margin: 10px 0 5px 0;
    color: #111;
  }

  .testimonials3 .testimonial-item h4 {
    font-size: 14px;
    color: #999;
    margin: 0;
  }

  .testimonials3 .testimonial-item p {
    font-style: italic;
    margin: 0 auto 15px auto;
  }

  .testimonials3 .swiper-pagination {
    margin-top: 20px;
    position: relative;
  }

  .testimonials3 .swiper-pagination .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background-color: #fff;
    opacity: 1;
    border: 1px solid #4154f1;
  }

  .testimonials3 .swiper-pagination .swiper-pagination-bullet-active {
    background-color: #4154f1;
  }

  .testimonials3 .swiper-slide {
    opacity: 0.3;
  }

  @media (max-width: 1199px) {
    .testimonials3 .swiper-slide-active {
      opacity: 1;
    }

    .testimonials3 .swiper-pagination {
      margin-top: 0;
    }
  }

  @media (min-width: 1200px) {
    .testimonials3 .swiper-slide-next {
      opacity: 1;
      transform: scale(1.12);
    }
  }

  /*===============css de PATRIA================*/
   .texto p {
    border-radius: 25px;
    overflow: hidden;
    font-size: 16px;
    font-weight: 700;
    width: 210%;
    margin-left: -60px;
}
  .nina {
    margin-top: 50px;
    opacity: 1;
  }
  .texto{
    width: 100%;
    height: 25px;
    float: left;
    position: absolute;
    color: #fff;
    margin-top: 30px;
  }

  .patria{
    margin-top: -310% !important;
    position: relative;
    float: left;
    font-size: 10px;
    opacity: 10;
  }
  .nina figcaption {
    display:none;
    transition: all .5s;
    width: 320%;
    opacity: 1;
  }

  .nina figcaption::before{
    content: "";
    position: relative;
    top: 11px;
    right: 30px;
    left: -12px;
    width: 0px;
    height: 0px;
  }

  .nina figure:hover > .texto figcaption {
    display:block;
    transition: all .5s;
    opacity: 1;
  }

/* JQUERY PATRIA */
@media (max-width: 768px){
    .nina {
        position: relative !important;
      }
      .patria{
        margin-top: -100px !important;
      }
      .patria .texto{
        display: none;
      }
      .vidpa{
        margin-top: -80px !important;
      }
      .antetitulo{
        font-size: 20px !important;
      }
 }
 /* Tamaño teléfonos (480-menos ) */
 @media all and (max-width: 480px) {
    .nina{
        position: relative !important;
    }
    .patria{
        margin-top: -200px !important;
      }
      .patria .texto{
        display: none;
      }
      .vidpa{
        margin-top: -80px !important;
      }
 }
 /*  Orientación: Vertical */
 @media screen and (orientation:portrait) {
    .nina{
        position: relative !important;
    }
    .patria{
        margin-top: -200px !important;
      }
      .patria .texto{
        display: none;
      }
 }
 /* iPhone - Orientación: Vertical */
 @media screen and (max-device-width: 480px) and (orientation:portrait) {
    .nina{
        position: relative !important;
    }
    .patria{
        margin-top: -120px !important;
        width: 200%;
        left: -90px;
      }
      .patria .texto p{
        display: none;
      }
      .vidpa{
        margin-top: -100px !important;
      }

 }
 /* iPad - Orientación: Vertical */
 @media screen and (min-device-width: 481px) and (orientation:portrait) {
    .nina{
        position: relative !important;
    }
    .patria{
        margin-top: -200px !important;
      }
      .vidpa{
        margin-top: 100px !important;
      }

  }
/* JQUERY PATRIA */

/* galeria */
/*--------------------------------------------------------------
# Projects Section
--------------------------------------------------------------*/
.projects .portfolio-filters {
    padding: 0;
    margin: 0 auto 20px auto;
    list-style: none;
    text-align: center;
  }
  
  .projects .portfolio-filters li {
    cursor: pointer;
    display: inline-block;
    padding: 0;
    font-size: 18px;
    font-weight: 500;
    margin: 0 10px;
    line-height: 1;
    margin-bottom: 5px;
    transition: all 0.3s ease-in-out;
  }
  
  .projects .portfolio-filters li:hover,
  .projects .portfolio-filters li.filter-active {
    color: var(--accent-color);
  }
  
  .projects .portfolio-filters li:first-child {
    margin-left: 0;
  }
  
  .projects .portfolio-filters li:last-child {
    margin-right: 0;
  }
  
  @media (max-width: 575px) {
    .projects .portfolio-filters li {
      font-size: 14px;
      margin: 0 5px;
    }
  }
  
  .projects .portfolio-content {
    position: relative;
    overflow: hidden;
  }
  
  .projects .portfolio-content img {
    transition: 0.3s;
  }
  
  .projects .portfolio-content .portfolio-info {
    opacity: 0;
    position: absolute;
    inset: 0;
    z-index: 3;
    transition: all ease-in-out 0.3s;
    background: rgba(0, 0, 0, 0.6);
    padding: 15px;
  }
  
  .projects .portfolio-content .portfolio-info h4 {
    font-size: 14px;
    padding: 5px 10px;
    font-weight: 400;
    color: #ffffff;
    display: inline-block;
    background-color: var(--accent-color);
  }
  
  .projects .portfolio-content .portfolio-info p {
    position: absolute;
    bottom: 10px;
    text-align: center;
    display: inline-block;
    left: 0;
    right: 0;
    font-size: 16px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
  }
  
  .projects .portfolio-content .portfolio-info .preview-link,
  .projects .portfolio-content .portfolio-info .details-link {
    position: absolute;
    left: calc(50% - 40px);
    font-size: 26px;
    top: calc(50% - 14px);
    color: #fff;
    transition: 0.3s;
    line-height: 1.2;
  }
  
  .projects .portfolio-content .portfolio-info .preview-link:hover,
  .projects .portfolio-content .portfolio-info .details-link:hover {
    color: var(--accent-color);
  }
  
  .projects .portfolio-content .portfolio-info .details-link {
    left: 50%;
    font-size: 34px;
    line-height: 0;
  }
  
  .projects .portfolio-content:hover .portfolio-info {
    opacity: 1;
  }
  
  .projects .portfolio-content:hover img {
    transform: scale(1.1);
  }
  
 /* Popup container */
 .popup {
    position: relative;
    display: inline-block;
    cursor: pointer;
  }
  
  /* The actual popup (appears on top) */
  .popup .popuptext {
    visibility: hidden;
    width: 160px;
    background-color: #555;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 8px 0;
    position: absolute;
    z-index: 1;
    bottom: 125%;
    left: 50%;
    margin-left: -80px;
  }
  
  /* Popup arrow */
  .popup .popuptext::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: #555 transparent transparent transparent;
  }
  
  /* Toggle this class when clicking on the popup container (hide and show the popup) */
  .popup .show {
    visibility: visible;
    -webkit-animation: fadeIn 1s;
    animation: fadeIn 1s
  }
  
  /* Add animation (fade in the popup) */
  @-webkit-keyframes fadeIn {
    from {opacity: 0;}
    to {opacity: 1;}
  }
  
  @keyframes fadeIn {
    from {opacity: 0;}
    to {opacity:1 ;}
  } 


  /* Media patria*/
  @media (max-width: 1024px) {
    .video-desktop { display: none; }
    .gif-mobile { display: block; }
  }
  
  @media (min-width: 1025px) {
    .video-desktop { display: block; }
    .gif-mobile { display: none; }
  }

/*--------------------------------------------------------------
# Ajustes responsive propios del landing
# (el menú móvil vive en assets/css/mobile-nav.css)
--------------------------------------------------------------*/
@media (max-width: 991px) {
    /* Evita desbordes horizontales por márgenes fijos del bloque de horarios */
    .oficinaHora .footer-links {
        margin-left: 0 !important;
        padding-left: 0 !important;
    }

    .oficinaHora .footer-links .icon {
        flex: 0 0 auto;
        margin-right: 12px;
        margin-top: 2px;
    }

    /* El título de "Enlaces de interés" no debe montarse sobre el bloque anterior */
    .section-titlel {
        margin-top: -40px !important;
    }

    #footer img {
        width: 90px !important;
        height: auto;
    }
}

@media (max-width: 767px) {
    .hero-content {
        padding-left: 24px !important;
        padding-right: 24px !important;
        max-width: 100% !important;
    }

    /* En móvil se navega deslizando; las flechas laterales quedan fuera de pantalla */
    .owl-nav {
        display: none !important;
    }

    .game-section {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .game-section .item,
    .game-section .item.active {
        max-width: 86vw;
    }

    .section-title h2,
    .section-titlel h2 {
        font-size: 24px !important;
    }

    #footer .container {
        padding-left: 16px;
        padding-right: 16px;
    }
}
