@import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.3/font/bootstrap-icons.min.css");

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
    text-decoration: none;
    transition: all 0.3s ease-in-out;
}

body {
    width: 100%;
    background-color: #f8f9fa;
    color: #333;
    line-height: 1.6;
    padding-top: 70px;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

header {
    background-color: #128c7e;
    display: flex;
    align-items: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    left: 0;
    width: 100%;
    z-index: 1000;
    height: 60px;
    top: 30px;
    padding: 0 5%;
}

.nav-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    width: 50px;
    transition: transform 0.3s;
}

.logo img:hover {
    transform: scale(1.05);
}

.nav-list {
    display: flex;
    align-items: center;
    list-style: none;
    margin-bottom: 0;
    height: 100%;
}

.nav-list li {
    margin-left: 1.5rem;
}

.nav-link {
    color: rgba(255, 255, 255, 0.9) !important;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    position: relative;
    padding: 5px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: #fff;
    transition: width 0.3s;
}

.nav-link:hover::after {
    width: 100%;
}

.btn-cta {
    color: #128c7e !important;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    position: relative;
    background: #e9ecef;
    padding: 8px 20px !important;
    border-radius: 50px;
    font-weight: bold;
    text-decoration: none;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 24px;
    color: #fff;
}

.zona1 {
    background: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)), url(./assets/images/pexels-dimitrisc-8671677.jpg);
    background-size: cover;
    background-position: center;
    height: 535px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding: 0 10%;
}

.box {
    max-width: 500px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 40px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.btn2 {
    display: inline-block;
    background-color: #128c7e;
    color: #fff;
    padding: 12px 25px;
    border-radius: 5px;
    font-weight: bold;
    position: relative;
    overflow: hidden;
    width: 100px;
    height: 50px;
}

.btn2:hover {
    background-color: #fff;
    color: #128c7e;
    border: 1px solid #128c7e;
}

.card {
    border: none;
    border-radius: 15px;
    overflow: hidden;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    background: #fff;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.card-img-top {
    transition: transform 0.5s;
    width: 100%;
}

.card:hover .card-img-top {
    transform: scale(1.1);
}

#exchange-rate-container {
    text-align: center;
    margin: 40px auto;
    max-width: 800px;
    padding: 20px;
    border-radius: 12px;
    background-color: #fff;
    border: 1px solid #eee;
}

footer {
    width: 100%;
    background: #128c7e;
    color: #fff;
    padding-top: 40px;
}

.container-body2 {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.colum11, .colum21, .colum31 {
    flex: 1;
    min-width: 250px;
    margin-bottom: 30px;
}

.container-footer1 {
    background: #0e6b5a;
    padding: 15px 0;
    text-align: center;
}

.up-icon {
    position: fixed;
    bottom: 25px;
    right: 25px;
    background-color: #343a40;
    color: #fff;
    border-radius: 50%;
    width: 45px;
    height: 45px;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.up-icon.visible {
    display: flex;
    animation: fadeInIcon 0.4s ease;
}

.up-icon:hover {
    background-color: #128c7e;
    transform: translateY(-5px);
}

@keyframes fadeInIcon {
    from {
        opacity: 0;
        transform: scale(0.5);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.top-bar {
    background-color: #f1f1f1;
    border-bottom: 1px solid #ddd;
    height: 30px;
    display: flex;
    align-items: center;
    overflow: hidden;
    font-size: 0.8rem;
    color: #444;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1001;
}

.marquee-container {
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
}

.marquee-content {
    display: inline-block;
    padding-left: 100%;
    animation: marquee-flat 25s linear infinite;
}

.marquee-content span {
    padding: 0 20px;
}

.separator {
    color: #128c7e;
    font-weight: bold;
}

@keyframes marquee-flat {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-100%);
    }
}

.color-primary {
    color: #128c7e;
}

.category-card {
    display: block;
    text-decoration: none;
    border-radius: 15px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    background: #000;
}

.category-img-wrapper {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.category-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
    opacity: 0.85;
}

.category-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
    text-align: center;
}

.category-overlay h4 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-ver {
    font-size: 0.8rem;
    display: inline-block;
    margin-top: 10px;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.4s ease;
    color: #25d366;
}

.category-card:hover .category-img-wrapper img {
    transform: scale(1.1);
    opacity: 0.6;
}

.category-card:hover .btn-ver {
    opacity: 1;
    transform: translateY(0);
}

.promo-card {
    background: #fff;
    border-radius: 20px;
    padding: 15px;
    text-align: center;
    position: relative;
    border: 1px solid #eee;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.promo-card.highlight {
    border: 2px solid #128c7e;
    transform: scale(1.05);
}

.promo-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: #ffc107;
    color: #000;
    font-size: 0.7rem;
    font-weight: bold;
    padding: 5px 12px;
    border-radius: 50px;
    z-index: 2;
    text-transform: uppercase;
}

.promo-img {
    height: 180px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.promo-img img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
    transition: 0.3s;
}

.promo-card:hover .promo-img img {
    transform: translateY(-5px);
}

.promo-category {
    font-size: 0.7rem;
    color: #888;
    text-transform: uppercase;
}

.promo-title {
    font-size: 1rem;
    font-weight: 700;
    margin: 5px 0;
}

.promo-price {
    margin: 10px 0;
}

.old-price {
    text-decoration: line-through;
    color: #bbb;
    margin-right: 8px;
    font-size: 0.9rem;
}

.current-price {
    font-size: 1.4rem;
    font-weight: 800;
    color: #128c7e;
}

.btn-promo {
    background: #25d366;
    color: white;
    padding: 8px;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: bold;
    display: block;
    margin-top: 15px;
    border: none;
    box-shadow: 0 4px 10px rgba(37, 211, 102, 0.2);
}

.btn-promo:hover {
    background: #128c7e;
    color: white;
}

.current-price.convertible-price {
    font-size: 1.5rem;
    display: block;
    line-height: 1.2;
    color: #0e6b5a;
    font-weight: 800;
}

.text-usd-reference {
    font-size: 0.85rem;
    font-weight: 500;
    color: #6c757d;
    margin-top: 4px;
}

.footer-modern {
    background-color: #0e6b5a;
    color: #e9ecef;
    border-top: 3px solid #128c7e;
    padding-top: 20px;
}

.footer-title {
    color: #fff;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 1rem;
    position: relative;
    padding-bottom: 8px;
    display: inline-block;
}

.footer-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 2px;
    background-color: #25d366;
}

.contact-info li {
    margin-bottom: 12px;
    display: flex;
    align-items: flex-start;
    font-size: 0.9rem;
}

.contact-info i {
    color: #25d366;
    margin-right: 12px;
    font-size: 1.1rem;
}

.map-wrapper {
    border-radius: 12px;
    overflow: hidden;
    border: 3px solid rgba(255, 255, 255, 0.1);
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border-radius: 50%;
    margin-left: 10px;
    font-size: 1.2rem;
    transition: 0.3s;
}

.social-icon:hover {
    background: #25d366;
    color: #000;
    transform: translateY(-3px);
}

.rif-badge {
    display: inline-block;
    padding: 5px 15px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 5px;
    font-family: monospace;
    font-weight: bold;
    color: #fff;
}

.footer-bottom {
    background-color: rgba(0, 0, 0, 0.2);
    padding: 10px 0;
    font-size: 0.75rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-modern .container {
    padding-bottom: 20px;
}

.contact-info li {
    margin-bottom: 8px;
    font-size: 0.85rem;
}

.map-wrapper {
    border-radius: 8px;
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.social-links {
    display: flex;
    gap: 10px;
    justify-content: flex-start;
}

.social-icon {
    width: 35px;
    height: 35px;
    font-size: 1.1rem;
}

.rif-badge {
    font-size: 0.75rem;
    padding: 3px 10px;
}

/* ==========================================================================
   WIDGET DE ASISTENTE VIRTUAL (UNIFICADO)
   ========================================================================== */
/* Unifica estas reglas al final de tu estilo.css */
#chat-widget {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 2100;
    /* Por encima de todo */
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

#chat-window {
    width: 280px;
    /* Un poco más angosto para móviles */
    max-width: 85vw;
    /* Que no se salga en pantallas pequeñas */
    margin-bottom: 15px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.chat-avatar-trigger {
    width: 60px;
    height: 60px;
    background: white;
    border: 2px solid #128c7e;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.chat-avatar-trigger:hover {
    transform: scale(1.1);
    animation-play-state: paused;
    /* Se detiene al poner el mouse */
}

.avatar-img {
    width: 80%;
    height: 80%;
    object-fit: contain;
}

/* Indicador En Línea */
.online-indicator {
    position: absolute;
    bottom: 4px;
    right: 2px;
    width: 14px;
    height: 14px;
    background-color: #25d366;
    border: 2px solid white;
    border-radius: 50%;
}

/* Ajuste del Botón Volver Arriba */
.up-icon {
    bottom: 110px !important;
    /* Posicionado sobre el widget del chat */
    right: 25px;
    z-index: 1500;
    opacity: 0;
    visibility: hidden;
    transition: 0.3s;
}

.up-icon.visible {
    opacity: 1;
    visibility: visible;
}

/* Animación del Avatar */
@keyframes bounce-subtle {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}

@media (max-width: 576px) {
    .category-img-wrapper {
        height: 180px;
    }

    .category-overlay h4 {
        font-size: 0.9rem;
    }
}

@media (max-width: 768px) {
    .footer-title::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-modern {
        text-align: center;
    }

    .contact-info li {
        justify-content: center;
    }

    .promo-card.highlight {
        transform: none;
    }

    .promo-img {
        height: 140px;
    }

    .menu-toggle {
        display: block;
        cursor: pointer;
        font-size: 1.5rem;
        color: white;
    }

    .nav-list {
        display: none;
        flex-direction: column;
        position: fixed;
        /* Cambiado a fixed para que cubra todo */
        top: 90px;
        /* Ajustado para que empiece justo debajo del header + cintillo */
        left: 0;
        width: 100%;
        background-color: #128c7e;
        /* Fondo sólido */
        padding: 20px 0;
        box-shadow: 0 10px 15px rgba(0, 0, 0, 0.2);
        z-index: 999;
    }

    .nav-list.active {
        display: flex;
    }

    .nav-list li {
        margin: 10px 0;
        width: 100%;
        text-align: center;
    }

    .nav-link {
        display: block;
        width: 100%;
        padding: 10px 0;
    }

    .zona1 {
        justify-content: center;
        padding: 20px;
    }

    .box {
        padding: 20px;
        width: 90%;
    }

    .box h1 {
        font-size: 1.5rem;
    }

    .container-body2 {
        flex-direction: column;
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }

    #chat-window {
        width: 280px;
        position: fixed;
        bottom: 95px;
        right: 20px;
    }

    .chat-avatar-trigger {
        width: 60px;
        height: 60px;
    }

    .up-icon {
        bottom: 100px !important;
        right: 25px;
    }
}