/* ===== VARIABLES ===== */
:root {
  --gold: #C9A84C;
  --gold-light: #E8D49A;
  --gold-dark: #8B6914;
  --navy: #1A2744;
  --navy-light: #243260;
  --cream: #FAF6EE;
  --cream-dark: #F0E8D8;
  --white: #FFFFFF;
  --text: #1A1A2E;
  --text-muted: #5A5A7A;
  --border: rgba(201,168,76,0.2);
  --shadow: 0 4px 24px rgba(26,39,68,0.08);
}
* { margin:0; padding:0; box-sizing:border-box; }
body { font-family: 'DM Sans', sans-serif; background: var(--cream); color: var(--text);  }
a { text-decoration: none; }

/* ===== NAVBAR ===== */
nav {
  background: var(--navy);
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 20px rgba(0,0,0,0.3);
}
.nav-brand { display: flex; align-items: center; gap: 10px; cursor: pointer; }
.nav-cross { font-size: 22px; color: var(--gold); }
.nav-title { font-family: 'Cormorant Garamond', serif; font-size: 16px; color: var(--white); font-weight: 600; line-height: 1.2; }
.nav-title span { color: var(--gold); display: block; font-size: 11px; font-weight: 400; font-style: italic; }
.nav-links { display: flex; gap: 4px; align-items: center; }
.nav-links a {
  color: rgba(255,255,255,0.75);
  font-size: 13px;
  padding: 7px 13px;
  border-radius: 6px;
  transition: all 0.2s;
  cursor: pointer;
}
.nav-links a:hover { color: var(--gold); background: rgba(201,168,76,0.12); }
.nav-login {
  background: var(--gold) !important;
  color: var(--navy) !important;
  font-weight: 500 !important;
  padding: 7px 16px !important;
  border-radius: 20px !important;
}
.nav-login:hover { background: #E8C45A !important; }
.nav-hamburger { display: none; background: none; border: none; color: white; font-size: 22px; cursor: pointer; }

/* ===== PÁGINAS ===== */
.page { display: none; }
.page.active { display: block; }

/* ===== HERO ===== */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 50%, #2A4070 100%);
  min-height: 88vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4rem 2rem;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 40%, rgba(201,168,76,0.13) 0%, transparent 70%);
  pointer-events: none;
}
.hero-cross { font-size: 72px; color: var(--gold); margin-bottom: 1.5rem; text-shadow: 0 0 60px rgba(201,168,76,0.35); animation: fadeInUp 0.8s ease both; }
.hero h1 { font-family: 'Cormorant Garamond', serif; font-size: clamp(2.4rem, 5vw, 4rem); color: var(--white); font-weight: 600; line-height: 1.15; margin-bottom: 0.5rem; animation: fadeInUp 0.9s ease both; }
.hero h1 em { color: var(--gold); font-style: italic; }
.hero-sub { font-family: 'Cormorant Garamond', serif; font-size: 1.1rem; color: var(--gold-light); font-style: italic; margin-bottom: 1rem; letter-spacing: 0.05em; animation: fadeInUp 1s ease both; }
.hero-desc { color: rgba(255,255,255,0.65); font-size: 15px; max-width: 480px; line-height: 1.8; margin-bottom: 2.5rem; animation: fadeInUp 1.1s ease both; }
.hero-btns { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; animation: fadeInUp 1.2s ease both; }

/* ===== BOTONES ===== */
.btn-primary {
  background: var(--gold); color: var(--navy); border: none;
  padding: 13px 28px; border-radius: 30px; font-weight: 500;
  font-size: 14px; cursor: pointer; transition: all 0.2s;
  font-family: 'DM Sans', sans-serif;
}
.btn-primary:hover { background: #E8C45A; transform: translateY(-2px); box-shadow: 0 8px 20px rgba(201,168,76,0.35); }
.btn-outline {
  background: transparent; color: var(--white);
  border: 1px solid rgba(255,255,255,0.35); padding: 13px 28px;
  border-radius: 30px; font-size: 14px; cursor: pointer;
  transition: all 0.2s; font-family: 'DM Sans', sans-serif;
}
.btn-outline:hover { border-color: var(--gold); color: var(--gold); }
.btn-sm { padding: 8px 18px !important; font-size: 13px !important; }

/* ===== HORARIOS STRIP ===== */
.horarios-strip {
  background: var(--gold); padding: 14px 2rem;
  display: flex; align-items: center; justify-content: center;
  gap: 2rem; flex-wrap: wrap;
}
.horario-item { display: flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 500; color: var(--navy); }

/* ===== SECCIONES ===== */
.section { padding: 5rem 2rem; max-width: 1100px; margin: 0 auto; }
.section-sm { padding: 3rem 2rem; max-width: 1100px; margin: 0 auto; }
.section-title { font-family: 'Cormorant Garamond', serif; font-size: 2.2rem; font-weight: 600; color: var(--navy); margin-bottom: 0.4rem; }
.section-title em { color: var(--gold-dark); font-style: italic; }
.section-divider { width: 48px; height: 2px; background: var(--gold); margin: 0.8rem 0 2.5rem; }
.section-lead { color: var(--text-muted); font-size: 15px; line-height: 1.7; max-width: 600px; margin-bottom: 2rem; }

/* ===== ANUNCIOS ===== */
.anuncios-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.anuncio-card {
  background: var(--white); border-radius: 14px; overflow: hidden;
  border: 1px solid var(--border); transition: transform 0.2s, box-shadow 0.2s; cursor: pointer;
}
.anuncio-card:hover { transform: translateY(-4px); box-shadow: 0 14px 40px rgba(26,39,68,0.1); }
.anuncio-banner { height: 6px; }
.anuncio-body { padding: 1.4rem; }
.anuncio-tag {
  display: inline-block; font-size: 11px; font-weight: 500;
  padding: 3px 10px; border-radius: 20px; margin-bottom: 10px;
  text-transform: uppercase; letter-spacing: 0.06em;
}
.tag-liturgia { background: #EDE7F6; color: #5E35B1; }
.tag-comunidad { background: #E3F2FD; color: #1565C0; }
.tag-formacion { background: #E8F5E9; color: #2E7D32; }
.tag-social { background: #FFF3E0; color: #E65100; }
.tag-evento { background: #FCE4EC; color: #AD1457; }
.anuncio-title { font-family: 'Cormorant Garamond', serif; font-size: 1.2rem; font-weight: 600; color: var(--navy); margin-bottom: 8px; line-height: 1.35; }

/* 🔥 MODIFICADO: Agregada propiedad white-space para respetar los saltos de línea de la base de datos */
.anuncio-text { 
  font-size: 13px; 
  color: var(--text-muted); 
  line-height: 1.65; 
  margin-bottom: 12px; 
  white-space: pre-wrap; 
}

.anuncio-date { font-size: 12px; color: var(--gold-dark); font-weight: 500; }

/* ===== GRUPOS ===== */
.grupos-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(155px, 1fr)); gap: 14px; }
.grupo-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: 14px; padding: 1.4rem 1rem; text-align: center;
  transition: all 0.2s; cursor: pointer;
}
.grupo-card:hover { border-color: var(--gold); background: var(--cream); transform: translateY(-3px); box-shadow: var(--shadow); }
.grupo-icon { font-size: 34px; margin-bottom: 10px; }
.grupo-name { font-weight: 500; font-size: 14px; color: var(--navy); margin-bottom: 4px; }
.grupo-count { font-size: 12px; color: var(--text-muted); line-height: 1.5; }

/* ===== MISA EN VIVO ===== */
.misa-live-card {
  background: linear-gradient(135deg, var(--navy) 0%, #1E3A6E 100%);
  border-radius: 18px; padding: 2rem 2.5rem;
  display: flex; align-items: center; justify-content: space-between;
  gap: 2rem; flex-wrap: wrap; margin-bottom: 2rem;
}
.live-badge {
  display: flex; align-items: center; gap: 6px;
  background: #E53935; color: white; padding: 5px 12px;
  border-radius: 20px; font-size: 12px; font-weight: 500;
  margin-bottom: 12px; width: fit-content;
}
.live-dot { width: 7px; height: 7px; border-radius: 50%; background: white; animation: pulse 1.5s infinite; }
.misa-title { font-family: 'Cormorant Garamond', serif; font-size: 1.7rem; color: white; font-weight: 600; margin-bottom: 6px; }
.misa-subtitle { font-size: 13px; color: rgba(255,255,255,0.6); }
.youtube-btn {
  background: #FF0000; color: white; border: none;
  padding: 13px 26px; border-radius: 30px; font-size: 14px;
  font-weight: 500; cursor: pointer;
  display: flex; align-items: center; gap: 8px;
  white-space: nowrap; font-family: 'DM Sans', sans-serif;
  transition: all 0.2s;
}
.youtube-btn:hover { background: #CC0000; transform: translateY(-2px); }

/* ===== PODCAST ===== */
.podcast-list { display: flex; flex-direction: column; gap: 12px; }
.podcast-item {
  background: var(--white); border: 1px solid var(--border);
  border-radius: 12px; padding: 1rem 1.25rem;
  display: flex; align-items: center; gap: 1rem;
  cursor: pointer; transition: all 0.2s;
}
.podcast-item:hover { border-color: var(--gold); background: var(--cream); transform: translateX(4px); }
.podcast-play {
  width: 46px; height: 46px; background: var(--navy);
  border-radius: 50%; display: flex; align-items: center;
  justify-content: center; color: var(--gold); font-size: 16px; flex-shrink: 0;
}
.podcast-info { flex: 1; }
.podcast-title { font-weight: 500; font-size: 14px; color: var(--navy); margin-bottom: 4px; }
.podcast-meta { font-size: 12px; color: var(--text-muted); }
.podcast-dur { font-size: 12px; color: var(--text-muted); white-space: nowrap; }

/* ===== BOT IA ===== */
.bot-section {
  background: linear-gradient(135deg, var(--navy) 0%, #1E3A5F 100%);
  border-radius: 20px; padding: 2rem; margin: 3rem 0;
}
.bot-header { display: flex; align-items: center; gap: 14px; margin-bottom: 1.5rem; }
.bot-avatar {
  width: 52px; height: 52px; background: var(--gold);
  border-radius: 50%; display: flex; align-items: center;
  justify-content: center; font-size: 24px; flex-shrink: 0;
}
.bot-name { font-family: 'Cormorant Garamond', serif; font-size: 1.35rem; color: white; font-weight: 600; }
.bot-desc { font-size: 12px; color: rgba(255,255,255,0.55); margin-top: 2px; }
.bot-chat {
  background: rgba(255,255,255,0.07); border-radius: 14px;
  padding: 1rem; margin-bottom: 1rem; min-height: 180px;
  max-height: 300px; overflow-y: auto;
}
.bot-msg { display: flex; gap: 8px; margin-bottom: 14px; }
.bot-msg.user { flex-direction: row-reverse; }
.bot-bubble {
  background: rgba(255,255,255,0.12); border-radius: 14px;
  padding: 10px 15px; font-size: 13px; color: white;
  max-width: 78%; line-height: 1.55;
}
.bot-msg.user .bot-bubble { background: var(--gold); color: var(--navy); border-radius: 14px 4px 14px 14px; }
.bot-msg:not(.user) .bot-bubble { border-radius: 4px 14px 14px 14px; }
.bot-input-row { display: flex; gap: 8px; margin-top: 12px; }
.bot-input {
  flex: 1; background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2); border-radius: 30px;
  padding: 11px 18px; color: white; font-size: 13px;
  outline: none; font-family: 'DM Sans', sans-serif;
}
.bot-input::placeholder { color: rgba(255,255,255,0.4); }
.bot-input:focus { border-color: var(--gold); }
.bot-send {
  background: var(--gold); border: none; border-radius: 50%;
  width: 44px; height: 44px; cursor: pointer; font-size: 18px;
  display: flex; align-items: center; justify-content: center;
  color: var(--navy); font-weight: bold; transition: all 0.2s;
}
.bot-send:hover { background: #E8C45A; transform: scale(1.05); }
.bot-chips { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.chip {
  background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.8); padding: 6px 14px; border-radius: 20px;
  font-size: 12px; cursor: pointer; transition: all 0.2s;
}
.chip:hover { background: rgba(201,168,76,0.25); border-color: var(--gold); color: var(--gold); }

/* ===== REDES ===== */
.redes-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
.red-card {
  border-radius: 16px; padding: 1.6rem; color: white;
  cursor: pointer; transition: transform 0.2s, opacity 0.2s;
}
.red-card:hover { transform: translateY(-4px); opacity: 0.9; }
.red-wa { background: linear-gradient(135deg, #25D366, #128C7E); }
.red-fb { background: linear-gradient(135deg, #1877F2, #0D47A1); }
.red-ig { background: linear-gradient(135deg, #E1306C, #833AB4); }
.red-yt { background: linear-gradient(135deg, #FF0000, #990000); }
.red-tg { background: linear-gradient(135deg, #0088cc, #005c8a); }
.red-icon { font-size: 36px; margin-bottom: 12px; }
.red-name { font-weight: 500; font-size: 16px; margin-bottom: 5px; }
.red-desc { font-size: 12px; opacity: 0.8; line-height: 1.5; }

/* ===== LOGIN MODAL ===== */
.modal-overlay {
  display: none; position: fixed; inset: 0;
  background: rgba(0,0,0,0.65); z-index: 1000;
  align-items: center; justify-content: center;
}
.modal-overlay.open { display: flex; }
.modal {
  background: var(--white); border-radius: 22px; padding: 2.5rem;
  width: 400px; max-width: 93vw; position: relative;
  animation: fadeInUp 0.3s ease;
}
.modal-close {
  position: absolute; top: 16px; right: 16px;
  background: none; border: none; font-size: 20px;
  cursor: pointer; color: var(--text-muted); padding: 4px 8px;
  border-radius: 8px; transition: background 0.2s;
}
.modal-close:hover { background: var(--cream); }
.modal-icon { text-align: center; font-size: 44px; margin-bottom: 1rem; }
.modal-title { font-family: 'Cormorant Garamond', serif; font-size: 1.8rem; font-weight: 600; text-align: center; color: var(--navy); margin-bottom: 0.3rem; }
.modal-sub { font-size: 13px; color: var(--text-muted); text-align: center; margin-bottom: 2rem; }
.form-group { margin-bottom: 16px; }
.form-label { font-size: 11px; font-weight: 500; color: var(--navy); margin-bottom: 6px; display: block; text-transform: uppercase; letter-spacing: 0.07em; }
.form-input {
  width: 100%; padding: 11px 15px; border: 1.5px solid #E0D8C8;
  border-radius: 10px; font-size: 14px; outline: none;
  font-family: 'DM Sans', sans-serif; background: var(--cream);
  color: var(--text); transition: border-color 0.2s, background 0.2s;
}
.form-input:focus { border-color: var(--gold); background: white; }
.form-submit {
  width: 100%; background: var(--navy); color: var(--white);
  border: none; padding: 14px; border-radius: 12px; font-size: 15px;
  font-weight: 500; cursor: pointer; font-family: 'DM Sans', sans-serif;
  transition: all 0.2s; margin-top: 8px;
}
.form-submit:hover { background: var(--navy-light); transform: translateY(-1px); }
.form-hint { text-align: center; font-size: 12px; color: var(--text-muted); margin-top: 1rem; }

/* ===== PANEL PRIVADO ===== */
.panel-wrapper { max-width: 1100px; margin: 2rem auto; padding: 0 1.5rem; }
.panel-grid {
  display: grid; grid-template-columns: 260px 1fr; gap: 0;
  min-height: 650px; background: var(--white); border-radius: 20px;
  overflow: hidden; border: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.panel-sidebar { background: var(--navy); padding: 0; }
.sidebar-profile {
  padding: 1.5rem; border-bottom: 1px solid rgba(255,255,255,0.1);
}
.sidebar-avatar {
  width: 52px; height: 52px; background: var(--gold);
  border-radius: 50%; display: flex; align-items: center;
  justify-content: center; font-size: 22px; margin-bottom: 10px;
}
.sidebar-name { font-size: 14px; font-weight: 500; color: white; }
.sidebar-role { font-size: 11px; color: rgba(255,255,255,0.5); margin-top: 2px; }
.sidebar-section-title { font-size: 10px; text-transform: uppercase; letter-spacing: 0.1em; color: rgba(255,255,255,0.3); padding: 16px 1.5rem 6px; }
.sidebar-menu { list-style: none; }
.sidebar-item {
  display: flex; align-items: center; gap: 10px;
  padding: 11px 1.5rem; font-size: 13px; color: rgba(255,255,255,0.65);
  cursor: pointer; transition: all 0.2s; border-left: 3px solid transparent;
}
.sidebar-item:hover { background: rgba(201,168,76,0.12); color: rgba(255,255,255,0.9); }
.sidebar-item.active { background: rgba(201,168,76,0.18); color: var(--gold); border-left-color: var(--gold); }
.sidebar-icon { font-size: 15px; width: 20px; text-align: center; }
.sidebar-divider { height: 1px; background: rgba(255,255,255,0.08); margin: 8px 0; }

.panel-content { padding: 2rem; overflow-y: auto; background: var(--cream); }
.panel-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.5rem; flex-wrap: wrap; gap: 10px; }
.panel-title { font-family: 'Cormorant Garamond', serif; font-size: 1.8rem; font-weight: 600; color: var(--navy); }
.btn-add {
  background: var(--gold); color: var(--navy); border: none;
  padding: 9px 22px; border-radius: 20px; font-size: 13px;
  font-weight: 500; cursor: pointer; font-family: 'DM Sans', sans-serif;
  transition: all 0.2s;
}
.btn-add:hover { background: #E8C45A; }

/* Tab bar */
.tab-bar { display: flex; gap: 6px; margin-bottom: 1.5rem; flex-wrap: wrap; }
.tab-btn {
  padding: 8px 16px; border: 1px solid var(--border);
  background: var(--white); border-radius: 20px; font-size: 13px;
  color: var(--text-muted); cursor: pointer; font-family: 'DM Sans', sans-serif;
  transition: all 0.2s;
}
.tab-btn.active { background: var(--navy); color: var(--gold); border-color: var(--navy); }

/* Inventario cards */
.inventario-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(195px, 1fr)); gap: 14px; }
.inv-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: 12px; padding: 1.1rem; transition: box-shadow 0.2s;
}
.inv-card:hover { box-shadow: var(--shadow); }
.inv-icon { font-size: 30px; margin-bottom: 9px; }
.inv-name { font-weight: 500; font-size: 14px; color: var(--navy); margin-bottom: 4px; }
.inv-location { font-size: 12px; color: var(--text-muted); margin-bottom: 10px; line-height: 1.4; }
.inv-status { font-size: 11px; font-weight: 500; padding: 3px 10px; border-radius: 20px; display: inline-block; }
.status-ok { background: #E8F5E9; color: #2E7D32; }
.status-warn { background: #FFF3E0; color: #E65100; }
.status-bad { background: #FFEBEE; color: #C62828; }

/* Festividades */
.fest-timeline { display: flex; flex-direction: column; gap: 14px; }
.fest-item {
  background: var(--white); border: 1px solid var(--border);
  border-radius: 14px; padding: 1.2rem;
  display: grid; grid-template-columns: 78px 1fr auto;
  gap: 1rem; align-items: center;
}
.fest-date-box {
  background: var(--navy); border-radius: 10px;
  text-align: center; padding: 10px 6px;
}
.fest-day { font-size: 26px; font-weight: 600; color: var(--gold); line-height: 1; font-family: 'Cormorant Garamond', serif; }
.fest-month { font-size: 11px; color: rgba(255,255,255,0.7); text-transform: uppercase; letter-spacing: 0.08em; }
.fest-name { font-weight: 500; font-size: 14px; color: var(--navy); margin-bottom: 8px; }
.fest-tags { display: flex; gap: 6px; flex-wrap: wrap; }
.fest-tag { font-size: 11px; padding: 3px 10px; border-radius: 20px; font-weight: 500; }

/* Protocolos */
.protocolos-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 16px; }
.protocolo-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: 14px; padding: 1.4rem; cursor: pointer;
  transition: all 0.2s;
}
.protocolo-card:hover { border-color: var(--gold); transform: translateY(-2px); box-shadow: var(--shadow); }
.protocolo-icon { font-size: 32px; margin-bottom: 10px; }
.protocolo-title { font-weight: 500; font-size: 14px; color: var(--navy); margin-bottom: 6px; }
.protocolo-desc { font-size: 12px; color: var(--text-muted); line-height: 1.5; }

/* Panel sub-content */
.sub-panel { display: none; }
.sub-panel.active { display: block; }

/* ===== FOOTER ===== */
footer {
  background: var(--navy);
  padding: 3rem 2rem 2rem;
  margin-top: 4rem;
}
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 2rem; max-width: 1100px; margin: 0 auto 2rem; }
.footer-col h4 { font-family: 'Cormorant Garamond', serif; font-size: 1.1rem; color: var(--gold); margin-bottom: 1rem; }
.footer-col p, .footer-col a { font-size: 13px; color: rgba(255,255,255,0.6); line-height: 2; display: block; }
.footer-col a:hover { color: var(--gold); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 1.5rem; text-align: center; font-size: 12px; color: rgba(255,255,255,0.4); max-width: 1100px; margin: 0 auto; }
.footer-bottom strong { color: var(--gold); }

/* ===== ANIMACIONES ===== */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes pulse {
  0%,100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-links.open { display: flex; flex-direction: column; position: fixed; top: 64px; left: 0; right: 0; background: var(--navy); padding: 1rem; gap: 4px; z-index: 99; }
  .nav-hamburger { display: block; }
  .hero { min-height: auto; padding: 3rem 1.5rem; }
  .hero-btns { flex-direction: column; align-items: center; }
  .horarios-strip { gap: 1rem; }
  .misa-live-card { flex-direction: column; text-align: center; }
  .panel-grid { grid-template-columns: 1fr; }
  .panel-sidebar { display: none; }          /* sidebar oculto — reemplazado por menú móvil */
  .fest-item { grid-template-columns: 60px 1fr; }
  .fest-item .btn-add { display: none; }
  .footer-grid { grid-template-columns: 1fr; }
  .panel-wrapper { padding: 0; margin: 0; }
  .panel-content { padding: 1.2rem; border-radius: 0; }
}

/* ===== PANEL MÓVIL — HEADER Y MENÚ ===== */
.panel-mobile-header {
  display: none;            /* Oculto en desktop */
  background: var(--navy);
  padding: 1rem 1.2rem;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  position: sticky;
  top: 64px;
  z-index: 90;
  box-shadow: 0 2px 12px rgba(0,0,0,0.25);
}
.panel-mobile-user {
  display: flex;
  align-items: center;
  gap: 10px;
}
.panel-mobile-avatar {
  width: 38px; height: 38px;
  background: var(--gold);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}
.panel-mobile-name { font-size: 14px; font-weight: 500; color: white; }
.panel-mobile-role  { font-size: 11px; color: rgba(255,255,255,0.5); }

.panel-mobile-toggle {
  background: rgba(201,168,76,0.18);
  border: 1px solid rgba(201,168,76,0.35);
  color: var(--gold);
  padding: 8px 14px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
  font-family: 'DM Sans', sans-serif;
  transition: background 0.2s;
}
.panel-mobile-toggle:hover { background: rgba(201,168,76,0.3); }

/* Menú desplegable móvil */
.panel-mobile-menu {
  display: none;            /* Oculto en desktop */
  background: var(--navy-light);
  padding: 0.5rem 0;
  position: sticky;
  top: 109px;               /* 64px navbar + 45px header panel */
  z-index: 89;
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.panel-mobile-menu.open {
  max-height: 600px;
}
.pmm-section-title {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.3);
  padding: 12px 1.2rem 4px;
}
.pmm-item {
  display: block;
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 12px 1.4rem;
  font-size: 14px;
  color: rgba(255,255,255,0.7);
  cursor: pointer;
  font-family: 'DM Sans', sans-serif;
  transition: all 0.15s;
  border-left: 3px solid transparent;
}
.pmm-item:hover  { background: rgba(201,168,76,0.12); color: white; }
.pmm-item.active { background: rgba(201,168,76,0.2); color: var(--gold); border-left-color: var(--gold); font-weight: 500; }
.pmm-logout      { color: rgba(255,100,100,0.75) !important; margin-top: 4px; }
.pmm-logout:hover{ color: #ff6b6b !important; background: rgba(255,100,100,0.1) !important; }

/* Mostrar header y menú solo en móvil */
@media (max-width: 768px) {
  .panel-mobile-header { display: flex; }
  .panel-mobile-menu   { display: block; }
}

/* ===== ESTILOS EXTRAÍDOS DESDE style.css ORIGINAL ===== */
/* --- ESTILOS PARA LA VIRGEN EN LA SECCIÓN AZUL --- */
.virgen-container {
    display: flex;
    justify-content: center; /* Centra el óvalo horizontalmente */
    align-items: center; /* Centra el óvalo verticalmente */
    padding: 30px 0; /* Espaciado superior e inferior */
    width: 100%;
}

.virgen-oval {
    width: 280px; /* Ancho del óvalo, ajústalo según tu diseño */
    height: 380px; /* Alto del óvalo, más alto que ancho para que sea óvalo */
    border-radius: 50%; /* Esto hace que sea un círculo si ancho=alto, u óvalo si difieren */
    overflow: hidden; /* Corta la imagen para que se mantenga dentro del óvalo */
    border: 8px solid rgba(212, 175, 55, 0.6); /* Borde dorado suave, color oro #d4af37 con opacidad */
    box-shadow: 0 10px 30px rgba(0,0,0,0.3); /* Sombra para dar profundidad sobre el azul */
    background-color: white; /* Fondo blanco por si la imagen tarda en cargar */
    transition: transform 0.3s ease; /* Efecto suave al pasar el mouse */
}

.virgen-oval:hover {
    transform: scale(1.03); /* Se agranda ligeramente al pasar el mouse */
}

.virgen-oval img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Escala la imagen para que llene el óvalo sin deformarse */
    object-position: center; /* Centra la imagen dentro del óvalo para ver la figura */
}

/* Ajuste para móviles */
@media (max-width: 768px) {
    .virgen-oval {
        width: 180px; /* Más pequeño en celulares */
        height: 250px;
    }
}

/* ===== HERO EN DOS COLUMNAS ===== */
.hero {
  min-height: 88vh;
  padding: 4rem 2rem;
}

.hero-content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 460px);
  align-items: center;
  gap: 4rem;
}

.hero-left {
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero-right {
  display: flex;
  justify-content: center;
}

.hero-left .hero-desc {
  max-width: 560px;
}

.hero-left .hero-btns {
  justify-content: flex-start;
}

.virgen-container {
  width: 100%;
  padding: 0;
}

.virgen-oval {
  width: min(100%, 420px);
  height: 560px;
}

@media (max-width: 900px) {
  .hero-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .hero-left {
    align-items: center;
    text-align: center;
  }

  .hero-left .hero-btns {
    justify-content: center;
  }

  .hero-right {
    order: 2;
  }

  .virgen-oval {
    width: min(100%, 320px);
    height: 430px;
  }
}