/* ═══════════════════════════════════════════════════════════
   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: 8px;
}

.nav-links a {
  font-size: 0.88rem;
  font-weight: 500;
  color: #1a3a6b;
  padding: 8px 14px;
  border-radius: 8px;
  transition: all var(--transition);
}

.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(3, 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;
}

/* ════════════════════════════════════════
   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;
  }
}