
/*** Spinner Start ***/
/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}
/*** Spinner End ***/

/*** Topbar ***/
.topbar,
.topbar.bg-secondary,
.topbar.bg-primary {
    background-color: #EA001E !important;
    color: #ffffff !important;
}

.topbar a,
.topbar a.text-muted,
.topbar .text-muted,
.topbar i,
.topbar .text-primary,
.topbar a i {
    color: #ffffff !important;
}

.topbar a:hover,
.topbar a:hover i {
    color: rgba(255, 255, 255, 0.85) !important;
}

.topbar .container > .row,
.topbar .row {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    column-gap: 0.75rem;
}

.topbar .container > .row > [class*="col-"]:first-child,
.topbar .row > [class*="col-"]:first-child {
    flex: 0 0 auto !important;
    width: auto !important;
    max-width: none !important;
    padding-right: 0 !important;
}

.topbar .container > .row > [class*="col-"]:last-child,
.topbar .row > [class*="col-"]:last-child {
    flex: 1 1 auto !important;
    width: auto !important;
    max-width: none !important;
    min-width: 0 !important;
    text-align: left !important;
}

.topbar .row > [class*="col-"]:first-child .me-4 {
    margin-right: 1rem !important;
}

.topbar-marquee {
    overflow: hidden;
    width: 100%;
    max-width: 100%;
    mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
}

.topbar-marquee-track {
    display: flex;
    width: max-content;
    align-items: center;
    will-change: transform;
    animation: topbar-marquee-scroll 18s linear infinite;
}

.topbar-marquee-text {
    flex-shrink: 0;
    color: #ffffff !important;
    font-weight: 900;
    font-size: 0.95rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    white-space: nowrap;
    line-height: 1;
    padding-right: 3rem;
}

.topbar-marquee-text::after {
    content: "\2022";
    margin-left: 3rem;
    color: rgba(255, 255, 255, 0.55);
}

@keyframes topbar-marquee-scroll {
    from { transform: translate3d(0, 0, 0); }
    to { transform: translate3d(-50%, 0, 0); }
}

@media (prefers-reduced-motion: reduce) {
    .topbar-marquee-track {
        animation: none;
        transform: none;
        width: 100%;
        justify-content: flex-start;
    }

    .topbar-marquee-text:nth-child(n + 2),
    .topbar-marquee-text::after {
        display: none;
    }
}
/*** Topbar marquee End ***/

.back-to-top {
    position: fixed;
    right: 30px;
    bottom: 30px;
    display: none;
    transition: 0.5s;
    z-index: 99;
}

/*** Button Start ***/
.btn {
    font-weight: 600;
    transition: .5s;
}

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

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

.btn-md-square {
    width: 44px;
    height: 44px;
}

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

.btn-xl-square {
    width: 66px;
    height: 66px;
}

.btn-square,
.btn-sm-square,
.btn-md-square,
.btn-lg-square,
.btn-xl-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}

.btn.btn-primary {
    color: var(--bs-white);
}

.btn.btn-primary:hover {
    background: #c40019;
    border: 1px solid #c40019;
}

.btn.btn-hero-cta,
.btn.btn-hero-cta:hover,
.btn.btn-hero-cta:focus,
.btn.btn-hero-cta:active {
    background: var(--bs-primary);
    border-color: var(--bs-primary);
    color: var(--bs-white);
}

.btn.btn-secondary {
    color: var(--bs-white);
    background: #000C21;
    border-color: #000C21;
}

.btn.btn-secondary:hover {
    background: var(--bs-primary);
    border: 1px solid var(--bs-primary);
}

.btn.btn-light {
    color: var(--bs-primary);
}

.btn.btn-light:hover {
    color: var(--bs-white);
    background: var(--bs-primary);
    border: 1px solid var(--bs-primary);
}

/*** Icon Animation Start ***/
@keyframes icon-animat {
    0%  {border-radius: 67% 33% 29% 71% / 39% 46% 54% 61%;}

    25% {border-radius: 69% 31% 19% 81% / 43% 37% 63% 57%;}

    50% {border-radius: 67% 33% 16% 84% / 57% 37% 63% 43%;}

    75% {border-radius: 77% 23% 61% 39% / 36% 61% 39% 64%;}

    100% {border-radius: 67% 33% 29% 71% / 39% 46% 54% 61%;}
}
/*** Icon Animation End ***/


/*** Navbar Start ***/
.nav-bar {
    background: var(--bs-white);
}

.sticky-top {
    transition: 1s;
}

.navbar-light .navbar-nav .nav-link {
    position: relative;
    margin-right: 25px;
    padding: 35px 0;
    font-family: "Montserrat", sans-serif;
    letter-spacing: 0.02em;
    color: var(--bs-dark);
    font-size: 17px;
    font-weight: 700;
    outline: none;
    transition: .5s;
}

.sticky-top .navbar-light .navbar-nav .nav-link {
    padding: 20px 0;
    color: var(--bs-dark);
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active {
    color: var(--bs-primary);
}

.navbar-light .navbar-brand img {
    max-height: 60px;
    transition: .5s;
}

.sticky-top .navbar-light .navbar-brand img {
    max-height: 50px;
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 600;
    vertical-align: middle;
    margin-left: 8px;
}

.dropdown .dropdown-menu a:hover {
    background: var(--bs-primary);
    color: var(--bs-white);
}

.navbar .nav-item:hover .dropdown-menu {
    transform: rotateX(0deg);
    visibility: visible;
    margin-top: 8px !important;
    background: var(--bs-light);
    transition: .5s;
    opacity: 1;
}



@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
    display: block;
    visibility: hidden;
    top: 100%;
    transform: rotateX(-75deg);
    transform-origin: 0% 0%;
    border: 0;
    border-radius: 10px;
    margin-top: 8px !important;
    transition: .5s;
    opacity: 0;
    }
}

@media (max-width: 991px) {
    .navbar.navbar-expand-lg .navbar-toggler {
        padding: 8px 15px;
        border: 1px solid var(--bs-primary);
        color: var(--bs-primary);
    }

    .sticky-top .navbar-light .navbar-nav .nav-link {
        padding: 12px 0;
    }
}
/*** Navbar End ***/

/*** Carousel Header Start ***/
.carousel .carousel-item img {
    object-fit: cover;
}

.carousel .carousel-item,
.carousel .carousel-item img {
    height: min(100vh, 980px);
    min-height: 720px;
}

.carousel-item .carousel-caption {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    bottom: 0;
    background: rgba(0, 0, 0, .55);
    display: flex;
    align-items: center;
    color: #fff;
}

.carousel-item .carousel-caption h1,
.carousel-item .carousel-caption h1.display-5,
.carousel-item .carousel-caption h1.display-4,
.carousel-item .carousel-caption h1.hero-title,
.carousel-item .carousel-caption .text-white,
.carousel-item .carousel-caption p.text-white,
.carousel-item .carousel-caption p.text-uppercase {
    color: #fff !important;
}

.hero-photo {
    object-fit: cover;
    object-position: center center;
}

.hero-title {
    font-family: "Montserrat", sans-serif;
    font-weight: 800;
    font-size: clamp(2.75rem, 6.2vw, 5.25rem);
    line-height: 1.05;
    letter-spacing: -0.02em;
    text-shadow: 0 2px 24px rgba(0, 0, 0, 0.35);
}

.hero-title .hero-rotate {
    display: inline-grid;
}

.hero-eyebrow {
    letter-spacing: 0.12em;
    font-size: 0.9rem;
    font-weight: 700;
    opacity: 0.95;
}

.hero-lead {
    font-size: 1.2rem;
    max-width: 36rem;
    line-height: 1.55;
}

.hero-copy .btn-outline-light {
    border-width: 2px;
    font-weight: 700;
}

@media (max-width: 991.98px) {
    .carousel .carousel-item,
    .carousel .carousel-item img {
        height: min(88vh, 760px);
        min-height: 560px;
    }

    .hero-title {
        font-size: clamp(2.35rem, 9vw, 3.5rem);
    }
}

.finext-consent-check.text-dark,
.finext-consent-check.text-dark a {
    color: #212529 !important;
}

#analisis .finext-consent-check a {
    color: var(--bs-primary);
    font-weight: 700;
}

/*** Hero rotating headline ***/
.hero-rotate {
    display: inline-grid;
    vertical-align: top;
    text-align: left;
}

.hero-rotate-word {
    grid-area: 1 / 1;
    color: #EA001E !important;
    opacity: 0;
    visibility: hidden;
    transform: translate3d(0, 0.55em, 0);
    transition: opacity 0.45s ease, transform 0.45s ease, visibility 0.45s;
}

.hero-rotate-word.is-active {
    opacity: 1;
    visibility: visible;
    transform: translate3d(0, 0, 0);
}

.hero-rotate-word.is-leave {
    opacity: 0;
    visibility: hidden;
    transform: translate3d(0, -0.45em, 0);
}

@media (prefers-reduced-motion: reduce) {
    .hero-rotate-word {
        transition: none;
    }
}

.carousel .carousel-indicators {
    left: 75%;
    top: 50%;
    margin-right: 25%;
    transform: translateY(-50%);
    flex-direction: column;
}

.carousel-indicators [data-bs-target] {
    display: flex;
    width: 15px;
    height: 15px;
    border: 6px solid var(--bs-white);
    border-radius: 15px;
    padding: 0;
    margin-top:10px;
    margin-bottom:10px;
    background-color: var(--bs-secondary);
    opacity: 1;
    transition: 0.5s;
}

.carousel-indicators [data-bs-target].active {
    background-color: var(--bs-primary);
}

@media (max-width: 992px) {
    .carousel-indicators [data-bs-target] {
        display: none;
    }
}
/*** Carousel Header End ***/

/*** Single Page Hero Header Start ***/
.bg-breadcrumb {
    position: relative;
    overflow: hidden;
    background: linear-gradient(120deg, rgba(234, 0, 30, 0.88), rgba(0, 12, 33, 0.78)), url(../img/fact-bg.jpg);
    background-position: center top;
    background-repeat: no-repeat;
    background-size: cover;
    padding: 60px 0 60px 0;
    transition: 0.5s;
}

.bg-breadcrumb .breadcrumb {
    position: relative;
}

.bg-breadcrumb .breadcrumb .breadcrumb-item a {
    color: var(--bs-white);
}
/*** Single Page Hero Header End ***/

/*** Features Start ***/
.feature {
    background: var(--bs-light);
}

.feature .feature-item {
    display: flex;
    border-radius: 10px;
}

.feature .feature-item .feature-icon span {
    width: 90px; 
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    background: var(--bs-primary);
    border-radius: 67% 33% 29% 71% / 39% 46% 54% 61%;;
    animation-name: icon-animat;
    animation-duration: 5s;
    animation-delay: 1s;
    animation-direction: alternate;
    animation-iteration-count: infinite;
    transition: 0.5s;
}

/*** Features End ***/

/*** About Start ***/
.about .about-item .about-item-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    border-radius: 10px;
    background: var(--bs-light);
    transition: 0.5s;
}

.about .about-item .about-item-inner .about-icon {
    width: 90px; 
    height: 90px; 
    border-radius: 67% 33% 29% 71% / 39% 46% 54% 61%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bs-secondary);
    background: var(--bs-primary);
    animation-name: icon-animat;
    animation-duration: 5s;
    animation-delay: 1s;
    animation-direction: alternate;
    animation-iteration-count: infinite;
    transition: 0.5s;
}

.about .about-img {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 100%;
    
}

.about .about-img .img-1 {
    height: 85%;
    margin-right: 50px;
}

.about .about-img .img-2 {
    position: absolute;
    width: 100%; 
    bottom: 0; 
    right: 0;
    padding-left: 50px;
    border-radius: 10px;
}

.about .about-img::after {
    content: "";
    position: absolute;
    width: 10px;
    height: 98%;
    top: 0;
    right: 0;
    border-radius: 10px;
    background: var(--bs-primary);
    z-index: -1;
}

.about .about-item .text-item {
    position: relative;
    padding-left: 25px;
}

.about .about-item .text-item::after {
    content: "";
    position: absolute;
    width: 5px;
    height: 100%;
    top: 0;
    left: 0;
    border-radius: 10px;
    background: var(--bs-primary);
}
/*** About End ***/


/*** Fact Counter Start ***/
.counter {
    background:
        linear-gradient(180deg, rgba(255, 250, 250, 0.4) 0%, rgba(255, 232, 235, 0.95) 100%),
        #ffe8eb !important;
    border-top: 1px solid rgba(234, 0, 30, 0.12);
    border-bottom: 4px solid var(--bs-primary);
}

.counter.bg-secondary {
    background-color: #ffe8eb !important;
}

.counter .counter-item .counter-item-icon {
    width: 90px; 
    height: 90px; 
    border-radius: 67% 33% 29% 71% / 39% 46% 54% 61%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    background: var(--bs-primary);
    box-shadow: 0 10px 24px rgba(234, 0, 30, 0.22);
    animation-name: icon-animat;
    animation-duration: 5s;
    animation-delay: 1s;
    animation-direction: alternate;
    animation-iteration-count: infinite;
    transition: 0.5s;
}

.counter .text-white,
.counter h4.text-white {
    color: #000C21 !important;
}

.counter .counter-counting .text-white {
    color: var(--bs-primary) !important;
}
/*** Fact Counter End ***/

/*** Services Start ***/
.service .service-item {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    box-shadow: 0 0 45px rgba(0, 0, 0, .1);
    border-radius: 10px;
    background: var(--bs-white);
    transition: 0.5s;
}

.service .service-item:hover {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    border-radius: 60px;
    background: var(--bs-light);
}

.service .service-item::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    bottom: 0;
    left: 0;
    background: var(--bs-primary);
    border-radius: 10px;
    z-index: -1;
    transition: 0.5s;
    opacity: 0;
}

.service .service-item:hover::after {
    opacity: 1;
}

.service .service-item .service-icon {
    width: 90px; 
    height: 90px; 
    border-radius: 67% 33% 29% 71% / 39% 46% 54% 61%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    background: var(--bs-primary);
    animation-name: icon-animat;
    animation-duration: 5s;
    animation-delay: 1s;
    animation-direction: alternate;
    animation-iteration-count: infinite;
    transition: 0.5s;
}
/*** Service End ***/

/*** Cars Categories Start ***/
.categories .categories-item {
    position: relative;
    border: 1px solid var(--bs-secondary);
    border-radius: 10px;
    transition: 0.5s;
}

.categories .categories-item:hover {
    border: 1px solid var(--bs-primary);
}

.categories .categories-item .categories-item-inner {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    transition: 0.5s;
}

.categories .categories-item .categories-item-inner:hover {
    box-shadow: 0 0 50px rgba(234, 0, 30, .3);
}

.categories .categories-item-inner .categories-img {
    background: var(--bs-light);
}

.categories .categories-item-inner .categories-content {
    border-top: 4px solid var(--bs-white);
    text-align: center;
    background: var(--bs-light);
}

.categories .categories-item-inner .categories-review {
    display: flex;
    align-items: center;
    justify-content: center;
}

.categories-carousel .owl-stage-outer {
    margin-top: 65px;
    margin-right: -1px;
}

.categories-carousel .owl-nav .owl-prev,
.categories-carousel .owl-nav .owl-next {
    position: absolute;
    top: -65px;
    padding: 10px 35px;
    color: var(--bs-white);
    background: var(--bs-primary);
    border-radius: 50px;
    transition: 0.5s;
}

.categories-carousel .owl-nav .owl-prev {
    left: 0 !important;
}

.categories-carousel .owl-nav .owl-next {
    right: 0;
}

.categories-carousel .owl-nav .owl-prev:hover,
.categories-carousel .owl-nav .owl-next:hover {
    background: var(--bs-secondary);
    color: var(--bs-white);
}
/*** Cars Categories End ***/


/*** Process Start ***/
.steps {
    background: linear-gradient(rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.9)), url(../img/3333.jpg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}


.steps .steps-item {
    position: relative;
    background: var(--bs-secondary);
    border-radius: 10px;
}

.steps .steps-item h4,
.steps .steps-item p {
    color: var(--bs-white);
}

.steps .steps-item .setps-number {
    position: absolute;
    width: 64px;
    height: 64px;
    bottom: 0; 
    right: 40px;
    font-weight: 900;
    border: 1px solid var(--bs-white); 
    border-radius: 64px;
    transform: translateY(50%);
    color: var(--bs-white);
    background: var(--bs-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
}
/*** Process End ***/


/*** Blog Start ***/
.blog .row > [class*="col-"] {
    display: flex;
}

.blog .blog-item {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    border-radius: 10px;
    transition: 0.5s;
}

.blog .blog-item:hover {
    box-shadow: 0 0 45px rgba(0, 0, 0, .2);
}

.blog .blog-item .blog-img {
    position: relative;
    overflow: hidden;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    flex-shrink: 0;
}

.blog .blog-item .blog-img::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 0;
    bottom: 0;
    left: 0;
    background: rgba(255, 255, 255, 0.3);
    transition: 0.5s;
}

.blog .blog-item:hover .blog-img::after {
    height: 100%;
}

.blog .blog-item .blog-img img {
    transition: 0.5s;
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
}

.blog .blog-item:hover .blog-img img {
    transform: scale(1.2);
}  

.blog .blog-item .blog-content {
    position: relative;
    background: var(--bs-light);
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
}

.blog .blog-item .blog-content > a.h4 {
    min-height: 3.2em;
}

.blog .blog-item .blog-content > p {
    flex: 1 1 auto;
}

.blog .blog-item .blog-content > a:last-child {
    margin-top: auto;
}

.blog .blog-item .blog-content .blog-date {
    position: absolute;
    top: 0; 
    left: 25px; 
    transform: translateY(-50%);
    padding: 12px 25px;
    border-radius: 10px;
    color: var(--bs-white);
    background: var(--bs-primary);
}

.blog .blog-item .blog-content .blog-comment {
    display: flex;
    justify-content: space-between;
}
/*** Blog End ***/


/*** Banner Start ***/
.banner {
    padding: 0 !important;
    margin: 0;
}

.banner .banner-item {
    position: relative;
    width: 100%;
    min-height: clamp(28rem, 62vh, 40rem);
    overflow: hidden;
    border-radius: 0;
    isolation: isolate;
}

.banner .banner-media,
.banner .banner-item > img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: left center;
    border-radius: 0 !important;
    transform: scale(1.06);
    animation: banner-kenburns 18s ease-out forwards;
    z-index: 1;
}

.banner .banner-item::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 0;
    background:
        linear-gradient(90deg, rgba(0, 0, 0, 0.12) 0%, rgba(0, 0, 0, 0.45) 40%, rgba(90, 0, 12, 0.78) 72%, rgba(120, 0, 18, 0.9) 100%),
        linear-gradient(180deg, rgba(0, 0, 0, 0.2) 0%, transparent 40%, rgba(0, 0, 0, 0.25) 100%);
    z-index: 2;
}

.banner .banner-item .banner-content {
    position: relative;
    z-index: 5;
    width: 100%;
    min-height: clamp(28rem, 62vh, 40rem);
    margin: 0;
    padding: clamp(2.5rem, 6vw, 5rem) clamp(1.25rem, 5vw, 4.5rem);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    text-align: left;
    max-width: 46rem;
    margin-left: auto;
}

.banner-brand {
    font-family: "Montserrat", sans-serif !important;
    font-weight: 800 !important;
    font-size: clamp(1.75rem, 3.2vw, 2.75rem) !important;
    letter-spacing: 0.14em !important;
    text-transform: uppercase;
    color: #ffffff !important;
    margin: 0 0 1rem !important;
    line-height: 1 !important;
}

.banner-title {
    font-family: "Montserrat", sans-serif !important;
    font-weight: 800 !important;
    font-size: clamp(2.1rem, 4.8vw, 4.25rem) !important;
    letter-spacing: -0.03em !important;
    line-height: 1.05 !important;
    color: #ffffff !important;
    margin: 0 0 1.15rem !important;
    text-shadow: 0 10px 40px rgba(0, 0, 0, 0.35);
}

.banner-title span {
    color: #EA001E !important;
    display: inline-block;
}

.banner-lead {
    font-family: "Lato", sans-serif !important;
    font-size: clamp(1.05rem, 1.5vw, 1.25rem) !important;
    font-weight: 500 !important;
    line-height: 1.5 !important;
    color: rgba(255, 255, 255, 0.88) !important;
    margin: 0 0 1.75rem !important;
    max-width: 32rem;
}

.banner .banner-btn {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
}

.banner .banner-btn .btn {
    font-family: "Montserrat", sans-serif;
    font-weight: 700;
    letter-spacing: 0.02em;
    margin: 0 !important;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.banner .banner-btn .btn:hover {
    transform: translateY(-2px);
}

.banner .banner-btn .btn-primary {
    box-shadow: 0 14px 32px rgba(234, 0, 30, 0.35);
}

.banner .banner-content > * {
    animation: banner-rise 0.85s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.banner .banner-content > *:nth-child(1) { animation-delay: 0.08s; }
.banner .banner-content > *:nth-child(2) { animation-delay: 0.18s; }
.banner .banner-content > *:nth-child(3) { animation-delay: 0.28s; }
.banner .banner-content > *:nth-child(4) { animation-delay: 0.38s; }

@keyframes banner-kenburns {
    from { transform: scale(1.06); }
    to { transform: scale(1); }
}

@keyframes banner-rise {
    from {
        opacity: 0;
        transform: translateY(18px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 991.98px) {
    .banner .banner-item .banner-content {
        max-width: 100%;
        margin-left: 0;
        align-items: flex-start;
        text-align: left;
        background: linear-gradient(180deg, transparent 0%, rgba(0, 12, 33, 0.55) 30%, rgba(0, 12, 33, 0.82) 100%);
    }

    .banner .banner-item::after {
        background:
            linear-gradient(180deg, rgba(0, 12, 33, 0.35) 0%, rgba(0, 12, 33, 0.72) 55%, rgba(0, 12, 33, 0.92) 100%);
    }

    .banner .banner-media,
    .banner .banner-item > img {
        object-position: center center;
    }
}

@media (prefers-reduced-motion: reduce) {
    .banner .banner-media,
    .banner .banner-item > img,
    .banner .banner-content > * {
        animation: none !important;
        transform: none !important;
    }
}
/*** Banner End ***/

/*** Team Start ***/
.team .team-item {
    position: relative;
    text-align: center;
    border-radius: 10px;
    margin-top: 100px;
    background: var(--bs-light);
    transition: 0.5s;
    z-index: 1;
}

.team .team-item::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 0;
    bottom: 0;
    left: 0;
    border-radius: 10px;
    background: var(--bs-primary);
    z-index: 2;
    transition: 0.5s;
}

.team .team-item:hover::after {
    height: 100%;
}

.team .team-item .team-content {
    position: relative;
    z-index: 5;
}

.team .team-item .team-content h4,
.team .team-item .team-content p {
    transition: 0.5s;
}

.team .team-item:hover .team-content h4 {
    color: var(--bs-white);
}
.team .team-item:hover .team-content p {
    color: var(--bs-white);
}

.team .team-item .team-img {
    position: relative;
    overflow: hidden;
    top: -100px;
    margin-bottom: -100px;
    border-radius: 10px;
    z-index: 3;
}

.team .team-item .team-img img {
    transition: 0.5s;
}

.team .team-item:hover .team-img img {
    transform: scale(1.1);
}

.team .team-item .team-img::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 0;
    top: 0;
    left: 0;
    border-radius: 10px;
    background: rgba(255, 255, 255, .3);
    z-index: 4;
    transition: 0.5s;
}

.team .team-item:hover .team-img::after {
    height: 100%;
}
/*** Team End ***/

/*** Capability icons ***/
.capability-icons .capability-item {
    text-align: center;
    height: 100%;
    padding: 2rem 1.25rem 1.75rem;
    border-radius: 16px;
    background: var(--bs-light);
    transition: 0.35s ease;
}

.capability-icons .capability-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(22, 22, 26, 0.12);
}

.capability-icons .capability-icon {
    width: min(100%, 220px);
    margin: 0 auto 1.5rem;
    aspect-ratio: 1 / 1;
}

.capability-icons .capability-icon img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
    image-rendering: -webkit-optimize-contrast;
}

.capability-icons .capability-item h4 {
    margin-bottom: 0.5rem;
}

.capability-icons .capability-item p {
    margin-bottom: 0;
    color: var(--bs-secondary);
}
/*** Capability icons End ***/

/*** Audience / Para quién ***/
.audience .audience-item {
    background: var(--bs-light);
    border-radius: 16px;
    padding: 2rem 1.5rem;
    transition: 0.35s ease;
    border: 1px solid transparent;
}

.audience .audience-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(22, 22, 26, 0.1);
    border-color: rgba(107, 63, 160, 0.25);
}

.audience .audience-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #16161a;
    color: #fff;
    font-size: 1.35rem;
    margin-bottom: 1.25rem;
}

.audience .audience-icon i {
    color: #fff;
}

.audience .audience-item h4 {
    margin-bottom: 0.75rem;
}

.audience .audience-item > p {
    color: var(--bs-secondary);
    margin-bottom: 1rem;
}

.audience .audience-signal {
    font-size: 0.92rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    color: #16161a;
}
/*** Audience End ***/

/*** Testimonial Start ***/
.testimonial-carousel .owl-stage-outer {
    margin-right: -1px;
}

.testimonial .testimonial-item {
    position: relative;
    margin-top: 35px;
    border: 1px solid rgba(0, 12, 33, 0.1);
    border-radius: 10px;
}

.testimonial .testimonial-item .testimonial-quote {
    position: absolute;
    width: 70px;
    height: 70px;
    top: 0;
    right: 25px;
    transform: translateY(-50%);
    border-radius: 70px;
    color: var(--bs-white);
    background: var(--bs-primary);
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial .testimonial-item .testimonial-inner {
    display: flex;
    align-items: center;
    background: var(--bs-light);
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    padding-top: 1.5rem !important;
    padding-bottom: 1.25rem !important;
}

.testimonial .testimonial-item .testimonial-inner img {
    display: none;
}

.testimonial .testimonial-item .testimonial-inner .ms-4 {
    margin-left: 0 !important;
}

.testimonial .testimonial-item .testimonial-inner h4 {
    font-family: "Montserrat", sans-serif;
    font-weight: 800;
    margin-bottom: 0.25rem;
}

.testimonial .testimonial-item .testimonial-inner p {
    margin-bottom: 0;
    color: #6b7280;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-weight: 700;
}

.testimonial-carousel .owl-dots {
    display: flex;
    justify-content: center;
}

.testimonial-carousel .owl-dots .owl-dot {
    width: 30px;
    height: 30px;
    border-radius: 30px;
    margin: 20px 10px 0 10px;
    background: var(--bs-primary);
    transition: 0.5s;
}

.testimonial-carousel .owl-dots .owl-dot.active {
    width: 30px;
    height: 30px;
    border-radius: 30px;
    background: var(--bs-secondary);
    transition: 0.5s;
}

.testimonial-carousel .owl-dots .owl-dot span {
    position: relative;
    margin-top: 50%;
    margin-left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.testimonial-carousel .owl-dots .owl-dot.active span::after {
    background: var(--bs-primary);
}

.testimonial-carousel .owl-dots .owl-dot span::after {
    content: "";
    width: 15px;
    height: 15px;
    border-radius: 15px;
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: var(--bs-white);
    transition: 0.5s;
}
/*** Testimonial End ***/

/*** Contact Start ***/
.contact .contact-add-item {
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: var(--bs-light);
}

.contact .contact-add-item .contact-icon {
    width: 90px; 
    height: 90px; 
    border-radius: 67% 33% 29% 71% / 39% 46% 54% 61%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bs-secondary);
    background: var(--bs-primary);
    animation-name: icon-animat;
    animation-duration: 5s;
    animation-delay: 1s;
    animation-direction: alternate;
    animation-iteration-count: infinite;
    transition: 0.5s;
}

/*** Contact End ***/


/*** Footer Start ***/
.footer {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(ellipse 80% 60% at 12% 0%, rgba(234, 0, 30, 0.35) 0%, transparent 55%),
        radial-gradient(ellipse 70% 50% at 88% 100%, rgba(234, 0, 30, 0.22) 0%, transparent 50%),
        linear-gradient(165deg, #6e1018 0%, #4a0b12 42%, #32080e 100%);
    color: rgba(255, 255, 255, 0.82);
}

.footer::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.06) 0%, transparent 28%);
}

.footer .container {
    position: relative;
    z-index: 1;
}

.footer .footer-item a {
    line-height: 35px;
    color: rgba(255, 255, 255, 0.78);
    transition: 0.5s;
}

.footer .footer-item p {
    line-height: 35px;
    color: rgba(255, 255, 255, 0.78);
}

.footer .footer-item h4,
.footer .footer-item h6,
.footer .footer-item .text-white {
    color: #ffffff !important;
}

.footer .footer-item .text-muted {
    color: rgba(255, 255, 255, 0.55) !important;
}

.footer .footer-item a:hover {
    letter-spacing: 1px;
    color: #ffffff;
}

.footer .footer-item .footer-btn a,
.footer .footer-item .footer-btn a i {
    transition: 0.5s;
}

.footer .footer-item .footer-btn a:hover {
    background: var(--bs-white);
}

.footer .footer-item .footer-btn a:hover i {
    color: var(--bs-primary) !important;
}

.footer .form-control {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.22);
    color: #ffffff;
}

.footer .form-control::placeholder {
    color: rgba(255, 255, 255, 0.55);
}

.footer .form-control:focus {
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.4);
    color: #ffffff;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.12);
}

.footer .btn-secondary {
    background: #EA001E;
    border-color: #EA001E;
}

.footer .btn-secondary:hover {
    background: #ffffff;
    border-color: #ffffff;
    color: #EA001E;
}
/*** Footer End ***/

/*** copyright Start ***/
.copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    background: linear-gradient(180deg, #2a070c 0%, #1f0509 100%);
    color: rgba(255, 255, 255, 0.7);
}

.copyright a,
.copyright .text-white,
.copyright .text-white-50,
.copyright .text-body {
    color: rgba(255, 255, 255, 0.75) !important;
}

.copyright a:hover {
    color: #ffffff !important;
}
/*** copyright end ***/

/*** Province hub cards ***/
.province-card {
    position: relative;
    display: flex;
    align-items: flex-end;
    min-height: 240px;
    border-radius: 12px;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    text-decoration: none !important;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.18);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.province-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 12, 33, 0.15) 0%, rgba(0, 12, 33, 0.78) 100%);
    transition: background 0.35s ease;
}

.province-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.28);
}

.province-card:hover::before {
    background: linear-gradient(180deg, rgba(234, 0, 30, 0.2) 0%, rgba(0, 12, 33, 0.85) 100%);
}

.province-card-body {
    position: relative;
    z-index: 1;
    padding: 1.5rem;
    width: 100%;
    font-style: italic;
}

.province-card-body h3 {
    color: #fff !important;
    font-style: italic;
    font-family: "Montserrat", sans-serif;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.province-card-body p {
    color: rgba(255, 255, 255, 0.9) !important;
    font-style: italic;
    margin-bottom: 0;
    line-height: 1.45;
}

/*** Finance logos (no cards) ***/
.finance-logos {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 1.75rem 2.5rem;
}

.finance-logo-item {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 1 auto;
}

.finance-logo-img {
    max-height: 48px;
    max-width: 140px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: none;
    opacity: 0.92;
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.finance-logo-item:hover .finance-logo-img {
    opacity: 1;
    transform: scale(1.04);
}

@media (max-width: 575.98px) {
    .finance-logos {
        gap: 1.25rem 1.5rem;
    }
    .finance-logo-img {
        max-height: 40px;
        max-width: 110px;
    }
}

/*** Criterio FINEXT (recursos) ***/
.criterio-finext {
    position: relative;
    margin-bottom: 1.5rem;
    padding: 1.5rem 1.5rem 1.5rem 1.75rem;
    background: var(--bs-light);
    border-radius: 10px;
}

.criterio-finext::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    border-radius: 10px 0 0 10px;
    background: var(--bs-primary);
}

.criterio-finext-label {
    display: block;
    margin-bottom: 0.75rem;
    font-family: "Montserrat", sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--bs-primary);
}

.criterio-finext p {
    margin-bottom: 0;
    color: var(--bs-dark);
    line-height: 1.7;
}

/*** Enlaces contextuales entre recursos ***/
.col-lg-8 a.recurso-link {
    color: var(--bs-primary);
    font-weight: 600;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 0.18em;
    text-decoration-color: rgba(234, 0, 30, 0.45);
    transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

.col-lg-8 a.recurso-link:hover,
.col-lg-8 a.recurso-link:focus {
    color: var(--bs-secondary);
    text-decoration-color: var(--bs-secondary);
}



/*** Cookie consent banner ***/
.finext-cookie-banner {
    position: fixed;
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
    z-index: 1080;
    max-width: 720px;
    margin: 0 auto;
    background: #1F2E4E;
    color: #fff;
    border-radius: 14px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.28);
    padding: 1.1rem 1.25rem;
}

.finext-cookie-inner p {
    margin: 0 0 0.85rem;
    font-size: 0.92rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.92);
}

.finext-cookie-inner a {
    color: #fff;
    text-decoration: underline;
    font-weight: 700;
}

.finext-cookie-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: flex-end;
}

.finext-consent-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 12, 33, 0.55);
    z-index: 1090;
}

.finext-cookie-modal {
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 1095;
    width: calc(100% - 2rem);
    max-width: 560px;
    max-height: calc(100vh - 2rem);
    overflow: auto;
    background: #fff;
    color: #000c21;
    border-radius: 14px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
    padding: 1.5rem;
}

.finext-cookie-modal-inner h2 {
    font-family: Montserrat, sans-serif;
    font-weight: 800;
}

.finext-consent-category {
    padding: 0.85rem 1rem;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 10px;
    background: #f8f9fb;
}

body.finext-consent-modal-open {
    overflow: hidden;
}

.finext-consent-check {
    font-size: 0.85rem;
    line-height: 1.4;
    color: #1F2E4E;
}

.finext-consent-check a {
    color: var(--bs-primary);
    font-weight: 700;
}

/*** FINEXT forms ***/
.finext-form-panel {
    position: relative;
    overflow: hidden;
    background: #ffffff !important;
    color: #000C21 !important;
    border: 1px solid rgba(31, 46, 78, 0.1);
    border-radius: 12px !important;
    box-shadow: 0 20px 50px rgba(0, 12, 33, 0.14);
}

.finext-form-panel .finext-field-label,
.finext-form-panel .form-label,
.finext-form-panel .form-check-label {
    color: #1F2E4E !important;
}

.finext-form-panel .form-control,
.finext-form-panel .form-select {
    color: #000C21 !important;
    background: #f3f5f8 !important;
    border: 1px solid #d7dce3 !important;
}

.finext-form-panel .form-control::placeholder {
    color: #8b93a0 !important;
}

.finext-form-panel .form-select option {
    color: #000C21;
    background: #ffffff;
}

.finext-form-panel::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: var(--bs-primary);
}

.finext-form-panel > h3,
.finext-form-panel > h4 {
    font-family: "Montserrat", sans-serif;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #1F2E4E !important;
}

.finext-form-panel > .finext-field-label {
    color: #EA001E !important;
}

.finext-form-panel .text-secondary {
    color: #5c6570 !important;
}

.js-lead-form .finext-field-label,
.js-lead-form .form-label {
    display: block;
    font-family: "Montserrat", sans-serif;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #1F2E4E !important;
    margin-bottom: 0.5rem;
}

.js-lead-form .form-control,
.js-lead-form .form-select {
    font-family: "Lato", sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: #000C21 !important;
    background: #f3f5f8 !important;
    border: 1px solid #d7dce3 !important;
    border-radius: 8px !important;
    min-height: 3.25rem;
    padding: 0.85rem 1rem;
    box-shadow: none !important;
    transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.js-lead-form textarea.form-control {
    min-height: 8rem;
    resize: vertical;
}

.js-lead-form .form-select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath fill='%231F2E4E' d='M3 6l5 5 5-5'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 1rem center !important;
    background-size: 12px !important;
    padding-right: 2.5rem !important;
    appearance: none;
}

.js-lead-form .form-control::placeholder {
    color: #8b93a0 !important;
    font-weight: 500;
}

.js-lead-form .form-control:focus,
.js-lead-form .form-select:focus {
    color: #000C21 !important;
    background: #ffffff !important;
    border-color: #EA001E !important;
    box-shadow: 0 0 0 3px rgba(234, 0, 30, 0.12) !important;
}

.js-lead-form .form-floating > .form-control,
.js-lead-form .form-floating > .form-select {
    height: calc(3.6rem + 2px);
    line-height: 1.25;
    padding-top: 1.45rem;
    padding-bottom: 0.55rem;
}

.js-lead-form .form-floating > label {
    font-family: "Montserrat", sans-serif;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    color: #5c6570 !important;
    padding-left: 1rem;
}

.js-lead-form .form-floating > .form-control:focus ~ label,
.js-lead-form .form-floating > .form-control:not(:placeholder-shown) ~ label,
.js-lead-form .form-floating > .form-select ~ label {
    color: #EA001E !important;
    opacity: 1;
    transform: scale(0.82) translateY(-0.55rem) translateX(0.15rem);
}

.js-lead-form .form-check-input {
    width: 1.2rem;
    height: 1.2rem;
    margin-top: 0.15rem;
    border: 2px solid #1F2E4E;
    border-radius: 4px;
    background-color: #fff;
}

.js-lead-form .form-check-input:checked {
    background-color: #EA001E;
    border-color: #EA001E;
}

.js-lead-form .finext-consent-check {
    display: flex;
    gap: 0.65rem;
    align-items: flex-start;
    padding: 0.95rem 1rem 0.95rem 1.1rem;
    margin-top: 0.15rem;
    margin-left: 0;
    padding-left: 1.1rem !important;
    background: #f3f5f8;
    border: 1px solid #d7dce3;
    border-left: 3px solid #EA001E;
    border-radius: 8px;
    min-height: 0;
}

/* Bootstrap .form-check usa margin negativo: la casilla se iba encima de la franja roja */
.js-lead-form .finext-consent-check .form-check-input {
    float: none;
    flex: 0 0 auto;
    position: relative;
    margin: 0.2rem 0 0 0 !important;
}

.js-lead-form .finext-consent-check .form-check-label,
.js-lead-form .finext-consent-check .form-check-label.text-white,
.js-lead-form .finext-consent-check.text-dark .form-check-label {
    color: #1F2E4E !important;
    font-size: 0.9rem;
    line-height: 1.45;
}

.js-lead-form .finext-consent-check a,
.js-lead-form .finext-consent-check a.text-white {
    color: #EA001E !important;
    font-weight: 700;
    text-decoration: underline;
}

.js-lead-form [type="submit"],
.js-lead-form .btn-hero-cta,
.js-lead-form .btn-light {
    font-family: "Montserrat", sans-serif !important;
    font-weight: 800 !important;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    font-size: 0.88rem !important;
    border-radius: 8px !important;
    border: 0 !important;
    min-height: 3.35rem;
    padding: 0.95rem 1.25rem !important;
    background: #EA001E !important;
    color: #ffffff !important;
    box-shadow: 0 12px 28px rgba(234, 0, 30, 0.28);
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.js-lead-form [type="submit"]:hover,
.js-lead-form .btn-hero-cta:hover,
.js-lead-form .btn-light:hover {
    background: #c40019 !important;
    color: #ffffff !important;
    transform: translateY(-1px);
    box-shadow: 0 16px 34px rgba(234, 0, 30, 0.36);
}

.finext-form-panel--dark {
    background: linear-gradient(165deg, #243556 0%, #1F2E4E 50%, #16233d 100%) !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
}

.finext-form-panel--dark > h3,
.finext-form-panel--dark > h4 {
    color: #ffffff !important;
}

.finext-form-panel--dark > .finext-field-label {
    color: #ff6b7d !important;
}

.finext-form-panel--dark .js-lead-form .finext-field-label,
.finext-form-panel--dark .js-lead-form .form-label,
.finext-form-panel--dark .js-lead-form .form-floating > label {
    color: rgba(255, 255, 255, 0.88) !important;
}

.finext-form-panel--dark .js-lead-form .form-control,
.finext-form-panel--dark .js-lead-form .form-select {
    color: #ffffff !important;
    background: rgba(255, 255, 255, 0.08) !important;
    border-color: rgba(255, 255, 255, 0.22) !important;
}

.finext-form-panel--dark .js-lead-form .form-control::placeholder {
    color: rgba(255, 255, 255, 0.62) !important;
}

.finext-form-panel--dark .js-lead-form .form-control:focus,
.finext-form-panel--dark .js-lead-form .form-select:focus {
    color: #ffffff !important;
    background: rgba(255, 255, 255, 0.12) !important;
    border-color: #EA001E !important;
    box-shadow: 0 0 0 3px rgba(234, 0, 30, 0.25) !important;
}

.finext-form-panel--dark .js-lead-form .form-select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath fill='%23ffffff' d='M3 6l5 5 5-5'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 1rem center !important;
}

.finext-form-panel--dark .js-lead-form .form-check-input {
    border-color: rgba(255, 255, 255, 0.55);
    background-color: transparent;
}

.finext-form-panel--dark .js-lead-form .finext-consent-check {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.16);
}

.finext-form-panel--dark .js-lead-form .finext-consent-check .form-check-label,
.finext-form-panel--dark .js-lead-form .finext-consent-check a {
    color: rgba(255, 255, 255, 0.92) !important;
}

.finext-form-panel--dark .js-lead-form .finext-consent-check a {
    color: #ff8a96 !important;
}

/*** Brand rebalance: rojo + blanco dominante, navy solo sutil ***/
.text-secondary {
    color: #6b7280 !important;
}

/* Bloques grandes que usaban navy → superficie clara */
.bg-secondary:not(.topbar):not(.counter) {
    background-color: #f7f7f8 !important;
    color: #000C21 !important;
}

#analisis.bg-secondary .text-white,
#analisis.bg-secondary .list-unstyled.text-white,
#analisis.bg-secondary h2,
#analisis.bg-secondary p,
#analisis.bg-secondary li {
    color: #000C21 !important;
}

#analisis.bg-secondary .fa-check {
    color: #EA001E !important;
}

/* CTA provinciales: mismo fondo claro → texto oscuro (contraste) */
#cta-final.bg-secondary .text-white,
#cta-final.bg-secondary h2,
#cta-final.bg-secondary p,
#cta-final.bg-secondary a {
    color: #000C21 !important;
}

#cta-final.bg-secondary .text-primary,
#cta-final.bg-secondary .fa-phone-alt,
#cta-final.bg-secondary .fa-envelope {
    color: #EA001E !important;
}

/* Caja de acento about: rojo marca (no usar bg-secondary: se pisaba a gris) */
.finext-accent-box,
.about .finext-accent-box,
.about .bg-secondary {
    background: linear-gradient(145deg, #EA001E 0%, #c40019 100%) !important;
    color: #ffffff !important;
    border: 0 !important;
    box-shadow: 0 12px 28px rgba(234, 0, 30, 0.28);
}

.finext-accent-box h1,
.finext-accent-box h5,
.finext-accent-box .text-white,
.finext-accent-box .text-light,
.about .bg-secondary .text-white,
.about .bg-secondary .text-light,
.about .bg-secondary h1,
.about .bg-secondary h5 {
    color: #ffffff !important;
}

.finext-accent-box h1 {
    font-family: "Montserrat", sans-serif;
    font-weight: 800;
}

.finext-accent-box h5 {
    font-family: "Lato", sans-serif;
    font-weight: 500;
    opacity: 0.92;
}

/* Formulario contacto: panel claro (sin navy) */
.finext-form-panel--dark {
    background: #ffffff !important;
    border-color: rgba(0, 12, 33, 0.08) !important;
}

.finext-form-panel--dark > h3,
.finext-form-panel--dark > h4 {
    color: #000C21 !important;
}

.finext-form-panel--dark > .finext-field-label {
    color: #EA001E !important;
}

.finext-form-panel--dark .js-lead-form .finext-field-label,
.finext-form-panel--dark .js-lead-form .form-label,
.finext-form-panel--dark .js-lead-form .form-floating > label {
    color: #1a1a1a !important;
}

.finext-form-panel--dark .js-lead-form .form-control,
.finext-form-panel--dark .js-lead-form .form-select {
    color: #000C21 !important;
    background: #f3f5f8 !important;
    border-color: #d7dce3 !important;
}

.finext-form-panel--dark .js-lead-form .form-control::placeholder {
    color: #8b93a0 !important;
}

.finext-form-panel--dark .js-lead-form .form-control:focus,
.finext-form-panel--dark .js-lead-form .form-select:focus {
    color: #000C21 !important;
    background: #ffffff !important;
    border-color: #EA001E !important;
    box-shadow: 0 0 0 3px rgba(234, 0, 30, 0.12) !important;
}

.finext-form-panel--dark .js-lead-form .form-select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath fill='%23000C21' d='M3 6l5 5 5-5'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 1rem center !important;
}

.finext-form-panel--dark .js-lead-form .form-check-input {
    border-color: #000C21;
    background-color: #fff;
}

.finext-form-panel--dark .js-lead-form .finext-consent-check {
    background: #f3f5f8;
    border-color: #d7dce3;
}

.finext-form-panel--dark .js-lead-form .finext-consent-check .form-check-label,
.finext-form-panel--dark .js-lead-form .finext-consent-check a {
    color: #1a1a1a !important;
}

.finext-form-panel--dark .js-lead-form .finext-consent-check a {
    color: #EA001E !important;
}

.finext-form-panel--dark .js-lead-form .form-floating > .form-control:focus ~ label,
.finext-form-panel--dark .js-lead-form .form-floating > .form-control:not(:placeholder-shown) ~ label,
.finext-form-panel--dark .js-lead-form .form-floating > .form-select ~ label {
    color: #EA001E !important;
}

/* Labels de formularios: tinta casi negra, no navy */
.finext-form-panel .finext-field-label,
.finext-form-panel .form-label,
.finext-form-panel .form-check-label,
.js-lead-form .finext-field-label,
.js-lead-form .form-label {
    color: #111827 !important;
}

.finext-form-panel > .finext-field-label {
    color: #EA001E !important;
}

.finext-form-panel > h3,
.finext-form-panel > h4 {
    color: #000C21 !important;
}

/* Footer: tratado en bloque Footer (rojo sutil) */
.footer .footer-item a:hover {
    color: #ffffff !important;
}

/* Cookie banner: rojo marca */
.finext-cookie-banner {
    background: #EA001E !important;
}

/* Iconos capability / tipografía secundaria */
.capability-icons .capability-item p {
    color: #6b7280 !important;
}

.carousel-indicators [data-bs-target] {
    background-color: rgba(255, 255, 255, 0.45);
}

@media (max-width: 991.98px) {
    .banner .banner-item::after {
        background:
            linear-gradient(180deg, rgba(0, 0, 0, 0.25) 0%, rgba(90, 0, 12, 0.72) 55%, rgba(120, 0, 18, 0.92) 100%);
    }
}

/* Fase 7 — logo navbar (no H1) */
.navbar-brand .finext-logo {
    display: block;
    height: 40px;
    width: auto;
    max-width: 200px;
}

.sticky-top .navbar-light .navbar-brand .finext-logo {
    height: 36px;
}

.banner-eyebrow {
    margin-bottom: 1rem;
}

/* ========== Fase 12 — Accesibilidad ========== */

/* Skip link */
.skip-link {
    position: absolute;
    left: 0.75rem;
    top: -3.5rem;
    z-index: 10000;
    padding: 0.65rem 1rem;
    background: #000C21;
    color: #fff !important;
    border-radius: 0.35rem;
    font-weight: 700;
    text-decoration: none;
    transition: top 0.15s ease;
}
.skip-link:focus,
.skip-link:focus-visible {
    top: 0.75rem;
    outline: 3px solid #EA001E;
    outline-offset: 2px;
    color: #fff !important;
}

/* Focus visible — no quitar outline en teclado */
:focus {
    outline: none;
}
:focus-visible {
    outline: 3px solid #EA001E;
    outline-offset: 3px;
}
.btn:focus-visible,
.form-control:focus-visible,
.form-select:focus-visible,
.form-check-input:focus-visible,
.nav-link:focus-visible,
.navbar-toggler:focus-visible,
a:focus-visible,
button:focus-visible {
    outline: 3px solid #EA001E;
    outline-offset: 3px;
    box-shadow: 0 0 0 1px rgba(234, 0, 30, 0.25);
}
.navbar-light .navbar-nav .nav-link:focus-visible {
    color: var(--bs-primary);
}

/* Errores de formulario */
.js-lead-error,
.alert[role="alert"] {
    border-left: 4px solid #b00020;
}
.js-lead-form .is-invalid,
.js-lead-form .form-control.is-invalid,
.js-lead-form .form-select.is-invalid {
    border-color: #b00020;
}
.js-lead-form [aria-invalid="true"] {
    border-color: #b00020 !important;
}

/* Contraste — footer/copyright (solo incumplimiento) */
.footer .footer-item .text-muted {
    color: rgba(255, 255, 255, 0.78) !important;
}
.topbar a.text-muted {
    color: rgba(255, 255, 255, 0.88) !important;
}
.copyright a,
.copyright .text-white,
.copyright .text-white-50,
.copyright .text-body,
.copyright .btn-link {
    color: rgba(255, 255, 255, 0.88) !important;
}
.copyright .btn-link:hover,
.copyright a:hover {
    color: #ffffff !important;
}

/* Iconos decorativos Font Awesome: ocultos a AT */
.contact-icon i[aria-hidden="true"] {
    speak: never;
}

/* Dropdown Recursos / menú: focus por teclado */
.navbar .dropdown-menu .dropdown-item:focus-visible {
    outline: 3px solid #EA001E;
    outline-offset: -2px;
    background: rgba(234, 0, 30, 0.08);
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

