@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

@font-face {
    font-family: "bootstrap-icons";
    src: url("https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.3/font/fonts/bootstrap-icons.woff2") format("woff2"), url("https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.3/font/fonts/bootstrap-icons.woff") format("woff");
    font-display: swap;
}

@font-face {
    font-family: "Contb";
    src: url("font/contb.ttf") format("truetype");
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

body {
    background: linear-gradient(120deg, #10101075, #10101075), url(img/fondo-portatiles-usados.webp);
    background-size: cover;
    font-family: "Poppins", sans-serif;
    padding-top: calc(var(--nav-height) + var(--ticker-height));
}

.logo-nav {
    margin-top: 8px;
    width: 74px;
}

.navbar .nav-link {
    font-size: 20px;
    position: relative;
    font-weight: 500;
    padding: 8px 15px;
    transition: all 0.3s ease;
    z-index: 2;
}

.navbar .nav-link::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 24px !important;
    background: linear-gradient(#97090d, #f5090d);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease-in-out;
    z-index: -1;
    border-radius: 6px;
}

.navbar .nav-link:hover {
    transform: scale(1.2);
    color: white !important;
}

.navbar .nav-link:hover::before {
    transform: scaleX(1);
}

.navbar:hover .nav-link {
    filter: blur(2px);
    opacity: 0.6;
}

.navbar .nav-link:hover {
    filter: blur(0);
    opacity: 1;
}


:root {
    --nav-height: 120px;
    /* altura real del nav */
    --ticker-height: 44px;
    /* altura del ticker */
}

/* Ticker fijo debajo del navbar */
.ticker-fixed {
    position: fixed;
    top: var(--nav-height);
    left: 0;
    width: 100%;
    height: var(--ticker-height);
    background: linear-gradient(120deg, #000, #101010, #181818, #111111);
    overflow: hidden;
    z-index: 2;
    /* menor que el nav */
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* Movimiento del texto */
.ticker {
    display: flex;
    width: max-content;
    animation: tickerMove 20s linear infinite;
}

.ticker span {
    text-transform: uppercase;
    padding: 4px 80px;
    color: #fff;
    font-size: 20px;
    font-weight: 500;
}

/* Animación */
@keyframes tickerMove {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

/* Pausar al hover */
.ticker-fixed:hover .ticker {
    animation-play-state: paused;
}


.d-flex {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
}

.align-center {
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

.flex-centerY-centerX {
    justify-content: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

.page-wrapper {
    height: 100%;
    display: table;
}

.page-wrapper .page-inner {
    display: table-cell;
    vertical-align: middle;
}

.input-group-custom {
    position: relative;
    width: 100%;
}

.input-group-custom input,
.input-group-custom select {
    width: 100%;
    padding: 10px 20px;
    border: 1.5px solid #fff;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    backdrop-filter: blur(32px);
    -webkit-backdrop-filter: blur(28px);
    outline: none;
    font-size: 1rem;
}

.input-group-custom select option {
    background: #222;
    color: #fff;
}

.input-group-custom label {
    position: absolute;
    top: 50%;
    left: 20px;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
    pointer-events: none;
    transition: all 0.3s ease;
    background: transparent;
    padding: 0 6px;
}

.input-group-custom input:focus~label,
.input-group-custom input:not(:placeholder-shown)~label,
.input-group-custom select:focus~label,
.input-group-custom select:valid~label {
    top: -10px;
    left: 15px;
    font-size: 0.85rem;
    color: #fff;
    background: #111;
    border-radius: 6px;
}

.btn-submit {
    font-size: 23px;
    display: block;
    width: 100%;
    padding: 6px;
    border: solid 1px white;
    border-radius: 32px;
    background: rgb(249, 249, 249);
    backdrop-filter: blur(32px);
    -webkit-backdrop-filter: blur(28px);
    color: #202020;
    font-weight: bold;
    transition: all 0.3s ease;
}

.btn-submit:hover {
    color: #000000;
    transform: scale(1.08);
}

.btn-wsp {
    color: #ffffff;
    text-align: center;
    align-items: center;
    align-content: center;
    vertical-align: center;
    position: fixed;
    width: 66px;
    height: 66px;
    background: linear-gradient(to right, #07b913, #00841a, #00c421);
    bottom: 24px;
    right: 12px;
    border-radius: 50% !important;
    z-index: 99;
    box-shadow: 5px 5px 13px 0px rgba(0, 0, 0, 0.599);
    transition: all ease-in-out 320ms !important;
}

.btn-wsp:hover {
    position: fixed;
    bottom: 36px;
    right: 12px;
    border-radius: 50%;
}

.btn-wsp .bi {
    color: #fff !important;
    font-size: 34px;
    text-align: center;
    align-items: center;
    align-content: center;
}

.btn-wa-header {
    display: inline !important;
    text-align: center;
    text-transform: uppercase;
    padding: 8px;
    letter-spacing: 1px;
    color: #ffffff;
    font-size: 1.2rem;
    border-radius: 32px;
    border: none;
    background: linear-gradient(120deg, #07b913, #00841a, #00c421);
    transition: all ease-in-out 320ms;
}

.btn-wa-header:hover {
    box-shadow: 1px 1px 35px 10px rgba(255, 255, 255, 0.514);
}

.btn-wa-header .bi {
    font-size: 20px;
    text-align: center;
    align-items: center;
    align-content: center;
    color: #fff !important;
}

.btn-compuya-primario {
    border: none;
    font-size: 18px;
    color: white;
    border-radius: 24px;
    text-decoration: none;
    padding: 2.5px 18px 2.5px 18px;
    background: linear-gradient(#97090d, #f5090d);
}

.card-product {
    margin: 0 auto;
    position: relative;
    width: 400px;
    height: 440px;
    backdrop-filter: blur(12px);
    background: rgba(22, 22, 22, 0.185);
    -webkit-backdrop-filter: blur(10px);
    overflow: hidden;
    transition: all ease-in-out 320ms;
}

.card-product .body {
    color: #ffffff;
    position: relative;
    width: 100%;
    height: 100%;
}

.card-product:hover {
    border-radius: 20px;
    box-shadow: 0px 0px 32px 8px rgb(0, 0, 0);
    /* box-shadow: 0px 0px 40px 0px rgba(255, 254, 253, 0.253); */
}

/* Imagen */
.card-product img {
    width: 100%;
    transition: all ease-in-out 320ms;
}

.card-product:hover img {
    transform: scale(1.5);
}

/* Overlay con blur */
.card-product:hover .overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.76);
    opacity: 1;
    transition: opacity 0.4s ease;
    z-index: 1;
}

/* INFO UP */
.info-up {
    position: absolute;
    top: 55%;
    left: 0;
    width: 100%;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    transition: transform 0.4s ease;
}

.info-up .title {
    font-size: 64px;
    text-transform: uppercase;
    font-weight: 900;
    font-family: "Bebas Neue", sans-serif;
    letter-spacing: 3px;
}

/* INFO DOWN */
.info-down {
    position: absolute;
    bottom: -40px;
    left: 0;
    width: 100%;
    z-index: 2;
    opacity: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    transition: all 0.4s ease;
}

.cart {
    position: absolute;
    bottom: 0%;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 55px;
    backdrop-filter: blur(10px);
    background: linear-gradient(240deg, #000000, #040404, #1818189a, #24242449);
    color: #ffffff;
    text-decoration: none;
    font-size: 32px;
    font-weight: 800;
    overflow: hidden;
    font-family: "Poppins";
    border: none;
    border-radius: 0px;
    z-index: 2;
}

.cart span {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    transition: transform 0.4s ease;
}

.cart .add-to-cart {
    position: absolute;
    color: #ffffff;
    letter-spacing: 1.2px;
    font-family: "Contb";
    inset: 0;
    transform: translateX(-97%);
    background: linear-gradient(120deg, #97090d, #f5090d);
}

.swiper {
    width: 100%;
    height: 360px;
}

.swiper-slide {
    text-align: center;
    font-size: 18px;
    background: #c4c4c400;
    display: flex;
    justify-content: center;
    align-items: center;
}

.swiper-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Color de los bullets */
.swiper-pagination-bullet {
    background: #ffffff !important;
    opacity: 0.5;
}

/* Bullet activo */
.swiper-pagination-bullet-active {
    background: #ffffff;
    opacity: 1;
}

.servicios {
    text-align: justify;
    border-radius: 16px;
    border: solid 2px #fff;
    backdrop-filter: blur(10px);
    transition: all ease-in-out 320ms;
    -webkit-backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.077);
}

.servicios h6 {
    font-size: 26px;
    font-weight: 700;
    color: #fff;
}

.servicios h6 span {
    background: linear-gradient(120deg, #97090d, #f5090d);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.servicios p {
    color: #fff;
    font-size: 14px;
}

.servicios:hover {
    box-shadow: 0px 11px 32px 0px rgba(0, 0, 0, 0.75);
    transform: translateY(8%);
}

F
/* ===== HOVER EFFECT ===== */

.card-product:hover .overlay {
    opacity: 1;
}

.card-product:hover .info-up {
    transform: translateY(-180px);
}

.card-product:hover .info-down {
    bottom: 136px;
    opacity: 1;
}

.card-product:hover .cart .price {
    transform: translateY(-100%);
}

.card-product:hover .cart .add-to-cart {
    transform: translateX(0);
}

.card-casos {
    height: 380px;
    width: 380px;
    border: none;
    border-radius: 32px;
    overflow: hidden;
    box-shadow: 1px 1px 19px -1px rgb(0, 0, 0);
    transition: all ease-in-out 320ms;
}

.card-casos:hover {
    box-shadow: 1px 1px 24px -1px rgb(230, 230, 230);
}

.card-casos .titulo {
    text-align: center;
    top: 115%;
    left: 0%;
    font-size: 36px;
    color: #ffffff;
    letter-spacing: 1.8px;
    position: relative;
    font-family: "Bebas Neue", sans-serif;
    transition: all ease-in-out 320ms;
}

.card-casos:hover .titulo {
    top: 52%;
    left: 0%;
}

.card-casos.bg-1 {
    background-image: linear-gradient(#00000000), url(img/computadores-usados-para-colegios.webp);
    background-size: cover;
    background-position: center;
}

.card-casos.bg-1:hover {
    background-image: linear-gradient(#0000009f), url(img/computadores-usados-para-colegios.webp);
}

.card-casos.bg-2 {
    background-image: linear-gradient(#00000000), url(img/computadores-para-call-center-usados.webp);
    background-size: cover;
    background-position: center;
}

.card-casos.bg-2:hover {
    background-image: linear-gradient(#0000009f), url(img/computadores-para-call-center-usados.webp);
}

.card-casos.bg-3 {
    background-image: linear-gradient(#00000000), url(img/computadores-para-oficina.webp);
    background-size: cover;
    background-position: center;
}

.card-casos.bg-3:hover {
    background-image: linear-gradient(#0000009f), url(img/computadores-para-oficina.webp);
}

.checkbox-container {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 15px;
    user-select: none;
    position: relative;
    padding-left: 30px;
    color: #fff;
}

.checkbox-container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkmark {
    text-align: center;
    position: absolute;
    left: 0;
    top: 2px;
    height: 18px;
    width: 18px;
    background-color: #eee;
    border-radius: 4px;
    transition: all 0.3s ease;
    border: 2px solid #ccc;
}

.checkbox-container:hover input~.checkmark {
    background-color: #f0f0f0;
}

.checkbox-container input:checked~.checkmark {
    background-color: #dc3545;
    border-color: #dc3545;
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

.checkbox-container input:checked~.checkmark:after {
    display: block;
}

.checkbox-container .checkmark:after {
    left: 5px;
    top: 1px;
    width: 5px;
    height: 10px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.checkbox-container a {
    color: #fff;
    font-weight: bold;
    text-decoration: underline;
}

.hidden-left {
    opacity: 0;
    transform: translateX(-100px);
    transition: all 0.8s ease-out;
}

.hidden-right {
    opacity: 0;
    transform: translateX(100px);
    transition: all 0.8s ease-out;
}

.show {
    opacity: 1;
    transform: translateX(0);
}

lite-youtube {
    width: 85%;
    height: 320px;
    max-width: 560px;
    margin: 0 auto;
    display: block;
}

.container-respaldo .col-6 i {
    font-size: 120px;
    margin-bottom: 0px !important;
}

.container-respaldo .col-6 h3 {
    font-size: 38px;
}

.container-respaldo .col-6 p {
    font-size: 24px;
}

@media (max-width: 768px) {

    .btn-wa-header {
        padding: 4px;
        letter-spacing: 1px;
        font-size: 1rem;
    }

    .btn-wa-header .bi {
        font-size: 18px;
    }

    .carousel-item {
        height: 15vh;
    }

    .card-casos .titulo {
        font-size: 18px;
    }

    .card-casos {
        height: 232px;
        width: 232px;
        margin-bottom: 12px;
    }

    .title-hero {
        text-align: center;
        font-size: 20px;
        font-weight: 200;
    }

    .title-hero .anderline {
        font-size: 38px;
        font-weight: 500;
    }

    .card-content {
        flex-direction: column !important;
    }

    .product-main,
    .product-info {
        flex: 0 0 100% !important;
        max-width: 100% !important;
    }

    .product-main img {
        max-width: 100%;
        height: auto;
    }

    .product-info {
        margin-top: 8px;
    }
}