/* =============================================
   ALLIANCE Q2 2026 — PLAN ESTRATÉGICO
   CSS PREMIUM CORPORATIVO
   ============================================= */

/* ---- VARIABLES ---- */
:root {
  --blue-900: #0F1F5C;
  --blue-800: #1E3A8A;
  --blue-600: #2563EB;
  --blue-400: #60A5FA;
  --blue-100: #DBEAFE;
  --orange: #F59E0B;
  --orange-dark: #D97706;
  --orange-light: #FEF3C7;
  --red: #EF4444;
  --red-dark: #DC2626;
  --white: #FFFFFF;
  --gray-50: #F9FAFB;
  --gray-100: #F3F4F6;
  --gray-200: #E5E7EB;
  --gray-300: #D1D5DB;
  --gray-400: #9CA3AF;
  --gray-500: #6B7280;
  --gray-600: #4B5563;
  --gray-700: #374151;
  --gray-800: #1F2937;
  --gray-900: #111827;

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

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 32px;

  --shadow-sm: 0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.04);
  --shadow-md: 0 4px 20px rgba(0,0,0,.08), 0 2px 8px rgba(0,0,0,.04);
  --shadow-lg: 0 12px 40px rgba(0,0,0,.12), 0 4px 16px rgba(0,0,0,.06);
  --shadow-xl: 0 24px 60px rgba(0,0,0,.16);
  --shadow-blue: 0 8px 32px rgba(37,99,235,.25);
  --shadow-orange: 0 8px 32px rgba(245,158,11,.25);

  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

body {
  font-family: var(--font-body);
  color: var(--gray-800);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }
ul, ol { list-style: none; }

/* ---- CONTAINER ---- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---- SECTION COMMONS ---- */
section { padding: 96px 0; }

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-label {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--blue-600);
  background: var(--blue-100);
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 16px;
}

.section-title {
  font-family: var(--font-head);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  color: var(--gray-900);
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--gray-500);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}

.accent-text {
  color: var(--blue-600);
  position: relative;
}

/* ---- BUTTONS ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.5px;
  padding: 14px 28px;
  border-radius: var(--radius-md);
  transition: var(--transition);
  cursor: pointer;
}

.btn-primary {
  background: linear-gradient(135deg, var(--blue-600), var(--blue-800));
  color: var(--white);
  box-shadow: var(--shadow-blue);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(37,99,235,.4);
}

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

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

.btn-lg { padding: 16px 36px; font-size: 15px; }

/* =============================================
   HEADER
   ============================================= */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(255,255,255,.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(30,58,138,.08);
  transition: var(--transition);
}

.site-header.scrolled {
  background: rgba(255,255,255,.97);
  box-shadow: var(--shadow-md);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.header-logo { display: flex; align-items: center; }
.logo-img {
  height: 42px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,.1));
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.header-nav a {
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 600;
  color: var(--gray-600);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  letter-spacing: 0.3px;
}
.header-nav a:hover { color: var(--blue-600); background: var(--blue-100); }

.nav-cta {
  background: linear-gradient(135deg, var(--blue-600), var(--blue-800)) !important;
  color: var(--white) !important;
  padding: 9px 20px !important;
  border-radius: var(--radius-md) !important;
}
.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-blue);
  background: linear-gradient(135deg, var(--blue-800), var(--blue-900)) !important;
}

/* Burger */
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
}
.burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--gray-700);
  border-radius: 2px;
  transition: var(--transition);
}
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =============================================
   HERO
   ============================================= */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--blue-900) 0%, var(--blue-800) 40%, #1E40AF 70%, #1D4ED8 100%);
  padding: 120px 0 80px;
}

.hero-bg-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 20% 30%, rgba(245,158,11,.12) 0%, transparent 60%),
    radial-gradient(ellipse 60% 80% at 80% 70%, rgba(239,68,68,.08) 0%, transparent 60%),
    url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.02'%3E%3Ccircle cx='30' cy='30' r='2'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

.hero-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--white);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--orange);
  background: rgba(245,158,11,.15);
  border: 1px solid rgba(245,158,11,.3);
  padding: 8px 20px;
  border-radius: 100px;
  margin-bottom: 28px;
  backdrop-filter: blur(8px);
}

.hero-title {
  font-family: var(--font-head);
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  font-weight: 900;
  line-height: 1.05;
  color: var(--white);
  margin-bottom: 24px;
  letter-spacing: -1px;
}

.hero-title .accent-text {
  color: var(--orange);
  -webkit-text-stroke: 0;
}

.hero-subtitle {
  font-family: var(--font-head);
  font-size: clamp(1rem, 2.5vw, 1.4rem);
  font-weight: 400;
  color: rgba(255,255,255,.75);
  margin-bottom: 56px;
  letter-spacing: 0.5px;
}

/* Hero Metrics */
.hero-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 48px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.metric-card {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-lg);
  padding: 24px 16px;
  backdrop-filter: blur(12px);
  text-align: center;
  transition: var(--transition);
}
.metric-card:hover {
  background: rgba(255,255,255,.14);
  transform: translateY(-4px);
  border-color: rgba(245,158,11,.4);
}

.metric-number {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--orange);
  line-height: 1;
}
.metric-unit {
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--orange);
}
.metric-label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: rgba(255,255,255,.6);
  margin-top: 8px;
}

/* Hero CTAs */
.hero-ctas {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 60px;
}

.hero-ctas .btn-primary {
  background: linear-gradient(135deg, var(--orange), var(--orange-dark));
  box-shadow: var(--shadow-orange);
}
.hero-ctas .btn-primary:hover {
  box-shadow: 0 16px 48px rgba(245,158,11,.5);
}

.hero-ctas .btn-outline {
  border-color: rgba(255,255,255,.4);
  color: var(--white);
}
.hero-ctas .btn-outline:hover {
  background: rgba(255,255,255,.15);
  border-color: rgba(255,255,255,.8);
}

/* Scroll hint */
.hero-scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,.5);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
}
.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(255,255,255,.5), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.5; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(1.2); }
}

/* Particles */
.particle {
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,.06);
  animation: particleFloat linear infinite;
}
@keyframes particleFloat {
  from { transform: translateY(100vh) rotate(0deg); opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  to { transform: translateY(-100px) rotate(720deg); opacity: 0; }
}

/* =============================================
   OBJETIVO
   ============================================= */
.section-objetivo {
  background: var(--white);
  padding-top: 80px;
}

.section-objetivo .section-label {
  margin-bottom: 32px;
  display: block;
}

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

.objetivo-left h2 {
  font-family: var(--font-head);
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 800;
  color: var(--gray-900);
  margin-bottom: 32px;
  line-height: 1.2;
}

.tesis-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: linear-gradient(135deg, var(--blue-100), #EEF2FF);
  border-left: 4px solid var(--blue-600);
  border-radius: var(--radius-md);
  padding: 24px;
  margin-bottom: 32px;
}

.tesis-icon {
  width: 48px;
  height: 48px;
  background: var(--blue-600);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.2rem;
  flex-shrink: 0;
}

.tesis-label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--blue-600);
  margin-bottom: 8px;
}

.tesis-text {
  font-family: var(--font-head);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--gray-800);
  line-height: 1.4;
  margin: 0;
}

.objetivo-desc {
  color: var(--gray-600);
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 28px;
}

.objetivo-pillars {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.pillar {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  font-weight: 600;
  color: var(--gray-700);
}
.pillar i { color: var(--blue-600); font-size: 16px; }

/* OKR Card */
.objetivo-okr-card {
  background: var(--gray-900);
  border-radius: var(--radius-xl);
  padding: 40px;
  color: var(--white);
  box-shadow: var(--shadow-xl);
  position: relative;
  overflow: hidden;
}
.objetivo-okr-card::before {
  content: '';
  position: absolute;
  top: -40px; right: -40px;
  width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(37,99,235,.3) 0%, transparent 70%);
  pointer-events: none;
}

.okr-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 32px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}

.okr-tag {
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  background: var(--blue-600);
  color: var(--white);
  padding: 5px 14px;
  border-radius: 100px;
}

.okr-period {
  font-size: 13px;
  color: var(--gray-400);
  font-weight: 500;
}

.okr-items {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.okr-item {
  display: flex;
  align-items: center;
  gap: 16px;
}
.okr-item-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.okr-item-icon.blue { background: rgba(37,99,235,.2); color: var(--blue-400); }
.okr-item-icon.orange { background: rgba(245,158,11,.2); color: var(--orange); }
.okr-item-icon.red { background: rgba(239,68,68,.2); color: var(--red); }
.okr-item strong {
  display: block;
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 3px;
}
.okr-item span {
  font-size: 13px;
  color: var(--gray-400);
}

/* =============================================
   EJES ESTRATÉGICOS
   ============================================= */
.section-ejes {
  background: var(--gray-50);
}

.ejes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.eje-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
  transition: var(--transition);
}
.eje-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue-600), var(--blue-400));
  opacity: 0;
  transition: var(--transition);
}
.eje-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.eje-card:hover::before { opacity: 1; }

.eje-number {
  position: absolute;
  top: 20px;
  right: 24px;
  font-family: var(--font-head);
  font-size: 3rem;
  font-weight: 900;
  color: var(--gray-100);
  line-height: 1;
  user-select: none;
  transition: var(--transition);
}
.eje-card:hover .eje-number { color: var(--blue-100); }

.eje-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--white);
  margin-bottom: 20px;
}
.bg-blue { background: linear-gradient(135deg, var(--blue-600), var(--blue-800)); }
.bg-dark-blue { background: linear-gradient(135deg, var(--blue-800), var(--blue-900)); }
.bg-orange { background: linear-gradient(135deg, var(--orange), var(--orange-dark)); }
.bg-red { background: linear-gradient(135deg, var(--red), var(--red-dark)); }

.eje-title {
  font-family: var(--font-head);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--gray-900);
  margin-bottom: 12px;
}

.eje-desc {
  font-size: 14px;
  line-height: 1.7;
  color: var(--gray-500);
  margin-bottom: 20px;
}

.eje-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.eje-tags span {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  background: var(--blue-100);
  color: var(--blue-800);
  padding: 4px 10px;
  border-radius: 100px;
}

/* =============================================
   CALENDARIO EJECUTIVO
   ============================================= */
.section-calendario {
  background: var(--white);
}

/* Filtros */
.cal-filters {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 56px;
  flex-wrap: wrap;
}

.cal-filter {
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 700;
  color: var(--gray-500);
  background: var(--gray-100);
  border: 2px solid transparent;
  padding: 10px 24px;
  border-radius: 100px;
  transition: var(--transition);
  cursor: pointer;
}
.cal-filter:hover, .cal-filter.active {
  background: var(--blue-600);
  color: var(--white);
  border-color: var(--blue-600);
  box-shadow: var(--shadow-blue);
}

/* Timeline */
.timeline-wrapper {
  position: relative;
  max-width: 960px;
  margin: 0 auto;
}

.timeline-wrapper::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--blue-100), var(--blue-200), var(--blue-100));
  transform: translateX(-50%);
}

/* Month label */
.timeline-month-label {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  position: relative;
  z-index: 2;
  margin: 48px 0 32px;
}
.timeline-month-label:first-child { margin-top: 0; }

.month-badge {
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 8px 28px;
  border-radius: 100px;
  color: var(--white);
}
.month-badge.mayo { background: linear-gradient(135deg, var(--blue-600), var(--blue-800)); }
.month-badge.junio { background: linear-gradient(135deg, var(--orange-dark), #B45309); }
.month-badge.julio { background: linear-gradient(135deg, var(--red), var(--red-dark)); }

.month-count {
  font-size: 11px;
  font-weight: 600;
  color: var(--gray-400);
  letter-spacing: 1px;
}

/* Timeline items */
.timeline-item {
  display: grid;
  grid-template-columns: 1fr 20px 1fr;
  gap: 24px;
  align-items: start;
  margin-bottom: 24px;
  position: relative;
}

.timeline-item.left .tl-card { grid-column: 1; }
.timeline-item.left .timeline-dot { grid-column: 2; }
.timeline-item.left::after { content: ''; grid-column: 3; }

.timeline-item.right::before { content: ''; grid-column: 1; display: block; }
.timeline-item.right .timeline-dot { grid-column: 2; }
.timeline-item.right .tl-card { grid-column: 3; }

.timeline-dot {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  margin-top: 20px;
  position: relative;
  z-index: 2;
  flex-shrink: 0;
  box-shadow: 0 0 0 4px var(--white);
  align-self: start;
}
.dot-blue { background: var(--blue-600); }
.dot-orange { background: var(--orange); }
.dot-red { background: var(--red); }

.timeline-item.featured .timeline-dot {
  width: 24px;
  height: 24px;
  margin-top: 18px;
  box-shadow: 0 0 0 4px var(--white), 0 0 0 8px rgba(245,158,11,.2);
}

/* TL Card */
.tl-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.tl-card:hover {
  border-color: var(--blue-200);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.timeline-item.featured .tl-card {
  border-color: var(--orange);
  border-width: 2px;
  background: linear-gradient(135deg, #FFFBEB, var(--white));
}

.tl-date {
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--gray-400);
  text-transform: uppercase;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.tl-date i { color: var(--blue-400); }

.tl-eje {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 100px;
  display: inline-block;
  margin-bottom: 10px;
}
.eje-01 { background: #DCFCE7; color: #166534; }
.eje-02 { background: var(--blue-100); color: var(--blue-800); }
.eje-03 { background: #FEF3C7; color: #92400E; }
.eje-04 { background: #FCE7F3; color: #831843; }
.eje-05 { background: #F3E8FF; color: #581C87; }
.eje-06 { background: #FFE4E6; color: #9F1239; }

.tl-card h4 {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 800;
  color: var(--gray-900);
  margin-bottom: 8px;
  line-height: 1.3;
}

.event-star {
  color: var(--orange);
  font-size: 12px;
  font-weight: 700;
}

.tl-card p {
  font-size: 13px;
  color: var(--gray-500);
  line-height: 1.6;
  margin-bottom: 14px;
}

.tl-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.tl-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 600;
  color: var(--gray-600);
  background: var(--gray-100);
  padding: 4px 10px;
  border-radius: 100px;
}
.tl-chip i { font-size: 10px; color: var(--blue-600); }

.tl-impact {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 100px;
}
.tl-impact.high { background: #DBEAFE; color: var(--blue-800); }
.tl-impact.critical { background: #FEF3C7; color: #92400E; }
.tl-impact.medium { background: #F0FDF4; color: #14532D; }

/* Hidden items for filter */
.timeline-item.hidden,
.timeline-month-label.hidden { display: none; }

/* =============================================
   EVENTOS EMBLEMÁTICOS
   ============================================= */
.section-eventos {
  background: var(--gray-50);
}

.eventos-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.evento-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--gray-200);
  transition: var(--transition);
}
.evento-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: transparent;
}

.featured-event {
  border: 2px solid var(--orange);
}

/* Event headers */
.evento-header {
  padding: 28px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--white);
}

.fabtech-header { background: linear-gradient(135deg, #0F1F5C, #1E3A8A); }
.electrica-header { background: linear-gradient(135deg, #1E3A8A, #1D4ED8); }
.lobo-header { background: linear-gradient(135deg, #92400E, #D97706); }
.cooking-header { background: linear-gradient(135deg, #991B1B, #EF4444); }

.evento-icon {
  width: 56px;
  height: 56px;
  background: rgba(255,255,255,.15);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.evento-meta-header {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
}

.evento-date {
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 800;
}

.evento-location {
  font-size: 12px;
  opacity: 0.8;
  display: flex;
  align-items: center;
  gap: 4px;
}

/* Event body */
.evento-body { padding: 28px 32px; }

.evento-body h3 {
  font-family: var(--font-head);
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--gray-900);
  margin-bottom: 10px;
}

.evento-desc {
  font-size: 14px;
  color: var(--gray-500);
  line-height: 1.7;
  margin-bottom: 20px;
}

.evento-kpis {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
  padding: 16px;
  background: var(--gray-50);
  border-radius: var(--radius-md);
}

.ev-kpi {
  flex: 1;
  text-align: center;
}
.ev-kpi-num {
  display: block;
  font-family: var(--font-head);
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--blue-600);
  line-height: 1.1;
}
.ev-kpi-label {
  font-size: 11px;
  font-weight: 600;
  color: var(--gray-400);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.ev-label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--gray-400);
  margin-bottom: 10px;
}

.empresa-tags, .sector-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.empresa-tags span {
  font-size: 12px;
  font-weight: 600;
  background: var(--gray-100);
  color: var(--gray-700);
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--gray-200);
}
.empresa-tags.confirmed span {
  background: #F0FDF4;
  color: #166534;
  border-color: #86EFAC;
}

.sector-tags span {
  font-size: 12px;
  font-weight: 600;
  background: var(--blue-100);
  color: var(--blue-800);
  padding: 5px 12px;
  border-radius: 100px;
  display: flex;
  align-items: center;
  gap: 5px;
}

.evento-empresas { margin-bottom: 16px; }
.evento-sectores { margin-bottom: 0; }

/* =============================================
   KPIs DASHBOARD
   ============================================= */
.section-kpis {
  background: var(--white);
}

.kpis-dashboard {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 48px;
  align-items: start;
  margin-bottom: 56px;
}

.kpi-progress-grid {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.kpi-progress-item {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 22px 24px;
  transition: var(--transition);
}
.kpi-progress-item:hover {
  border-color: var(--blue-200);
  box-shadow: var(--shadow-sm);
}

.kpi-progress-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
  flex-wrap: wrap;
  gap: 8px;
}

.kpi-label {
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 700;
  color: var(--gray-800);
  display: flex;
  align-items: center;
  gap: 10px;
}

.kpi-icon { font-size: 16px; }
.kpi-icon.blue { color: var(--blue-600); }
.kpi-icon.orange { color: var(--orange); }
.kpi-icon.red { color: var(--red); }

.kpi-target {
  font-size: 12px;
  color: var(--gray-400);
  font-weight: 500;
}

.kpi-bar-wrap {
  height: 8px;
  background: var(--gray-100);
  border-radius: 100px;
  overflow: hidden;
  margin-bottom: 10px;
}

.kpi-bar {
  height: 100%;
  border-radius: 100px;
  width: 0%;
  transition: width 1.2s cubic-bezier(0.4, 0, 0.2, 1);
  background: linear-gradient(90deg, var(--blue-600), var(--blue-400));
}

.kpi-bar[data-progress="100"] { background: linear-gradient(90deg, #059669, #34D399); }
.kpi-bar[data-progress="85"] { background: linear-gradient(90deg, var(--blue-600), var(--blue-400)); }
.kpi-bar[data-progress="75"] { background: linear-gradient(90deg, var(--blue-800), var(--blue-600)); }
.kpi-bar[data-progress="60"] { background: linear-gradient(90deg, var(--orange-dark), var(--orange)); }

.kpi-bar-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.kpi-percent {
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 800;
  color: var(--gray-700);
}

.kpi-status {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  padding: 3px 10px;
  border-radius: 100px;
}
.kpi-status.excellent { background: #DCFCE7; color: #14532D; }
.kpi-status.good { background: var(--blue-100); color: var(--blue-800); }
.kpi-status.warning { background: #FEF3C7; color: #92400E; }

/* Chart */
.kpi-chart-wrap {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 96px;
}

.chart-title {
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 800;
  color: var(--gray-700);
  text-align: center;
  margin-bottom: 20px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

/* KPI Summary row */
.kpi-summary-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.kpi-summary-card {
  background: linear-gradient(135deg, var(--blue-800), var(--blue-900));
  border-radius: var(--radius-lg);
  padding: 28px 20px;
  text-align: center;
  color: var(--white);
  transition: var(--transition);
}
.kpi-summary-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-blue);
}

.ks-num {
  display: block;
  font-family: var(--font-head);
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--orange);
  line-height: 1.1;
  margin-bottom: 6px;
}

.ks-label {
  font-size: 12px;
  font-weight: 600;
  color: rgba(255,255,255,.65);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

/* =============================================
   TRACCIÓN DOCUMENTADA
   ============================================= */
.section-traccion {
  background: var(--gray-50);
}

.traccion-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 56px;
}

.traccion-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 36px 32px;
  display: flex;
  gap: 24px;
  align-items: flex-start;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
  transition: var(--transition);
}
.traccion-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.traccion-card.destacado {
  grid-column: span 2;
  background: linear-gradient(135deg, var(--blue-900), var(--blue-800));
  color: var(--white);
  border: none;
}

.traccion-icon {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  flex-shrink: 0;
  background: rgba(255,255,255,.1);
  color: var(--orange);
}

.traccion-card:not(.destacado) .traccion-icon {
  background: var(--blue-100);
  color: var(--blue-600);
}

.traccion-content { flex: 1; }

.traccion-metric {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 12px;
}

.tr-big {
  font-family: var(--font-head);
  font-size: 3rem;
  font-weight: 900;
  color: var(--orange);
  line-height: 1;
}

.traccion-card:not(.destacado) .tr-big {
  color: var(--blue-600);
}

.tr-unit {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 700;
  color: rgba(255,255,255,.7);
}
.traccion-card:not(.destacado) .tr-unit { color: var(--gray-400); }

.traccion-content h4 {
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 8px;
  color: var(--white);
}
.traccion-card:not(.destacado) .traccion-content h4 { color: var(--gray-900); }

.traccion-content p {
  font-size: 14px;
  line-height: 1.7;
  color: rgba(255,255,255,.7);
}
.traccion-card:not(.destacado) .traccion-content p { color: var(--gray-500); }

.traccion-content p .accent {
  color: var(--orange);
}

.traccion-badge {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  background: var(--orange);
  color: var(--white);
  padding: 5px 14px;
  border-radius: 100px;
  margin-top: 14px;
}

.platform-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}
.platform-list span {
  font-size: 12px;
  font-weight: 600;
  color: var(--blue-600);
  background: var(--blue-100);
  padding: 4px 10px;
  border-radius: 100px;
  display: flex;
  align-items: center;
  gap: 5px;
}
.platform-list span i { font-size: 10px; color: #059669; }

/* Quote */
.traccion-quote {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 48px;
  text-align: center;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--gray-200);
  position: relative;
}

.quote-icon {
  font-size: 3rem;
  color: var(--blue-100);
  margin-bottom: 24px;
}

.traccion-quote blockquote {
  font-family: var(--font-head);
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  font-weight: 500;
  color: var(--gray-700);
  line-height: 1.6;
  margin-bottom: 20px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.traccion-quote blockquote strong { color: var(--blue-600); font-weight: 800; }

.traccion-quote cite {
  font-size: 13px;
  font-style: normal;
  font-weight: 600;
  color: var(--gray-400);
  letter-spacing: 1px;
}

/* =============================================
   CONTACTO
   ============================================= */
.section-contacto {
  background: linear-gradient(135deg, var(--blue-900) 0%, var(--blue-800) 50%, #1D4ED8 100%);
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}
.section-contacto::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 50%, rgba(245,158,11,.1) 0%, transparent 70%);
  pointer-events: none;
}

.contacto-inner {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--white);
}

.contacto-badge {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--orange);
  background: rgba(245,158,11,.15);
  border: 1px solid rgba(245,158,11,.3);
  padding: 7px 20px;
  border-radius: 100px;
  margin-bottom: 28px;
}

.contacto-inner h2 {
  font-family: var(--font-head);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 20px;
}

.contacto-inner h2 .accent-text { color: var(--orange); }

.contacto-desc {
  font-size: 1.125rem;
  color: rgba(255,255,255,.7);
  max-width: 600px;
  margin: 0 auto 48px;
  line-height: 1.7;
}

.contacto-ctas {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.contacto-ctas .btn-primary {
  background: linear-gradient(135deg, var(--orange), var(--orange-dark));
  box-shadow: var(--shadow-orange);
}

.contacto-info {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.contacto-info a {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 600;
  color: rgba(255,255,255,.7);
  transition: var(--transition);
}
.contacto-info a:hover { color: var(--white); }
.contacto-info a i { color: var(--orange); }

/* =============================================
   FOOTER
   ============================================= */
.site-footer {
  background: var(--gray-900);
  color: var(--white);
}

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 64px;
  padding: 64px 24px 40px;
}

.footer-brand .footer-logo {
  height: 40px;
  width: auto;
  margin-bottom: 16px;
  filter: brightness(0) invert(1);
  opacity: 0.8;
}

.footer-brand p {
  font-size: 14px;
  color: var(--gray-400);
  line-height: 1.7;
  max-width: 280px;
}

.footer-links h5, .footer-contact h5 {
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gray-300);
  margin-bottom: 20px;
}

.footer-links, .footer-contact {
  display: flex;
  flex-direction: column;
}

.footer-links a, .footer-contact a {
  font-size: 14px;
  color: var(--gray-400);
  padding: 4px 0;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 8px;
}
.footer-links a:hover, .footer-contact a:hover { color: var(--white); }
.footer-contact a i { color: var(--blue-400); font-size: 12px; }

.footer-sectors {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 16px;
}
.footer-sectors span {
  font-size: 11px;
  font-weight: 600;
  background: rgba(255,255,255,.06);
  color: var(--gray-400);
  padding: 4px 10px;
  border-radius: 100px;
  border: 1px solid rgba(255,255,255,.08);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 20px 24px;
}
.footer-bottom .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0 24px;
}
.footer-bottom span {
  font-size: 12px;
  color: var(--gray-500);
}
.footer-tagline {
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--orange) !important;
  letter-spacing: 1px;
}

/* =============================================
   BACK TO TOP
   ============================================= */
.back-to-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--blue-600), var(--blue-800));
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-blue);
  opacity: 0;
  transform: translateY(20px);
  transition: var(--transition);
  pointer-events: none;
  z-index: 999;
}
.back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.back-to-top:hover { transform: translateY(-4px); }

/* =============================================
   AOS — Scroll Animations
   ============================================= */
[data-aos] {
  opacity: 0;
  transition: opacity 0.7s ease, transform 0.7s ease;
}
[data-aos="fade-up"] { transform: translateY(32px); }
[data-aos="fade-right"] { transform: translateX(-32px); }
[data-aos="fade-left"] { transform: translateX(32px); }
[data-aos].aos-animate {
  opacity: 1;
  transform: none;
}

/* =============================================
   RESPONSIVE
   ============================================= */

/* Tablet */
@media (max-width: 1024px) {
  .objetivo-grid { grid-template-columns: 1fr; gap: 40px; }
  .ejes-grid { grid-template-columns: repeat(2, 1fr); }
  .kpis-dashboard { grid-template-columns: 1fr; }
  .kpi-chart-wrap { position: static; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 40px; }
  .footer-brand { grid-column: span 2; }
}

@media (max-width: 900px) {
  .eventos-grid { grid-template-columns: 1fr; }
  .traccion-card.destacado { grid-column: span 1; }
  .traccion-grid { grid-template-columns: 1fr; }
  .kpi-summary-row { grid-template-columns: repeat(2, 1fr); }
  .hero-metrics { grid-template-columns: repeat(2, 1fr); }
}

/* Mobile */
@media (max-width: 768px) {
  section { padding: 64px 0; }

  /* Header mobile */
  .header-nav {
    position: fixed;
    top: 72px; left: 0; right: 0;
    background: rgba(255,255,255,.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: stretch;
    padding: 16px;
    gap: 4px;
    border-bottom: 1px solid var(--gray-200);
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
    box-shadow: var(--shadow-lg);
  }
  .header-nav.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .header-nav a {
    padding: 12px 16px;
    text-align: left;
    border-radius: var(--radius-sm);
  }
  .burger { display: flex; }

  /* Hero */
  .hero-title { font-size: 2.4rem; }
  .hero-subtitle { font-size: 1rem; }
  .hero-metrics { grid-template-columns: repeat(2, 1fr); }
  .hero-ctas { flex-direction: column; align-items: center; }

  /* Timeline */
  .timeline-wrapper::before { left: 14px; }
  .timeline-item {
    display: block;
    padding-left: 48px;
    position: relative;
  }
  .timeline-dot {
    position: absolute;
    left: 4px;
    top: 20px;
    margin-top: 0;
  }
  .timeline-item.left .tl-card,
  .timeline-item.right .tl-card { display: block; }
  .timeline-item.left::after,
  .timeline-item.right::before { display: none; }
  .timeline-item.left .timeline-dot,
  .timeline-item.right .timeline-dot { display: block; }

  /* Ejes */
  .ejes-grid { grid-template-columns: 1fr; }

  /* KPIs */
  .kpi-summary-row { grid-template-columns: repeat(2, 1fr); }

  /* Footer */
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .footer-brand { grid-column: span 1; }

  /* Objetivo */
  .objetivo-grid { grid-template-columns: 1fr; }

  /* Section title */
  .section-title { font-size: 1.8rem; }
}

@media (max-width: 480px) {
  .hero-metrics { grid-template-columns: 1fr 1fr; }
  .metric-number { font-size: 2rem; }
  .kpi-summary-row { grid-template-columns: 1fr 1fr; }
  .contacto-ctas { flex-direction: column; align-items: stretch; }
  .contacto-ctas .btn { justify-content: center; }
  .footer-bottom .container { flex-direction: column; text-align: center; }
}
