:root {
  /* Paleta tomada del PDF: amarillo oro, azul profundo, coral y verde acento */
  --bg: #1e1e1d;
  --bg-2: #252524;
  --card: #2b2b2a;
  --accent: #f8d347;     /* oro dominante */
  --accent-2: #1e4b9e;    /* azul protagonista */
  --accent-3: #eb455e;    /* coral */
  --accent-4: #47a04c;    /* verde */
  --text: #f2f2ec;
  --muted: #c7c7bd;
  --pill: #30302f;
  --shadow: 0 20px 60px rgba(0,0,0,0.35);
}
* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: 'Poppins', system-ui, -apple-system, sans-serif;
  background: radial-gradient(circle at 18% 18%, rgba(248,211,71,0.08), transparent 35%),
              radial-gradient(circle at 82% 10%, rgba(30,75,158,0.20), transparent 45%),
              radial-gradient(circle at 50% 90%, rgba(235,69,94,0.10), transparent 40%),
              var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
section { scroll-margin-top: 70px; }
a { color: inherit; text-decoration: none; }

.site-header {
  position: sticky; top: 0; z-index: 10;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 6vw;
  background: rgba(30,30,29,0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.logo { display: inline-flex; align-items: center; gap: 8px; }
.logo img { height: 46px; width: auto; display: block; filter: drop-shadow(0 4px 12px rgba(0,0,0,0.25)); }
.nav { display: flex; gap: 18px; align-items: center; }
.nav a { padding: 8px 10px; border-radius: 8px; color: var(--muted); transition: color .2s, background .2s; font-weight: 600; }
.nav a:hover, .nav a.active { color: var(--text); background: rgba(30,75,158,0.15); }
.nav-toggle { display: none; background: var(--card); color: var(--text); border: 1px solid rgba(255,255,255,0.1); padding: 10px 12px; border-radius: 10px; font-size: 18px; }
.lang-toggle {
  margin-left: 12px;
  background: #111;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.2);
  padding: 10px 14px;
  border-radius: 10px;
  font-weight: 700;
  cursor: pointer;
  transition: background .2s, color .2s, border .2s;
}
.lang-toggle:hover { background: #222; border-color: rgba(255,255,255,0.35); }

.hero {
  position: relative;
  min-height: 80vh;
  padding: 60px 6vw 90px;
  display: grid;
  align-items: center;
  overflow: hidden;
}
.hero-carousel {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: saturate(1.05);
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
}
.hero-slide.active { opacity: 1; }
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(30,30,29,0.75), rgba(30,75,158,0.55), rgba(0,0,0,0.35));
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 760px;
}
.hero h1 { font-size: clamp(2.6rem, 4vw, 3.5rem); margin: 10px 0 14px; }
.claim { font-size: 1.25rem; color: #fff; font-weight: 700; margin-bottom: 10px; }
.subclaim { color: #fff; font-weight: 700; margin-bottom: 22px; }
.hero-meta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  border: 1px solid rgba(255,255,255,0.7);
  border-radius: 999px;
  background: rgba(0,0,0,0.25);
  color: #fff;
  font-weight: 700;
  margin-bottom: 22px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.25);
}
.hero-meta .meta-item { display: inline-flex; align-items: center; gap: 6px; }
.hero-meta .dot { opacity: 0.7; }
.cta-group { display: flex; gap: 12px; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 12px 18px; border-radius: 14px; font-weight: 700;
  border: 1px solid transparent; transition: transform .15s, box-shadow .2s, background .2s, color .2s;
}
.btn.primary { background: linear-gradient(120deg, var(--accent), #ffd85c); color: #2b2100; box-shadow: 0 14px 30px rgba(248,211,71,0.25); }
.btn.primary:hover { transform: translateY(-1px); }
.btn.ghost { border-color: #004ca4; color: #fff; background: #004ca4; }
.btn.ghost:hover { border-color: #003a82; color: #fff; background: #003a82; }

.section { padding: 80px 6vw; }
.section-inner { max-width: 1100px; margin: 0 auto; }
.eyebrow { letter-spacing: 1px; text-transform: uppercase; font-weight: 700; color: var(--accent); font-size: 0.8rem; margin: 0 0 12px; }
.lede { font-weight: 700; color: var(--text); }

.split { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 28px; align-items: start; }
.section#que-es { background: #fff; color: #1e1e1d; }
.section#que-es .section-text p,
.section#que-es .section-text h2 { color: #1e1e1d; }
.highlight-green { background: linear-gradient(120deg, rgba(0,158,49,0.4), rgba(0,158,49,0.15)); padding: 0 6px; border-radius: 6px; }
.section.ejes {
  position: relative;
  overflow: hidden;
  background: #000;
  color: #fff;
  padding-top: 80px;
  padding-bottom: 80px;
  padding-left: 6vw;
  padding-right: 6vw;
}
.section.ejes::before {
  content: "";
  position: absolute;
  inset: -60px 0 0;
  background: url("../img/Recurso-1autos.png") center bottom / 120% auto no-repeat;
  opacity: 0.28;
  pointer-events: none;
}
.section.ejes .section-inner { position: relative; z-index: 1; max-width: 1100px; margin: 0 auto; }
.ejes { margin-top: 0; padding: 0; }
.ejes h3 { text-transform: uppercase; letter-spacing: 1px; color: #0f8f3a; margin: 0 0 12px; font-size: 1.1rem; }
.ejes-copy { margin: 0 0 18px; color: #fff; }
.ejes-grid { display: flex; flex-wrap: wrap; gap: 12px; }
.ejes-grid { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.chip { display: inline-flex; justify-content: center; align-items: center; padding: 12px 16px; border-radius: 999px; font-weight: 700; font-size: 0.95rem; color: #111; box-shadow: 0 6px 14px rgba(0,0,0,0.08); }
.chip.pink { background: #ff2e5a; color: #fff; }
.chip.yellow { background: #ffe27a; }
.chip.blue { background: #8ed2ff; }
.chip.orange { background: #ffb05e; }
.chip.purple { background: #d6a3ff; }
.chip.green { background: #009E31; color: #fff; }
.chip.amber { background: #ffd157; }
.chip.coral { background: #ff9fb3; }
.chip.teal { background: #86e0e5; }
.chip.deepgreen { background: #a5f0c8; }
.section-card {
  background: var(--card);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 18px;
  padding: 22px;
  box-shadow: var(--shadow);
}
.section#premios { background: #fff; color: #1e1e1d; }
.section#premios .section-text p,
.section#premios .section-text h2 { color: #1e1e1d; }
.section#premios .section-card { background: #f5f6f8; color: #0f172a; border: 1px solid #d7dbe0; }
.section#premios .section-card .bullets li,
.section#premios .section-card .note { color: #0f172a; }
.section-card .bullets { padding-left: 18px; color: var(--muted); }
.section-card .bullets li { margin-bottom: 10px; }
.section-text h2, .section h2 { margin: 6px 0 12px; font-size: clamp(1.8rem, 3vw, 2.4rem); }
.section-text p, .section p { color: var(--muted); }

.pill-grid { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.pill { background: var(--pill); padding: 8px 14px; border-radius: 999px; color: var(--text); font-weight: 600; border: 1px solid rgba(255,255,255,0.05); }

.cards .card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.card { background: linear-gradient(150deg, rgba(30,75,158,0.14), rgba(235,69,94,0.18)); padding: 18px; border-radius: 14px; border: 1px solid rgba(255,255,255,0.06); box-shadow: var(--shadow); }
.card h3 { margin: 4px 0 8px; }
.card p { margin: 0; }

.timeline-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.time-block { background: var(--card); padding: 18px; border-radius: 16px; border: 1px solid rgba(255,255,255,0.08); }
.time-block .date { color: var(--accent); font-weight: 700; margin: 0 0 6px; }
.time-block h3 { margin: 0 0 8px; }
.time-block p { margin: 0; color: var(--muted); }
.highlight { background: linear-gradient(120deg, rgba(248,211,71,0.25), rgba(30,75,158,0.35)); border-color: rgba(248,211,71,0.45); }
.section#agenda { background-color: rgb(229 231 235 / var(--tw-bg-opacity, 1)); }
.section#agenda .time-block { background: #fff; color: #1f2937; border: 1px solid #d1d5db; box-shadow: none; }
.section#agenda .time-block .date { color: #1e4b9e; }
.section#agenda .time-block h3 { color: #111827; }
.section#agenda .time-block p { color: #374151; }
.section#agenda .time-block.highlight { background: linear-gradient(120deg, rgba(0,76,164,0.12), rgba(248,211,71,0.18)); border-color: #1e4b9e; }
.section#agenda h2 { color: #111827; }
.section#agenda .eyebrow { color: #111827; }

.mobility {
  position: relative;
  overflow: hidden;
  background: linear-gradient(140deg, #0c3f9b, #0a2f75);
  color: #e9f2ff;
  padding-top: 90px;
  padding-bottom: 120px;
}
.mobility::before {
  content: "";
  position: absolute;
  inset: -40px 0 0;
  background: url("../img/Recurso-1autos.png") center bottom/110% auto no-repeat;
  opacity: 0.32;
  pointer-events: none;
}
.mobility-grid { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.mobility-copy { text-align: center; }
.mobility-copy h2 { color: #fff; margin-bottom: 12px; }
.mobility-copy p { color: #d9e6ff; max-width: 640px; margin: 0 auto; }
.mobility .pill-grid { margin-top: 18px; }
.mobility .pill-grid { justify-content: center; }
.mobility .pill { background: rgba(255,255,255,0.12); color: #e9f2ff; border: 1px solid rgba(255,255,255,0.16); }
.mobility .highlight-pink { color: #ff2e5a; }
.mobility .highlight-yellow { color: #ffd85c; }
.mobility .btn { margin-top: 16px; }
.mobility .btn.primary {
  background: #009E31;
  color: #f5f7f0;
  border-color: #00842a;
  box-shadow: 0 10px 24px rgba(0,158,49,0.35);
}
.mobility .btn.primary:hover {
  background: #00842a;
  border-color: #006d23;
}

.ser-parte {
  background: #009E31;
  padding: 70px 0 0;
  color: #f5f7f0;
}
.ser-parte .section-inner { text-align: center; }
.ser-parte h2 { color: #ffd85c; text-transform: uppercase; letter-spacing: 0.5px; }
.ser-parte .btn.primary { background: #ffd85c; color: #1e1e1d; box-shadow: none; }
.ser-parte .btn.primary:hover { transform: translateY(-1px); }
.ser-parte-copy { max-width: 880px; margin: 0 auto 26px; }
.ser-parte-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0;
}
.ser-parte-gallery img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}

@media (min-width: 1100px) {
  .ser-parte-gallery { grid-template-columns: repeat(5, 1fr); }
}

.steps .step-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.steps li { background: var(--card); border-radius: 14px; padding: 16px; border: 1px solid rgba(255,255,255,0.05); }
.steps h3 { margin: 0 0 6px; }
.steps .btn.primary { margin-top: 18px; padding: 14px 22px; }

.section#postulacion { background: #fff; color: #1e1e1d; }
.section#postulacion .eyebrow { color: #1e1e1d; }
.section#postulacion h2 { color: #0f172a; }
.section#postulacion .step-list li { background: #f7f7fb; border: 1px solid #d8dce4; color: #1f2937; }
.section#postulacion .step-list h3 { color: #0f172a; }
.section#postulacion .step-list p { color: #374151; }
.section#postulacion .btn.primary {
  display: block;
  width: fit-content;
  margin: 18px auto 0;
  background: #009E31;
  color: #f5f7f0;
  border-color: #00842a;
  box-shadow: 0 10px 24px rgba(0,158,49,0.25);
}
.section#postulacion .btn.primary:hover {
  background: #00842a;
  border-color: #006d23;
}
.venue .section-inner { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; align-items: center; }
.map-wrap { position: relative; padding-bottom: 65%; border-radius: 16px; overflow: hidden; box-shadow: var(--shadow); }
.map-wrap #venue-map { position: absolute; inset: 0; width: 100%; height: 100%; }
.photo-pin { background: transparent; }
.photo-pin span {
  display: block;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #ffd85c, #1e4b9e);
  border: 2px solid #7a3fc5;
  box-shadow: 0 0 0 3px rgba(255,255,255,0.9);
}

.organizadores .org-inner { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; align-items: center; }
.org-logos { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; justify-content: flex-start; }
.org-logos img { height: 64px; width: auto; }
.org-logos img.logo-fundacion { height: 64px; width: auto; }
.org-groups { display: flex; gap: 18px; flex-wrap: wrap; align-items: flex-start; }
.org-group { background: transparent; border-radius: 14px; padding: 0; border: none; box-shadow: none; }
.org-label { margin: 0 0 10px; font-weight: 800; color: #0f172a; letter-spacing: 0.4px; text-transform: uppercase; font-size: 0.78rem; }
.organizadores .muted { color: #0f172a; }
.organizadores { background: #e5e7eb; color: #1e1e1d; padding-top: 50px; padding-bottom: 50px; }
.organizadores h2,
.organizadores .eyebrow,
.organizadores p { color: #111; }

.site-footer { padding: 40px 6vw 26px; background: #000; color: var(--muted); border-top: 1px solid rgba(255,255,255,0.06); font-size: 0.9rem; }
.footer-inner { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; align-items: start; }
.footer-brand img { height: 52px; width: auto; display: block; margin-bottom: 12px; }
.foot-tagline { color: var(--text); font-weight: 400; margin: 0 0 6px; font-size: 0.82rem; }
.foot-note { margin: 0; color: var(--muted); font-size: 0.82rem; }
.footer-nav h4, .footer-contact h4 { margin: 0 0 10px; color: var(--text); text-transform: uppercase; letter-spacing: 0.5px; font-size: 0.8rem; }
.footer-nav a, .footer-contact a { display: block; margin: 4px 0; color: var(--muted); }
.footer-nav a:hover, .footer-contact a:hover { color: var(--accent); }
.footer-bottom { margin-top: 22px; display: flex; justify-content: flex-start; align-items: center; flex-wrap: wrap; gap: 10px; color: var(--muted); font-size: 0.85rem; }
.footer-social { display: flex; flex-direction: column; gap: 6px; }
.social-label { margin: 0; color: var(--muted); font-size: 0.82rem; }
.social-icons { display: flex; gap: 10px; align-items: center; }
.social-icons img { height: 22px; width: 22px; display: block; }

@media (max-width: 820px) {
  .nav { position: absolute; right: 6vw; top: 60px; background: var(--card); padding: 12px; flex-direction: column; align-items: flex-start; border-radius: 14px; border: 1px solid rgba(255,255,255,0.08); display: none; }
  .nav.open { display: flex; }
  .nav-toggle { display: inline-flex; }
  .hero { padding-top: 40px; }
  .site-header { position: sticky; }
}
