/* Páginas extendidas — diseños propios (sin plantilla Nicepage) */

.xe-body {
  margin: 0;
  min-height: 100vh;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

.xe-top {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(148, 163, 184, 0.15);
}

.xe-top-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0.75rem 1.25rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.xe-brand {
  font-weight: 800;
  letter-spacing: -0.03em;
  text-decoration: none;
  font-size: 1.05rem;
}

.xe-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 0.2rem 0.45rem;
  justify-content: flex-end;
  max-width: 820px;
}

.xe-menu a {
  text-decoration: none;
  font-size: 0.78rem;
  font-weight: 500;
  padding: 0.35rem 0.55rem;
  border-radius: 7px;
  transition: background 0.2s, color 0.2s;
}

.xe-foot {
  margin-top: auto;
  padding: 2rem 1.25rem;
  font-size: 0.85rem;
}

.xe-foot-inner {
  max-width: 1160px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  align-items: center;
}

.xe-foot a {
  color: inherit;
  opacity: 0.85;
  margin-left: 1rem;
}

.xe-foot a:hover {
  opacity: 1;
}

/* ——— Noticias ——— */
#xe-noticias.xe-body {
  background: linear-gradient(165deg, #070b14 0%, #111827 45%, #0f172a 100%);
  color: #e2e8f0;
  font-family: "DM Sans", system-ui, sans-serif;
  display: flex;
  flex-direction: column;
}

#xe-noticias .xe-top {
  background: rgba(7, 11, 20, 0.92);
}

#xe-noticias .xe-brand {
  color: #f8fafc;
}

#xe-noticias .xe-brand span {
  color: #c4b5fd;
}

#xe-noticias .xe-menu a {
  color: #cbd5e1;
}

#xe-noticias .xe-menu a:hover {
  background: rgba(139, 92, 246, 0.2);
  color: #fff;
}

#xe-noticias .xe-wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 2.5rem 1.25rem 4rem;
}

#xe-noticias .xe-kicker {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.72rem;
  color: #a78bfa;
  margin: 0 0 0.75rem;
}

#xe-noticias .xe-hero-title {
  font-family: "Newsreader", Georgia, serif;
  font-weight: 600;
  font-size: clamp(2rem, 4vw, 3.1rem);
  line-height: 1.15;
  margin: 0 0 1rem;
  color: #f8fafc;
}

#xe-noticias .xe-hero-lead {
  max-width: 38rem;
  color: #94a3b8;
  font-size: 1.05rem;
  margin: 0 0 2.5rem;
}

#xe-noticias .xe-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

#xe-noticias .xe-card {
  background: rgba(30, 41, 59, 0.65);
  border: 1px solid rgba(148, 163, 184, 0.12);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

#xe-noticias .xe-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

#xe-noticias .xe-card-body {
  padding: 1.25rem 1.35rem 1.5rem;
}

#xe-noticias .xe-card h2 {
  font-family: "Newsreader", Georgia, serif;
  font-size: 1.35rem;
  margin: 0 0 0.5rem;
  color: #f1f5f9;
}

#xe-noticias .xe-card p {
  margin: 0;
  font-size: 0.92rem;
  color: #94a3b8;
}

#xe-noticias .xe-foot {
  border-top: 1px solid rgba(148, 163, 184, 0.12);
  color: #64748b;
}

/* ——— Eventos ——— */
#xe-eventos.xe-body {
  background: #1c1410;
  color: #fef3c7;
  font-family: "Outfit", system-ui, sans-serif;
  display: flex;
  flex-direction: column;
}

#xe-eventos .xe-top {
  background: rgba(28, 20, 16, 0.95);
  border-color: rgba(251, 191, 36, 0.2);
}

#xe-eventos .xe-brand {
  color: #fffbeb;
}

#xe-eventos .xe-brand span {
  color: #fb923c;
}

#xe-eventos .xe-menu a {
  color: #fde68a;
}

#xe-eventos .xe-menu a:hover {
  background: rgba(251, 146, 60, 0.2);
  color: #fff;
}

#xe-eventos .xe-wrap {
  max-width: 720px;
  margin: 0 auto;
  padding: 2.75rem 1.25rem 4rem;
}

#xe-eventos .xe-hero-title {
  font-family: "Syne", sans-serif;
  font-weight: 700;
  font-size: clamp(1.85rem, 3.5vw, 2.6rem);
  margin: 0 0 0.5rem;
}

#xe-eventos .xe-hero-lead {
  color: #d6d3d1;
  margin: 0 0 2.5rem;
}

#xe-eventos .xe-timeline {
  border-left: 3px solid #ea580c;
  padding-left: 1.75rem;
  margin-left: 0.35rem;
}

#xe-eventos .xe-step {
  position: relative;
  margin-bottom: 2rem;
}

#xe-eventos .xe-step::before {
  content: "";
  position: absolute;
  left: -2.05rem;
  top: 0.35rem;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #fb923c;
  box-shadow: 0 0 0 4px rgba(251, 146, 60, 0.25);
}

#xe-eventos .xe-step h2 {
  font-family: "Syne", sans-serif;
  font-size: 1.15rem;
  margin: 0 0 0.35rem;
  color: #fff;
}

#xe-eventos .xe-step time {
  font-size: 0.8rem;
  color: #fdba74;
}

#xe-eventos .xe-step p {
  margin: 0.5rem 0 0;
  color: #d6d3d1;
  font-size: 0.95rem;
}

#xe-eventos .xe-banner {
  margin-top: 2rem;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(251, 191, 36, 0.25);
}

#xe-eventos .xe-banner img {
  width: 100%;
  display: block;
  max-height: 280px;
  object-fit: cover;
}

#xe-eventos .xe-foot {
  border-top: 1px solid rgba(251, 191, 36, 0.15);
  color: #a8a29e;
}

/* ——— Recursos ——— */
#xe-recursos.xe-body {
  background: #faf7f2;
  color: #1c1917;
  font-family: "IBM Plex Sans", system-ui, sans-serif;
  display: flex;
  flex-direction: column;
}

#xe-recursos .xe-top {
  background: rgba(250, 247, 242, 0.92);
  border-color: rgba(28, 25, 23, 0.08);
}

#xe-recursos .xe-brand {
  color: #1c1917;
}

#xe-recursos .xe-brand span {
  color: #0d9488;
}

#xe-recursos .xe-menu a {
  color: #44403c;
}

#xe-recursos .xe-menu a:hover {
  background: rgba(13, 148, 136, 0.12);
  color: #0f766e;
}

#xe-recursos .xe-wrap {
  max-width: 1080px;
  margin: 0 auto;
  padding: 2.5rem 1.25rem 3.5rem;
}

#xe-recursos .xe-hero-title {
  font-size: clamp(1.75rem, 3vw, 2.4rem);
  font-weight: 700;
  margin: 0 0 0.5rem;
}

#xe-recursos .xe-hero-lead {
  color: #57534e;
  max-width: 36rem;
  margin: 0 0 2rem;
}

#xe-recursos .xe-bento {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: minmax(120px, auto);
  gap: 1rem;
}

#xe-recursos .xe-b1 {
  grid-column: span 3;
  grid-row: span 2;
}

#xe-recursos .xe-b2 {
  grid-column: span 3;
}

#xe-recursos .xe-b3,
#xe-recursos .xe-b4,
#xe-recursos .xe-b5 {
  grid-column: span 2;
}

#xe-recursos .xe-cell {
  border-radius: 14px;
  padding: 1.25rem;
  background: #fff;
  border: 1px solid rgba(28, 25, 23, 0.06);
  box-shadow: 0 8px 30px rgba(28, 25, 23, 0.06);
}

#xe-recursos .xe-cell h2 {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
}

#xe-recursos .xe-cell p {
  margin: 0;
  font-size: 0.9rem;
  color: #57534e;
}

#xe-recursos .xe-cell img {
  width: 100%;
  border-radius: 10px;
  margin-top: 0.75rem;
  max-height: 200px;
  object-fit: cover;
}

@media (max-width: 900px) {
  #xe-recursos .xe-b1,
  #xe-recursos .xe-b2,
  #xe-recursos .xe-b3,
  #xe-recursos .xe-b4,
  #xe-recursos .xe-b5 {
    grid-column: 1 / -1;
  }
}

#xe-recursos .xe-foot {
  border-top: 1px solid rgba(28, 25, 23, 0.08);
  color: #78716c;
}

/* ——— Nosotros ——— */
#xe-nosotros.xe-body {
  background: #0c1222;
  color: #e2e8f0;
  font-family: "Source Sans 3", system-ui, sans-serif;
  display: flex;
  flex-direction: column;
}

#xe-nosotros .xe-top {
  background: rgba(12, 18, 34, 0.94);
}

#xe-nosotros .xe-brand {
  color: #f8fafc;
  font-family: "Playfair Display", Georgia, serif;
}

#xe-nosotros .xe-brand span {
  color: #fb7185;
}

#xe-nosotros .xe-menu a {
  color: #cbd5e1;
}

#xe-nosotros .xe-menu a:hover {
  background: rgba(251, 113, 133, 0.15);
  color: #fff;
}

#xe-nosotros .xe-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 52vh;
  align-items: stretch;
}

#xe-nosotros .xe-split-text {
  padding: 3rem 8vw 3rem max(1.25rem, 6vw);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

#xe-nosotros .xe-split-text h1 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(2rem, 3.5vw, 2.85rem);
  margin: 0 0 1rem;
  line-height: 1.2;
}

#xe-nosotros .xe-split-text p {
  margin: 0;
  color: #94a3b8;
  max-width: 28rem;
}

#xe-nosotros .xe-split-img {
  min-height: 320px;
}

#xe-nosotros .xe-split-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

#xe-nosotros .xe-stats {
  max-width: 960px;
  margin: -2rem auto 0;
  padding: 0 1.25rem 3rem;
  position: relative;
  z-index: 2;
}

#xe-nosotros .xe-stats-inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  background: #151d32;
  border: 1px solid rgba(148, 163, 184, 0.15);
  border-radius: 16px;
  padding: 1.5rem;
}

#xe-nosotros .xe-stat {
  text-align: center;
}

#xe-nosotros .xe-stat strong {
  display: block;
  font-size: 1.75rem;
  color: #fb7185;
  font-family: "Playfair Display", Georgia, serif;
}

#xe-nosotros .xe-stat span {
  font-size: 0.85rem;
  color: #94a3b8;
}

#xe-nosotros .xe-team {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 1.25rem 3rem;
}

#xe-nosotros .xe-team h2 {
  font-family: "Playfair Display", Georgia, serif;
  margin: 0 0 1rem;
}

#xe-nosotros .xe-team-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

#xe-nosotros .xe-person {
  flex: 1 1 200px;
  background: rgba(21, 29, 50, 0.8);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.1);
}

#xe-nosotros .xe-person img {
  width: 100%;
  height: 160px;
  object-fit: cover;
}

#xe-nosotros .xe-person div {
  padding: 0.85rem 1rem;
}

#xe-nosotros .xe-person h3 {
  margin: 0;
  font-size: 0.95rem;
}

#xe-nosotros .xe-person p {
  margin: 0.25rem 0 0;
  font-size: 0.8rem;
  color: #94a3b8;
}

@media (max-width: 800px) {
  #xe-nosotros .xe-split {
    grid-template-columns: 1fr;
  }

  #xe-nosotros .xe-split-img {
    min-height: 240px;
    order: -1;
  }

  #xe-nosotros .xe-stats-inner {
    grid-template-columns: 1fr;
  }
}

#xe-nosotros .xe-foot {
  border-top: 1px solid rgba(148, 163, 184, 0.12);
  color: #64748b;
}

/* ——— FAQ ——— */
#xe-faq.xe-body {
  background: #050508;
  color: #f4f4f5;
  font-family: "Sora", system-ui, sans-serif;
  display: flex;
  flex-direction: column;
}

#xe-faq .xe-top {
  background: rgba(5, 5, 8, 0.95);
  border-color: rgba(244, 244, 245, 0.08);
}

#xe-faq .xe-brand {
  color: #fafafa;
}

#xe-faq .xe-brand span {
  color: #38bdf8;
}

#xe-faq .xe-menu a {
  color: #a1a1aa;
}

#xe-faq .xe-menu a:hover {
  background: rgba(56, 189, 248, 0.12);
  color: #fff;
}

#xe-faq .xe-wrap {
  max-width: 680px;
  margin: 0 auto;
  padding: 3rem 1.25rem 4rem;
}

#xe-faq h1 {
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  font-weight: 600;
  margin: 0 0 0.5rem;
}

#xe-faq .xe-lead {
  color: #a1a1aa;
  margin: 0 0 2rem;
  font-size: 0.95rem;
}

#xe-faq details {
  border: 1px solid rgba(244, 244, 245, 0.1);
  border-radius: 12px;
  margin-bottom: 0.65rem;
  background: rgba(24, 24, 27, 0.6);
  overflow: hidden;
}

#xe-faq summary {
  padding: 1rem 1.1rem;
  cursor: pointer;
  font-weight: 500;
  list-style: none;
}

#xe-faq summary::-webkit-details-marker {
  display: none;
}

#xe-faq details[open] summary {
  border-bottom: 1px solid rgba(244, 244, 245, 0.08);
}

#xe-faq .xe-ans {
  padding: 0 1.1rem 1rem;
  color: #a1a1aa;
  font-size: 0.9rem;
}

#xe-faq .xe-thumb {
  margin-top: 2.5rem;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(56, 189, 248, 0.2);
}

#xe-faq .xe-thumb img {
  width: 100%;
  display: block;
  max-height: 200px;
  object-fit: cover;
}

#xe-faq .xe-foot {
  border-top: 1px solid rgba(244, 244, 245, 0.08);
  color: #71717a;
}
