html {
    scroll-behavior: smooth;
}

/* Animaciones */
* {
    animation: appear 0.3s ease-in-out;
}

#mobileMenu,
#mobileMenu * {
    animation: none;
}

#mobileMenu {
    transform: translateX(0);
    transition: transform 0.3s ease-in-out;
}

#mobileMenu>* {
    transform: scale(1);
    transition: transform 0.6s ease-in-out;
}

#mobileMenu.notShowed>* {
    transform: scale(0.5);
    transition: transform 0.6s ease-in-out;
}


#mobileMenu.notShowed {
    transform: translateX(100%);
    transition: transform 0.6s ease-in-out;
}

#footerLinks a {
    word-break: break-all;
}

.home__hero {
    background-image: url("../img/home/hero.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 540px;
    align-content: center;
}

.home__video {
    min-height: 540px;
}

.acerca_hero {
    background-image: url("../img/acerca/hero.png") !important;
}

.catalogo_hero {
    background-image: url("../img/catalogo/hero.png") !important;
    min-height: 340px !important;
}

.enterate_hero {
    background-image: url("../img/enterate/hero.jpg") !important;
    min-height: 340px !important;
}

.enterate_hero .hero__content {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding-left: 60px;
}

.enterate_hero .hero__content h2 {
    text-align: right;
}

.contacto_hero {
    background-image: url("../img/contacto/hero.png") !important;
    min-height: 340px !important;
}

.faq_hero {
    background-image: url("../img/faq/hero.jpg") !important;
    min-height: 340px !important;
}

.videos_hero {
    background-image: url("../img/videos/hero.png") !important;
    min-height: 340px !important;
}


.hero__video {
    position: relative;
}

.hero__video .hero__content {
    position: absolute;
    top: 0;
    right: 0;
    background: RGBA(255, 255, 255, 0);
    background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(0, 0, 0, 0.42) 21%, rgba(0, 0, 0, 0.75) 68%, rgba(0, 0, 0, 1) 100%);
}

.hero--img .hero__content {
    height: 100%;
    /* background: RGBA(255, 255, 255, 0);
    background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(0, 0, 0, 0.42) 21%, rgba(0, 0, 0, 0.75) 68%, rgba(0, 0, 0, 1) 100%); */
}

.hero--img {
    background-image: url("../img/home/hero.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    align-content: center;
    height: 200px;
}

.hero__video video {
    width: 100%;
}

.hero .hero__content {
    width: 50%;
    align-content: center;
    height: 100%;
    padding: 12px 150px;
    place-self: end;
}

.hero .hero__input--container {
    border: 2px solid var(--orange);
    display: flex;
    max-width: 280px;
}

.hero .hero__input--container input {
    border: none;
    color: var(--black);
    font-family: "Poppins", sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    outline: none;
    padding: 18px 24px;
}

.hero .hero__input--container input::placeholder {
    color: rgba(18, 28, 34, 0.52);
    font-family: "Poppins", sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
}

.hero .hero__input--container button {
    background-color: var(--orange);
}

.categoria--orange,
.categoria--blue {
    transition: all 0.6s ease-in-out !important;
    background: linear-gradient(0deg, rgba(255, 255, 255, 1) 0%, rgb(222, 222, 222) 100%);

}

.categoria--orange:hover {
    background: linear-gradient(0deg, rgba(255, 255, 255, 1) 0%, rgba(255, 229, 206, 1) 100%);
    transition: all 0.3s ease-in-out !important;
}

.categoria--blue:hover {
    background: #ffffff;
    background: linear-gradient(0deg, rgba(255, 255, 255, 1) 0%, rgba(212, 242, 255, 1) 100%);
    transition: all 0.3s ease-in-out !important;
}

.categoria--card {
    display: grid;
    grid-template-rows: 1fr 4fr;
    height: 100%;
}

.categoria--card .categoria--img {
    align-content: center;
}

.banner-productos__item {
    display: grid;
    grid-template-rows: 4fr 1fr;
    gap: 12px;
    border-bottom: 2px solid var(--cyan);
    padding: 12px 0;
}

.banner-productos__item .banner-productos--img {
    display: flex;
    justify-content: center;
    align-items: center;
}

.banner-productos__item .banner-productos--img img {
    width: 100%;
    max-width: 240px;
}

#splideReviews .splide__arrow {
    background-color: #FFF;
}

#splideReviews .splide__arrow svg {
    width: 24px;
    height: 24px;
    fill: var(--orange);
}

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

.clientes__container img {
    width: 18%;
    aspect-ratio: 3/2;
    object-fit: contain;
}

.contacto__frame {
    width: 100%;
    height: 320px;
}

.contacto__form input,
.contacto__form textarea {
    width: 100%;
    padding: 12px 4px;
    border: none;
    border-bottom: 1px solid var(--black);
    font-family: "Poppins", sans-serif;
    font-weight: 400;
    margin: 12px 0;
    transition: border-bottom 0.6s ease-in-out;
}

.contacto__form input:focus,
.contacto__form textarea:focus {
    outline: none;
    border-bottom: 1px solid var(--orange);
    transition: border-bottom 0.3s ease-in-out;
}

.contacto__links {
    display: flex;
    border: 2px solid var(--orange);
    width: fit-content;
}

.contacto__links>div {
    padding: 20px;
}

.contacto__links>div:not(:last-child) {
    border-right: 2px solid var(--orange);
}

.products__hero {
    position: relative;
}

.products__hero>div {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    text-align: center;
    align-content: center;
}

.pagination a {
    color: var(--orange);
}

.pagination a:hover {
    color: var(--black);
}

.description__button {
    border: none;
    background-color: transparent;
    padding: 8px 4px;
    font-family: "Poppins", sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: #A0A0A0;
    border-bottom: 2px solid transparent;
    margin: 0 12px;
    transition: all 0.3s ease-in-out;
}

.description__button:hover {
    cursor: pointer;
    color: var(--black);
    transition: all 0.3s ease-in-out;
}

.description__button.active {
    border-bottom: 2px solid var(--orange);
    color: var(--black);
    transition: all 0.3s ease-in-out;
}

#referenciaContent {
    display: none;
}

#dropdownDistribuidores.dropdown-toggle::after {
    display: none;
}

.hero {
    min-height: 280px;
}

.hero__distribuidores {
    background-image: url("../img/distribuidores/hero.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.estado.selected {
    fill: orange;
    /* o el color que prefieras */
}

.distribuidor__frame {
    width: 100%;
    height: 320px;
}

#modalImage {
    max-width: 900px;
    width: 100%;
    height: auto;
    object-fit: contain;
}

.timeline-wrapper {
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    width: 100%;
}

/* Estilo base para las tabs */
.nav-tabs-orange .nav-link {
    background-color: #F7F7F7;
    color: var(--grey);
    border: none;
    transition: all 0.3s ease;
}


/* Tab activa */
.nav-tabs-orange .nav-link.active {
    background-color: #F7F7F7;
    border-bottom: 3px solid #ff9015 !important;

}

.nav-tabs-faq .nav-link {
    background-color: transparent;
    border: none;
    border-radius: 0;
    color: #000;
    font-weight: 400;
    padding: 0.75rem 1rem;
    text-align: left;
    transition: color 0.3s ease;
}

.nav-tabs-faq .nav-link.active {
    color: var(--grey);
    font-weight: 400;
}

.nav-tabs-faq .toggle-icon {
    font-size: 1.25rem;
    width: 1rem;
    display: inline-block;
    color: var(--grey);
}

.nav-tabs-faq .nav-link:not(.active) .toggle-icon {
    color: #000;
}

#searchBar {
    display: flex;
}

#searchBar.hidden {
    display: none;
}

.catalogo-item {
    position: relative;
    height: 320px;
}

.catalogo-item .btn {
    display: block;
    position: absolute;
    top: 0;
    z-index: 2;
}

.catalogo-item .btn span {
    display: block;
}

.romboide {
    height: 50%;
    width: 80%;
    position: absolute;
    transform: skew(-20deg) translateY(-50%) translateX(-50%);
    top: 50%;
    left: 50%;
}

.catalogo-item .romboide {
    background: var(--light-grey);
    transition: background 0.6s ease-in-out;
}

.catalogo-item:hover .romboide-orange {
    background: var(--orange);
    transition: background 0.3s ease-in-out;
}

.catalogo-item:hover .romboide-blue {
    background: var(--cyan);
    transition: background 0.3s ease-in-out;
}

.a--black.activo {
    color: var(--orange);
    transition: color 0.3s ease-in-out;
}

.videos__container>iframe {
    /*height: 320px;*/
    width: 100%;
    aspect-ratio: 16/9;
}

@media (max-width: 768px) {
    .hero .hero__content {
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.5);
        padding: 24px 12px;
    }

    .clientes__container img {
        width: 28%;
    }

    .description__table {
        overflow: scroll;
    }


    .romboide {
        height: 40%;
        width: 40%;
        top: 20%;
    }

    .hero__video .hero__content {
        position: static;
    }

    .hero__content h2.text--xl {
        font-size: var(--text-lg);
    }

}

@keyframes appear {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}