html {
    scroll-behavior: smooth;
}


body{
    font-family: 'neo_sans', serif;
}

/* Personaliza la barra de desplazamiento */
::-webkit-scrollbar {
    width: 6px;  /* Ancho de la barra */
    height: 12px; /* Alto de la barra para el scroll horizontal */
}

/* Personaliza el "pulgar" de la barra de desplazamiento (la parte que se mueve) */
::-webkit-scrollbar-thumb {
    background-color: #d9272e;
    border-radius: 10px;     /* Esquinas redondeadas */
}

/* Personaliza el área de fondo de la barra de desplazamiento */
::-webkit-scrollbar-track {
    background-color: rgba(0, 0, 0, 0); /* Fondo completamente transparente */
    border-radius: 10px;                  /* Esquinas redondeadas */
}




/*COLOR CUSTOM HEADER*/

.bg-red-custom {
    background-color: #d9272e;
}

.text-red-custom{
    color: #d9272e;
}



.bg-gray-custom{
    background-color: #77777a;
}

.bg-gray-custom2{
    background-color: #626269;
}

.bg-gray-custom3{
    background-color: #77777a;
}


.bg-button-carrusel{
    background-color: rgba(116, 123, 140, 0.34);
}

.text-gray-custom{
    color: #78787a;

}

.text-gray-custom2{
    color: #626269;
}

/*COLOR CUSTOM HEADER*/

/* Estilos base - ocultar por defecto */
.text-Print {
    display: none !important;
    visibility: hidden !important;
}

/* Estilos de impresión con mayor especificidad */
@media print {
    .print-black {
        color: #000 !important;
        font-weight: bold !important;
    }

    .print-mt0 {
        margin-top: 0 !important;
    }

    .print-wfull {
        width: 100% !important;
        padding-bottom: 2px !important;
    }

    .print-borderb {
        border-bottom: #77777a solid 2px !important;
    }

    .print-pt0 {
        margin-top: 0 !important;
    }

    .print-m2 {
        margin-bottom: 0 !important;
    }

    .print-p0 {
        padding-bottom: 0 !important;
    }

    .bg-print {
        background-color: white !important;
    }

    /* Mejorar la visibilidad del texto en impresión */
    .text-Print {
        display: block !important;
        visibility: visible !important;
        position: static !important;
        width: auto !important;
        height: auto !important;
        max-width: 100% !important;
        font-size: 12px !important;
        line-height: 1.2 !important;
        color: #000 !important;
        background-color: transparent !important;
        border: none !important;
        margin: 0 !important;
        padding: 0 !important;
        overflow: visible !important;
        white-space: nowrap !important;
        text-overflow: ellipsis !important;
    }

    /* Asegurar que los elementos padre no interfieran */
    .text-Print * {
        color: #000 !important;
        background-color: transparent !important;
    }
}

/* Alternativa más específica para Mac Chrome */
@media print and (-webkit-min-device-pixel-ratio: 0) {
    .text-Print {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        position: relative !important;
        width: auto !important;
        height: auto !important;
        font-size: 12px !important;
        color: #000 !important;
        -webkit-print-color-adjust: exact !important;
        print-color-adjust: exact !important;
    }
}

/* Estilos específicos para WebKit (Safari/Chrome en Mac) */
@media print {
    @supports (-webkit-appearance: none) {
        .text-Print {
            display: block !important;
            visibility: visible !important;
            -webkit-transform: translateZ(0) !important;
            transform: translateZ(0) !important;
        }
    }
}

/*CENTRADO DE SIDEBAR*/

#sidebar-media {
    margin-top: 44vh;
    margin-bottom: -49vh;
    transform: translateY(-50%);
}


.icon-filter {
    filter: invert(1);
}


/*CENTRADO DE SIDEBAR*/


.art-challange-embed-buttons{
    pointer-events: auto;
}

.menu-movil{
    pointer-events: none;
}

.overley{
    pointer-events: auto;
}
.menu-movil button {
    pointer-events: auto; /* Hace que el botón dentro del div sea interactuable */
}

.menu-reponsive {
    pointer-events: auto; /* Hace que el botón dentro del div sea interactuable */
}


@media (min-width: 2560px) {
    .div-section-4k{
        margin-bottom: 32em;
    }

    .div-banner-4k{
        margin-bottom: 10em;
        margin-top: 8.5em;
    }

    .art-challenge-4k{
        margin-bottom: 36em;
    }

    .cobertura-4k{
        margin-bottom: 12em;
    }

}
/*HOME MENU*/
@media (max-width: 1024px) {
    #logo-background,
    #logo-ban{
        display: none;
    }

    #slider-controls,
    #menu-double{
        display: none;
    }


}

@media (min-width: 1025px) {
    #menu-rojo {
        display: block;
    }

    .menu-movil{
        display: none;
    }

    .overlay-menu{
        display: none;
    }




}


/*HOME MENU*/
@media (max-width: 1371px) {
    #sidebar-media{
        display: none;
    }

    #social-media-footer{
        display: block;

    }
}

@media (min-width: 1370px){
    #sidebar-media{
        display: block;
    }

    #social-media-footer{
        display: none;

    }
}




#social-media-footer {
    transition: transform 0.5s ease-in-out;
}
.hidden-footer {
    transform: translateY(100%);
}






.subrayado {
    position: relative;
    transition: color 0.3s ease;
}

.subrayado::after {
    content: '';
    position: absolute;
    bottom: -3px; /* Inicia más abajo del texto */
    left: 0;
    width: 100%; /* Ancho completo del subrayado */
    height: 3.5px; /* Altura del subrayado */
    border-radius: 15px; /* Bordes redondeados */
    background-color: rgba(255, 255, 255, 0.94);
    transform: translateY(10px) scaleY(0); /* Inicia desplazado y comprimido */
    transform-origin: bottom; /* Punto de origen desde abajo */
    opacity: 0; /* Comienza invisible */
    transition: transform 0.3s ease, opacity 0.3s ease; /* Transición suave */
}

.subrayado:hover {
    color: #fff; /* Cambia el color del texto al pasar el mouse */
}

.subrayado:hover::after {
    transform: translateY(0) scaleY(1); /* Se mueve hacia arriba y se expande */
    opacity: 1; /* Aparece al finalizar la animación */
}




.divisor{
    color: rgba(255, 255, 255, 0);
    background-color: rgba(255, 255, 255, 0.5);
    top: 1px;
    height: 10px;
    width: 1.4px;
    margin: 0px 0.6vh 0px 0.6vh;
}


.text-shadow-box {
    text-shadow: 2px 2px 4px #333333; /* Sombra en el texto */
}


.bg-formulario {
    position: relative;
    background-image: url('/utils/img/BANNER-LANDING.png'); /* Ruta de tu imagen */
    background-size: cover; /* Ajusta la imagen para que cubra todo el contenedor */
    background-position: center; /* Centra la imagen */
    background-repeat: no-repeat; /* Evita que la imagen se repita */
    height: 100vh; /* Define la altura del contenedor */
    width: 100%; /* Asegúrate de que ocupe todo el ancho */
}

.formularioEmpre{
    width: 63vh;
    margin: 2vw;
}

.bg-formulario::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Crea una capa semi-transparente negra */
    z-index: 1;
}

form {
    position: relative;
    z-index: 2;
}


#img-leasing{
    width: 70%;
    height: auto;
}

#leadimg {
    display: none;
}

#infoleasing {
    display: block;
}



@media (min-width: 600px) {
    #leadimg {
        display: none;
    }

    #infoleasing {
        display: block;
    }

}

@media (min-width: 1370px) {
    #leadimg {
        display: block;
    }

    #infoleasing {
        display: none;
    }


}



.highlight-leasing {
    font-size: 1.5em;
    display: inline-block;
}


@keyframes scale-up-ver-bottom {
    0% {
        opacity: 0;
        transform: translateY(-4px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.scale-up-ver-bottom {
    -webkit-animation: scale-up-ver-bottom 0.4s cubic-bezier(0.390, 0.575, 0.565, 1.000) both;
    animation: scale-up-ver-bottom 0.4s cubic-bezier(0.390, 0.575, 0.565, 1.000) both;
}

/* Estilos básicos para las secciones */
#Reme, #Cre {
    transition: opacity 0.5s ease-in-out; /* Agrega una transición suave para la opacidad */
}

@media (min-width: 770px) and (max-width: 1023px) {
    .div-banner-4k {
        display: flex !important;
        padding: 0em 5em;
    }

    .modulo-banner{
        display: none;
    }

    .div-section-mid{
        margin: auto;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    div-title-banner-mid{
        text-align: start;
        justify-content: normal;
        align-items: start;
        width: 100%;
    }
    .title-banner-mid{
        text-align: start;
        justify-content: end;
        top: 60px;
        width: 100%;
        font-size: 0.8em !important;
    }

    .title-lg-hidden{
        display: none;
    }
}

.accordion-content {
    overflow: hidden;
    transition: height 0.3s ease-in-out, opacity 0.3s ease-in-out;
}



#accordion-1 {
    overflow: hidden;
    transition: height 0.29s ease-in;
}

#accordion-2 {
    overflow: hidden;
    transition: height 0.29s ease-in;
}

.menu-open {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.menu-hidden {
    opacity: 0;
    transform: translateY(-20px);
    transition: opacity 0.3s;
}

.back{
    margin-top: -4.6vw;
    font-size:large;
    margin-left: 2vw;
    font-weight: bold;
}

#info-corporativo {
    opacity: 0;
    animation: fadeIn 1s ease-in-out forwards;
}

#videoList {
    opacity: 0;
    animation: fadeIn 1s ease-in-out forwards;
}

.slide-down {
    overflow: hidden;
    transition: height 0.5s ease-in-out;
}
.category-hidden {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.6s ease;
}

.category-visible {
    opacity: 1;
    transform: translateY(0);
}


#posts-container {
    opacity: 0;
    animation: fadeInBounce 1s ease-in-out forwards;
}


#videoList{
    opacity: 0;
    animation: fadeIn 1.5s ease-in-out forwards;
}

@keyframes fadeInBounce {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    60% {
        opacity: 1;
        transform: translateY(-10px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}


@keyframes fadeIn {
    to {
        opacity: 1;
    }
}




/* CAROUSEL REMESAS */



.carousel-container {
    overflow: hidden;
}

.carousel-track {
    display: flex;
    animation: scroll 60s linear infinite;
}

@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.video-thumbnail {
    transition: all 0.3s ease;
}

.video-thumbnail:hover {
    transform: scale(1.05);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.benefit-card {
    transition: all 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.carousel-container {
    overflow: hidden;
    position: relative;
}

.carousel-track {
    display: flex;
    animation: scroll 80s linear infinite;
    gap: 0.75rem;
}

.carousel-track:hover {
    animation-play-state: paused;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-100% - 0.75rem));
    }
}

.logo-item {
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.logo-item:hover {
    transform: scale(1.05);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .carousel-track {
        animation-duration: 50s;
        gap: 0.5rem;
    }

    @keyframes scroll {
        0% {
            transform: translateX(0);
        }
        100% {
            transform: translateX(calc(-100% - 0.5rem));
        }
    }
}

@media (max-width: 640px) {
    .carousel-track {
        animation-duration: 30s;
    }
}

@media (max-width: 480px) {
    .carousel-track {
        animation-duration: 40s;
    }
}

/* CAROUSEL REMESAS */

.carousel-container {
    overflow: hidden;
    position: relative;
}

.carousel-track {
    display: flex;
    gap: 1rem;
    animation: scroll 130s linear infinite;
    width: fit-content;
}

.carousel-track:hover {
    animation-play-state: paused;
}

.logo-item {
    flex-shrink: 0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.logo-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.logo-item img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-60%);
    }
}

/* Responsive adjustments */
@media (max-width: 640px) {
    .carousel-track {
        gap: 0.75rem;
        animation-duration: 120s;
    }
}


/* BOTON FORMULARIO ARTCHALLENGE 2025*/

@keyframes pulse-glow {
    0%, 100% { box-shadow: 0 0 20px rgba(239, 68, 68, 0.4); }
    50% { box-shadow: 0 0 30px rgba(239, 68, 68, 0.6), 0 0 40px rgba(239, 68, 68, 0.3); }
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-3px); }
}

@keyframes download-bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-4px); }
    60% { transform: translateY(-2px); }
}

.download-btn {
    background: linear-gradient(135deg, #ef4444, #dc2626, #b91c1c);
    background-size: 200% 200%;
    animation: float 3s ease-in-out infinite;
    position: relative;
    overflow: hidden;
}

.download-btn:hover {
    animation: pulse-glow 1.5s ease-in-out infinite;
    background-position: 100% 0;
    transform: translateY(-2px);
}

.download-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.download-btn:hover::before {
    left: 100%;
}

.download-icon {
    transition: all 0.3s ease;
}

.download-btn:hover .download-icon {
    animation: download-bounce 0.8s ease-in-out;
    transform: scale(1.1);
}

.particle {
    position: absolute;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    pointer-events: none;
    animation: particle-float 2s linear infinite;
}

@keyframes particle-float {
    0% {
        transform: translateY(0) rotate(0deg);
        opacity: 1;
    }
    100% {
        transform: translateY(-20px) rotate(360deg);
        opacity: 0;
    }
}

.text-glow {
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}


@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-8px); }
}

@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

@keyframes pulse-shadow {
    0%, 100% { box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1); }
    50% { box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15); }
}

.prize-card {
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.prize-card:hover {
    animation: pulse-shadow 2s ease-in-out infinite;
}

.first-place {
    background: linear-gradient(135deg, #fefce8 0%, #fef3c7 50%, #fde68a 100%);
    position: relative;
    overflow: hidden;
}

.first-place::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(251, 191, 36, 0.3), transparent);
    animation: shimmer 3s ease-in-out infinite;
}

.second-place {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 50%, #cbd5e1 100%);
}

.third-place {
    background: linear-gradient(135deg, #fef7f0 0%, #fed7aa 50%, #fdba74 100%);
}

.other-place {
    background: linear-gradient(135deg, #f9fafb 0%, #f3f4f6 50%, #e5e7eb 100%);
}

.medal-icon {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.prize-card:hover .medal-icon {
    transform: scale(1.2) rotate(10deg);
    animation: float 2s ease-in-out infinite;
}

.prize-amount {
    background: linear-gradient(45deg, #1f2937, #374151);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
}

.prize-card:hover .prize-amount {
    background: linear-gradient(45deg, #059669, #10b981);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

@media (max-width: 768px) {
    .prize-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .first-place {
        order: 1;
    }

    .second-place {
        order: 2;
    }

    .third-place {
        order: 3;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .prize-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .first-place {
        grid-column: span 2;
    }
}

@media (min-width: 1025px) {
    .prize-grid {
        grid-template-columns: repeat(5, 1fr);
        gap: 1.5rem;
    }

    .first-place {
        grid-column: span 1;
        transform: scale(1.05);
    }
}

.cta-section {
    background: linear-gradient(135deg, #ef4444, #dc2626, #b91c1c);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Ccircle cx='30' cy='30' r='2'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E") repeat;
    animation: shimmer 20s linear infinite;
}


/* Animaciones del modal */
#default-modal {
    transition: opacity 0.3s ease-in-out;
    opacity: 0;
}

#default-modal.show {
    opacity: 1;
}

#default-modal .modal-content {
    transition: all 0.3s ease-in-out;
    transform: scale(0.7) translateY(-20px);
    opacity: 0;
}

#default-modal.show .modal-content {
    transform: scale(1) translateY(0);
    opacity: 1;
}

/* Animación de entrada */
@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: scale(0.7) translateY(-20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

/* Animación de salida */
@keyframes modalFadeOut {
    from {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
    to {
        opacity: 0;
        transform: scale(0.7) translateY(-20px);
    }
}

#default-modal.animate-in .modal-content {
    animation: modalFadeIn 0.3s ease-out forwards;
}

#default-modal.animate-out .modal-content {
    animation: modalFadeOut 0.3s ease-in forwards;
}


/* Responsive adjustments */
@media (max-width: 640px) {
    #default-modal {
        padding: 1rem;
    }

    .modal-content {
        margin: 0 0.5rem;
        max-width: 95%;
    }

    .modal-content iframe {
        height: 200px !important;
        min-height: 180px;
    }
}

@media (max-width: 480px) {
    #default-modal {
        padding: 0.5rem;
    }

    .modal-content {
        margin: 0;
        max-width: 98%;
        border-radius: 0.5rem;
    }

    .modal-content iframe {
        height: 180px !important;
        min-height: 160px;
    }
}

@media (max-width: 360px) {
    .modal-content iframe {
        height: 160px !important;
        min-height: 140px;
    }
}


/* Animación fade con blur reducido y más énfasis en fade */
.form-container {
    opacity: 0;
    filter: blur(2px) brightness(0);
    animation: smoothFadeBlur 4s ease-out forwards;
}

.register-container {
    opacity: 0;
    filter: blur(2px) brightness(0);
    animation: smoothFadeBlur 2s ease-out forwards;
}

@keyframes smoothFadeBlur {
    0% {
        opacity: 0;
        filter: blur(2px) brightness(0);
    }
    20% {
        opacity: 0.1;
        filter: blur(1.5px) brightness(0.2);
    }
    40% {
        opacity: 0.3;
        filter: blur(1px) brightness(0.4);
    }
    60% {
        opacity: 0.5;
        filter: blur(0.5px) brightness(0.6);
    }
    80% {
        opacity: 0.8;
        filter: blur(0.2px) brightness(0.8);
    }
    100% {
        opacity: 1;
        filter: blur(0) brightness(1);
    }
}


@keyframes pulse-custom {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.02); }
}

@keyframes fade-in {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.pulse-custom {
    animation: pulse-custom 2s infinite;
}

.fade-in {
    animation: fade-in 0.5s ease-in-out;
}

.spinner {
    animation: spin 1s linear infinite;
}

.hover-lift:hover {
    transform: translateY(-2px);
}

.btn-shine:before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s;
}

.btn-shine:hover:before {
    left: 100%;
}

.animal-card:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}


/* Animación de entrada */
@keyframes modalIn {
    from {
        opacity: 0;
        transform: scale(0.98);
        filter: blur(10px);
    }
    to {
        opacity: 1;
        transform: scale(1);
        filter: blur(0);
    }
}

/* Animación de salida */
@keyframes modalOut {
    from {
        opacity: 1;
        transform: scale(1);
        filter: blur(0);
    }
    to {
        opacity: 0;
        transform: scale(0.98);
        filter: blur(10px);
    }
}

.animate-in {
    animation: modalIn 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.animate-out {
    animation: modalOut 0.4s cubic-bezier(0.7, 0, 0.84, 0) forwards;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.12); opacity: .9; }
}
.footer-gradient {
    background: linear-gradient(to top, rgba(0,0,0,.70) 0%, rgba(0,0,0,8) 70%, rgba(0,0,0,0) 100%);
}