@import url('https://fonts.googleapis.com/css2?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');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    list-style: none;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px; /* Esto evita que la navbar tape el título de la sección al llegar */
}

/* Clase base que aplicaremos a las secciones */
.revelar {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

/* Clase que el JS activará cuando el usuario llegue a la sección */
.revelar.activo {
    opacity: 1;
    transform: translateY(0);
}

:root {
  --primary: #fdd835;   /* Rojo */
  --secondary: #1E90FF; /* Azul */
  --light: #FFFFFF;
  --dark: #333333;
}

body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), 
                url('images/descarga.jpeg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    margin: 0;
    padding: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden; /* Evita scrolls laterales innecesarios */
}

html, body {
    margin: 0;
    padding: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

/* Estilos para los enlaces */
/* ==========================================================================
   NAVBAR FIXED: CENTRADA Y SIN EXPAND
   ========================================================================== */

/* Contenedor principal */
.nav-bar {
    position: sticky; /* Se queda fija arriba al bajar */
    top: 0;
    width: 100%;
    z-index: 1000 !important;
}

/* La barra de navegación */
.navbar {
    background-color: #ffffff !important;
    padding: 15px 0 !important; /* Más espacio arriba y abajo */
    border-bottom: 3px solid var(--primary); /* Línea amarilla decorativa */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05) !important;
    display: flex;
    justify-content: center; /* CENTRADO TOTAL */
}

/* Contenedor interno que agrupa links y logo */
.nav-container {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 1200px;
}

/* Grupos de Links (Izquierda y Derecha) */
.navbar-nav {
    display: flex !important;
    flex-direction: row !important; /* Siempre en fila, nunca colapsa */
    align-items: center;
}

/* Estilo de los links individuales */
.navbar-nav .nav-link {
    color: var(--dark) !important;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 0.5px;
    padding: 10px 20px !important; /* Espacio entre palabras */
    transition: 0.3s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--secondary) !important; /* Azul al pasar el cursor */
}

/* LOGO CENTRAL */
.navbar-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0 50px !important; /* ESTE ES EL ESPACIO que separa los links del logo */
    text-align: center;
    min-width: 250px;
}

.display-4 {
    font-size: 3.5rem !important; /* Tamaño ajustado para balance */
    font-weight: 800;
    line-height: 1;
    margin: 0;
}

/* AJUSTE PARA MÓVILES (Para que no se amontone al no haber colapso) */
@media (max-width: 768px) {
    .navbar {
        padding: 10px 0 !important;
    }
    
    .navbar-brand {
        margin: 0 15px !important; /* Menos espacio en móvil */
        min-width: auto;
    }

    .display-4 {
        font-size: 1.5rem !important; /* Logo más pequeño en celular */
    }

    .navbar-nav .nav-link {
        font-size: 11px !important;
        padding: 5px 8px !important; /* Links más juntos en celular */
    }
}

/* Estilo para los textos del logo (Rojo y Azul) */
.text-primary {
    color: var(--primary) !important; /* Rojo */
}

.text-secondary {
    color: var(--secondary) !important; /* Azul */
}

/* Contenedor del video */

#hero {
    min-height: 100vh;
    position: relative;
}

video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

.capa {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #1c1c1d;
    opacity: 0.5;
    mix-blend-mode: overlay;
}

.promo {
    padding-top: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 60%;
    margin: auto;
}

.promo h1 {
    font-size: 50px;
    color: var(--secondary);
    font-weight: 700;
    text-transform: uppercase;
    top: 0;
    margin: 0;
    padding: 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    font-family: 'Poppins', sans-serif;
    letter-spacing: 2px;
    line-height: 1.2;
    text-align: center;
}

.promo p {
    font-size: 20px;
    color: var(--primary);
    margin: 20px 0;
    font-weight: 500;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    font-family: 'Poppins', sans-serif;
    line-height: 1.5;
    text-align: center;
    max-width: 600px;
    letter-spacing: 1px;
    padding: 0 20px;
}

.promo a {
    display: inline-block;
    padding: 15px 30px;
    background-color: #000000;
    color: #ffffff;
    font-size: 18px;
    font-weight: 600;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}   

/* Fondo del modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.8);
}

.modal-contenido {
    position: relative;
    margin: 5% auto;
    width: 100%;
    max-width: 700px;
    background: #000;
    padding: 15px;
    border-radius: 10px;
}

#abrirModal {
    margin: 50px;
    padding: 10px 20px;
    font-size: 18px;
    color: #ffffff;
    background-color: #b3161b;
    border-radius: 8px;
    cursor: pointer;
}

.cerrar {
    position: absolute;
    top: 10px;
    right: 20px;
    color: #fff;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

/* sobre nosotros */

.header-seccion {
    text-align: center;
    margin: 20px 0;
    background-color: rgba(0, 0, 0, 0.5); /* Fondo semitransparente */
    width: 80%;
    padding: 10px;
    border-radius: 15px;
    margin-left: auto;
    margin-right: auto;

}

.header-seccion h1 {
    font-size: 36px;
    color: #ffffff;
    margin: 0;
    padding: 10px;
}

/* EL PADRE SE QUEDA IGUAL */
.about-grid {
    display: flex;
    align-items: stretch;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.about-grid h5 {
    color: white;
    margin-bottom: 15px;

}

.about-box img {
    width: 100%;
    border-radius: 20px;
    margin-bottom: 15px;
}

.text-content p {
    text-align: justify;
    text-justify: inter-word; /* Distribuye espacio solo entre palabras */
    color: #ffffff !important;
    font-size: 17px;           /* Subimos un punto el tamaño para llenar mejor */
    line-height: 1.6;
    
    /* ELIMINAMOS EL CORTE DE PALABRAS */
    hyphens: none !important;
    -webkit-hyphens: none !important;
    word-break: normal;
    
    /* MEJORA VISUAL */
    letter-spacing: 0.2px;     /* Un pelín de espacio entre letras ayuda a rellenar */
}

.text-content ul {
    list-style-type: disc;
    padding-left: 20px;
    color: #dddddd;
}

.col-lg-7  {
    padding-top: 20px;
    padding-bottom: 50px;
    text-align: center;
    color: white;
}

.text-content h4 {
    color: #ffffff !important;
    border-left: 5px solid #fdd835;
    padding-left: 15px;
    margin-bottom: 20px;
    font-size: 24px;
}

.about-box h4,
.text-content h2 {
    color: #ffffff !important; /* Fuerza el blanco */
    text-align: left;
    font-weight: 700;
    margin-bottom: 15px;
    border-left: 5px solid #fdd835; /* Línea amarilla vibrante */
    padding-left: 15px;
    text-transform: none;
}

/* LAS CAJAS: Añade el transition aquí */
.about-box {
    flex: 1;
    min-width: 350px;          /* Aumentamos el mínimo */
    max-width: 450px;          /* Aumentamos el máximo para que "refrigeración" quepa */
    background: transparent !important;
    padding: 10px !important;
}

.about-grid {
    display: flex;
    align-items: center; /* Centra verticalmente el contenido */
    justify-content: center;
    gap: 20px; /* Espacio entre los 3 elementos */
    flex-wrap: nowrap; /* Evita que se bajen en desktop */
    margin: 50px auto;
    max-width: 1200px;
    padding: 0 20px;
}

/* Efecto Elevación */
.about-box:hover {
    transform: translateY(-10px);
}

/* Efecto de la imagen (Zoom) */
.img-wrapper img {
    transition: transform 0.6s ease;
}

.img-wrapper:hover img {
    transform: scale(1.1);
}

/* El destello de luz para las cajas negras */
.text-content {
    position: relative;
    overflow: hidden;
}

.text-content::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255,255,255,0.1), transparent);
    transition: 0.6s;
}

.text-content:hover::before {
    left: 100%;
}

.text-content p {
    margin-bottom: 15px;
    font-size: 16px;
    color: white;
}

.text-content ul li {
    margin-bottom: 10px;
    font-size: 16px;
    color: white;
    padding-top: 10px;
}

/* razones */

/* Estilo para la lista de razones */
.list-unstyled li {
    display: flex;
    align-items: flex-start;  /* Cambiado de center a flex-start para textos largos */
    margin-bottom: 15px; 
    font-size: 1rem;
    color: #ffffff;
    line-height: 1.4;         /* Mejor espacio si la razón ocupa dos líneas */
    transition: transform 0.3s ease;
}

/* El icono del chulito solo */
.list-unstyled li i {
    background: none !important; /* Quitamos el fondo circular */
    color: white !important; /* Tu Azul */
    width: auto; /* Que mida lo que mida el icono */
    height: auto;
    font-size: 18px; /* Un poco más grande para que resalte */
    margin-right: 12px; /* Espacio con el texto */
    box-shadow: none !important; /* Quitamos sombras */
    font-weight: 900; /* Para que el chulito se vea más grueso */
}

/* Animación de rebote al pasar el mouse por la caja */
.text-content:hover .list-unstyled li i {
    animation: pulse-check 0.5s ease;
}

@keyframes pulse-check {
    0% { transform: scale(1); }
    50% { transform: scale(1.3); }
    100% { transform: scale(1); }
}

/* Efecto al pasar el mouse por la caja (opcional) */
.text-content:hover .list-unstyled li {
    transform: translateX(5px); /* Los puntos se mueven un poquito a la derecha */
}

/* --- SECCIÓN SERVICIOS --- */

.titulo-carrusel {
    text-align: center;
    margin: 40px auto;
    background-color: rgba(0, 0, 0, 0.4);
    width: fit-content;
    padding: 10px 40px;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.titulo-carrusel h2 {
    color: #ffffff;
    font-size: 32px;
    font-weight: 700;
    margin: 0;
    padding: 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    font-family: 'Poppins', sans-serif;
    letter-spacing: 1px;
}

    .carrousel {
    width: 100%;
    max-width: 900px; /* Un poco más ancho para que luzca */
    margin: 0 auto;
    overflow: hidden;
    position: relative;
    padding-bottom: 20px;
}

.carrousel .grande {
    display: flex;
    width: 800%; /* 8 servicios x 100% */
    transition: transform 0.8s cubic-bezier(0.45, 0, 0.55, 1);
}

.carrousel .bloque {
    /* Ajustamos el ancho del bloque para que no sea tan gigante en PC */
    width: 100%;
    max-width: 500px; 
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

.carrousel .bloque img {
    /* La imagen ocupará el 100% del ancho disponible del bloque */
    width: 100%;
    /* Mantenemos la altura fija para que el carrusel no "salte" */
    height: 380px; 
    
    /* 'contain' muestra la foto completa sin cortes */
    object-fit: contain; 
    object-position: center;
    
    /* Un gris muy oscuro casi negro para el marco */
    background-color: #121212; 
    
    border-radius: 20px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.4);
    transition: all 0.3s ease;
}

/* Efecto al pasar el mouse */
.carrousel .bloque:hover img {
    transform: translateY(-5px); /* Pequeño salto hacia arriba */
    box-shadow: 0 15px 30px rgba(255, 215, 0, 0.2); /* Sombra dorada suave */
}

.carrousel .texto {
    text-align: center;
    padding: 20px;
}

.carrousel .texto h3 {
    color: #ffffff !important;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.carrousel .bloque p {
    font-size: 18px;
    color: #fdd835 !important; /* Amarillo de tu marca */
    margin-bottom: 15px;
    font-weight: 500;
}

/* --- TAGS MODERNOS --- */
.tags-servicio {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.tag {
    font-size: 0.7rem;
    padding: 5px 15px;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 800;
    color: #000 !important;
}

.tag-frio { background: #00d2ff; }
.tag-calor { background: #ff9800; }
.tag-gris { background: #fdd835; }

/* aliados */

.titulo-aliados {
    text-align: center;
    margin: 20px 0;
    background-color: rgba(0, 0, 0, 0.5); /* Fondo semitransparente */
    width: 80%;
    padding: 10px;
    border-radius: 15px;
    margin-left: auto;
    margin-right: auto;
    color: white;
}

/* Contenedor de la sección completa */

/* Contenedor principal */

/* Contenedor de la sección */
.aliados {
    padding: 60px 0;
    text-align: center;
}

/* El grid de los logos */
.logos-aliados {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    max-width: 1100px;
    margin: 0 auto;
}

/* EL CÍRCULO PERFECTO */
.aliado-item {
    width: 140px;  /* Ajusta el tamaño que quieras */
    height: 140px;
    background-color: rgba(0,0,0,0.05); /* Fondo blanco circular para el logo */
    border-radius: 50%;     /* Esto lo hace redondo */
    overflow: hidden;       /* Corta cualquier parte de la imagen que se salga */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0px;          /* Espacio para que el logo no toque el borde */
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    transition: transform 0.3s ease;
}

.aliado-item:hover {
    transform: scale(1.1);
}

/* AJUSTE DEL LOGO DENTRO DEL CÍRCULO */
.aliado-item img {
    width: 100%;
    height: 100%;
    object-fit: contain; /* Ajusta el logo sin deformarlo */
}

/* estilos estrellas y opiniones */

/* --- BOTONES GENERALES --- */
.btn-2 {
    background-color: #b3161b;
    margin-top: 50px;
    display: inline-block;
    padding: 13px 35px;
    border-radius: 25px;
    color: #ffffff;
    font-size: 16px;
    cursor: pointer;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
    transition: 0.3s;
}

.btn-2:hover {
    background-color: #8e1215;
    transform: translateY(-2px);
}

.btn-3 {
    display: inline-block;
    padding: 5px 25px;
    background-color: #b3161b;
    color: #ffffff;
    border-radius: 10px;
    transition: 0.3s;
}

.btn-3:hover {
    background-color: #8e1215;
}

/* --- CONTENEDOR PRINCIPAL DE ENCUESTA --- */
.contenedor {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
    align-items: flex-start;
    padding: 20px;
    margin-top: 50px; /* Separación de la sección de aliados superior */
}

.wrapper, .opiniones {
    border-radius: 10px;
    padding: 1.5rem;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    width: 100%;
    max-width: 500px;
    flex: 1;
    background-color: rgba(255, 255, 255, 0.05); /* Fondo ligero para legibilidad */
    backdrop-filter: blur(5px);
}

.wrapper h3 {
    margin-top: 0;
    margin-bottom: 15px;
    color: white;
}

/* --- SISTEMA DE ESTRELLAS (INPUT) --- */
.rating {
    display: flex;
    align-items: center;
    gap: .5rem;
    font-size: 2rem;
    color: #ccc; /* Color base gris */
    margin-bottom: 1rem;
}

.rating .star {
    cursor: pointer;
    transition: transform 0.2s, color 0.2s;
}

.rating .star:hover {
    transform: scale(1.2);
}

.rating .bxs-star {
    color: gold; /* Color cuando están activas */
}

/* --- FORMULARIO --- */
textarea {
    width: 100%;
    padding: 1rem;
    margin-bottom: 1rem;
    resize: none;
    border-radius: 8px;
    border: 1px solid #ccc;
    font-family: inherit;
}

.btn-group {
    display: flex;
    gap: 1rem;
}

.btn {
    padding: 0.7rem 1.5rem;
    border: none;
    cursor: pointer;
    background: #007bff;
    color: white;
    border-radius: 5px;
    font-weight: bold;
    transition: 0.3s;
}

.btn.submit {
    background-color: #b3161b;
}

.btn.cancel {
    background: #6c757d;
}

/* --- CARRUSEL VERTICAL DE OPINIONES --- */
.opiniones h4 {
    margin-top: 0;
    margin-bottom: 15px;
    color: white;
}

.visor-opiniones {
    height: 380px; /* Altura fija para mostrar exactamente 3 opiniones */
    overflow: hidden; /* ESTRELLA: Recorta lo que se desliza hacia arriba */
    position: relative;
    border-radius: 8px;
}

.lista-deslizable {
    display: flex;
    flex-direction: column;
    gap: 10px; /* Espacio entre cada caja */
    transition: transform 0.5s ease-in-out;
}

/* --- CADA TARJETA DE OPINIÓN --- */
.opinion {
    flex-shrink: 0; /* EVITA que la caja se aplaste al deslizar */
    min-height: 110px; 
    padding: 1.2rem;
    border-radius: 10px;
    background-color: #ffffff;
    border: 1px solid #eee;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    color: #333;
    /* Animación de entrada inicial */
    opacity: 0;
    transform: translateX(20px);
    animation: slideIn 0.5s forwards;
}

.opinion .estrellas i {
    color: gold;
    font-size: 1.2rem;
}

.opinion p {
    margin: 8px 0 0;
    font-size: 0.95rem;
    line-height: 1.4;
}

/* --- ANIMACIONES Y RESPONSIVE --- */
@keyframes slideIn {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@media (max-width: 768px) {
    .contenedor {
        flex-direction: column;
        align-items: center;
    }
    
    .wrapper, .opiniones {
        max-width: 100%;
    }
}

/* footer */

.footer {
    position: relative;
    z-index: 5; /* Menor que los botones */
    margin-bottom: 0 !important;
}

.footer-content {
    background-color: #1c1c1d;
    color: white;
    text-align: center;
    padding: 30px 20px;
    border-top: 4px solid var(--primary);
    border-radius: 15px 15px 0 0;
}

/* También quitemos el margen al párrafo de adentro por si acaso */
.footer-content p {
    margin-bottom: 0;
}

/* Estilo para tus redes sociales dentro del footer */
.social-links {
    margin-top: 15px;
    display: flex;
    justify-content: center;
    gap: 20px;
}

.social-icon {
    color: white;
    font-size: 28px;
    transition: 0.3s;
}

.social-icon:hover {
    color: var(--primary);
    transform: translateY(-3px);
}

/* Ajustes para pantallas pequeñas */

@media (max-width:991px) {
    .menu {
        padding: 20px;
    }

    .menu label {
        display: initial;
    }

    .menu .navbar {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: #b3161b;
        display: none;
    }

    .menu .navbar ul li {
        width: 100%;
    }

    .menu .navbar ul li a:hover {
        color: #ffffff;
    }

    .logo {
        display: none;
    }

    #menu:checked ~ .navbar {
        display: initial;
    }

    .submenu:hover #carrito {
        width: 100%;
    }

    .header-content {
        padding: 100px 30px 30px 30px;
        flex-direction: column;
    }

    .header-txt {
        text-align: center;
        margin: 0 0 20px 0;
        width: 100%;
    }

    .header-txt h1 {
        font-size: 45px;
        line-height: 55px;
        margin-bottom: 20px;
    }

    .header-txt p {
        font-size: 18px;
        margin-bottom: 30px;
    }

    .breakfast {
        padding: 30px;
    }

    .breakfast-content {
        flex-direction: column;
        align-items: center;
    }

    .info {
        padding: 30px;
    }

    .info h2 {
        font-size: 35px;
        line-height: 45px;
    }

    .info-content {
        flex-direction: column;
    }

    .info iframe {
        width: 100%;
        height: 300px;
    }

    .products {
        padding: 30px;
    }

    .box-container {
        margin-top: 20px;
        grid-template-columns: 1fr;
    }
}

#btn-volver-arriba {
    position: fixed; /* Esto es lo que hace que te siga */
    bottom: 90px; /* Por encima del de WhatsApp */
    right: 25px;
    width: 50px;
    height: 50px;
    background-color: var(--primary);
    color: white;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    z-index: 9998;
    display: none; /* El JS lo muestra cuando bajas */
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
}

#btn-volver-arriba:hover {
    transform: translateY(-5px);
    background-color: #333;
}

/* Ajuste para móviles */
@media (max-width: 768px) {
  #btn-volver-arriba {
    /* En móvil: 20px (bottom whatsapp) + 60px (alto) + 10px (separación) */
    bottom: 90px; 
    right: 20px;
    padding: 10px;
    font-size: 22px;
  }
}

.btn-whatsapp {
    position: fixed; /* Esto es lo que hace que te siga */
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 10px rgba(0,0,0,0.3);
    z-index: 9999; /* Número muy alto para que no lo tape el footer ni nada */
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

/* Efecto al pasar el mouse */
.btn-whatsapp:hover {
    background-color: #128c7e;
    transform: scale(1.1);
}

/* Animación de pulso suave */
@keyframes pulse-whatsapp {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

.btn-whatsapp {
    animation: pulse-whatsapp 2s infinite;
}

/* Estilo del cartel (Tooltip) */
.tooltip-whatsapp {
    position: absolute;
    right: 75px; /* Aparece a la izquierda del botón */
    background-color: #333;
    color: white;
    padding: 8px 15px;
    border-radius: 8px;
    font-size: 14px;
    white-space: nowrap;
    visibility: hidden; /* Oculto por defecto */
    opacity: 0;
    transition: opacity 0.3s, transform 0.3s;
    transform: translateX(10px); /* Pequeño efecto de deslizamiento */
    pointer-events: none; /* Evita que el cartel interfiera con clics */
}

/* Triángulo del cartel */
.tooltip-whatsapp::after {
    content: "";
    position: absolute;
    top: 50%;
    right: -10px;
    transform: translateY(-50%);
    border-width: 5px;
    border-style: solid;
    border-color: transparent transparent transparent #333;
}

/* Mostrar el cartel al pasar el mouse por el botón */
.btn-whatsapp:hover .tooltip-whatsapp {
    visibility: visible;
    opacity: 1;
    transform: translateX(0);
}