:root {

    --color-principal: #F16436;
    --color-segundario: #231F20;
    --color-p: #939393;
    --color-p-2: #8C929C;
    --color-gradiente: linear-gradient(90deg, rgba(255, 175, 29, 1) 0%, rgba(242, 100, 54, 1) 100%);

}




body,
h2,
h3,
h4,
h5,
h6,
p {
    font-family: 'TTNormsPro' !important;
}

img {
    max-width: 100%;
}

/*        BARRA DE NAVEGACION         */
.navbar {
    width: 100%;
    position: fixed;
    background: #fff;
    z-index: 1030;
}

.container-fluid {
    padding-left: 20px;
    padding-right: 20px;
}

.navbar-brand img {
    padding: 10px;
}



.navbar-nav .nav-item {
    padding: 0px 10px;
    font-weight: 500;
    color: var(--color-secundario);
    font-size: 16px;
}

.navbar-nav .nav-item:hover a {
    color: #F16436;
    border-bottom: 2px solid #F16436;
}

.navbar-nav .nav-item:last-child {
    border: 2px solid var(--color-principal);
    border-radius: 30px;
    padding: 0px 40px;
    margin-left: 10px;
}

.navbar-nav .nav-item:last-child:hover {
    background: var(--color-gradiente);
    border: 2px solid #fff;
    border-bottom: transparent;

}

.navbar-nav .nav-item:last-child:hover a {
    color: #fff;
}

.navbar-toggler {
    border: 2px solid var(--color-principal) !important;
}

.navbar-toggler:focus {
    box-shadow: none;
}

@media (max-width: 989px) {
    .navbar-collapse {
        text-align: center !important;
        border: 2px solid var(--color-principal) !important;
        border-top: transparent !important;
        padding: 30px;
    }

    .navbar-nav .nav-item:last-child {
        max-width: 300px;
        margin: auto !important;
        margin-top: 15px !important;
    }

    .navbar-nav .nav-item:hover a {
        border-bottom: transparent;
    }

}

@media (max-width: 576px) {
    .container-fluid {
        padding-left: 10px;
        padding-right: 10px;
    }
}


/* PORTADA */

.portada {
    background: linear-gradient(90deg, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 1) 56%, rgba(242, 142, 54, 1) 100%);
    padding-top: 60px;
}

.portada h2 span {
    background: var(--color-gradiente);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: inline-block;
}

.portada h2 {
    font-weight: 600;
    color: var(--color-secundario);
    font-size: 88px;
    line-height: 82px;
    max-width: 630px;
    margin-top: 100px;
    margin-bottom: 30px;
    letter-spacing: -4px;
}

.portada p {
    color: var(--color-p);
    font-size: 22px;
    line-height: 26px;
    margin-bottom: 30px;
    max-width: 630px;
    font-weight: 400;
}

.portada button {
    background: var(--color-gradiente);
    border: none;
    padding: 10px 40px;
    border-radius: 10px;
    color: #fff;
    font-size: 18px;
}

.portada .img-portada {
    text-align: center;

}

.portada .img-portada img {
    margin: 70px auto;
    max-width: 350px;

}

@media (max-width: 768px) {
    .portada {
        background: linear-gradient(90deg, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 1) 61%, rgba(247, 183, 127, 1) 100%, rgba(242, 142, 54, 1) 100%);
    }

    .portada .img-portada img {
        display: none;
    }

    .portada h2 {
        font-size: 68px;
        line-height: 62px;

    }

    .portada button {
        margin-bottom: 50px
    }
}

@media (max-width: 576px) {
    .portada button {
        padding: 10px;
    }
}

/* EXPERIENCIAS */

.experiencias h2 span {
    background: var(--color-gradiente);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    position: relative;
}

.experiencias h2 {
    font-weight: 600;
    color: var(--color-secundario);
    font-size: 44px;
    line-height: 42px;
    margin-top: 70px;
    margin-bottom: 20px;
    letter-spacing: -2px;
    display: inline-block;
}

.experiencias p {
    color: var(--color-p);
    font-size: 20px;
    line-height: 24px;
    margin-bottom: 30px;
}

/* 

@media (max-width: 768px) {
    .carousel-inner .carousel-item>div {
        display: none;
    }

    .carousel-inner .carousel-item>div:first-child {
        display: block;
    }
}

.carousel-inner .carousel-item.active,
.carousel-inner .carousel-item-start,
.carousel-inner .carousel-item-next,
.carousel-inner .carousel-item-prev {
    display: flex;
}

@media (min-width: 768px) {

    .carousel-inner .carousel-item-right.active,
    .carousel-inner .carousel-item-next,
    .carousel-item-next:not(.carousel-item-start) {
        transform: translateX(25%) !important;
    }

    .carousel-inner .carousel-item-left.active,
    .carousel-item-prev:not(.carousel-item-end),
    .active.carousel-item-start,
    .carousel-item-prev:not(.carousel-item-end) {
        transform: translateX(-25%) !important;
    }

    .carousel-item-next.carousel-item-start,
    .active.carousel-item-end {
        transform: translateX(0) !important;
    }

    .carousel-inner .carousel-item-prev,
    .carousel-item-prev:not(.carousel-item-end) {
        transform: translateX(-25%) !important;
    }
}
 */

.estrellas {
    display: inline-flex;
}

#myCarousel {
    margin-left: 80px;
    margin-bottom: 80px;

}

@media (min-width: 1720px) {

    #myCarousel {
        margin-left: 15%;
    }
}

.carrusel-buttons {
    display: inline-flex;
    float: right;
    margin-right: 100px;
    margin-top: 20px;
}

.owl-nav {
    text-align: right;
}

.owl-carousel .owl-nav button.owl-next,
.owl-carousel .owl-nav button.owl-prev {
    padding: 30px;

}

.owl-carousel .owl-nav button.owl-next span,
.owl-carousel .owl-nav button.owl-prev span {
    font-size: 50px;
    line-height: 5px;
    background: #edf0f1;
    padding: 10px;
    width: 40px;
    display: flex;
    height: 40px;
    border-radius: 30px;
    justify-content: center;
    margin-right: 10px;
}

#myCarousel h4 {
    font-weight: 600;
    font-size: 22px;
}

#myCarousel h5 {
    font-weight: 400;
    font-size: 18px;
    color: var(--color-p)
}

#myCarousel p {
    font-size: 14px;
    line-height: 16px;
    color: var(--color-p-2)
}

#myCarousel .card {
    border-radius: 20px;
    margin: 0px 20px;
    border: none !important;
    box-shadow: 1px 1px 151px -74px rgba(0, 0, 0, 0.4);
    -webkit-box-shadow: 1px 1px 151px -74px rgba(0, 0, 0, 0.4);
    -moz-box-shadow: 1px 1px 151px -74px rgba(0, 0, 0, 0.4);
    min-height: 230px;

}

#myCarousel .card .col-2 img {
    max-width: 80px;
    margin: auto !important;
}

@media (max-width: 576px) {
    #myCarousel {
        margin: 0px;
    }
}

/* agendar 6.66 millones  */

.agendar {
    background: rgb(255, 255, 255);
    background: linear-gradient(180deg, rgba(255, 255, 255, 1) 0%, rgba(251, 221, 195, 1) 20%, rgba(242, 142, 54, 0.4598214285714286) 50%, rgba(253, 239, 227, 1) 80%, rgba(255, 255, 255, 1) 100%, rgba(247, 183, 127, 1) 100%);
    text-align: center;
}

.agendar h2 {
    margin-bottom: 40px;
    font-size: 92px;
    display: inline-block;
    background: var(--color-gradiente);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    position: relative;
    min-width: 100%;
    font-weight: 600;
    letter-spacing: -4px;
}

.agendar h5 {
    color: var(--color-p);
    max-width: 800px;
    margin: auto;
    margin-bottom: 50px;
    font-weight: 400;
}

.agendar-row {
    margin: 80px 0px;
    padding: 50px 40px;
    background-color: #ffffff9e;
    border-radius: 20px;
}

.agendar button {
    border: 2px solid var(--color-principal);
    border-radius: 10px;
    padding: 10px 50px;
    margin-left: 10px;
    background: transparent;
    color: #000
}

@media (max-width: 768px) {
    .agendar h2 {
        font-size: 82px;
        line-height: 82px;
    }
}

@media (max-width: 576px) {
    .agendar h2 {
        font-size: 62px;
        line-height: 62px;
    }

    .agendar-row {
        padding: 40px 0px;
    }

    .agendar button {
        padding: 10px 30px;
    }
}



/* CLASE A */
.clase-a {
    padding: 100px 0px;
}

.clase-a h3 {
    font-weight: 500;
    font-size: 55px;
    letter-spacing: -2px;
    margin-bottom: 40px;
}

.clase-a p {
    line-height: 28px;
    font-size: 18px;
    color: var(--color-p);
    margin-bottom: 10px;
}

.clase-a p:nth-last-child(1) {
    margin-bottom: 50px;
}

.clase-a h2 {
    font-size: 82px;
    display: inline-block;
    background: var(--color-gradiente);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    position: relative;
    min-width: 100%;
    font-weight: 600;
    letter-spacing: -4px;
    text-align: center;
}


.clase-a h5 {
    text-align: center;
}

@media (max-width: 768px) {
    .clase-a {
        margin: 50px 0;
        padding: 10px 0;
        text-align: center;

    }

    .clase-a h3 {
        font-size: 42px;
        margin-top: 30px;
    }

    .clase-a p {
        text-align: left;
    }
}

/* SIMPLE Y TRANSPARENTE */
.simple {
    background: rgb(240, 240, 240);
    background: linear-gradient(180deg, rgba(240, 240, 240, 1) 0%, rgba(255, 255, 255, 1) 10%, rgba(255, 255, 255, 1) 20%);
}

.simple h3 {
    margin-top: 80px;
    font-size: 42px;
    font-weight: 600;
    letter-spacing: -2px;
    margin-bottom: 30px;
}

.simple p {
    color: var(--color-p);
    font-size: 18px;
    margin-bottom: 30px;
}

.simple button {
    color: #fff;
    background: var(--color-gradiente);
    border: none;
    padding: 10px 80px;
    border-radius: 10px;
    margin-bottom: 20px;
}

.simple img {
    margin-bottom: 100px
}

@media (max-width: 989px) {
    .simple .row {
        text-align: center;
    }

    .simple button {
        margin-bottom: 50px;
    }
}

@media (max-width: 576px) {
    .simple button {
        padding: 10px 50px;
    }
}

/* Nos encargamos */
.nos-encargamos {
    background-image: url(img/fondo-nosencargamos.jpg);
    text-align: center;
}

.nos-encargamos h2 {
    font-size: 82px;
    display: inline-block;
    color: #000;
    background: #fff;
    mix-blend-mode: multiply;
    position: relative;
    min-width: 100%;
    font-weight: 600;
    letter-spacing: -4px;
    text-align: center;
    line-height: 70px;
    height: 100%;

}

.nos-encargamos h2:before {
    content: '';
    display: block;
    width: 100%;
    height: 100%;
    background: var(--color-gradiente);
    mix-blend-mode: screen;
    position: absolute;
    top: 0;
    left: 0;
    line-height: 72px;
}

.nos-encargamos h2 span {
    color: transparent;
    display: block;
}

.nosotros-nos-encargamos {
    max-width: 750px;
    margin: auto !important;
}

@media (max-width: 989px) {
    .nos-encargamos h2 span {
        visibility: hidden;
    }

}

@media (max-width: 768px) {
    .nos-encargamos h2 {
        font-size: 52px;
        line-height: 52px;
    }

    .nosotros-nos-encargamos {
        max-width: 440px;
    }

}

/* SOLUCIONES DIGITALES - VANGUARD REDESIGN WHITE */
.soluciones-digitales {
    padding: 120px 0;
    background: #ffffff;
    color: #231F20;
    overflow: hidden;
    position: relative;
}

.soluciones-digitales h2 {
    font-size: clamp(48px, 6vw, 75px);
    font-weight: 800;
    letter-spacing: -3px;
    margin-bottom: 60px;
    color: #231F20;
    z-index: 1;
    position: relative;
    text-align: center;
}

/* Subtle light glow */
.soluciones-digitales::after {
    content: '';
    position: absolute;
    bottom: -10%;
    right: -10%;
    width: 40%;
    height: 40%;
    background: radial-gradient(circle, rgba(241, 100, 54, 0.05) 0%, transparent 70%);
    filter: blur(60px);
    z-index: 0;
}

/* Bento Grid */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-gap: 24px;
    margin-top: 40px;
}

.bento-item {
    position: relative;
    border-radius: 40px;
    background: #fdfdfd;
    border: 1px solid rgba(0, 0, 0, 0.05);
    padding: 30px;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.02);
}

.bento-item:hover {
    background: #F16436;
    border-color: #F16436;
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(241, 100, 54, 0.3);
}

.bento-item i {
    font-size: 80px;
    color: #F16436;
    margin-bottom: 25px;
    transition: all 0.4s ease;
}

.bento-item:hover i,
.bento-item:hover h3,
.bento-item:hover p {
    color: #fff !important;
}

.bento-item:hover i {
    transform: scale(1.1) rotate(5deg);
}

.bento-item h3 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 15px;
    letter-spacing: -1px;
    color: #231F20;
    transition: color 0.4s ease;
}

.bento-item p {
    font-size: 18px;
    /* Enlarged as requested */
    color: #666;
    line-height: 1.6;
    margin-bottom: 0;
    max-width: 90%;
    transition: color 0.4s ease;
}

/* Item Variations - Uniform 2x2 Grid */
.bento-item {
    grid-column: span 6;
    min-height: 280px;
}

@media (max-width: 991px) {
    .bento-grid {
        grid-template-columns: repeat(1, 1fr);
    }

    .bento-item {
        grid-column: span 1;
        min-height: 250px;
        padding: 30px;
    }
}

/* Formulario contanos */

.formulario-contanos {
    padding: 100px 0px 0px;
    background: rgb(255, 255, 255);
    background: linear-gradient(180deg, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 1) 38%, rgba(243, 204, 179, 1) 60%, rgba(255, 178, 130, 0.804359243697479) 75%, rgba(243, 204, 179, 1) 85%);
}

.formulario-contanos h2 {
    font-size: 72px;
    font-weight: 600;
    letter-spacing: -3px;
}

.formulario-contanos h3 {
    font-size: 72px;
    font-weight: 400;
    letter-spacing: -3px;
    margin-bottom: 40px
}

.formulario-contanos h4 {
    font-size: 32px;
    font-weight: 500;
    letter-spacing: -1px;
    margin-bottom: 30px;
}

.formulario-contanos form {
    max-width: 1000px;
    margin: auto;
}

.formulario-contanos form .checkbox-block {
    display: inline-flex;
    width: 100%;
    margin-bottom: 20px;
    margin-top: 10px;
}

.formulario-contanos form .opcion-check {
    min-width: 280px;
    border-radius: 50px;
    border: 1px solid #dedede;
    padding: 20px 30px;
    margin: 0px 30px;
    font-weight: 500;

}

.form-check-input[type=checkbox] {
    border-radius: 50px;
    padding: 10px;
    margin-top: 0px;
    background-color: transparent;
}

.form-check-input:checked {
    background-color: #1fba00;
    border-color: #1fba00;
}


.form-check-input {
    border: none !important;
}

.form-check-input:focus {
    box-shadow: none
}

.formulario-contanos form .opcion-check label {
    padding-left: 10px
}

.form-texto {
    margin: 40px 0px 100px;
    background: #ffffff8a;
    border-radius: 10px;
}

.form-texto input {
    border: none !important;
    margin-bottom: 0px !important;
    padding: 10px;
    border-radius: 10px;
}

.form-texto .col2 {
    width: 50%;

}

.form-texto .text-col2 {
    display: inline-flex;
    width: 100%;
    padding: 20px 30px 20px;
}

.form-texto .col2 input {
    width: 98%;
    margin: 0%
}

.form-texto .area-texto {
    padding: 0px 30px 20px;
}

.form-texto textarea {
    width: 100%;
    min-height: 200px;
    resize: none;
    border: none;
    border-radius: 20px;
    padding: 10px;


}

.form-texto .div-enviar {
    text-align: right;
    margin: 0 30px;
}

.form-texto input[type="submit"] {
    background: var(--color-gradiente);
    color: #fff;
    padding: 10px 60px;
    margin-bottom: 30px !important;
}

@media (max-width: 989px) {

    .formulario-contanos h2,
    .formulario-contanos h3 {
        font-size: 58px;
    }

    .formulario-contanos form .checkbox-block {
        margin: 0px;
        display: block;
        text-align: center;
    }

    .formulario-contanos form .opcion-check {
        max-width: 300px;
        margin: auto;
        margin-bottom: 10px;
    }

}

@media (max-width: 768px) {
    .formulario-contanos {
        margin: 50px 0px 0px;
    }

    .formulario-contanos h2 {
        font-size: 58px;
    }

    .formulario-contanos h3 {
        font-size: 52px;
    }

    .formulario-contanos .col-md-2,
    .formulario-contanos .col-md-10 {
        text-align: center;
    }

    .form-texto .text-col2 {
        display: block;
    }

    .form-texto .col2 {
        width: 100%;
    }

    .form-texto .col2:first-child {
        padding-bottom: 20px;
    }

    .form-texto .div-enviar {
        text-align: center
    }

}




/* FOOTER */
footer {
    background-color: #000;
    background-image: url(img/logo-footer.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center right;
    color: #fff;
}


footer h2 {
    font-size: 62px;
    font-weight: 600;
    margin-top: 50px;
}

footer h5 {
    font-size: 42px;
    line-height: 40px;
    margin: 10px 0px 50px;
    border-bottom: 2px solid #fff;
    max-width: 320px;
    font-weight: 300;
}

footer p {
    font-size: 22px;
    font-weight: 300;
}

footer .col-12 {
    display: inline-flex;
    margin-bottom: 50px;

}

footer .col-md-6:last-child {
    text-align: center;
}

footer li {
    list-style: none;
    display: inline-flex;
    margin-left: 20px;
    border: 2px solid #fff;
    padding: 5px 6px;
    border-radius: 30px;
    background: #000;


}

footer li:hover {

    border: 2px solid #000000;
    background: var(--color-gradiente);
}


footer li img {
    max-width: 22px;
    margin-top: -2px;

}

@media (max-width: 989px) {
    footer {
        background-position: 140% center;
    }

    footer h2 {
        font-size: 42px;
        line-height: 48px;
        margin-top: 30px;
    }

    footer h5 {
        font-size: 32px;
        line-height: 40px;
        margin: 10px 0px 50px;
        border-bottom: 2px solid #fff;
        max-width: 250px;
        font-weight: 300;
    }
}

@media (max-width: 768px) {
    footer {
        background-position: 140% center;
    }
}

@media (max-width: 576px) {
    footer {
        background-position: 160% center;
    }

    footer .col-12 {
        display: block;
        margin-bottom: 50px;

    }

    footer p,
    footer h2 {
        text-align: center;
    }

    footer h5 {
        margin: auto;
        margin-bottom: 20px;
    }
}


.btn-wsp {
    position: fixed;
    width: 55px;
    height: 55px;
    line-height: 58px;
    bottom: 55px;
    /* Elevated to match assistant */
    left: 25px;
    background: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.2);
    z-index: 100;
    transition: all 300ms cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.btn-wsp:hover {
    background: #20ba5a;
    transform: scale(1.1) translateY(-5px);
    box-shadow: 0px 8px 25px rgba(0, 0, 0, 0.3);
}

@media only screen and (min-width:320px) and (max-width:768px) {
    .btn-wsp {
        width: 63px;
        height: 63px;
        line-height: 66px;
    }
}

/* ASISTENTE PROYECTO (BOT) STYLES */

/* ASISTENTE CLASE A (BOT) STYLES */
.btn-bot {
    position: fixed;
    bottom: 55px;
    right: 25px;
    background: #F16436;
    color: #fff;
    border: none;
    padding: 10px 25px;
    border-radius: 28px;
    font-weight: 700;
    font-size: 16px;
    z-index: 1000;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(241, 100, 54, 0.4);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    font-family: inherit;
    text-transform: none;
}

.btn-bot:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(241, 100, 54, 0.5);
}

.bot-window {
    position: fixed;
    bottom: 115px;
    right: 25px;
    width: 350px;
    height: 520px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.25);
    display: none;
    flex-direction: column;
    overflow: hidden;
    z-index: 1001;
    border: 1px solid rgba(241, 100, 54, 0.1);
}

.bot-window.active {
    display: flex;
}

.bot-header {
    background: #F16436;
    color: white;
    padding: 18px 25px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.bot-header h5 {
    margin: 0;
    font-size: 19px;
    font-weight: 700;
}

.bot-body {
    flex: 1;
    padding: 22px;
    overflow-y: auto;
    background: #fdfdfd;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.bot-message {
    max-width: 88%;
    padding: 12px 18px;
    border-radius: 18px;
    font-size: 14.5px;
    line-height: 1.5;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.03);
}

.bot-message.bot {
    background: #f0f2f5;
    color: #333;
    align-self: flex-start;
    border-bottom-left-radius: 5px;
}

.bot-message.user {
    background: #F16436;
    color: white;
    align-self: flex-end;
    border-bottom-right-radius: 5px;
}

.bot-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 8px;
    width: 100%;
}

.bot-option {
    background: white;
    border: 1.5px solid #F16436;
    color: #F16436;
    padding: 10px 15px;
    border-radius: 15px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
    width: 100%;
    text-align: center;
    font-weight: 600;
}

.bot-option:hover {
    background: #F16436;
    color: white;
}

.bot-footer {
    padding: 12px 15px;
    border-top: 1px solid #eee;
    display: none;
    flex-wrap: nowrap;
    align-items: center;
    gap: 10px;
    background: #fff;
}

.bot-footer input {
    flex: 1;
    border: 1px solid #e0e0e0;
    padding: 10px 18px;
    border-radius: 25px;
    outline: none;
    font-size: 14.5px;
    transition: all 0.2s;
    background: #fff;
    height: 44px;
}

.bot-footer input:focus {
    border-color: #F16436;
    box-shadow: 0 0 0 2px rgba(241, 100, 54, 0.1);
}

.bot-footer button {
    background: #F16436;
    color: white;
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    flex-shrink: 0;
}

.bot-footer button:hover {
    transform: scale(1.05);
    background: #d54b1f;
}

.bot-footer button i {
    font-size: 19px;
    margin-left: 2px;
}

/* NEW WEB BANNER STYLES */
.banner-web {
    padding: 40px 0;
    background: #fff;
    width: 100%;
    overflow: hidden;
}

.banner-wrapper {
    position: relative;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.2);
    line-height: 0;
    overflow: hidden;
    transition: transform 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.banner-wrapper:hover {
    transform: scale(1.01);
}

.banner-wrapper picture img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.8s ease;
}

/* Shine Effect */
.banner-wrapper::after {
    content: "";
    position: absolute;
    top: -50%;
    left: -60%;
    width: 20%;
    height: 200%;
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(30deg);
    animation: shine 6s infinite;
}

@keyframes shine {
    0% {
        left: -60%;
    }

    15% {
        left: 120%;
    }

    100% {
        left: 120%;
    }
}

.banner-web .btn-lo-quiero {
    position: absolute;
    top: 46%;
    left: 48%;
    width: 22.2%;
    height: 18%;
    background: #F16436;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    font-weight: 800;
    text-decoration: none;
    font-size: 1.5vw;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 10;
    text-transform: uppercase;
    animation: breathing 3s ease-in-out infinite;
    box-shadow: 0 4px 15px rgba(241, 100, 54, 0.3);
}

@keyframes breathing {

    0%,
    100% {
        transform: scale(1);
        box-shadow: 0 4px 15px rgba(241, 100, 54, 0.3);
    }

    50% {
        transform: scale(1.03);
        box-shadow: 0 8px 25px rgba(241, 100, 54, 0.5);
    }
}

.banner-web .btn-lo-quiero:hover {
    background: #e1552b;
    transform: scale(1.1) translateY(-3px);
    color: white;
    box-shadow: 0 10px 30px rgba(241, 100, 54, 0.6);
}

@media (max-width: 991px) {
    .banner-web .btn-lo-quiero {
        font-size: 2.5vw;
    }
}

@media (max-width: 768px) {
    .banner-web {
        padding: 10px 0;
    }

    .banner-web .btn-lo-quiero {
        top: 70%;
        left: 5%;
        width: 35%;
        height: 9%;
        font-size: 3.5vw;
        border-radius: 10px;
        transform: translate(-50%, -50%);
    }

    .banner-web .btn-lo-quiero:hover {
        transform: translate(-50%, -50%) scale(1.1) translateY(-3px);
    }
}

/* Adjust WhatsApp button on left for mobile */
@media only screen and (min-width:320px) and (max-width:768px) {
    .btn-wsp {
        left: 15px !important;
        right: auto !important;
        bottom: 55px !important;
    }

    .btn-bot {
        right: 15px !important;
        left: auto !important;
        bottom: 55px !important;
    }

    .bot-window {
        right: 15px !important;
        left: 15px !important;
        width: auto !important;
        bottom: 110px !important;
    }
}

/* ANIMATED WORKFLOW SVG */
.workflow-container {
    max-width: 1300px;
    margin: 0 auto 40px;
    padding: 0 30px;
    overflow: visible;
}

.workflow-row {
    margin-top: 20px;
    /* Small space on mobile */
}

@media (min-width: 992px) {
    .workflow-row {
        margin-top: -80px;
        /* Pull up on desktop only */
    }
}

.workflow-svg {
    width: 100%;
    height: auto;
    font-family: 'TTNormsPro', sans-serif;
    overflow: visible;
}

/* Base styles for paths */
.workflow-svg .line-segment {
    stroke: #000;
    stroke-width: 2.5;
    fill: none;
    stroke-dashoffset: 1500;
    stroke-dasharray: 1500;
    animation: drawWorkflowLine 1.25s linear forwards;
    animation-play-state: paused;
}

.workflow-svg .node {
    opacity: 0;
    transform-origin: center;
    animation: nodePop 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
    animation-play-state: paused;
}

.workflow-svg .label {
    opacity: 0;
    font-size: 18px;
    font-weight: 500;
    animation: labelFade 0.8s ease-out forwards;
    animation-play-state: paused;
}

.workflow-svg .curved-arrow {
    stroke: #888;
    stroke-width: 1.5;
    fill: none;
    stroke-dasharray: 8, 4;
    stroke-dashoffset: 2000;
    animation: drawWorkflowCurve 2.5s ease-in-out forwards;
    animation-play-state: paused;
}

/* Sequential Timings - Strictly progressive & slow */

/* Step 1: Investigation (0s - 1.25s) */
.node-1 {
    animation-delay: 0s;
}

.label-1 {
    animation-delay: 0.1s;
}

.seg-1 {
    animation-delay: 0s;
}

/* Step 2: Strategy (1.25s - 2.5s) */
.node-2 {
    animation-delay: 1.25s;
}

.label-2 {
    animation-delay: 1.35s;
}

.seg-2 {
    animation-delay: 1.25s;
}

/* Step 3: Evaluation (2.5s - 3.75s) */
.node-3 {
    animation-delay: 2.5s;
}

.label-3 {
    animation-delay: 2.6s;
}

.seg-3 {
    animation-delay: 2.5s;
}

/* Step 4: Implementation (3.75s - 5.0s) */
.node-4 {
    animation-delay: 3.75s;
}

.label-4 {
    animation-delay: 3.85s;
}

.seg-4 {
    animation-delay: 3.75s;
}

/* Step 5: Monitoring (5.0s) */
.node-5 {
    animation-delay: 5.0s;
}

.label-5 {
    animation-delay: 5.1s;
}

/* Final Step: Curved Arrows - Only after the 5s horizontal sequence and a 1s pause */
.curve-1 {
    animation-delay: 6s !important;
}

.curve-2 {
    animation-delay: 8.5s !important;
}

.curve-3 {
    animation-delay: 11s !important;
}

/* Sync internal SVG animations with WOW.js reveal */
.workflow-container.animate__fadeInUp .workflow-svg .line-segment,
.workflow-container.animate__fadeInUp .workflow-svg .node,
.workflow-container.animate__fadeInUp .workflow-svg .label,
.workflow-container.animate__fadeInUp .workflow-svg .curved-arrow {
    animation-play-state: running;
}

@keyframes drawWorkflowLine {
    to {
        stroke-dashoffset: 0;
    }
}

@keyframes drawWorkflowCurve {
    to {
        stroke-dashoffset: 0;
    }
}

@keyframes nodePop {
    0% {
        transform: scale(0);
        opacity: 0;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes labelFade {
    0% {
        opacity: 0;
        transform: translateY(15px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Markers colors */
#arrowhead-main polygon {
    fill: #000;
}

#arrowhead-curve polygon {
    fill: #888;
}

/* --- INFINITE SCROLL SECTION RECONSTRUCTION --- */
.cases-scroll {
    overflow: hidden !important;
    padding: 120px 0 !important;
    background-color: #fff !important;
    border-top: 1px solid #eee !important;
    display: block !important;
}

.marquee-container {
    display: flex !important;
    flex-direction: column !important;
    gap: 50px !important;
}

.marquee {
    display: flex !important;
    overflow: hidden !important;
    user-select: none !important;
    gap: 30px !important;
    padding: 0 !important;
    mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent) !important;
}

.marquee-content {
    flex-shrink: 0 !important;
    display: flex !important;
    justify-content: space-around !important;
    gap: 30px !important;
    width: max-content !important;
    animation: scroll_infinite 40s linear infinite !important;
}

.marquee:hover .marquee-content {
    animation-play-state: running !important;
}

.marquee-content.reverse {
    animation-direction: reverse !important;
    animation-duration: 50s !important;
}

@keyframes scroll_infinite {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

.marquee-item {
    min-width: 350px !important;
    height: 230px !important;
    background: none !important;
    border: none !important;
    border-radius: 24px !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: none !important;
    transition: all 0.4s ease !important;
    overflow: hidden !important;
}

.marquee-item img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
}

@media (max-width: 768px) {
    .marquee-item {
        min-width: 250px !important;
        height: 160px !important;
    }
    .cases-scroll {
        padding: 50px 0 !important;
    }
}
