.navbar-nav .nav-item a{
    padding: 10px 0;
}

/* Wave divider effect */
.wave-divider {
    position: relative;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    top: -90px;
    z-index: 0;
}

.wave-divider svg {
    position: relative;
    display: block;
    width: 100%;
    height: 150px;
}

@media (max-width: 991px) {
    .wave-divider svg {
        height: 100px;
    }
}

@media (max-width: 767px) {
    .wave-divider {
        top: -70px;
        margin-bottom: -70px;
    }
    .wave-divider svg {
        height: 70px;
    }
}

.mw-200{
    max-width: 200px;
}
.w-60{
    width: 60px;
}
.dropdown-menu{
    padding: 10px 20px;
}
.dropdown-item.active, 
.dropdown-item:active{
background-color: transparent;
}

/* ============================= 
   Mobile Toggler - Modern Design
   ============================= */
.navbar-toggler-modern {
    width: 38px;
    height: 38px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    background: transparent;
    border: none;
    padding: 0;
    cursor: pointer;
    z-index: 1050;
    position: relative;
}

@media (max-width: 991px) {
    .navbar-toggler-modern {
        margin-right: 5px;
        margin-left: auto;
    }

    .mobile-search-item {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 10px;
        margin-top: 8px;
    }
}

.toggler-line {
    width: 26px;
    height: 2.5px;
    background: #00152C;
    border-radius: 2px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar-toggler-modern:not(.collapsed) .toggler-line:nth-child(1) {
    transform: translateY(7.5px) rotate(45deg);
}

.navbar-toggler-modern:not(.collapsed) .toggler-line:nth-child(2) {
    opacity: 0;
    transform: translateX(-10px);
}

.navbar-toggler-modern:not(.collapsed) .toggler-line:nth-child(3) {
    transform: translateY(-7.5px) rotate(-45deg);
}

/* ============================= 
   Responsive Design
   ============================= */
@media (max-width: 991px) {
    .navbar-collapse,
    .navbar-collapse.collapsing {
        transition: none !important;
    }

    .overflow-mobile-hidden {
        overflow: hidden;
    }
    
    body {
        padding-top: 70px;
    }
    
    .navbar-modern {
        padding: 12px 10px;
        justify-content: space-between;
        min-height: 70px;
    }
    
    .brand-modern {
        position: relative;
        left: 0;
        margin-left: 5px;
    }
    
    .brand-modern img {
        height: 45px;
    }
    
    .navbar-area-modern.scrolled .brand-modern img {
        height: 45px;
    }
    
    .search-modern-wrapper {
        position: relative;
        right: 0;
    }
    
    .navbar-collapse {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        padding: 20px;
        border-radius: 0 0 20px 20px;
        box-shadow: 0 10px 30px rgba(0, 21, 44, 0.15);
        /* margin-top: 10px; */
        z-index: 1040;
    }
    
    .nav-menu-modern {
        flex-direction: column;
        gap: 5px;
        width: 100%;
    }
    
    .nav-link-modern {
        width: 100%;
        padding: 15px 20px;
        text-align: left;
        border-radius: 10px;
    }
    
    .nav-link-modern:hover {
        background: rgba(0, 53, 95, 0.05);
    }
    
    .nav-underline {
        left: 20px;
        transform: none;
    }
    
    .nav-link-modern:hover .nav-underline {
        width: 60px;
    }
}

@media (min-width: 992px) {
    .navbar-modern {
        padding: 18px 60px;
    }

    .navbar-collapse {
        display: flex;
        align-items: center;
        justify-content: center;
        height: 100%;
    }
}
.pointer{
    cursor: pointer;
}

.section-divider{
    position: relative;
    border-top: 3px solid #ed1c24
}
.section-divider .img-container{
   position: absolute;
   bottom: -2px;
    left: 50%;
    transform: translate(-50%);
    font-size: 2.3em;
    color: var(--gris-oscuro);
    background: #fff;
    width: 100px;
    text-align: center;
    padding: 0 15px;
}

.div-custom{
    background: #fff;
    border-radius: 1em;
    padding: 2.3em 1em;
    transition: 0.3s all ease;
    min-height: 100%;
    border: 1px solid #ffffffab;
}
.div-custom:hover{
    box-shadow: 0px 10px 30px -10px rgb(0 0 0);
    background: white;
    color:#000;
}

.card-section{
    border-radius: 2em;
    box-shadow: 0px 10px 30px -5px rgb(0 0 0 / 35%);
}
.mensaje-burbuja {
    display: inline-block;
    max-width: 300px;
    background-color: #00152C; /* Puedes cambiar el color */
    color: #FFFFFF;
    padding: 12px 16px;
    border-radius: 18px;
    position: relative;
    text-decoration: none;
    font-weight: bold;
    font-size: 16px;
    line-height: 1.4;
    right: 26%;
    top: 20%;
    position: absolute;
}

/* El triangulito (piquito del mensaje) */
.mensaje-burbuja::after {
    content: "";
    position: absolute;
    bottom: -28px;
    left: 15px;
    width: 0;
    height: 0;
    border: 40px solid transparent;
    border-top-color: #00152C;
    border-bottom: 0;
    border-left: 0;
    margin-bottom: -10px;
}
.mensaje-burbuja2 {
    display: inline-block;
    max-width: 300px;
    background-color: #00152C; /* Color de fondo diferente */
    color: #ffffff;
    padding: 12px 16px;
    border-radius: 18px;
    position: relative;
    text-decoration: none;
    font-weight: bold;
    font-size: 16px;
    line-height: 1.4;
    left: 26%;
    bottom: 5%;
    position: absolute;
}

/* Triángulo superior derecho */
.mensaje-burbuja2::before {
    content: "";
    position: absolute;
    top: 0;
    right:15px;
    width: 0;
    height: 0;
    border: 40px solid transparent;
    border-bottom-color: #00152C;
    border-top: 0;
    border-right: 0;

    margin-top: -28px;
}

/* Transición suave para ambas burbujas */
.mensaje-burbuja,
.mensaje-burbuja2 {
    transition: transform 0.5s ease;
}

/* Hover en el contenedor `.about` */
.about:hover .mensaje-burbuja {
    transform: translate(-20px, -20px);
}

.about:hover .mensaje-burbuja2 {
    transform: translate(20px, 20px);
}
/*** Contact ***/

.contact1 {
        width: 100%;
        min-height: 100%;
        padding: 15px;
        padding-bottom: 50px;
        display: -webkit-box;
        display: -webkit-flex;
        display: -moz-box;
        display: -ms-flexbox;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
    }

    .container-contact1 {
        width: 1163px;
        background: #f1f1f1;
        background-image: url('../img/elements/botella-contacto.jpg');
        background-size: contain;
        background-repeat: no-repeat;
        border-radius: 10px;
        overflow: hidden;

        display: -webkit-box;
        display: -webkit-flex;
        display: -moz-box;
        display: -ms-flexbox;
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        align-items: center;

        padding: 90px 130px 88px 148px;

        box-shadow: 0px 10px 30px -5px rgb(0 0 0 / 35%);
    }

    /*------------------------------------------------------------------
[  ]*/
    .contact1-pic {
        width: 296px;
    }

    .contact1-pic img {
        max-width: 100%;
    }


    /*------------------------------------------------------------------
[  ]*/


    .contact1-form-title {
        display: block;
        font-size: 24px;
        color: #333333;
        line-height: 1.2;
        text-align: center;
        padding-bottom: 44px;
    }

    input.input1 {
        height: 50px;
        border-radius:0;
        padding: 0 30px;
        border: 1px solid rgba(105, 105, 105, 0.1);
    }

    input.input1+.shadow-input1 {
        border-radius: 25px;
    }

    textarea.input1 {
        min-height: 150px;
        padding: 12px 30px;
        border: 1px solid rgba(105, 105, 105, 0.1);
        resize: none;
    }

    textarea.input1+.shadow-input1 {
        border-radius: 25px;
    }

    /*---------------------------------------------*/
    .wrap-input1 {
        position: relative;
        width: 100%;
        z-index: 1;
        margin-bottom: 20px;
    }

    .input1 {
        display: block;
        width: 100%;
        background: #e6e6e642;
        font-size: 15px;
        line-height: 1.5;
        color: #000;
        border: none;
    }

    .shadow-input1 {
        content: '';
        display: block;
        position: absolute;
        bottom: 0;
        left: 0;
        z-index: -1;
        width: 100%;
        height: 100%;
        box-shadow: 0px 0px 0px 0px;
        color: rgba(87, 184, 70, 0.5);
    }

    .input1:focus+.shadow-input1 {
        -webkit-animation: anim-shadow 0.5s ease-in-out forwards;
        animation: anim-shadow 0.5s ease-in-out forwards;
    }

    @-webkit-keyframes anim-shadow {
        to {
            box-shadow: 0px 0px 80px 30px;
            opacity: 0;
        }
    }

    @keyframes anim-shadow {
        to {
            box-shadow: 0px 0px 80px 30px;
            opacity: 0;
        }
    }

    /*---------------------------------------------*/
    .container-contact1-form-btn {
        display: -webkit-box;
        display: -webkit-flex;
        display: -moz-box;
        display: -ms-flexbox;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }

    .contact1-form-btn {
        border: none;
        min-width: 193px;
        height: 50px;
        border-radius: 25px;
        background: #57b846;
        font-size: 15px;
        line-height: 1.5;
        color: #fff;
        display: -webkit-box;
        display: -webkit-flex;
        display: -moz-box;
        display: -ms-flexbox;
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 0 25px;

        -webkit-transition: all 0.4s;
        -o-transition: all 0.4s;
        -moz-transition: all 0.4s;
        transition: all 0.4s;
    }

    .contact1-form-btn i {
        margin-left: 7px;

        -webkit-transition: all 0.4s;
        -o-transition: all 0.4s;
        -moz-transition: all 0.4s;
        transition: all 0.4s;
    }

    .contact1-form-btn:hover {
        background: #333333;
    }

    .contact1-form-btn:hover i {
        -webkit-transform: translateX(10px);
        -moz-transform: translateX(10px);
        -ms-transform: translateX(10px);
        -o-transform: translateX(10px);
        transform: translateX(10px);
    }




    /*------------------------------------------------------------------
[ Responsive ]*/

    @media (max-width: 1200px) {
        .contact1-pic {
            width: 33.5%;
        }

        .contact1-form {
            width: 44%;
        }
    }

    @media (max-width: 992px) {
        .container-contact1 {
            padding: 90px 80px 88px 90px;
            background-position: -200px;
        }

        .contact1-pic {
            width: 35%;
        }

        .contact1-form {
            width: 55%;
        }
    }

    @media (max-width: 768px) {
        .container-contact1 {
            padding: 90px 80px 88px 80px;
            background-image: none;
        }

        .contact1-pic {
            display: none;
        }

        .contact1-form {
            width: 100%;
        }
    }

    @media (max-width: 576px) {
        .container-contact1 {
            padding: 90px 15px 88px 15px;
        }
    }

    .dbox {
        width: 100%;
        margin-bottom: 25px;
        padding: 0 20px;
    }

    @media (min-width: 768px) {
        .dbox {
            margin-bottom: 0;
            padding: 0;
        }
    }

    .dbox p {
        margin-bottom: 0;
        font-size: 16px;
    }

    .dbox p span {
        font-weight: 500;
        color: #000;
    }

    .dbox p a {
        color: #2553b8;
    }

    .dbox .icon {
        width: 60px;
        height: 60px;
        border-radius: 50%;
        background: #57b846;
        margin: 0 auto;
        margin-bottom: 20px;
    }

    .dbox .icon span {
        font-size: 20px;
        color: #fff;
    }

    .dbox .text {
        width: 100%;
    }
    .negrita{font-weight: 900!important;}


button {
    position: relative;
    display: inline-block;
    cursor: pointer;
    outline: none;
    border: 0;
    vertical-align: middle;
    text-decoration: none;
    font-size: inherit;
    font-family: inherit;
}
button.learn-more {
    font-weight: 600;
    color: #fff;
    text-transform: uppercase;
    padding: 1.25em 2em;
    background: #e62623cf;
    border: 2px solid #ec1c24;
    border-radius: 0.75em;
    transform-style: preserve-3d;
    transition: transform 150ms cubic-bezier(0, 0, 0.58, 1), background 150ms cubic-bezier(0, 0, 0.58, 1);
}
button.learn-more::before {
    position: absolute;
    content: "";
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #910000;
    border-radius: inherit;
    box-shadow: 0 0 0 2px #b18597, 0 0.625em 0 0 #ffe3e2;
    transform: translate3d(0, 0.75em, -1em);
    transition: transform 150ms cubic-bezier(0, 0, 0.58, 1), box-shadow 150ms cubic-bezier(0, 0, 0.58, 1);
}
button.learn-more:hover {
    color:black ;
    background: #ffe9e9;
    transform: translate(0, 0.25em);
}
button.learn-more:hover::before {
    box-shadow: 0 0 0 2px #b18597, 0 0.5em 0 0 #ffe3e2;
    transform: translate3d(0, 0.5em, -1em);
}
button.learn-more:active {
    background: #ffe9e9;
    transform: translate(0em, 0.75em);
}
button.learn-more:active::before {
    box-shadow: 0 0 0 2px #b18597, 0 0 #ffe3e2;
    transform: translate3d(0, 0, -1em);
}

.nav-link {
    /*padding: .5rem !important;*/
    margin-right: 5px;
    margin-left: 5px;
}

.theme-btn:hover {
    box-shadow: 0 10px 25px rgb(244 67 54 / 39%);
}
.font-oswald-bold{      font-family:  "Google Sans", sans-serif; ;font-weight: 900 !important;}
.font-normal{     font-family:  "Google Sans", sans-serif;}
.lh-1_6{line-height: 1.6em;}
.linetop{position: absolute;
    top: 0;
    margin-top: -17px;
    left: 0;
    right: 0;
    font-weight: 900;
}
@media (min-width: 992px) {
.dropdown-menu2{
    top: 112px!important;
    position: fixed !important;width: 100% !important; left: 0; right: 0; border-radius:0 !important; padding-top: 0;
}}
.heauto{height: auto !important;}
.div-img-menu{
    position: relative; margin-top: -50px;
    z-index: 3;}
.borrar{
    filter: blur(3.5px);
     position: fixed;
     height: 100%;
     width: 100%;
     backdrop-filter: blur(5px);
     z-index: -9;
 }
.borrar-show{
    z-index: 9;display:block;}
.lh-3{line-height: 3em;}

@media (min-width: 768px) {
    .banner0 {
        background-image: url("../img/slider/banner3.jpg");
        background-size: cover;
        background-size: cover;
        background-position: center;
    }
    .banner1 {
        background-image: url("../img/slider/banner1-.jpg");
        background-size: cover;
        background-size: cover;
        background-position: center;
    }
    .banner2 {
        background-image: url("../img/slider/banner1.jpg");
        background-size: cover;
        background-position: center;
    }
    .bannernosotros {
        background-image: url("../img/nosotros/banner.jpg");
        background-size: cover;
        background-position: center;
    }
    .bannercontacto {
        background-image: url("../img/nosotros/contacto.jpg");
        background-size: cover;
        background-size: cover;
        background-position: center;
    }
    .bannerservicios {
        background-image: url("../img/servicios/banner.jpg");
        background-size: cover;
        background-size: cover;
        background-position: center;
    }
    .icon-contact{background: #9c9b9b; color: #fff; width: 75px; height: 75px; font-size: 35px; padding: 5px; margin: auto;line-height: 65px; text-align: center;display: block;}
}

@media (max-width: 767px) {
    .banner0 {
        background-image: url("../img/slider/banner3.jpg");
        background-size: cover;
        background-position: 50% -5%;
    }
    .banner1 {
        background-image: url("../img/slider/banner1-.jpg");
        background-size: cover;
        background-position: 70% 76%;
    }
    .banner2 {
        background-image: url("../img/slider/banner1.jpg");
        background-size: cover;
        background-position: 70% 10%;
    }
    .bannernosotros {
        background-image: url("../img/nosotros/banner.jpg");
        background-size: cover;
        background-size: cover;
        background-position: top;
    }
    .bannercontacto {
        background-image: url("../img/nosotros/contacto.jpg");
        background-size: cover;
        background-size: cover;
        background-position: center;
    }
    .bannerservicios {
        background-image: url("../img/servicios/banner.jpg");
        background-size: cover;
        background-size: cover;
        background-position: center;
    }
    .icon-contact{background: #9c9b9b; color: #fff; width:40px; height:40px; font-size: 25px; padding: 5px; margin: auto;line-height: 20px; text-align: center;display: block;}
}
.fs-19{font-size: 19px !important ;}

.box-divform{width: calc(100% - 1px) !important;
    padding: 8px 16px !important;
    box-shadow: #a5a4a4 0 0 0 1px inset !important;
    border-radius: 6px !important;
    display: inline-block !important;}
.span-form-input{
    position: relative !important;
    -webkit-flex: 1 !important;
    -ms-flex: 1 1 0% !important;
    flex: 1 !important;
    padding: 0px !important;
    color:#00000080;
    font-size: 12px;
    font-weight: 800;
    margin-bottom: 2px;
    line-height: .9;
}
.form-control3{min-height: 31px !important;
    font-size: 17px;
    color: #000 !important;
    width: 100%;
    outline: transparent;
    border:none;
    background-color: transparent !important;
    font-family:  "Google Sans", sans-serif;
    font-weight:200 !important;
    line-height: inherit !important;
    -webkit-appearance: none !important;
    margin: 0px !important;
    padding: 0px !important;
}
.form-control3::placeholder {color: #4f4f4f78;
}
@media (min-width: 992px) {
    .modal-lg {
        --bs-modal-width: 582px;
    }
}
@media (max-width: 767px) {
.theme-btn{
    width: 100%;
}
    .slider-section .single-slider{
        height: 46vh;
    }

    .header {
        /* padding-top: 60px; */
    }
    .navbar-brand img {
        max-width: 180px;
        transition: .3s;
        overflow: auto;

    }
    .diente-carrusel{margin-top:-120px!important;}
    .mensaje-burbuja{right: 1%!important;}
    .mensaje-burbuja2{left: 5%!important; bottom: -10%!important;}
}
.btn-menu{
    background:#9c9b9b;
    width: 56px;
    height: 50px;
    padding-top: 0;
    border-radius: 0 !important;
}
.centrar-navs{display: flex;
    margin: auto;
    flex-wrap: nowrap;
    justify-content: space-evenly;}
@media (max-width:1199px) {
    .cuadro-az{padding: 40px; }
}
@media (min-width:1200px) and (max-width: 1700px) {
    .div550 {
        height:500px;

    }
    .cuadro-az{padding-left: 40px; padding-right: 40px;
        width: 50%;}
    .img-cuadro-az{width: 50%;padding: 0; height: 500px; object-fit: cover;}
}

@media (min-width:1701px) {
    .div550 {
        height:560px;
        max-width:1550px ;
        margin: auto;
    }
    .cuadro-az{padding-left: 40px; padding-right: 40px;
        width: 40%;}
    .img-cuadro-az{width: 60%;padding: 0; height: 560px; object-fit: cover;}
}

.cuadro-az{padding-left: 40px; padding-right: 40px; }
/* The Image container */


.boton-distribuidor{
    position: absolute;
right: 0;
    background:#fff ;
    top: 0;
    padding: 1.2em;

}

.grid {
    position: relative;
    clear: both;
    margin: 0 auto;
    padding: 1em 0 4em;
    max-width: 1000px;
    list-style: none;
    text-align: center;
}

/* Common style */
.grid figure {
    position: relative;
    float: left;
    overflow: hidden;
    margin: 10px 1%;
    height: auto;
    background: #3085a3;
    text-align: center;

}

.grid figure img {
    position: relative;
    display: block;
    min-height: 100%;
    max-width: 100%;
    opacity: 0.8;
}

.grid figure figcaption {
    padding: 2em;
    color: #fff;
    text-transform: uppercase;
    font-size: 1.25em;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

.grid figure figcaption::before,
.grid figure figcaption::after {
    pointer-events: none;
}

.grid figure figcaption,
.grid figure figcaption > a {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Anchor will cover the whole item by default */
/* For some effects it will show as a button */
.grid figure figcaption > a {
    z-index: 1000;
    text-indent: 200%;
    white-space: nowrap;
    font-size: 0;
    opacity: 0;
}

.grid figure h2 {
    word-spacing: -0.15em;
    font-weight: 300;
}

.grid figure h2 span {
    font-weight: 800;
}

.grid figure h2,
.grid figure p {
    margin: 0;
}

.grid figure p {
    letter-spacing: 1px;
    font-size: 68.5%;}
/*---------------*/
/***** Julia *****/
/*---------------*/

figure.effect-ineos {
    background: #2f3238;
}

figure.effect-ineos img {
    -webkit-transition: opacity 1s, -webkit-transform 1s;
    transition: opacity 1s, transform 1s;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

figure.effect-ineos figcaption {
    text-align: left;
}

figure.effect-ineos h2 {
    position: relative;
    padding: 0.5em 0;
}

figure.effect-ineos p {
    display: inline-block;
    margin: 0 0 0.25em;
    padding: 0.4em 1em;
    background: #B61615;
    color: #fff;
    text-transform: none;
    font-weight: 500;
    font-size: 75%;
    -webkit-transition: opacity 0.35s, -webkit-transform 0.35s;
    transition: opacity 0.35s, transform 0.35s;
    -webkit-transform: translate3d(-360px,0,0);
    transform: translate3d(-360px,0,0);
}

figure.effect-ineos p:first-child {
    -webkit-transition-delay: 0.15s;
    transition-delay: 0.15s;
}

figure.effect-ineos p:nth-of-type(2) {
    -webkit-transition-delay: 0.1s;
    transition-delay: 0.1s;
}

figure.effect-ineos p:nth-of-type(3) {
    -webkit-transition-delay: 0.05s;
    transition-delay: 0.05s;
}

figure.effect-ineos:hover p:first-child {
    -webkit-transition-delay: 0s;
    transition-delay: 0s;
}

figure.effect-ineos:hover p:nth-of-type(2) {
    -webkit-transition-delay: 0.05s;
    transition-delay: 0.05s;
}

figure.effect-ineos:hover p:nth-of-type(3) {
    -webkit-transition-delay: 0.1s;
    transition-delay: 0.1s;
}

figure.effect-ineos:hover img {
    opacity: 0.4;
    -webkit-transform: scale3d(1.1,1.1,1);
    transform: scale3d(1.1,1.1,1);
}

figure.effect-ineos:hover p {
    opacity: 1;
    -webkit-transform: translate3d(0,0,0);
    transform: translate3d(0,0,0);
}
.spanabajo{
    position: absolute;bottom: 92px;}
.abajo{position: absolute;bottom: 40px;}
.ml-toleft{margin-left: -15px;}
.sombreado-text{text-shadow: 6px 6px 9px #0000007d;}
.img-wrapper{position: relative;
    overflow: hidden;
}

.img-shadow{    position: absolute;
    width: 130%;
    height: 120%;
    background-image: url(../img/inicio/shadow.png);
    bottom: -137px;
    left: -116px;
    z-index: -2;
    background-size: cover;
    transition: 1s;
}
.icon-wrapper {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    -webkit-box-shadow: 0px 0px 43px 0px rgba(12, 12, 12, 0.16);
    box-shadow: 0px 0px 43px 0px rgba(12, 12, 12, 0.16);
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    /*margin-top: -120px;*/
    position: relative;
    z-index: 15;
    transition: 1s;
}
.card-inicio{box-shadow: 0px 5px 20px #89898929; border: none; min-height: 643px;}
.card2{box-shadow: 0px 5px 20px #89898929; border: none;}
.card-inicio:hover >.icon-wrapper{margin-top: -80px; background: #fff; transition: 1s;}
.card-inicio:hover >.img-wrapper >.img-shadow{z-index: 1; transition: 1s;}
/* Asegurarse de que cada slide ocupe el 100% del ancho disponible */
.carousel-inner {
    display: flex;
    overflow: hidden;
}

/* Cada "carousel-item" (slide) debe contener 7 imágenes, por lo tanto, 100% / 7 */
.carousel-item {
    display: flex;
    justify-content: center;
    flex: 0 0 auto;
    width: 100%; /* El contenedor ocupará todo el ancho */
}

.d-flex {
    display: flex;
    justify-content: space-between;
}

/* Establecer que cada imagen ocupe el 100% del espacio disponible dentro del slide */
.carousel-item-image {
    flex: 0 0 14.2857%; /* Esto asegura que 7 imágenes ocupen el 100% del espacio */
    padding: 5px; /* Agregar algo de espacio entre las imágenes */
}

/* Asegurarnos de que las imágenes no se distorsionen */
.carousel-item img {
    width: 100%;
    height: auto;
    display: block;
}

@media (min-width:992px) {
    .navbar-expand-lg .navbar-collapse{
        padding: 5px 10px 5px 10px;
        /* margin-top: 25px; */
    }
    /* Cuando el navbar tiene sticky */
    .navbar-area.sticky .navbar-expand-lg .navbar-collapse {
        margin-top: 0;
        padding: 10px;
    }


    .slider-section .single-slider.interior {
        height: 45vh;
    }
    .slider-interior.slider-section .single-slider .slider-content .interior .slider-title{
        font-size: 65px;
    }

}
.fs-65{font-size: 65px !important; }

/*EFECTO ANTES DESPues*/


main {
    display: grid;
    place-items: center;
    /*min-height: 100vh;*/
}

.container-img {
    display: grid;
    place-content: center;
    position: relative;
    overflow: hidden;
    border-radius: 1rem;
    --position: 50%;
}

.image-container {
    /*max-width: 90%;*/
    /*max-height: 90vh;*/
    /*aspect-ratio: 1/1;*/
}

.slider-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: left;
}

.image-before {
    position: absolute;
    inset: 0;
    width: var(--position);
    /*filter: grayscale(100%)*/
}

.slider {
    position: absolute;
    inset: 0;
    cursor: pointer;
    opacity: 0;
    /* for Firefox */
    width: 100%;
    height: 100%;
}

.slider:focus-visible ~ .slider-button {
    outline: 5px solid black;
    outline-offset: 3px;
}

.slider-line {
    position: absolute;
    inset: 0;
    width: .2rem;
    height: 100%;
    background-color: #fff;
    /* z-index: 10; */
    left: var(--position);
    transform: translateX(-50%);
    pointer-events: none;
}

.slider-button {
    position: absolute;
    background-color: #00b172;
    color: #fff;
    padding: .5rem;
    border-radius: 100vw;
    display: grid;
    place-items: center;
    top: 50%;
    left: var(--position);
    transform: translate(-50%, -50%);
    pointer-events: none;
    /* z-index: 100; */
    box-shadow: 1px 1px 1px hsl(0, 50%, 2%, .5);
}
.totop-testimonio{margin-top: -160px;}
.shadow-contact{box-shadow: 0px 5px 20px #89898929;}
.bradius50{border-radius: 50px;}
.sub-menu-bar {
    position: relative;
    background-image: url('../img/navbar/fondo_menu.png');
    background-position: bottom;
    background-size: cover;
    background-repeat: no-repeat;
}

@media (max-width: 991px) {
    .sub-menu-bar {
        background-image: none;
        background-color: #22334f;
    }
}

.top-contact-bar {
    position: absolute;
    top: 3px;
    right: 5%;
    display: flex;
    align-items: center;
    gap: 25px; /* separación entre elementos */
    white-space: nowrap;
}

.top-contact-bar a {
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
}

.top-contact-bar i {
    font-size: 15px;
}
/* ============================= 
   Video Responsive de YouTube
   ============================= */
.video-container {
    position: relative;
    width: 100%;
    height: 600px;
    overflow: hidden;
    background-color: #000;
}

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

@media (max-width: 767px) {
    .video-container {
        height: 300px;
    }
}

/* ============================= 
   Animación de texto NOSOTROS
   ============================= */
.marquee-container {
    width: 100%;
    overflow: hidden;
    background-color: #fff;
    padding: 20px 0;
}

.marquee-content {
    display: flex;
    width: fit-content;
    animation: marqueeScroll 20s linear infinite;
}

.marquee-text {
    font-family: 'Oswald', sans-serif;
    font-weight: bold;
    font-size: 120px;
    color: #22334f;
    opacity: 0.1;
    margin: 0 80px;
    white-space: nowrap;
    text-transform: uppercase;
    letter-spacing: 10px;
}

@keyframes marqueeScroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Responsive para el texto animado */
@media (max-width: 991px) {
    .marquee-text {
        font-size: 80px;
        margin: 0 50px;
        letter-spacing: 5px;
    }
}

@media (max-width: 576px) {
    .marquee-text {
        font-size: 50px;
        margin: 0 30px;
        letter-spacing: 3px;
    }
    
    .marquee-container {
        padding: 10px 0;
    }
}

/* ============================= 
   Sección de Productos
   ============================= */
.productos-section {
    background: #f8f9fa;
}

.product-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    box-shadow: 0 12px 35px rgba(0, 118, 146, 0.2);
}

.product-image-wrapper {
    position: relative;
    width: 100%;
    height: 220px;
    overflow: hidden;
    background: #e9ecef;
}

.product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card:hover .product-image {
    transform: scale(1.15);
}

.product-info {
    padding: 25px 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.product-category {
    color: #007692;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 10px;
    display: block;
}

.product-title {
    color: #22334f;
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 12px;
    min-height: 48px;
    line-height: 1.3;
}

.product-desc {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
    flex-grow: 1;
}

.btn-ver-productos {
    display: inline-block;
    padding: 15px 45px;
    background: #007692;
    color: white;
    text-decoration: none;
    font-weight: bold;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 118, 146, 0.3);
}

.btn-ver-productos:hover {
    background: #22334f;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(34, 51, 79, 0.4);
    color: white;
}

@media (max-width: 991px) {
    .product-title {
        font-size: 16px;
        min-height: auto;
    }
    
    .product-image-wrapper {
        height: 200px;
    }
}

@media (max-width: 576px) {
    .product-image-wrapper {
        height: 180px;
    }
    
    .product-info {
        padding: 20px 15px;
    }
    
    .btn-ver-productos {
        padding: 12px 35px;
        font-size: 14px;
    }
}

/* ============================= 
   NAVBAR SENIOR DESIGN - GLASSMORPHISM
   ============================= */
   
/* Body spacing for sticky navbar */
body {
    padding-top: 0;
}

.navbar-area-modern {
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 53, 95, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar-area-modern.scrolled {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 4px 30px rgba(0, 21, 44, 0.12);
    border-bottom-color: rgba(0, 53, 95, 0.15);
}

.navbar-modern {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px 40px;
    position: relative;
    min-height: 100px;
}

/* Logo Styling */
.brand-modern {
    position: absolute;
    left: 40px;
    display: inline-flex;
    align-items: center;
    z-index: 10;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.brand-modern img {
    height: 70px;
    width: auto;
    transition: all 0.3s ease;
}

/* Keep logo size consistent on scroll */
.navbar-area-modern.scrolled .brand-modern img {
    height: 70px;
}

/* =============================
   Servicios Submenu
   ============================= */
.nav-item-modern.has-submenu {
    position: relative;
}

.services-dropdown {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 100%;
    width: fit-content;
    max-width: 92vw;
    background: rgba(255, 255, 255, 0.98);
    border-top: 0;
    box-shadow: none;
    padding: 0;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: max-height 0.3s ease, padding 0.3s ease, opacity 0.2s ease;
    z-index: 999;
    border-radius: 16px;
}

.nav-item-modern.has-submenu:hover .services-dropdown,
.nav-item-modern.has-submenu:focus-within .services-dropdown,
.services-dropdown:hover {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    max-height: 520px;
    padding: 16px 0 22px;
    border-top: 1px solid rgba(0, 53, 95, 0.08);
    box-shadow: 0 20px 50px rgba(0, 21, 44, 0.18);
}

.services-dropdown-inner {
    margin: 0 auto;
    padding: 0 24px;
}

.services-dropdown-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

.services-dropdown-item {
    display: block;
    padding: 14px 16px;
    border-radius: 14px;
    border: 1px solid rgba(0, 53, 95, 0.08);
    background: #f9fbff;
    text-decoration: none;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.services-dropdown-item:hover {
    background: #eef5fb;
    border-color: rgba(0, 53, 95, 0.18);
    transform: translateY(-2px);
}

.services-dropdown-title {
    display: block;
    color: #00152C;
    font-weight: 700;
    font-size: 15px;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    white-space: nowrap;
}

.services-dropdown-icon {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: rgba(0, 53, 95, 0.12);
    color: #0e7a99;
    font-size: 18px;
    flex-shrink: 0;
    order: 2;
}

.services-dropdown-text {
    display: block;
    color: #4b5b6b;
    font-size: 13px;
    line-height: 1.5;
}

@media (max-width: 991px) {
    .services-dropdown {
        display: none !important;
    }

    .services-dropdown-inner {
        padding: 0;
    }
    
    .services-dropdown-grid {
        grid-template-columns: 1fr;
    }
}

/* =============================
   Service Pages
   ============================= */
.service-hero-card {
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 26px 24px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
}

.service-feature-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 12px;
}

.service-feature-item {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    color: #ffffff;
    font-size: 15px;
    line-height: 1.5;
}

.service-feature-item i {
    color: #ffffff;
    font-size: 16px;
    margin-top: 3px;
}

.service-section {
    padding: 70px 0;
}

.service-section h2 {
    color: #00152C;
    font-weight: 700;
    margin-bottom: 18px;
}

.service-section p {
    color: #4b5b6b;
}

.service-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
}

/* Service Hero Banner Container */
.container-banner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Service Hero Banner */
.service-hero-banner {
    position: relative;
    width: 100%;
    height: 300px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-hero-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 21, 44, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
}

.service-hero-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    text-align: center;
}

.service-hero-kicker {
    font-size: 0.95rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.85);
    letter-spacing: 1.2px;
    text-transform: uppercase;
}

.service-hero-title {
    font-size: 2.8rem;
    font-weight: 900;
    color: white;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.4);
    line-height: 1.2;
    max-width: 800px;
}

.service-detail-section {
    padding: 80px 0;
    position: relative;
}

.service-detail-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(14, 122, 153, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
}

.service-detail-section .container {
    display: flex;
    flex-direction: column;
    gap: 60px;
    position: relative;
    z-index: 1;
}

.service-detail-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    align-items: start;
}

.service-detail-content {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.service-detail-header {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 0;
}

.service-detail-kicker {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    color: #0e7a99;
    font-weight: 700;
    opacity: 0.85;
}

.service-detail-title {
    color: #00152C;
    font-size: 2.6rem;
    font-weight: 900;
    line-height: 1.2;
}

.service-detail-body {
    display: grid;
    gap: 16px;
}

.service-detail-text {
    color: #4b5b6b;
    font-size: 15px;
    line-height: 1.75;
}

.service-advantages-sidebar {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.service-advantages-sidebar .service-advantages-title {
    margin-bottom: 0;
    text-align: left;
    font-size: 1.5rem;
    color: #00152C;
}

.service-advantages-sidebar .service-advantages-grid {
    display: flex;
    flex-direction: column;
    gap: 16px;
    grid-template-columns: 1fr;
}

.service-detail-image {
    width: 100%;
    border-radius: 20px;
    overflow: hidden;
    background: linear-gradient(135deg, #f0f5fa 0%, #e8f0f7 100%);
    aspect-ratio: 16/9;
    position: relative;
    box-shadow: 0 15px 45px rgba(0, 21, 44, 0.12);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-detail-image::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(14, 122, 153, 0.1) 0%, rgba(0, 21, 44, 0.03) 100%);
    z-index: 1;
    pointer-events: none;
}

.service-detail-image:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 60px rgba(0, 21, 44, 0.15);
}

.service-detail-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-detail-image:hover img {
    transform: scale(1.03);
}

.service-detail-image:empty,
.service-thumb-row:empty,
.service-thumb-nav:empty {
    display: none;
}

.service-thumb-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 18px;
}

.service-thumb {
    width: 90px;
    height: 70px;
    border-radius: 10px;
    object-fit: cover;
    box-shadow: 0 10px 20px rgba(0, 21, 44, 0.12);
}

.service-thumb-nav {
    display: flex;
    gap: 12px;
    margin-top: 14px;
    align-items: center;
}

.service-thumb-arrow {
    width: 30px;
    height: 30px;
    border: none;
    background: transparent;
    padding: 0;
    cursor: pointer;
}

.service-thumb-arrow img {
    width: 100%;
    height: auto;
    display: block;
}

.service-advantages-section {
    padding: 70px 0 80px;
    background: linear-gradient(180deg, 
        rgba(14, 122, 153, 0.03) 0%, 
        rgba(0, 21, 44, 0.01) 50%, 
        rgba(14, 122, 153, 0.02) 100%);
    position: relative;
    border-top: 1px solid rgba(0, 53, 95, 0.08);
    display: none;
}

.service-advantages-section::before {
    content: '';
    position: absolute;
    bottom: -150px;
    left: -150px;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(14, 122, 153, 0.03) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.service-advantages-title {
    text-align: center;
    color: #00152C;
    font-size: 2.2rem;
    font-weight: 900;
    margin-bottom: 50px;
    letter-spacing: 0.3px;
    position: relative;
    z-index: 1;
}

.service-advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 28px;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.service-advantage-card {
    text-align: left;
    padding: 20px;
    background: white;
    border: 1px solid rgba(14, 122, 153, 0.1);
    border-radius: 14px;
    box-shadow: 0 2px 10px rgba(0, 21, 44, 0.05);
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 14px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    width: 100%;
    position: relative;
    overflow: hidden;
}

.service-advantage-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: #0e7a99;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-advantage-card:hover::before {
    opacity: 1;
}

.service-advantage-card:hover {
    border-color: rgba(14, 122, 153, 0.2);
    box-shadow: 0 8px 25px rgba(14, 122, 153, 0.12);
    transform: translateY(-2px);
}

.service-advantage-card:hover .service-advantage-icon {
    transform: scale(1.1);
    background: #0e7a99;
    color: white;
}

.service-advantage-icon {
    font-size: 26px;
    color: #0e7a99;
    line-height: 1;
    width: 44px;
    height: 44px;
    min-width: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(14, 122, 153, 0.1);
    border-radius: 10px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    flex-shrink: 0;
}

.service-advantage-text {
    color: #1b2b3a;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.5;
    margin: 0;
    width: 100%;
}

.service-advantage-text {
    color: #1b2b3a;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.6;
    margin: 0;
    width: 100%;
}

@media (max-width: 991px) {
    .container-banner {
        padding: 0 30px;
    }

    .service-hero-banner {
        height: 250px;
    }

    .service-hero-title {
        font-size: 2.2rem;
    }

    .service-detail-section {
        padding: 70px 0;
    }

    .service-detail-section::before {
        top: 0;
        right: -100px;
        width: 300px;
        height: 300px;
    }

    .service-detail-section .container {
        gap: 50px;
    }

    .service-detail-wrapper {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .service-detail-title {
        font-size: 2.3rem;
    }

    .service-advantages-sidebar .service-advantages-grid {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 20px;
    }

    .service-advantages-sidebar .service-advantage-card {
        flex: 1 1 calc(50% - 10px);
        min-width: 200px;
    }
}

@media (max-width: 767px) {
    .service-hero-banner {
        height: 200px;
    }

    .service-hero-title {
        font-size: 1.8rem;
    }

    .service-hero-kicker {
        font-size: 0.85rem;
    }

    .service-detail-section {
        padding: 60px 0;
    }

    .service-detail-section::before {
        display: none;
    }

    .service-detail-section .container {
        gap: 40px;
    }

    .service-detail-title {
        font-size: 1.9rem;
    }

    .service-detail-text {
        font-size: 15px;
        line-height: 1.65;
    }

    .service-advantages-sidebar {
        gap: 20px;
    }

    .service-advantages-sidebar .service-advantages-title {
        font-size: 1.4rem;
    }

    .service-advantages-sidebar .service-advantages-grid {
        flex-direction: column;
        gap: 16px;
    }

    .service-advantage-card {
        padding: 24px !important;
        gap: 12px !important;
    }

    .service-advantage-icon {
        width: 48px !important;
        height: 48px !important;
        font-size: 24px !important;
    }

    .service-advantage-text {
        font-size: 13px !important;
        line-height: 1.5 !important;
    }

    .service-detail-image {
        aspect-ratio: 16/10;
    }

    .service-thumb-row,
    .service-thumb-nav {
        justify-content: center;
    }
}

/* =============================
   SERVICES HERO SECTION - MODERN DESIGN
   ============================= */
.services-hero-section {
    position: relative;
    overflow: hidden;
}

.services-hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #00355f 0%, #003d6b 50%, #588AB0 100%);
    opacity: 0.95;
}

.services-hero-section .container {
    position: relative;
    z-index: 2;
}

.services-hero-content h2 {
    line-height: 1.2;
    font-weight: 700;
}

.services-hero-content .btn-light {
    background: #fff;
    color: #00355f;
    border: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.services-hero-content .btn-light:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    background: #f0f0f0;
}

/* Service Cards Modern */
.service-card-modern {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 30px 25px;
    position: relative;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    overflow: hidden;
}

.service-card-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 53, 95, 0.3) 0%, rgba(0, 21, 44, 0.2) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.service-card-modern:hover {
    transform: translateY(-10px);
    background: rgba(0, 53, 95, 0.4);
    border-color: rgba(255, 255, 255, 0.4);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.service-card-modern:hover::before {
    opacity: 1;
}

.service-number {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    z-index: 1;
}

.service-icon {
    font-size: 50px;
    color: #fff;
    margin-bottom: 20px;
    display: block;
    transition: transform 0.4s ease;
}

.service-card-modern:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
}

.service-title {
    color: #fff;
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 12px;
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.service-description {
    color: rgba(255, 255, 255, 0.85);
    font-size: 15px;
    line-height: 1.6;
    margin: 0;
}

/* Responsive adjustments */
@media (max-width: 991px) {
    .services-hero-content {
        text-align: center;
        margin-bottom: 40px;
    }
    
    .services-hero-content h2 {
        font-size: 2.5rem;
    }
    
    .service-card-modern {
        margin-bottom: 20px;
    }
}

@media (max-width: 767px) {
    .services-hero-content h2 {
        font-size: 2rem;
    }
    
    .services-hero-content p {
        font-size: 1rem;
    }
    
    .service-icon {
        font-size: 40px;
    }
    
    .service-title {
        font-size: 18px;
    }
}

/* =============================
   WHY WE ARE BETTER SECTION
   ============================= */
.why-better-section {
    padding: 80px 0;
    background: #ffffff;
}

.why-better-image {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 53, 95, 0.15);
    position: relative;
    cursor: pointer;
    aspect-ratio: 16 / 10;
}

.why-better-play {
    position: absolute;
    inset: 0;
    margin: auto;
    width: 86px;
    height: 86px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
    font-size: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.25);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.why-better-play-ring {
    position: absolute;
    inset: -12px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.4);
    background: radial-gradient(circle, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0) 70%);
    animation: pulsePlay 2.2s ease-in-out infinite;
}

.why-better-play i {
    position: relative;
    left: 2px;
}

.why-better-image:hover .why-better-play {
    transform: scale(1.05);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
}

.video-modal-content {
    background: #0b1a2a;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.video-modal-content .btn-close {
    filter: invert(1);
}

@keyframes pulsePlay {
    0%,
    100% {
        transform: scale(1);
        opacity: 0.8;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.4;
    }
}

.why-better-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.6s ease;
}

.why-better-image.why-better-video-active {
    background: #000;
}

.why-better-image.why-better-video-active img,
.why-better-image.why-better-video-active .why-better-play {
    display: none;
}

.why-better-video {
    width: 100%;
    height: 100%;
    min-height: 320px;
    display: none;
    border: none;
}

.why-better-video.is-visible {
    display: block;
}

.why-better-image:hover img {
    transform: scale(1.05);
}

.why-better-content h2 {
    color: #00152C;
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 25px;
    line-height: 1.2;
}

.why-better-content > p {
    color: #555;
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 35px;
}

/* Stats card */
.stats-card-purple {
    background: linear-gradient(135deg, #00355f 0%, #588AB0 100%);
    border-radius: 20px;
    padding: 35px 30px;
    box-shadow: 0 20px 60px rgba(0, 53, 95, 0.3);
    margin-top: 30px;
    position: relative;
    overflow: hidden;
}

.stats-card-purple::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    pointer-events: none;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    position: relative;
    z-index: 1;
}

.stat-item {
    text-align: center;
    padding: 15px;
    position: relative;
}

.stat-item::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
}

.stat-item:last-child::after {
    display: none;
}

.stat-number {
    font-size: 2.8rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 8px;
    display: block;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.stat-label {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.95);
    font-weight: 500;
    line-height: 1.4;
}

/* Responsive for stats */
@media (max-width: 991px) {
    .why-better-section {
        padding: 60px 0;
    }
    
    .why-better-content {
        margin-top: 40px;
    }
    
    .why-better-content h2 {
        font-size: 2.5rem;
        text-align: center;
    }
    
    .why-better-content > p {
        text-align: center;
    }
    
    .stats-grid {
        gap: 20px;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
}

@media (max-width: 767px) {
    .why-better-content h2 {
        font-size: 2rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .stat-item::after {
        display: none;
    }
    
    .stat-item {
        border-bottom: 1px solid rgba(255, 255, 255, 0.2);
        padding-bottom: 20px;
    }
    
    .stat-item:last-child {
        border-bottom: none;
        padding-bottom: 15px;
    }
    
    .stat-number {
        font-size: 3rem;
    }
    
    .stat-label {
        font-size: 1rem;
    }
}

/* =============================
   Index: Replace Inline Styles
   ============================= */
.slider-title-mobile-top {
    position: absolute;
    top: 150px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
}

.slider-title-mobile-bottom {
    position: absolute;
    bottom: 150px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
}

.section-kicker {
    color: #007692;
    font-weight: 600;
    letter-spacing: 2px;
}

.contact-icon {
    font-size: 50px;
    color: #007692;
}

.brand-modern:hover {
    transform: translateY(-2px);
}

/* Navigation Menu */
.nav-menu-modern {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    list-style: none;
    margin: 0;
    padding: 0;
    height: 100%;
    align-self: center;
}

.nav-item-modern {
    position: relative;
    display: flex;
    align-items: center;
    height: 100%;
}

.nav-link-modern {
    position: relative;
    display: flex;
    align-items: center;
    padding: 0 18px;
    color: #00152C;
    font-weight: 100;
    font-size: 17px;
    letter-spacing: 0.5px;
    text-decoration: none;
    transition: color 0.3s ease;
    overflow: hidden;
    height: 100%;
    line-height: 1;
}

.nav-link-modern:hover {
    color: #00355f;
}

/* Animated Underline */
.nav-underline {
    position: absolute;
    bottom: 3px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #00355f 0%, #588AB0 100%);
    border-radius: 2px;
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-link-modern:hover .nav-underline {
    width: 80%;
}

/* Active State */
.nav-item-modern.active .nav-link-modern {
    color: #00355f;
}

.nav-item-modern.active .nav-underline {
    width: 80%;
}

/* ============================= 
   Search Expandable - Senior Design
   ============================= */
.search-modern-wrapper {
    display: flex;
    align-items: center;
    position: absolute;
    right: 40px;
    z-index: 10;
}

.search-trigger {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #00355f 0%, #588AB0 100%);
    border: none;
    border-radius: 50%;
    color: #fff;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(0, 53, 95, 0.25);
}

.search-trigger:hover {
    transform: scale(1.1) rotate(90deg);
    box-shadow: 0 6px 20px rgba(0, 53, 95, 0.35);
}

.search-trigger:active {
    transform: scale(0.95);
}

.search-expandable {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    background: #fff;
    border-radius: 25px;
    padding-right: 60px;
    box-shadow: 0 8px 30px rgba(0, 21, 44, 0.15);
    opacity: 0;
    visibility: hidden;
    width: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.search-expandable.active {
    opacity: 1;
    visibility: visible;
    width: 350px;
    padding-right: 60px;
}

.search-input-modern {
    width: 100%;
    border: none;
    outline: none;
    padding: 10px 18px;
    font-size: 14px;
    color: #00152C;
    background: transparent;
}

.search-input-modern::placeholder {
    color: #999;
}

.search-close {
    position: absolute;
    right: 6px;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5f5f5;
    border: none;
    border-radius: 50%;
    color: #666;
    cursor: pointer;
    transition: all 0.3s ease;
}

.search-close:hover {
    background: #00355f;
    color: #fff;
    transform: rotate(90deg);
}

/* Contenedor de resultados - Dropdown style */
.search-results-container {
    position: fixed;
    top: 85px;
    left: 0;
    right: 0;
    background: #fff;
    z-index: 9999;
    max-height: calc(100vh - 85px);
    overflow-y: auto;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.search-results-header {
    position: sticky;
    top: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 30px;
    background: #22334f;
    border-bottom: 2px solid #007692;
    z-index: 10;
}

.search-results-header h3 {
    color: #fff;
    margin: 0;
    font-size: 20px;
}

.btn-close-search {
    background: transparent;
    border: none;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.btn-close-search:hover {
    color: #007692;
    transform: rotate(90deg);
}

.search-results-inner {
    padding: 30px;
    background: #f8f9fa;
}

/* Cards de resultados */
.result-card {
    background: #fff;
    border-radius: 8px;
    padding: 15px;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border: 1px solid #e0e0e0;
}

.result-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 118, 146, 0.3);
}

.result-card-icon {
    font-size: 40px;
    color: #007692;

}

.result-card-title {
    font-size: 18px;
    font-weight: bold;
    color: #22334f;
    margin-bottom: 10px;
    /* min-height: 44px; */
}

.result-card-desc {
    font-size: 14px;
    color: #666;
    flex-grow: 1;
}

.result-card-link {
    color: #007692;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: all 0.3s ease;
}

.result-card-link:hover {
    color: #22334f;
    gap: 10px;
}

/* ===================================================
   MEDIA QUERY ESPECIAL: TABLETS (992px - 1200px)
   =================================================== 
   En este rango de resolución:
   - Se oculta el input de búsqueda
   - Solo se muestra la lupa (icono)
   - Al hacer clic en la lupa, aparece un input flotante
   - El input flotante tiene autofocus automático
   ================================================== */
@media (min-width: 992px) and (max-width: 1200px) {
    .navbar-nav .nav-item a{font-size: 14px;}
    .search-input-container{width: auto!important;}
    /* Ocultar el input, mantener solo la lupa visible */
    .search-input {
        opacity: 0;
        width: 0;
        padding: 0;
        border: none;
        pointer-events: none;
    }
    
    /* La lupa se convierte en botón clickeable */
    .search-icon {
        position: static;
        transform: none;
        cursor: pointer;
        font-size: 22px;
        pointer-events: all;
        transition: all 0.3s ease;
    }
    
    .search-icon:hover {
        color: #007692;
        transform: scale(1.1);
    }
    
    /* Ajustar contenedor para que solo muestre la lupa */
    .search-input-container {
        width: auto;
    }
    
    .search-navbar-wrapper {
        padding-left: 15px;
    }
}

/* ===================================================
   INPUT FLOTANTE (usado en tablets 992px-1200px)
   ===================================================
   Overlay que aparece al hacer clic en la lupa
   Contiene un input con autofocus
   ================================================== */
.floating-search-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    z-index: 10000;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 80px;
    animation: fadeIn 0.3s ease;
    pointer-events: none;
}

.floating-search-content {
    margin-left: 94px;;
    position: relative;
    width: 90%;
    max-width: 600px;
    background: #fff;
    border-radius: 8px;
    padding: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    animation: slideDown 0.3s ease;
    pointer-events: all;
}

.floating-search-input {
    width: 100%;
    background: #f8f9fa;
    border: 2px solid #007692;
    color: #22334f;
    padding: 10px 15px;
    font-size: 16px;
    border-radius: 6px;
    outline: none;
    transition: all 0.3s ease;
}

.floating-search-input:focus {
    border-color: #22334f;
    background: #fff;
}

.floating-search-input::placeholder {
    color: rgba(0, 0, 0, 0.4);
}

.btn-close-floating {
    position: absolute;
    top: 10px;
    right: 10px;
    background: transparent;
    border: none;
    color: #22334f;
    font-size: 24px;
    cursor: pointer;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.btn-close-floating:hover {
    color: #007692;
    transform: rotate(90deg);
}

/* =============================
   NAVBAR SENIOR DESIGN - GLASSMORPHISM
   ============================= */

/* Body padding for fixed navbar */
body {
    padding-top: 100px;
}

.navbar-area-modern {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 53, 95, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar-area-modern.scrolled {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 4px 30px rgba(0, 21, 44, 0.12);
    border-bottom-color: rgba(0, 53, 95, 0.15);
}

.navbar-modern {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px 40px;
    position: relative;
    min-height: 100px;
}

/* Logo Styling */
.brand-modern {
    position: absolute;
    left: 40px;
    display: inline-flex;
    align-items: center;
    z-index: 10;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.brand-modern img {
    height: 70px;
    width: auto;
    transition: all 0.3s ease;
}

.brand-modern:hover {
    transform: translateY(-2px);
}

/* Navigation Menu */
.nav-menu-modern {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-item-modern {
    position: relative;
}

.nav-link-modern {
    position: relative;
    display: inline-block;
    padding: 8px 18px;
    color: #00152C;
    font-weight: 100;
    font-size: 17px;
    letter-spacing: 0.5px;
    text-decoration: none;
    transition: color 0.3s ease;
    overflow: hidden;
}

.nav-link-modern:hover {
    color: #00355f;
}

/* Animated Underline */
.nav-underline {
    position: absolute;
    bottom: 3px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #00355f 0%, #588AB0 100%);
    border-radius: 2px;
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-link-modern:hover .nav-underline {
    width: 80%;
}

/* Active State */
.nav-item-modern.active .nav-link-modern {
    color: #00355f;
}

.nav-item-modern.active .nav-underline {
    width: 80%;
}

/* =============================
   Search Expandable - Senior Design
   ============================= */
.search-modern-wrapper {
    display: flex;
    align-items: center;
    position: absolute;
    right: 40px;
    z-index: 10;
}

.search-trigger {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #00355f 0%, #588AB0 100%);
    border: none;
    border-radius: 50%;
    color: #fff;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(0, 53, 95, 0.25);
}

.search-trigger:hover {
    transform: scale(1.1) rotate(90deg);
    box-shadow: 0 6px 20px rgba(0, 53, 95, 0.35);
}

.search-trigger:active {
    transform: scale(0.95);
}

.search-expandable {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    background: #fff;
    border-radius: 25px;
    padding-right: 60px;
    box-shadow: 0 8px 30px rgba(0, 21, 44, 0.15);
    opacity: 0;
    visibility: hidden;
    width: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.search-expandable.active {
    opacity: 1;
    visibility: visible;
    width: 350px;
    padding-right: 60px;
}

.search-input-modern {
    width: 100%;
    border: none;
    outline: none;
    padding: 10px 18px;
    font-size: 14px;
    color: #00152C;
    background: transparent;
}

.search-input-modern::placeholder {
    color: #999;
}

.search-close {
    position: absolute;
    right: 6px;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5f5f5;
    border: none;
    border-radius: 50%;
    color: #666;
    cursor: pointer;
    transition: all 0.3s ease;
}

.search-close:hover {
    background: #00355f;
    color: #fff;
    transform: rotate(90deg);
}

/* Contenedor de resultados - Dropdown style */
.search-results-container {
    position: fixed;
    top: 85px;
    left: 0;
    right: 0;
    background: #fff;
    z-index: 9999;
    max-height: calc(100vh - 85px);
    overflow-y: auto;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.search-results-header {
    position: sticky;
    top: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 30px;
    background: #22334f;
    border-bottom: 2px solid #007692;
    z-index: 10;
}

.search-results-header h3 {
    color: #fff;
    margin: 0;
    font-size: 20px;
}

.btn-close-search {
    background: transparent;
    border: none;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.btn-close-search:hover {
    color: #007692;
    transform: rotate(90deg);
}

.search-results-inner {
    padding: 30px;
    background: #f8f9fa;
}

/* Cards de resultados */
.result-card {
    background: #fff;
    border-radius: 8px;
    padding: 15px;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border: 1px solid #e0e0e0;
}

.result-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 118, 146, 0.3);
}

.result-card-icon {
    font-size: 40px;
    color: #007692;

}

.result-card-title {
    font-size: 18px;
    font-weight: bold;
    color: #22334f;
    margin-bottom: 10px;
    /* min-height: 44px; */
}

.result-card-desc {
    font-size: 14px;
    color: #666;
    flex-grow: 1;
}

.result-card-link {
    color: #007692;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: all 0.3s ease;
}

.result-card-link:hover {
    color: #22334f;
    gap: 10px;
}

/* ===================================================
   MEDIA QUERY ESPECIAL: TABLETS (992px - 1200px)
   ===================================================
   En este rango de resolucion:
   - Se oculta el input de busqueda
   - Solo se muestra la lupa (icono)
   - Al hacer clic en la lupa, aparece un input flotante
   - El input flotante tiene autofocus automatico
   ================================================== */
@media (min-width: 992px) and (max-width: 1200px) {
    .search-input-container{width: auto!important;}
    /* Ocultar el input, mantener solo la lupa visible */
    .search-input {
        opacity: 0;
        width: 0;
        padding: 0;
        border: none;
        pointer-events: none;
    }
    
    /* La lupa se convierte en boton clickeable */
    .search-icon {
        position: static;
        transform: none;
        cursor: pointer;
        font-size: 22px;
        pointer-events: all;
        transition: all 0.3s ease;
    }
    
    .search-icon:hover {
        color: #007692;
        transform: scale(1.1);
    }
    
    /* Ajustar contenedor para que solo muestre la lupa */
    .search-input-container {
        width: auto;
    }
    
    .search-navbar-wrapper {
        padding-left: 15px;
    }
}

/* ===================================================
   INPUT FLOTANTE (usado en tablets 992px-1200px)
   ===================================================
   Overlay que aparece al hacer clic en la lupa
   Contiene un input con autofocus
   ================================================== */
.floating-search-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    z-index: 10000;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 80px;
    animation: fadeIn 0.3s ease;
    pointer-events: none;
}

.floating-search-content {
    margin-left: 94px;;
    position: relative;
    width: 90%;
    max-width: 600px;
    background: #fff;
    border-radius: 8px;
    padding: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    animation: slideDown 0.3s ease;
    pointer-events: all;
}

.floating-search-input {
    width: 100%;
    background: #f8f9fa;
    border: 2px solid #007692;
    color: #22334f;
    padding: 10px 15px;
    font-size: 16px;
    border-radius: 6px;
    outline: none;
    transition: all 0.3s ease;
}

.floating-search-input:focus {
    border-color: #22334f;
    background: #fff;
}

.floating-search-input::placeholder {
    color: rgba(0, 0, 0, 0.4);
}

.btn-close-floating {
    position: absolute;
    top: 10px;
    right: 10px;
    background: transparent;
    border: none;
    color: #22334f;
    font-size: 24px;
    cursor: pointer;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.btn-close-floating:hover {
    color: #007692;
    transform: rotate(90deg);
}

/* ===================================================
   FIN DE ESTILOS PARA TABLETS
   ================================================== */

/* Responsive del buscador */
@media (max-width: 1200px) {
    .search-input-container {
        width: 240px;
    }
    
    .search-input {
        font-size: 13px;
    }
    
    .search-input::placeholder {
        font-size: 13px;
    }
    
    .search-results-container {
        top: 75px;
        max-height: calc(100vh - 75px);
    }
}

@media (max-width: 991px) {
    .search-navbar-wrapper {
        display: none !important;
    }
}

@media (max-width: 768px) {
    .result-card-title {
        font-size: 16px;
        min-height: auto;
    }
    
    .search-results-container {
        padding-top: 60px;
    }
    
    .search-results-header h3 {
        font-size: 24px;
    }
}

@media (min-width: 1650px) {
    .navbar-nav .nav-item {
        margin-left: 40px;
        position: relative;
    }
}

/* Pantallas 4K y Ultra Wide */
@media (min-width: 1920px) {
    .container-banner {
        max-width: 1600px;
        padding: 0 30px;
    }

    .service-hero-banner {
        height: 350px;
    }

    .service-hero-title {
        font-size: 3.2rem;
    }

    .service-hero-kicker {
        font-size: 1.1rem;
    }

    .service-detail-wrapper {
        gap: 100px;
    }

    .service-detail-section {
        padding: 100px 0;
    }

    .service-detail-section .container {
        gap: 80px;
    }

    .service-detail-title {
        font-size: 3rem;
    }

    .service-detail-text {
        font-size: 16px;
        line-height: 1.8;
    }

    .service-advantages-sidebar .service-advantages-title {
        font-size: 1.8rem;
    }

    .service-advantage-card {
        padding: 28px;
        gap: 18px;
    }

    .service-advantage-icon {
        width: 52px;
        height: 52px;
        font-size: 28px;
    }

    .service-advantage-text {
        font-size: 14px;
    }
}

    /* =============================
       Contactos flotantes
       ============================= */
    .floating-contacts {
        position: fixed;
        top: 135px;
        left: 12px;
        z-index: 1040;
        display: flex;
        flex-direction: column;
        gap: 12px;
        opacity: 1;
        transform: translateX(0);
        transition: opacity 0.25s ease, transform 0.25s ease;
    }

    .floating-contacts.is-hidden {
        opacity: 0;
        transform: translateX(-12px);
        pointer-events: none;
    }

    .floating-contact-group {
        position: relative;
        outline: none;
    }

    .floating-contact-trigger {
        width: 46px;
        height: 46px;
        border-radius: 50%;
        background: #fff;
        border: 1px solid #dbe4ec;
        box-shadow: 0 8px 22px rgba(0, 21, 44, 0.12);
        display: flex;
        align-items: center;
        justify-content: center;
        color: #22334f;
        font-size: 22px;
        cursor: pointer;
        transition: transform 0.25s ease, box-shadow 0.25s ease, color 0.25s ease;
    }

    .floating-contact-trigger:hover {
        transform: translateY(-2px);
        box-shadow: 0 12px 26px rgba(0, 21, 44, 0.2);
        color: #007692;
    }

    .floating-contact-tooltip {
        position: absolute;
        left: 58px;
        top: 50%;
        transform: translateY(-50%);
        background: #fff;
        border: 1px solid #dbe4ec;
        border-radius: 10px;
        box-shadow: 0 10px 30px rgba(0, 21, 44, 0.2);
        padding: 10px 14px;
        white-space: nowrap;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: opacity 0.25s ease, transform 0.25s ease;
    }

    .floating-contact-tooltip a {
        color: #22334f;
        text-decoration: none;
        font-size: 14px;
        transition: color 0.25s ease;
    }

    .floating-contact-tooltip a:hover {
        color: #007692;
    }

    .floating-contact-group:hover .floating-contact-tooltip,
    .floating-contact-group.pinned .floating-contact-tooltip,
    .floating-contact-group:focus-within .floating-contact-tooltip {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateY(-50%);
    }

    @media (max-width: 991px) {
        .floating-contacts {
            display: none !important;
        }
    }

/* =============================
   Servicios index - Rediseño
   ============================= */
.services-page {
    background: #f6f9fc;
}

.services-page-hero {
    padding-top: 56px !important;
    padding-bottom: 72px !important;
}

.services-page-kicker {
    display: inline-block;
    font-size: 12px;
    letter-spacing: 2px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 14px;
}

.services-page-title {
    font-size: clamp(2.3rem, 4.8vw, 3.4rem);
    line-height: 1.05;
}

.services-page-lead {
    font-size: 1.15rem;
    max-width: 560px;
    line-height: 1.65;
}

.services-page-cta {
    border-radius: 14px;
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.2);
}

.services-highlights-card {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.26), rgba(255, 255, 255, 0.14));
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 255, 255, 0.26);
    border-radius: 20px;
    padding: 30px 26px;
    box-shadow: 0 18px 40px rgba(0, 21, 44, 0.2);
}

.services-highlights-card .service-feature-item {
    font-size: 17px;
}

.services-catalog-section {
    padding-top: 80px;
    padding-bottom: 92px;
}

.services-catalog-head {
    max-width: 760px;
}

.services-catalog-kicker {
    font-size: 12px;
    letter-spacing: 2px;
    font-weight: 700;
    color: #0e7a99;
}

.services-catalog-title {
    color: #00152C;
    font-size: clamp(2rem, 3.7vw, 2.8rem);
}

.services-catalog-subtitle {
    color: #4b5b6b;
    font-size: 16px;
}

.service-catalog-card {
    height: 100%;
    min-height: 162px;
    display: flex;
    align-items: flex-start;
    gap: 16px;
    text-decoration: none;
    border-radius: 18px;
    padding: 22px 22px;
    background: #fff;
    border: 1px solid rgba(0, 53, 95, 0.1);
    box-shadow: 0 8px 22px rgba(0, 21, 44, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.service-catalog-card:hover {
    transform: translateY(-4px);
    border-color: rgba(14, 122, 153, 0.3);
    box-shadow: 0 14px 30px rgba(0, 21, 44, 0.14);
}

.service-catalog-icon {
    width: 44px;
    height: 44px;
    min-width: 44px;
    border-radius: 12px;
    background: rgba(14, 122, 153, 0.13);
    color: #0e7a99;
    font-size: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.service-catalog-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.service-catalog-title {
    color: #00152C;
    font-size: 22px;
    font-weight: 800;
    line-height: 1.2;
}

.service-catalog-text {
    color: #4b5b6b;
    font-size: 15px;
    line-height: 1.6;
}

.service-catalog-arrow {
    color: #0e7a99;
    font-size: 20px;
    margin-top: 2px;
}

@media (max-width: 991px) {
    .services-page-hero {
        padding-top: 34px !important;
        padding-bottom: 56px !important;
    }

    .services-highlights-card {
        padding: 22px 18px;
    }

    .services-highlights-card .service-feature-item {
        font-size: 15px;
    }

    .services-catalog-section {
        padding-top: 56px;
        padding-bottom: 66px;
    }

    .service-catalog-card {
        min-height: 148px;
        padding: 18px;
    }

    .service-catalog-title {
        font-size: 20px;
    }
}

@media (max-width: 576px) {
    .services-page-title {
        font-size: 2rem;
    }

    .services-page-lead {
        font-size: 1rem;
    }

    .services-page-cta {
        width: 100%;
    }

    .service-catalog-card {
        gap: 12px;
    }

    .service-catalog-title {
        font-size: 18px;
    }

    .service-catalog-text {
        font-size: 14px;
    }
}

/* ============================= 
   FORCE: Deshabilitar animación del collapse del navbar
   ============================= */
.navbar-collapse {
    transition: none !important;
    animation: none !important;
}

.navbar-collapse.collapsing {
    transition: none !important;
    animation: none !important;
    height: auto !important;
    overflow: visible !important;
}

.navbar-collapse.show {
    transition: none !important;
    animation: none !important;
    display: block !important;
}