/* frontend/marketing-site/css/style.css */

/* --- VARIABLES DE COLORES CORPORATIVOS RESTOBARAPP --- */
:root {
    --restobar-primary: #004AAD;      /* Azul Tech - Primario */
    --restobar-secondary: #FF7A00;    /* Naranja Energía - Secundario */
    --restobar-success: #00C897;      /* Verde Éxito - Énfasis */
    --restobar-dark: #1C1C1C;         /* Gris Carbón - Neutro Oscuro */
    --restobar-dark-light: #12161B;   /* Fondo oscuro secundario */
    --restobar-dark-lighter: #14181E; /* Fondo oscuro terciario */
    --restobar-light: #F5F5F5;        /* Gris Claro - Apoyo */
    --restobar-border: #E6EAF0;       /* Borde gris claro */
    --restobar-text-light: #6B7280;   /* Texto gris claro */
}

body {
    background-color: var(--restobar-dark);
    color: var(--bs-light);
}

/* --- NAVEGACIÓN --- */
.navbar {
    background-color: var(--restobar-dark) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* --- AJUSTE DE SCROLL PARA NAVEGACIÓN FIJA --- */
html {
    scroll-padding-top: 100px; /* Compensa la altura de la navbar + padding */
}

/* Alternativa específica para las secciones */
#features {
    scroll-margin-top: 100px;
}

#pricing {
    scroll-margin-top: 120px; /* Un poco más de espacio para la sección de precios */
}

.navbar-brand {
    color: var(--bs-light) !important;
}

.navbar-brand .bi-fire {
    color: var(--restobar-success) !important;
}

.nav-link {
    color: rgba(255, 255, 255, 0.8) !important;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--restobar-success) !important;
}

/* --- HERO SECTION --- */
.hero-section {
    background: linear-gradient(135deg, var(--restobar-primary) 0%, transparent 100%);
    position: relative;
    overflow: hidden;
    padding: 2rem 0;
    display: flex;
    align-items: center;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 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.02'%3E%3Ccircle cx='30' cy='30' r='2'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.3;
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

.hero-content {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.hero-text-section {
    flex: 1;
}

.hero-image-section {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.hero-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.1);
    color: var(--restobar-secondary);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(255, 122, 0, 0.3);
}

.hero-main-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--restobar-secondary);
}

.hero-subtitle {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 2rem;
    color: white;
    position: relative;
}

.hero-description {
    font-size: 1.2rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2rem;
}

.hero-pricing {
    font-size: 1.3rem;
    color: white;
    margin-bottom: 2.5rem;
    font-weight: 500;
}

.hero-pricing .highlight {
    color: var(--restobar-secondary);
    font-weight: 700;
}

.hero-badge-above-image {
    display: inline-block;
    background: rgba(255, 255, 255, 0.1);
    color: var(--restobar-secondary);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 1rem;
    border: 1px solid rgba(255, 122, 0, 0.3);
    transition: all 0.3s ease;
}

.hero-badge-above-image:hover {
    background: rgba(255, 122, 0, 0.1);
    border-color: var(--restobar-secondary);
    transform: translateY(-2px);
}

.hero-app-image {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.hero-image-section .hero-description {
    text-align: center;
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
    line-height: 1.6;
    max-width: 500px;
    margin: 0 auto;
}

.hero-description-text {
    transition: opacity 0.3s ease-in-out;
    min-height: 3.2rem;
    text-align: center;
    margin: 0;
    padding: 0;
}

@media (max-width: 991.98px) {
    .hero-content {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }
    
    .hero-main-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 2rem;
    }
}

/* --- BOTONES CORPORATIVOS --- */
.btn-primary {
    background-color: var(--restobar-primary) !important;
    border-color: var(--restobar-primary) !important;
    color: white !important;
}

.btn-primary:hover {
    background-color: #003d8f !important;
    border-color: #003d8f !important;
}

.btn-success {
    background-color: var(--restobar-success) !important;
    border-color: var(--restobar-success) !important;
    color: white !important;
}

.btn-success:hover {
    background-color: #00b388 !important;
    border-color: #00b388 !important;
}

.btn-outline-primary {
    color: var(--restobar-primary) !important;
    border-color: var(--restobar-primary) !important;
}

.btn-outline-primary:hover {
    background-color: var(--restobar-primary) !important;
    color: white !important;
}

/* --- TIRA DE CONFIANZA --- */
.trust-bar {
    background-color: var(--restobar-dark-light);
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.trust-item {
    color: var(--restobar-text-light);
    font-size: 0.9rem;
}

.trust-item .bi {
    color: var(--restobar-secondary);
    margin-right: 0.5rem;
}

.trust-item:hover {
    color: var(--restobar-secondary);
    transition: color 0.3s ease;
}

.trust-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.1);
    color: var(--restobar-secondary);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    border: 1px solid rgba(255, 122, 0, 0.3);
    transition: all 0.3s ease;
}

.trust-badge:hover {
    background: rgba(255, 122, 0, 0.1);
    border-color: var(--restobar-secondary);
    transform: translateY(-2px);
}

/* --- SECCIÓN DE FUNCIONALIDADES --- */
.features-section {
    background-color: var(--restobar-light);
    color: var(--restobar-dark);
    position: relative;
    overflow: hidden;
}





.feature-card {
    background: white;
    border: 1px solid var(--restobar-border);
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    height: 100%;
    position: relative;
    z-index: 2;
}

.feature-card:hover {
    border-color: var(--restobar-success);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
}

.feature-card .section-icon {
    font-size: 3rem;
    color: var(--restobar-primary);
    margin-bottom: 1rem;
    transition: color 0.3s ease;
}

.feature-card:hover .section-icon {
    color: var(--restobar-secondary);
}

.feature-card h4 {
    color: var(--restobar-dark);
    margin-bottom: 1rem;
}

.feature-card p {
    color: #4B5563;
    line-height: 1.6;
}

/* --- TEXTO DE LA SECCIÓN DE FUNCIONALIDADES --- */
.features-section .lead {
    color: var(--restobar-dark) !important;
    font-weight: 600 !important;
    position: relative;
    z-index: 2;
}

.features-section .display-5 {
    position: relative;
    z-index: 2;
}

/* --- SECCIÓN DE PRECIOS --- */
.pricing-section {
    background-color: var(--restobar-dark);
}

.pricing-card {
    background: var(--restobar-dark-light);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    color: white;
}

.pricing-card.popular {
    border-color: var(--restobar-primary);
    box-shadow: 0 0 20px rgba(0, 74, 173, 0.3);
    background: linear-gradient(135deg, var(--restobar-dark-light) 0%, rgba(0, 74, 173, 0.1) 100%);
}

.pricing-card.innovator {
    border-color: var(--restobar-success);
    box-shadow: 0 0 20px rgba(0, 200, 151, 0.3);
    background: linear-gradient(135deg, var(--restobar-dark-light) 0%, rgba(0, 200, 151, 0.1) 100%);
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.badge-popular {
    background: var(--restobar-primary);
    color: white;
    position: absolute;
    top: 1rem;
    right: 1rem;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.badge-innovator {
    background: var(--restobar-success);
    color: white;
    position: absolute;
    top: 1rem;
    right: 1rem;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

/* --- SECCIÓN CÓMO FUNCIONA --- */
.how-it-works {
    background-color: var(--restobar-dark-lighter);
}

.step-number {
    background: var(--restobar-secondary);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin-bottom: 1rem;
    box-shadow: 0 4px 15px rgba(255, 122, 0, 0.3);
}

/* --- SECCIÓN FORTALEZAS DIFERENCIALES --- */
.differentials {
    background: linear-gradient(135deg, var(--restobar-primary) 0%, var(--restobar-dark) 100%);
    position: relative;
    overflow: hidden;
}

.differentials::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23ffffff' fill-opacity='0.03'/%3E%3C/svg%3E");
    opacity: 0.5;
}

.differentials .container {
    position: relative;
    z-index: 2;
}

.differential-item {
    color: white;
    margin-bottom: 1.5rem;
}

.differential-item .bi-check-circle-fill {
    color: var(--restobar-success);
    margin-right: 0.75rem;
    font-size: 1.2rem;
}

/* --- NUEVOS ESTILOS PARA FORTALEZAS DIFERENCIALES --- */
.differential-content {
    padding: 2rem;
}

.differential-title {
    color: var(--restobar-secondary);
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.differential-description {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 0;
}

/* Estilo para el primer párrafo (subtítulo) en las fortalezas diferenciales */
.differential-content p:first-of-type {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--restobar-secondary);
    margin-bottom: 1rem;
    line-height: 1.4;
}

/* Estilo para el segundo párrafo (descripción detallada) */
.differential-content p:last-of-type {
    font-size: 1.1rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    margin-bottom: 0;
}

.differential-image {
    text-align: center;
    padding: 2rem;
}

.differential-image img {
    max-width: 350px;
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.differential-image img:hover {
    transform: translateY(-5px);
}

/* Responsive para dispositivos móviles */
@media (max-width: 991.98px) {
    .differential-content {
        padding: 1.5rem;
        text-align: center;
    }
    
    .differential-title {
        font-size: 1.75rem;
    }
    
    .differential-description {
        font-size: 1rem;
    }
    
    .differential-image {
        padding: 1rem;
        margin-bottom: 1rem;
    }
}

/* --- CTA FINAL --- */
.cta-final {
    background-color: var(--restobar-light);
    color: var(--restobar-dark);
    position: relative;
    overflow: hidden;
}

.cta-final::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='100' height='20' viewBox='0 0 100 20' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M21.184 20c.357-.13.72-.264 1.088-.402l1.768-.661C25.72 18.19 27.5 17.5 29 17.5c1.5 0 3.28.69 4.96 1.437l1.768.661c.368.138.731.272 1.088.402V20H21.184zM80 20c.357-.13.72-.264 1.088-.402l1.768-.661C84.72 18.19 86.5 17.5 88 17.5c1.5 0 3.28.69 4.96 1.437l1.768.661c.368.138.731.272 1.088.402V20H80zM35 20c.357-.13.72-.264 1.088-.402l1.768-.661C39.72 18.19 41.5 17.5 43 17.5c1.5 0 3.28.69 4.96 1.437l1.768.661c.368.138.731.272 1.088.402V20H35zM5 20c.357-.13.72-.264 1.088-.402l1.768-.661C9.72 18.19 11.5 17.5 13 17.5c1.5 0 3.28.69 4.96 1.437l1.768.661c.368.138.731.272 1.088.402V20H5z' fill='%23004AAD' fill-opacity='0.05'/%3E%3C/svg%3E");
    opacity: 0.3;
}

.cta-final .container {
    position: relative;
    z-index: 2;
}

/* --- FOOTER --- */
.footer {
    background-color: var(--restobar-dark);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Redes Sociales */
.social-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border-radius: 50%;
    text-decoration: none;
    font-size: 1.5rem;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.social-link:hover {
    background: var(--restobar-primary);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 74, 173, 0.4);
    border-color: var(--restobar-primary);
}

.social-link:active {
    transform: translateY(-1px);
}

/* Estilos específicos para cada red social */
.social-link[href*="instagram"] {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    border-color: #dc2743;
}

.social-link[href*="instagram"]:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 12px 30px rgba(220, 39, 67, 0.4);
}

.social-link[href*="tiktok"] {
    background: #000000;
    border-color: #000000;
}

.social-link[href*="tiktok"]:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}

.social-link[href*="wa.me"] {
    background: #25D366;
    border-color: #25D366;
}

.social-link[href*="wa.me"]:hover {
    background: #128C7E;
    border-color: #128C7E;
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 12px 30px rgba(37, 211, 102, 0.4);
}

/* Responsive para redes sociales */
@media (max-width: 768px) {
    .social-links {
        gap: 1rem;
    }
    
    .social-link {
        width: 45px;
        height: 45px;
        font-size: 1.3rem;
    }
}

.footer .nav-link {
    color: rgba(255, 255, 255, 0.6) !important;
}

.footer .nav-link:hover {
    color: var(--restobar-secondary) !important;
}

/* --- ELEMENTOS ADICIONALES CON NARANJA --- */
.highlight-orange {
    color: var(--restobar-secondary);
    font-weight: 600;
}

.badge-orange {
    background: var(--restobar-secondary);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.border-orange {
    border-color: var(--restobar-secondary) !important;
}

.text-orange {
    color: var(--restobar-secondary) !important;
}

/* --- MANTENER ESTILOS EXISTENTES --- */
.section-icon {
    font-size: 3rem;
    color: var(--restobar-primary);
}

/* --- ESTILOS PERSONALIZADOS PARA LAS FLECHAS DEL CARRUSEL --- */
#featuresCarousel {
    display: flex;
    align-items: center;
}

#featuresCarousel .carousel-inner {
    width: 80%;
    order: 2;
}

#featuresCarousel .carousel-control-prev,
#featuresCarousel .carousel-control-next {
    position: static;
    width: 10%;
    opacity: 0.7;
    background-image: none;
    transition: opacity 0.2s ease-in-out;
    display: flex;
    justify-content: center;
    align-items: center;
}

#featuresCarousel .carousel-control-prev {
    order: 1;
}

#featuresCarousel .carousel-control-next {
    order: 3;
}

#featuresCarousel .carousel-control-prev:hover,
#featuresCarousel .carousel-control-next:hover {
    opacity: 1;
}

#featuresCarousel .carousel-control-prev .bi,
#featuresCarousel .carousel-control-next .bi {
    color: var(--restobar-primary);
    font-size: 2.5rem;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.6);
}

/* --- ANIMACIÓN DE PULSO --- */
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.15); }
    100% { transform: scale(1); }
}

/* --- ESTILOS PARA ICONO DE INFO CLICKABLE EN PRECIOS --- */
#pricing .bi-info-circle {
    cursor: pointer;
    font-size: 1.3rem;
    vertical-align: -0.25em;
    color: var(--restobar-secondary);
    transition: transform 0.2s ease-in-out;
    animation: pulse 2.5s infinite ease-in-out;
}

#pricing .bi-info-circle:hover {
    color: var(--restobar-secondary);
    animation-play-state: paused;
    transform: scale(1.1);
}

/* --- ESTILOS PARA MODALES DE PRECIOS --- */
#professionalDiscountModal .modal-title,
#corporateDiscountModal .modal-title {
    color: var(--restobar-secondary);
}

/* --- ESTILOS PARA LA CARACTERÍSTICA DESTACADA (IA) --- */
#pricing .bi-stars {
    vertical-align: -0.1em;
}

/* --- ESTILOS PARA MEJORAR LEGIBILIDAD EN CARDS DE PRECIOS --- */
.pricing-card .card-header {
    background: rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
}

.pricing-card .card-body {
    color: white;
}

.pricing-card .card-title {
    color: white !important;
}

.pricing-card .text-body-secondary {
    color: rgba(255, 255, 255, 0.7) !important;
}

.pricing-card ul li {
    color: rgba(255, 255, 255, 0.9);
}

.pricing-card strong {
    color: white;
}

.pricing-card .text-success-emphasis {
    color: var(--restobar-success) !important;
}

.pricing-card .text-primary {
    color: var(--restobar-secondary) !important;
}



/* --- ESTILOS PARA LA SECCIÓN DE LLAMADA A LA ACCIÓN (CTA) --- */
#contact {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('https://images.unsplash.com/photo-1555396273-367ea4eb4db5?q=80&w=1974') no-repeat center center;
    background-size: cover;
}

/* --- BOTÓN FLOTANTE DE WHATSAPP --- */
.whatsapp-float {
    position: fixed !important;
    bottom: 30px !important;
    right: 30px !important;
    width: 60px !important;
    height: 60px !important;
    background-color: #25D366 !important;
    color: white !important;
    border-radius: 50% !important;
    text-align: center !important;
    font-size: 30px !important;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4) !important;
    z-index: 9999 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
    animation: pulse-whatsapp 2s infinite !important;
    position: relative !important;
}

/* --- TOOLTIP PERSONALIZADO PARA WHATSAPP --- */
.whatsapp-float::before {
    content: "Habla con Nuestro Agente de IA \"RB\"";
    position: absolute;
    right: 75px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--restobar-dark);
    color: white;
    padding: 12px 16px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.4;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 1001;
}

.whatsapp-float::after {
    content: "";
    position: absolute;
    right: 70px;
    top: 50%;
    transform: translateY(-50%);
    border: 8px solid transparent;
    border-left-color: var(--restobar-dark);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1001;
}

.whatsapp-float:hover::before,
.whatsapp-float:hover::after {
    opacity: 1;
    visibility: visible;
}

/* Tooltip adicional para información extra */
.whatsapp-float .tooltip-extra {
    position: absolute;
    right: 75px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--restobar-dark);
    color: rgba(255, 255, 255, 0.8);
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.3;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.05);
    z-index: 1001;
    margin-top: 45px;
}

.whatsapp-float:hover .tooltip-extra {
    opacity: 1;
    visibility: visible;
}

.whatsapp-float:hover {
    background-color: #128C7E;
    color: white;
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.6);
}

.whatsapp-float:active {
    transform: scale(0.95);
}

@keyframes pulse-whatsapp {
    0% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    }
    50% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.8);
    }
    100% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    }
}

/* Responsive para dispositivos móviles */
@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 20px !important;
        right: 20px !important;
        width: 55px !important;
        height: 55px !important;
        font-size: 28px !important;
        display: flex !important;
        z-index: 9999 !important;
    }
    
    /* Ocultar tooltips en móviles para evitar problemas de espacio */
    .whatsapp-float::before,
    .whatsapp-float::after,
    .whatsapp-float .tooltip-extra {
        display: none !important;
    }
}