/* ===========================================
   IX SIJAP 2026 — Convocatoria
   styles.css
   Paleta: azul marino profundo + dorado cálido + blanco hueso
   =========================================== */

/* -----------------------------------------------
   CSS VARIABLES — Paleta de colores
   Para modificar colores, cambia estas variables.
   ------------------------------------------------ */
:root {
  --color-primary: #1a2e4a;
  /* Azul marino oscuro */
  --color-primary-md: #2a4a7a;
  /* Azul marino medio */
  --color-accent: #c09a4a;
  /* Dorado cálido */
  --color-accent-lt: #e8c870;
  /* Dorado claro */
  --color-dark: #111827;
  /* Casi negro */
  --color-light: #f8f6f1;
  /* Blanco hueso */
  --color-neutral: #f0ede7;
  /* Gris cálido */
  --color-text: #2d3748;
  /* Texto principal */
  --color-text-muted: #718096;
  /* Texto secundario */
  --color-border: #e2ddd4;
  /* Bordes suaves */
  --color-white: #ffffff;

  /* Tipografía */
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Source Sans 3', system-ui, sans-serif;

  /* Espaciado */
  --section-py: 5rem;
  --radius-card: 12px;
  --shadow-card: 0 4px 24px rgba(26, 46, 74, 0.08);
  --shadow-hover: 0 8px 36px rgba(26, 46, 74, 0.16);
}

/* -----------------------------------------------
   BASE
   ------------------------------------------------ */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-white);
  font-size: 1rem;
  line-height: 1.7;
  overflow-x: hidden;
}

a {
  color: var(--color-primary-md);
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: var(--color-accent);
}

.py-section {
  padding-top: var(--section-py);
  padding-bottom: var(--section-py);
}

/* -----------------------------------------------
   NAVBAR
   ------------------------------------------------ */
#mainNav {
  background: var(--color-primary);
  border-bottom: 2px solid var(--color-accent);
  padding: 0.75rem 0;
  transition: background 0.3s, box-shadow 0.3s;
}

#mainNav.scrolled {
  background: rgba(26, 46, 74, 0.97);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
}

.brand-logo-img {
  height: 60px;
  max-height: 60px;
  width: auto;
  object-fit: contain;
  display: block;
}

.brand-divider {
  color: var(--color-accent);
  opacity: 0.7;
  margin: 0 4px;
}

.brand-event {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-accent-lt);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav-link {
  font-size: 0.875rem;
  font-weight: 400;
  letter-spacing: 0.03em;
  color: rgba(255, 255, 255, 0.82) !important;
  padding: 0.4rem 0.75rem !important;
  border-radius: 6px;
  transition: color 0.2s, background 0.2s;
}

.nav-link:hover {
  color: var(--color-accent-lt) !important;
  background: rgba(255, 255, 255, 0.06);
}

.btn-cta-nav {
  font-size: 0.825rem;
  font-weight: 600;
  color: var(--color-primary) !important;
  background: var(--color-accent);
  border: none;
  padding: 0.4rem 1rem;
  border-radius: 6px;
  letter-spacing: 0.03em;
  transition: background 0.2s, transform 0.15s;
}

.btn-cta-nav:hover {
  background: var(--color-accent-lt);
  transform: translateY(-1px);
}

/* -----------------------------------------------
   HERO
   ------------------------------------------------ */
.hero-section {
  position: relative;
  background: linear-gradient(135deg, var(--color-primary) 0%, #0f1e35 55%, #1d3a5a 100%);
  min-height: 92vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

/* Fondo geométrico decorativo */
.hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 75% 30%, rgba(192, 154, 74, 0.12) 0%, transparent 55%),
    radial-gradient(circle at 10% 80%, rgba(42, 74, 122, 0.35) 0%, transparent 50%);
  pointer-events: none;
}

.hero-section::after {
  content: '';
  position: absolute;
  top: -30%;
  right: -10%;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  border: 1px solid rgba(192, 154, 74, 0.1);
  pointer-events: none;
}

.min-vh-hero {
  min-height: 78vh;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.015'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.badge-org {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-accent-lt);
  border: 1px solid rgba(192, 154, 74, 0.4);
  border-radius: 4px;
  padding: 0.3rem 0.75rem;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 700;
  color: var(--color-white);
  line-height: 1.15;
  margin-bottom: 0.5rem;
}

.hero-subtitle {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  font-weight: 600;
  color: var(--color-accent);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.hero-partner-logo {
  display: block;
  max-height: 85px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
}

.meta-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.78);
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  padding: 0.35rem 0.85rem;
}

.meta-chip i {
  color: var(--color-accent);
}

.hero-desc {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.82);
  max-width: 560px;
  line-height: 1.75;
}

.deadline-note {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.65);
}

/* Botones hero */
.btn-primary-custom {
  display: inline-flex;
  align-items: center;
  background: var(--color-accent);
  color: var(--color-primary) !important;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.65rem 1.5rem;
  border-radius: 8px;
  border: 2px solid var(--color-accent);
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
}

.btn-primary-custom:hover {
  background: var(--color-accent-lt);
  border-color: var(--color-accent-lt);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(192, 154, 74, 0.35);
}

.btn-outline-custom {
  display: inline-flex;
  align-items: center;
  background: transparent;
  color: rgba(255, 255, 255, 0.88) !important;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.65rem 1.5rem;
  border-radius: 8px;
  border: 2px solid rgba(255, 255, 255, 0.25);
  transition: border-color 0.2s, color 0.2s, transform 0.15s;
}

.btn-outline-custom:hover {
  border-color: var(--color-accent);
  color: var(--color-accent) !important;
  transform: translateY(-2px);
}

/* Hero card decorativa */
.hero-card {
  width: 240px;
  height: 290px;
  border: 1px solid rgba(192, 154, 74, 0.3);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.hero-card::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: 17px;
  background: linear-gradient(135deg, rgba(192, 154, 74, 0.25), transparent 60%);
  z-index: -1;
}

.hero-card-inner {
  text-align: center;
}

.roman-num {
  font-family: var(--font-display);
  font-size: 5rem;
  font-weight: 700;
  color: var(--color-accent);
  line-height: 1;
}

.event-abbr {
  font-size: 1.8rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.9);
  letter-spacing: 0.15em;
}

.event-year {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 0.2em;
  margin-top: 0.25rem;
}

.folio-tag {
  margin-top: 1.5rem;
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.35);
  letter-spacing: 0.05em;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 0.75rem;
}

.hero-scroll-hint {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.3);
  animation: bounce 2s infinite;
}

@keyframes bounce {

  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }

  50% {
    transform: translateX(-50%) translateY(6px);
  }
}

/* -----------------------------------------------
   SECCIONES — Fondos alternados
   ------------------------------------------------ */
.section-light {
  background: var(--color-white);
}

.section-dark {
  background: var(--color-primary);
}

.section-neutral {
  background: var(--color-neutral);
}

.section-accent {
  background: var(--color-primary-md);
}

/* -----------------------------------------------
   SECTION HEADERS
   ------------------------------------------------ */
.section-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 0.5rem;
}

.section-tag.light {
  color: var(--color-accent-lt);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1.2;
  margin-bottom: 0.75rem;
}

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

.title-rule {
  width: 50px;
  height: 3px;
  background: linear-gradient(90deg, var(--color-accent), var(--color-accent-lt));
  border-radius: 2px;
  margin-top: 0.5rem;
}

/* -----------------------------------------------
   SECCIÓN ACERCA
   ------------------------------------------------ */
.content-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  padding: 2.25rem;
  box-shadow: var(--shadow-card);
}

.lead-text {
  font-size: 1.1rem;
  color: var(--color-primary);
  line-height: 1.75;
  margin-bottom: 1rem;
}

.objective-card {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-md) 100%);
  border-radius: var(--radius-card);
  padding: 2.25rem;
  color: rgba(255, 255, 255, 0.9);
}

.objective-icon {
  width: 56px;
  height: 56px;
  background: rgba(192, 154, 74, 0.15);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: var(--color-accent);
}

.objective-heading {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--color-white);
  margin-bottom: 0.75rem;
}

.objective-list {
  list-style: none;
  padding: 0;
  margin-top: 1rem;
}

.objective-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  margin-bottom: 0.6rem;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.85);
}

.objective-list li i {
  color: var(--color-accent);
  margin-top: 3px;
  flex-shrink: 0;
}

/* -----------------------------------------------
   BASES
   ------------------------------------------------ */
.base-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-card);
  padding: 2rem;
  color: rgba(255, 255, 255, 0.88);
  position: relative;
  transition: transform 0.25s, box-shadow 0.25s;
}

.base-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
}

.base-num {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 700;
  color: rgba(192, 154, 74, 0.2);
  line-height: 1;
  margin-bottom: -0.5rem;
  user-select: none;
}

.base-title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--color-white);
  margin-bottom: 1rem;
}

.areas-list {
  list-style: none;
  padding: 0;
  margin-top: 0.75rem;
}

.areas-list li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.85);
}

.areas-list li:last-child {
  border-bottom: none;
}

.areas-list li i {
  color: var(--color-accent);
  font-size: 1.1rem;
}

.docs-list {
  list-style: none;
  padding: 0;
  counter-reset: docs;
}

.docs-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.6rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.85);
}

.docs-list li:last-child {
  border-bottom: none;
}

.docs-list li i {
  color: var(--color-accent);
  font-size: 1.1rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.envio-card {
  background: rgba(192, 154, 74, 0.1);
  border: 1px solid rgba(192, 154, 74, 0.3);
  border-radius: var(--radius-card);
  padding: 1.5rem 2rem;
  color: rgba(255, 255, 255, 0.9);
}

.envio-card a {
  color: var(--color-accent-lt);
}

.envio-card a:hover {
  color: var(--color-white);
}

.envio-icon {
  width: 52px;
  height: 52px;
  background: var(--color-accent);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--color-primary);
  flex-shrink: 0;
}

.envio-title {
  color: var(--color-white);
  font-size: 1.1rem;
}

/* -----------------------------------------------
   TIMELINE
   ------------------------------------------------ */
.timeline {
  position: relative;
  padding-left: 2.5rem;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 10px;
  top: 10px;
  bottom: 10px;
  width: 2px;
  background: linear-gradient(180deg, var(--color-accent) 0%, var(--color-border) 100%);
}

.timeline-item {
  position: relative;
  margin-bottom: 2.25rem;
}

.timeline-item.final {
  margin-bottom: 0;
}

.timeline-dot {
  position: absolute;
  left: -2.22rem;
  top: 6px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--color-border);
  border: 3px solid var(--color-white);
  box-shadow: 0 0 0 2px var(--color-border);
  transition: all 0.3s;
}

.timeline-dot.active {
  background: var(--color-accent);
  box-shadow: 0 0 0 2px var(--color-accent), 0 0 12px rgba(192, 154, 74, 0.4);
}

.timeline-dot.highlight {
  background: var(--color-primary);
  box-shadow: 0 0 0 2px var(--color-primary-md), 0 0 16px rgba(26, 46, 74, 0.3);
  width: 20px;
  height: 20px;
  left: -2.4rem;
}

.timeline-content {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  padding: 1.25rem 1.5rem;
  box-shadow: var(--shadow-card);
  transition: transform 0.25s, box-shadow 0.25s;
}

.timeline-content:hover {
  transform: translateX(4px);
  box-shadow: var(--shadow-hover);
}

.timeline-content.highlight-content {
  border-color: var(--color-primary-md);
  background: var(--color-light);
}

.timeline-date {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 0.3rem;
}

.timeline-title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 0.4rem;
}

.timeline-desc {
  font-size: 0.92rem;
  color: var(--color-text-muted);
  margin-bottom: 0.5rem;
}

.deadline-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  color: #b45309;
  background: #fef3c7;
  border-radius: 20px;
  padding: 0.2rem 0.7rem;
}

.event-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-white);
  background: var(--color-primary);
  border-radius: 20px;
  padding: 0.2rem 0.7rem;
}

/* -----------------------------------------------
   PROGRAMA
   ------------------------------------------------ */
.program-table {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.program-row {
  display: flex;
  align-items: flex-start;
  gap: 0;
  border-bottom: 1px solid var(--color-border);
}

.program-row:last-child {
  border-bottom: none;
}

.prog-time {
  min-width: 130px;
  padding: 0.9rem 1rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--color-text-muted);
  background: var(--color-neutral);
  border-right: 1px solid var(--color-border);
  letter-spacing: 0.03em;
  line-height: 1.5;
}

.prog-content {
  flex: 1;
  padding: 0.9rem 1.25rem;
  background: var(--color-white);
}

.prog-type {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 600;
  border-radius: 4px;
  padding: 0.18rem 0.6rem;
  margin-bottom: 0.25rem;
  letter-spacing: 0.02em;
}

.prog-type.apertura {
  background: #dbeafe;
  color: #1d4ed8;
}

.prog-type.sesion {
  background: var(--color-primary);
  color: var(--color-white);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.prog-type.magistral {
  background: #fef9c3;
  color: #854d0e;
}

.prog-type.joven {
  background: #dcfce7;
  color: #15803d;
}

.prog-type.debate {
  background: #f3e8ff;
  color: #7e22ce;
}

.prog-type.intervalo {
  background: var(--color-neutral);
  color: var(--color-text-muted);
}

.prog-type.clausura {
  background: var(--color-primary);
  color: var(--color-white);
}

.prog-desc {
  font-size: 0.83rem;
  color: var(--color-text-muted);
}

.header-row {
  background: var(--color-light);
}

.session-header {
  background: rgba(26, 46, 74, 0.05);
}

.session-header .prog-content {
  background: rgba(26, 46, 74, 0.02);
}

.intervalo-row {
  opacity: 0.75;
}

.clausura-row .prog-content {
  background: var(--color-light);
}

/* -----------------------------------------------
   PREMIACIÓN
   ------------------------------------------------ */
.award-card {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-card);
  padding: 2.25rem;
  color: rgba(255, 255, 255, 0.88);
  transition: transform 0.25s;
}

.award-card:hover {
  transform: translateY(-4px);
}

.award-icon {
  font-size: 2.5rem;
  color: var(--color-accent);
  margin-bottom: 1rem;
}

.award-title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--color-white);
  margin-bottom: 0.75rem;
}

.prize-box {
  background: rgba(192, 154, 74, 0.15);
  border: 1px solid rgba(192, 154, 74, 0.35);
  border-radius: 10px;
  padding: 1rem 1.25rem;
  color: var(--color-accent-lt);
  font-size: 0.95rem;
  line-height: 1.6;
}

.sponsor-note {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.55);
}

.sponsor-note i {
  color: var(--color-accent);
}

.info-box {
  background: rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  padding: 1rem;
  font-size: 0.87rem;
  color: rgba(255, 255, 255, 0.7);
}

/* -----------------------------------------------
   TABLA DE ZONAS HORARIAS
   ------------------------------------------------ */
.timezone-table-wrap {
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--color-border);
}

.timezone-table {
  margin-bottom: 0;
  font-size: 0.9rem;
}

.timezone-table thead th {
  background: var(--color-primary);
  color: var(--color-white);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.85rem 1rem;
  border: none;
}

.timezone-table tbody tr {
  transition: background 0.15s;
}

.timezone-table tbody tr:hover {
  background: var(--color-neutral);
}

.timezone-table tbody td {
  padding: 0.6rem 1rem;
  border-color: var(--color-border);
  vertical-align: middle;
}

.table-reference td {
  background: rgba(192, 154, 74, 0.1);
  font-weight: 600;
  color: var(--color-primary);
}

/* -----------------------------------------------
   CONTACTO
   ------------------------------------------------ */
.contact-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-card);
  padding: 2rem 1.75rem;
  color: rgba(255, 255, 255, 0.88);
  transition: transform 0.25s, box-shadow 0.25s;
}

.contact-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
}

.contact-card h5 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--color-white);
  margin-bottom: 0.6rem;
}

.contact-card p {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.7);
}

.contact-card .small {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.5);
}

.contact-card a:not(.btn) {
  color: rgba(255, 255, 255, 0.55);
}

.contact-card a:not(.btn):hover {
  color: var(--color-accent-lt);
}

.contact-icon {
  font-size: 2rem;
  color: var(--color-accent);
  margin-bottom: 1rem;
}

.contact-name {
  font-weight: 600;
  color: var(--color-white) !important;
  font-size: 1rem !important;
}

.contact-email {
  display: block;
  font-size: 0.85rem;
  color: var(--color-accent-lt);
  word-break: break-all;
}

.contact-email:hover {
  color: var(--color-white);
}

/* Botón outline para fondo oscuro */
.section-dark .btn-outline-custom,
.section-accent .btn-outline-custom {
  color: rgba(255, 255, 255, 0.88) !important;
  border-color: rgba(255, 255, 255, 0.25);
}

/* -----------------------------------------------
   FOOTER
   ------------------------------------------------ */
.site-footer {
  background: var(--color-dark);
  color: rgba(255, 255, 255, 0.55);
}

.footer-brand {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.85);
}

.footer-sep {
  margin: 0 0.4rem;
  opacity: 0.4;
}

.footer-event {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-accent);
}

.footer-sub {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.38);
}

.footer-folio {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.45);
}

.footer-date {
  font-size: 0.78rem;
}

.footer-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.07);
}

.footer-copy {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.3);
}

.footer-copy a {
  color: rgba(255, 255, 255, 0.45);
}

.footer-copy a:hover {
  color: var(--color-accent);
}

/* -----------------------------------------------
   TOPBAR
   ------------------------------------------------ */
.topbar {
  background: var(--color-accent);
  padding: 0.35rem 0;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-primary);
}

.topbar a {
  color: var(--color-primary);
  font-weight: 700;
}

.topbar a:hover {
  color: var(--color-primary);
  text-decoration: underline;
}

/* -----------------------------------------------
   HERO SUB-PÁGINA
   ------------------------------------------------ */
.hero-sub {
  position: relative;
  background: linear-gradient(135deg, var(--color-primary) 0%, #0f1e35 55%, #1d3a5a 100%);
  padding: 5rem 0 4rem;
  overflow: hidden;
}

.hero-sub::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 75% 30%, rgba(192, 154, 74, 0.12) 0%, transparent 55%),
    radial-gradient(circle at 10% 80%, rgba(42, 74, 122, 0.35) 0%, transparent 50%);
  pointer-events: none;
}

.hero-sub .hero-title span {
  color: var(--color-accent);
}

/* -----------------------------------------------
   HERO IMAGE WRAP
   ------------------------------------------------ */
.hero-image-wrap {
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
  border: 3px solid rgba(192, 154, 74, 0.35);
}

.hero-image-wrap img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  display: block;
}

/* -----------------------------------------------
   SECTION GRADIENT (fondo degradado oscuro)
   ------------------------------------------------ */
.section-gradient {
  position: relative;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-md) 100%);
  overflow: hidden;
}

.section-gradient::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 90% 50%, rgba(192, 154, 74, 0.12) 0%, transparent 55%);
  pointer-events: none;
}

/* -----------------------------------------------
   UTILIDADES
   ------------------------------------------------ */
.text-accent {
  color: var(--color-accent) !important;
}

/* -----------------------------------------------
   BOTÓN SECUNDARIO (fondo oscuro, texto blanco)
   ------------------------------------------------ */
.btn-secondary-custom {
  display: inline-flex;
  align-items: center;
  background: var(--color-primary);
  color: var(--color-white) !important;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.65rem 1.5rem;
  border-radius: 8px;
  border: 2px solid var(--color-primary);
  transition: background 0.2s, border-color 0.2s, transform 0.15s, box-shadow 0.2s;
}

.btn-secondary-custom:hover {
  background: var(--color-primary-md);
  border-color: var(--color-primary-md);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(26, 46, 74, 0.3);
}

/* Botón outline para fondos claros */
.btn-outline-dark {
  display: inline-flex;
  align-items: center;
  background: transparent;
  color: var(--color-primary) !important;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.65rem 1.5rem;
  border-radius: 8px;
  border: 2px solid rgba(26, 46, 74, 0.5);
  transition: border-color 0.2s, background 0.2s, color 0.2s, transform 0.15s;
}

.btn-outline-dark:hover {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: var(--color-white) !important;
  transform: translateY(-2px);
}

/* btn-outline-custom en sección con degradado */
.section-gradient .btn-outline-custom {
  color: rgba(255, 255, 255, 0.88) !important;
  border-color: rgba(255, 255, 255, 0.25);
}

/* -----------------------------------------------
   INFO CARD (fondo claro, variante de content-card)
   ------------------------------------------------ */
.info-card {
  background: var(--color-light);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  padding: 2rem;
  height: 100%;
  box-shadow: var(--shadow-card);
  transition: box-shadow 0.25s, transform 0.25s;
}

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

.info-icon {
  width: 56px;
  height: 56px;
  background: var(--color-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.2rem;
  font-size: 1.5rem;
  color: var(--color-accent);
}

/* -----------------------------------------------
   AGENDA ITEMS
   ------------------------------------------------ */
.agenda-item {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  padding: 1.25rem 1.5rem;
  background: var(--color-white);
  border-radius: var(--radius-card);
  border-left: 4px solid var(--color-primary-md);
  margin-bottom: 1rem;
  box-shadow: 0 2px 8px rgba(26, 46, 74, 0.07);
  transition: box-shadow 0.25s, transform 0.25s;
}

.agenda-item:last-child {
  margin-bottom: 0;
}

.agenda-item:hover {
  box-shadow: var(--shadow-card);
  transform: translateX(4px);
}

.agenda-item.accent {
  border-left-color: var(--color-accent);
}

.agenda-time {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--color-primary-md);
  white-space: nowrap;
  padding-top: 0.2rem;
  min-width: 110px;
  letter-spacing: 0.03em;
}

.agenda-item.accent .agenda-time {
  color: var(--color-accent);
}

.agenda-title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-primary);
  margin: 0;
}

.agenda-desc {
  font-size: 0.88rem;
  color: var(--color-text-muted);
  margin: 0.25rem 0 0;
}

/* -----------------------------------------------
   SPEAKER CARDS
   ------------------------------------------------ */
.speaker-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform 0.25s, box-shadow 0.25s;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.speaker-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}

.speaker-card-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  object-position: top center;
  display: block;
}

.speaker-card-body {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.speaker-card-footer {
  padding: 1rem 1.5rem;
  border-top: 1px solid var(--color-border);
  background: var(--color-neutral);
}

.speaker-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.25rem 0.65rem;
  border-radius: 20px;
  margin-bottom: 0.75rem;
}

.speaker-tag.magistral {
  background: rgba(26, 46, 74, 0.1);
  color: var(--color-primary);
}

.speaker-tag.joven {
  background: rgba(192, 154, 74, 0.18);
  color: #7a5c10;
}

.speaker-name {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 0.35rem;
}

.speaker-country {
  font-size: 0.82rem;
  color: var(--color-text-muted);
  margin-bottom: 0.75rem;
}

.speaker-bio {
  font-size: 0.85rem;
  color: var(--color-text);
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* -----------------------------------------------
   TIMEZONE BAND (sobre fondo oscuro)
   ------------------------------------------------ */
.timezone-band {
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-card);
  padding: 1.25rem 1.5rem;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.88rem;
}

.tz-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.4rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  gap: 1rem;
}

.tz-row:last-child {
  border-bottom: none;
}

.tz-time {
  font-weight: 700;
  color: var(--color-accent);
  white-space: nowrap;
}

/* -----------------------------------------------
   HIGHLIGHT QUOTE (bloque de cita destacada)
   ------------------------------------------------ */
.highlight-quote {
  background: var(--color-light);
  border-left: 5px solid var(--color-accent);
  border-radius: 0 var(--radius-card) var(--radius-card) 0;
  padding: 1.75rem 2rem;
  margin-bottom: 1.5rem;
}

.highlight-quote p {
  margin: 0;
  font-size: 1.05rem;
  color: var(--color-primary);
  line-height: 1.75;
}

/* -----------------------------------------------
   ACCORDION CUSTOM
   ------------------------------------------------ */
.accordion-custom .accordion-button {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  color: var(--color-primary);
  background: var(--color-white);
}

.accordion-custom .accordion-button:not(.collapsed) {
  color: var(--color-primary-md);
  background: var(--color-light);
  box-shadow: none;
}

.accordion-custom .accordion-item {
  border: 1px solid var(--color-border) !important;
  border-radius: var(--radius-card) !important;
  margin-bottom: 0.75rem;
  overflow: hidden;
}

.accordion-custom .accordion-body {
  font-size: 0.93rem;
  color: var(--color-text);
  background: var(--color-white);
}

/* -----------------------------------------------
   MODAL — Encabezado oscuro compartido
   ------------------------------------------------ */
.modal-dark .modal-header {
  background: var(--color-primary);
  border-bottom: 2px solid var(--color-accent);
  padding: 1rem 1.5rem;
}

.modal-dark .modal-title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-white);
}

.modal-dark .btn-close {
  filter: invert(1) brightness(0.75);
}

.modal-dark.modal-video .modal-body {
  padding: 0;
  background: #000;
}

/* Avatar circular en modal */
.modal-avatar {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid var(--color-accent);
  flex-shrink: 0;
}

/* Título de conferencia en modal ponente */
.conference-title {
  background: var(--color-light);
  border-left: 4px solid var(--color-accent);
  padding: 1rem 1.25rem;
  border-radius: 0 var(--radius-card) var(--radius-card) 0;
  font-family: var(--font-display);
  font-style: italic;
  color: var(--color-primary);
  margin: 1rem 0;
}

/* -----------------------------------------------
   FOOTER — Componentes extendidos
   ------------------------------------------------ */
.footer-heading {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 1.1rem;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.55rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.88rem;
  transition: color 0.2s;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.footer-links a:hover {
  color: var(--color-accent);
}

.footer-links a i {
  font-size: 0.75rem;
  opacity: 0.6;
}

.footer-desc {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.7;
  margin-top: 0.5rem;
}

.social-links {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.social-link {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.95rem;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.social-link:hover {
  background: var(--color-accent);
  color: var(--color-primary);
  border-color: var(--color-accent);
}

/* -----------------------------------------------
   BACK TO TOP
   ------------------------------------------------ */
#backToTop {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 44px;
  height: 44px;
  background: var(--color-primary);
  color: var(--color-white);
  border: none;
  border-radius: 50%;
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
  z-index: 999;
  transition: background 0.2s, transform 0.15s;
}

#backToTop:hover {
  background: var(--color-primary-md);
  transform: translateY(-3px);
}

#backToTop.visible {
  display: flex;
}

/* -----------------------------------------------
   ANIMACIONES (activadas por JS)
   ------------------------------------------------ */
[data-animate] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-animate="fade-left"] {
  transform: translateX(24px);
}

[data-animate="fade-right"] {
  transform: translateX(-12px);
}

[data-animate].visible {
  opacity: 1;
  transform: translate(0);
}

/* -----------------------------------------------
   RESPONSIVE
   ------------------------------------------------ */
@media (max-width: 991.98px) {
  .hero-section {
    min-height: auto;
    padding: 5rem 0 4rem;
  }

  .min-vh-hero {
    min-height: auto;
  }

  .hero-sub {
    padding: 4rem 0 3rem;
  }
}

@media (max-width: 767.98px) {
  :root {
    --section-py: 3.5rem;
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .hero-sub .hero-title {
    font-size: 1.85rem;
  }

  .hero-image-wrap {
    margin-top: 2rem;
  }

  .hero-image-wrap img {
    height: 240px;
  }

  .agenda-time {
    min-width: auto;
  }

  .agenda-item {
    flex-direction: column;
    gap: 0.4rem;
  }

  .timeline {
    padding-left: 2rem;
  }

  .timeline::before {
    left: 8px;
  }

  .timeline-dot {
    left: -1.85rem;
  }

  .prog-time {
    min-width: 95px;
    font-size: 0.75rem;
    padding: 0.75rem 0.6rem;
  }

  .content-card,
  .objective-card,
  .base-card {
    padding: 1.5rem;
  }
}

@media (max-width: 575.98px) {
  .program-row {
    flex-direction: column;
  }

  .prog-time {
    width: 100%;
    border-right: none;
    border-bottom: 1px solid var(--color-border);
  }
}