/* =========================================
   VARIABLES Y BASE (CYBER YELLOW)
   ========================================= */
:root {
    --bg-deep: #0a0a0b;
    --bg-card: #141415;
    --yellow-main: #facc15;
    --yellow-hover: #eab308;
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --border-color: #27272a;
}

* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Manrope', sans-serif; }
body { background-color: var(--bg-deep); color: var(--text-main); line-height: 1.6; overflow-x: hidden; }
a { text-decoration: none; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.text-yellow { color: var(--yellow-main); }
.bg-darker { background-color: #050505; border-top: 1px solid var(--border-color); border-bottom: 1px solid var(--border-color); }

/* =========================================
   HERO Y BOTONES
   ========================================= */
.hero-elix { padding: 180px 20px 100px; text-align: center; }
.stats-badge {
    display: inline-flex; align-items: center; gap: 10px;
    background: var(--bg-card); border: 1px solid var(--border-color);
    padding: 8px 20px; border-radius: 30px; font-size: 14px; color: var(--text-muted);
    margin-bottom: 30px; font-weight: 600;
}
.stats-badge i { color: var(--yellow-main); }
.hero-content h1 { font-size: 64px; font-weight: 800; line-height: 1.1; margin-bottom: 25px; letter-spacing: -2px; }
.hero-content p { font-size: 18px; color: var(--text-muted); max-width: 700px; margin: 0 auto 40px; }

.hero-buttons { display: flex; justify-content: center; align-items: center; gap: 20px; }
.btn-yellow {
    background: var(--yellow-main); color: #000; padding: 15px 32px; border-radius: 8px; 
    font-weight: 800; font-size: 16px; transition: 0.3s; border: 2px solid var(--yellow-main); display: inline-block;
}
.btn-yellow:hover { background: var(--yellow-hover); border-color: var(--yellow-hover); transform: translateY(-3px); }
.btn-outline-yellow {
    background: transparent; color: var(--text-main); border: 2px solid var(--border-color);
    padding: 15px 32px; border-radius: 8px; font-weight: 700; font-size: 16px; transition: 0.3s; display: inline-block;
}
.btn-outline-yellow:hover { border-color: var(--yellow-main); color: var(--yellow-main); }

/* =========================================
   MARQUESINA (BUCLE PERFECTO SIN TIRONES)
   ========================================= */
.scrolling-marquee {
    width: 100%; 
    background-color: var(--yellow-main); 
    color: #000;
    padding: 15px 0; 
    overflow: hidden; 
    font-weight: 800; 
    font-size: 15px; 
    letter-spacing: 1px;
    display: flex;          /* Añadido flexbox principal */
    white-space: nowrap;
}

.marquee-group {
    display: flex;
    align-items: center;
    gap: 30px;
    padding-right: 30px;    /* El padding debe ser igual al gap para un empalme invisible */
    min-width: 100%;
    flex-shrink: 0;
    justify-content: space-around;
    animation: scrollMarquee 15s linear infinite;
}

.marquee-group .separator { opacity: 0.3; }

/* Ahora el 100% de la animación coincide al píxel con el 0% */
@keyframes scrollMarquee { 
    0% { transform: translateX(0); } 
    100% { transform: translateX(-100%); } 
}


/* =========================================
   CORRECCIÓN REBOTE WHATSAPP (Opcional)
   ========================================= */
/* Si el tirón que veías era al abrir la pestaña del bot de WhatsApp, 
   cambia esta línea en la clase .wa-chat-window que ya tienes: */

.wa-chat-window {
    /* ... mantén tus otros estilos igual ... */
    
    /* Reemplazamos el cubic-bezier (que hace el efecto elástico/tirón hacia atrás) 
       por un ease-out que es súper fluido y frena suavemente: */
    transition: all 0.3s ease-out; 
}
/* =========================================
   SECCIONES Y TARJETAS
   ========================================= */
.section-elix { padding: 100px 0; }
.section-title { text-align: center; margin-bottom: 60px; }
.section-title h2 { font-size: 42px; font-weight: 800; letter-spacing: -1px; margin-bottom: 15px; }

.services-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.service-card {
    background: var(--bg-card); border: 1px solid var(--border-color);
    border-radius: 16px; padding: 40px; transition: 0.3s;
}
.service-card:hover { border-color: var(--yellow-main); transform: translateY(-5px); }
.card-icon {
    width: 50px; height: 50px; border-radius: 12px; background: rgba(250, 204, 21, 0.1);
    color: var(--yellow-main); display: flex; align-items: center; justify-content: center;
    font-size: 20px; margin-bottom: 25px; 
}
.service-card h3 { font-size: 24px; font-weight: 800; margin-bottom: 15px; }
.service-card p { color: var(--text-muted); }

/* =========================================
   TARIFAS Y OFERTAS
   ========================================= */
.discounts-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 60px; }
.discount-box { background: var(--bg-card); border: 1px dashed var(--border-color); padding: 25px; border-radius: 12px; text-align: center; }
.discount-box i { font-size: 28px; color: var(--yellow-main); margin-bottom: 15px; }
.discount-box h4 { color: #fff; font-size: 16px; margin-bottom: 10px; }
.discount-box p { color: var(--text-muted); font-size: 13px; }

.subsection-heading { font-size: 28px; color: #fff; margin-bottom: 30px; text-align: center; font-weight: 800; }
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; align-items: stretch; }

.price-box { background: var(--bg-card); border: 1px solid var(--border-color); border-radius: 16px; padding: 30px; display: flex; flex-direction: column; }
.premium-box { border-color: var(--yellow-main); position: relative; overflow: hidden; transform: scale(1.02); }
.premium-box::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 5px; background: var(--yellow-main); }

.price-header { font-size: 12px; font-weight: 800; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 10px; }
.price-box h3 { font-size: 22px; color: #fff; margin-bottom: 10px; font-weight: 800;}
.price-number { font-size: 40px; font-weight: 800; color: var(--yellow-main); margin-bottom: 30px; padding-bottom: 20px; border-bottom: 1px solid var(--border-color); line-height: 1;}

.price-lists-wrapper { flex-grow: 1; display: flex; flex-direction: column; gap: 20px; }
.price-list { list-style: none; }
.list-title { font-size: 13px; font-weight: 800; margin-bottom: 12px; letter-spacing: 1px; }
.price-list li { display: flex; gap: 10px; margin-bottom: 10px; color: var(--text-muted); font-size: 14px; line-height: 1.4; align-items: flex-start;}
.price-list.includes i { color: #22c55e; font-size: 14px; margin-top: 3px; }
.price-list.excludes i { color: #ef4444; font-size: 14px; margin-top: 3px; }
.price-list.excludes li { color: #64748b; }

/* RECICLAJE */
.recycle-wrapper { text-align: center; max-width: 800px; margin: 0 auto; }
.recycle-wrapper h2 { font-size: 38px; font-weight: 800; margin-bottom: 20px; line-height: 1.2; }
.recycle-wrapper p { color: var(--text-muted); margin-bottom: 30px; font-size: 16px; }

.recycle-pricing { background: var(--bg-card); border: 1px solid var(--border-color); border-radius: 16px; padding: 30px; margin-bottom: 30px; }
.recycle-badge { display: inline-block; background: rgba(250, 204, 21, 0.1); color: var(--yellow-main); padding: 8px 20px; border-radius: 8px; font-size: 16px; font-weight: 800; margin-bottom: 25px; border: 1px solid rgba(250, 204, 21, 0.3);}
.recycle-list { list-style: none; display: flex; flex-direction: column; gap: 15px; text-align: left; max-width: 400px; margin: 0 auto;}
.recycle-list li { display: flex; align-items: center; justify-content: space-between; color: #fff; font-size: 15px; font-weight: 500; border-bottom: 1px dashed var(--border-color); padding-bottom: 10px;}
.recycle-list li span { font-weight: 800; color: var(--yellow-main); }
.recycle-list li i { width: 25px; }

/* =========================================
   CONTACTO Y FOOTER
   ========================================= */
.contact-card-wrapper { display: flex; background: var(--bg-card); border: 1px solid var(--border-color); border-radius: 20px; overflow: hidden; }
.contact-info { flex: 1; padding: 50px; }
.contact-info h2 { font-size: 32px; font-weight: 800; margin-bottom: 15px; }
.contact-info p { color: var(--text-muted); margin-bottom: 40px; }
.detail-item { display: flex; gap: 15px; margin-bottom: 25px; }
.detail-item i { font-size: 20px; color: var(--yellow-main); margin-top: 3px; }
.detail-item span { display: block; color: var(--text-muted); font-size: 13px; margin-bottom: 3px;}
.detail-item strong { color: #fff; font-size: 15px; }
.contact-map-side { flex: 1; background: #000; min-height: 400px; border-left: 1px solid var(--border-color); }

.elix-footer { border-top: 1px solid var(--border-color); padding: 40px 0; }
.footer-content { display: flex; justify-content: space-between; align-items: center; }
.brand h3 { font-size: 20px; font-weight: 800; margin-bottom: 5px; display: flex; gap: 8px; align-items: center;}
.brand p { color: var(--text-muted); font-size: 14px; }
.footer-links { display: flex; gap: 20px; }
.footer-links a { color: var(--text-muted); font-size: 14px; transition: 0.3s; }
.footer-links a:hover { color: #fff; }

/* =========================================
   WIDGET WHATSAPP CHATBOT
   ========================================= */
.wa-widget-container { position: fixed; bottom: 30px; right: 30px; z-index: 9999; }
.wa-floating-btn {
    width: 60px; height: 60px; background-color: #25D366; color: #fff; border: none; border-radius: 50%;
    font-size: 32px; cursor: pointer; box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
    display: flex; justify-content: center; align-items: center; transition: 0.3s; position: relative;
}
.wa-floating-btn:hover { transform: scale(1.1); }
.wa-tooltip {
    position: absolute; right: 75px; background-color: #111; color: #fff; font-size: 13px;
    padding: 8px 15px; border-radius: 20px; border: 1px solid #333; white-space: nowrap;
    opacity: 0; pointer-events: none; transition: 0.3s; transform: translateX(10px);
}
.wa-tooltip::after {
    content: ''; position: absolute; right: -5px; top: 50%; transform: translateY(-50%);
    border-left: 5px solid #111; border-top: 5px solid transparent; border-bottom: 5px solid transparent;
}
.wa-floating-btn:hover .wa-tooltip { opacity: 1; transform: translateX(0); }

.wa-chat-window {
    position: absolute; bottom: 80px; right: 0; width: 320px; background-color: var(--bg-card);
    border: 1px solid var(--border-color); border-radius: 16px; box-shadow: 0 15px 40px rgba(0,0,0,0.6);
    overflow: hidden; opacity: 0; visibility: hidden; transform: translateY(20px) scale(0.95);
    transform-origin: bottom right; transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.wa-chat-window.active { opacity: 1; visibility: visible; transform: translateY(0) scale(1); }

.wa-chat-header { background-color: var(--bg-deep); padding: 20px; display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid var(--border-color); }
.wa-header-info { display: flex; align-items: center; gap: 12px; }
.wa-avatar { width: 40px; height: 40px; background-color: rgba(250, 204, 21, 0.1); color: var(--yellow-main); border-radius: 50%; display: flex; justify-content: center; align-items: center; font-size: 18px; border: 1px solid rgba(250, 204, 21, 0.3); }
.wa-header-info h4 { color: #fff; font-size: 15px; margin-bottom: 2px; font-weight: 700;}
.wa-header-info span { color: #25D366; font-size: 12px; font-weight: 600; }
.wa-close { background: none; border: none; color: #888; font-size: 20px; cursor: pointer; transition: 0.2s; }
.wa-close:hover { color: #fff; }

.wa-chat-body { padding: 25px 20px; min-height: 150px; background-color: #0d0d0e; }
.wa-typing { display: flex; gap: 5px; background-color: var(--bg-card); padding: 12px 18px; border-radius: 20px; width: fit-content; border-bottom-left-radius: 4px; border: 1px solid var(--border-color); }
.wa-typing .dot { width: 8px; height: 8px; background-color: var(--yellow-main); border-radius: 50%; animation: waBounce 1.4s infinite ease-in-out both; }
.wa-typing .dot:nth-child(1) { animation-delay: -0.32s; }
.wa-typing .dot:nth-child(2) { animation-delay: -0.16s; }
@keyframes waBounce { 0%, 80%, 100% { transform: scale(0); } 40% { transform: scale(1); } }

.wa-message { background-color: var(--bg-card); padding: 15px; border-radius: 12px; border-bottom-left-radius: 4px; border: 1px solid var(--border-color); animation: fadeIn 0.4s ease; }
.wa-message p { color: var(--text-muted); font-size: 14px; margin-bottom: 15px; line-height: 1.5; }
.wa-message p:first-child { color: #fff; font-weight: 700; font-size: 15px; margin-bottom: 8px;}
.btn-wa-redirect { display: flex; align-items: center; justify-content: center; gap: 8px; background-color: #25D366; color: #000; padding: 12px; border-radius: 8px; font-weight: 800; font-size: 14px; transition: 0.2s; border: none;}
.btn-wa-redirect:hover { background-color: #20b858; transform: translateY(-2px); }
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }


/* =========================================
   RESEÑAS (OPINIONES)
   ========================================= */
.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.review-box {
    background: var(--bg-card); border: 1px solid var(--border-color);
    padding: 40px 30px; border-radius: 16px; transition: 0.3s;
    display: flex; flex-direction: column;
}
.review-box:hover { border-color: var(--yellow-main); transform: translateY(-5px); }
.highlight-review { border-color: rgba(250, 204, 21, 0.4); background: rgba(250, 204, 21, 0.03); transform: scale(1.02); }

.stars { color: var(--yellow-main); font-size: 14px; margin-bottom: 20px; letter-spacing: 2px; }
.review-text { font-size: 15px; color: var(--text-main); font-style: italic; margin-bottom: 30px; line-height: 1.7; flex-grow: 1; }

.review-author { display: flex; align-items: center; gap: 15px; border-top: 1px solid var(--border-color); padding-top: 20px; }
.author-icon { width: 40px; height: 40px; border-radius: 50%; background: rgba(250, 204, 21, 0.1); color: var(--yellow-main); display: flex; justify-content: center; align-items: center; font-size: 16px; }
.review-author strong { color: #fff; font-size: 14px; display: block; margin-bottom: 2px;}
.review-author span { color: var(--text-muted); font-size: 12px; }

/* =========================================
   HORARIO DINÁMICO (ELIX)
   ========================================= */
.schedule-block { background-color: #050505; border-radius: 12px; border: 1px solid var(--border-color); margin-top: 30px; overflow: hidden; }

.schedule-status { display: flex; align-items: center; gap: 12px; padding: 15px 20px; font-size: 15px; background: rgba(255,255,255,0.02); border-bottom: 1px solid var(--border-color); }
.status-indicator { width: 10px; height: 10px; border-radius: 50%; }

.schedule-block.open .status-indicator { background-color: #22c55e; box-shadow: 0 0 10px rgba(34, 197, 94, 0.5); }
.schedule-block.open .status-text { color: #fff; }

.schedule-block.closed .status-indicator { background-color: #ef4444; }
.schedule-block.closed .status-text { color: var(--text-muted); }

.status-time { color: var(--text-muted); font-size: 13px; margin-left: auto; }

.schedule-details-visible { padding: 20px; }
.schedule-details-visible h4 { font-size: 14px; color: #fff; margin-bottom: 15px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; }
.schedule-details-visible ul { list-style: none; font-size: 14px; }
.schedule-details-visible li { display: flex; justify-content: space-between; color: var(--text-muted); padding: 8px 0; border-bottom: 1px dashed var(--border-color); }
.schedule-details-visible li:last-child { border-bottom: none; padding-bottom: 0; }
.schedule-details-visible li span:last-child { color: #fff; font-weight: 600; }
.schedule-details-visible li.closed-day span:last-child { color: #ef4444; }

/* RESPONSIVE */
@media (max-width: 992px) {
    .services-grid, .pricing-grid, .discounts-grid, .contact-card-wrapper { grid-template-columns: 1fr; }
    .hero-content h1 { font-size: 46px; }
    .contact-map-side { border-left: none; border-top: 1px solid var(--border-color); }
    .contact-card-wrapper { flex-direction: column; }
    .premium-box { transform: scale(1); }
    .reviews-grid { grid-template-columns: 1fr; }
    .highlight-review { transform: scale(1); }
}
@media (max-width: 768px) {
    .nav-menu, .nav-actions .btn-nav-wa { display: none; }
    .mobile-btn { display: block; }
    .hero-buttons { flex-direction: column; width: 100%; max-width: 300px; margin: 0 auto; }
    .btn-yellow, .btn-outline-yellow { width: 100%; }
    .footer-content { flex-direction: column; gap: 20px; text-align: center; }
    .wa-tooltip { display: none; }
}