/* ============================================================
   MOODLE MOOT ECUADOR 2026 — Design System
   Paleta: Naranja Moodle #F98012, Azul Oscuro #0D1B2A, Blanco
   Tipografía: Outfit + Inter (Google Fonts)
   ============================================================ */

/* ----- RESET & BASE ----- */
*,
*::before,
*::after {
  box-sizing: border-box;
  /*margin: 0;*/
  /*padding: 0;*/
}

:root {
  --orange: #f98012;
  --orange-dark: #e06b00;
  --orange-light: #ffb25c;
  --navy: #0d1b2a;
  --navy-mid: #152230;
  --navy-light: #1e3048;
  --white: #ffffff;
  --off-white: #f5f7fa;
  --gray-100: #f0f2f5;
  --gray-300: #d1d5db;
  --gray-500: #6b7280;
  --gray-700: #374151;
  --text-dark: #1a2535;
  --font-head: "Outfit", sans-serif;
  --font-body: "Inter", sans-serif;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.12);
  --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.18);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background: var(--white);
  overflow-x: hidden;
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}
a {
  text-decoration: none;
}
ul {
  list-style: none;
}

h1,
h2,
h3,
h4,
h5 {
  font-family: var(--font-head);
  line-height: 1.2;
  font-weight: 700;
}

section {
  position: relative;
}

/* ----- UTILITIES ----- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
.section-pad {
  padding: 100px 0;
}
.section-pad-sm {
  padding: 70px 0;
}

.badge {
  display: inline-block;
  background: rgba(249, 128, 18, 0.15);
  color: var(--orange);
  font-family: var(--font-head);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 50px;
  border: 1px solid rgba(249, 128, 18, 0.3);
  margin-bottom: 16px;
}

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

.section-lead {
  max-width: 600px;
  line-height: 1.75;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1rem;
  padding: 14px 32px;
  border-radius: 50px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--orange), var(--orange-dark));
  color: var(--white);
  box-shadow: 0 4px 20px rgba(249, 128, 18, 0.4);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(249, 128, 18, 0.55);
}

.btn-outline {
  background: transparent;
  border-color: var(--white);
  color: var(--white);
}
.btn-outline:hover {
  background: var(--white);
  color: var(--navy);
}

/* ----- SCROLL ANIMATIONS ----- */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition:
    opacity 0.65s ease,
    transform 0.65s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 {
  transition-delay: 0.1s;
}
.reveal-delay-2 {
  transition-delay: 0.2s;
}
.reveal-delay-3 {
  transition-delay: 0.3s;
}
.reveal-delay-4 {
  transition-delay: 0.4s;
}
.reveal-delay-5 {
  transition-delay: 0.5s;
}

/* ============================================================
   NAVBAR
   ============================================================ */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: var(--transition);
  padding: 20px 0;
}
#navbar.scrolled {
  background: rgba(13, 27, 42, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 12px 0;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo img {
  height: 48px;
  width: auto;
  transition: var(--transition);
}
#navbar.scrolled .nav-logo img {
  height: 40px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav-links a {
  font-family: var(--font-head);
  padding: 8px 14px;
  border-radius: 8px;
  transition: var(--transition);
}
.nav-links a:hover {
  color: #FC9504;
  background: rgba(255, 255, 255, 0.1);
}

.nav-cta {
  font-family: var(--font-head);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--white) !important;
  background: var(--orange);
  padding: 10px 24px !important;
  border-radius: 50px !important;
  box-shadow: 0 4px 16px rgba(249, 128, 18, 0.4);
}
.nav-cta:hover {
  background: var(--orange-dark) !important;
  background: transparent !important;
  box-shadow: 0 6px 20px rgba(249, 128, 18, 0.5);
  transform: translateY(-1px);
}

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
}
.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}

/* ============================================================
   HERO
   ============================================================ */
#hero {
  min-height: 100vh;
  background:
    linear-gradient(
      to bottom,
      rgba(13, 27, 42, 0.72) 0%,
      rgba(13, 27, 42, 0.55) 30%,
      rgba(13, 27, 42, 0.65) 70%,
      rgba(13, 27, 42, 0.92) 100%
    ),
    url("../images/sedequito.png") center/cover no-repeat;
  background-color: var(--navy);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  /*padding: 120px 24px 80px;*/
  overflow: hidden;
}

/* Decorative orbs */
.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.35;
  pointer-events: none;
}
.hero-orb-1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--orange) 0%, transparent 70%);
  top: -200px;
  right: -200px;
  animation: orbFloat 8s ease-in-out infinite;
}
.hero-orb-2 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, #2a5fa5 0%, transparent 70%);
  bottom: -100px;
  left: -100px;
  animation: orbFloat 10s ease-in-out infinite reverse;
}
.hero-orb-3 {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, var(--orange-light) 0%, transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0.12;
  animation: orbFloat 12s ease-in-out infinite;
}

@keyframes orbFloat {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  33% {
    transform: translate(20px, -30px) scale(1.05);
  }
  66% {
    transform: translate(-15px, 15px) scale(0.95);
  }
}

/* Grid pattern overlay */
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 860px;
}

.hero-logo {
  margin: 0 auto 32px;
  animation: heroLogoFloat 4s ease-in-out infinite;
}

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

.hero-eyebrow {
  font-family: var(--font-head);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #ffc97a;
  margin-bottom: 20px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.9), 0 0 20px rgba(0, 0, 0, 0.6);
}

.hero-title {
  font-size: clamp(2.4rem, 6vw, 4rem);
  color: var(--white);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
  line-height: 1.1;
  text-shadow: 0 4px 16px rgba(0, 0, 0, 0.9), 0 8px 32px rgba(0, 0, 0, 0.6);
}
.hero-title span {
  color: var(--orange);
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 40px;
  font-weight: 500;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.9), 0 4px 20px rgba(0, 0, 0, 0.6);
}

.hero-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 48px;
}
.hero-meta-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 10px 20px;
}
.hero-meta-item svg {
  flex-shrink: 0;
  color: var(--orange);
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 30px;
}

/* Countdown */
.countdown {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}
.countdown-label {
  font-family: var(--font-head);
  margin-bottom: 16px;
  width: 100%;
}
.countdown-unit {
  text-align: center;
  min-width: 80px;
}
.countdown-value {
  display: block;
  font-family: var(--font-head);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  padding: 12px 8px 8px;
  line-height: 1;
  min-width: 80px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(8px);
}
.countdown-text {
  display: block;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-top: 8px;
}
.countdown-sep {
  font-size: 2rem;
  font-weight: 800;
  color: #FC9504;
  margin-bottom: 20px;
}

/* Scroll indicator */
.hero-scroll {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  animation: scrollBounce 2s ease-in-out infinite;
}
.hero-scroll svg {
  color: var(--orange);
}
@keyframes scrollBounce {
  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }
  50% {
    transform: translateX(-50%) translateY(8px);
  }
}

/* Wave divider */
.wave-divider {
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  line-height: 0;
}
.wave-divider svg {
  display: block;
  width: 100%;
}

/* ============================================================
   STATS BAR
   ============================================================ */
#stats-bar {
  background: var(--white);
  padding: 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-bottom: 1px solid var(--gray-100);
}
.stat-item {
  padding: 40px 24px;
  text-align: center;
  border-right: 1px solid var(--gray-100);
  transition: var(--transition);
}
.stat-item:last-child {
  border-right: none;
}
.stat-item:hover {
  background: var(--off-white);
}
.stat-number {
  font-family: var(--font-head);
  font-weight: 800;
  line-height: 1;
  margin-bottom: 8px;
}
.stat-number span {
  color: var(--orange);
}
.stat-label {
  font-weight: 500;
}

/* ============================================================
   ABOUT
   ============================================================ */
#about {
  background: var(--white);
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.about-text .section-lead {
  margin-bottom: 32px;
}
.about-features {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.about-feature {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px;
  background: #fff8f1;
  border-radius: var(--radius);
  border: 2px solid #fff8f1;
  transition: var(--transition);
}
.about-feature:hover {
  border-color: #FC9504;
  box-shadow: 0 4px 20px rgba(249, 128, 18, 0.1);
  transform: translateX(4px);
}
.feature-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #FC9504, var(--orange-dark));
  border-radius: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--white);
}
.feature-text h4 {
  font-weight: 600;
  margin-bottom: 4px;
}

.about-visual {
  position: relative;
}
.about-card-main {
  border-radius: var(--radius-lg);
  padding: 48px 48px 80px 48px;
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.about-card-main .card-icon {
  width: 60px;
  height: 60px;
  background: var(--orange);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  color: var(--white);
}


.about-card-float {
  position: absolute;
  background: var(--white);
  border-radius: var(--radius);
  padding: 16px 20px;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 12px;
}
.float-1 {
  bottom: -24px;
  left: -24px;
  min-width: 200px;
}
.float-2 {
  top: -24px;
  right: -24px;
  min-width: 180px;
}
.float-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.float-icon.orange {
  background: rgba(249, 128, 18, 0.12);
  color: var(--orange);
}
.float-icon.blue {
  background: rgba(21, 34, 48, 0.08);
  color: var(--navy);
}
.float-text strong {
  font-family: var(--font-head);
  font-size: 1.1rem;
  display: block;
  color: var(--navy);
}
.float-text span {
  font-size: 0.8rem;
  color: var(--gray-500);
}

/* ============================================================
   SPEAKERS
   ============================================================ */
#speakers {
  background: var(--off-white);
}
.speakers-header {
  text-align: center;
  margin-bottom: 60px;
}
.speakers-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}
.speakers-grid--extra {
  grid-template-columns: repeat(3, 1fr);
  margin-top: 28px;
}

/* Flip card */
.speaker-card {
  perspective: 1000px;
  height: 420px;
  cursor: pointer;
  position: relative;
}
.speaker-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.speaker-card:hover .speaker-inner {
  transform: scale(1.06);
}

.speaker-front,
.speaker-back {
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  overflow: hidden;
}

.speaker-front {
  background: var(--white);
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.35s ease;
}
.speaker-card:hover .speaker-front {
  box-shadow: var(--shadow-lg);
}
.speaker-front::after {
  content: "Ver perfil completo";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(13, 27, 42, 0.88) 0%, transparent 100%);
  color: var(--white);
  text-align: center;
  padding: 52px 20px 22px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0;
  transition: opacity 0.3s ease;
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
}
.speaker-card:hover .speaker-front::after {
  opacity: 1;
}
.speaker-photo {
  width: 100%;
  height: 280px;
  object-fit: cover;
  object-position: center top;
}
.speaker-info {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.speaker-name {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 4px;
}
.speaker-role {
  color: var(--orange);
  font-weight: 600;
}
.speaker-tag {
  display: inline-block;
  margin-top: 8px;
  background: var(--gray-100);
  color: var(--gray-500);
  padding: 3px 10px;
  border-radius: 20px;
}

.speaker-back {
  display: none; /* datos usados por el modal vía JS */
}
.speaker-back-name {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
}
.speaker-back-role {
  font-size: 0.82rem;
  color: var(--orange-light);
  font-weight: 600;
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}
.speaker-back-bio {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.65;
  overflow-y: auto;
  max-height: 240px;
}
.speaker-back-bio::-webkit-scrollbar {
  width: 3px;
}
.speaker-back-bio::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.05);
}
.speaker-back-bio::-webkit-scrollbar-thumb {
  background: var(--orange);
  border-radius: 2px;
}

.speakers-note {
  text-align: center;
  margin-top: 32px;
  font-size: 0.9rem;
  color: var(--gray-500);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

/* ============================================================
   SPEAKER MODAL
   ============================================================ */
.speaker-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.speaker-modal.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.speaker-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(13, 27, 42, 0.78);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.speaker-modal-dialog {
  position: relative;
  background: var(--white);
  border-radius: var(--radius-lg);
  max-width: 780px;
  width: 100%;
  max-height: 88vh;
  overflow: hidden;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.35);
  transform: scale(0.92) translateY(12px);
  transition: transform 0.38s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.speaker-modal.open .speaker-modal-dialog {
  transform: scale(1) translateY(0);
}
.speaker-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  border: none;
  font-size: 1.35rem;
  color: var(--navy);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  box-shadow: var(--shadow-sm);
  transition: background 0.2s ease, transform 0.2s ease;
  line-height: 1;
}
.speaker-modal-close:hover {
  background: var(--gray-100);
  transform: scale(1.1);
}
.speaker-modal-body {
  display: grid;
  grid-template-columns: 260px 1fr;
  max-height: 88vh;
}
.speaker-modal-photo-col {
  background: linear-gradient(160deg, var(--navy) 0%, #1a3050 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: hidden;
}
.speaker-modal-img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  object-position: center top;
  flex-shrink: 0;
}
.speaker-modal-tag-wrap {
  padding: 20px 20px 24px;
  text-align: center;
}
.speaker-modal-tag {
  display: inline-block;
  font-size: 0.78rem;
  background: rgba(249, 128, 18, 0.18);
  color: var(--orange-light);
  border: 1px solid rgba(249, 128, 18, 0.35);
  padding: 5px 14px;
  border-radius: 20px;
  font-weight: 500;
  line-height: 1.4;
}
.speaker-modal-info-col {
  padding: 48px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow-y: auto;
}
.speaker-modal-name {
  font-family: var(--font-head);
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
  line-height: 1.25;
}
.speaker-modal-role {
  font-size: 0.9rem;
  color: var(--orange);
  font-weight: 600;
  margin-bottom: 24px;
  line-height: 1.45;
}
.speaker-modal-divider {
  border: none;
  border-top: 1px solid var(--gray-100);
  margin-bottom: 20px;
}
.speaker-modal-bio {
  font-size: 0.95rem;
  color: var(--gray-700);
  line-height: 1.8;
}

@media (max-width: 640px) {
  .speaker-modal {
    padding: 0;
    align-items: flex-end;
  }
  .speaker-modal-dialog {
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    max-height: 92vh;
    transform: translateY(100%);
  }
  .speaker-modal.open .speaker-modal-dialog {
    transform: translateY(0);
    max-width: 360px;
  }
  .speaker-modal-body {
    grid-template-columns: 1fr;
    max-height: 92vh;
    overflow-y: auto;
  }
  .speaker-modal-photo-col {
    flex-direction: row;
    height: 130px;
    align-items: stretch;
  }
  .speaker-modal-img {
    width: 130px;
    height: 130px;
    flex-shrink: 0;
  }
  .speaker-modal-tag-wrap {
    align-items: center;
    padding: 0 20px;
  }
  .speaker-modal-info-col {
    padding: 28px 24px 36px;
    justify-content: flex-start;
  }
  .speaker-modal-name {
    font-size: 1.25rem;
  }
}


/* ============================================================
   AGENDA
   ============================================================ */
#agenda {
  background: var(--white);
}
.agenda-header {
  text-align: center;
  margin-bottom: 48px;
}

.agenda-tabs {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-bottom: 48px;
  flex-wrap: wrap;
}
.tab-btn {
  font-family: var(--font-head);
  font-weight: 600;
  padding: 12px 28px;
  border-radius: 50px;
  border: 2px solid var(--gray-300);
  background: var(--white);
  color: var(--gray-500);
  cursor: pointer;
  transition: var(--transition);
}
.tab-btn:hover {
  border-color: var(--orange);
  color: var(--orange);
}
.tab-btn.active {
  background: var(--orange);
  border-color: var(--orange);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(249, 128, 18, 0.35);
}

.tab-panel {
  display: none;
}
.tab-panel.active {
  display: block;
}

.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}
/*.timeline::before {*/
/*  content: "";*/
/*  position: absolute;*/
/*  left: 100px;*/
/*  top: 0;*/
/*  bottom: 0;*/
/*  width: 2px;*/
/*  background: linear-gradient(*/
/*    to bottom,*/
/*    var(--orange),*/
/*    rgba(249, 128, 18, 0.1)*/
/*  );*/
/*}*/

.timeline-item {
  display: flex;
  gap: 0;
  margin-bottom: 8px;
  align-items: flex-start;
}
.timeline-time {
  min-width: 100px;
  color: var(--orange);
  padding: 18px 16px 18px 0;
  text-align: right;
  flex-shrink: 0;
}
.timeline-dot {
  width: 14px;
  height: 14px;
  background: var(--orange);
  border-radius: 50%;
  border: 3px solid var(--white);
  box-shadow: 0 0 0 2px var(--orange);
  flex-shrink: 0;
  margin: 24px -6px 0;
  z-index: 1;
}
.timeline-content {
  flex: 1;
  transition: var(--transition);
}
.timeline-content ul {
  list-style: disc;
  margin-top: 6px;
  padding-left: 20px;
}
.timeline-content ul li {
  padding-left: 8px;
}
/* ============================================================
   FAQ
   ============================================================ */
#faq {
  background: var(--off-white);
}
.faq-header {
  text-align: center;
  margin-bottom: 56px;
}
.faq-header .section-lead {
  margin: 0 auto;
}

.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  align-items: start;
  /*max-width: 960px;*/
  margin: 0 auto;
}
@media (max-width: 768px) {
  .faq-grid {
    grid-template-columns: 1fr;
  }
}

.faq-item {
  background: var(--white);
  border-radius: var(--radius);
  border: 2px solid white;
  overflow: hidden;
  transition: var(--transition);
}
.faq-item:hover {
  box-shadow: var(--shadow-md);
}
.faq-item.open {
  border-color: #FC9504;
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 20px 24px;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-head);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--navy);
  transition: var(--transition);
}
.faq-question:hover {
  color: var(--orange);
}
.faq-item.open .faq-question {
  color: var(--orange);
}

.faq-icon {
  width: 28px;
  height: 28px;
  background: var(--gray-100);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: var(--transition);
  color: var(--gray-500);
}
.faq-item.open .faq-icon {
  background: var(--orange);
  color: var(--white);
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition:
    max-height 0.4s ease,
    padding 0.3s ease;
}
.faq-answer-inner {
  padding: 0 24px 20px;
  line-height: 1.75;
}
.faq-item.open .faq-answer {
  max-height: 400px;
}

/* WhatsApp button in FAQ */
.faq-whatsapp {
  text-align: center;
  margin-top: 40px;
  padding: 28px;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-100);
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
}
.faq-whatsapp p {
  color: var(--gray-500);
  margin-bottom: 16px;
}
.btn-whatsapp {
  background: #25d366;
  color: var(--white);
}
.btn-whatsapp:hover {
  background: #1ebd5b;
  transform: translateY(-2px);
}

/* ============================================================
   REGISTER
   ============================================================ */
#register {
  text-align: center;
  padding: 100px 24px;
  overflow: hidden;
}
#register::before {
  content: "";
  position: absolute;
  width: 600px;
  height: 600px;
  top: -200px;
  right: -200px;
  opacity: 0.2;
  pointer-events: none;
}
#register::after {
  content: "";
  position: absolute;
  width: 400px;
  height: 400px;
  bottom: -150px;
  left: -100px;
  opacity: 0.2;
  pointer-events: none;
}
.register-content {
  position: relative;
  z-index: 2;
}
.register-badge {
  display: inline-block;
  background: rgba(249, 128, 18, 0.2);
  color: var(--orange-light);
  border: 1px solid rgba(249, 128, 18, 0.4);
  font-family: var(--font-head);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 24px;
}
.register-title {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--white);
  margin-bottom: 16px;
}
.register-title span {
  color: var(--orange);
}
.register-lead {
  color: rgba(255, 255, 255, 0.7);
  margin: 0 auto 40px;
  line-height: 1.75;
}
.register-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.register-note {
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.register-note svg {
  color: var(--orange);
}

.venue-info {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 32px;
  margin-top: 48px;
  padding-top: 48px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.venue-item {
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255, 255, 255, 0.8);
}
.venue-item svg {
  color: var(--orange);
}

/* ============================================================
   ORGANIZERS
   ============================================================ */
#organizers {
  background: var(--white);
  padding: 70px 0;
}
.org-header {
  text-align: center;
  margin-bottom: 40px;
}
.org-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 48px;
}
.org-logo-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
}
.org-logo-item:hover {
  opacity: 1;
  filter: grayscale(0);
}

.org-logo-item span {
  font-size: 0.75rem;
  color: var(--gray-500);
  font-weight: 500;
  text-align: center;
}

/* ============================================================
   FOOTER
   ============================================================ */
#footer {
  padding: 60px 0 0;
}
.footer-main {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 60px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.footer-brand img {
  height: 80px;
  margin-bottom: 20px;
}
.footer-brand p {
  max-width: 300px;
}
.footer-socials {
  display: flex;
  gap: 12px;
  margin-top: 24px;
}
.social-link {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.6);
  transition: var(--transition);
}
.social-link:hover {
  background: var(--orange);
  border-color: var(--orange);
  color: var(--white);
  transform: translateY(-2px);
}
.footer-heading {
  font-family: var(--font-head);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 20px;
}
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-links a {
  color: rgba(255, 255, 255, 0.90);
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 6px;
}
.footer-links a:hover {
  color: var(--orange);
}
.footer-links a svg {
  width: 14px;
  height: 14px;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
}
.footer-contact-item svg {
  color: var(--orange);
  flex-shrink: 0;
  margin-top: 2px;
}
.footer-contact-item span {
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.5;
}
.footer-contact-item a {
  color: rgba(255, 255, 255, 0.55);
  transition: var(--transition);
}
.footer-contact-item a:hover {
  color: var(--orange);
}

.footer-bottom {
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p {
  color: rgba(255, 255, 255, 0.35);
}
.footer-bottom a {
  color: var(--orange);
}
.moodle-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50px;
  padding: 6px 16px;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.4);
}
.moodle-badge span {
  color: var(--orange);
  font-weight: 600;
}

/* ============================================================
   CAMPUS (SEDE)
   ============================================================ */
#sede {
  background: var(--white);
}

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

.campus-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  height: 100%;
  min-height: 400px;
}

.campus-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.campus-image:hover img {
  transform: scale(1.05);
}


/* ============================================================
   UBICACIÓN
   ============================================================ */
#ubicacion {
  /*background: var(--off-white);*/
}

.ubicacion-header {
  margin-bottom: 40px;
}

.ubicacion-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: stretch;
}

.ubicacion-cards {
  display: flex;
  flex-direction: column;
  gap: 20px;
  justify-content: center;
}

.ubicacion-card {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  background: #fff8f1;
  padding: 24px;
  border-radius: var(--radius);
  border: 2px solid #fff8f1;
  transition: var(--transition);
}

.ubicacion-card:hover {
  transform: translateY(-4px);
  border-color: var(--orange-light);
}

.ubicacion-card .card-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, #FC9504, var(--orange-dark));
  color: #ffffff;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.ubicacion-map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  min-height: 400px;
}

.ubicacion-map iframe {
  display: block;
  width: 100%;
  height: 100%;
}

/* ============================================================
   MOBILE MENU
   ============================================================ */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: rgba(13, 27, 42, 0.98);
  backdrop-filter: blur(16px);
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu a {
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.8);
  padding: 16px 32px;
  border-radius: 12px;
  transition: var(--transition);
  text-align: center;
}
.mobile-menu a:hover {
  color: var(--orange);
  background: rgba(255, 255, 255, 0.05);
}
.mobile-close {
  position: absolute;
  top: 24px;
  right: 24px;
  background: rgba(255, 255, 255, 0.08);
  border: none;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  cursor: pointer;
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}
.mobile-close:hover {
  background: var(--orange);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .campus-grid,
  .ubicacion-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .campus-image,
  .ubicacion-map {
    min-height: 300px;
  }
  .speakers-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-main {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .section-pad {
    padding: 70px 0;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .speakers-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .nav-links {
    display: none;
  }
  .nav-hamburger {
    display: flex;
  }
  .about-card-float {
    display: none;
  }
  .timeline::before {
    left: 72px;
  }
  .footer-main {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .speakers-grid {
    grid-template-columns: 1fr;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .countdown-value {
    font-size: 1.8rem;
    min-width: 60px;
  }
  .hero-meta {
    flex-direction: column;
    gap: 10px;
  }
}

@media (min-width: 768px) {
  .timeline::before {
    content: "";
    position: absolute;
    left: 100px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(
            to bottom,
            var(--orange),
            rgba(249, 128, 18, 0.1)
    );
  }
}