/* ═══ GEMAS & COMISIONES SECTION ═══ */
#gemas {
  background: linear-gradient(180deg, var(--midnight) 0%, var(--navy2) 50%, var(--midnight) 100%);
  position: relative;
  overflow: hidden;
  padding-top: 80px;
}

#gemas::before {
  content: '';
  position: absolute;
  top: -200px;
  left: -200px;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(85,4,213,0.12) 0%, transparent 60%);
  pointer-events: none;
}

.gemas-header {
  text-align: center;
  margin-bottom: 48px;
  position: relative;
  z-index: 1;
}

.gemas-header .section-label {
  justify-content: center;
}

.gemas-header .section-label::before {
  display: none;
}

.gemas-header .section-desc {
  margin: 0 auto;
}

.gemas-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

/* Gem Cards */
.gem-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  background: rgba(10, 14, 74, 0.4);
  backdrop-filter: blur(12px) saturate(1.2);
  border: 1px solid rgba(188, 134, 255, 0.08);
  padding: 24px;
  transition: all 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.gem-card-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(188, 134, 255, 0.1);
}

.gem-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  background: rgba(255, 255, 255, 0.05);
  box-shadow: inset 0 0 10px rgba(255, 255, 255, 0.05);
  transition: all 0.4s ease;
}

.gem-card-meta {
  display: flex;
  flex-direction: column;
}

.gem-card-tag {
  font-family: 'Orbitron', monospace;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--lavanda);
}

.gem-card-title {
  font-family: 'Rajdhani', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.gem-card-desc {
  font-size: 13px;
  color: var(--dim);
  line-height: 1.5;
  margin-bottom: 24px;
  min-height: 60px;
}

/* Accordion for Committees */
.gem-committees {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: auto;
}

.committee-accordion {
  border-radius: 8px;
  border: 1px solid rgba(188, 134, 255, 0.1);
  background: rgba(5, 20, 100, 0.25);
  overflow: hidden;
  transition: all 0.3s ease;
}

.committee-header {
  padding: 12px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  user-select: none;
  font-family: 'Orbitron', monospace;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--white);
  transition: all 0.3s ease;
}

.committee-header:hover {
  background: rgba(188, 134, 255, 0.05);
}

.committee-arrow {
  font-size: 9px;
  transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
  color: var(--lavanda);
}

.committee-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.committee-content {
  padding: 16px;
  border-top: 1px solid rgba(188, 134, 255, 0.05);
  background: rgba(32, 13, 87, 0.15);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.committee-topic {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.committee-label {
  font-family: 'Rajdhani', sans-serif;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--lavanda);
}

.committee-topic-text {
  font-size: 12px;
  color: var(--white);
  line-height: 1.5;
  font-weight: 500;
}

.committee-team {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.committee-member {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  padding: 4px 0;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.05);
}

.committee-member:last-child {
  border-bottom: none;
}

.committee-member-name {
  color: var(--white);
  font-weight: 500;
}

.committee-member-role {
  color: var(--dim);
  font-size: 10px;
  font-family: 'Rajdhani', sans-serif;
}

/* Gem Active states */
.committee-accordion.active {
  border-color: rgba(188, 134, 255, 0.25);
  background: rgba(32, 13, 87, 0.4);
}

.committee-accordion.active .committee-header {
  color: var(--lavanda);
  background: rgba(188, 134, 255, 0.05);
}

.committee-accordion.active .committee-arrow {
  transform: rotate(180deg);
}

.committee-accordion.active .committee-body {
  max-height: 500px;
}

/* Theme Colors for Gems */
/* 1. Zafiro (Blue) */
.gem-zafiro {
  border-color: rgba(70, 141, 252, 0.15);
}
.gem-zafiro:hover {
  border-color: rgba(70, 141, 252, 0.45);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5), 0 0 30px rgba(70, 141, 252, 0.2);
}
.gem-zafiro .gem-card-icon {
  background: rgba(70, 141, 252, 0.1);
  color: #468DFC;
  box-shadow: inset 0 0 10px rgba(70, 141, 252, 0.15), 0 0 15px rgba(70, 141, 252, 0.1);
}
.gem-zafiro .gem-card-tag {
  color: #468DFC;
}
.gem-zafiro .committee-label, 
.gem-zafiro .committee-arrow {
  color: #468DFC;
}
.gem-zafiro .committee-accordion.active {
  border-color: rgba(70, 141, 252, 0.35);
}
.gem-zafiro .committee-accordion.active .committee-header {
  color: #468DFC;
}

/* 2. Diamante (Cyan) */
.gem-diamante {
  border-color: rgba(0, 229, 255, 0.15);
}
.gem-diamante:hover {
  border-color: rgba(0, 229, 255, 0.45);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5), 0 0 30px rgba(0, 229, 255, 0.2);
}
.gem-diamante .gem-card-icon {
  background: rgba(0, 229, 255, 0.1);
  color: #00E5FF;
  box-shadow: inset 0 0 10px rgba(0, 229, 255, 0.15), 0 0 15px rgba(0, 229, 255, 0.1);
}
.gem-diamante .gem-card-tag {
  color: #00E5FF;
}
.gem-diamante .committee-label,
.gem-diamante .committee-arrow {
  color: #00E5FF;
}
.gem-diamante .committee-accordion.active {
  border-color: rgba(0, 229, 255, 0.35);
}
.gem-diamante .committee-accordion.active .committee-header {
  color: #00E5FF;
}

/* 3. Esmeralda (Green) */
.gem-esmeralda {
  border-color: rgba(0, 255, 136, 0.15);
}
.gem-esmeralda:hover {
  border-color: rgba(0, 255, 136, 0.45);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5), 0 0 30px rgba(0, 255, 136, 0.2);
}
.gem-esmeralda .gem-card-icon {
  background: rgba(0, 255, 136, 0.1);
  color: #00FF88;
  box-shadow: inset 0 0 10px rgba(0, 255, 136, 0.15), 0 0 15px rgba(0, 255, 136, 0.1);
}
.gem-esmeralda .gem-card-tag {
  color: #00FF88;
}
.gem-esmeralda .committee-label,
.gem-esmeralda .committee-arrow {
  color: #00FF88;
}
.gem-esmeralda .committee-accordion.active {
  border-color: rgba(0, 255, 136, 0.35);
}
.gem-esmeralda .committee-accordion.active .committee-header {
  color: #00FF88;
}

/* 4. Rubí (Red) */
.gem-rubi {
  border-color: rgba(255, 62, 62, 0.15);
}
.gem-rubi:hover {
  border-color: rgba(255, 62, 62, 0.45);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5), 0 0 30px rgba(255, 62, 62, 0.2);
}
.gem-rubi .gem-card-icon {
  background: rgba(255, 62, 62, 0.1);
  color: #FF3E3E;
  box-shadow: inset 0 0 10px rgba(255, 62, 62, 0.15), 0 0 15px rgba(255, 62, 62, 0.1);
}
.gem-rubi .gem-card-tag {
  color: #FF3E3E;
}
.gem-rubi .committee-label,
.gem-rubi .committee-arrow {
  color: #FF3E3E;
}
.gem-rubi .committee-accordion.active {
  border-color: rgba(255, 62, 62, 0.35);
}
.gem-rubi .committee-accordion.active .committee-header {
  color: #FF3E3E;
}


/* ═══ HISTORIC GALLERY OF PAST SECRETARIES ═══ */
.gallery-past-title {
  text-align: center;
  font-family: 'Orbitron', monospace;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.3em;
  color: var(--white);
  margin-top: 56px;
  margin-bottom: 28px;
  text-transform: uppercase;
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.gallery-past-title::before,
.gallery-past-title::after {
  content: '';
  width: 50px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(188, 134, 255, 0.3));
}

.gallery-past-title::after {
  background: linear-gradient(90deg, rgba(188, 134, 255, 0.3), transparent);
}

.gallery-past-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.gallery-past-card {
  border-radius: 12px;
  border: 1px solid rgba(188, 134, 255, 0.06);
  background: rgba(32, 13, 87, 0.15);
  padding: 16px;
  text-align: center;
  transition: all 0.4s ease;
  backdrop-filter: blur(8px);
}

.gallery-past-card:hover {
  transform: translateY(-5px);
  border-color: rgba(188, 134, 255, 0.25);
  background: rgba(32, 13, 87, 0.25);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3), 0 0 15px rgba(85, 4, 213, 0.1);
}

.past-card-year {
  font-family: 'Orbitron', monospace;
  font-size: 11px;
  font-weight: 700;
  color: var(--lavanda);
  letter-spacing: 0.1em;
  padding: 3px 8px;
  background: rgba(85, 4, 213, 0.15);
  border: 1px solid rgba(188, 134, 255, 0.1);
  border-radius: 4px;
  display: inline-block;
  margin-bottom: 12px;
}

.past-card-name {
  font-family: 'Rajdhani', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.past-card-role {
  font-size: 11px;
  color: var(--dim);
  margin-top: 4px;
}


/* ═══ ORG TEAM TABS ═══ */
#equipo {
  background: linear-gradient(180deg, var(--midnight) 0%, var(--navy2) 50%, var(--midnight) 100%);
  position: relative;
  overflow: hidden;
  padding-top: 80px;
}

.equipo-header {
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  z-index: 1;
}

.equipo-header .section-label {
  justify-content: center;
}

.equipo-header .section-label::before {
  display: none;
}

.equipo-header .section-desc {
  margin: 0 auto;
}

.equipo-tabs {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 32px;
  position: relative;
  z-index: 1;
}

.tab-btn {
  font-family: 'Orbitron', monospace;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--dim);
  padding: 12px 28px;
  border-radius: 8px;
  border: 1px solid rgba(188, 134, 255, 0.1);
  background: rgba(32, 13, 87, 0.2);
  transition: all 0.3s ease;
  backdrop-filter: blur(8px);
}

.tab-btn:hover {
  color: var(--white);
  border-color: rgba(188, 134, 255, 0.3);
  background: rgba(32, 13, 87, 0.35);
}

.tab-btn.active {
  color: var(--white);
  border-color: var(--lavanda);
  background: linear-gradient(135deg, var(--royal) 0%, var(--neon-purple) 100%);
  box-shadow: 0 0 20px rgba(85, 4, 213, 0.3), 0 0 8px rgba(188, 134, 255, 0.2);
  text-shadow: 0 0 8px rgba(255, 255, 255, 0.4);
}

.tab-panel {
  display: none;
  position: relative;
  z-index: 1;
}

.tab-panel.active {
  display: block;
  animation: panel-fade-in 0.5s ease both;
}

@keyframes panel-fade-in {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.team-card {
  border-radius: 12px;
  border: 1px solid rgba(188, 134, 255, 0.08);
  background: rgba(10, 14, 74, 0.3);
  padding: 20px;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
}

.team-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 100%;
  background: var(--lavanda);
  opacity: 0.3;
  transition: all 0.3s ease;
}

.team-card:hover {
  border-color: rgba(188, 134, 255, 0.25);
  background: rgba(32, 13, 87, 0.3);
  transform: translateX(4px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.team-card:hover::before {
  background: var(--lavanda);
  opacity: 1;
  box-shadow: 0 0 10px var(--lavanda);
}

.team-member-name {
  font-family: 'Rajdhani', sans-serif;
  font-size: 17px;
  font-weight: 700;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 6px;
}

.team-member-role {
  font-family: 'Orbitron', monospace;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--lavanda);
}


/* ═══ MODERN MODAL DIALOGS (WELCOME & SECRETARIAT PROFILES) ═══ */
.hud-modal {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(5, 12, 50, 0.82);
  backdrop-filter: blur(16px) saturate(1.4);
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 20px;
}

.hud-modal.open {
  opacity: 1;
  visibility: visible;
}

.hud-modal-inner {
  position: relative;
  background: rgba(15, 8, 48, 0.95);
  border: 1px solid rgba(188, 134, 255, 0.25);
  border-radius: 16px;
  box-shadow: 
    0 24px 70px rgba(0, 0, 0, 0.7),
    0 0 40px rgba(85, 4, 213, 0.3),
    0 0 80px rgba(188, 134, 255, 0.05),
    inset 0 0 20px rgba(188, 134, 255, 0.05);
  width: 100%;
  max-width: 650px;
  padding: 48px 36px 32px;
  transform: scale(0.9) translateY(20px);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  max-height: 85vh;
  overflow: hidden;
}

.hud-modal.open .hud-modal-inner {
  transform: scale(1) translateY(0);
}

.hud-modal-close {
  position: absolute;
  top: 14px;
  right: 18px;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid rgba(188, 134, 255, 0.25);
  background: rgba(20, 12, 60, 0.95);
  color: var(--lavanda);
  font-family: Arial, sans-serif;
  font-size: 20px;
  font-weight: 300;
  line-height: 1;
  transition: all 0.3s ease;
  z-index: 100;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

.hud-modal-close:hover {
  border-color: var(--white);
  color: var(--white);
  background: rgba(85, 4, 213, 0.4);
  box-shadow: 0 0 15px rgba(188, 134, 255, 0.3);
}

/* Welcome Letter Styles */
.welcome-modal-title {
  font-family: 'Orbitron', monospace;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 2px;
  padding-right: 32px;
}

.welcome-modal-subtitle {
  font-family: 'Rajdhani', sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--lavanda);
  margin-bottom: 20px;
}

.welcome-scrollable {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding-right: 12px;
  font-size: 13.5px;
  line-height: 1.8;
  color: var(--dim);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.welcome-scrollable p {
  text-align: justify;
}

.welcome-scrollable strong {
  color: var(--white);
  font-weight: 600;
}

.welcome-signature {
  margin-top: 12px;
  border-top: 1px dashed rgba(188, 134, 255, 0.15);
  padding-top: 16px;
  text-align: right;
  font-family: 'Rajdhani', sans-serif;
}

.welcome-signature .valediction {
  font-size: 12px;
  color: var(--dim);
}

.welcome-signature .team {
  font-family: 'Orbitron', monospace;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--lavanda);
  margin-top: 4px;
}

/* Secretary Profile Modal specific */
.profile-modal-inner {
  max-width: 800px;
}

.profile-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 28px;
  overflow-y: auto;
  padding-right: 8px;
  flex: 1;
  min-height: 0;
}

.profile-sidebar {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
}

.profile-image-wrap {
  width: 100%;
  aspect-ratio: 3/4;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(188, 134, 255, 0.2);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4), 0 0 15px rgba(85, 4, 213, 0.15);
}

.profile-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile-name {
  font-family: 'Rajdhani', sans-serif;
  font-size: 20px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--white);
  letter-spacing: 0.05em;
  line-height: 1.2;
}

.profile-role-badge {
  font-family: 'Orbitron', monospace;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--lavanda);
  padding: 4px 12px;
  background: rgba(85, 4, 213, 0.15);
  border: 1px solid rgba(188, 134, 255, 0.2);
  border-radius: 100px;
  text-transform: uppercase;
}

.profile-main {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.profile-nav-tabs {
  display: flex;
  border-bottom: 1px solid rgba(188, 134, 255, 0.15);
  gap: 20px;
}

.profile-tab-link {
  font-family: 'Orbitron', monospace;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--dim);
  padding: 8px 0;
  border-bottom: 2px solid transparent;
  transition: all 0.3s;
}

.profile-tab-link:hover {
  color: var(--white);
}

.profile-tab-link.active {
  color: var(--lavanda);
  border-bottom-color: var(--lavanda);
  text-shadow: 0 0 6px rgba(188, 134, 255, 0.3);
}

.profile-tab-content {
  display: none;
  font-size: 13px;
  line-height: 1.7;
  color: var(--dim);
}

.profile-tab-content.active {
  display: block;
  animation: panel-fade-in 0.4s ease both;
}

.profile-tab-content p {
  margin-bottom: 12px;
}

.profile-tab-content p:last-child {
  margin-bottom: 0;
}

.profile-list-items {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.profile-list-item {
  position: relative;
  padding-left: 20px;
}

.profile-list-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--lavanda);
  box-shadow: 0 0 6px var(--lavanda);
}

/* Secondary CTA for welcome letter button */
.propuesta-cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}

.btn-bid.secondary-cta {
  background: rgba(32, 13, 87, 0.25);
  border-color: rgba(188, 134, 255, 0.2);
}

.btn-bid.secondary-cta:hover {
  background: rgba(85, 4, 213, 0.15);
  border-color: var(--lavanda);
  box-shadow: 0 0 20px rgba(85, 4, 213, 0.2);
}

.secretaria-card {
  cursor: pointer !important;
}

.secretaria-card::after {
  content: 'PERFIL DE LOGROS';
  position: absolute;
  top: 18px;
  left: 20px;
  font-family: 'Orbitron', monospace;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: rgba(188, 134, 255, 0.35);
  z-index: 3;
  padding: 3px 8px;
  border: 1px solid rgba(188, 134, 255, 0.15);
  border-radius: 4px;
  background: rgba(5, 12, 50, 0.6);
  opacity: 0;
  transform: translateY(-5px);
  transition: all 0.3s ease;
}

.secretaria-card:hover::after {
  opacity: 1;
  transform: translateY(0);
}


/* ═══ REGIONAL 12 UPDATE STYLES ═══ */
.regional-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 24px;
}

.regional-stat-card {
  padding: 12px 14px;
  background: rgba(32, 13, 87, 0.2);
  border: 1px solid rgba(188, 134, 255, 0.06);
  border-radius: 8px;
  text-align: center;
  transition: all 0.3s;
}

.regional-stat-card:hover {
  border-color: rgba(188, 134, 255, 0.2);
  background: rgba(85, 4, 213, 0.08);
  box-shadow: 0 4px 15px rgba(85, 4, 213, 0.1);
}

.regional-stat-num {
  font-family: 'Orbitron', monospace;
  font-size: 18px;
  font-weight: 900;
  color: var(--white);
  text-shadow: 0 0 10px rgba(188, 134, 255, 0.3);
}

.regional-stat-num span {
  color: var(--lavanda);
}

.regional-stat-label {
  font-family: 'Rajdhani', sans-serif;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--dim);
  margin-top: 4px;
}

.regional-section-desc-extra {
  font-size: 13px;
  color: var(--dim);
  line-height: 1.6;
  margin-top: 20px;
  border-top: 1px solid rgba(188, 134, 255, 0.1);
  padding-top: 16px;
}

.regional-section-desc-extra p {
  margin-bottom: 8px;
}

.regional-section-desc-extra p:last-child {
  margin-bottom: 0;
}

.regional-section-desc-extra strong {
  color: var(--white);
  font-weight: 600;
}


/* ═══ RESPONSIVE OVERRIDES FOR NEW SECTIONS ═══ */
@media (max-width: 991px) {
  .profile-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .profile-sidebar {
    flex-direction: row;
    text-align: left;
    gap: 20px;
    align-items: center;
  }
  .profile-image-wrap {
    width: 120px;
    height: 160px;
  }
  .gallery-past-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .regional-stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .propuesta-cta {
    justify-content: center;
  }
}

@media (max-width: 576px) {
  .profile-sidebar {
    flex-direction: column;
    text-align: center;
  }
  .gallery-past-grid {
    grid-template-columns: 1fr;
    max-width: 300px;
    margin: 0 auto;
  }
  .regional-stats-grid {
    grid-template-columns: 1fr;
  }
  .equipo-tabs {
    flex-direction: column;
    align-items: stretch;
  }
  .gemas-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .team-grid {
    grid-template-columns: 1fr;
    max-width: 300px;
    margin: 0 auto;
    gap: 16px;
  }
  .hud-modal-inner {
    padding: 48px 18px 24px;
    max-height: 90vh;
    width: 95%;
  }
  .hud-modal-close {
    top: 10px;
    right: 12px;
    width: 36px;
    height: 36px;
    font-size: 22px;
  }
  .welcome-modal-title {
    font-size: 16px;
    letter-spacing: 0.1em;
    padding-right: 40px;
  }
  .welcome-modal-subtitle {
    font-size: 9px;
    letter-spacing: 0.12em;
    margin-bottom: 14px;
  }
  .welcome-scrollable {
    padding-right: 6px;
    font-size: 12.5px;
    gap: 12px;
  }
  .profile-layout {
    gap: 16px;
  }
  .profile-nav-tabs {
    gap: 10px;
    justify-content: space-between;
  }
  .profile-tab-link {
    font-size: 10px;
    letter-spacing: 0.08em;
  }
}
