/* ═══════════════════════════════════════════════
   V CONGRESO AMENAZA SÍSMICA · GIASIS 2026
   style.css
═══════════════════════════════════════════════ */

/* === 1. VARIABLES === */
:root {
  --navy-deep:   #08132a;
  --navy:        #0d1b3e;
  --navy-mid:    #16254f;
  --navy-light:  #1e3163;
  --blue:        #4a9eff;
  --blue-light:  #7fc3ff;
  --blue-glow:   rgba(74, 158, 255, 0.25);
  --white:       #ffffff;
  --off-white:   #f8fafc;
  --light-bg:    #eef2f8;
  --border:      #dde4f0;
  --text-dark:   #1e293b;
  --text-mid:    #475569;
  --text-muted:  #94a3b8;
  --red:         #e84855;
  --green:       #22c55e;

  --font-head:  'Montserrat', sans-serif;
  --font-body:  'Inter', sans-serif;

  --radius-sm:  8px;
  --radius-md:  14px;
  --radius-lg:  24px;
  --shadow-sm:  0 2px 12px rgba(0,0,0,.08);
  --shadow-md:  0 8px 32px rgba(0,0,0,.12);
  --shadow-lg:  0 16px 38px rgba(0,0,0,.18);
  --transition: 0.3s ease;
}

/* === 2. BASE === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

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

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; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* === 3. LAYOUT === */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section {
  padding: 6rem 0;
}

.bg-light    { background: var(--off-white); }
.bg-white    { background: var(--white); }
.bg-navy     { background: var(--navy); }
.bg-navy-mid { background: var(--navy-mid); }

.txt-white  { color: var(--white) !important; }
.txt-muted  { color: var(--text-muted) !important; }

/* === 4. SECTION HEADERS === */
.section-head {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-tag {
  display: inline-block;
  font-family: var(--font-head);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--blue);
  background: rgba(74, 158, 255, .1);
  padding: .35rem 1rem;
  border-radius: 100px;
  margin-bottom: 1rem;
}

.tag-light {
  color: var(--blue-light);
  background: rgba(127, 195, 255, .15);
}

.section-head h2 {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1.2;
  margin-bottom: 1rem;
}

.section-lead {
  font-size: 1.05rem;
  color: var(--text-mid);
  max-width: 680px;
  margin: 0 auto;
  line-height: 1.8;
}

/* === 5. BUTTONS === */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-family: var(--font-head);
  font-size: .9rem;
  font-weight: 600;
  padding: .85rem 2rem;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--blue);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(74, 158, 255, .4);
}
.btn-primary:hover {
  background: #3388ee;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(74, 158, 255, .5);
}

.btn-pulse-wrap {
  position: relative;
  display: inline-flex;
}
.btn-pulse-wrap::before,
.btn-pulse-wrap::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 100px;
  border: 2px solid rgba(74, 158, 255, .7);
  animation: btnPulse 2s ease-out infinite;
  pointer-events: none;
}
.btn-pulse-wrap::after {
  animation-delay: .9s;
}

@keyframes btnPulse {
  0%   { transform: scale(1);    opacity: .8; }
  100% { transform: scale(1.45); opacity: 0; }
}

.btn-ghost {
  background: rgba(255,255,255,.12);
  color: var(--white);
  border: 1px solid rgba(255,255,255,.3);
  backdrop-filter: blur(4px);
}
.btn-ghost:hover {
  background: rgba(255,255,255,.2);
  transform: translateY(-2px);
}

.btn-outline-navy {
  background: transparent;
  color: var(--navy);
  border: 2px solid var(--navy);
}
.btn-outline-navy:hover {
  background: var(--navy);
  color: var(--white);
  transform: translateY(-2px);
}

/* === 6. NAVBAR === */

/* Logo GIASIS texto */
.giasis-logo {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}
.gl-main {
  font-family: var(--font-head);
  font-size: 1.45rem;
  font-weight: 900;
  color: var(--white);
  letter-spacing: .1em;
}
.gl-sub {
  font-family: var(--font-head);
  font-size: .6rem;
  font-weight: 500;
  color: var(--blue-light);
  letter-spacing: .15em;
  text-transform: uppercase;
}
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 999;
  padding: 1rem 0;
  transition: background .4s ease, padding .4s ease, box-shadow .4s ease;
}

.navbar.scrolled {
  background: rgba(8, 19, 42, .96);
  backdrop-filter: blur(12px);
  padding: .7rem 0;
  box-shadow: 0 2px 24px rgba(0,0,0,.4);
}

.nav-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem 0 3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo-img {
  height: 65px;
  width: auto;
  object-fit: contain;
  transition: var(--transition);
  opacity: .9;
}
.nav-logo-img:hover { opacity: 1; }

.nav-menu {
  display: flex;
  align-items: center;
  gap: .2rem;
}

.nav-link {
  font-family: var(--font-head);
  font-size: .82rem;
  font-weight: 500;
  letter-spacing: .03em;
  color: var(--white);
  padding: .4rem .9rem;
  border-radius: 100px;
  background: rgba(20, 80, 180, .55);
  border: 1px solid rgba(74, 158, 255, .5);
  backdrop-filter: blur(6px);
  transition: var(--transition);
}

.nav-link:hover {
  color: var(--white);
  background: rgba(20, 80, 180, .75);
  border-color: rgba(74, 158, 255, .8);
}

.nav-cta {
  background: #ffffff;
  color: #2272e8 !important;
  padding: .5rem 1.2rem;
  border-radius: 100px;
  margin-left: .5rem;
  border: 2px solid #2272e8;
  font-weight: 700;
}
.nav-cta:hover { background: #2272e8; color: var(--white) !important; }

/* Dropdown GIASIS */
.nav-dropdown { position: relative; }

.nav-chevron {
  font-size: .65rem;
  margin-left: .3rem;
  transition: transform .3s ease;
  vertical-align: middle;
}

.nav-dropdown:hover .nav-chevron,
.nav-dropdown.open .nav-chevron { transform: rotate(180deg); }

.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  background: rgba(8, 19, 42, .97);
  border: 1px solid rgba(74, 158, 255, .35);
  border-radius: var(--radius-md);
  backdrop-filter: blur(12px);
  min-width: 190px;
  padding: .6rem 0 .5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease, transform .25s ease;
  z-index: 1000;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown.open .nav-dropdown-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.nav-dropdown-menu li a {
  display: block;
  padding: .6rem 1.2rem;
  font-family: var(--font-head);
  font-size: .82rem;
  font-weight: 500;
  color: rgba(255,255,255,.85);
  transition: var(--transition);
}

.nav-dropdown-menu li a:hover {
  color: var(--blue-light);
  background: rgba(74, 158, 255, .1);
}

.nav-dropdown-menu li:not(:last-child) {
  border-bottom: 1px solid rgba(74,158,255,.12);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: .4rem;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-only { display: none; }

/* === 7. HERO === */
#hero {
  position: relative;
  height: 100vh;
  min-height: 640px;
  background: url('../img/Santiago_HD.jpg') center 35% / cover no-repeat;
  display: flex;
  align-items: center;
  overflow: hidden;
}

/* Overlay suave — más denso a la izquierda donde va el texto */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(8, 19, 42, 0.82) 0%,
    rgba(8, 19, 42, 0.60) 40%,
    rgba(8, 19, 42, 0.18) 70%,
    rgba(8, 19, 42, 0.04) 100%
  );
  z-index: 1;
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-top: 5rem;
}

/* Canvas de ondas sísmicas */
#seismic-canvas {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

/* Contenido anclado a la izquierda */
#hero .container {
  display: flex;
  justify-content: flex-start;
  padding-left: 5rem;
}

.hero-right {
  max-width: 540px;
  text-align: left;
}

.hero-brand {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 1.75rem;
}

.hero-logo-img {
  width: 115px;
  height: 115px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid rgba(74, 158, 255, .50);
  box-shadow: 0 0 36px rgba(74, 158, 255, .25);
  flex-shrink: 0;
  transition: var(--transition);
}
.hero-logo-img:hover {
  box-shadow: 0 0 38px rgba(74, 158, 255, .45);
  border-color: var(--blue);
}

.hero-brand-info {
  display: flex;
  flex-direction: column;
  gap: .4rem;
}

.hero-giasis-tag {
  display: inline-block;
  font-family: var(--font-head);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--blue-light);
  background: rgba(74, 158, 255, .14);
  border: 1px solid rgba(74, 158, 255, .3);
  padding: .28rem .9rem;
  border-radius: 100px;
  width: fit-content;
}

.hero-year-bg {
  font-family: var(--font-head);
  font-size: 2.8rem;
  font-weight: 900;
  color: rgba(255, 255, 255, .08);
  line-height: 1;
  letter-spacing: .05em;
}

/* ── Título ── */
.hero-title {
  font-family: var(--font-head);
  font-size: clamp(2.4rem, 5.5vw, 4.2rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.08;
  margin-bottom: 1.5rem;
  text-shadow:
    0 2px 8px rgba(0,0,0,.55),
    0 4px 18px rgba(0,0,0,.35);
}

.hero-v {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 1.1em;
  paint-order: stroke fill;
  -webkit-text-stroke: 5px #00d4ff;
  color: rgba(8, 19, 42, 0.88);
  text-shadow: 0 0 12px rgba(0, 212, 255, 0.8), 0 0 28px rgba(0, 212, 255, 0.4);
}

.hero-accent {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Meta: fecha, lugar, modalidad ── */
.hero-meta {
  display: flex;
  flex-direction: column;
  gap: .55rem;
  margin-bottom: 2rem;
}

.hero-meta-row {
  display: flex;
  align-items: center;
  gap: .7rem;
  font-family: var(--font-head);
  font-size: .92rem;
  font-weight: 500;
  color: rgba(255, 255, 255, .95);
  text-shadow: 0 1px 6px rgba(0,0,0,.9), 0 3px 12px rgba(0,0,0,.7);
}

.hero-meta-row i {
  color: var(--blue);
  width: 16px;
  text-align: center;
  font-size: .88rem;
  flex-shrink: 0;
}

/* ── Countdown ── */
.countdown-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  margin-bottom: 2rem;
}

.cd-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(74, 158, 255, .22);
  border-radius: var(--radius-md);
  padding: .9rem 1.3rem;
  min-width: 76px;
  backdrop-filter: blur(8px);
}

.cd-num {
  font-family: var(--font-head);
  font-size: 2rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
  font-variant-numeric: tabular-nums;
  text-shadow: 0 0 20px var(--blue-glow);
}

.cd-lbl {
  font-size: .62rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: .4rem;
}

.cd-sep {
  font-family: var(--font-head);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--blue);
  line-height: 1;
  margin-bottom: 1rem;
}

/* ── CTAs ── */
.hero-ctas {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ── Scroll hint ── */


/* ── Scroll hint ── */
.hero-scroll-hint {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
}

.scroll-circle {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .15);
  border: 2px solid rgba(255, 255, 255, .7);
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(4px);
  animation: scrollBounce 1.8s ease-in-out infinite;
  transition: background .3s;
}
.hero-scroll-hint:hover .scroll-circle { background: rgba(255, 255, 255, .28); }

.scroll-circle i { font-size: 1rem; color: var(--white); }

@keyframes scrollBounce {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(7px); }
}

/* === 8. SOBRE EL CONGRESO — rediseño 2026 === */

.sobre-dark {
  background: #07101e;
  position: relative;
  overflow: hidden;
  padding: 7rem 0;
}


/* Mapa de Chile — 3 paneles decorativos de fondo */
.chile-map-bg {
  position: absolute;
  inset: 0;
  display: flex;
  z-index: 0;
  pointer-events: none;
}

.chile-panel {
  flex: 1;
  position: relative;
  border-right: 1px solid rgba(34,114,232,0.07);
  overflow: hidden;
}
.chile-panel:last-child { border-right: none; }

.chile-map-div {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.chile-label {
  position: absolute;
  bottom: 1.2rem;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(34,114,232,0.5);
  z-index: 10;
  pointer-events: none;
}

/* Suprimir controles Leaflet innecesarios */
.leaflet-control-zoom,
.leaflet-control-attribution { display: none !important; }

/* Marcadores de epicentros (divIcon) */
.eq-marker {
  background: transparent !important;
  border: none !important;
}

.eq-center {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: #2272e8;
  opacity: 0.7;
}

.eq-pulse {
  position: absolute;
  top: 50%; left: 50%;
  border-radius: 50%;
  border: 1.5px solid #2272e8;
  transform: translate(-50%, -50%) scale(0.1);
  animation: eq-pulse-anim 3.5s ease-out infinite;
  opacity: 0;
}

@keyframes eq-pulse-anim {
  0%   { transform: translate(-50%,-50%) scale(0.1); opacity: 0.8; }
  65%  { opacity: 0.25; }
  100% { transform: translate(-50%,-50%) scale(1);   opacity: 0; }
}

/* Overlay */
.chile-overlay {
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.82);
  z-index: 1;
}

/* Layout split */
.sobre-split {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 5rem;
  align-items: center;
  position: relative;
  z-index: 2;
}

#sobre-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  pointer-events: none;
}

.sobre-dark::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(7, 16, 30, 0.62);
  z-index: 1;
  pointer-events: none;
}

/* Columna izquierda: stats */
.sobre-stats {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 1.75rem;
  padding: 0.5rem 2.5rem;
}

.sobre-stat { padding: 2rem 0; text-align: center; }

.sobre-stat-num {
  display: block;
  font-family: var(--font-head);
  font-size: clamp(3.8rem, 7vw, 6rem);
  font-weight: 900;
  color: #ffffff;
  line-height: 1;
  letter-spacing: -0.02em;
}

.sobre-stat-lbl {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  margin-top: 0.5rem;
}

.sobre-stat-sep {
  width: 80%;
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
}

/* Columna derecha: contenido */
.sobre-content h2 {
  color: #ffffff;
  font-size: clamp(1.9rem, 3.5vw, 2.9rem);
  margin-top: 0.8rem;
  line-height: 1.2;
}

.sobre-lead {
  color: #ffffff;
  margin-top: 1.2rem;
  font-size: 0.95rem;
  line-height: 1.85;
}

.sobre-dark .section-tag {
  color: #7fc3ff;
  background: rgba(127, 195, 255, 0.12);
}

/* Pills de disciplinas */
.disc-pills {
  display: grid;
  grid-template-columns: repeat(3, max-content);
  gap: 0.6rem;
  margin-top: 2.2rem;
}

.disc-pill {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1.5px solid rgba(255, 255, 255, 0.18);
  border-radius: 100px;
  padding: 0.5rem 1.1rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.82);
  box-shadow: none;
  transition: var(--transition);
  cursor: default;
}

.disc-pill i {
  color: #7fc3ff;
  font-size: 0.88rem;
}

.disc-pill:hover {
  background: var(--blue);
  border-color: var(--blue);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(34,114,232,0.4);
}

.disc-pill:hover i { color: #ffffff; }

/* Pills de info */
.sobre-info-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1.2rem;
}

.sobre-info-pill {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(34, 114, 232, 0.15);
  border: 1px solid rgba(34, 114, 232, 0.35);
  border-radius: 100px;
  padding: 0.4rem 0.9rem;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.75);
  transition: var(--transition);
}

.sobre-info-pill i {
  color: #7fc3ff;
  font-size: 0.82rem;
}

/* === 10. SPEAKERS === */
.speakers-section {
  background: linear-gradient(135deg, #1a3a6e 0%, #0d2144 35%, #07101e 70%, #030a14 100%);
  position: relative;
  overflow: hidden;
}

.speakers-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 10% 60%, rgba(34,114,232,0.28) 0%, transparent 50%),
    radial-gradient(ellipse at 90% 15%, rgba(80,170,255,0.20) 0%, transparent 45%);
  pointer-events: none;
  z-index: 0;
}

.speakers-section .container { position: relative; z-index: 1; }

.speakers-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.1rem;
  margin-bottom: 2rem;
}

.speaker-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(34,114,232,0.15);
  border-top: 3px solid #2272e8;
  box-shadow: 0 4px 24px rgba(0,0,0,0.25);
}
.speaker-card:hover {
  transform: translateY(-6px);
  border-top-color: #50aaff;
  box-shadow: 0 16px 48px rgba(34,114,232,0.30), 0 0 0 1px rgba(34,114,232,0.20);
}

.sp-photo {
  background: linear-gradient(135deg, var(--navy-mid), var(--navy-light));
  height: 220px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: rgba(255,255,255,.2);
  overflow: hidden;
}

.sp-photo-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.sp-info {
  padding: 1.1rem 1.25rem;
  background: rgba(255,255,255,0.04);
  border-top: 1px solid rgba(34,114,232,0.12);
}

.sp-badge {
  display: inline-block;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--blue);
  background: rgba(74,158,255,.15);
  padding: .25rem .75rem;
  border-radius: 100px;
  margin-bottom: .75rem;
}

.sp-name {
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: .4rem;
}

.sp-inst, .sp-topic {
  font-size: .85rem;
  color: #ffffff;
  margin-bottom: .3rem;
  display: flex;
  align-items: center;
  gap: .4rem;
}
.sp-inst i, .sp-topic i { color: var(--blue); }

.speakers-notice {
  text-align: center;
  color: var(--text-muted);
  font-size: .9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
}
.speakers-notice i { color: var(--blue); }

/* === 11. PROGRAMA === */
.prog-tabs {
  display: flex;
  gap: .75rem;
  margin-bottom: 2rem;
  justify-content: center;
  flex-wrap: wrap;
}

.prog-tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: .9rem 2rem;
  border: 2px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--white);
  cursor: pointer;
  transition: var(--transition);
  font-family: var(--font-head);
}
.prog-tab:hover {
  border-color: var(--blue);
  color: var(--blue);
}
.prog-tab.active {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
  box-shadow: var(--shadow-md);
}

.tab-wday {
  font-size: .75rem;
  font-weight: 500;
  letter-spacing: .05em;
  opacity: .7;
}
.tab-date {
  font-size: 1rem;
  font-weight: 800;
}

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

.sched-item {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 1.5rem;
  padding: 1.2rem 0;
  border-bottom: 1px solid var(--border);
  align-items: start;
}
.sched-item:last-of-type { border-bottom: none; }

.sched-time {
  font-family: var(--font-head);
  font-size: .82rem;
  font-weight: 600;
  color: var(--text-mid);
  padding-top: .3rem;
  white-space: nowrap;
}

.sched-event h4 {
  font-family: var(--font-head);
  font-size: .95rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: .2rem;
}
.sched-event p {
  font-size: .85rem;
  color: var(--text-muted);
}

.ev-tag {
  display: inline-block;
  font-size: .67rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: .2rem .7rem;
  border-radius: 100px;
  margin-bottom: .35rem;
}
.ev-admin   { background: #e8f4fd; color: #2563eb; }
.ev-open    { background: #f0fdf4; color: #16a34a; }
.ev-keynote { background: rgba(74,158,255,.12); color: var(--blue); }
.ev-break   { background: #fef9c3; color: #854d0e; }
.ev-session { background: #fdf4ff; color: #7c3aed; }
.ev-close   { background: #fff1f2; color: var(--red); }
.ev-curso   { background: #f0fdfa; color: #0d9488; }

.prog-note {
  margin-top: 1.5rem;
  font-size: .85rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: .4rem;
}
.prog-note i { color: var(--blue); }

.prog-schedule-note {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  font-size: .75rem;
  font-weight: 600;
  color: #b45309;
  background: #fffbeb;
  border: 1px solid #fcd34d;
  border-radius: 6px;
  padding: .2rem .6rem;
  margin-top: .4rem;
}
.prog-schedule-note i { font-size: .7rem; }

/* === 11b. PROGRAMA MÓVIL (acordeón) === */
.prog-mobile { display: none; margin-top: 1.5rem; }

.prog-mobile-hint {
  text-align: center;
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
}
.prog-mobile-hint i { color: var(--blue); }

.prog-day-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  margin-bottom: 0.75rem;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.prog-day-card summary {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1.1rem 1.25rem;
  cursor: pointer;
  list-style: none;
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--navy-deep);
  user-select: none;
}
.prog-day-card summary::-webkit-details-marker { display: none; }

.pdc-wday {
  font-size: 1rem;
  font-weight: 700;
  flex: 1;
}
.pdc-date {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--blue);
  background: rgba(34,114,232,0.10);
  padding: 0.2rem 0.65rem;
  border-radius: 100px;
}
.pdc-arrow {
  font-size: 0.75rem;
  color: var(--text-muted);
  transition: transform 0.3s ease;
}
.prog-day-card[open] .pdc-arrow { transform: rotate(180deg); }
.prog-day-card[open] summary { border-bottom: 1px solid var(--border); }

.pdc-body { padding: 0.75rem 1.25rem 1rem; }

/* === 12. TIMELINE === */
.timeline {
  display: flex;
  align-items: flex-start;
  max-width: 960px;
  margin: 0 auto 1rem;
  position: relative;
}

.tl-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  padding: 0 .6rem;
}

/* Línea horizontal entre puntos */
.tl-item:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 7px;
  left: 50%;
  width: 100%;
  height: 2px;
  background: rgba(74,158,255,.35);
  z-index: 0;
}

.tl-dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--navy-mid);
  border: 3px solid var(--blue);
  margin-bottom: 1rem;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
  transition: var(--transition);
}

.tl-item:hover .tl-dot {
  background: var(--blue);
  box-shadow: 0 0 0 6px var(--blue-glow);
}

.tl-dot-hl {
  background: var(--blue);
  width: 18px;
  height: 18px;
  box-shadow: 0 0 0 6px var(--blue-glow);
}

.tl-date {
  display: block;
  font-family: var(--font-head);
  font-size: .72rem;
  font-weight: 700;
  color: #1a6abf;
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: .35rem;
  text-align: center;
}

.tl-date-hl {
  color: var(--blue) !important;
}

.tl-card {
  background: #ffffff;
  border: 1px solid rgba(255,255,255,.9);
  border-radius: var(--radius-md);
  padding: .9rem 1rem;
  transition: var(--transition);
  box-shadow: 0 2px 12px rgba(0,0,0,.18);
  width: 100%;
  text-align: center;
}
.tl-card:hover {
  box-shadow: 0 4px 20px rgba(74,158,255,.25);
  border-color: rgba(74,158,255,.5);
}
.tl-card h4 {
  font-family: var(--font-head);
  font-size: .88rem;
  font-weight: 700;
  color: var(--navy-deep);
  margin-bottom: .3rem;
}
.tl-card p { font-size: .8rem; color: #444; margin: 0; }

.tl-card-hl {
  background: #ffffff;
  border-color: rgba(74,158,255,.6);
  box-shadow: 0 4px 20px rgba(74,158,255,.2);
}
.tl-card-hl h4 { color: var(--navy-deep); font-size: 1rem; }

/* === 13. COMITÉ ORGANIZADOR === */
.comite-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.comite-card {
  text-align: center;
  padding: 1.75rem 1.25rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(74,158,255,.15);
  transition: var(--transition);
}

.comite-card:hover {
  box-shadow: 0 4px 20px rgba(74,158,255,.15);
  border-color: rgba(74,158,255,.35);
}

.comite-avatar {
  width: 180px;
  height: 180px;
  border-radius: var(--radius-md);
  background: rgba(74,158,255,.1);
  border: 2px solid rgba(74,158,255,.3);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  font-size: 1.4rem;
  color: var(--blue);
}

.comite-card h4 {
  font-family: var(--font-head);
  font-size: .95rem;
  font-weight: 700;
  color: var(--navy-deep);
  margin-bottom: .25rem;
}

.comite-avatar-img {
  padding: 0;
  overflow: hidden;
}
.comite-avatar-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-md);
}

.comite-email {
  font-size: .78rem;
  color: var(--blue);
  text-decoration: none;
  margin-top: .3rem;
  display: block;
  word-break: break-all;
}
.comite-email:hover { text-decoration: underline; }

.comite-role {
  font-size: .82rem;
  font-weight: 600;
  color: var(--blue);
  margin-bottom: .2rem;
}

.comite-inst {
  font-size: .78rem;
  color: #666;
}

@media (max-width: 768px) {
  .comite-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .comite-grid { grid-template-columns: 1fr; }
}

/* === 14. PARTICIPA (inscripción 3 columnas) === */
.parti-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.parti-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem 2rem;
  overflow: hidden;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
  text-decoration: none;
  color: inherit;
}
.parti-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

/* Top accent bar */
.parti-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}
.parti-c1::before { background: var(--blue); }
.parti-c2::before { background: #7c3aed; }
.parti-c3::before { background: #0d9488; }

/* Large background number */
.parti-num {
  position: absolute;
  top: .5rem;
  right: 1.25rem;
  font-family: var(--font-head);
  font-size: 5rem;
  font-weight: 900;
  color: rgba(0,0,0,.04);
  line-height: 1;
  pointer-events: none;
  user-select: none;
}

.parti-icon {
  font-size: 2.2rem;
  margin-bottom: 1rem;
  transition: var(--transition);
}
.parti-c1 .parti-icon { color: var(--blue); }
.parti-c2 .parti-icon { color: #7c3aed; }
.parti-c3 .parti-icon { color: #0d9488; }

.parti-card h3 {
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: .6rem;
  transition: var(--transition);
}

.parti-card p {
  font-size: .88rem;
  color: var(--text-mid);
  line-height: 1.7;
  flex: 1;
  transition: var(--transition);
}

.parti-cta {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-family: var(--font-head);
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .04em;
  margin-top: 1.5rem;
  transition: var(--transition);
}
.parti-c1 .parti-cta { color: var(--blue); }
.parti-c2 .parti-cta { color: #7c3aed; }
.parti-c3 .parti-cta { color: #0d9488; }

/* Hover: fill card with accent */
.parti-c1:hover { background: var(--blue); border-color: var(--blue); }
.parti-c2:hover { background: #7c3aed; border-color: #7c3aed; }
.parti-c3:hover { background: #0d9488; border-color: #0d9488; }

.parti-card:hover h3,
.parti-card:hover p,
.parti-card:hover .parti-cta,
.parti-card:hover .parti-num { color: rgba(255,255,255,.9); }

.parti-card:hover .parti-icon { color: var(--white); }
.parti-card:hover::before { background: rgba(255,255,255,.3); }

/* === 14b. PARTICIPAR y PASADOS MÓVIL (cards compactos) === */
.past-mobile { display: none; margin-top: 1.5rem; }

.past-mini {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 1.25rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-left: 3px solid var(--blue);
  border-radius: var(--radius-md);
  margin-bottom: 0.65rem;
  text-decoration: none;
  transition: var(--transition);
}
.past-mini:hover { background: rgba(34,114,232,0.12); border-left-color: #7fc3ff; }

.past-mini-info { display: flex; flex-direction: column; gap: 0.15rem; flex: 1; }

.past-mini-year {
  font-family: var(--font-head);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #7fc3ff;
}

.past-mini-uni {
  font-size: 0.9rem;
  font-weight: 600;
  color: #ffffff;
}

.past-mini-city {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.42);
}

.past-mini-action {
  font-family: var(--font-head);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--blue);
  display: flex;
  align-items: center;
  gap: 0.3rem;
  margin-top: 0.25rem;
}

.past-mini-chevron { color: rgba(255,255,255,0.3); font-size: 0.85rem; flex-shrink: 0; }

/* === 14c. PARTICIPAR MÓVIL (cards compactos) === */
.parti-mobile { display: none; margin-top: 1.5rem; }

.parti-mini {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  margin-bottom: 0.75rem;
  text-decoration: none;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.parti-mini:hover { transform: translateX(4px); box-shadow: var(--shadow-md); }

.parti-mini-1 { border-left: 4px solid var(--blue); }
.parti-mini-2 { border-left: 4px solid #7c3aed; }
.parti-mini-3 { border-left: 4px solid #0d9488; }

.pm-info { display: flex; flex-direction: column; gap: 0.25rem; flex: 1; }

.pm-title {
  font-family: var(--font-head);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--navy-deep);
}

.pm-action {
  font-family: var(--font-head);
  font-size: 0.8rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.3rem;
}
.parti-mini-1 .pm-action { color: var(--blue); }
.parti-mini-2 .pm-action { color: #7c3aed; }
.parti-mini-3 .pm-action { color: #0d9488; }

.pm-chevron { color: var(--text-muted); font-size: 0.85rem; flex-shrink: 0; }

/* === 13b. INSCRIPCIÓN antigua (mantiene estilos por si se necesita) === */
.reg-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  max-width: 900px;
  margin: 0 auto;
}

.reg-card {
  background: var(--white);
  border: 2px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  text-align: center;
  position: relative;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}
.reg-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.reg-featured {
  border-color: var(--blue);
  box-shadow: 0 0 0 1px var(--blue), var(--shadow-md);
}

.reg-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--blue);
  color: var(--white);
  font-family: var(--font-head);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: .3rem 1rem;
  border-radius: 100px;
  white-space: nowrap;
}

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

.reg-card h3 {
  font-family: var(--font-head);
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 1.5rem;
}

.reg-list {
  text-align: left;
  margin-bottom: 1.5rem;
}
.reg-list li {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-size: .9rem;
  color: var(--text-mid);
  padding: .4rem 0;
  border-bottom: 1px solid var(--border);
}
.reg-list li:last-child { border-bottom: none; }
.reg-list i { color: var(--green); font-size: .85rem; }

.reg-price {
  font-family: var(--font-head);
  font-size: 2rem;
  font-weight: 900;
  color: var(--text-dark);
  margin-bottom: 1.25rem;
}

.reg-note {
  font-size: .8rem;
  color: var(--text-muted);
  margin-top: .75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .4rem;
}

/* === 14. RESÚMENES === */
.abs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.abs-info h3 {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: .5rem;
}
.abs-info h3 i { color: var(--blue); }

.pres-types { display: flex; flex-direction: column; gap: .75rem; margin-bottom: 1.5rem; }

.pres-type {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
}

.pres-icon {
  width: 40px;
  height: 40px;
  background: rgba(74,158,255,.1);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  font-size: 1.1rem;
  flex-shrink: 0;
}

.pres-type h4 {
  font-family: var(--font-head);
  font-size: .9rem;
  font-weight: 700;
  margin-bottom: .2rem;
}
.pres-type p { font-size: .82rem; color: var(--text-muted); }

.abs-list {
  list-style: disc;
  padding-left: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: .4rem;
}
.abs-list li { font-size: .9rem; color: var(--text-mid); }

.abs-actions { display: flex; flex-direction: column; gap: 1.5rem; }

.action-box {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.action-box-primary {
  background: var(--navy);
  border-color: var(--navy);
}
.action-box-primary h4,
.action-box-primary p { color: rgba(255,255,255,.85); }

.ab-icon {
  font-size: 2rem;
  color: var(--blue);
  margin-bottom: .75rem;
}

.action-box h4 {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: .5rem;
}

.action-box p { font-size: .875rem; color: var(--text-mid); margin-bottom: 1.25rem; }

.ab-deadline {
  font-size: .8rem;
  color: var(--text-muted);
  margin-top: .75rem;
  margin-bottom: 0 !important;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .4rem;
}

/* === 15. SEDE === */
#sede { border-top: 1px solid #d1d9e6; }

.venue-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 3rem;
  align-items: start;
}

.venue-info h3 {
  font-family: var(--font-head);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: .3rem;
}

.venue-univ {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 500;
  color: var(--blue);
  margin-bottom: 2rem;
}

.venue-details { display: flex; flex-direction: column; gap: 1.25rem; }

.venue-det {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.venue-det > i {
  color: var(--blue);
  font-size: 1.1rem;
  margin-top: .2rem;
  width: 20px;
  flex-shrink: 0;
}
.venue-det strong {
  display: block;
  font-family: var(--font-head);
  font-size: .85rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: .2rem;
}
.venue-det p { font-size: .9rem; color: var(--text-mid); line-height: 1.6; }

/* === 16. CONGRESOS PASADOS === */
.past-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.past-card {
  position: relative;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-top: 3px solid var(--blue, #2272e8);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  text-decoration: none;
  overflow: hidden;
  transition: var(--transition);
}

.past-card:hover {
  background: rgba(34, 114, 232, 0.10);
  border-color: var(--blue, #2272e8);
  transform: translateY(-5px);
  box-shadow: 0 16px 48px rgba(34, 114, 232, 0.22);
}

.past-num {
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  font-family: var(--font-head);
  font-size: 5rem;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.055);
  line-height: 1;
  letter-spacing: -0.04em;
  pointer-events: none;
  user-select: none;
}

.past-year {
  font-family: var(--font-head);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #7fc3ff;
}

.past-uni {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.3;
  margin-top: 0.3rem;
}

.past-city {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.42);
}

.past-city i {
  color: #7fc3ff;
  font-size: 0.72rem;
}

.past-cta {
  margin-top: auto;
  padding-top: 1.2rem;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: #7fc3ff;
  transition: var(--transition);
}

.past-card:hover .past-cta {
  color: #ffffff;
  gap: 0.7rem;
}

/* === 17. PATROCINADORES === */
.sponsors-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.sponsor-ph {
  width: 160px;
  height: 80px;
  background: var(--off-white);
  border: 2px dashed var(--border);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: .8rem;
  font-weight: 500;
  transition: var(--transition);
}
.sponsor-ph:hover {
  border-color: var(--blue);
  background: rgba(74,158,255,.05);
  color: var(--blue);
}

.sponsor-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: .75rem 1.25rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: #fff;
  transition: var(--transition);
}
.sponsor-logo img {
  height: 115px;
  width: auto;
  object-fit: contain;
  filter: grayscale(20%);
  transition: var(--transition);
}
.sponsor-logo:hover {
  border-color: var(--blue);
  box-shadow: 0 4px 16px rgba(74,158,255,.12);
}
.sponsor-logo:hover img { filter: grayscale(0%); }

.sponsor-easer img { width: 100%; height: auto; max-width: none; object-fit: contain; }
.sponsor-logo:nth-child(2) img { height: auto; max-height: 220px; width: 100%; }

.sponsors-note {
  text-align: center;
  font-size: .9rem;
  color: var(--text-mid);
}
.sponsors-note a {
  color: var(--blue);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* === 18. QUIÉNES SOMOS === */
.about-photo-section {
  position: relative;
  padding: 7rem 0;
  overflow: hidden;
}

.about-photo-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.about-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(7px);
  transform: scale(1.06);
}

.about-bg-overlay {
  position: absolute;
  inset: 0;
  background: rgba(8, 19, 42, 0.80);
}

.about-photo-content {
  position: relative;
  z-index: 2;
  text-align: center;
}

.about-center-logo {
  height: 70px;
  width: auto;
  margin: 1rem auto 0;
  max-width: none;
}

.about-photo-lead {
  font-family: var(--font-head);
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  font-weight: 600;
  color: var(--blue-light);
  font-style: italic;
  margin: 1.5rem auto 0;
  max-width: 680px;
  line-height: 1.5;
}

.about-photo-text {
  max-width: 760px;
  margin: 2.5rem auto 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.about-photo-text p {
  color: rgba(255,255,255,.85);
  line-height: 1.85;
  font-size: 1rem;
}

.about-socials {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: 2rem;
}

.about-socials-center {
  justify-content: center;
}

.about-uni-strip {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.1rem;
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.10);
  width: 100%;
}

.about-uni-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.20em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.32);
}

.about-uni-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.about-uni-logo {
  background: rgba(255, 255, 255, 0.93);
  border-radius: 0.75rem;
  padding: 0.65rem 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.about-uni-logo:hover {
  background: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.about-uni-logo img {
  height: 75px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
  display: block;
}

.social-btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-family: var(--font-head);
  font-size: .85rem;
  font-weight: 600;
  color: var(--blue-light);
  background: rgba(74,158,255,.12);
  border: 1px solid rgba(74,158,255,.25);
  padding: .5rem 1.1rem;
  border-radius: 100px;
  transition: var(--transition);
}
.social-btn:hover {
  background: var(--blue);
  color: var(--white);
  border-color: var(--blue);
}

/* === 19. FOOTER === */
footer { background: var(--navy-deep); }

.footer-main { padding: 4rem 0 3rem; }

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
  gap: 3rem;
}

.footer-logo {
  height: auto;
  width: 180px;
  object-fit: contain;
  margin-bottom: 1rem;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.footer-brand p {
  font-size: .9rem;
  color: rgba(255,255,255,.7);
  line-height: 1.6;
}
.footer-sub { color: var(--text-muted) !important; font-size: .8rem !important; }

.footer-links h5 {
  font-family: var(--font-head);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1rem;
}
.footer-links ul { display: flex; flex-direction: column; gap: .5rem; }
.footer-links a {
  font-size: .88rem;
  color: rgba(255,255,255,.6);
  transition: var(--transition);
}
.footer-links a:hover { color: var(--blue-light); }

.footer-contact h5 {
  font-family: var(--font-head);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1rem;
}
.footer-contact p {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-size: .88rem;
  color: rgba(255,255,255,.6);
  margin-bottom: .5rem;
}
.footer-contact i { color: var(--blue); width: 16px; }

.footer-socials {
  display: flex;
  gap: .75rem;
  margin-top: 1.25rem;
}
.footer-socials a {
  width: 38px;
  height: 38px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.6);
  font-size: 1rem;
  transition: var(--transition);
}
.footer-socials a:hover {
  background: var(--blue);
  border-color: var(--blue);
  color: var(--white);
  transform: translateY(-2px);
}

.footer-bar {
  background: rgba(0,0,0,.3);
  padding: 1.25rem 0;
  border-top: 1px solid rgba(255,255,255,.05);
}
.footer-bar p {
  font-size: .78rem;
  color: var(--text-muted);
  text-align: center;
}

/* === 20. BACK TO TOP === */
.btt {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 46px;
  height: 46px;
  background: var(--blue);
  color: var(--white);
  border-radius: var(--radius-sm);
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  z-index: 500;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: var(--transition);
}
.btt.visible {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0);
}
.btt:hover { background: #3388ee; transform: translateY(-2px); }


/* === 22. MEDIA QUERIES === */
@media (max-width: 1024px) {
  .sobre-split { gap: 3rem; }
  .speakers-grid { grid-template-columns: repeat(2, 1fr); }
  .venue-grid { grid-template-columns: 1fr; }
  .past-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}

@media (max-width: 768px) {
  .section { padding: 4rem 0; }

  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--navy-deep);
    flex-direction: column;
    align-items: flex-start;
    padding: 5rem 2rem 2rem;
    gap: .85rem;
    transition: right .4s ease;
    z-index: 998;
    box-shadow: -4px 0 24px rgba(0,0,0,.4);
  }
  .nav-menu.open { right: 0; }
  .nav-link { font-size: 1rem; width: 100%; padding: 1rem 1rem; }
  .nav-link:not(.nav-cta) { background: transparent; border: none; border-radius: 0; }
  .nav-link:not(.nav-cta):hover { background: rgba(255,255,255,0.07); }
  .nav-cta { margin-left: 0; width: auto; justify-content: center; padding: .5rem 1.75rem; backdrop-filter: none; }
  .nav-cta-li { order: -1; margin-bottom: 1.5rem; }
  .hamburger { display: flex; z-index: 999; }

  /* Hero — centrado en móvil */
  .hero-inner  { padding-top: 0; }
  #hero .container { padding-left: 1.25rem; }
  .hero-title  { font-size: clamp(2rem, 7vw, 3.2rem); margin-bottom: 1rem; }
  .hero-right  { max-width: 100%; margin-left: 0; }
  .hero-overlay { background: rgba(8,19,42,.65); }
  .hero-meta   { margin-bottom: 1.2rem; }
  .countdown-wrap { margin-bottom: 1.2rem; }
  .cd-block { min-width: 52px; padding: .5rem .65rem; }
  .cd-num   { font-size: 1.3rem; }
  .cd-lbl   { font-size: .6rem; }

  /* Sobre — ocultar stats, solo contenido */
  .sobre-split { grid-template-columns: 1fr; gap: 1.5rem; }
  .sobre-stats { display: none; }
  .disc-pills  { display: flex; flex-wrap: wrap; gap: 0.5rem; }

  /* Speakers 2×2 con foto + nombre + universidad visibles */
  .speakers-grid { grid-template-columns: repeat(2, 1fr); gap: 0.75rem; }
  .speaker-card  { height: auto; }
  .sp-photo      { height: 130px; }
  .sp-name       { font-size: 0.88rem; }
  .sp-inst       { font-size: 0.75rem; }
  .sp-info       { padding: 0.65rem 0.85rem; }
  .section-lead[style*="nowrap"] { white-space: normal !important; }

  /* Programa — ocultar tabs, mostrar acordeón */
  .prog-tabs { display: none; }
  .prog-body { display: none; }
  .prog-mobile { display: block; }

  /* Participar — cards compactos en móvil */
  .parti-mobile { display: block; }
  .parti-grid   { display: none; }

  /* Separador entre Participar y Sede */
  #sede { border-top: 1px solid #d1d9e6; }

  /* Ediciones anteriores — cards compactos en móvil */
  .past-mobile { display: block; }
  .past-grid   { display: none; }

  .reg-grid { grid-template-columns: 1fr; }
  .abs-grid { grid-template-columns: 1fr; }

  .countdown-wrap { gap: .2rem; }

  /* Móvil: ocultar dropdown GIASIS, mostrar links planos */
  .nav-dropdown { display: none; }
  .mobile-only { display: block; }

  /* Patrocinadores — 2 columnas en móvil */
  .sponsors-row { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
  .sponsor-logo img { height: 55px; }
  .sponsor-easer img { height: auto; width: 100%; }
  .sponsor-logo:nth-child(2) img { height: 90px; width: auto; max-height: none; }

  .timeline { flex-direction: column; align-items: stretch; }
  .tl-item { flex-direction: row; align-items: flex-start; gap: 1rem; padding: 0; margin-bottom: 1.2rem; }
  .tl-item:not(:last-child)::after { display: none; }
  .tl-dot { margin-bottom: 0; margin-top: 4px; flex-shrink: 0; }
  .tl-card { text-align: left; }
  .tl-date { text-align: left; }

  .sched-item { grid-template-columns: 1fr; gap: .4rem; }
  .sched-time { font-size: .78rem; }

  .venue-map iframe { height: 280px; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
}

@media (max-width: 480px) {
  .container { padding: 0 1.25rem; }
  .hero-title { font-size: 2.2rem; }
  .disc-pills { gap: 0.45rem; }
  .countdown-wrap { flex-wrap: wrap; justify-content: center; }
  .cd-sep { display: none; }
  .hero-ctas { flex-direction: column; align-items: center; }

  /* Speakers mantiene 2×2 en móvil pequeño */
  .speakers-grid { grid-template-columns: repeat(2, 1fr); }
  .speaker-card  { height: auto; }
  .sp-photo      { height: 110px; }
  .sp-name       { font-size: 0.8rem; }
  .sp-inst       { font-size: 0.7rem; }
  .sp-info       { padding: 0.5rem 0.7rem; }

  .sponsors-row { gap: 1rem; }
}

/* ── Monitor grande (≥ 1600px) ── */
@media (min-width: 1600px) {
  #hero .container { padding-left: 2rem; }
  .hero-right    { max-width: 600px; }
  .hero-title    { font-size: 4.6rem; }
  .hero-meta-row { font-size: 1rem; }
  .cd-num        { font-size: 2.2rem; }
  .cd-block      { min-width: 84px; padding: 1rem 1.4rem; }
  .cd-lbl        { font-size: .68rem; }
}
