:root {
    --brand-purple: #bf5af2;
    --brand-blue: #0A84FF;
    --brand-green: #34c759;
    --brand-red: #ff3b30;
    --text-primary: #1d1d1f;
    --text-secondary: #86868b;
    --bg-card: rgba(255, 255, 255, 0.6);
    --border-light: rgba(255, 255, 255, 0.3);
    --bg-modal: rgba(255, 255, 255, 0.85);
    --glow-gold: #FFD700;
}

html { background-color: #f5f5f7; transition: background-color 0.3s; height: 100%; margin: 0; }
html.dark-theme { background-color: #000000; }

body.dark-theme {
    --text-primary: #ffffff;
    --text-secondary: #a1a1a6;
    --bg-card: rgba(28, 28, 30, 0.6);
    --border-light: rgba(255, 255, 255, 0.1);
    --bg-modal: rgba(28, 28, 30, 0.85);
}

body { 
    background-color: #f5f5f7;
    background-attachment: fixed;
    color: var(--text-primary); 
    font-family: 'SF Pro Display', 'Poppins', sans-serif;
    margin: 0; padding: 0;
    display: flex; flex-direction: column; min-height: 100vh;
}

/* ================= ALERTA PERSONALIZADA ================= */
.custom-alert-overlay {
    position: fixed; top: 0; left: 0; width: 100vw; height: 100vh;
    background: rgba(0,0,0,0.6); backdrop-filter: blur(15px); -webkit-backdrop-filter: blur(15px);
    z-index: 4000; display: none; align-items: center; justify-content: center;
    opacity: 0; transition: opacity 0.3s ease; padding: 20px; box-sizing: border-box;
}
.custom-alert-overlay.active { opacity: 1; }

.custom-alert-box {
    background: var(--bg-modal);
    border-radius: 24px; width: 100%; max-width: 400px; padding: 30px;
    text-align: center; position: relative;
    border: 2px solid var(--glow-gold);
    box-shadow: 0 0 35px rgba(255, 215, 0, 0.4), 0 25px 50px rgba(0,0,0,0.6);
    transform: translateY(20px) scale(0.95); transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}
.custom-alert-overlay.active .custom-alert-box { transform: translateY(0) scale(1); }

.custom-alert-box h3 {
    margin-top: 0; font-size: 1.5rem; color: var(--glow-gold); text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.custom-alert-box p {
    color: var(--text-primary); font-size: 1rem; line-height: 1.5; margin: 20px 0;
}

.btn-custom-alert {
    background: linear-gradient(45deg, #FFD700, #FFA500);
    color: #000; border: none; padding: 12px 30px; border-radius: 14px;
    font-weight: bold; font-size: 1rem; cursor: pointer; transition: 0.3s;
    box-shadow: 0 4px 15px rgba(255,215,0,0.4);
}
.btn-custom-alert:hover {
    transform: translateY(-2px);
    filter: brightness(1.1);
}

body.dark-theme {
    background: radial-gradient(circle at top left, rgba(26, 11, 46, 1) 0%, #000000 50%, rgba(10, 17, 40, 1) 100%);
    background-attachment: fixed;
}

@keyframes glassGradientAnim {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.header-seccion {
    background: linear-gradient(270deg, rgba(191,90,242,0.85), rgba(10,132,255,0.85), rgba(52,199,89,0.85), rgba(255,159,10,0.85));
    background-size: 400% 400%;
    animation: glassGradientAnim 30s ease infinite;
    backdrop-filter: blur(25px); -webkit-backdrop-filter: blur(25px);
    padding: 20px; position: sticky; top: 0; z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    display: flex; align-items: center; justify-content: center;
}
body.dark-theme .header-seccion {
    background: linear-gradient(270deg, rgba(142,68,173,0.7), rgba(10,100,200,0.7), rgba(30,150,60,0.7), rgba(200,100,10,0.7));
    background-size: 400% 400%; border-bottom-color: rgba(255,255,255,0.1);
}
.header-seccion h1 { font-size: 1.6rem; color: #fff; margin: 0; font-weight: 700; text-shadow: 0 2px 10px rgba(0,0,0,0.2); }

.controles-superior {
    display: flex; justify-content: space-between; align-items: center;
    max-width: 1200px; margin: 20px auto; padding: 0 20px; width: 100%; box-sizing: border-box;
    gap: 10px;
}

.btn-glass {
    color: var(--text-primary); text-decoration: none; font-weight: 600;
    display: inline-flex; align-items: center; gap: 6px;
    background: var(--bg-card); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
    padding: 10px 20px; border-radius: 20px; border: 1px solid var(--border-light);
    transition: 0.3s; box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); cursor: pointer;
}
body.dark-theme .btn-glass { background: rgba(29, 29, 31, 0.9); color: #fff; border-color: rgba(255, 255, 255, 0.1); }
.btn-glass:hover { transform: translateY(-2px); box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15); }

.btn-presentacion {
    background: linear-gradient(45deg, #FFD700, #FFA500) !important;
    color: #000 !important;
    border: none !important;
    box-shadow: 0 4px 15px rgba(255,215,0,0.4) !important;
}

.main-content { 
    flex: 1; padding: 20px; max-width: 1200px; margin: 0 auto; width: 100%; box-sizing: border-box; 
    display: flex; flex-direction: column;
}

/* ================= CALENDARIO ================= */
.calendario-container {
    flex-grow: 1;
    background: linear-gradient(270deg, rgba(191,90,242,0.4), rgba(10,132,255,0.4), rgba(52,199,89,0.4), rgba(255,159,10,0.4));
    background-size: 400% 400%;
    animation: glassGradientAnim 30s ease infinite;
    backdrop-filter: blur(25px); -webkit-backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 215, 0, 0.4);
    border-radius: 24px; padding: 20px;
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.25), inset 0 0 20px rgba(255, 215, 0, 0.1);
    display: flex; flex-direction: column;
    margin-bottom: 40px;
}
body.dark-theme .calendario-container {
    background: linear-gradient(270deg, rgba(142,68,173,0.3), rgba(10,100,200,0.3), rgba(30,150,60,0.3), rgba(200,100,10,0.3));
    background-size: 400% 400%;
}

.cal-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.cal-header h2 { margin: 0; font-size: 1.8rem; color: #fff; text-shadow: 0 2px 10px rgba(0,0,0,0.5); text-transform: capitalize; }
.cal-nav-btn {
    background: rgba(255, 255, 255, 0.2); color: #fff; border: 1px solid rgba(255,255,255,0.3);
    width: 40px; height: 40px; border-radius: 50%; font-size: 1.2rem; cursor: pointer; transition: 0.2s;
}
.cal-nav-btn:hover { background: var(--glow-gold); color: #000; border-color: var(--glow-gold); }

.cal-grid {
    display: grid; 
    grid-template-columns: repeat(7, 1fr); 
    gap: 10px;
    flex-grow: 1;
}

.cal-day-name { 
    text-align: center; font-weight: 700; color: #fff; 
    padding-bottom: 10px; text-transform: uppercase; font-size: 0.85rem; text-shadow: 0 2px 5px rgba(0,0,0,0.5);
}

.cal-cell {
    background: rgba(255,255,255,0.1);
    border: 1px solid var(--border-light);
    border-radius: 12px; min-height: 120px; 
    display: flex; flex-direction: column; transition: 0.3s;
    position: relative; overflow: visible;
}
body.dark-theme .cal-cell { background: rgba(0,0,0,0.3); }
.cal-cell.empty { background: transparent; border: none; pointer-events: none;}
.cal-cell.today { border: 2px solid var(--brand-blue); background: rgba(10,132,255,0.1); }

.cal-date { 
    font-weight: 800; font-size: 1.1rem; color: #fff; text-shadow: 0 2px 5px rgba(0,0,0,0.8);
    position: absolute; top: 5px; right: 5px; z-index: 5;
    background: rgba(0,0,0,0.5); width: 30px; height: 30px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
}

.cal-cell.has-event {
    background-size: cover;
    background-position: center;
    border: 2px solid var(--glow-gold);
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.6), inset 0 0 20px rgba(0,0,0,0.6);
    cursor: pointer;
}
.cal-cell.has-event:hover {
    transform: scale(1.02);
    box-shadow: 0 0 25px rgba(255, 215, 0, 0.8), inset 0 0 20px rgba(0,0,0,0.4);
    z-index: 10;
}

.cell-event-overlay {
    position: absolute; bottom: 0; left: 0; right: 0;
    background: rgba(0,0,0,0.75); color: #FFD700;
    font-size: 0.75rem; padding: 6px; border-radius: 0 0 10px 10px;
    text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
    backdrop-filter: blur(5px); z-index: 5; font-weight: 600;
}

.event-preview-tooltip {
    display: none;
    position: absolute; bottom: 105%; left: 50%; transform: translateX(-50%);
    width: 220px; height: 220px;
    background-size: cover; background-position: center;
    border-radius: 16px; border: 3px solid var(--glow-gold);
    box-shadow: 0 15px 35px rgba(0,0,0,0.7), 0 0 20px rgba(255,215,0,0.4);
    z-index: 2000; pointer-events: none;
}
.cal-cell.has-event:hover .event-preview-tooltip { display: block; }

.tooltip-title {
    position: absolute; bottom: 0; width: 100%;
    background: rgba(0,0,0,0.8); color: var(--glow-gold);
    text-align: center; padding: 8px; font-size: 0.9rem;
    border-radius: 0 0 13px 13px; font-weight: bold; backdrop-filter: blur(5px);
}

/* ================= EVENTOS PASADOS ================= */
.cal-cell.has-event.past-event {
    border: 2px solid var(--brand-red);
    box-shadow: 0 0 15px rgba(255, 59, 48, 0.4), inset 0 0 20px rgba(0,0,0,0.6);
    opacity: 0.8;
}
.cal-cell.has-event.past-event:hover {
    box-shadow: 0 0 25px rgba(255, 59, 48, 0.7), inset 0 0 20px rgba(0,0,0,0.4);
    opacity: 1;
}
.cal-cell.has-event.past-event .cell-event-overlay {
    color: #ffb3b0;
}
.cal-cell.has-event.past-event .event-preview-tooltip {
    border-color: var(--brand-red);
    box-shadow: 0 15px 35px rgba(0,0,0,0.7), 0 0 20px rgba(255, 59, 48, 0.4);
}
.cal-cell.has-event.past-event .tooltip-title {
    color: var(--brand-red);
}

/* ================= MODAL DE EVENTO CON BRILLO DORADO ================= */
.modal-info-overlay {
    position: fixed; top: 0; left: 0; width: 100vw; height: 100vh;
    background: rgba(0,0,0,0.6); backdrop-filter: blur(15px); -webkit-backdrop-filter: blur(15px);
    z-index: 3000; display: none; align-items: center; justify-content: center;
    opacity: 0; transition: opacity 0.3s ease; padding: 20px; box-sizing: border-box;
}
.modal-info-overlay.active { opacity: 1; }

.modal-info-content {
    background: var(--bg-modal);
    border-radius: 30px; width: 100%; max-width: 600px; max-height: 85vh;
    overflow-y: auto; position: relative; 
    /* BORDE Y BRILLO DORADO */
    border: 2px solid var(--glow-gold);
    box-shadow: 0 0 35px rgba(255, 215, 0, 0.5), 0 25px 50px rgba(0,0,0,0.6);
    transform: translateY(30px) scale(0.95); transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    scrollbar-width: none;
}
.modal-info-content::-webkit-scrollbar { display: none; }
.modal-info-overlay.active .modal-info-content { transform: translateY(0) scale(1); }

.btn-close-modal-info {
    position: absolute; top: 15px; right: 15px; background: rgba(0,0,0,0.4);
    color: #fff; border: 1px solid rgba(255,255,255,0.3); width: 35px; height: 35px; border-radius: 50%;
    font-size: 1.2rem; cursor: pointer; z-index: 20; display: flex; align-items: center; justify-content: center;
    transition: 0.2s; backdrop-filter: blur(5px);
}
.btn-close-modal-info:hover { background: var(--brand-red); transform: rotate(90deg); }

.modal-info-banner-container { position: relative; width: 100%; height: 250px; overflow: hidden; cursor: zoom-in; }
#modalInfoBanner { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.modal-info-banner-container:hover #modalInfoBanner { transform: scale(1.05); }
.modal-info-gradiente { position: absolute; bottom: 0; left: 0; width: 100%; height: 60%; background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent); }

.modal-info-content h2 {
    position: absolute; bottom: 20px; left: 20px; right: 20px; margin: 0;
    font-size: 1.8rem; font-weight: 700; color: #fff; text-shadow: 0 2px 10px rgba(0,0,0,0.5); z-index: 5;
}

.modal-info-body { padding: 25px; }
.modal-info-meta { display: flex; flex-wrap: wrap; gap: 15px; margin-bottom: 20px; font-size: 0.9rem; font-weight: 500; }
.modal-info-meta span { display: inline-flex; align-items: center; gap: 8px; color: var(--text-secondary); }
.modal-info-meta span i { color: var(--brand-purple); font-size: 1.1rem; }

.modal-info-acciones { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 20px; }
.btn-info-accion {
    flex: 1; min-width: 120px; padding: 12px; border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.3); background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px); color: var(--text-primary);
    font-weight: 600; cursor: pointer; transition: 0.3s;
    display: flex; align-items: center; justify-content: center; gap: 8px;
}
body.dark-theme .btn-info-accion { border-color: rgba(255,255,255,0.1); background: rgba(255,255,255,0.05); }
.btn-info-accion:hover { background: rgba(255,255,255,0.4); transform: translateY(-2px); }
.btn-info-accion.active { background: var(--brand-blue) !important; color: #fff !important; border-color: var(--brand-blue) !important; }

.modal-info-descripcion-container h3 { font-size: 1.2rem; color: var(--brand-blue); margin: 0 0 10px 0; }
#modalInfoDescripcion { line-height: 1.6; font-size: 0.95rem; white-space: pre-wrap; margin-bottom: 20px;}

.seccion-galeria h3 { font-size: 1.2rem; color: var(--brand-green); margin: 0 0 10px 0; }
.galeria-scroll-mini { display: flex; gap: 12px; overflow-x: auto; padding-bottom: 10px; scrollbar-width: none; }
.galeria-scroll-mini::-webkit-scrollbar { display: none; }
.galeria-scroll-mini img { width: 100px; height: 100px; border-radius: 14px; object-fit: cover; cursor: zoom-in; box-shadow: 0 4px 10px rgba(0,0,0,0.1); transition: 0.3s; flex-shrink: 0; border: 1px solid var(--border-light);}
.galeria-scroll-mini img:hover { transform: scale(1.05); border-color: var(--brand-blue); }

.event-buttons { display: flex; gap: 10px; margin: 25px 0; flex-wrap: wrap; justify-content: center; }
.event-btn {
    flex: 1; min-width: 130px;
    padding: 12px 15px; border-radius: 12px;
    text-align: center; font-weight: 600; font-size: 0.95rem;
    text-decoration: none; transition: 0.3s; color: white !important;
    display: flex; align-items: center; justify-content: center; gap: 8px;
    border: none; cursor: pointer;
}
.btn-llamar { background: #1d1d1f; box-shadow: 0 4px 15px rgba(0,0,0,0.2); }
body.dark-theme .btn-llamar { background: #ffffff; color: #000 !important; box-shadow: 0 4px 15px rgba(255,255,255,0.2); }
.btn-wa { background: #34C759; box-shadow: 0 4px 15px rgba(52, 199, 89, 0.3); }
.btn-fb { background: #1877F2; box-shadow: 0 4px 15px rgba(24, 119, 242, 0.3); }
.btn-ig { background: #E4405F; box-shadow: 0 4px 15px rgba(228, 64, 95, 0.3); }

.secInfoVideo h3 { font-size: 1.2rem; color: var(--brand-red); margin: 0 0 10px 0; }
.video-container-modal { position: relative; width: 100%; border-radius: 16px; overflow: hidden; box-shadow: 0 10px 20px rgba(0,0,0,0.2); border: 1px solid var(--border-light); background: #000; }

.modal-info-seccion-detalle { margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--border-light); animation: fadeIn 0.4s ease; }
.modal-info-seccion-detalle h3 { margin: 0 0 15px 0; font-size: 1.2rem; color: var(--brand-purple); }
.artistas-grid-modal { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 15px; }
.artista-card-modal { display: flex; align-items: center; gap: 12px; background: rgba(255,255,255,0.15); padding: 10px; border-radius: 16px; border: 1px solid var(--border-light); }
body.dark-theme .artista-card-modal { background: rgba(255,255,255,0.05); }
.artista-card-modal img { width: 50px; height: 50px; border-radius: 50%; object-fit: cover; }
.artista-card-modal-info h4 { margin: 0 0 3px 0; font-size: 0.95rem; }
.artista-card-modal-info p { margin: 0; font-size: 0.75rem; color: var(--text-secondary); }

/* ================= NAVEGACIÓN DENTRO DEL MODAL (STICKY) ================= */
.modal-nav-eventos {
    position: sticky;
    bottom: 0;
    background: var(--bg-modal);
    backdrop-filter: blur(15px); -webkit-backdrop-filter: blur(15px);
    display: flex;
    justify-content: space-between;
    gap: 15px;
    padding: 15px 25px;
    border-top: 1px solid var(--border-light);
    border-radius: 0 0 30px 30px;
    margin: 25px -25px -25px -25px; /* Compensa el padding de .modal-info-body */
    z-index: 100;
}
.modal-nav-eventos .btn-glass {
    flex: 1;
    justify-content: center;
    font-size: 0.95rem;
}

@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

/* VISOR CARRUSEL */
.carrusel-overlay { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.95); z-index: 5000; align-items: center; justify-content: center; opacity: 0; transition: opacity 0.3s ease; flex-direction: column; }
.carrusel-img-container { width: 100%; flex-grow: 1; display: flex; align-items: center; justify-content: center; overflow: hidden; position: relative; touch-action: none;}
.img-carrusel-activa { max-width: 90%; max-height: 85vh; object-fit: contain; border-radius: 12px; transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1); cursor: zoom-in; }
.btn-cerrar-carrusel { position: absolute; top: 25px; right: 25px; background: rgba(255,255,255,0.15); border: none; color: white; width: 45px; height: 45px; border-radius: 50%; font-size: 1.2rem; cursor: pointer; z-index: 5010; transition: 0.2s;}
.btn-cerrar-carrusel:hover { background: var(--brand-red); transform: rotate(90deg);}
.carrusel-controles-inferiores { position: absolute; bottom: 40px; left: 0; width: 100%; display: flex; justify-content: center; gap: 40px; z-index: 5010; }
.btn-nav-carrusel { background: rgba(255,255,255,0.15); border: none; color: white; width: 55px; height: 55px; border-radius: 50%; font-size: 1.5rem; cursor: pointer; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3); transition:0.2s;}
.btn-nav-carrusel:hover { background: var(--brand-blue); transform:scale(1.1);}

/* OVERLAY Y ESTILOS DE LA PRESENTACIÓN MENSUAL */
.presentacion-overlay {
    position: fixed; top: 0; left: 0; width: 100vw; height: 100vh;
    background: rgba(0,0,0,0.95); z-index: 9999; display: none; opacity: 0;
    transition: opacity 0.5s ease; flex-direction: column; align-items: center; justify-content: center;
}
.presentacion-slide {
    text-align: center; color: #fff; opacity: 0; transform: scale(0.95);
    transition: all 0.5s ease; display: flex; flex-direction: column; align-items: center;
    pointer-events: none; /* Permite que el click atraviese y cierre en el overlay */
}
.presentacion-img { max-width: 90vw; max-height: 60vh; border-radius: 20px; box-shadow: 0 0 40px rgba(255,215,0,0.6); object-fit: cover; border: 3px solid var(--glow-gold); pointer-events: auto;}
.presentacion-titulo { font-size: 2.5rem; margin-top: 25px; color: var(--glow-gold); text-shadow: 0 2px 15px rgba(0,0,0,0.9); font-weight: bold; pointer-events: auto;}
.presentacion-fecha { font-size: 1.3rem; color: #ddd; margin-top: 10px; font-weight: 500; pointer-events: auto;}
.btn-cerrar-presentacion {
    position: absolute; top: 30px; right: 30px;
    background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.3); color: white; border-radius: 50%;
    width: 50px; height: 50px; font-size: 1.5rem; cursor: pointer; z-index: 10000; transition: 0.3s;
}
.btn-cerrar-presentacion:hover { background: var(--brand-red); transform: rotate(90deg); }

/* ================= ESTILOS DEL FOOTER ================= */
.footer-ayuntamiento {
    background: var(--bg-card);
    border-top: 1px solid var(--border-light);
    padding: 50px 20px 0; 
    margin-top: auto; /* ESTO EMPUJA EL FOOTER AL FONDO SIEMPRE */
}
.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: space-between;
}
.footer-col { flex: 1; min-width: 250px; }
.footer-col h3 { font-size: 1.2rem; color: var(--text-primary); margin-bottom: 20px; }
.footer-col p { color: var(--text-secondary); line-height: 1.6; margin-bottom: 10px; display: flex; align-items: center; gap: 10px;}
.footer-col a { color: var(--text-secondary); text-decoration: none; display: flex; align-items: center; margin-bottom: 12px; transition: 0.2s; }
.footer-col a:hover { color: var(--brand-purple); transform: translateX(5px); }

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    padding: 20px;
    padding-bottom: 100px; /* ESPACIO PARA EL MENÚ FLOTANTE */
    margin-top: 30px;
    border-top: 1px solid var(--border-light);
    color: var(--text-secondary);
    font-size: 0.85rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}
.footer-bottom p { margin: 5px 0; }

.btn-download-app {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--brand-purple);
    color: white !important;
    padding: 10px 20px;
    border-radius: 20px;
    font-weight: 600;
    margin-top: 10px;
    width: fit-content;
    box-shadow: 0 4px 15px rgba(191, 90, 242, 0.3);
}
.btn-download-app:hover { transform: translateY(-2px); color: white !important; filter: brightness(1.1); }

.social-links { display: flex; gap: 15px; margin-top: 15px; }
.social-links a { color: var(--text-secondary); font-size: 1.2rem; transition: 0.3s; }
.social-links a:hover { color: var(--brand-purple); transform: scale(1.1); }

@media (max-width: 768px) {
    .txt-hide-mobile { display: none; }
    .controles-superior { padding: 0 15px; }
    
    /* Ajuste para mantener alineación y centrado del botón Presentación en móvil */
    .btn-regresar-mobile { width: 45px; height: 45px; justify-content: center; padding: 0; }
    .btn-presentacion { flex-grow: 1; max-width: 250px; justify-content: center; margin: 0 auto; }

    .cal-grid { gap: 6px; }
    .calendario-container { margin-bottom: 120px; padding: 15px; } 
    .cal-cell { min-height: 12vh; padding: 4px; border-radius: 8px; }
    .cal-date { width: 22px; height: 22px; font-size: 0.9rem; }
    .cell-event-overlay { font-size: 0.65rem; padding: 4px 2px; }
    .event-preview-tooltip { width: 140px; height: 140px; }
    
    .modal-info-content h2 { font-size: 1.4rem; bottom: 15px; left: 15px; }
    .modal-info-body { padding: 16px; }

    .presentacion-titulo { font-size: 1.8rem; }
    .presentacion-fecha { font-size: 1.1rem; }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    .footer-bottom p { order: 0 !important; }
}