/* ============================================
   EL CHILECITO - MEXICAN GRILL ALMERÍA
   Estilo: Fiesta Mexicana Colorida
   Transiciones modernas y limpias
   ============================================ */

:root {
    --rojo: #E63946;
    --verde: #2D6A4F;
    --verde-claro: #40916C;
    --amarillo: #FFB703;
    --naranja: #FB8500;
    --rosa: #FF006E;
    --bg-dark: #1A1A2E;
    --bg-card: #FFFFFF;
    --text-dark: #1A1A2E;
    --text-light: #FFFFFF;
    --text-muted: #6B7280;
    --shadow: 0 4px 20px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 40px rgba(0,0,0,0.15);
    --radius: 16px;
    --radius-sm: 8px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-dark);
    background: #FFFBF0;
    overflow-x: hidden;
}


.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ============================================
   HEADER
   ============================================ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(26, 26, 46, 0.95);
    backdrop-filter: blur(10px);
    padding: 12px 0;
    transition: var(--transition);
}

.header.scrolled {
    padding: 8px 0;
    box-shadow: var(--shadow-lg);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo-icon {
    font-size: 28px;
}

.logo-img {
    height: 45px;
    width: auto;
    object-fit: contain;
}

.logo-text {
    font-family: 'Fredoka One', cursive;
    font-size: 1.5rem;
    color: var(--rojo);
    font-style: italic;
}

.nav {
    display: flex;
    gap: 24px;
}

.nav-link {
    color: var(--text-light);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    position: relative;
    transition: var(--transition);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--amarillo);
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--amarillo);
}

.nav-link:hover::after {
    width: 100%;
}


.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.btn-call {
    background: var(--verde);
    color: white;
    padding: 8px 16px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    transition: var(--transition);
}

.btn-call:hover {
    background: var(--verde-claro);
    transform: scale(1.05);
}

.cart-btn {
    background: var(--naranja);
    border: none;
    padding: 8px 14px;
    border-radius: 50px;
    cursor: pointer;
    font-size: 1rem;
    position: relative;
    transition: var(--transition);
}

.cart-btn:hover {
    transform: scale(1.1);
}

.cart-count {
    background: var(--rojo);
    color: white;
    font-size: 0.7rem;
    padding: 2px 6px;
    border-radius: 50%;
    position: absolute;
    top: -4px;
    right: -4px;
    font-weight: 700;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--text-light);
    border-radius: 3px;
    transition: var(--transition);
}

/* ============================================
   HERO
   ============================================ */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: 
        linear-gradient(135deg, rgba(230, 57, 70, 0.9), rgba(26, 26, 46, 0.85)),
        url('https://images.unsplash.com/photo-1565299585323-38d6b0865b47?w=1920') center/cover no-repeat;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 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.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}


.hero-content {
    text-align: center;
    position: relative;
    z-index: 2;
    padding: 100px 24px 60px;
    animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.hero-badge {
    display: inline-block;
    background: rgba(255, 183, 3, 0.2);
    border: 1px solid var(--amarillo);
    color: var(--amarillo);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 24px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(255, 183, 3, 0.4); }
    50% { box-shadow: 0 0 0 10px rgba(255, 183, 3, 0); }
}

.hero-title {
    font-family: 'Fredoka One', cursive;
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.1;
}

.hero-title span {
    color: var(--amarillo);
    display: block;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: rgba(255, 255, 255, 0.85);
    max-width: 600px;
    margin: 0 auto 32px;
    font-weight: 300;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 48px;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: var(--transition);
}

.btn-primary {
    background: var(--amarillo);
    color: var(--text-dark);
}

.btn-primary:hover {
    background: var(--naranja);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 183, 3, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--text-light);
    border: 2px solid var(--text-light);
}

.btn-secondary:hover {
    background: var(--text-light);
    color: var(--text-dark);
    transform: translateY(-2px);
}

.btn-whatsapp {
    background: #25D366;
    color: white;
}

.btn-whatsapp:hover {
    background: #1DA851;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
}

.btn-full {
    width: 100%;
    justify-content: center;
}


.hero-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-light);
}

.stat-label {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
}

.hero-scroll {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.8rem;
    z-index: 2;
}

.scroll-arrow {
    animation: bounce 2s infinite;
    font-size: 1.2rem;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

/* ============================================
   SECTIONS GENERAL
   ============================================ */
.section-title {
    font-family: 'Fredoka One', cursive;
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    text-align: center;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.section-title span {
    color: var(--rojo);
}

.section-title.text-left {
    text-align: left;
}

.section-subtitle {
    text-align: center;
    color: var(--text-muted);
    font-size: 1.05rem;
    margin-bottom: 48px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ============================================
   POR QUÉ VENIR
   ============================================ */
.porque {
    padding: 100px 0;
    background: #FFFBF0;
}

.porque-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
}

.porque-card {
    background: var(--bg-card);
    border-radius: var(--radius);
    padding: 32px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid rgba(0,0,0,0.05);
}

.porque-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--amarillo);
}

.porque-icon {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.porque-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.porque-card p {
    color: var(--text-muted);
    line-height: 1.6;
    font-size: 0.95rem;
}


/* ============================================
   MENÚ
   ============================================ */
.menu-section {
    padding: 100px 0;
    background: linear-gradient(180deg, #FFF5E6 0%, #FFFBF0 100%);
}

.menu-filters {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.filter-btn {
    background: var(--bg-card);
    border: 2px solid #E5E7EB;
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    font-family: 'Poppins', sans-serif;
}

.filter-btn:hover {
    border-color: var(--rojo);
    color: var(--rojo);
}

.filter-btn.active {
    background: var(--rojo);
    color: white;
    border-color: var(--rojo);
    box-shadow: 0 4px 15px rgba(230, 57, 70, 0.3);
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 20px;
}

.menu-item {
    background: var(--bg-card);
    border-radius: var(--radius);
    display: flex;
    gap: 16px;
    padding: 20px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid rgba(0,0,0,0.05);
    animation: fadeIn 0.4s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}

.menu-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.menu-item.hidden {
    display: none;
}

.menu-item-img {
    font-size: 2.5rem;
    min-width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #FFF5E6, #FFE8CC);
    border-radius: 12px;
}

.menu-item-info {
    flex: 1;
}

.menu-item-info h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 4px;
    color: var(--text-dark);
}

.menu-item-info p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.4;
    margin-bottom: 12px;
}

.menu-item-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.price {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--rojo);
}

.add-btn {
    background: var(--verde);
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    font-family: 'Poppins', sans-serif;
}

.add-btn:hover {
    background: var(--verde-claro);
    transform: scale(1.05);
}

.add-btn.added {
    background: var(--amarillo);
    color: var(--text-dark);
}


/* ============================================
   RESEÑAS
   ============================================ */
.resenas {
    padding: 100px 0;
    background: var(--bg-dark);
}

.resenas .section-title {
    color: var(--text-light);
}

.resenas .section-title span {
    color: var(--amarillo);
}

.resenas .section-subtitle {
    color: rgba(255, 255, 255, 0.6);
}

.resenas-slider {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.resena-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius);
    padding: 32px;
    transition: var(--transition);
}

.resena-card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-4px);
    border-color: var(--amarillo);
}

.resena-stars {
    margin-bottom: 16px;
    font-size: 1.1rem;
}

.resena-text {
    color: rgba(255, 255, 255, 0.9);
    font-style: italic;
    line-height: 1.7;
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.resena-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.resena-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--rojo), var(--naranja));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 1rem;
}

.resena-author span {
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
    font-size: 0.9rem;
}

/* ============================================
   DETALLES ESPECIALES
   ============================================ */
.detalles {
    padding: 100px 0;
    background: linear-gradient(135deg, #FFFBF0, #FFF5E6);
}

.detalles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
    margin-top: 48px;
}

.detalle-item {
    text-align: center;
    padding: 32px 24px;
    border-radius: var(--radius);
    background: white;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.detalle-item:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.detalle-emoji {
    font-size: 3rem;
    display: block;
    margin-bottom: 16px;
}

.detalle-item h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.detalle-item p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
}


/* ============================================
   HORARIOS Y CONTACTO
   ============================================ */
.horarios {
    padding: 100px 0;
    background: #FFFBF0;
}

.horarios-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
}

.horarios-table {
    margin: 24px 0;
}

.horario-row {
    display: flex;
    justify-content: space-between;
    padding: 14px 16px;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.horario-row:nth-child(even) {
    background: rgba(255, 183, 3, 0.08);
}

.horario-row:hover {
    background: rgba(255, 183, 3, 0.15);
}

.horario-row.cerrado {
    opacity: 0.5;
}

.horario-row .dia {
    font-weight: 600;
    color: var(--text-dark);
}

.horario-row .horas {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.contacto-info {
    margin-top: 32px;
    padding: 24px;
    background: white;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.contacto-info h3 {
    font-size: 1.2rem;
    margin-bottom: 12px;
}

.contacto-info p {
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 20px;
}

.contacto-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.horarios-mapa {
    min-height: 400px;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--bg-dark);
    padding: 60px 0 24px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 24px;
    padding-bottom: 32px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
    margin-top: 4px;
}

.footer-links {
    display: flex;
    gap: 24px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--amarillo);
}

.footer-social {
    display: flex;
    gap: 16px;
}

.footer-social a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition);
}

.footer-social a:hover {
    color: var(--amarillo);
}

.footer-bottom {
    text-align: center;
    padding-top: 24px;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.8rem;
}


/* ============================================
   CARRITO
   ============================================ */
.cart-panel {
    position: fixed;
    top: 0;
    right: -400px;
    width: 380px;
    height: 100vh;
    background: white;
    z-index: 2000;
    box-shadow: -10px 0 40px rgba(0,0,0,0.2);
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
}

.cart-panel.open {
    right: 0;
}

.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    border-bottom: 1px solid #E5E7EB;
}

.cart-header h3 {
    font-size: 1.2rem;
    font-weight: 700;
}

.cart-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-muted);
    transition: var(--transition);
}

.cart-close:hover {
    color: var(--rojo);
    transform: rotate(90deg);
}

.cart-items {
    flex: 1;
    overflow-y: auto;
    padding: 16px 24px;
}

.cart-empty {
    text-align: center;
    color: var(--text-muted);
    padding: 40px 0;
    font-size: 0.95rem;
}

.cart-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #F3F4F6;
    animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
    from { opacity: 0; transform: translateX(20px); }
    to { opacity: 1; transform: translateX(0); }
}

.cart-item-info {
    flex: 1;
}

.cart-item-info h5 {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.cart-item-info .cart-item-price {
    color: var(--rojo);
    font-weight: 700;
    font-size: 0.9rem;
}

.cart-item-controls {
    display: flex;
    align-items: center;
    gap: 8px;
}

.cart-item-controls button {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 1px solid #E5E7EB;
    background: white;
    cursor: pointer;
    font-weight: 700;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.cart-item-controls button:hover {
    background: var(--rojo);
    color: white;
    border-color: var(--rojo);
}

.cart-item-controls span {
    font-weight: 600;
    min-width: 20px;
    text-align: center;
}

.cart-footer {
    padding: 20px 24px;
    border-top: 1px solid #E5E7EB;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.cart-total {
    display: flex;
    justify-content: space-between;
    font-size: 1.2rem;
    font-weight: 700;
}

.cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    z-index: 1999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.cart-overlay.open {
    opacity: 1;
    pointer-events: all;
}


/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background: var(--bg-dark);
        flex-direction: column;
        padding: 80px 32px 32px;
        gap: 20px;
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 999;
    }

    .nav.open {
        right: 0;
    }

    .nav-link {
        font-size: 1.1rem;
    }

    .hamburger {
        display: flex;
    }

    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
    }

    .header-actions .btn-call {
        display: none;
    }

    .hero-stats {
        gap: 20px;
    }

    .porque-grid {
        grid-template-columns: 1fr;
    }

    .menu-grid {
        grid-template-columns: 1fr;
    }

    .menu-filters {
        gap: 6px;
    }

    .filter-btn {
        padding: 8px 14px;
        font-size: 0.8rem;
    }

    .resenas-slider {
        grid-template-columns: 1fr;
    }

    .horarios-grid {
        grid-template-columns: 1fr;
    }

    .horarios-mapa {
        min-height: 280px;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
    }

    .cart-panel {
        width: 100%;
        right: -100%;
    }

    .contacto-buttons {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

    .menu-item {
        flex-direction: column;
        text-align: center;
    }

    .menu-item-footer {
        flex-direction: column;
        gap: 10px;
    }
}


/* ============================================
   CHATBOT "PANCHO" - MESERO VIRTUAL
   ============================================ */
.chatbot-trigger {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 1500;
    cursor: pointer;
    transition: var(--transition);
    animation: bounceIn 0.6s ease-out;
}

.chatbot-trigger:hover {
    transform: scale(1.1);
}

.chatbot-trigger.hidden {
    transform: scale(0);
    opacity: 0;
    pointer-events: none;
}

.chatbot-icon {
    filter: drop-shadow(0 4px 12px rgba(0,0,0,0.3));
    transition: var(--transition);
}

.chatbot-icon-img {
    width: 70px;
    height: 70px;
    object-fit: contain;
    filter: drop-shadow(0 4px 12px rgba(0,0,0,0.3));
    transition: var(--transition);
    border-radius: 50%;
}

.chatbot-trigger:hover .chatbot-icon,
.chatbot-trigger:hover .chatbot-icon-img {
    filter: drop-shadow(0 6px 20px rgba(230, 57, 70, 0.4));
}

.chatbot-badge {
    position: absolute;
    top: -8px;
    left: -20px;
    background: var(--rojo);
    color: white;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 20px;
    white-space: nowrap;
    animation: pulse 2s infinite;
}

@keyframes bounceIn {
    0% { transform: scale(0); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

/* CHATBOT PANEL */
.chatbot-panel {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 380px;
    height: 520px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.25);
    z-index: 1600;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transform: scale(0) translateY(20px);
    transform-origin: bottom right;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
}

.chatbot-panel.open {
    transform: scale(1) translateY(0);
    opacity: 1;
    pointer-events: all;
}

.chatbot-panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    background: linear-gradient(135deg, var(--rojo), #D32F2F);
    color: white;
}

.chatbot-panel-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 0.95rem;
}

.chatbot-close {
    background: rgba(255,255,255,0.2);
    border: none;
    color: white;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    transition: var(--transition);
}

.chatbot-close:hover {
    background: rgba(255,255,255,0.3);
    transform: rotate(90deg);
}

/* Messages */
.chatbot-messages {
    flex: 1;
    overflow-y: auto;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.chat-msg {
    max-width: 85%;
    animation: slideMsg 0.3s ease-out;
}

@keyframes slideMsg {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.chat-msg.bot {
    align-self: flex-start;
}

.chat-msg.user {
    align-self: flex-end;
}

.chat-msg.bot p {
    background: #F3F4F6;
    padding: 12px 16px;
    border-radius: 16px 16px 16px 4px;
    font-size: 0.9rem;
    line-height: 1.5;
    color: var(--text-dark);
}

.chat-msg.user p {
    background: var(--rojo);
    color: white;
    padding: 12px 16px;
    border-radius: 16px 16px 4px 16px;
    font-size: 0.9rem;
    line-height: 1.5;
}

.chat-options {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 8px;
    background: transparent !important;
    padding: 0 !important;
}

.chat-suggestions {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 8px;
}

.chat-suggest-btn {
    background: white;
    border: 1px solid var(--rojo);
    color: var(--rojo);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    font-family: 'Poppins', sans-serif;
}

.chat-suggest-btn:hover {
    background: var(--rojo);
    color: white;
}

/* Typing indicator */
.typing-indicator .dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #999;
    margin: 0 2px;
    animation: typingBounce 1.4s infinite;
}

.typing-indicator .dot:nth-child(2) { animation-delay: 0.2s; }
.typing-indicator .dot:nth-child(3) { animation-delay: 0.4s; }

@keyframes typingBounce {
    0%, 60%, 100% { transform: translateY(0); }
    30% { transform: translateY(-6px); }
}

/* Input area */
.chatbot-input-area {
    display: flex;
    padding: 12px 16px;
    border-top: 1px solid #E5E7EB;
    gap: 8px;
    background: #FAFAFA;
}

.chatbot-input-area input {
    flex: 1;
    border: 1px solid #E5E7EB;
    border-radius: 24px;
    padding: 10px 16px;
    font-size: 0.9rem;
    font-family: 'Poppins', sans-serif;
    outline: none;
    transition: var(--transition);
}

.chatbot-input-area input:focus {
    border-color: var(--rojo);
    box-shadow: 0 0 0 3px rgba(230, 57, 70, 0.1);
}

.chatbot-send-btn {
    background: var(--rojo);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.1rem;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.chatbot-send-btn:hover {
    background: #D32F2F;
    transform: scale(1.1);
}

/* Responsive chatbot */
@media (max-width: 480px) {
    .chatbot-panel {
        width: calc(100vw - 16px);
        height: calc(100vh - 100px);
        bottom: 8px;
        right: 8px;
        border-radius: 16px;
    }
    
    .chatbot-trigger {
        bottom: 16px;
        right: 16px;
    }
}


/* ============================================
   HERO LOGO CENTRAL
   ============================================ */
.hero-logo {
    display: flex;
    justify-content: center;
    margin-bottom: 24px;
}

.hero-logo-img {
    width: clamp(280px, 50vw, 500px);
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 4px 20px rgba(0, 0, 0, 0.4));
    animation: fadeInUp 1s ease-out;
}

@media (max-width: 480px) {
    .hero-logo-img {
        width: 85vw;
    }
}
