/* =========================================
   VARIABLES Y ESTILOS BASE
   ========================================= */
:root {
    --brand-primary: #002D54;
    --brand-primary-light: #004B8C;
    --brand-primary-dark: #001A33;
    --accent-action: #FF5A00;
    --accent-action-hover: #E65000;
    --accent-secondary: #00B4D8;
    --bg-page: #FAFAFA;
    --text-primary: #0A0A0A;
    --text-secondary: #475569;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { 
    font-family: 'Manrope', sans-serif; 
    background-color: var(--bg-page); 
    color: var(--text-primary); 
    -webkit-font-smoothing: antialiased; 
    overflow-x: hidden; 
    min-height: 100vh;
}
h1, h2, h3, h4, h5, h6 { 
    font-family: 'Barlow Condensed', sans-serif; 
    font-weight: 800; 
    text-transform: uppercase; 
    letter-spacing: -0.02em; 
    line-height: 1; 
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; }
.container { max-width: 1280px; margin: 0 auto; padding: 0 1rem; }

/* =========================================
   ESTILOS COMPARTIDOS (Botones, Spinners)
   ========================================= */
.btn { 
    display: inline-flex; align-items: center; justify-content: center; 
    gap: 0.5rem; padding: 0.75rem 1.5rem; border-radius: 9999px; 
    font-weight: 600; transition: all 0.3s ease; border: none; cursor: pointer; 
}
.btn-primary { background: var(--accent-action); color: white; }
.btn-primary:hover { background: var(--accent-action-hover); transform: translateY(-2px); box-shadow: 0 10px 30px rgba(255, 90, 0, 0.3); }
.btn-primary:disabled { opacity: 0.7; cursor: not-allowed; transform: none; box-shadow: none; }
.btn-outline { background: transparent; border: 2px solid white; color: white; }
.btn-outline:hover { background: white; color: var(--brand-primary); }

.spin { animation: spin 1s linear infinite; }
@keyframes spin { 100% { transform: rotate(360deg); } }

/* =========================================
   INDEX: NAVBAR Y MENÚ MÓVIL
   ========================================= */
.navbar { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; transition: all 0.3s ease; padding: 0 1rem; }
.navbar.scrolled { background: rgba(255, 255, 255, 0.95); backdrop-filter: blur(16px); box-shadow: 0 4px 30px rgba(0, 45, 84, 0.08); }
.navbar-content { max-width: 1280px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; height: 80px; }
.navbar-logo img { height: 48px; width: auto; }
.navbar-menu { display: none; align-items: center; gap: 2rem; }
.navbar-menu a { font-weight: 500; transition: color 0.3s; }
.navbar-menu a:hover { color: var(--accent-action); }
.navbar:not(.scrolled) .navbar-menu a { color: white; }
.navbar.scrolled .navbar-menu a { color: var(--brand-primary); }

.mobile-menu-btn { display: flex; background: none; border: none; cursor: pointer; padding: 0.5rem; }
.mobile-menu-btn svg { width: 28px; height: 28px; }
.navbar:not(.scrolled) .mobile-menu-btn svg { color: white; }
.navbar.scrolled .mobile-menu-btn svg { color: var(--brand-primary); }
.mobile-menu { display: none; position: absolute; top: 100%; left: 1rem; right: 1rem; background: white; border-radius: 1rem; padding: 1.5rem; box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1); }
.mobile-menu.active { display: block; }
.mobile-menu a { display: block; padding: 0.75rem 0; color: var(--brand-primary); font-weight: 500; }
.mobile-menu a:hover { color: var(--accent-action); }
.mobile-menu .btn { width: 100%; margin-top: 1rem; }

@media (min-width: 768px) { .navbar-menu { display: flex; } .mobile-menu-btn { display: none; } }

/* =========================================
   INDEX: HERO SECTION
   ========================================= */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; background-image: url('https://www.academiajotuns.com/wp-content/uploads/2025/08/IMG_5820-scaled.jpg'); background-size: cover; background-position: center; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(0, 26, 51, 0.92) 0%, rgba(0, 45, 84, 0.7) 100%); }
.hero-content { position: relative; z-index: 10; max-width: 1280px; margin: 0 auto; padding: 8rem 1rem 4rem; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-bottom: 2rem; animation: fadeInUp 0.6s ease-out; }
.hero-badge { background: rgba(255, 255, 255, 0.1); backdrop-filter: blur(8px); border: 1px solid rgba(255, 255, 255, 0.2); padding: 0.5rem 1rem; border-radius: 9999px; color: white; font-size: 0.875rem; font-weight: 500; }
.hero h1 { font-size: clamp(2.5rem, 8vw, 6rem); color: white; margin-bottom: 1.5rem; animation: fadeInUp 0.6s ease-out 0.2s both; }
.hero h1 .accent-orange { color: var(--accent-action); }
.hero h1 .accent-blue { color: var(--accent-secondary); }
.hero-text { font-size: 1.125rem; color: rgba(255, 255, 255, 0.8); max-width: 36rem; margin-bottom: 2.5rem; animation: fadeInUp 0.6s ease-out 0.3s both; }
.hero-buttons { display: flex; flex-wrap: wrap; gap: 1rem; animation: fadeInUp 0.6s ease-out 0.4s both; }
.hero-buttons .btn-primary { animation: pulseGlow 2s ease-in-out infinite; }

@keyframes fadeInUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
@keyframes pulseGlow { 0%, 100% { box-shadow: 0 0 20px rgba(255, 90, 0, 0.4); } 50% { box-shadow: 0 0 40px rgba(255, 90, 0, 0.6); } }

.scroll-indicator { position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%); animation: bounce 2s infinite; }
.scroll-indicator-inner { width: 2rem; height: 3rem; border: 2px solid rgba(255, 255, 255, 0.5); border-radius: 9999px; display: flex; justify-content: center; padding-top: 0.5rem; }
.scroll-indicator-dot { width: 0.375rem; height: 0.75rem; background: rgba(255, 255, 255, 0.5); border-radius: 9999px; }
@keyframes bounce { 0%, 100% { transform: translateX(-50%) translateY(0); } 50% { transform: translateX(-50%) translateY(-10px); } }

/* =========================================
   INDEX: SECCIONES GENERALES
   ========================================= */
.section { padding: 5rem 1rem; }
.section-header { margin-bottom: 3rem; }
.section-label { color: var(--accent-action); font-weight: 600; font-size: 0.875rem; text-transform: uppercase; letter-spacing: 0.05em; }
.section-title { font-size: clamp(2rem, 5vw, 3.5rem); color: var(--brand-primary); margin-top: 0.5rem; }
.section-text { color: var(--text-secondary); margin-top: 1rem; max-width: 42rem; font-size: 1.125rem; }

/* Deportes */
.deportes-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 768px) { .deportes-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) {
    .deportes-grid { grid-template-columns: repeat(12, 1fr); grid-auto-rows: 280px; }
    .deporte-card:nth-child(1) { grid-column: span 7; grid-row: span 2; }
    .deporte-card:nth-child(2) { grid-column: span 5; }
    .deporte-card:nth-child(3) { grid-column: span 3; }
    .deporte-card:nth-child(4) { grid-column: span 2; }
}
.deporte-card { position: relative; border-radius: 1rem; overflow: hidden; min-height: 280px; cursor: pointer; }
.deporte-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.deporte-card:hover img { transform: scale(1.1); }
.deporte-card-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0, 26, 51, 0.9) 0%, rgba(0, 26, 51, 0.4) 50%, transparent 100%); }
.deporte-card-content { position: absolute; inset: 0; padding: 1.5rem; display: flex; flex-direction: column; justify-content: flex-end; }
.deporte-card h3 { color: white; font-size: 1.5rem; margin-bottom: 0.5rem; }
.deporte-card-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.deporte-card-tag { padding: 0.25rem 0.75rem; background: rgba(255, 255, 255, 0.2); backdrop-filter: blur(8px); border-radius: 9999px; color: white; font-size: 0.75rem; font-weight: 500; }

/* Sedes */
.sedes-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; }
@media (min-width: 768px) { .sedes-grid { grid-template-columns: repeat(3, 1fr); } }
.sede-card { background: white; border-radius: 1rem; overflow: hidden; box-shadow: 0 8px 30px rgba(0, 0, 0, 0.04); transition: transform 0.4s ease, box-shadow 0.4s ease; }
.sede-card:hover { transform: translateY(-8px); box-shadow: 0 20px 40px rgba(0, 45, 84, 0.12); }
.sede-card-accent { height: 0.25rem; }
.sede-card-content { padding: 2rem; }
.sede-card-header { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 1.5rem; }
.sede-card-icon { width: 3rem; height: 3rem; border-radius: 0.75rem; display: flex; align-items: center; justify-content: center; }
.sede-card h3 { font-size: 1.5rem; color: var(--brand-primary); }
.sede-card p { color: var(--text-secondary); margin-bottom: 1rem; }
.sede-card-deportes { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.sede-deporte-tag { padding: 0.5rem 1rem; border-radius: 9999px; font-size: 0.875rem; font-weight: 500; }

/* Beneficios */
.beneficios-section { background: var(--brand-primary-dark); color: white; }
.beneficios-grid { display: grid; grid-template-columns: 1fr; gap: 3rem; align-items: center; }
@media (min-width: 1024px) { .beneficios-grid { grid-template-columns: 1fr 1fr; } }
.beneficios-title .accent { color: var(--accent-secondary); }
.beneficios-cards { display: grid; grid-template-columns: 1fr; gap: 1.5rem; margin-top: 2rem; }
@media (min-width: 640px) { .beneficios-cards { grid-template-columns: repeat(2, 1fr); } }
.beneficio-card { padding: 1.5rem; border-radius: 1rem; border: 1px solid rgba(255, 255, 255, 0.1); transition: border-color 0.3s; }
.beneficio-card:hover { border-color: rgba(255, 90, 0, 0.5); }
.beneficio-card svg { width: 2rem; height: 2rem; color: var(--accent-action); margin-bottom: 1rem; }
.beneficio-card h4 { color: white; font-size: 1.125rem; margin-bottom: 0.5rem; text-transform: none; font-weight: 700; }
.beneficio-card p { color: rgba(255, 255, 255, 0.6); font-size: 0.875rem; }
.beneficios-image { position: relative; }
.beneficios-image img { border-radius: 1rem; width: 100%; height: 500px; object-fit: cover; }
.beneficios-stats { position: absolute; bottom: -2rem; left: -2rem; background: white; border-radius: 1rem; padding: 1.5rem; box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1); display: flex; gap: 2rem; }
.stat { text-align: center; }
.stat-number { font-family: 'Barlow Condensed', sans-serif; font-size: 2.5rem; font-weight: 900; background: linear-gradient(135deg, #FF5A00 0%, #FF8A50 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.stat-label { color: var(--text-secondary); font-size: 0.875rem; }

/* Testimonios */
.testimonios-section { overflow: hidden; }
.testimonios-track {
    display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 1.5rem; 
    padding: 1rem 0 2rem 1rem; -ms-overflow-style: none; scrollbar-width: none;  
}
.testimonios-track::-webkit-scrollbar { display: none; }
.testimonio-card {
    flex-shrink: 0; width: 300px; scroll-snap-align: center; background: white; 
    border-radius: 1rem; padding: 1.5rem; box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}
.testimonio-stars { display: flex; gap: 0.25rem; margin-bottom: 1rem; }
.testimonio-stars svg { width: 1.25rem; height: 1.25rem; fill: var(--accent-action); color: var(--accent-action); }
.testimonio-text { color: var(--text-secondary); font-style: italic; margin-bottom: 1.5rem; }
.testimonio-author { font-weight: 700; color: var(--brand-primary); }
.testimonio-role { font-size: 0.875rem; color: var(--text-secondary); }

/* Patrocinadores */
.patrocinadores-logos { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 2rem; }
.patrocinador-logo { filter: grayscale(100%); opacity: 0.7; transition: all 0.3s; height: 4rem; width: auto; }
.patrocinador-logo:hover { filter: grayscale(0%); opacity: 1; }

/* Contacto y Formularios */
.contacto-grid { display: grid; grid-template-columns: 1fr; gap: 3rem; align-items: center; }
@media (min-width: 1024px) { .contacto-grid { grid-template-columns: 1fr 1fr; } }
.contacto-info { margin-top: 2rem; }
.contacto-item { display: flex; align-items: center; gap: 1rem; margin-bottom: 1rem; }
.contacto-icon { width: 3rem; height: 3rem; border-radius: 0.75rem; background: rgba(0, 45, 84, 0.1); display: flex; align-items: center; justify-content: center; }
.contacto-icon svg { width: 1.25rem; height: 1.25rem; color: var(--brand-primary); }
.contacto-item-label { font-weight: 600; color: var(--brand-primary); }
.contacto-item-value { color: var(--text-secondary); }
.contacto-item-value:hover { color: var(--accent-action); }
.contacto-form { background: var(--bg-page); border-radius: 1.5rem; padding: 2rem; }
.form-group { margin-bottom: 1.25rem; }
.form-label { display: block; font-weight: 500; color: var(--brand-primary); margin-bottom: 0.5rem; }
.form-input, .form-select, .form-textarea { width: 100%; padding: 0.75rem 1rem; border: 1px solid #e2e8f0; border-radius: 0.75rem; font-family: inherit; font-size: 1rem; transition: border-color 0.3s, box-shadow 0.3s; }
.form-input:focus, .form-select:focus, .form-textarea:focus { outline: none; border-color: var(--accent-secondary); box-shadow: 0 0 0 3px rgba(0, 180, 216, 0.15); }
.form-textarea { min-height: 100px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-submit { width: 100%; padding: 1rem; font-size: 1.125rem; }

/* Footer (Index) */
.footer { background: var(--brand-primary-dark); padding: 4rem 1rem 2rem; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; margin-bottom: 3rem; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr; } }
.footer-logo img { height: 4rem; margin-bottom: 1.5rem; }
.footer-description { color: rgba(255, 255, 255, 0.6); max-width: 24rem; }
.footer-social { display: flex; gap: 1rem; margin-top: 1.5rem; }
.footer-social a { width: 2.5rem; height: 2.5rem; border-radius: 50%; background: rgba(255, 255, 255, 0.1); display: flex; align-items: center; justify-content: center; transition: background 0.3s; }
.footer-social a:hover { background: var(--accent-action); }
.footer-social svg { width: 1.25rem; height: 1.25rem; color: white; }
.footer-title { color: white; font-size: 1rem; margin-bottom: 1.5rem; text-transform: none; font-weight: 700; }
.footer-links a { display: block; color: rgba(255, 255, 255, 0.6); padding: 0.5rem 0; transition: color 0.3s; }
.footer-links a:hover { color: var(--accent-action); }
.footer-contact-item { display: flex; align-items: flex-start; gap: 0.5rem; color: rgba(255, 255, 255, 0.6); margin-bottom: 0.75rem; }
.footer-contact-item svg { width: 1rem; height: 1rem; margin-top: 0.25rem; flex-shrink: 0; }
.footer-contact-item a:hover { color: var(--accent-action); }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.1); padding-top: 2rem; text-align: center; color: rgba(255, 255, 255, 0.4); font-size: 0.875rem; }

/* WhatsApp Float */
.whatsapp-float { position: fixed; bottom: 1.5rem; right: 1.5rem; z-index: 1000; width: 60px; height: 60px; background: #25D366; border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4); transition: transform 0.3s, box-shadow 0.3s; }
.whatsapp-float:hover { transform: scale(1.1); box-shadow: 0 6px 30px rgba(37, 211, 102, 0.5); }
.whatsapp-float svg { width: 28px; height: 28px; fill: white; }

/* =========================================
   CALENDARIO PAGE: COMPONENTES ESPECÍFICOS
   ========================================= */
.header { background: white; box-shadow: 0 2px 10px rgba(0,0,0,0.05); position: sticky; top: 0; z-index: 100; }
.header-content { max-width: 1280px; margin: 0 auto; padding: 1rem; display: flex; align-items: center; justify-content: space-between; }
.header-left { display: flex; align-items: center; gap: 1rem; }
.back-link { display: flex; align-items: center; gap: 0.5rem; color: var(--brand-primary); font-weight: 500; transition: color 0.3s; }
.back-link:hover { color: var(--accent-action); }
.back-link svg { width: 1.25rem; height: 1.25rem; }
.header-logo img { height: 40px; }
.header-title { font-size: 1.25rem; color: var(--brand-primary); }

.main { max-width: 1280px; margin: 0 auto; padding: 2rem 1rem; }

/* Filtros */
.filters { background: white; border-radius: 1rem; padding: 1.5rem; margin-bottom: 2rem; box-shadow: 0 2px 10px rgba(0,0,0,0.03); }
.filters-content { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; justify-content: space-between; }
.filters-label { display: flex; align-items: center; gap: 0.5rem; color: var(--text-secondary); font-weight: 500; }
.filters-label svg { width: 1.25rem; height: 1.25rem; }
.filters-selects { display: flex; flex-wrap: wrap; gap: 1rem; }
.filter-select { padding: 0.75rem 1rem; border: 1px solid #e2e8f0; border-radius: 0.5rem; font-family: inherit; font-size: 0.875rem; min-width: 180px; cursor: pointer; }
.filter-select:focus { outline: none; border-color: var(--accent-secondary); }

/* Layout Calendario */
.calendar-container { display: grid; grid-template-columns: 1fr; gap: 2rem; }
@media (min-width: 1024px) { .calendar-container { grid-template-columns: 2fr 1fr; } }
.calendar { background: white; border-radius: 1rem; overflow: hidden; box-shadow: 0 2px 10px rgba(0,0,0,0.03); }
.calendar-header { background: var(--brand-primary); color: white; padding: 1.5rem; }
.calendar-nav { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1rem; }
.calendar-nav-btn { background: none; border: none; color: white; padding: 0.5rem; cursor: pointer; border-radius: 0.5rem; transition: background 0.3s; }
.calendar-nav-btn:hover { background: rgba(255,255,255,0.1); }
.calendar-nav-btn svg { width: 1.5rem; height: 1.5rem; }
.calendar-month { font-size: 1.5rem; font-weight: 800; }
.calendar-today-btn { background: transparent; border: 1px solid rgba(255,255,255,0.3); color: white; padding: 0.5rem 1rem; border-radius: 0.5rem; font-family: inherit; font-weight: 500; cursor: pointer; transition: background 0.3s; }
.calendar-today-btn:hover { background: rgba(255,255,255,0.1); }
.calendar-weekdays { display: grid; grid-template-columns: repeat(7, 1fr); background: var(--brand-primary-dark); color: white; }
.calendar-weekday { padding: 0.75rem; text-align: center; font-size: 0.875rem; font-weight: 500; }
.calendar-days { display: grid; grid-template-columns: repeat(7, 1fr); }
.calendar-day { height: 100px; min-height: 100px; max-height: 100px; border-bottom: 1px solid #f1f5f9; border-right: 1px solid #f1f5f9; padding: 0.5rem; cursor: pointer; transition: background 0.3s; overflow: hidden; }
.calendar-day:hover { background: #f8fafc; }
.calendar-day.empty { background: #fafafa; cursor: default; }
.calendar-day.today { background: rgba(255, 90, 0, 0.05); }
.calendar-day-number { display: inline-flex; align-items: center; justify-content: center; width: 2rem; height: 2rem; border-radius: 50%; font-size: 0.875rem; font-weight: 500; color: var(--brand-primary); }
.calendar-day.today .calendar-day-number { background: var(--accent-action); color: white; }
.calendar-day-events { margin-top: 0.25rem; overflow: hidden; max-height: 52px; }
.calendar-event { font-size: 0.65rem; padding: 0.2rem 0.4rem; border-radius: 0.25rem; color: white; margin-bottom: 0.2rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; cursor: pointer; transition: opacity 0.3s; max-width: 100%; display: block; }
.calendar-event:hover { opacity: 0.8; }
.calendar-event-more { font-size: 0.65rem; color: var(--accent-action); font-weight: 600; }

/* Grid de Eventos (Cards de Index y Sidebar) */
.eventos-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 768px) { .eventos-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .eventos-grid { grid-template-columns: repeat(3, 1fr); } }
.evento-card { background: white; border-radius: 1rem; padding: 1.5rem; box-shadow: 0 8px 30px rgba(0, 0, 0, 0.04); border: 1px solid #f1f5f9; transition: transform 0.4s, box-shadow 0.4s; }
.evento-card:hover { transform: translateY(-8px); box-shadow: 0 20px 40px rgba(0, 45, 84, 0.12); }
.evento-header { display: flex; align-items: flex-start; gap: 1rem; }
.evento-icon { width: 3.5rem; height: 3.5rem; border-radius: 0.75rem; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.evento-icon svg { width: 1.5rem; height: 1.5rem; color: white; }
.evento-title { font-size: 1.125rem; color: var(--brand-primary); margin-bottom: 0.25rem; text-transform: none; font-weight: 700; }
.evento-date { font-weight: 600; font-size: 0.875rem; }
.evento-location { display: flex; align-items: center; gap: 0.25rem; color: var(--text-secondary); font-size: 0.875rem; margin-top: 0.25rem; }
.evento-location svg { width: 0.75rem; height: 0.75rem; }

/* Sidebar del calendario */
.events-sidebar { background: white; border-radius: 1rem; padding: 1.5rem; box-shadow: 0 2px 10px rgba(0,0,0,0.03); height: fit-content; }
.events-sidebar-title { font-size: 1.25rem; color: var(--brand-primary); margin-bottom: 1.5rem; }
.events-list { display: flex; flex-direction: column; gap: 1rem; }
.event-card { padding: 1rem; border: 2px solid #f1f5f9; border-radius: 0.75rem; cursor: pointer; transition: border-color 0.3s, background 0.3s; }
.event-card:hover { border-color: var(--brand-primary); }
.event-card.selected { border-color: var(--accent-action); background: rgba(255, 90, 0, 0.05); }
.event-card-header { display: flex; gap: 0.75rem; }
.event-card-icon { width: 3rem; height: 3rem; border-radius: 0.5rem; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.event-card-icon svg { width: 1.5rem; height: 1.5rem; color: white; }
.event-card-title { font-weight: 700; color: var(--brand-primary); font-size: 0.95rem; margin-bottom: 0.25rem; text-transform: none; }
.event-card-date { font-size: 0.875rem; font-weight: 600; }
.event-card-location { display: flex; align-items: center; gap: 0.25rem; color: var(--text-secondary); font-size: 0.8rem; margin-top: 0.25rem; }
.event-card-location svg { width: 0.75rem; height: 0.75rem; }
.events-empty { text-align: center; padding: 2rem; color: var(--text-secondary); }
.events-empty svg { width: 3rem; height: 3rem; margin-bottom: 1rem; opacity: 0.3; }

.sync-info { margin-top: 1.5rem; background: rgba(0, 45, 84, 0.05); border-radius: 0.75rem; padding: 1rem; text-align: center; }
.sync-info p { font-size: 0.875rem; color: var(--text-secondary); }
.sync-info strong { color: var(--brand-primary); }

/* Modal */
.modal-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.5); z-index: 1000; align-items: center; justify-content: center; padding: 1rem; }
.modal-overlay.active { display: flex; }
.modal { background: white; border-radius: 1rem; max-width: 500px; width: 100%; padding: 1.5rem; box-shadow: 0 20px 40px rgba(0,0,0,0.2); }
.modal-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 1rem; }
.modal-icon { width: 3.5rem; height: 3.5rem; border-radius: 0.75rem; display: flex; align-items: center; justify-content: center; }
.modal-icon svg { width: 1.75rem; height: 1.75rem; color: white; }
.modal-close { background: none; border: none; padding: 0.5rem; cursor: pointer; border-radius: 0.5rem; transition: background 0.3s; }
.modal-close:hover { background: #f1f5f9; }
.modal-close svg { width: 1.25rem; height: 1.25rem; color: var(--text-secondary); }
.modal-title { font-size: 1.5rem; color: var(--brand-primary); margin-bottom: 0.5rem; }
.modal-date { font-weight: 600; margin-bottom: 1rem; }
.modal-location { display: flex; align-items: center; gap: 0.5rem; color: var(--text-secondary); margin-bottom: 1.5rem; }
.modal-location svg { width: 1rem; height: 1rem; }
.modal-buttons { display: flex; gap: 0.75rem; }
.modal-btn { flex: 1; padding: 0.75rem 1rem; border-radius: 9999px; font-family: inherit; font-weight: 600; cursor: pointer; transition: all 0.3s; text-align: center; display: inline-block; }
.modal-btn-primary { background: var(--brand-primary); color: white; border: none; }
.modal-btn-primary:hover { background: var(--brand-primary-light); }
.modal-btn-outline { background: transparent; border: 2px solid var(--accent-action); color: var(--accent-action); }
.modal-btn-outline:hover { background: var(--accent-action); color: white; }

/* Footer de la página del calendario */
.footer-calendar { background: var(--brand-primary-dark); padding: 2rem 1rem; margin-top: 3rem; text-align: center; }
.footer-calendar p { color: rgba(255,255,255,0.4); font-size: 0.875rem; }

/* Calendario en Responsive */
@media (max-width: 640px) {
    .header-title { display: none; }
    .back-link span { display: none; }
    .calendar-day { height: 70px; min-height: 70px; max-height: 70px; padding: 0.25rem; }
    .calendar-day-number { width: 1.5rem; height: 1.5rem; font-size: 0.75rem; }
    .calendar-day-events { max-height: 32px; }
    .calendar-event { font-size: 0.55rem; padding: 0.1rem 0.2rem; }
}