:root {
  --navy: #0e1f4d;
  --navy-mid: #162d6e;
  --gold: #c9a84c;
  --gold-light: #e2c47a;
  --sky: #4a8fc1;
  --sky-light: #d4e8f5;
  --white: #ffffff;
  --off-white: #f5f7fb;
  --bg-soft: #f6f1fb;
  --text: #1a2340;
  --text-muted: #5a6580;
  --border: #dde3ef;
  --cta-soft: #7d74d8;
  --cta-soft-hover: #8c84df;
  --nav-bottom-line: #7f74d9;
  --shadow-soft: 0 10px 30px rgba(14, 31, 77, 0.08);
  --shadow-card: 0 14px 32px rgba(14, 31, 77, 0.08);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'DM Sans', sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

section {
  padding: 72px 0;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* =========================
   NAV
========================= */

nav {
  background: var(--white);
  border-bottom: 4px solid var(--nav-bottom-line);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 4px 16px rgba(14, 31, 77, 0.05);
}

.nav-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 22px;
  min-height: 96px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0; 
} 


.nav-logo img {
  width: 85px;
  height: 85px;
  object-fit: cover;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 10px 20px -8px #667eea;
  background: linear-gradient(135deg, #667eea, #764ba2); margin-left: 35px!important;
}

.nav-logo-text {
  line-height: 1.08;
}

.nav-logo-text strong {
  display: block;
  font-size: 16px;
  font-weight: 500;
  color: #39435a;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

.nav-logo-text span {
  display: block;
  font-size: 14px;
  color: #39435a;
  font-weight: 400;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
}

.nav-menu > li {
  position: relative;
  padding-bottom: 6px;
}

.nav-menu > li > a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 10px;
  font-size: 15px;
  font-weight: 500;
  color: #49536a;
  border-radius: 12px;
  transition: background 0.2s, color 0.2s;
  white-space: nowrap;
}

.nav-menu > li > a:hover,
.nav-menu > li:hover > a {
  background: #f4f5fb;
  color: var(--navy);
}

.nav-menu > li > a .fa-house {
  font-size: 20px;
  color: #565f74;
}

.nav-menu > li > a.has-sub::after {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  margin-left: 4px;
  vertical-align: middle;
}

/* Dropdown */
.submenu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 290px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 8px 0;
  box-shadow: 0 8px 32px rgba(14, 31, 77, 0.13);
  list-style: none;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(0);
  transition: opacity 0.2s ease, visibility 0.2s ease;
  z-index: 999;
}

.nav-menu > li:hover .submenu,
.nav-menu > li:focus-within .submenu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.submenu li a {
  display: block;
  padding: 10px 18px;
  font-size: 14px;
  color: var(--text);
  transition: background 0.15s, color 0.15s;
  white-space: nowrap;
}

.submenu li a:hover {
  background: var(--off-white);
  color: var(--navy);
}

.nav-cta {
  background: var(--cta-soft) !important;
  color: var(--white) !important;
  border-radius: 999px !important;
  padding: 11px 18px !important;
  font-weight: 700 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-shadow: none !important;
}

.nav-cta:hover {
  background: var(--cta-soft-hover) !important;
  color: var(--white) !important;
}

/* =========================
   HERO HOME
========================= */

.hero {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--navy);
  padding: 0;
  isolation: isolate;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
  filter: blur(10px);
}

.hero::before {
  width: 420px;
  height: 420px;
  right: -90px;
  top: -70px;
  background: radial-gradient(circle, rgba(226, 196, 122, 0.16) 0%, rgba(226, 196, 122, 0) 68%);
  animation: heroGlowFloat 16s ease-in-out infinite;
}

.hero::after {
  width: 360px;
  height: 360px;
  left: 48%;
  bottom: -160px;
  background: radial-gradient(circle, rgba(74, 143, 193, 0.14) 0%, rgba(74, 143, 193, 0) 70%);
  animation: heroGlowFloatReverse 18s ease-in-out infinite;
}

.hero-bg {
  position: absolute;
  inset: -2%;
  background: url('../images/fondo_home_saa.jpg') center center / cover no-repeat;
  opacity: 1;
  transform: scale(1.04);
  animation: heroBgDrift 22s ease-in-out infinite alternate;
  will-change: transform;
}

.hero-bg2 {
  position: absolute;
  inset: -2%;
  background: url('../images/comision_directiva.jpg') center center / cover no-repeat;
  opacity: 1;
  transform: scale(1.04);
  animation: heroBgDrift 22s ease-in-out infinite alternate;
  will-change: transform;
}


.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 82% 20%, rgba(255, 255, 255, 0.16) 0%, rgba(255, 255, 255, 0) 26%),
    linear-gradient(105deg, rgba(14, 31, 77, 0.96) 30%, rgba(22, 45, 110, 0.48) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-eyebrow {
  display: inline-block;
  background: rgba(201, 168, 76, 0.15);
  color: var(--gold-light);
  border: 1px solid rgba(201, 168, 76, 0.35);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 100px;
  margin-bottom: 20px;
}

.hero h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(34px, 4vw, 52px);
  font-weight: 700;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}

.hero h1 em {
  font-style: italic;
  color: var(--gold-light);
}

.hero-sub {
  font-size: 16px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.82);
  max-width: 460px;
  margin-bottom: 32px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.btn-primary {
  background: var(--gold);
  color: var(--navy);
  font-weight: 700;
  font-size: 14px;
  padding: 13px 28px;
  border-radius: 8px;
  transition: background 0.2s, transform 0.15s;
  display: inline-block;
  letter-spacing: 0.02em;
}

.btn-primary:hover {
  background: var(--gold-light);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  font-weight: 500;
  font-size: 14px;
  padding: 12px 28px;
  border-radius: 8px;
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  transition: border-color 0.2s, background 0.2s;
  display: inline-block;
}

.btn-outline:hover {
  border-color: rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.06);
}

.hero-stats {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 16px 48px rgba(9, 22, 58, 0.14);
  animation: heroStatsFloat 7s ease-in-out infinite;
  will-change: transform;
}

.hero-stats::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 15%, rgba(255, 255, 255, 0.12) 50%, transparent 85%);
  transform: translateX(-140%);
  animation: heroStatsShine 9s ease-in-out infinite;
  pointer-events: none;
}

.hero-stat {
  position: relative;
  z-index: 1;
  background: rgba(255, 255, 255, 0.04);
  padding: 28px 24px;
  text-align: center;
  backdrop-filter: blur(8px);
  transition: background 0.25s ease, transform 0.25s ease;
}

.hero-stat:hover {
  background: rgba(255, 255, 255, 0.07);
  transform: translateY(-2px);
}

.hero-stat-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 40px;
  font-weight: 700;
  color: var(--gold-light);
  line-height: 1;
  margin-bottom: 6px;
}

.hero-stat-numch {
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--gold-light);
}

.hero-stat-label {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.55);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  line-height: 1.4;
}

/* =========================
   TITULOS Y BLOQUES COMUNES
========================= */

.section-label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
}

.section-title {
  font-family: 'DM Sans', sans-serif;
  font-size: clamp(30px, 3vw, 42px);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin-bottom: 12px;
}

 

.section-desc {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 560px;
}

.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 48px;
  gap: 24px;
  flex-wrap: wrap;
}

.link-more {
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  padding-bottom: 2px;
  border-bottom: 2px solid var(--gold);
  transition: color 0.2s;
}

.link-more:hover {
  color: var(--gold);
}

.link-more svg {
  width: 16px;
  height: 16px;
}

/* =========================
   CURSOS
========================= */

.cursos {
  background: var(--off-white);
}

.cursos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.curso-card {
  background: var(--white);
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border);
  transition: box-shadow 0.25s, transform 0.25s, border-color 0.25s;
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: 0 10px 28px rgba(14, 31, 77, 0.05);
}

.curso-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--gold) 0%, var(--gold-light) 100%);
  z-index: 2;
}

.curso-card:hover {
  box-shadow: 0 16px 42px rgba(14, 31, 77, 0.12);
  transform: translateY(-4px);
  border-color: rgba(201, 168, 76, 0.28);
}

.curso-card-header {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  padding: 28px 28px 20px;
  min-height: 128px;
}

.curso-card-header::after {
  content: "";
  position: absolute;
  top: -10px;
  right: -8px;
  width: 150px;
  height: 150px;
  background: url('../images/icono.png') center / contain no-repeat;
  opacity: 0.14;
  pointer-events: none;
  z-index: 0;
}

.curso-badge,
.curso-title-row {
  position: relative;
  z-index: 1;
}

.curso-badge {
  display: inline-block;
  background: var(--gold);
  color: var(--navy);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 4px;
  margin-bottom: 16px;
}

.curso-title-row {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.curso-title-icon {
  width: 42px;
  height: 42px;
  min-width: 42px;
  border-radius: 12px;
  background: rgba(201, 168, 76, 0.16);
  border: 1px solid rgba(226, 196, 122, 0.28);
  color: var(--gold-light);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.curso-title-icon i {
  font-size: 17px;
}

.curso-card-header h3 {
  font-family: 'DM Sans', sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--white);
  line-height: 1.24;
  letter-spacing: -0.02em;
  margin: 0;
}

.curso-card-body {
  padding: 22px 28px 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.curso-card-body p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-muted);
  margin-bottom: 20px;
  flex: 1;
}

.curso-meta {
  display: flex;
  gap: 16px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.curso-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12.5px;
  color: var(--text-muted);
  font-weight: 500;
  background: #f7f9ff;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 7px 12px;
}

.curso-meta-item svg {
  width: 14px;
  height: 14px;
  color: var(--sky);
}

.curso-fecha-destacada {
  color: var(--navy);
  font-weight: 700;
}

.curso-cta {
  background: var(--navy);
  color: #ffffff!important;
  font-weight: 600;
  font-size: 13.5px;
  padding: 11px 22px;
  border-radius: 8px;
  transition: background 0.2s;
  display: inline-block;
  text-align: center;
  align-self: flex-start;
}

.curso-cta:hover {
  background: var(--navy-mid);
}

/* =========================
   NOVEDADES HOME
========================= */

.novedades-section {
  background: var(--bg-soft);
}

.novedades-grid {
  display: grid;
  gap: 32px;
}

.novedades-grid.cols-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.novedades-grid.cols-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.novedades-grid.cols-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.novedad-card {
  background: var(--white);
  border: 1px solid rgba(125, 116, 216, 0.14);
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.novedad-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 38px rgba(14, 31, 77, 0.12);
}

.novedad-card-thumb {
  height: 160px;
  overflow: hidden;
}

.novedad-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.novedad-card-body {
  padding: 24px 26px 28px;
}

.novedad-card-date {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #8b67f0;
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 12px;
}

.novedad-card-date i {
  font-size: 14px;
}

.novedad-card h3 {
  font-family: 'DM Sans', sans-serif;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--navy);
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}

.novedad-card p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.novedad-card-link {
  color: #8b67f0;
  font-size: 15px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.novedad-card-link:hover {
  color: #6f56d8;
}

/* =========================
   ABOUT STRIP
========================= */

.about-strip {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  padding: 64px 0;
}

.about-strip-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.about-text .section-label {
  color: var(--gold-light);
}

.about-text .section-title {
  color: var(--white);
}

.about-text p {
  font-size: 15px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 16px;
}

.about-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.about-link-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 16px 18px;
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  font-weight: 500;
  transition: background 0.2s, border-color 0.2s;
}

.about-link-card:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(201, 168, 76, 0.4);
}

.about-link-icon {
  width: 36px;
  height: 36px;
  background: rgba(201, 168, 76, 0.15);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--gold-light);
}

.about-link-icon svg {
  width: 18px;
  height: 18px;
}

/* =========================
   SOCIOS
========================= */

.socios {
  background: var(--off-white);
}

.socios-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.socios-benefits {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.benefit-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.benefit-icon {
  width: 42px;
  height: 42px;
  background: var(--sky-light);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--sky);
}

.benefit-icon svg {
  width: 20px;
  height: 20px;
}

.benefit-text h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 4px;
}

.benefit-text p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

.socios-cta-box {
  background: var(--white);
  border-radius: 16px;
  padding: 40px;
  border: 1px solid var(--border);
  text-align: center;
  box-shadow: var(--shadow-soft);
}

.socios-cta-box img {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  margin: 0 auto 20px;
  object-fit: cover;
  box-shadow: 0 4px 20px rgba(14, 31, 77, 0.15);
}

.socios-cta-box h3 {
  font-family: 'DM Sans', sans-serif;
  font-size: 32px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 12px;
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.socios-cta-box p {
  font-size: 14.5px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 28px;
}

.btn-gold {
  background: var(--gold);
  color: var(--navy);
  font-weight: 700;
  font-size: 14.5px;
  padding: 14px 32px;
  border-radius: 8px;
  display: inline-block;
  transition: background 0.2s;
  letter-spacing: 0.02em;
}

.btn-gold:hover {
  background: var(--gold-light);
}

/* =========================
   FOOTER
========================= */

footer {
  background: var(--navy);
  padding: 64px 0 28px;
}

.footer-grid {
  max-width: 1200px;
  margin: 0 auto 42px;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1.45fr 0.9fr 0.9fr 1.1fr;
  gap: 40px;
  align-items: start;
}

.footer-brand {
  max-width: 360px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 18px;
}

.footer-logo img {
  width: 86px;
  height: auto;
  min-width: 86px;
  object-fit: contain;
  border-radius: 0;
  box-shadow: none;
}

.footer-logo-text {
  display: flex;
  flex-direction: column;

  gap: 4px;
}

.footer-logo-text strong {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-light);
}

.footer-logo-text span {
  display: block;
  font-family: 'DM Sans', sans-serif;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--white);
  max-width: 220px;
}

.footer-brand p {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.74);
  line-height: 1.7;
  margin-bottom: 22px;
}

.footer-social {
  display: flex;
  gap: 12px;
  align-items: center;
}

.footer-social a {
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.8);
  transition: background 0.2s, color 0.2s, transform 0.2s;
}

.footer-social a:hover {
  background: rgba(201, 168, 76, 0.18);
  color: var(--gold-light);
  transform: translateY(-2px);
}

.footer-social a svg,
.footer-social a i {
  width: 18px;
  height: 18px;
  font-size: 18px;
  display: block;
  flex-shrink: 0;
}

.footer-social a:nth-child(2) svg {
  stroke-width: 1.8;
}

.footer-col h4 {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 18px;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col ul li a {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.72);
  transition: color 0.2s, transform 0.2s;
  display: inline-block;
}

.footer-col ul li a:hover {
  color: var(--white);
  transform: translateX(2px);
}

.footer-contact-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 14px;
}

.footer-contact-item svg {
  width: 18px;
  height: 18px;
  color: var(--gold-light);
  padding: 10px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  box-sizing: content-box;
  flex-shrink: 0;
  margin-top: 0;
}

.footer-contact-item span {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.65;
  padding-top: 4px;
}

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px 24px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p,
.footer-bottom-afiliada {
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.42);
}

/* =========================
   PAGINAS INTERNAS
========================= */

.page-hero {
  position: relative;
  min-height: 260px;
  padding: 0;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--navy);
}

.page-hero .hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  opacity: 1;
}

.page-hero .hero-overlay {
  position: absolute;
  inset: 0;
}

.page-hero-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 52px 24px 44px;
  width: 100%;
}

.page-hero-badge {
  display: inline-block;
  margin-bottom: 14px;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-light);
  border: 1px solid rgba(201, 168, 76, 0.35);
  background: rgba(201, 168, 76, 0.12);
}

.page-hero-content h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(36px, 4.2vw, 58px);
  line-height: 1;
  color: var(--white);
  margin-bottom: 14px;
}

.page-hero-content p {
  max-width: 760px;
  font-size: 16px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 0;
}

.page-hero-quienes .hero-bg {
  background-image: url('../images/fondo_home_saa_2.jpg');
}

.page-hero-quienes .hero-bg .comision{
  background-image: url('../images/comision_directiva.jpg');
}

.page-hero-quienes .hero-overlay {
  background: linear-gradient(105deg, rgba(14, 31, 77, 0.84) 22%, rgba(22, 45, 110, 0.4) 100%);
}

.about-page {
  padding: 72px 0;
  background: var(--white);
}

.about-page-grid {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 34px;
  align-items: start;
}

.about-page-main,
.about-page-side,
.history-strip,
.actions-strip {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: var(--shadow-soft);
}

.about-page-main {
  padding: 38px;
}

.about-page-main p {
  font-size: 16px;
  line-height: 1.85;
  color: var(--text-muted);
  margin-bottom: 18px;
}

.about-page-side {
  padding: 30px;
  background: linear-gradient(135deg, #f7f9ff 0%, #eef2ff 100%);
}

.about-page-side h3 {
  font-family: 'DM Sans', sans-serif;
  font-size: 28px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 16px;
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.about-page-side ul {
  list-style: none;
}

.about-page-side li {
  position: relative;
  padding-left: 18px;
  margin-bottom: 14px;
  color: var(--text-muted);
  line-height: 1.7;
  font-size: 15px;
}

.about-page-side li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 11px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
}

.history-section {
  padding: 0 0 72px;
  background: var(--white);
}

.history-wrap,
.actions-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.history-strip {
  padding: 38px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  color: var(--white);
}

.history-strip .section-label {
  color: var(--gold-light);
}

.history-strip .section-title {
  color: var(--white);
  margin-bottom: 14px;
}

.history-strip p {
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.8;
  max-width: 900px;
  font-size: 16px;
}

.actions-section {
  padding: 0 0 80px;
  background: var(--white);
}

.actions-strip {
  padding: 38px;
}

.actions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 26px;
}

.action-card {
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px;
  background: var(--white);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.action-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(14, 31, 77, 0.08);
}

.action-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(201, 168, 76, 0.14);
  color: var(--gold);
  margin-bottom: 16px;
  font-size: 20px;
}

.action-card h4 {
  font-size: 18px;
  color: var(--navy);
  margin-bottom: 10px;
}

.action-card p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-muted);
}

.page-cta-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 26px;
}

.page-btn-primary,
.page-btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 13px 24px;
  font-weight: 700;
  transition: 0.2s ease;
}

.page-btn-primary {
  background: var(--cta-soft);
  color: var(--white);
}

.page-btn-primary:hover {
  background: var(--cta-soft-hover);
}

.page-btn-secondary {
  border: 1px solid var(--border);
  color: var(--navy);
  background: var(--white);
}

.page-btn-secondary:hover {
  background: #f7f9ff;
}

/* =========================
   ANIMACIONES
========================= */

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroBgDrift {
  0% {
    transform: scale(1.04) translate3d(0, 0, 0);
  }
  50% {
    transform: scale(1.08) translate3d(-10px, -6px, 0);
  }
  100% {
    transform: scale(1.05) translate3d(10px, 8px, 0);
  }
}

@keyframes heroGlowFloat {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
    opacity: 0.9;
  }
  50% {
    transform: translate3d(-22px, 18px, 0);
    opacity: 1;
  }
}

@keyframes heroGlowFloatReverse {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
    opacity: 0.75;
  }
  50% {
    transform: translate3d(20px, -18px, 0);
    opacity: 1;
  }
}

@keyframes heroStatsFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

@keyframes heroStatsShine {
  0%,
  55% {
    transform: translateX(-140%);
    opacity: 0;
  }
  62% {
    opacity: 1;
  }
  100% {
    transform: translateX(140%);
    opacity: 0;
  }
}

.hero-text > * {
  animation: fadeUp 0.6s ease both;
}

.hero-text > *:nth-child(1) { animation-delay: 0.05s; }
.hero-text > *:nth-child(2) { animation-delay: 0.1s; }
.hero-text > *:nth-child(3) { animation-delay: 0.15s; }
.hero-text > *:nth-child(4) { animation-delay: 0.2s; }
.hero-text > *:nth-child(5) { animation-delay: 0.25s; }

.hero-stats {
  animation: fadeUp 0.6s ease 0.35s both;
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 1100px) {
  .novedades-grid.cols-4,
  .novedades-grid.cols-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-grid {
    grid-template-columns: 1.2fr 1fr 1fr;
  }

  .footer-brand {
    max-width: none;
    grid-column: 1 / -1;
  }
}

@media (max-width: 960px) {
  .hero-content,
  .socios-inner,
  .about-strip-inner,
  .about-page-grid,
  .actions-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-stats {
    grid-template-columns: repeat(3, 1fr); 
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .page-hero {
    min-height: 220px;
  }

  .page-hero-content {
    padding: 44px 24px 38px;
  }

  .page-hero-content h1 {
    font-size: clamp(32px, 7vw, 48px);
  }

  .page-hero-content p {
    font-size: 15px;
  }
}

@media (max-width: 760px) {
  .novedades-grid.cols-2,
  .novedades-grid.cols-3,
  .novedades-grid.cols-4 {
    grid-template-columns: 1fr;
  }

  .novedad-card-thumb {
    height: 190px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-brand {
    padding-bottom: 6px;
  }

  .footer-logo {
    align-items: center;
  }

  .footer-logo img {
    width: 78px;
    min-width: 78px;
  }

  .footer-logo-text span {
    font-size: 22px;
    max-width: 240px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-bg,
  .hero::before,
  .hero::after,
  .hero-stats,
  .hero-stats::before,
  .hero-text > * {
    animation: none !important;
  }
}

@media (max-width: 960px) {
  .hero::before {
    width: 320px;
    height: 320px;
    right: -80px;
    top: -50px;
  }

  .hero::after {
    left: auto;
    right: -90px;
    bottom: -120px;
    width: 280px;
    height: 280px;
  }

  .hero-stats {
    animation-duration: 8s;
  }
}

@media (max-width: 640px) {
  section {
    padding: 60px 0;
  }

  .hero-stats {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .btn-primary,
  .btn-outline {
    width: 100%;
    text-align: center;
  }

  .about-links,
  .cursos-grid {
    grid-template-columns: 1fr;
  }

  .socios-cta-box {
    padding: 32px 24px;
  }

  .socios-cta-box h3 {
    font-size: 28px;
  }

  .footer-social {
    gap: 10px;
  }

  .footer-social a {
    width: 42px;
    height: 42px;
  }

  .footer-contact-item span {
    font-size: 14px;
  }
}

.icono-atajo {
  font-size: 56px;
  line-height: 2;
  color: var(--navy);
  display: inline-block; color: #c9a84c;
}

.iconocolorgold {
color: #c9a84c;
}

/* =========================
   PAGINA CURSO
========================= */

.page-hero-curso .hero-bg {
  background-image:
    linear-gradient(rgba(14, 31, 77, 0.2), rgba(14, 31, 77, 0.2)),
    url('../images/fondo_home_saa_2.jpg');
}

.page-hero-curso .hero-overlay {
  background:
    linear-gradient(105deg, rgba(14, 31, 77, 0.9) 22%, rgba(22, 45, 110, 0.56) 100%);
}

.course-hero-content {
  padding-top: 58px;
  padding-bottom: 52px;
}

.course-hero-copy {
  max-width: 860px;
}

.course-hero-kicker {
  font-size: clamp(22px, 2.2vw, 30px) !important;
  line-height: 1.2 !important;
  color: var(--gold-light) !important;
  margin-bottom: 12px !important;
  font-weight: 700;
}

.course-hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.course-hero-tags span {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.92);
  font-size: 13px;
  font-weight: 500;
}

.course-hero-tags i {
  color: var(--gold-light);
}

.curso-page {
  background: linear-gradient(180deg, #ffffff 0%, #f6f8fd 100%);
}

.curso-page-grid {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) 340px;
  gap: 34px;
  align-items: start;
}

.curso-page-main,
.curso-side-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 22px;
  box-shadow: var(--shadow-soft);
}

.curso-page-main {
  padding: 40px;
}

.curso-page-main > p {
  font-size: 16px;
  line-height: 1.85;
  color: var(--text-muted);
  margin-bottom: 18px;
}

.curso-highlight-grid,
.curso-team-grid,
.curso-info-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.curso-highlight-grid {
  margin-top: 28px;
}

.curso-highlight-card,
.curso-team-card,
.curso-info-card {
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 24px;
  background: #fbfcff;
}

.curso-highlight-icon,
.curso-info-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(201, 168, 76, 0.12);
  color: var(--navy);
  margin-bottom: 14px;
  font-size: 20px;
}

.curso-highlight-card h3,
.curso-team-card h4,
.curso-info-card h4,
.curso-section-heading h3,
.curso-side-title-row h3 {
  font-family: 'DM Sans', sans-serif;
  color: var(--navy);
}

.curso-highlight-card h3,
.curso-section-heading h3,
.curso-side-title-row h3 {
  font-size: 26px;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 10px;
}

.curso-highlight-card p,
.curso-info-card p,
.curso-pricing-note,
.curso-side-note {
  font-size: 14.5px;
  line-height: 1.75;
  color: var(--text-muted);
}

.curso-section-block {
  margin-top: 38px;
}

.curso-section-heading {
  margin-bottom: 18px;
}

.curso-team-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}

.curso-team-card h4 {
  font-size: 22px;
  line-height: 1.2;
  margin-bottom: 8px;
}

.curso-info-card ul,
.curso-side-list,
.curso-programa-grid,
.curso-bullets-grid {
  list-style: none;
}

.curso-info-card ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 14px;
}

.curso-info-card ul li,
.curso-bullet-item,
.curso-programa-item {
  position: relative;
  padding-left: 18px;
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--text-muted);
}

.curso-info-card ul li::before,
.curso-bullet-item::before,
.curso-programa-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
}

.curso-bullets-grid,
.curso-programa-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 18px;
}

.curso-page-side {
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: sticky;
  top: 118px;
}

.curso-side-card {
  padding: 26px;
}

.curso-side-card-main {
  background: linear-gradient(180deg, #ffffff 0%, #f7f9ff 100%);
}

.curso-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(26, 164, 96, 0.1);
  color: #13824f;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-bottom: 18px;
}

.curso-side-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 22px;
}

.curso-side-list li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(14, 31, 77, 0.08);
}

.curso-side-list li:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.curso-side-list span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 13px;
}

.curso-side-list span i {
  color: var(--sky);
}

.curso-side-list strong {
  text-align: right;
  font-size: 13.5px;
  line-height: 1.45;
  color: var(--navy);
}

.curso-side-btn {
  width: 100%;
  text-align: center;
  margin-bottom: 12px;
}

.curso-side-title-row {
  margin-bottom: 14px;
}

.curso-pricing-box {
  border: 1px solid rgba(201, 168, 76, 0.22);
  border-radius: 18px;
  overflow: hidden;
  background: #fffdf7;
}

.curso-price-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 15px 16px;
  border-bottom: 1px solid rgba(201, 168, 76, 0.16);
}

.curso-price-row:last-child {
  border-bottom: 0;
}

.curso-price-row span {
  font-size: 14px;
  color: var(--text-muted);
}

.curso-price-row strong {
  font-size: 14px;
  color: var(--navy);
}

.curso-pricing-note {
  margin-top: 14px;
}

@media (max-width: 1100px) {
  .curso-page-grid {
    grid-template-columns: 1fr;
  }

  .curso-page-side {
    position: static;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .course-hero-tags,
  .curso-highlight-grid,
  .curso-team-grid,
  .curso-info-grid,
  .curso-bullets-grid,
  .curso-programa-grid,
  .curso-page-side {
    grid-template-columns: 1fr;
  }

  .course-hero-tags {
    display: grid;
  }

  .curso-page-main {
    padding: 30px 22px;
  }

  .curso-side-card {
    padding: 22px;
  }

  .curso-side-list li {
    flex-direction: column;
    align-items: flex-start;
  }

  .curso-side-list strong {
    text-align: left;
  }

  .curso-highlight-card h3,
  .curso-section-heading h3,
  .curso-side-title-row h3 {
    font-size: 22px;
  }

  .curso-team-card h4 {
    font-size: 20px;
  }
}
   /* Estilos específicos para esta página, separados del CSS global */
    .comision-directiva {
      background: var(--white);
      padding: 60px 0 80px;
    }

    .comision-header {
      text-align: center;
      margin-bottom: 48px;
    }

    .comision-header .section-label {
      margin-bottom: 8px;
    }

    .comision-header .section-title {
      margin-bottom: 16px;
    }

    .comision-header .section-desc {
      max-width: 720px;
      margin: 0 auto;
    }

    /* Grid responsivo para los miembros */
    .directiva-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
      gap: 40px 30px;
      max-width: 1200px;
      margin: 0 auto;
      padding: 0 24px;
    }

    /* Tarjeta de miembro */
    .miembro-card {
      background: var(--white);
      border-radius: 28px;
      padding: 32px 24px 28px;
      text-align: center;
      transition: all 0.3s ease;
      border: 1px solid var(--border);
      box-shadow: var(--shadow-soft);
    }

    .miembro-card:hover {
      transform: translateY(-6px);
      box-shadow: var(--shadow-card);
      border-color: rgba(201, 168, 76, 0.3);
    }

    /* Foto circular */
    .miembro-foto {
      width: 160px;
      height: 160px;
      margin: 0 auto 20px;
      border-radius: 50%;
      overflow: hidden;
      background: var(--sky-light);
      display: flex;
      align-items: center;
      justify-content: center;
      box-shadow: 0 12px 28px rgba(14, 31, 77, 0.12);
      border: 3px solid var(--gold-light);
      transition: transform 0.2s ease;
    }

    .miembro-card:hover .miembro-foto {
      transform: scale(1.02);
    }

    .miembro-foto img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      object-position: center;
    }

    .miembro-foto .sin-foto {
      width: 100%;
      height: 100%;
      background: linear-gradient(135deg, var(--sky), var(--navy-mid));
      display: flex;
      align-items: center;
      justify-content: center;
      color: var(--white);
      font-size: 48px;
      font-weight: 600;
      text-transform: uppercase;
    }

    .miembro-nombre {
      font-size: 20px;
      font-weight: 600;
      color: var(--navy);
      margin-bottom: 6px;
      letter-spacing: -0.02em;
    }

    .miembro-cargo {
      font-size: 15px;
      color: var(--gold);
      font-weight: 600;
      text-transform: uppercase;
      letter-spacing: 0.03em;
      margin-bottom: 20px;
      background: rgba(201, 168, 76, 0.1);
      display: inline-block;
      padding: 4px 12px;
      border-radius: 40px;
    }

    .btn-cv {
      background: transparent;
      border: 1.5px solid var(--gold);
      color: var(--gold);
      padding: 8px 22px;
      font-size: 14px;
      font-weight: 600;
      border-radius: 40px;
      cursor: pointer;
      transition: all 0.2s ease;
      font-family: 'DM Sans', sans-serif;
      display: inline-flex;
      align-items: center;
      gap: 8px;
    }

    .btn-cv i {
      font-size: 13px;
      transition: transform 0.2s;
    }

    .btn-cv:hover {
      background: var(--gold);
      color: var(--navy);
      border-color: var(--gold);
    }

    .btn-cv:hover i {
      transform: translateX(3px);
    }

    /* MODAL/POPUP */
    .modal-cv {
      display: none;
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background-color: rgba(14, 31, 77, 0.8);
      backdrop-filter: blur(6px);
      z-index: 1000;
      justify-content: center;
      align-items: center;
      opacity: 0;
      transition: opacity 0.3s ease;
    }

    .modal-cv.active {
      display: flex;
      opacity: 1;
    }

    .modal-contenido {
      background: var(--white);
      max-width: 650px;
      width: 90%;
      max-height: 85vh;
      border-radius: 32px;
      box-shadow: 0 30px 50px rgba(0, 0, 0, 0.25);
      overflow: hidden;
      animation: modalEntrada 0.3s cubic-bezier(0.2, 0.9, 0.4, 1.1);
      border: 1px solid rgba(201, 168, 76, 0.3);
      display: flex;
      flex-direction: column;
    }

    @keyframes modalEntrada {
      from {
        opacity: 0;
        transform: scale(0.95) translateY(20px);
      }
      to {
        opacity: 1;
        transform: scale(1) translateY(0);
      }
    }

    .modal-header {
      background: linear-gradient(135deg, var(--navy), var(--navy-mid));
      padding: 22px 28px;
      display: flex;
      align-items: center;
      gap: 18px;
      border-bottom: 3px solid var(--gold);
      flex-shrink: 0;
    }

    .modal-foto {
      width: 70px;
      height: 70px;
      border-radius: 50%;
      overflow: hidden;
      border: 2px solid var(--gold-light);
      flex-shrink: 0;
      background: var(--sky-light);
    }

    .modal-foto img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }

    .modal-foto .sin-foto-modal {
      width: 100%;
      height: 100%;
      background: var(--sky);
      display: flex;
      align-items: center;
      justify-content: center;
      color: white;
      font-weight: bold;
      font-size: 24px;
    }

    .modal-titles h3 {
      font-size: 22px;
      color: white;
      margin-bottom: 4px;
    }

    .modal-titles p {
      color: rgba(255, 255, 255, 0.85);
      font-size: 14px;
      font-weight: 500;
      letter-spacing: 0.5px;
    }

    .modal-body {
      padding: 28px;
      overflow-y: auto;
      flex: 1;
    }

    .modal-body p {
      font-size: 14px;
      line-height: 1.6;
      color: var(--text-muted);
      margin-bottom: 14px;
    }

    .modal-body h4 {
      font-size: 16px;
      font-weight: 700;
      color: var(--navy);
      margin: 18px 0 8px;
      border-left: 3px solid var(--gold);
      padding-left: 12px;
    }

    .modal-body h4:first-of-type {
      margin-top: 0;
    }

    .modal-body ul {
      list-style: none;
      margin-bottom: 16px;
    }

    .modal-body li {
      padding-left: 20px;
      position: relative;
      margin-bottom: 6px;
      font-size: 14px;
      color: var(--text-muted);
    }

    .modal-body li::before {
      content: "•";
      color: var(--gold);
      font-weight: bold;
      position: absolute;
      left: 4px;
    }

    .modal-footer {
      padding: 18px 28px;
      border-top: 1px solid var(--border);
      text-align: right;
      flex-shrink: 0;
    }

    .btn-cerrar-modal {
      background: var(--navy);
      color: white;
      border: none;
      padding: 8px 28px;
      border-radius: 40px;
      font-weight: 600;
      cursor: pointer;
      transition: background 0.2s;
    }

    .btn-cerrar-modal:hover {
      background: var(--navy-mid);
    }

    @media (max-width: 680px) {
      .modal-header {
        flex-direction: column;
        text-align: center;
      }
      .modal-titles h3 {
        font-size: 20px;
      }
      .directiva-grid {
        gap: 30px;
      }
      .miembro-foto {
        width: 130px;
        height: 130px;
      }
      .miembro-nombre {
        font-size: 20px;
      }
    }
/* ========================================
   AJUSTE VISUAL BLOQUE CURSOS HOME
======================================== */

.cursos .section-header {
  margin-bottom: 34px;
}

.cursos .section-header > div {
  width: 100%;
}

.cursos .section-title {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.cursos .section-title .iconocolorgold {
  flex-shrink: 0;
  font-size: 0.9em;
  line-height: 1;
}

.cursos-intro {
  max-width: 1040px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(14, 31, 77, 0.08);
  border-left: 4px solid var(--gold);
  border-radius: 18px;
  padding: 22px 24px 18px;
  box-shadow: 0 10px 24px rgba(14, 31, 77, 0.04);
}

.cursos-intro-texto {
  font-size: 16px;
  line-height: 1.75;
  color: var(--text);
  margin: 0;
}

.cursos-intro-texto + .cursos-intro-texto {
  margin-top: 8px;
}

.cursos-destacado {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.cursos-badge-destacado {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  border: 1px solid rgba(14, 31, 77, 0.08);
  border-radius: 999px;
  padding: 10px 14px;
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
  box-shadow: 0 8px 18px rgba(14, 31, 77, 0.04);
}

.cursos-badge-destacado i {
  color: var(--gold);
}

/* ========================================
   REVEAL / FADE-UP AL SCROLL
======================================== */

.reveal-up {
  opacity: 0;
  transform: translate3d(0, 34px, 0);
  transition:
    opacity 0.75s ease,
    transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}

.reveal-up.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

/* ========================================
   BOTÓN VOLVER ARRIBA
======================================== */

.scroll-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 54px;
  height: 54px;
  border: none;
  border-radius: 999px;
  background: var(--gold);
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 16px 32px rgba(14, 31, 77, 0.2);
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
  transition:
    opacity 0.25s ease,
    visibility 0.25s ease,
    transform 0.25s ease,
    background 0.2s ease;
  z-index: 1200;
}

.scroll-top i {
  font-size: 18px;
  line-height: 1;
}

.scroll-top.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-top:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
}

/* ========================================
   RESPONSIVE
======================================== */

@media (max-width: 760px) {
  .cursos .section-header {
    margin-bottom: 28px;
  }

  .cursos-intro {
    padding: 18px 18px 16px;
  }

  .cursos-badge-destacado {
    width: 100%;
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  .scroll-top {
    width: 48px;
    height: 48px;
    right: 16px;
    bottom: 16px;
  }
}

/* ========================================
   REDUCIR MOVIMIENTO
======================================== */

@media (prefers-reduced-motion: reduce) {
  .reveal-up {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  .scroll-top {
    transform: none;
    transition: opacity 0.2s ease, visibility 0.2s ease, background 0.2s ease;
  }

  .scroll-top:hover {
    transform: none;
  }
}

#beneficios,
#categorias,
#solicitud,
#aranceles,
#pago {
  scroll-margin-top: 120px;
}

/* ========================================
   MENU COMPLETO CORREGIDO
======================================== */

.nav-toggle,
.submenu-toggle {
  display: none;
}

.nav-item-row {
  display: flex;
  align-items: center;
}

/* Desktop: mantener estética original */
.nav-menu > li.has-submenu > .nav-item-row > a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 10px;
  font-size: 15px;
  font-weight: 500;
  color: #49536a;
  border-radius: 12px;
  transition: background 0.2s, color 0.2s;
  white-space: nowrap;
}

.nav-menu > li.has-submenu > .nav-item-row > a:hover,
.nav-menu > li.has-submenu:hover > .nav-item-row > a {
  background: #f4f5fb;
  color: var(--navy);
}

.nav-menu > li.has-submenu > .nav-item-row > a.has-sub::after {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  margin-left: 4px;
  vertical-align: middle;
}

.nav-menu > li.has-submenu:hover > .submenu,
.nav-menu > li.has-submenu:focus-within > .submenu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* =========================
   MOBILE / TABLET
========================= */
@media (max-width: 960px) {
  nav {
    position: sticky;
    top: 0;
  }

  .nav-inner {
    min-height: auto;
    padding: 12px 16px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 50px;
    align-items: center;
    column-gap: 12px;
    row-gap: 8px;
  }

  .nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
  }

  .nav-logo img {
    width: 68px;
    height: 68px;
    flex: 0 0 68px;
  }

  .nav-logo-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    line-height: 1.05;
    min-width: 0;
  }

  .nav-logo-text strong {
    font-size: 13px;
    line-height: 1.05;
    margin: 0;
  }

  .nav-logo-text span {
    font-size: 12px;
    line-height: 1.05;
    margin: 0;
  }

  .nav-toggle {
    display: inline-flex;
    width: 50px;
    height: 50px;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: #f8faff;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    justify-self: end;
    align-self: center;
  }

  .nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--navy);
    border-radius: 999px;
    transition: 0.25s ease;
  }

  .nav-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .nav-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .nav-menu {
    display: none;
    grid-column: 1 / -1;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    padding-top: 12px;
    margin-top: 4px;
    border-top: 1px solid rgba(14, 31, 77, 0.08);
  }

  .nav-menu.active {
    display: flex;
  }

  .nav-menu > li {
    width: 100%;
    padding-bottom: 0;
  }

  .nav-menu > li > a,
  .nav-item-row > a {
    width: 100%;
    display: flex;
    align-items: center;
    padding: 12px 14px;
    border: 1px solid var(--border);
    background: #f8faff;
    border-radius: 14px;
    white-space: normal;
  }

  .nav-item-row {
    width: 100%;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 44px;
    gap: 8px;
    align-items: stretch;
  }

  .nav-menu > li.has-submenu > .nav-item-row > a.has-sub::after {
    display: none;
  }

  .submenu-toggle {
    display: inline-flex;
    width: 44px;
    height: 44px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: #f8faff;
    color: var(--navy);
    cursor: pointer;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    transition: 0.25s ease;
  }

  .submenu-toggle i {
    font-size: 12px;
    transition: transform 0.25s ease;
  }

  .has-submenu.open > .nav-item-row .submenu-toggle i {
    transform: rotate(180deg);
  }

  .submenu {
    position: static;
    top: auto;
    left: auto;
    min-width: 0;
    width: 100%;
    margin-top: 8px;
    padding: 8px;
    border-radius: 14px;
    box-shadow: none;
    background: #ffffff;
    border: 1px solid var(--border);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    display: none;
    transform: none;
  }

  .has-submenu.open > .submenu {
    display: block;
  }

  .submenu li a {
    display: block;
    padding: 10px 12px;
    border-radius: 10px;
    white-space: normal;
  }

  .submenu li a:hover {
    background: var(--off-white);
  }

  .nav-menu > li:hover .submenu,
  .nav-menu > li:focus-within .submenu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .nav-cta {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 640px) {
  .nav-inner {
    padding: 10px 14px;
    grid-template-columns: minmax(0, 1fr) 48px;
    column-gap: 10px;
  }

  .nav-logo {
    gap: 10px;
  }

  .nav-logo img {
    width: 62px;
    height: 62px;
    flex: 0 0 62px;
  }

  .nav-logo-text strong {
    font-size: 12px;
  }

  .nav-logo-text span {
    font-size: 11px;
  }

  .nav-toggle {
    width: 48px;
    height: 48px;
  }
}

/* ========================================
   PÁGINA ESPECIALISTAS V2 (unificado)
======================================== */
.especialistas-v2 {
  background: linear-gradient(180deg, #ffffff 0%, #f6f8fd 100%);
  padding: 48px 0 88px;
}

.especialistas-v2-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.especialistas-v2-topcard {
  background: var(--white);
  border-radius: 28px;
  padding: 32px 40px;
  margin-bottom: 48px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.especialistas-v2-topcopy {
  flex: 2;
  min-width: 240px;
}

.especialistas-v2-intro {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-muted);
  margin-top: 8px;
  max-width: 780px;
}

.especialistas-v2-topactions {
  flex: 1;
  min-width: 260px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: stretch;
}

.especialistas-v2-summary-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
  margin-bottom: 56px;
}

.especialistas-v2-summary-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 22px 16px;
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: var(--shadow-soft);
}

.especialistas-v2-summary-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
  border-color: rgba(201, 168, 76, 0.2);
}

.especialistas-v2-summary-card i {
  font-size: 28px;
  color: var(--gold);
  margin-bottom: 12px;
  display: inline-block;
}

.especialistas-v2-summary-card h4 {
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}

.especialistas-v2-summary-card p {
  font-size: 13px;
  line-height: 1.6;
  color: var(--text-muted);
  margin: 0;
}

.especialistas-v2-score-block {
  margin-bottom: 48px;
  background: var(--off-white);
  border-radius: 28px;
  padding: 32px 28px;
  border: 1px solid var(--border);
}

.especialistas-v2-score-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 18px;
  margin-top: 28px;
}

.especialistas-v2-score-card {
  background: var(--white);
  border-radius: 24px;
  padding: 24px 16px;
  text-align: center;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--border);
}

.especialistas-v2-score-card span {
  display: block;
  font-size: 16px;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.especialistas-v2-score-card strong {
  font-size: 42px;
  font-weight: 800;
  color: var(--navy);
  line-height: 1;
  display: inline-block;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
}

.especialistas-v2-content-card {
  background: var(--white);
  border-radius: 28px;
  padding: 40px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
}

.especialistas-v2-info-grid {
  margin-top: 24px;
}

/* Ajuste para las tarjetas de información dentro de especialistas */
.especialistas-v2 .curso-info-card {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.especialistas-v2 .curso-info-card ul {
  flex: 1;
}

@media (max-width: 960px) {
  .especialistas-v2-topcard {
    flex-direction: column;
    align-items: flex-start;
    padding: 28px;
  }

  .especialistas-v2-topactions {
    width: 100%;
    flex-direction: row;
    flex-wrap: wrap;
  }

  .especialistas-v2-content-card {
    padding: 28px;
  }
}

@media (max-width: 640px) {
  .especialistas-v2-score-card strong {
    font-size: 34px;
  }

  .especialistas-v2-summary-card {
    padding: 16px;
  }

  .especialistas-v2-summary-card i {
    font-size: 24px;
  }

  .especialistas-v2-summary-card h4 {
    font-size: 16px;
  }

  .especialistas-v2-score-card span {
    font-size: 14px;
  }
}

/* Asegurar que las cards de info-grid ya existentes se vean bien */
.curso-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

/* ========================================
   PÁGINA SOCIOS V2
======================================== */
.socios-v2 {
  background: linear-gradient(180deg, #ffffff 0%, #f6f8fd 100%);
  padding: 48px 0 88px;
}

.socios-v2-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.socios-v2-topcard {
  background: var(--white);
  border-radius: 28px;
  padding: 32px 40px;
  margin-bottom: 48px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 32px;
}

.socios-v2-topcopy {
  flex: 2;
}

.socios-v2-intro {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-muted);
  margin-top: 8px;
}

.socios-v2-topactions {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.socios-v2-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 48px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--border);
}

.socios-v2-nav a {
  padding: 8px 20px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 40px;
  font-size: 14px;
  font-weight: 500;
  color: var(--navy);
  transition: all 0.2s ease;
}

.socios-v2-nav a:hover {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
}

.socios-v2-text {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-muted);
  margin-bottom: 32px;
}

.socios-v2-benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 16px;
}

.socios-v2-benefit-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 28px 24px;
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.socios-v2-benefit-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}

.socios-v2-benefit-icon {
  width: 64px;
  height: 64px;
  background: rgba(201, 168, 76, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.socios-v2-benefit-icon i {
  font-size: 28px;
  color: var(--gold);
}

.socios-v2-benefit-card h4 {
  font-size: 20px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 12px;
}

.socios-v2-benefit-card p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-muted);
  margin: 0;
}

.socios-v2-categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
  margin-bottom: 28px;
}

.socios-v2-category-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 28px;
  box-shadow: var(--shadow-soft);
}

.socios-v2-category-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--navy), var(--navy-mid));
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.socios-v2-category-icon i {
  font-size: 26px;
  color: var(--gold-light);
}

.socios-v2-category-card h4 {
  font-size: 24px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 20px;
}

.socios-v2-category-card ul {
  list-style: none;
  padding: 0;
}

.socios-v2-category-card li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 12px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-muted);
}

.socios-v2-category-card li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--gold);
  font-weight: bold;
}

.socios-v2-note {
  background: rgba(201, 168, 76, 0.08);
  border-left: 4px solid var(--gold);
  padding: 16px 24px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.socios-v2-note i {
  font-size: 24px;
  color: var(--gold);
}

.socios-v2-note span {
  font-size: 14px;
  color: var(--text-muted);
}

.socios-v2-docs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin: 32px 0;
}

.socios-v2-doc-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 24px;
  text-align: center;
  transition: all 0.2s ease;
}

.socios-v2-doc-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-soft);
}

.socios-v2-doc-card i {
  font-size: 36px;
  color: var(--gold);
  margin-bottom: 16px;
}

.socios-v2-doc-card h4 {
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}

.socios-v2-doc-card p {
  font-size: 13px;
  color: var(--text-muted);
  margin: 0;
}

.socios-v2-strong-note {
  background: var(--off-white);
  padding: 16px 24px;
  border-radius: 12px;
  margin-top: 24px;
  font-size: 14px;
  font-weight: 500;
  color: var(--navy);
  text-align: center;
}

.socios-v2-pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
  margin-top: 16px;
}

.socios-v2-price-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.socios-v2-price-card-head {
  background: linear-gradient(135deg, var(--navy), var(--navy-mid));
  padding: 24px;
  text-align: center;
}

.socios-v2-price-card-head h4 {
  font-size: 22px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 6px;
}

.socios-v2-price-card-head span {
  font-size: 13px;
  color: var(--gold-light);
}

.socios-v2-price-item {
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
}

.socios-v2-price-item:last-child {
  border-bottom: none;
}

.socios-v2-price-item p {
  font-size: 13px;
  line-height: 1.5;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.socios-v2-price-item strong {
  font-size: 24px;
  font-weight: 800;
  color: var(--gold);
  display: block;
}

.socios-v2-bank-strip {
  padding: 38px;
}

.socios-v2-bank-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 24px;
}

.socios-v2-bank-grid p {
  margin: 0;
}

.socios-v2-bank-grid a {
  color: var(--gold-light);
  text-decoration: underline;
}

.socios-v2-bank-grid i {
  color: var(--gold);
  margin-right: 8px;
}

@media (max-width: 960px) {
  .socios-v2-topcard {
    flex-direction: column;
    align-items: flex-start;
    padding: 28px;
  }

  .socios-v2-topactions {
    width: 100%;
    flex-direction: row;
    flex-wrap: wrap;
  }

  .socios-v2-bank-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .socios-v2-nav {
    justify-content: center;
  }
}

@media (max-width: 640px) {
  .socios-v2-benefits-grid,
  .socios-v2-categories-grid,
  .socios-v2-docs-grid,
  .socios-v2-pricing-grid {
    grid-template-columns: 1fr;
  }

  .socios-v2-price-item strong {
    font-size: 20px;
  }

  .socios-v2-category-card h4 {
    font-size: 20px;
  }
}

/* ========================================
   TABLA DE VALORES PARA CURSOS
 
======================================== */

.valores-curso-card {
  background: var(--white);
  border-radius: 28px;
  padding: 32px 28px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
}

.valores-curso-card .section-label {
  color: var(--gold);
}

.valores-curso-card .section-title {
  color: var(--navy);
  margin-bottom: 24px;
}

.valores-tabla {
  width: 100%;
  border-collapse: collapse;
}

.valores-tabla thead tr {
  border-bottom: 2px solid var(--gold);
}

.valores-tabla th {
  text-align: left;
  padding: 12px 8px;
  color: var(--navy);
  font-weight: 700;
}

.valores-tabla th:not(:first-child) {
  text-align: right;
}

.valores-tabla tbody tr {
  border-bottom: 1px solid var(--border);
}

.valores-tabla td {
  padding: 12px 8px;
  color: var(--text-muted);
}

.valores-tabla td:not(:first-child) {
  text-align: right;
}

.valores-tabla .badge-gold {
  color: var(--gold);
  font-size: 0.9em;
}

.valores-nota {
  margin-top: 20px;
  font-size: 13px;
  color: var(--text-muted);
  text-align: center;
}

.valores-nota i {
  margin-right: 6px;
}

/* Responsive para tabla en móviles */
@media (max-width: 640px) {
  .valores-tabla th,
  .valores-tabla td {
    padding: 10px 6px;
    font-size: 13px;
  }
}
 
    /* ========================================
   PÁGINA PRESIDENTES - ESTILOS ESPECÍFICOS
======================================== */

/* Tarjeta del presidente actual */
.president-card-current {
  background: linear-gradient(135deg, #ffffff 0%, #fef9f0 100%);
  border: 2px solid rgba(183, 147, 95, 0.3);
  border-radius: 1.5rem;
  padding: 1.25rem 2rem;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  max-width: 100%;
  width: 100%;
}

.president-card-current:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 32px rgba(0, 0, 0, 0.12);
}

/* Badge dorado para período actual */
.president-period-current {
  background: var(--color-oro);
  color: white;
}

/* Estilos para el contenido interno de la tarjeta actual */
.president-current-quote {
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(183, 147, 95, 0.2);
}

.president-current-quote p {
  font-size: 0.9rem;
  color: var(--color-texto-claro);
  margin-bottom: 0;
}

.president-current-quote i {
  color: var(--color-oro);
  margin-right: 0.5rem;
}

/* Contenedor para centrar la tarjeta actual */
.president-current-container {
  max-width: 700px;
  margin: 0 auto;
  width: 100%;
}

/* Estilos para los primeros presidentes (estilo simple, en fila) */
.founders-simple {
  margin: 2rem 0 2.5rem 0;
}

.founders-simple-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  margin-top: 1.5rem;
}

.founder-simple-item {
  text-align: center;
  min-width: 160px;
  padding: 1rem 1.5rem;
  background: var(--color-blanco);
  border-radius: 1rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  transition: transform 0.2s ease;
  border: 1px solid rgba(183, 147, 95, 0.15);
}

.founder-simple-item:hover {
  transform: translateY(-3px);
}

.founder-number {
  font-size: 0.8rem;
  font-weight: 600;
 
  letter-spacing: 1px;
  color: var(--color-oro);
  margin-bottom: 0.5rem;
}

.founder-name {
  font-size: 1.2rem;
  font-weight: 700;
 
  color: var(--color-texto);
}

/* Stats */
.president-stats {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  background: var(--color-blanco);
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  margin-bottom: 2rem;
}

.president-stats span {
  font-weight: 600;
  color: var(--color-oro);
}

/* Grid de presidentes */
.presidentes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.75rem;
  margin: 2rem 0;
}

.president-card {
  background: var(--color-blanco);
  border-radius: 1.5rem;
  padding: 1.75rem;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  border: 1px solid rgba(0, 0, 0, 0.05);
  position: relative;
  overflow: hidden;
}

.president-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--color-oro);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.president-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 32px rgba(0, 0, 0, 0.1);
}

.president-card:hover::before {
  opacity: 1;
}

.president-period {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--color-oro);
  margin-bottom: 0.75rem;
  display: inline-block;
  background: rgba(183, 147, 95, 0.1);
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
}

.president-name {
  font-size: 1.2rem;
  font-weight: 600;
 
  color: var(--color-texto);
  margin-bottom: 0.5rem;
}

.president-number {
  font-size: 0.9rem;
  color: var(--color-texto-claro);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.president-number i {
  color: var(--color-oro);
  font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
  .presidentes-grid {
    grid-template-columns: 1fr;
  }
  
  .founders-simple-grid {
    gap: 1rem;
  }
  
  .founder-simple-item {
    min-width: 130px;
    padding: 0.75rem 1rem;
  }
  
  .president-card-current {
    padding: 1rem 1.25rem;
  }
  
  .president-current-container {
    max-width: 100%;
    padding: 0 1rem;
  }
}

/* ========================================
   MEJORAS PARA LA SECCIÓN DE NOVEDADES
======================================== */

.novedades-section {
  background: var(--off-white);
  padding: 72px 0;
}

.novedad-card-thumb {
  height: 200px;
  background: #eef2f5;
  display: flex;
  align-items: center;
  justify-content: center;
}

.novedad-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.novedad-card:hover .novedad-card-thumb img {
  transform: scale(1.03);
}

.novedad-card-body {
  padding: 24px 26px 28px;
}

.novedad-card-date {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 12px;
}

.novedad-card h3 {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--navy);
  margin-bottom: 12px;
}

.novedad-card p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.novedad-card-link {
  color: var(--gold);
  font-weight: 600;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.2s ease;
}

.novedad-card-link:hover {
  gap: 10px;
  color: var(--gold-light);
}

@media (max-width: 760px) {
  .novedad-card-thumb {
    height: 180px;
  }
  
  .novedad-card h3 {
    font-size: 18px;
  }
}

/* ============================================
   CURSOS RENOVADOS CON IMÁGENES
   ============================================ */

.cursos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

/* Tarjeta de curso */
.curso-card {
  background: #ffffff;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.curso-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.1);
}

/* Encabezado visual sin fotos */
.curso-visual {
  position: relative;
  min-height: 108px;
  padding: 16px 18px;
  overflow: hidden;
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(14, 31, 77, 0.06);
  isolation: isolate;
}

.curso-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.22), transparent 28%),
    linear-gradient(135deg, rgba(14, 31, 77, 0.96) 0%, rgba(22, 45, 110, 0.92) 100%);
  z-index: 0;
}

.curso-visual::after {
  content: "";
  position: absolute;
  right: -18px;
  bottom: -26px;
  width: 94px;
  height: 94px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  z-index: 0;
}

.curso-visual-glow {
  position: absolute;
  inset: auto auto 10px 12px;
  width: 82px;
  height: 82px;
  border-radius: 50%;
  filter: blur(8px);
  opacity: 0.24;
  z-index: 0;
}

.curso-visual-icon {
  position: absolute;
  top: 50%;
  right: 16px;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(8px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
  z-index: 1;
}

.curso-visual-icon i {
  font-size: 21px;
  color: #ffffff;
}

/* Categoría (etiqueta flotante) */
.curso-categoria {
  position: relative;
  z-index: 2;
  max-width: calc(100% - 72px);
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: white;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.16);
  line-height: 1;
}

.curso-categoria i {
  font-size: 0.82rem;
}

/* Variantes por categoría */
.curso-visual.andrologia::before { background: radial-gradient(circle at top right, rgba(255, 255, 255, 0.24), transparent 30%), linear-gradient(135deg, #17385c 0%, #24517e 100%); }
.curso-visual.sexualidad::before { background: radial-gradient(circle at top right, rgba(255, 255, 255, 0.22), transparent 30%), linear-gradient(135deg, #7f2339 0%, #b33b5e 100%); }
.curso-visual.laboratorio::before { background: radial-gradient(circle at top right, rgba(255, 255, 255, 0.22), transparent 30%), linear-gradient(135deg, #1f5d57 0%, #2d8a7f 100%); }
.curso-visual.reproductiva::before { background: radial-gradient(circle at top right, rgba(255, 255, 255, 0.22), transparent 30%), linear-gradient(135deg, #4f3978 0%, #7651ad 100%); }
.curso-visual.cirugia::before { background: radial-gradient(circle at top right, rgba(255, 255, 255, 0.22), transparent 30%), linear-gradient(135deg, #8f4e13 0%, #c97c1f 100%); }
.curso-visual.integral::before { background: radial-gradient(circle at top right, rgba(255, 255, 255, 0.22), transparent 30%), linear-gradient(135deg, #1f5b73 0%, #2f8aa7 100%); }
.curso-visual.base::before { background: radial-gradient(circle at top right, rgba(255, 255, 255, 0.22), transparent 30%), linear-gradient(135deg, #41315f 0%, #69518f 100%); }
.curso-visual.endocrino::before { background: radial-gradient(circle at top right, rgba(255, 255, 255, 0.22), transparent 30%), linear-gradient(135deg, #9c4732 0%, #de785a 100%); }
.curso-visual.genetica::before { background: radial-gradient(circle at top right, rgba(255, 255, 255, 0.22), transparent 30%), linear-gradient(135deg, #1e6a65 0%, #2aa79c 100%); }
.curso-visual.diversidad::before { background: radial-gradient(circle at top right, rgba(255, 255, 255, 0.22), transparent 30%), linear-gradient(135deg, #8a5d1d 0%, #d0a23d 100%); }

.curso-visual.andrologia .curso-visual-glow { background: #69a5dd; }
.curso-visual.sexualidad .curso-visual-glow { background: #ff8aa8; }
.curso-visual.laboratorio .curso-visual-glow { background: #7ce2d6; }
.curso-visual.reproductiva .curso-visual-glow { background: #b59cff; }
.curso-visual.cirugia .curso-visual-glow { background: #ffc06b; }
.curso-visual.integral .curso-visual-glow { background: #7fd6f3; }
.curso-visual.base .curso-visual-glow { background: #c1a6ff; }
.curso-visual.endocrino .curso-visual-glow { background: #ffab91; }
.curso-visual.genetica .curso-visual-glow { background: #81ead7; }
.curso-visual.diversidad .curso-visual-glow { background: #ffe08a; }

.curso-categoria.andrologia { background: linear-gradient(135deg, #24517e, #17385c); }
.curso-categoria.sexualidad { background: linear-gradient(135deg, #b33b5e, #7f2339); }
.curso-categoria.laboratorio { background: linear-gradient(135deg, #2d8a7f, #1f5d57); }
.curso-categoria.reproductiva { background: linear-gradient(135deg, #7651ad, #4f3978); }
.curso-categoria.cirugia { background: linear-gradient(135deg, #c97c1f, #8f4e13); }
.curso-categoria.integral { background: linear-gradient(135deg, #2f8aa7, #1f5b73); }
.curso-categoria.base { background: linear-gradient(135deg, #69518f, #41315f); }
.curso-categoria.endocrino { background: linear-gradient(135deg, #de785a, #9c4732); }
.curso-categoria.genetica { background: linear-gradient(135deg, #2aa79c, #1e6a65); }
.curso-categoria.diversidad { background: linear-gradient(135deg, #d0a23d, #8a5d1d); }

/* Cuerpo de la tarjeta */
.curso-card-body {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* Modalidad */
.curso-modalidad {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #b8860b;
  background: #fef7e0;
  padding: 4px 12px;
  border-radius: 30px;
  width: fit-content;
  margin-bottom: 1rem;
}

.curso-card-body h3 {
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 1rem;
  color: #1a2a3a;
}

/* Grid de metadatos */
.curso-meta-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #eef2f5;
}

.curso-meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  color: #5a6e7c;
}

.curso-meta-item i {
  width: 16px;
  color: #b8860b;
  font-size: 0.8rem;
}

.curso-meta-item strong {
  font-weight: 600;
  color: #2c3e50;
}

/* Descripción */
.curso-descripcion {
  font-size: 0.9rem;
  line-height: 1.5;
  color: #3a4a5a;
  margin-bottom: 1.25rem;
  flex: 1;
}

/* Footer con botón */
.curso-footer {
  margin-top: auto;
  padding-top: 0.5rem;
}

.curso-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.85rem;
  color: #ffffff;
  text-decoration: none;
  transition: all 0.2s ease;
  letter-spacing: 0.3px;
}

.curso-cta i {
  transition: transform 0.2s ease;
}

.curso-cta:hover {
  color: #8b6508;
}

.curso-cta:hover i {
  transform: translateX(4px);
}

/* Responsive */
@media (max-width: 768px) {
  .cursos-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .curso-visual {
    min-height: 96px;
    padding: 14px 16px;
  }

  .curso-visual-icon {
    top: 50%;
    right: 14px;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 14px;
  }

  .curso-visual-icon i {
    font-size: 19px;
  }

  .curso-categoria {
    max-width: calc(100% - 62px);
    font-size: 0.64rem;
    padding: 7px 10px;
  }

  .curso-card-body {
    padding: 1.25rem;
  }
}
/* Variante evento en hero-stats */
.hero-stats-evento {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
}

.hero-stat-destacado {
  background: rgba(0, 0, 0, 0.3);
  border-radius: 20px;
  padding: 24px 28px;
  text-align: left;
}

.hero-evento-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gold);
  color: var(--navy);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  padding: 5px 12px;
  border-radius: 30px;
  margin-bottom: 16px;
  text-transform: uppercase;
}

.hero-evento-titulo {
  font-size: 26px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.hero-evento-titulo i {
  font-size: 22px;
}

.hero-evento-fecha,
.hero-evento-lugar,
.hero-evento-estado {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 8px;
}

.hero-evento-fecha i,
.hero-evento-lugar i,
.hero-evento-estado i {
  color: var(--gold);
  width: 18px;
}

.hero-evento-estado {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  font-style: italic;
  color: rgba(255, 255, 255, 0.6);
}

@media (max-width: 640px) {
  .hero-stat-destacado {
    padding: 18px;
  }
  .hero-evento-titulo {
    font-size: 20px;
    flex-wrap: wrap;
  }
}


/* ========================================
   AGENDA CIENTÍFICA
======================================== */

.agenda-hero {
  position: relative;
  overflow: hidden;
  padding: 86px 0 72px;
  background:
    radial-gradient(circle at top left, rgba(201, 168, 76, 0.22), transparent 30%),
    radial-gradient(circle at bottom right, rgba(125, 116, 216, 0.20), transparent 28%),
    linear-gradient(135deg, #0e1f4d 0%, #162d6e 48%, #223b86 100%);
  color: #fff;
}

.agenda-hero::after {
  content: "";
  position: absolute;
  inset: auto -80px -120px auto;
  width: 320px;
  height: 320px;
  background: rgba(255,255,255,0.06);
  border-radius: 50%;
  filter: blur(5px);
  pointer-events: none;
}

.agenda-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  gap: 28px;
  align-items: center;
}

.agenda-hero h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(38px, 6vw, 62px);
  font-weight: 700;
  line-height: 1;
  margin-bottom: 18px;
  letter-spacing: -0.04em;
}

.agenda-hero p {
  max-width: 760px;
  font-size: 17px;
  line-height: 1.8;
  color: rgba(255,255,255,0.82);
}

.agenda-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.agenda-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.12);
  font-size: 13px;
  color: #fff;
  backdrop-filter: blur(8px);
}

.agenda-aside {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 24px;
  padding: 28px;
  box-shadow: 0 20px 40px rgba(8, 20, 54, 0.20);
  backdrop-filter: blur(10px);
}

.agenda-aside h2 {
  font-size: 20px;
  margin-bottom: 12px;
  color: #fff;
}

.agenda-aside p {
  font-size: 15px;
  line-height: 1.7;
  color: rgba(255,255,255,0.78);
  margin-bottom: 16px;
}

.agenda-aside a {
  color: var(--gold-light);
  font-weight: 700;
}

.agenda-wrap {
  padding: 72px 0 92px;
  background: linear-gradient(180deg, #f8f7fd 0%, #ffffff 35%, #f9fbff 100%);
}

.agenda-intro {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 38px;
}

.agenda-intro .section-desc {
  max-width: 760px;
}

.agenda-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.agenda-card {
  position: relative;
  background: #fff;
  border: 1px solid rgba(14, 31, 77, 0.08);
  border-radius: 28px;
  padding: 28px;
  box-shadow: 0 22px 40px rgba(14, 31, 77, 0.08);
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.agenda-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 28px;
  padding: 1px;
  background: linear-gradient(135deg, rgba(201,168,76,0.28), rgba(125,116,216,0.22));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.agenda-card-top {
  display: flex;
  justify-content: flex-start;
  gap: 16px;
  margin-bottom: 18px;
  align-items: flex-start;
  flex-wrap: wrap;
}

.agenda-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: rgba(14, 31, 77, 0.06);
  border-radius: 999px;
  color: var(--navy);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.agenda-card h3 {
  font-size: clamp(24px, 3vw, 30px);
  line-height: 1.14;
  color: var(--navy);
  letter-spacing: -0.03em;
  margin-bottom: 10px;
}

.agenda-organiza {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
  margin-bottom: 18px;
  font-size: 14px;
  font-weight: 700;
  color: var(--gold);
  line-height: 1.5;
}

.agenda-organiza i {
  font-size: 15px;
  color: var(--gold);
}

.agenda-meta {
  display: grid;
  gap: 12px;
  margin-bottom: 18px;
}

.agenda-meta-item {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 12px;
  align-items: center;
}

.agenda-meta-icon {
  width: 40px;
  height: 40px;
  border-radius: 14px;
  background: #f1f4fb;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--cta-soft);
  font-size: 16px;
}

.agenda-meta strong {
  color: var(--navy);
  font-weight: 700;
  line-height: 1.5;
  display: block;
}

.agenda-desc {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.8;
  margin-bottom: 22px;
}

.agenda-actions {
  margin-top: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.agenda-actions .page-btn-primary,
.agenda-actions .page-btn-secondary {
  min-height: 46px;
}

@media (max-width: 960px) {
  .agenda-hero-grid,
  .agenda-grid {
    grid-template-columns: 1fr;
  }

  .agenda-hero {
    padding-top: 64px;
  }

  .agenda-card {
    padding: 24px;
  }
}

@media (max-width: 640px) {
  .agenda-hero h1 {
    font-size: 34px;
  }

  .agenda-hero p {
    font-size: 15px;
  }

  .agenda-aside,
  .agenda-card {
    border-radius: 22px;
  }

  .agenda-wrap {
    padding-top: 56px;
  }

  .agenda-meta-item {
    grid-template-columns: 34px 1fr;
    align-items: start;
  }

  .agenda-meta-icon {
    width: 34px;
    height: 34px;
    border-radius: 12px;
    font-size: 14px;
  }

  .agenda-actions a {
    width: 100%;
  }
}
    /* Estilos adicionales para eliminar completamente los textos */
  /* ========================================
   GALERIA - SACAR SOMBRA MINIATURA
   Y ELIMINAR COLUMNA DERECHA AZUL
======================================== */

/* 1) Miniatura: sacar sombra / banda oscura de abajo */
.galeria-card-overlay {
  display: none !important;
  background: transparent !important;
  opacity: 0 !important;
  box-shadow: none !important;
}

/* por las dudas, limpiar pseudo-elementos */
.galeria-card-overlay::before,
.galeria-card-overlay::after,
.galeria-card::before,
.galeria-card::after,
.galeria-card-media::before,
.galeria-card-media::after {
  content: none !important;
  display: none !important;
  background: transparent !important;
  box-shadow: none !important;
}

/* 2) Lightbox: dejar solo la imagen, sin columna derecha */
.galeria-lightbox-dialog {
  display: block !important;
  max-width: 90vw !important;
  width: auto !important;
  background: transparent !important;
  box-shadow: none !important;
  border: 0 !important;
}

.galeria-lightbox-info,
.galeria-lightbox-tag,
.galeria-lightbox-info h3,
.galeria-lightbox-info p {
  display: none !important;
  width: 0 !important;
  min-width: 0 !important;
  max-width: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  overflow: hidden !important;
  background: transparent !important;
  border: 0 !important;
}

/* 3) La imagen ampliada ocupa todo el espacio útil */
.galeria-lightbox-image-wrap {
  width: auto !important;
  max-width: 90vw !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

.galeria-lightbox-image-wrap img,
#lightboxImage {
  display: block !important;
  max-width: 90vw !important;
  max-height: 85vh !important;
  width: auto !important;
  height: auto !important;
  margin: 0 auto !important;
  box-shadow: none !important;
  background: transparent !important;
}

/* ============================================
   HERO EVENTO 50 ANIVERSARIO
============================================ */

.hero-evento-btn {
  background: var(--gold);
  color: var(--navy);
  border: none;
  border-radius: 999px;
  padding: 12px 20px;
  font-size: 14px;
  font-weight: 700;
  font-family: 'DM Sans', sans-serif;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 10px 24px rgba(14, 31, 77, 0.18);
}

.hero-evento-btn:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
}

.hero-evento-btn i {
  font-size: 14px;
}

/* ============================================
   MODAL INVITACIÓN
============================================ */

.modal-cv {
  display: none;
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(14, 31, 77, 0.8);
  backdrop-filter: blur(6px);
  z-index: 1000;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.modal-cv.active {
  display: flex;
  opacity: 1;
}

.modal-contenido {
  background: var(--white);
  max-width: 650px;
  width: 90%;
  max-height: 85vh;
  border-radius: 32px;
  box-shadow: 0 30px 50px rgba(0, 0, 0, 0.25);
  overflow: hidden;
  animation: modalEntrada 0.3s cubic-bezier(0.2, 0.9, 0.4, 1.1);
  border: 1px solid rgba(201, 168, 76, 0.3);
  display: flex;
  flex-direction: column;
}

@keyframes modalEntrada {
  from {
    opacity: 0;
    transform: scale(0.95) translateY(20px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.modal-header {
  background: linear-gradient(135deg, var(--navy), var(--navy-mid));
  padding: 22px 28px;
  display: flex;
  align-items: center;
  gap: 18px;
  border-bottom: 3px solid var(--gold);
  flex-shrink: 0;
}

.modal-titles h3 {
  font-size: 22px;
  color: white;
  margin-bottom: 4px;
}

.modal-titles p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.5px;
}

.modal-body {
  padding: 28px;
  overflow-y: auto;
  flex: 1;
}

.modal-footer {
  padding: 18px 28px;
  border-top: 1px solid var(--border);
  text-align: right;
  flex-shrink: 0;
}

.btn-cerrar-modal {
  background: var(--navy);
  color: white;
  border: none;
  padding: 8px 28px;
  border-radius: 40px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}

.btn-cerrar-modal:hover {
  background: var(--navy-mid);
}

.modal-contenido-invitacion {
  max-width: 820px;
  width: min(92vw, 820px);
}

.modal-body-invitacion {
  padding: 0;
  background: #f7f9ff;
}

.modal-body-invitacion {
  padding: 0;
  background: #f7f9ff;
  display: flex;
  justify-content: center;
  align-items: center;
}

.modal-body-invitacion img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
}

@media (max-width: 680px) {
  .modal-header {
    text-align: center;
    justify-content: center;
  }

  .modal-titles h3 {
    font-size: 20px;
  }

  .hero-evento-btn {
    width: 100%;
    justify-content: center;
  }
}
.curso-inscripcion-box {
  margin-top: 18px;
  padding: 16px;
  border-radius: 14px;
  background: linear-gradient(135deg, #f7f9ff, #eef2ff);
  border: 1px solid rgba(201, 168, 76, 0.25);
  text-align: center;
}

.curso-inscripcion-box p {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.curso-inscripcion-box a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: var(--navy);
  font-size: 15px;
}

.curso-inscripcion-box a i {
  color: var(--gold);
}

/* ========================================
   COMISIÓN DIRECTIVA
======================================== */

.comision-directiva {
  background: var(--white);
  padding: 60px 0 80px;
}

.comision-header {
  text-align: center;
  margin-bottom: 48px;
}

.comision-header .section-label {
  margin-bottom: 8px;
}

.comision-header .section-title {
  margin-bottom: 16px;
}

.comision-header .section-desc {
  max-width: 720px;
  margin: 0 auto;
}

.directiva-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 40px 30px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.miembro-card {
  background: var(--white);
  border-radius: 28px;
  padding: 32px 24px 28px;
  text-align: center;
  transition: all 0.3s ease;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
}

.miembro-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card);
  border-color: rgba(201, 168, 76, 0.3);
}

.miembro-foto {
  width: 160px;
  height: 160px;
  margin: 0 auto 20px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--sky-light);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 28px rgba(14, 31, 77, 0.12);
  border: 3px solid var(--gold-light);
  transition: transform 0.2s ease;
}

.miembro-card:hover .miembro-foto {
  transform: scale(1.02);
}

.miembro-foto img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.miembro-foto .sin-foto {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--sky), var(--navy-mid));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 48px;
  font-weight: 600;
  text-transform: uppercase;
}

.miembro-nombre {
  font-size: 22px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 6px;
  letter-spacing: -0.02em;
}

.miembro-cargo {
  font-size: 15px;
  color: var(--gold);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-bottom: 20px;
  background: rgba(201, 168, 76, 0.1);
  display: inline-block;
  padding: 4px 12px;
  border-radius: 40px;
}

.btn-cv {
  background: transparent;
  border: 1.5px solid var(--gold);
  color: var(--gold);
  padding: 8px 22px;
  font-size: 14px;
  font-weight: 600;
  border-radius: 40px;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: 'DM Sans', sans-serif;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-cv i {
  font-size: 13px;
  transition: transform 0.2s;
}

.btn-cv:hover {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
}

.btn-cv:hover i {
  transform: translateX(3px);
}

@media (max-width: 680px) {
  .directiva-grid {
    gap: 30px;
  }
  .miembro-foto {
    width: 130px;
    height: 130px;
  }
  .miembro-nombre {
    font-size: 20px;
  }
}

/* =========================
   BUSCADOR NAV
========================= */

.nav-search form {
  display: flex;
  align-items: center;
  background: #f4f5fb;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 4px;
  min-width: 190px;
}

.nav-search input {
  width: 140px;
  border: none;
  outline: none;
  background: transparent;
  padding: 7px 8px 7px 12px;
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  color: var(--text);
}

.nav-search input::placeholder {
  color: var(--text-muted);
}

.nav-search button {
  width: 30px;
  height: 30px;
  border: none;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-search button:hover {
  background: var(--navy-mid);
}

@media (max-width: 960px) {
  .nav-search {
    width: 100%;
  }

  .nav-search form {
    width: 100%;
  }

  .nav-search input {
    width: 100%;
  }
}
.nav-inner {
  min-height: 120px;
  align-items: center;
}

.nav-right {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}

.nav-search-top {
  display: flex;
  align-items: center;
  background: #f4f5fb;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 4px;
  width: 260px;
}

.nav-search-top input {
  flex: 1;
  border: none;
  outline: none;
  background: transparent;
  padding: 8px 10px 8px 14px;
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  color: var(--text);
}

.nav-search-top input::placeholder {
  color: var(--text-muted);
}

.nav-search-top button {
  width: 32px;
  height: 32px;
  border: none;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-search-top button:hover {
  background: var(--navy-mid);
}

@media (max-width: 960px) {
  .nav-inner {
    min-height: auto;
    align-items: flex-start;
    padding-top: 14px;
    padding-bottom: 14px;
  }

  .nav-right {
    align-items: flex-end;
  }

  .nav-search-top {
    width: 220px;
  }
}

@media (max-width: 640px) {
  .nav-inner {
    flex-direction: column;
    align-items: stretch;
  }

  .nav-right {
    width: 100%;
    align-items: stretch;
  }

  .nav-search-top {
    width: 100%;
  }
}

.busqueda-titulo-resultados {
  margin-bottom: 32px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border);
}

.busqueda-titulo-resultados span {
  display: block;
  font-size: 13px;
  color: var(--gold);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 6px;
}

.busqueda-titulo-resultados h2 {
  font-size: clamp(28px, 3vw, 40px);
  color: var(--navy);
  line-height: 1.15;
  margin: 0;
}

/* =========================
   SLIDER EVENTOS HERO
========================= */

.hero-stats-evento.slider-eventos {
  display: block;
  width: 100%;
  max-width: 520px;
  min-height: 255px;
  background: rgba(255, 255, 255, 0.35);
   
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 18px 46px rgba(9, 22, 58, 0.22);
  backdrop-filter: blur(12px);
}

.hero-stats-evento.slider-eventos::before {
  display: none;
}

.slider-eventos .slide {
  display: none;
  width: 100%;
  min-height: 255px;
  padding: 34px 38px;
  text-align: left;
  background: transparent;
}

.slider-eventos .slide.active {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.slider-eventos .hero-evento-badge {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 8px;
  width: auto;
  max-width: max-content;
  background: var(--gold);
  color: var(--navy);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 8px 16px;
  border-radius: 999px;
  margin-bottom: 22px;
}

.slider-eventos .hero-evento-titulo {
  color: var(--navy);
  font-size: 27px;
  font-weight: 800;
  line-height: 1.25;
  margin: 0 0 20px;
  letter-spacing: -0.03em;
}

.slider-eventos .hero-evento-fecha,
.slider-eventos .hero-evento-lugar {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: #26304d;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.45;
  margin-top: 9px;
}

.slider-eventos .hero-evento-fecha i,
.slider-eventos .hero-evento-lugar i {
  color: #26304d;
  width: 22px;
  min-width: 22px;
  margin-top: 6px;
}

.slider-eventos .hero-evento-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 24px;
  background: var(--gold);
  color: var(--navy);
  border: none;
  border-radius: 999px;
  padding: 13px 24px;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.slider-eventos .hero-evento-btn:hover {
  background: var(--gold-light);
  transform: translateY(-1px);
}

@media (max-width: 960px) {
  .hero-stats-evento.slider-eventos {
    max-width: 100%;
  }
}

@media (max-width: 640px) {
  .hero-stats-evento.slider-eventos {
    min-height: 235px;
  }

  .slider-eventos .slide {
    padding: 28px 24px;
    min-height: 235px;
  }

  .slider-eventos .hero-evento-titulo {
    font-size: 22px;
  }

  .slider-eventos .hero-evento-fecha,
  .slider-eventos .hero-evento-lugar {
    font-size: 13.5px;
  }
}