/********** Template CSS **********/
:root {
    --primary: #ea0029;
    --secondary: #354F8E;
    --light: #EFF5F9;
    --dark: #1D2A4D;
    --gray: #4a4f54;
    --white: #F3F4F5;
    --gray-light: #7b7a7a;
}
a{
    color: var(--primary);
}
a.btn-lineas-cta {
    color: #ffffff;
}

.btn {
    font-weight: 700;
    transition: .5s;
}

.btn:hover {
    -webkit-box-shadow: 0 8px 6px -6px #555555;
    -moz-box-shadow: 0 8px 6px -6px #555555;
    box-shadow: 0 8px 6px -6px #555555;
}
.text-dark {
    color: var(--gray) !important;
}
.btn-primary {
    color: #FFFFFF;
}

.btn-square {
    width: 36px;
    height: 36px;
}

.btn-sm-square {
    width: 28px;
    height: 28px;
}

.btn-lg-square {
    width: 46px;
    height: 46px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding-left: 0;
    padding-right: 0;
    text-align: center;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 30px;
    bottom: 0;
    border-radius: 50% 50% 0 0;
    z-index: 99;
}

.navbar-light .navbar-nav .nav-link {
    font-family: 'Jost', sans-serif;
    position: relative;
    margin-left:30px;
    padding: 18px 0;
    font-size: 18px;
    font-weight: 600;
    color: white;
    outline: none;
    transition: .5s;
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active {
    color: white;
}

@media (min-width: 992px) {
    .navbar-light .navbar-nav .nav-link::before {
        position: absolute;
        content: "";
        width: 0;
        height: 5px;
        bottom: 0;
        left: 50%;
        background:#FFFFFF;
        transition: .5s;
    }

    .navbar-light .navbar-nav .nav-link:hover::before,
    .navbar-light .navbar-nav .nav-link.active::before {
        width: 100%;
        left: 0;
    }
}

@media (max-width: 991.98px) {
    .navbar-light .navbar-nav .nav-link  {
        margin-left: 0;
        padding: 10px 0;
    }
}



.service-item {
    position: relative;
    height: 350px;
    padding: 0 30px;
    transition: .5s;
}

.service-item .service-icon {
    width: 150px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    border-radius: 50%;
    transform: rotate(-14deg);
}

.service-item .service-icon i {
    transform: rotate(15deg);
}

.service-item a.btn {
    position: absolute;
    width: 60px;
    bottom: -48px;
    left: 50%;
    margin-left: -30px;
    opacity: 0;
}

.service-item:hover a.btn {
    bottom: -24px;
    opacity: 1;
}

.price-carousel::after {
    position: absolute;
    content: "";
    width: 100%;
    height: 50%;
    bottom: 0;
    left: 0;
    background: var(--primary);
    border-radius: 8px 8px 50% 50%;
    z-index: -1;
}

.price-carousel .owl-nav {
    margin-top: 35px;
    width: 100%;
    text-align: center;
    display: flex;
    justify-content: center;
}

.price-carousel .owl-nav .owl-prev,
.price-carousel .owl-nav .owl-next{
    position: relative;
    margin: 0 5px;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    background: #FFFFFF;
    font-size: 22px;
    border-radius: 45px;
    transition: .5s;
}

.price-carousel .owl-nav .owl-prev:hover,
.price-carousel .owl-nav .owl-next:hover {
    color: var(--dark);
}

.testimonial-carousel .owl-dots {
    margin-top: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial-carousel .owl-dot {
    position: relative;
    display: inline-block;
    margin: 0 5px;
    width: 20px;
    height: 20px;
    background: var(--light);
    border: 2px solid var(--primary);
    border-radius: 20px;
    transition: .5s;
}

.testimonial-carousel .owl-dot.active {
    width: 40px;
    height: 40px;
    background: var(--primary);
}
.btn-primary {
    color: #000;
    background-color: #ea0029 !important;
    border-color: #c50126 !important;
}
.btn-check:focus+.btn, .btn:focus {
    outline: 0;
    box-shadow: 0 0 0 .25rem rgba(221, 19, 26, 0.25);
}
.testimonial-carousel .owl-item img {
    width: 150px;
    height: 150px;
}
.bg-dark {
    background-color: rgb(74 79 84) !important;
}
.btn-dark {
    background-color:rgb(74 79 84) !important;
}
.border-secondary {
    border-color: #5e5d5d !important;
}
.footer-links .btn-dark:hover{
    background-color: white !important;
}
.footer-links .btn-dark:hover{
    color:rgb(74 79 84) !important;
}
.links-interes a {
    transition: color 0.3s ease;
}
.links-interes a:hover {
    color: #ea0029 !important;
}
.bg-primary{
    background-color: #ea0029 !important;
}
/*********** Barra de Busqueda *******/
#headerSearch .input-group {
    border-radius: 50px;
    overflow: hidden;
    background: #f3f3f3;
    border: 1px solid #e0e0e0;
    height: 50px;
}

/* INPUT */
#headerSearch .form-control {
    border: none;
    background: #fff;
    padding: 0 20px;
    height: 100%;
    box-shadow: none;
}

#headerSearch .form-control:focus {
    box-shadow: none;
    outline: none;
}

/* SELECT */
#headerSearch .form-select {
    border: none;
    background: #fff;
    padding: 0 40px 0 15px;
    height: 100%;
    box-shadow: none;
    border-left: 1px solid #e0e0e0;
    max-width: 240px;
    cursor: pointer;
    /* quitar estilo nativo */
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    /* flecha personalizada */
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='gray' viewBox='0 0 16 16'%3E%3Cpath d='M1.5 5l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 12px;
}

#headerSearch .form-select:focus {
    box-shadow: none;
}

/* BOTÓN */
#headerSearch .btn {
    background: #e60023;
    border: none;
    color: #fff;
    padding: 0 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0 50px 50px 0;
}

#headerSearch .btn:hover {
    background: #c4001d;
}

/* ÍCONO */
#headerSearch .btn i {
    font-size: 16px;
}

.iframe-container {
    position: relative;
    width: 100%;
    height: 100%; /* o una altura fija si necesitas */
}

.iframe-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}