/* --- VARIABLES Y TEMAS --- */
:root {
    --bg-body: #f8f9fa;
    --bg-card: #ffffff;
    --text-main: #2d3436;
    --text-muted: #636e72;
    --primary: #a67c52;
    --accent: #e9dcc9;
    --danger: #d35400;
    --shadow: 0 10px 25px rgba(0,0,0,0.05);
    --shadow-hover: 0 15px 35px rgba(0,0,0,0.1);
    --border-radius: 20px;
    --transition: all 0.3s ease;
}

[data-theme="dark"] {
    --bg-body: #121212;
    --bg-card: #1e1e1e;
    --text-main: #f5f5f5;
    --text-muted: #b0b0b0;
    --primary: #d9a06f;
    --accent: #333333;
    --shadow: 0 10px 30px rgba(0,0,0,0.5);
}

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

body {
    background-color: var(--bg-body);
    color: var(--text-main);
    font-family: 'Poppins', sans-serif;
    transition: var(--transition);
    padding-bottom: 120px;
}

/* BANNER DE FERIADOS */
.holiday-alert-banner {
    background: linear-gradient(135deg, var(--danger), #e67e22);
    color: white;
    text-align: center;
    padding: 15px 20px;
    font-weight: 600;
    font-size: 0.95rem;
    display: none;
    box-shadow: 0 4px 15px rgba(211, 84, 0, 0.2);
    position: sticky;
    top: 0;
    z-index: 1100;
}

nav {
    display: flex;
    justify-content: flex-end;
    padding: 15px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.theme-toggle {
    background: var(--bg-card);
    border: none;
    padding: 10px;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: var(--shadow);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
}

header {
    text-align: center;
    padding: 10px 20px 40px;
}

header h1 {
    font-family: 'Playfair Display', serif;
    font-size: 2.8rem;
    color: var(--primary);
    margin-bottom: 8px;
}

header p {
    color: var(--text-muted);
    font-style: italic;
}

.container {
    max-width: 900px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 25px;
    padding: 0 20px;
}

@media (min-width: 768px) {
    .container { grid-template-columns: repeat(2, 1fr); }
    .span-full { grid-column: 1 / -1; }
}

.card {
    background: var(--bg-card);
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(0,0,0,0.02);
}

h2 {
    font-family: 'Playfair Display', serif;
    color: var(--primary);
    margin-bottom: 20px;
    font-size: 1.6rem;
    display: flex;
    align-items: center;
    gap: 12px;
}

/* SECCIÓN MENÚ */
.menu-hero {
    background: var(--accent);
    border-radius: var(--border-radius);
    padding: 40px 20px;
    text-align: center;
    border: 2px dashed var(--primary);
}

.btn-menu {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: var(--primary);
    color: white;
    text-decoration: none;
    padding: 18px 40px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.2rem;
    box-shadow: 0 10px 20px rgba(166, 124, 82, 0.3);
    transition: var(--transition);
}

.btn-menu:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 25px rgba(166, 124, 82, 0.4);
}

/* SECCIÓN HORARIOS */
#status-pill {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.open { background: #e8f5e9; color: #1b5e20; border: 1px solid #c8e6c9; }
.closed { background: #ffebee; color: #b71c1c; border: 1px solid #ffcdd2; }

.schedule-list { list-style: none; }
.schedule-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    font-size: 0.9rem;
}
.schedule-item:last-child { border: none; }
.time-block { font-weight: 600; }

/* SECCIÓN FERIADOS */
.holiday-scroll {
    max-height: 250px;
    overflow-y: auto;
    padding-right: 10px;
}
.holiday-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}
.holiday-row.past { opacity: 0.4; }
.holiday-tag {
    background: var(--accent);
    color: var(--primary);
    padding: 4px 10px;
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 700;
}

/* BOTÓN WHATSAPP */
.wa-float {
    position: fixed;
    bottom: 25px;
    right: 25px;
    display: flex;
    align-items: center;
    gap: 15px;
    z-index: 1000;
    text-decoration: none;
}
.wa-msg {
    background: white;
    color: var(--text-main);
    padding: 12px 20px;
    border-radius: 20px 20px 0 20px;
    font-size: 0.85rem;
    font-weight: 600;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    max-width: 220px;
    border: 1px solid #eee;
    line-height: 1.3;
}
.wa-icon {
    background: #25D366;
    width: 65px;
    height: 65px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
    transition: var(--transition);
}

 /* Icono de WhatsApp trazado manualmente para fidelidad total */
        .wa-icon svg {
            width: 35px;
            height: 35px;
            fill: currentColor;
        }
        
        .wa-float:hover .wa-icon {
            transform: scale(1.1);
            background: #20ba5a;
        }

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

footer {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-muted);
    font-size: 0.85rem;
}

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 10px; }