/* ═══════════════════════════════════════════════════════════
   IES Dr. Lluís Simarro — Centro de Excelencia IA & Big Data
   Stylesheet — Light Tech Palette
   ═══════════════════════════════════════════════════════════ */

/* ─── CSS VARIABLES ─── */
:root {
  --navy: #f0f5fb;
  --navy-mid: #e6eef8;
  --navy-light: #d4e4f5;
  --navy-card: #ffffff;
  --cyan: #0ea5c8;
  --cyan-dim: #0888a8;
  --cyan-glow: rgba(14, 165, 200, 0.12);
  --blue: #1a3a6b;
  --blue-mid: #1e4d8c;
  --white: #1a2e4a;
  --white-90: rgba(26, 46, 74, 0.92);
  --white-60: rgba(26, 46, 74, 0.60);
  --white-30: rgba(26, 46, 74, 0.30);
  --white-10: rgba(26, 46, 74, 0.06);
  --green: #059669;
  --purple: #7c3aed;
  --border: rgba(14, 165, 200, 0.25);
  --border-dim: rgba(26, 46, 74, 0.12);
  --font-main: 'Inter', sans-serif;
  --font-head: 'Space Grotesk', sans-serif;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-glow: 0 0 40px rgba(14, 165, 200, 0.14);
  --shadow-card: 0 4px 32px rgba(26, 58, 107, 0.10);
  --radius: 16px;
  --radius-sm: 8px;
}

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

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

body {
  font-family: var(--font-main);
  background: #f0f5fb;
  color: var(--white-90);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

img {
  display: block;
  max-width: 100%;
}

/* ─── TYPOGRAPHY ─── */
.gradient-text {
  background: linear-gradient(135deg, var(--cyan) 0%, var(--blue) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ─── UTILITIES ─── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-main);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--cyan);
  border: 1px solid var(--border);
  background: var(--cyan-glow);
  padding: 8px 16px;
  border-radius: 99px;
  margin-bottom: 24px;
}

.section-title {
  font-family: var(--font-head);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--white);
  margin-bottom: 24px;
}

.section-title.centered {
  text-align: center;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--white-60);
  line-height: 1.75;
  margin-bottom: 16px;
  max-width: 640px;
}

.section-desc.centered {
  text-align: center;
  max-width: 580px;
  margin-left: auto;
  margin-right: auto;
}

/* ─── BUTTONS ─── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 10px;
  font-family: var(--font-main);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  border: none;
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--cyan) 0%, var(--blue) 100%);
  color: var(--navy);
  box-shadow: 0 4px 24px rgba(0, 229, 255, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0, 229, 255, 0.45);
}

.btn-ghost {
  border: 1.5px solid var(--border);
  background: var(--white-10);
  color: var(--white-90);
  backdrop-filter: blur(8px);
}

.btn-ghost:hover {
  border-color: var(--cyan);
  color: var(--cyan);
  background: var(--cyan-glow);
  transform: translateY(-2px);
}

/* ─── REVEAL ANIMATIONS ─── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ════════════════════════════════════════
   NAVBAR
════════════════════════════════════════ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0;
  transition: all var(--transition);
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(14,165,200,0.15);
  box-shadow: 0 4px 24px rgba(26, 58, 107, 0.10);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.brand-icon {
  width: 42px;
  height: 42px;
  background: var(--cyan-glow);
  border: 1px solid var(--border);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.brand-name {
  font-family: var(--font-head);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--white);
}

.brand-sub {
  font-size: 0.7rem;
  color: var(--cyan);
  font-weight: 500;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
}

.nav-links a {
  font-size: 0.83rem;
  font-weight: 500;
  color: #1a3a6b;
  padding: 7px 10px;
  border-radius: 8px;
  transition: all var(--transition);
  white-space: nowrap;
}

.nav-links a:hover {
  color: var(--cyan);
  background: var(--cyan-glow);
}

.nav-links .nav-cta {
  background: linear-gradient(135deg, var(--cyan) 0%, var(--blue) 100%);
  color: var(--navy) !important;
  font-weight: 700;
  padding: 8px 18px;
}

.nav-links .nav-cta:hover {
  background: white;
  transform: scale(1.03);
}

.nav-links .nav-home {
  color: var(--cyan) !important;
  border: 1px solid rgba(14, 165, 200, 0.30);
  border-radius: 8px;
  font-size: 0.80rem;
  font-weight: 600;
  padding: 6px 12px;
  opacity: 0.85;
}

.nav-links .nav-home:hover {
  opacity: 1;
  background: var(--cyan-glow);
  border-color: var(--cyan);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--transition);
}

/* ════════════════════════════════════════
   HERO
════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background:
    linear-gradient(160deg, rgba(219,238,255,0.88) 0%, rgba(238,245,255,0.82) 45%, rgba(248,251,255,0.90) 100%),
    url('building.jpg') right center / cover no-repeat;
}

#particle-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, transparent 50%, rgba(26, 58, 107, 0.4) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 900px;
  padding: 120px 24px 80px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(14, 165, 200, 0.12);
  border: 1px solid rgba(14, 165, 200, 0.40);
  color: #0a6e88;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 10px 20px;
  border-radius: 99px;
  margin-bottom: 32px;
}

.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cyan);
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.5;
    transform: scale(0.7);
  }
}

.hero-title {
  font-family: var(--font-head);
  font-size: clamp(2.4rem, 6vw, 4.5rem);
  font-weight: 800;
  line-height: 1.1;
  color: #0f2d56;
  margin-bottom: 28px;
  letter-spacing: -0.02em;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(26, 58, 107, 0.72);
  line-height: 1.7;
  margin-bottom: 44px;
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
}

.hero-subtitle strong {
  color: var(--cyan);
  font-weight: 700;
}

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

.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(14, 165, 200, 0.25);
  border-radius: var(--radius);
  padding: 20px 40px;
  backdrop-filter: blur(10px);
  flex-wrap: wrap;
  box-shadow: 0 4px 24px rgba(26, 58, 107, 0.08);
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 32px;
}

.stat-num {
  font-family: var(--font-head);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--cyan);
  line-height: 1;
}

.stat-unit {
  font-size: 1.2rem;
  color: var(--cyan);
  font-weight: 700;
  line-height: 1;
}

.stat-label {
  font-size: 0.75rem;
  color: rgba(26, 58, 107, 0.60);
  margin-top: 6px;
  font-weight: 500;
  letter-spacing: 0.05em;
}

.stat-divider {
  width: 1px;
  height: 48px;
  background: rgba(14, 165, 200, 0.25);
}

.hero-scroll-hint {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  z-index: 2;
  opacity: 0.5;
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--cyan), transparent);
  animation: scroll-anim 2s infinite;
}

@keyframes scroll-anim {
  0% {
    transform: scaleY(0);
    transform-origin: top;
  }

  50% {
    transform: scaleY(1);
    transform-origin: top;
  }

  100% {
    transform: scaleY(1);
    opacity: 0;
    transform-origin: bottom;
  }
}

.hero-scroll-hint span {
  font-size: 0.7rem;
  color: var(--white-60);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ════════════════════════════════════════
   SECCIÓN 1: EXCELLENCE
════════════════════════════════════════ */
.section-excellence {
  background: #ffffff;
}

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

.excellence-highlights {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 32px;
}

.highlight-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: var(--white-10);
  border: 1px solid var(--border-dim);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  transition: all var(--transition);
}

.highlight-item:hover {
  border-color: var(--border);
  background: rgba(0, 229, 255, 0.06);
  transform: translateX(4px);
}

.highlight-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--cyan-glow);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--cyan);
}

.highlight-item div:last-child {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.highlight-item strong {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--white);
}

.highlight-item span {
  font-size: 0.82rem;
  color: var(--white-60);
}

/* Visual Card (Dashboard) */
.visual-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-glow), var(--shadow-card);
}

.vc-header {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(0, 229, 255, 0.05);
  border-bottom: 1px solid var(--border-dim);
  padding: 14px 20px;
}

.vc-dots {
  display: flex;
  gap: 6px;
}

.vc-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--white-30);
}

.vc-dots span:first-child {
  background: #ff5f57;
}

.vc-dots span:nth-child(2) {
  background: #ffbd2e;
}

.vc-dots span:last-child {
  background: #28c840;
}

.vc-title {
  font-size: 0.75rem;
  color: var(--white-60);
  font-family: monospace;
  letter-spacing: 0.05em;
}

.vc-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.vc-metric {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-dim);
}

.vc-metric:last-of-type {
  border-bottom: none;
}

.vc-metric-label {
  font-size: 0.78rem;
  color: var(--white-60);
  font-weight: 500;
}

.vc-metric-val {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--blue);
}

.vc-metric-val.highlight {
  color: var(--cyan);
}

.vc-bar-section {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.vc-bar {
  height: 8px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 99px;
  overflow: hidden;
}

.vc-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--cyan), var(--blue));
  border-radius: 99px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  transition: width 1.5s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.vc-bar-fill span {
  font-size: 0.62rem;
  color: var(--navy);
  font-weight: 700;
  padding-right: 4px;
}

/* ════════════════════════════════════════
   SECCIÓN 2: DATIA HUB
════════════════════════════════════════ */
.section-datia {
  background: #f0f5fb;
  position: relative;
}

.datia-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(14, 165, 200, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(14, 165, 200, 0.07) 1px, transparent 1px);
  background-size: 50px 50px;
  pointer-events: none;
}

.datia-header {
  text-align: center;
  margin-bottom: 60px;
}

.datia-intro {
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
}

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

.pillar-card {
  background: #ffffff;
  border: 1px solid var(--border-dim);
  border-radius: var(--radius);
  padding: 32px 28px;
  position: relative;
  transition: all var(--transition);
}

.pillar-card:hover {
  border-color: var(--border);
  box-shadow: var(--shadow-glow);
  transform: translateY(-6px);
}

.pillar-featured {
  border-color: var(--border);
  background: linear-gradient(135deg, rgba(0, 229, 255, 0.06) 0%, rgba(26, 107, 255, 0.06) 100%);
  box-shadow: var(--shadow-glow);
}

.pillar-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--cyan) 0%, var(--blue) 100%);
  color: var(--navy);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 99px;
}

.pillar-icon {
  width: 56px;
  height: 56px;
  background: var(--cyan-glow);
  border: 1px solid var(--border);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cyan);
  margin-bottom: 20px;
}

.pillar-card h3 {
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
}

.pillar-card p {
  font-size: 0.88rem;
  color: var(--white-60);
  line-height: 1.65;
  margin-bottom: 20px;
}

.pillar-tag {
  display: inline-flex;
  padding: 5px 12px;
  background: var(--white-10);
  border: 1px solid var(--border-dim);
  border-radius: 99px;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--cyan);
  letter-spacing: 0.05em;
}

.datia-partners-row {
  display: flex;
  align-items: center;
  gap: 24px;
  background: #ffffff;
  border: 1px solid var(--border-dim);
  border-radius: var(--radius);
  padding: 20px 32px;
  flex-wrap: wrap;
}

.row-label {
  font-size: 0.8rem;
  color: var(--white-60);
  font-weight: 500;
  white-space: nowrap;
}

.founding-partners {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.fp-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--white-10);
  border: 1px solid var(--border-dim);
  border-radius: 8px;
  padding: 8px 16px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--white);
  transition: all var(--transition);
}

.fp-chip:hover {
  border-color: var(--border);
  background: var(--cyan-glow);
  color: var(--cyan);
}

.fp-dot {
  width: 8px;
  height: 8px;
  background: var(--cyan);
  border-radius: 50%;
}

/* ════════════════════════════════════════
   SECCIÓN 3: PROYECTOS
════════════════════════════════════════ */
.section-projects {
  background: #ffffff;
}

/* Featured (full-width) card — PP1 */
.project-card-featured {
  margin-top: 48px;
  margin-bottom: 12px;
  background: linear-gradient(135deg, #eef5ff 0%, #f5faff 100%);
  border: 1.5px solid rgba(14, 165, 200, 0.30);
  box-shadow: 0 6px 40px rgba(26, 58, 107, 0.10);
}

.project-card-featured:hover {
  box-shadow: 0 12px 48px rgba(14, 165, 200, 0.18);
  transform: translateY(-4px);
}

.pc-featured-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.pc-featured-text {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.pc-featured-img {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(26, 58, 107, 0.12);
}

.pc-featured-img img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
}

/* PP1 Pillars */
.pp1-pillars {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 4px;
}

.pp1-pillar {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: rgba(255, 255, 255, 0.70);
  border: 1px solid rgba(14, 165, 200, 0.18);
  border-radius: 10px;
  padding: 14px 16px;
}

.pp1-pillar-icon {
  width: 40px;
  height: 40px;
  background: var(--cyan-glow);
  border: 1px solid var(--border);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cyan);
  flex-shrink: 0;
}

.pp1-pillar div:last-child {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.pp1-pillar strong {
  font-size: 0.90rem;
  font-weight: 700;
  color: var(--white);
  display: block;
}

.pp1-pillar span {
  font-size: 0.82rem;
  color: var(--white-60);
  line-height: 1.5;
}

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

.project-card {
  background: #f8fbff;
  border: 1px solid var(--border-dim);
  border-radius: var(--radius);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: all var(--transition);
  cursor: pointer;
  outline: none;
}

.project-card:hover,
.project-card:focus {
  border-color: var(--border);
  box-shadow: var(--shadow-glow), var(--shadow-card);
  transform: translateY(-6px);
}

.pc-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.pc-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pc-icon-green {
  background: rgba(0, 229, 160, 0.12);
  border: 1px solid rgba(0, 229, 160, 0.3);
  color: var(--green);
}

.pc-icon-blue {
  background: rgba(26, 107, 255, 0.12);
  border: 1px solid rgba(26, 107, 255, 0.3);
  color: #6da8ff;
}

.pc-icon-purple {
  background: rgba(139, 92, 246, 0.12);
  border: 1px solid rgba(139, 92, 246, 0.3);
  color: var(--purple);
}

.pc-icon-green {
  background: rgba(5, 150, 105, 0.12);
  border: 1px solid rgba(5, 150, 105, 0.30);
  color: var(--green);
}

/* ─── PP1 Transformation Pillars (3-col) ─── */
.pp1-transformation-pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 8px;
}

.pp1-trans-pillar {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-start;
  background: rgba(255, 255, 255, 0.80);
  border: 1px solid rgba(14, 165, 200, 0.18);
  border-radius: 10px;
  padding: 14px 14px;
}

.pp1-trans-icon {
  font-size: 1.4rem;
  line-height: 1;
}

.pp1-trans-pillar strong {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--blue);
  display: block;
}

.pp1-trans-pillar span {
  font-size: 0.76rem;
  color: var(--white-60);
  line-height: 1.5;
}

/* ─── Roadmap Infographic Section ─── */
.section-roadmap {
  background: #f0f5fb;
}

.roadmap-img-wrap {
  margin-top: 40px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 8px 48px rgba(26, 58, 107, 0.14);
  border: 1px solid rgba(14, 165, 200, 0.20);
}

.roadmap-img-wrap img {
  width: 100%;
  height: auto;
  display: block;
}

.pc-tag {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white-60);
  border: 1px solid var(--border-dim);
  padding: 4px 10px;
  border-radius: 6px;
  background: var(--white-10);
}

.pc-title {
  font-family: var(--font-head);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--white);
}

.pc-desc {
  font-size: 0.875rem;
  color: var(--white-60);
  line-height: 1.7;
  flex: 1;
}

.pc-features {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.pc-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.83rem;
  color: var(--white-60);
}

.pc-features li svg {
  color: var(--cyan);
  flex-shrink: 0;
}

.pc-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 16px;
  border-top: 1px solid var(--border-dim);
}

.pc-status {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 99px;
}

.pc-status.active {
  background: rgba(0, 229, 160, 0.12);
  color: var(--green);
  border: 1px solid rgba(0, 229, 160, 0.3);
}

.pc-status.planned {
  background: rgba(139, 92, 246, 0.12);
  color: var(--purple);
  border: 1px solid rgba(139, 92, 246, 0.3);
}

.pc-tech {
  font-size: 0.72rem;
  color: var(--white-30);
  font-weight: 500;
}

/* ════════════════════════════════════════
   SECCIÓN 4: PARTNERS
════════════════════════════════════════ */
.section-partners {
  background: #f0f5fb;
  padding-bottom: 120px;
}

.partners-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 48px;
}

.partner-card {
  background: #ffffff;
  border: 1px solid var(--border-dim);
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  transition: all var(--transition);
}

.partner-card:hover {
  border-color: var(--border);
  box-shadow: var(--shadow-glow);
  transform: translateY(-3px);
}

.partner-logo-wrap {
  width: 54px;
  height: 54px;
  background: var(--cyan-glow);
  border: 1px solid var(--border);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.partner-logo-placeholder {
  color: var(--cyan);
}

.partner-info {
  display: flex;
  flex-direction: column;
  gap: 3px;
  flex: 1;
}

.partner-info strong {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--white);
}

.partner-info span {
  font-size: 0.75rem;
  color: var(--white-60);
}

.partner-type {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--cyan);
  background: var(--cyan-glow);
  border: 1px solid var(--border);
  padding: 3px 10px;
  border-radius: 6px;
  white-space: nowrap;
  flex-shrink: 0;
}

/* ════════════════════════════════════════
   FOOTER
════════════════════════════════════════ */
.footer {
  background: var(--blue);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-top {
  padding: 64px 0 48px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
}

.footer-tagline {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.70);
  line-height: 1.65;
  max-width: 280px;
  margin-bottom: 24px;
}

.footer-social {
  display: flex;
  gap: 10px;
}

.social-btn {
  width: 38px;
  height: 38px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.20);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.70);
  transition: all var(--transition);
}

.social-btn:hover {
  background: rgba(255, 255, 255, 0.22);
  border-color: rgba(255, 255, 255, 0.40);
  color: #ffffff;
}

.footer-links-col h4 {
  font-family: var(--font-head);
  font-size: 0.85rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 16px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.footer-links-col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links-col li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.70);
  transition: color var(--transition);
}

.footer-links-col li:hover,
.footer-links-col li a:hover {
  color: #7ee8fa;
}

.footer-links-col li a {
  color: rgba(255, 255, 255, 0.70);
  transition: color var(--transition);
}

.footer-links-col li svg {
  flex-shrink: 0;
}

.footer-institutional h4 {
  font-family: var(--font-head);
  font-size: 0.85rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 16px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.institutional-logos {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.inst-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  padding: 10px 14px;
  color: rgba(255, 255, 255, 0.70);
  transition: all var(--transition);
}

.inst-logo:hover {
  border-color: rgba(255, 255, 255, 0.35);
  color: #ffffff;
}

.inst-logo span {
  font-size: 0.78rem;
  line-height: 1.3;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.70);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 20px 0;
}

.footer-bottom .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-bottom span {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.45);
}

.footer-funded {
  font-size: 0.72rem !important;
  color: rgba(126, 232, 250, 0.6) !important;
}

/* ════════════════════════════════════════
   TEAM SECTION
════════════════════════════════════════ */
.section-team {
  background-color: var(--bg-card);
  border-top: 1px solid rgba(255,255,255,0.05);
  padding-top: 4rem;
  padding-bottom: 4rem;
}

.team-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  margin-top: 2rem;
}

.team-text p {
  font-size: 1.15rem;
  line-height: 1.7;
  color: var(--text-secondary);
}

/* ════════════════════════════════════════
   RESPONSIVE
════════════════════════════════════════ */
@media (max-width: 1024px) {
  .excellence-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .datia-pillars {
    grid-template-columns: 1fr 1fr;
  }

  .projects-grid {
    grid-template-columns: 1fr 1fr;
  }

  .pc-featured-inner {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

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

  .nav-links {
    display: none;
    flex-direction: column;
    position: fixed;
    inset: 0;
    background: rgba(5, 13, 26, 0.98);
    padding: 100px 32px 32px;
    gap: 8px;
    z-index: 999;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    font-size: 1.1rem;
    padding: 14px 20px;
  }

  .nav-toggle {
    display: flex;
    z-index: 1001;
  }

  .datia-pillars {
    grid-template-columns: 1fr;
  }

  .projects-grid {
    grid-template-columns: 1fr;
  }

  .partners-grid {
    grid-template-columns: 1fr;
  }

  .hero-stats {
    padding: 16px 20px;
  }

  .stat {
    padding: 0 16px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-bottom .container {
    flex-direction: column;
    text-align: center;
  }

  .datia-partners-row {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2.1rem;
  }

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

  .hero-stats {
    flex-direction: column;
    gap: 16px;
  }

  .stat-divider {
    width: 80px;
    height: 1px;
  }

  .excellence-grid {
    grid-template-columns: 1fr;
  }
}

/* ════════════════════════════════════════
   LANGUAGE SWITCHER
════════════════════════════════════════ */
.lang-switcher {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: 8px;
  background: var(--white-10);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 4px 10px;
  flex-shrink: 0;
}

.lang-sep {
  color: var(--white-30);
  font-size: 0.75rem;
  user-select: none;
}

.lang-btn {
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-main);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--white-60);
  padding: 2px 4px;
  border-radius: 4px;
  transition: all var(--transition);
}

.lang-btn:hover {
  color: var(--cyan);
}

.lang-btn.active {
  color: var(--cyan);
  background: var(--cyan-glow);
}

/* ════════════════════════════════════════
   FOOTER LOGOS — TRANSPARENT BACKGROUND
════════════════════════════════════════ */
.footer-logos-img {
  max-height: 60px;
  width: auto;
  display: block;
  margin-top: 12px;
  border-radius: 8px;
  opacity: 0.90;
  background: rgba(255, 255, 255, 0.12);
  padding: 6px 12px;
}

/* ════════════════════════════════════════
   PONENCIA: AGENTES IA
════════════════════════════════════════ */
.section-ponencia {
  background: #ffffff;
}

/* Concept cards */
.ponencia-concepts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
  margin-bottom: 48px;
}

.concept-card {
  background: #f8fbff;
  border: 1px solid var(--border-dim);
  border-radius: var(--radius);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: all var(--transition);
  position: relative;
}

.concept-card:hover {
  border-color: var(--border);
  box-shadow: var(--shadow-glow), var(--shadow-card);
  transform: translateY(-4px);
}

.concept-card-key {
  background: linear-gradient(135deg, rgba(14,165,200,0.06) 0%, rgba(26,58,107,0.06) 100%);
  border-color: var(--border);
  box-shadow: var(--shadow-glow);
}

.concept-key-badge {
  position: absolute;
  top: -12px;
  left: 24px;
  background: linear-gradient(135deg, var(--cyan) 0%, var(--blue) 100%);
  color: white;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 99px;
}

.concept-icon-wrap {
  width: 52px;
  height: 52px;
  background: var(--cyan-glow);
  border: 1px solid var(--border);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cyan);
  flex-shrink: 0;
}

.concept-card h3 {
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--white);
}

.concept-card p {
  font-size: 0.875rem;
  color: var(--white-60);
  line-height: 1.7;
  flex: 1;
}

.concept-quote {
  margin-top: 8px;
  padding: 12px 16px;
  background: var(--cyan-glow);
  border-left: 3px solid var(--cyan);
  border-radius: 0 8px 8px 0;
  font-size: 0.85rem;
  font-style: italic;
  font-weight: 600;
  color: var(--blue);
}

/* Execution cycle */
.ponencia-cycle-wrap {
  background: #f8fbff;
  border: 1px solid var(--border-dim);
  border-radius: var(--radius);
  padding: 40px 36px;
  margin-bottom: 32px;
}

.ponencia-cycle-title {
  font-family: var(--font-head);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--cyan);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 28px;
  text-align: center;
}

.ponencia-cycle {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
}

.cycle-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  position: relative;
  background: #ffffff;
  border: 1px solid var(--border-dim);
  border-radius: 12px;
  padding: 18px 20px;
  min-width: 106px;
  transition: all var(--transition);
}

.cycle-step:hover {
  border-color: var(--border);
  box-shadow: var(--shadow-glow);
  transform: translateY(-3px);
}

.cycle-step-ai {
  background: linear-gradient(135deg, rgba(14,165,200,0.08) 0%, rgba(26,58,107,0.08) 100%);
  border-color: var(--border);
}

.cycle-step-final {
  background: rgba(5, 150, 105, 0.06);
  border-color: rgba(5, 150, 105, 0.30);
}

.cycle-ai-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  color: white;
  font-size: 0.6rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 99px;
  display: flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
}

.cycle-num {
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-family: var(--font-head);
  font-size: 0.85rem;
  flex-shrink: 0;
}

.cycle-label {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--white);
  text-align: center;
  line-height: 1.4;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

.cycle-label span {
  font-weight: 400;
  color: var(--white-60);
  font-size: 0.72rem;
}

.cycle-arrow {
  font-size: 1.3rem;
  color: var(--white-30);
  flex-shrink: 0;
}

.ponencia-cycle-note {
  margin-top: 20px;
  font-size: 0.82rem;
  color: var(--white-60);
  text-align: center;
  line-height: 1.6;
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
}

/* AI Goal Planning */
.ponencia-planning {
  display: flex;
  align-items: center;
  gap: 20px;
  background: #f8fbff;
  border: 1px solid var(--border-dim);
  border-radius: var(--radius);
  padding: 36px 40px;
  flex-wrap: wrap;
}

.planning-endpoint {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  min-width: 90px;
  flex-shrink: 0;
}

.planning-emoji {
  font-size: 2.4rem;
  line-height: 1;
}

.planning-endpoint strong {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
}

.planning-endpoint span {
  font-size: 0.73rem;
  color: var(--cyan);
  font-weight: 600;
  text-align: center;
}

.planning-ai-end .planning-emoji {
  filter: drop-shadow(0 0 12px rgba(14,165,200,0.4));
}

.planning-arrow-svg {
  width: 48px;
  height: 24px;
  color: var(--cyan);
  opacity: 0.5;
  flex-shrink: 0;
}

.planning-steps-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 200px;
}

.planning-step-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  background: #ffffff;
  border: 1px solid var(--border-dim);
  border-radius: 8px;
  font-size: 0.83rem;
  color: var(--white-60);
  transition: all var(--transition);
}

.planning-step-item:hover {
  border-color: var(--border);
  background: var(--cyan-glow);
  color: var(--white);
  transform: translateX(4px);
}

.planning-step-item span {
  font-family: var(--font-head);
  font-size: 0.68rem;
  font-weight: 800;
  color: var(--cyan);
  background: rgba(14,165,200,0.1);
  width: 28px;
  height: 28px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* Responsive */
@media (max-width: 860px) {
  .ponencia-concepts { grid-template-columns: 1fr; }
  .ponencia-cycle { justify-content: flex-start; overflow-x: auto; padding-bottom: 8px; }
  .ponencia-planning { flex-direction: column; align-items: stretch; }
  .planning-arrow-svg { transform: rotate(90deg); align-self: center; }
  .planning-endpoint { flex-direction: row; justify-content: center; gap: 12px; }
  .ponencia-examples { grid-template-columns: 1fr; }
  .ponencia-videos { grid-template-columns: 1fr; }
}

/* ════════════════════════════════════════
   PONENCIA — EXAMPLES & VIDEOS
════════════════════════════════════════ */
.ponencia-sub-label {
  font-family: var(--font-head);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--cyan);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 10px;
}

.ponencia-sub-desc {
  font-size: 0.88rem;
  color: var(--white-60);
  line-height: 1.65;
  max-width: 680px;
  margin-bottom: 16px;
}

.ponencia-examples-header {
  margin-top: 56px;
  margin-bottom: 28px;
}

.ponencia-status-note {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(14, 165, 200, 0.08);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 10px 16px;
  font-size: 0.8rem;
  color: var(--cyan);
  font-weight: 500;
}

.ponencia-status-note svg {
  flex-shrink: 0;
  color: var(--cyan);
}

/* Example cards grid */
.ponencia-examples {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}

.example-card {
  background: #f8fbff;
  border: 1px solid var(--border-dim);
  border-radius: var(--radius);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: all var(--transition);
  position: relative;
}

.example-card:hover {
  border-color: var(--border);
  box-shadow: var(--shadow-glow), var(--shadow-card);
  transform: translateY(-4px);
}

.example-card-practical {
  background: linear-gradient(135deg, rgba(14,165,200,0.05) 0%, rgba(26,58,107,0.05) 100%);
  border-color: var(--border);
}

.example-practical-badge {
  position: absolute;
  top: -12px;
  right: 20px;
  background: linear-gradient(135deg, var(--cyan) 0%, var(--blue) 100%);
  color: white;
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 99px;
}

.example-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.example-green {
  background: rgba(5, 150, 105, 0.12);
  border: 1px solid rgba(5, 150, 105, 0.28);
  color: var(--green);
}

.example-purple {
  background: rgba(124, 58, 237, 0.12);
  border: 1px solid rgba(124, 58, 237, 0.28);
  color: var(--purple);
}

.example-cyan {
  background: var(--cyan-glow);
  border: 1px solid var(--border);
  color: var(--cyan);
}

.example-card-tag {
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white-60);
}

.example-card h4 {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin: 0;
}

.example-card p {
  font-size: 0.845rem;
  color: var(--white-60);
  line-height: 1.68;
  flex: 1;
  margin: 0;
}

.example-card-badge {
  display: inline-flex;
  width: fit-content;
  padding: 4px 12px;
  background: rgba(5, 150, 105, 0.10);
  border: 1px solid rgba(5, 150, 105, 0.28);
  border-radius: 99px;
  font-size: 0.70rem;
  font-weight: 700;
  color: var(--green);
  letter-spacing: 0.06em;
}

.example-setup {
  background: #ffffff;
  border: 1px solid var(--border-dim);
  border-radius: 10px;
  padding: 14px 16px;
  margin-top: 4px;
}

.example-setup-title {
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
}

.example-setup-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 0;
  margin: 0;
}

.example-setup-list li {
  font-size: 0.78rem;
  color: var(--white-60);
  line-height: 1.5;
  padding-left: 12px;
  position: relative;
}

.example-setup-list li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--cyan);
  font-weight: 700;
}

.example-setup-list strong {
  color: var(--white);
  font-weight: 600;
}

/* Video placeholders */
.ponencia-videos-wrap {
  margin-top: 8px;
}

.ponencia-videos {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 20px;
}

.video-placeholder {
  display: flex;
  align-items: center;
  gap: 16px;
  background: linear-gradient(135deg, #0c1a2e 0%, #0f2340 100%);
  border: 1px solid rgba(14, 165, 200, 0.20);
  border-radius: var(--radius);
  padding: 20px 20px;
  transition: all var(--transition);
  cursor: default;
}

.video-placeholder:hover {
  border-color: var(--border);
  box-shadow: var(--shadow-glow);
  transform: translateY(-3px);
}

.video-play-icon {
  width: 48px;
  height: 48px;
  background: rgba(14,165,200,0.15);
  border: 1.5px solid rgba(14,165,200,0.35);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cyan);
  flex-shrink: 0;
  padding-left: 3px;
}

.video-info {
  display: flex;
  flex-direction: column;
  gap: 5px;
  flex: 1;
  min-width: 0;
}

.video-tag {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cyan);
  opacity: 0.8;
}

.video-title {
  font-size: 0.83rem;
  font-weight: 600;
  color: rgba(255,255,255,0.85);
  line-height: 1.4;
}

/* ════════════════════════════════════════
   AGENT CYCLE — new design
════════════════════════════════════════ */
.agent-cycle {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
  margin: 24px 0 12px;
}

.agent-cycle-main {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}

.agent-cycle-loop {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(14, 165, 200, 0.06);
  border: 1px dashed rgba(14, 165, 200, 0.30);
  border-radius: 12px;
  padding: 10px 20px;
}

.cycle-loop-label {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--cyan);
  opacity: 0.75;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.cycle-loop-arrow {
  font-size: 0.75rem;
  color: var(--cyan);
  font-weight: 600;
  opacity: 0.8;
}

.cycle-step-duty .cycle-num {
  background: linear-gradient(135deg, var(--blue) 0%, #0a2550 100%);
  color: white;
}

.cycle-step-replan {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--cyan);
}

.cycle-step-replan .cycle-num {
  background: rgba(14,165,200,0.18);
  border: 1.5px solid rgba(14,165,200,0.40);
  color: var(--cyan);
}

.cycle-step-replan .cycle-label {
  color: var(--cyan);
}

/* ════════════════════════════════════════
   PLANNING — header row layout
════════════════════════════════════════ */
.planning-header-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.planning-steps-full {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  width: 100%;
}

.planning-steps-full .planning-step-item {
  flex: 1 1 180px;
  max-width: 220px;
}

/* ════════════════════════════════════════
   EXAMPLE CARDS — 2-col variant
════════════════════════════════════════ */
.ponencia-examples-2col {
  grid-template-columns: repeat(2, 1fr) !important;
}

/* ════════════════════════════════════════
   IA LEVELS
════════════════════════════════════════ */
.ia-levels-wrap {
  margin-top: 56px;
}

.ia-levels {
  display: flex;
  align-items: stretch;
  gap: 0;
  margin-top: 24px;
  border-radius: var(--radius);
  overflow: hidden;
}

.ia-level-connector {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: rgba(255,255,255,0.25);
  flex-shrink: 0;
  width: 28px;
  background: rgba(255,255,255,0.03);
}

.ia-level-card {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 28px 22px;
  border-top: 3px solid transparent;
  transition: all var(--transition);
}

.ia-level-card:hover {
  transform: translateY(-4px);
  z-index: 1;
}

.ia-level-1 {
  background: linear-gradient(160deg, #0f2040 0%, #132850 100%);
  border-color: rgba(100, 160, 230, 0.5);
}
.ia-level-2 {
  background: linear-gradient(160deg, #0d2545 0%, #0f3060 100%);
  border-color: rgba(14, 165, 200, 0.65);
}
.ia-level-3 {
  background: linear-gradient(160deg, #0c2240 0%, #0d2e55 100%);
  border-color: rgba(5, 200, 150, 0.55);
}
.ia-level-4 {
  background: linear-gradient(160deg, #0b1f3a 0%, #0c2a50 100%);
  border-color: rgba(150, 100, 250, 0.65);
}

.ia-level-num {
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white-60);
  margin-bottom: 4px;
}

.ia-level-icon {
  font-size: 1.8rem;
  line-height: 1;
}

.ia-level-card h4 {
  font-family: var(--font-head);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--white);
  margin: 0;
  line-height: 1.3;
}

.ia-level-card p {
  font-size: 0.80rem;
  color: var(--white-60);
  line-height: 1.6;
  flex: 1;
  margin: 0;
}

.ia-level-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 4px;
}

.ia-level-tools span {
  font-size: 0.68rem;
  font-weight: 600;
  padding: 3px 9px;
  border-radius: 99px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.70);
  letter-spacing: 0.04em;
}

@media (max-width: 860px) {
  .ia-levels { flex-direction: column; }
  .ia-level-connector { display: none; }
  .ponencia-examples-2col { grid-template-columns: 1fr !important; }
  .agent-cycle-main { gap: 6px; }
  .planning-header-row { flex-direction: column; }
  .planning-steps-full { flex-direction: column; }
  .planning-steps-full .planning-step-item { max-width: 100%; }
}

/* ════════════════════════════════════════
   NAV DROPDOWN
════════════════════════════════════════ */
.nav-dropdown {
  position: relative;
}

.nav-dropdown-btn {
  display: flex;
  align-items: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 0.83rem;
  font-weight: 500;
  color: #1a3a6b;
  padding: 7px 10px;
  border-radius: 8px;
  transition: all var(--transition);
  white-space: nowrap;
  font-family: inherit;
}

.nav-dropdown-btn:hover,
.nav-dropdown.open .nav-dropdown-btn {
  color: var(--cyan);
  background: var(--cyan-glow);
}

.nav-dropdown-btn svg {
  transition: transform 0.2s;
  opacity: 0.7;
}

.nav-dropdown.open .nav-dropdown-btn svg {
  transform: rotate(180deg);
}

.nav-dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%);
  background: rgba(255, 255, 255, 0.97);
  border: 1px solid rgba(0, 0, 0, 0.10);
  border-radius: 12px;
  backdrop-filter: blur(20px);
  box-shadow: 0 12px 36px rgba(0,0,0,0.12);
  min-width: 200px;
  padding: 6px;
  list-style: none;
  z-index: 200;
}

.nav-dropdown.open .nav-dropdown-menu {
  display: block;
  animation: dropdownFadeIn 0.15s ease;
}

@keyframes dropdownFadeIn {
  from { opacity: 0; transform: translateX(-50%) translateY(-6px); }
  to   { opacity: 1; transform: translateX(-50%) translateY(0); }
}

.nav-dropdown-menu li a {
  display: block;
  padding: 10px 14px;
  font-size: 0.84rem;
  font-weight: 500;
  color: #1a3a6b;
  border-radius: 8px;
  transition: all 0.15s;
  text-decoration: none;
  white-space: nowrap;
}

.nav-dropdown-menu li a:hover,
.nav-dropdown-menu li a.active {
  background: rgba(0, 229, 255, 0.10);
  color: #007fa3;
}

/* ════════════════════════════════════════
   SUBPAGE HERO & SECTION
════════════════════════════════════════ */
.subpage-hero {
  padding: 120px 0 56px;
  background: linear-gradient(180deg, rgba(5,18,45,1) 0%, rgba(7,23,55,0.85) 100%);
  border-bottom: 1px solid rgba(14,165,200,0.15);
  text-align: center;
}

.subpage-breadcrumb {
  font-size: 0.78rem;
  color: var(--white-60);
  margin-bottom: 16px;
  letter-spacing: 0.04em;
}

.subpage-breadcrumb a {
  color: var(--cyan);
  text-decoration: none;
  opacity: 0.8;
}

.subpage-breadcrumb a:hover { opacity: 1; }

.subpage-section {
  padding-top: 60px;
}

/* ════════════════════════════════════════
   IA LEVEL EXAMPLE
════════════════════════════════════════ */
.ia-level-example {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.50);
  line-height: 1.5;
  font-style: italic;
  border-left: 2px solid rgba(255,255,255,0.10);
  padding-left: 10px;
  margin-top: 2px;
}

.ia-level-example strong {
  color: rgba(255,255,255,0.65);
  font-style: normal;
}

@media (max-width: 860px) {
  .nav-dropdown-menu {
    position: static;
    transform: none;
    box-shadow: none;
    border: 1px solid rgba(14,165,200,0.15);
    margin-top: 4px;
  }
  .nav-dropdown.open .nav-dropdown-menu {
    animation: none;
  }
  .subpage-hero { padding: 90px 0 40px; }
}
/* ════════════════════════════════════════
   INFOGRAFÍAS
════════════════════════════════════════ */
.infografia-wrap {
  margin: 32px 0 40px;
  text-align: center;
}

.infografia-img {
  max-width: 100%;
  width: 100%;
  max-width: 900px;
  border-radius: 16px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.35);
  display: block;
  margin: 0 auto;
}

@media (max-width: 700px) {
  .infografia-img { border-radius: 10px; }
}
