    /* ═══════════════════════════════════════════
       @FONT-FACE — Agrandir
    ═══════════════════════════════════════════ */
    @font-face {
      font-family: 'Agrandir';
      src: url('fonts/Agrandir-Regular.otf') format('opentype');
      font-weight: 400;
      font-style: normal;
      font-display: swap;
    }
    @font-face {
      font-family: 'Agrandir';
      src: url('fonts/Agrandir-TextBold.otf') format('opentype');
      font-weight: 700;
      font-style: normal;
      font-display: swap;
    }
    @font-face {
      font-family: 'Agrandir Grand';
      src: url('fonts/Agrandir-GrandHeavy.otf') format('opentype');
      font-weight: 900;
      font-style: normal;
      font-display: swap;
    }
    @font-face {
      font-family: 'Agrandir Grand';
      src: url('fonts/Agrandir-GrandLight.otf') format('opentype');
      font-weight: 300;
      font-style: normal;
      font-display: swap;
    }
    @font-face {
      font-family: 'Agrandir Narrow';
      src: url('fonts/Agrandir-Narrow.otf') format('opentype');
      font-weight: 400;
      font-style: normal;
      font-display: swap;
    }
    @font-face {
      font-family: 'Agrandir Tight';
      src: url('fonts/Agrandir-Tight.otf') format('opentype');
      font-weight: 400;
      font-style: normal;
      font-display: swap;
    }
    @font-face {
      font-family: 'Agrandir Wide';
      src: url('fonts/Agrandir-WideLight.otf') format('opentype');
      font-weight: 300;
      font-style: normal;
      font-display: swap;
    }

    /* ═══════════════════════════════════════════
       CSS VARIABLES & RESET
    ═══════════════════════════════════════════ */
    :root {
      --blue: #3B5AE6;
      --blue-deep: #2A3FB0;
      --pink: #D97B8A;
      --coral: #E08B7E;
      --gradient: linear-gradient(160deg, #3B5AE6 0%, #7B6BC4 35%, #C47B9E 65%, #E08B7E 100%);
      --gradient-soft: linear-gradient(160deg, rgba(59,90,230,0.08) 0%, rgba(200,123,158,0.08) 100%);
      --white: #FFFFFF;
      --white-90: rgba(255,255,255,0.9);
      --white-70: rgba(255,255,255,0.7);
      --white-50: rgba(255,255,255,0.5);
      --white-30: rgba(255,255,255,0.3);
      --white-15: rgba(255,255,255,0.15);
      --white-08: rgba(255,255,255,0.08);
      --white-04: rgba(255,255,255,0.04);
      --dark: #1A1A2E;
      --dark-soft: #2D2D44;
      --text-on-gradient: #FFFFFF;
      --text-dark: #1A1A2E;
      --text-muted: #6B6B80;
      --bg-light: #F8F6FB;
      --bg-card: #FFFFFF;
      --font-display: 'Agrandir', sans-serif;
      --font-body: 'Agrandir', sans-serif;
      --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
      --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
    }

    *, *::before, *::after {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

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

    body {
      font-family: var(--font-body);
      color: var(--text-dark);
      background: var(--bg-light);
      line-height: 1.7;
      overflow-x: hidden;
      -webkit-font-smoothing: antialiased;
    }

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

    /* ═══════════════════════════════════════════
       GRID TEXTURE (matching Instagram)
    ═══════════════════════════════════════════ */
    .grid-texture {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background-image:
        linear-gradient(rgba(255,255,255,0.07) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.07) 1px, transparent 1px);
      background-size: 40px 40px;
      pointer-events: none;
    }

    /* ═══════════════════════════════════════════
       NAVIGATION
    ═══════════════════════════════════════════ */
    .nav {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      z-index: 1000;
      padding: 1.2rem 3rem;
      display: flex;
      align-items: center;
      justify-content: space-between;
      transition: all 0.4s var(--ease-smooth);
    }

    .nav.scrolled {
      background: rgba(59, 90, 230, 0.92);
      backdrop-filter: blur(20px);
      -webkit-backdrop-filter: blur(20px);
      box-shadow: 0 4px 30px rgba(0,0,0,0.15);
      padding: 0.8rem 3rem;
    }

    .nav-brand {
      display: flex;
      align-items: center;
      gap: 0.8rem;
    }

    .nav-brand-divider {
      width: 1px;
      height: 22px;
      background: var(--white-30);
    }

    .nav-logo {
      height: 28px;
      width: auto;
      transition: height 0.3s var(--ease-smooth);
    }

    .nav-logo-comu {
      height: 32px;
    }

    .nav.scrolled .nav-logo {
      height: 24px;
    }

    .nav.scrolled .nav-logo-comu {
      height: 28px;
    }

    .nav-links {
      display: flex;
      gap: 2.2rem;
      list-style: none;
    }

    .nav-links a {
      font-size: 0.8rem;
      font-weight: 500;
      letter-spacing: 0.04em;
      color: var(--white-70);
      transition: color 0.3s;
      position: relative;
    }

    .nav-links a::after {
      content: '';
      position: absolute;
      bottom: -4px;
      left: 0;
      width: 0;
      height: 2px;
      background: var(--white);
      border-radius: 1px;
      transition: width 0.3s var(--ease-out);
    }

    .nav-links a:hover {
      color: var(--white);
    }

    .nav-links a:hover::after {
      width: 100%;
    }

    .nav-menu-btn {
      display: none;
      background: none;
      border: none;
      cursor: pointer;
      width: 28px;
      height: 20px;
      position: relative;
      z-index: 1001;
    }

    .nav-menu-btn span {
      display: block;
      width: 100%;
      height: 2px;
      background: var(--white);
      border-radius: 1px;
      transition: all 0.3s var(--ease-smooth);
      position: absolute;
      left: 0;
    }

    .nav-menu-btn span:nth-child(1) { top: 0; }
    .nav-menu-btn span:nth-child(2) { top: 9px; }
    .nav-menu-btn span:nth-child(3) { top: 18px; }

    /* ═══════════════════════════════════════════
       HERO SECTION
    ═══════════════════════════════════════════ */
    .hero {
      min-height: auto;
      display: flex;
      align-items: center;
      position: relative;
      overflow: hidden;
      background: var(--gradient);
      color: var(--white);
      padding: 0;
    }

    .hero-content {
      position: relative;
      z-index: 2;
      max-width: 1100px;
      margin: 0 auto;
      padding: 4.2rem 3rem 1.5rem;
      width: 100%;
    }

    .hero-badge {
      display: inline-block;
      padding: 0.5rem 1.2rem;
      background: var(--white);
      color: var(--blue);
      font-family: var(--font-display);
      font-size: 0.85rem;
      font-weight: 700;
      border-radius: 6px;
      margin-bottom: 2rem;
      opacity: 0;
      transform: translateY(20px);
      animation: fadeUp 0.7s var(--ease-out) 0.3s forwards;
    }

    .hero-title {
      font-family: var(--font-display);
      font-size: clamp(1.8rem, 4vw, 3rem);
      font-weight: 800;
      line-height: 1;
      letter-spacing: -0.02em;
      margin-bottom: 0.4rem;
      opacity: 0;
      transform: translateY(20px);
      animation: fadeUp 0.6s var(--ease-out) 0.3s forwards;
    }

    .hero-title .line-thin {
      font-weight: 400;
      font-style: italic;
    }

    .hero-subtitle-catedra {
      font-family: var(--font-display);
      font-size: 0.95rem;
      font-weight: 500;
      color: var(--white-70);
      margin-bottom: 0;
      opacity: 0;
      transform: translateY(15px);
      animation: fadeUp 0.5s var(--ease-out) 0.5s forwards;
    }

    .hero-tagline {
      display: flex;
      align-items: baseline;
      gap: 0.6rem;
      font-size: 1rem;
      font-weight: 400;
      color: var(--white-90);
      max-width: 600px;
      line-height: 1.6;
      margin-bottom: 1.5rem;
      opacity: 0;
      transform: translateY(30px);
      animation: fadeUp 0.7s var(--ease-out) 0.85s forwards;
    }

    .hero-tagline .marker {
      color: var(--white);
      font-weight: 700;
      font-size: 1.3rem;
      flex-shrink: 0;
    }

    .hero-tagline em {
      font-style: italic;
      font-weight: 600;
    }

    .hero-cta-row {
      display: flex;
      gap: 1rem;
      align-items: center;
      opacity: 0;
      transform: translateY(30px);
      animation: fadeUp 0.7s var(--ease-out) 1s forwards;
    }

    .hero-cta {
      display: inline-flex;
      align-items: center;
      gap: 0.8rem;
      padding: 0.9rem 1.8rem;
      background: var(--white);
      color: var(--blue);
      font-family: var(--font-body);
      font-size: 0.85rem;
      font-weight: 600;
      border: none;
      border-radius: 8px;
      cursor: pointer;
      transition: all 0.3s var(--ease-smooth);
    }

    .hero-cta:hover {
      transform: translateY(-2px);
      box-shadow: 0 8px 30px rgba(0,0,0,0.2);
    }

    .hero-cta svg {
      width: 16px;
      height: 16px;
      transition: transform 0.3s;
    }

    .hero-cta:hover svg {
      transform: translateX(3px);
    }

    .hero-cta-secondary {
      display: inline-flex;
      align-items: center;
      gap: 0.6rem;
      padding: 0.9rem 1.8rem;
      background: var(--white-15);
      color: var(--white);
      font-family: var(--font-body);
      font-size: 0.85rem;
      font-weight: 500;
      border: 1px solid var(--white-30);
      border-radius: 8px;
      cursor: pointer;
      transition: all 0.3s var(--ease-smooth);
      backdrop-filter: blur(10px);
    }

    .hero-cta-secondary:hover {
      background: var(--white-30);
      border-color: var(--white-50);
    }

    .hero-logos {
      position: absolute;
      bottom: 3rem;
      left: 3rem;
      display: flex;
      align-items: center;
      gap: 1.5rem;
      opacity: 0;
      animation: fadeIn 0.8s var(--ease-out) 1.2s forwards;
    }

    .hero-logo-img {
      height: 45px;
      width: auto;
    }

    .hero-logo-img[alt*="COMU"] {
      height: 55px;
    }

    .hero-scroll {
      position: absolute;
      bottom: 3rem;
      right: 3rem;
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 0.6rem;
      opacity: 0;
      animation: fadeIn 0.8s var(--ease-out) 1.3s forwards;
    }

    .hero-scroll span {
      font-size: 0.65rem;
      letter-spacing: 0.15em;
      text-transform: uppercase;
      color: var(--white-50);
      writing-mode: vertical-rl;
    }

    .hero-scroll-line {
      width: 1px;
      height: 50px;
      background: linear-gradient(to bottom, var(--white-50), transparent);
      animation: scrollPulse 2s ease-in-out infinite;
    }

    @keyframes scrollPulse {
      0%, 100% { opacity: 1; transform: scaleY(1); }
      50% { opacity: 0.3; transform: scaleY(0.5); }
    }

    /* ═══════════════════════════════════════════
       SECTION STYLES
    ═══════════════════════════════════════════ */
    section {
      padding: 6rem 3rem;
    }

    .section-container {
      max-width: 1100px;
      margin: 0 auto;
    }

    .section-header {
      margin-bottom: 3.5rem;
    }

    .section-label {
      display: inline-flex;
      align-items: center;
      gap: 0.6rem;
      font-size: 0.75rem;
      font-weight: 600;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      color: var(--blue);
      margin-bottom: 1rem;
    }

    .section-label::before {
      content: '>';
      font-weight: 700;
      font-size: 0.85rem;
    }

    .section-title {
      font-family: var(--font-display);
      font-size: clamp(2rem, 3.5vw, 2.8rem);
      font-weight: 700;
      color: var(--text-dark);
      line-height: 1.15;
    }

    .section-title .accent {
      background: var(--gradient);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
    }

    /* ═══════════════════════════════════════════
       GRADIENT SECTIONS (matching Instagram)
    ═══════════════════════════════════════════ */
    .gradient-section {
      background: var(--gradient);
      color: var(--white);
      position: relative;
      overflow: hidden;
    }

    .gradient-section .section-label {
      color: var(--white-70);
    }

    .gradient-section .section-label::before {
      color: var(--white);
    }

    .gradient-section .section-title {
      color: var(--white);
    }

    .gradient-section .section-title .accent {
      -webkit-text-fill-color: var(--white);
      opacity: 0.7;
    }

    /* ═══════════════════════════════════════════
       ABOUT SECTION
    ═══════════════════════════════════════════ */
    .about {
      background: var(--bg-light);
    }

    .about-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 4rem;
      align-items: start;
    }

    .about-text p {
      font-size: 1.02rem;
      line-height: 1.85;
      color: var(--text-dark);
      margin-bottom: 1.3rem;
    }

    .about-text strong {
      font-weight: 600;
      color: var(--blue);
    }

    .about-highlights {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 1rem;
      margin-top: 2rem;
    }

    .highlight-card {
      padding: 1.5rem;
      background: var(--white);
      border-radius: 12px;
      border: 1px solid rgba(59, 90, 230, 0.08);
      transition: all 0.3s var(--ease-smooth);
    }

    .highlight-card:hover {
      transform: translateY(-3px);
      box-shadow: 0 12px 30px rgba(59, 90, 230, 0.1);
      border-color: rgba(59, 90, 230, 0.15);
    }

    .highlight-number {
      font-family: var(--font-display);
      font-size: 2.2rem;
      font-weight: 700;
      background: var(--gradient);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
      line-height: 1;
      margin-bottom: 0.3rem;
    }

    .highlight-label {
      font-size: 0.78rem;
      font-weight: 500;
      color: var(--text-muted);
    }

    .about-sidebar {
      display: flex;
      flex-direction: column;
      gap: 1rem;
    }

    .about-quote-card {
      background: var(--gradient);
      color: var(--white);
      padding: 2.2rem;
      border-radius: 14px;
      position: relative;
      overflow: hidden;
    }

    .about-quote-card .grid-texture {
      border-radius: 14px;
    }

    .about-quote-card blockquote {
      font-family: var(--font-display);
      font-size: 1.2rem;
      font-weight: 500;
      font-style: italic;
      line-height: 1.55;
      position: relative;
      z-index: 1;
    }

    .about-quote-card cite {
      display: block;
      margin-top: 1.2rem;
      font-family: var(--font-body);
      font-size: 0.78rem;
      font-style: normal;
      font-weight: 500;
      color: var(--white-70);
    }

    .info-cards {
      display: flex;
      flex-direction: column;
      gap: 0.6rem;
    }

    .info-card {
      padding: 1.2rem 1.4rem;
      background: var(--white);
      border-radius: 10px;
      border: 1px solid rgba(59, 90, 230, 0.06);
      display: flex;
      align-items: center;
      gap: 1rem;
      transition: all 0.3s var(--ease-smooth);
    }

    .info-card:hover {
      border-color: rgba(59, 90, 230, 0.15);
      box-shadow: 0 4px 15px rgba(59, 90, 230, 0.06);
    }

    .info-card-icon {
      width: 40px;
      height: 40px;
      display: flex;
      align-items: center;
      justify-content: center;
      background: var(--gradient-soft);
      border-radius: 10px;
      color: var(--blue);
      flex-shrink: 0;
    }

    .info-card-icon svg {
      width: 18px;
      height: 18px;
    }

    .info-card h4 {
      font-size: 0.68rem;
      font-weight: 600;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      color: var(--text-muted);
      margin-bottom: 0.15rem;
    }

    .info-card p {
      font-size: 0.92rem;
      font-weight: 600;
      color: var(--text-dark);
    }

    /* ═══════════════════════════════════════════
       PROGRAMA SECTION (clean white style)
    ═══════════════════════════════════════════ */
    .programa {
      background: var(--white);
      color: var(--text-dark);
      padding: 2.5rem 3rem 4rem;
    }

    .programa .section-header {
      margin-bottom: 1.5rem;
    }

    .programa .section-label {
      color: var(--blue);
    }

    .programa .section-title {
      color: var(--text-dark);
    }

    .programa-intro {
      font-size: 1.02rem;
      line-height: 1.85;
      color: var(--text-dark);
      max-width: 780px;
      margin-bottom: 2rem;
    }

    /* Accordion / details-summary */
    .programa-accordion {
      max-width: 780px;
    }

    .programa-accordion details {
      border-top: 1px solid #eee;
    }

    .programa-accordion details:last-child {
      border-bottom: 1px solid #eee;
    }

    .programa-accordion summary {
      font-family: var(--font-display);
      font-size: 1.1rem;
      font-weight: 700;
      color: var(--blue);
      padding: 1.2rem 0;
      cursor: pointer;
      list-style: none;
      display: flex;
      align-items: center;
      justify-content: space-between;
      user-select: none;
      transition: color 0.2s;
    }

    .programa-accordion summary::-webkit-details-marker {
      display: none;
    }

    .programa-accordion summary::after {
      content: '+';
      font-size: 1.4rem;
      font-weight: 300;
      color: var(--blue);
      transition: transform 0.3s;
      flex-shrink: 0;
      margin-left: 1rem;
    }

    .programa-accordion details[open] summary::after {
      content: '−';
    }

    .programa-accordion summary:hover {
      color: var(--text-dark);
    }

    .programa-details-body {
      padding: 0 0 1.5rem;
    }

    .programa-details-body p {
      font-size: 0.95rem;
      color: #444;
      line-height: 1.85;
      margin-bottom: 0.8rem;
    }

    .programa-details-body h4 {
      font-family: var(--font-display);
      font-size: 0.95rem;
      font-weight: 700;
      color: var(--text-dark);
      margin-top: 1.2rem;
      margin-bottom: 0.5rem;
    }

    .programa-details-body ul,
    .programa-details-body ol {
      padding-left: 1.2rem;
      margin-bottom: 0.8rem;
    }

    .programa-details-body li {
      font-size: 0.92rem;
      color: #444;
      line-height: 1.8;
      padding: 0.15rem 0;
    }

    .programa-biblio-list {
      list-style: none;
      padding-left: 0;
    }

    .programa-biblio-list li {
      font-size: 0.88rem;
      color: #555;
      line-height: 1.7;
      padding: 0.3rem 0;
      padding-left: 1rem;
      border-left: 2px solid #ddd;
      margin-bottom: 0.3rem;
    }

    .programa-materiales-label {
      font-size: 0.82rem;
      font-weight: 600;
      color: var(--blue);
      margin-top: 0.6rem;
      margin-bottom: 0.3rem;
    }

    .programa-materiales-list {
      list-style: none;
      padding-left: 0;
    }

    .programa-materiales-list li {
      font-size: 0.85rem;
      color: #666;
      line-height: 1.7;
      padding: 0.2rem 0;
      padding-left: 1rem;
      border-left: 2px solid #e8e8e8;
    }

    /* ═══════════════════════════════════════════
       METODOLOGÍA SECTION
    ═══════════════════════════════════════════ */
    .metodologia {
      background: var(--bg-light);
    }

    .metodo-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 1.2rem;
    }

    .metodo-card {
      padding: 2rem;
      background: var(--white);
      border-radius: 14px;
      border: 1px solid rgba(59, 90, 230, 0.06);
      transition: all 0.4s var(--ease-smooth);
    }

    .metodo-card:hover {
      transform: translateY(-4px);
      box-shadow: 0 15px 40px rgba(59, 90, 230, 0.1);
      border-color: rgba(59, 90, 230, 0.15);
    }

    .metodo-icon {
      width: 48px;
      height: 48px;
      display: flex;
      align-items: center;
      justify-content: center;
      background: var(--gradient);
      border-radius: 12px;
      color: var(--white);
      margin-bottom: 1.2rem;
    }

    .metodo-icon svg {
      width: 22px;
      height: 22px;
    }

    .metodo-card h3 {
      font-family: var(--font-display);
      font-size: 1.15rem;
      font-weight: 700;
      color: var(--text-dark);
      margin-bottom: 0.5rem;
    }

    .metodo-card p {
      font-size: 0.88rem;
      color: var(--text-muted);
      line-height: 1.7;
    }

    .metodo-marker {
      font-weight: 700;
      color: var(--blue);
      margin-right: 0.3rem;
    }

    /* ═══════════════════════════════════════════
       EQUIPO SECTION
    ═══════════════════════════════════════════ */
    .equipo {
      background: var(--white);
    }

    .equipo-foto {
      margin-bottom: 2.5rem;
      border-radius: 1rem;
      overflow: hidden;
    }
    .equipo-foto-img {
      width: 100%;
      max-height: 420px;
      object-fit: cover;
      display: block;
    }

    .equipo-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 1.2rem;
    }

    .docente-card {
      background: var(--bg-light);
      border-radius: 14px;
      overflow: hidden;
      border: 1px solid rgba(59, 90, 230, 0.06);
      transition: all 0.4s var(--ease-smooth);
    }

    .docente-card:hover {
      transform: translateY(-5px);
      box-shadow: 0 15px 40px rgba(59, 90, 230, 0.1);
    }

    .docente-avatar {
      height: 180px;
      background: var(--gradient);
      position: relative;
      overflow: hidden;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .docente-avatar .grid-texture {
      opacity: 0.5;
    }

    .docente-avatar .initials {
      font-family: var(--font-display);
      font-size: 3rem;
      font-weight: 800;
      color: var(--white);
      opacity: 0.5;
      z-index: 1;
      position: relative;
    }

    .docente-info {
      padding: 1.4rem;
    }

    .docente-role {
      display: inline-block;
      font-size: 0.65rem;
      font-weight: 600;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      color: var(--blue);
      background: rgba(59, 90, 230, 0.08);
      padding: 0.25rem 0.65rem;
      border-radius: 4px;
      margin-bottom: 0.6rem;
    }

    .docente-name {
      font-family: var(--font-display);
      font-size: 1.15rem;
      font-weight: 700;
      color: var(--text-dark);
      margin-bottom: 0.4rem;
      line-height: 1.2;
    }

    .docente-bio {
      font-size: 0.82rem;
      color: var(--text-muted);
      line-height: 1.6;
    }

    /* ═══════════════════════════════════════════
       INVESTIGACIONES SECTION
    ═══════════════════════════════════════════ */
    .investigaciones-section {
      background: var(--white);
      padding: 4rem 3rem;
    }

    .investigaciones-section .section-label {
      color: var(--blue);
    }

    .investigaciones-section .section-title {
      color: var(--text-dark);
    }

    .investigaciones-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 1.5rem;
      max-width: 780px;
      margin-top: 1.5rem;
    }

    .investigacion-card {
      padding: 1.8rem;
      border: 1px solid #eee;
      border-radius: 12px;
      transition: all 0.3s ease;
    }

    .investigacion-card:hover {
      border-color: var(--blue);
      box-shadow: 0 4px 20px rgba(59, 90, 230, 0.08);
    }

    a.investigacion-card--link {
      text-decoration: none;
      color: inherit;
      display: block;
      cursor: pointer;
    }

    a.investigacion-card--link:hover {
      transform: translateY(-4px);
      box-shadow: 0 8px 30px rgba(59, 90, 230, 0.12);
    }

    a.investigacion-card--link:hover h3 {
      color: var(--blue);
    }

    .investigacion-card h3 {
      font-family: var(--font-display);
      font-size: 1.1rem;
      font-weight: 700;
      color: var(--text-dark);
      margin-bottom: 0.5rem;
      line-height: 1.3;
    }

    .investigacion-card .investigacion-year {
      font-size: 0.78rem;
      font-weight: 600;
      color: var(--blue);
      letter-spacing: 0.03em;
      margin-bottom: 0.6rem;
      display: block;
    }

    .investigacion-card p {
      font-size: 0.9rem;
      color: #555;
      line-height: 1.7;
    }

    .investigacion-card .investigacion-tag {
      display: inline-block;
      font-size: 0.72rem;
      font-weight: 600;
      padding: 0.25rem 0.6rem;
      background: #f0f0f5;
      color: var(--blue);
      border-radius: 4px;
      margin-top: 0.8rem;
    }

    /* ═══════════════════════════════════════════
       BIBLIOGRAFÍA SECTION
    ═══════════════════════════════════════════ */
    .bibliografia {
      padding: 6rem 3rem;
    }

    .biblio-list {
      display: flex;
      flex-direction: column;
    }

    .biblio-item {
      padding: 1.5rem 0;
      border-bottom: 1px solid var(--white-08);
      display: grid;
      grid-template-columns: 60px 1fr auto;
      gap: 1.5rem;
      align-items: start;
      transition: all 0.3s var(--ease-smooth);
    }

    .biblio-item:first-child {
      border-top: 1px solid var(--white-08);
    }

    .biblio-item:hover {
      padding-left: 0.8rem;
      background: var(--white-04);
      border-radius: 8px;
    }

    .biblio-year {
      font-family: var(--font-display);
      font-size: 1rem;
      font-weight: 700;
      color: var(--white-50);
    }

    .biblio-details h4 {
      font-family: var(--font-display);
      font-size: 1.1rem;
      font-weight: 600;
      color: var(--white);
      margin-bottom: 0.2rem;
      line-height: 1.3;
    }

    .biblio-details .author {
      font-size: 0.85rem;
      color: var(--white-70);
    }

    .biblio-details .editorial {
      font-size: 0.78rem;
      color: var(--white-30);
      font-style: italic;
      margin-top: 0.1rem;
    }

    .biblio-tag {
      font-size: 0.65rem;
      font-weight: 600;
      letter-spacing: 0.06em;
      text-transform: uppercase;
      padding: 0.25rem 0.7rem;
      background: var(--white-15);
      color: var(--white-90);
      border-radius: 5px;
      white-space: nowrap;
      align-self: center;
    }

    /* ═══════════════════════════════════════════
       TRABAJOS SECTION
    ═══════════════════════════════════════════ */
    .trabajos {
      background: var(--bg-light);
    }

    .trabajos-grid {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 1.2rem;
    }

    .trabajo-card {
      border-radius: 14px;
      overflow: hidden;
      border: 1px solid rgba(59, 90, 230, 0.06);
      transition: all 0.4s var(--ease-smooth);
    }

    .trabajo-card:hover {
      transform: translateY(-4px);
      box-shadow: 0 15px 40px rgba(59, 90, 230, 0.12);
    }

    .trabajo-img {
      height: 200px;
      background: var(--gradient);
      position: relative;
      overflow: hidden;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .trabajo-img .grid-texture { opacity: 0.5; }

    .trabajo-img h4 {
      font-family: var(--font-display);
      font-size: 1.2rem;
      font-weight: 700;
      color: var(--white);
      text-align: center;
      padding: 1.5rem;
      z-index: 1;
      position: relative;
      line-height: 1.3;
    }

    .trabajo-info {
      padding: 1.4rem;
      background: var(--bg-light);
    }

    .trabajo-year {
      font-size: 0.65rem;
      font-weight: 600;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      color: var(--blue);
      background: rgba(59, 90, 230, 0.08);
      padding: 0.25rem 0.6rem;
      border-radius: 4px;
      display: inline-block;
      margin-bottom: 0.5rem;
    }

    .trabajo-info p {
      font-size: 0.88rem;
      color: var(--text-muted);
      line-height: 1.6;
    }

    /* ═══════════════════════════════════════════
       CONTACTO SECTION
    ═══════════════════════════════════════════ */
    .contacto {
      background: var(--bg-light);
    }

    .contacto-grid {
      display: grid;
      grid-template-columns: 1fr;
      gap: 3rem;
      align-items: start;
      max-width: 600px;
    }

    .contacto-text p {
      font-size: 1rem;
      color: var(--text-muted);
      line-height: 1.8;
      margin-bottom: 2rem;
    }

    .contacto-methods {
      display: flex;
      flex-direction: column;
      gap: 0.8rem;
    }

    .contacto-method {
      display: flex;
      align-items: center;
      gap: 1rem;
      padding: 1rem 1.3rem;
      background: var(--white);
      border-radius: 10px;
      border: 1px solid rgba(59, 90, 230, 0.06);
      transition: all 0.3s var(--ease-smooth);
    }

    .contacto-method:hover {
      border-color: rgba(59, 90, 230, 0.15);
      transform: translateX(5px);
      box-shadow: 0 4px 15px rgba(59, 90, 230, 0.06);
    }

    .contacto-method-icon {
      width: 40px;
      height: 40px;
      display: flex;
      align-items: center;
      justify-content: center;
      background: var(--gradient);
      border-radius: 10px;
      color: var(--white);
      flex-shrink: 0;
    }

    .contacto-method-icon svg {
      width: 18px;
      height: 18px;
    }

    .contacto-method h4 {
      font-size: 0.68rem;
      font-weight: 600;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      color: var(--text-muted);
      margin-bottom: 0.1rem;
    }

    .contacto-method p {
      font-size: 0.9rem;
      font-weight: 600;
      color: var(--text-dark);
    }

    /* ═══════════════════════════════════════════
       INSCRIPCIONES BANNER
    ═══════════════════════════════════════════ */
    .inscripciones-banner {
      background: var(--gradient);
      color: var(--white);
      padding: 4rem 3rem;
      position: relative;
      overflow: hidden;
      text-align: center;
    }

    .inscripciones-content {
      position: relative;
      z-index: 2;
      max-width: 700px;
      margin: 0 auto;
    }

    .inscripciones-content h2 {
      font-family: var(--font-display);
      font-size: clamp(1.8rem, 3vw, 2.5rem);
      font-weight: 700;
      margin-bottom: 1.5rem;
    }

    .inscripciones-dates {
      display: flex;
      flex-direction: column;
      gap: 0.5rem;
      align-items: center;
      margin-bottom: 1rem;
    }

    .inscripciones-date-item {
      font-size: 1rem;
      color: var(--white-90);
    }

    .inscripciones-date-item strong {
      font-weight: 700;
      color: var(--white);
    }

    /* ═══════════════════════════════════════════
       FOOTER
    ═══════════════════════════════════════════ */
    .footer {
      background: var(--dark);
      color: rgba(255,255,255,0.4);
      padding: 2.5rem 3rem;
    }

    .footer-content {
      max-width: 1100px;
      margin: 0 auto;
      display: flex;
      align-items: center;
      justify-content: space-between;
    }

    .footer-brand {
      display: flex;
      align-items: center;
      gap: 1.2rem;
    }

    .footer-logo-img {
      height: 28px;
      width: auto;
      opacity: 0.6;
    }

    .footer-logo-img[alt*="COMU"] {
      height: 35px;
    }

    .footer-text {
      font-size: 0.78rem;
    }

    .footer-links {
      display: flex;
      gap: 1.5rem;
      list-style: none;
    }

    .footer-links a {
      font-size: 0.78rem;
      transition: color 0.3s;
    }

    .footer-links a:hover {
      color: var(--white-70);
    }

    /* ═══════════════════════════════════════════
       ANIMATIONS
    ═══════════════════════════════════════════ */
    @keyframes fadeUp {
      from { opacity: 0; transform: translateY(30px); }
      to { opacity: 1; transform: translateY(0); }
    }

    @keyframes fadeIn {
      from { opacity: 0; }
      to { opacity: 1; }
    }

    .reveal {
      opacity: 0;
      transform: translateY(35px);
      transition: all 0.7s var(--ease-out);
    }

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

    .reveal-d1 { transition-delay: 0.1s; }
    .reveal-d2 { transition-delay: 0.2s; }
    .reveal-d3 { transition-delay: 0.3s; }
    .reveal-d4 { transition-delay: 0.4s; }

    /* ═══════════════════════════════════════════
       PAGE ROUTING
    ═══════════════════════════════════════════ */
    .page-section {
      display: none;
    }

    .page-section.active {
      display: block;
    }

    body.subpage {
      padding-top: 70px;
    }

    body.subpage .hero {
      display: none;
    }

    body.subpage .bienvenida {
      display: none;
    }

    /* Video playlist layout */
    .video-playlist-layout {
      display: flex;
      gap: 1rem;
      max-width: 1060px;
      margin-top: 1rem;
    }
    .video-featured {
      flex: 1;
      text-decoration: none;
      color: inherit;
      border-radius: 12px;
      overflow: hidden;
      background: var(--white);
      border: 1px solid #eee;
      transition: all 0.3s var(--ease-smooth);
    }
    .video-featured:hover {
      box-shadow: 0 8px 30px rgba(59, 90, 230, 0.12);
      border-color: var(--blue);
    }
    .video-featured-thumb {
      position: relative;
      width: 100%;
      aspect-ratio: 16/9;
      overflow: hidden;
    }
    .video-featured-thumb img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      transition: transform 0.3s;
    }
    .video-featured:hover .video-featured-thumb img {
      transform: scale(1.03);
    }
    .video-card-play {
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      width: 56px;
      height: 56px;
      background: rgba(255, 0, 0, 0.85);
      border-radius: 12px;
      display: flex;
      align-items: center;
      justify-content: center;
      color: #fff;
      font-size: 1.3rem;
      transition: background 0.3s, transform 0.3s;
    }
    .video-featured:hover .video-card-play {
      background: rgba(255, 0, 0, 1);
      transform: translate(-50%, -50%) scale(1.08);
    }
    .video-featured-info {
      padding: 1rem 1.2rem 1.2rem;
    }
    .video-featured-info h3 {
      font-family: var(--font-display);
      font-size: 1rem;
      font-weight: 700;
      color: var(--text-dark);
      line-height: 1.4;
      margin-bottom: 0.3rem;
    }
    .video-featured:hover .video-featured-info h3 {
      color: var(--blue);
    }
    .video-featured-info span {
      font-size: 0.78rem;
      color: var(--text-muted);
    }

    /* Playlist sidebar */
    .video-playlist-sidebar {
      width: 340px;
      min-width: 300px;
      border-radius: 12px;
      border: 1px solid #eee;
      background: var(--white);
      overflow: hidden;
      display: flex;
      flex-direction: column;
    }
    .video-playlist-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 0.85rem 1rem;
      border-bottom: 1px solid #eee;
      background: var(--bg-light);
    }
    .video-playlist-title {
      font-family: var(--font-display);
      font-weight: 700;
      font-size: 0.85rem;
      color: var(--text-dark);
    }
    .video-playlist-count {
      font-size: 0.72rem;
      color: var(--text-muted);
      background: #e8ecf5;
      padding: 0.2rem 0.6rem;
      border-radius: 20px;
    }
    .video-playlist-item {
      display: flex;
      align-items: center;
      gap: 0.65rem;
      padding: 0.6rem 0.8rem;
      text-decoration: none;
      color: inherit;
      border-bottom: 1px solid #f0f0f0;
      transition: background 0.2s;
    }
    .video-playlist-item:last-child {
      border-bottom: none;
    }
    .video-playlist-item:hover {
      background: var(--bg-light);
    }
    .video-playlist-item.active {
      background: #eef1fb;
      border-left: 3px solid var(--blue);
    }
    .video-playlist-num {
      font-size: 0.72rem;
      font-weight: 600;
      color: var(--text-muted);
      min-width: 16px;
      text-align: center;
    }
    .video-playlist-item img {
      width: 80px;
      height: 45px;
      object-fit: cover;
      border-radius: 6px;
      flex-shrink: 0;
    }
    .video-playlist-item-info {
      flex: 1;
      min-width: 0;
    }
    .video-playlist-item-info h4 {
      font-family: var(--font-display);
      font-size: 0.76rem;
      font-weight: 600;
      color: var(--text-dark);
      line-height: 1.3;
      margin: 0;
      display: -webkit-box;
      -webkit-line-clamp: 2;
      -webkit-box-orient: vertical;
      overflow: hidden;
    }
    .video-playlist-item:hover .video-playlist-item-info h4 {
      color: var(--blue);
    }
    .video-playlist-item-info span {
      font-size: 0.65rem;
      color: var(--text-muted);
    }
    @media (max-width: 768px) {
      .video-playlist-layout {
        flex-direction: column;
      }
      .video-playlist-sidebar {
        width: 100%;
        min-width: unset;
      }
    }

    body.subpage .nav {
      background: rgba(59, 90, 230, 0.95);
      backdrop-filter: blur(20px);
      -webkit-backdrop-filter: blur(20px);
      box-shadow: 0 4px 30px rgba(0,0,0,0.15);
      padding: 0.8rem 3rem;
    }

    .nav-links a.active {
      color: var(--white);
    }

    .nav-links a.active::after {
      width: 100%;
    }

    /* ═══════════════════════════════════════════
       BIENVENIDA (HOME)
    ═══════════════════════════════════════════ */
    .bienvenida {
      background: var(--white);
      color: var(--text-dark);
      padding: 2.5rem 3rem 4rem;
    }

    .bienvenida .section-container {
      max-width: 1100px;
      margin: 0 auto;
    }

    .bienvenida-label {
      display: inline-block;
      font-size: 0.7rem;
      font-weight: 600;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      color: var(--white);
      background: var(--blue);
      padding: 0.25rem 0.7rem;
      border-radius: 4px;
      margin-bottom: 1.5rem;
    }

    .bienvenida-header {
      margin-bottom: 1.5rem;
    }

    .bienvenida-titulo {
      font-family: var(--font-display);
      font-size: clamp(2rem, 3.5vw, 2.8rem);
      font-weight: 700;
      color: var(--text-dark);
      line-height: 1.15;
      margin-bottom: 1rem;
    }

    .bienvenida-titulo .accent {
      background: var(--gradient);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
    }

    .bienvenida-lead {
      font-size: 1.02rem;
      line-height: 1.85;
      color: var(--text-dark);
      max-width: 780px;
    }

    .novedades-list {
      display: flex;
      flex-direction: column;
      max-width: 780px;
    }
    .novedad-item {
      padding: 1rem 0;
      border-bottom: 1px solid #e0e0e0;
    }
    .novedad-item:last-child {
      border-bottom: none;
      padding-bottom: 0;
    }
    .novedad-item:first-child {
      padding-top: 0;
    }
    .novedad-item h3 {
      font-size: 1.3rem;
      font-weight: 700;
      margin-bottom: 0.5rem;
      color: var(--text-dark);
    }
    .btn-suscribite {
      display: inline-block;
      background: var(--gradient);
      color: #fff;
      margin-top: 0.8rem;
      padding: 0.6rem 1.6rem;
      border-radius: 2rem;
      text-decoration: none;
      font-weight: 700;
      font-size: 0.95rem;
      transition: opacity 0.2s;
    }
    .btn-suscribite:hover {
      opacity: 0.85;
    }
    .novedad-item p {
      font-size: 1.02rem;
      line-height: 1.85;
      color: var(--text-dark);
      margin: 0;
    }

    .bienvenida-preguntas {
      margin-bottom: 1.5rem;
      max-width: 780px;
    }

    .bienvenida-preguntas p {
      font-size: 1.02rem;
      line-height: 1.85;
      color: var(--text-dark);
    }

    .bienvenida-cierre {
      font-size: 1.02rem;
      line-height: 1.85;
      color: var(--text-muted);
      max-width: 780px;
      margin-bottom: 2.5rem;
    }

    .bienvenida-separator {
      width: 100%;
      height: 1px;
      background: #eee;
      margin: 2rem 0;
    }

    .bienvenida-pilares {
      display: flex;
      flex-direction: column;
      gap: 0;
    }

    .bienvenida-pilar {
      padding: 1.5rem 0;
      border-top: 1px solid #eee;
    }

    .bienvenida-pilar:last-child {
      border-bottom: none;
    }

    .bienvenida-pilar-icon {
      display: none;
    }

    .bienvenida-pilar h3 {
      font-family: var(--font-display);
      font-size: 1.15rem;
      font-weight: 700;
      color: var(--blue);
      margin-bottom: 0.6rem;
    }

    .bienvenida-pilar p {
      font-size: 1.02rem;
      line-height: 1.85;
      color: var(--text-dark);
      margin-bottom: 0.5rem;
      max-width: 780px;
    }

    .bienvenida-pilar p:last-child {
      margin-bottom: 0;
    }

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

      .about-grid,
      .contacto-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
      }

      .programa {
        padding: 2rem 1.5rem 3rem;
      }

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

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

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

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

      .nav {
        padding: 1rem 1.5rem;
      }

      .nav.scrolled {
        padding: 0.8rem 1.5rem;
      }

      .nav-links {
        display: none;
      }

      .nav-menu-btn {
        display: block;
      }

      .hero-content {
        padding: 4rem 1.5rem 1rem;
      }

      .hero-logos {
        position: relative;
        bottom: auto;
        left: auto;
        margin-top: 3rem;
      }

      .hero-scroll {
        display: none;
      }

      .hero-cta-row {
        flex-direction: column;
        align-items: flex-start;
      }

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

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

      .about-highlights {
        grid-template-columns: 1fr;
      }

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

      .biblio-item {
        grid-template-columns: 1fr;
        gap: 0.3rem;
      }

      .biblio-year {
        font-size: 0.85rem;
      }

      .biblio-tag {
        justify-self: start;
      }

      .footer-content {
        flex-direction: column;
        gap: 1.2rem;
        text-align: center;
      }

      .inscripciones-banner {
        padding: 3rem 1.5rem;
      }

      .nav-logo {
        height: 24px;
      }

      .bienvenida {
        padding: 3rem 1.5rem 4rem;
      }

      .bienvenida-preguntas {
        padding: 1.2rem 1rem;
      }

      .bienvenida-pilares {
        grid-template-columns: 1fr;
      }

      .bienvenida-preguntas {
        padding: 1.5rem;
      }

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

      body.subpage .nav {
        padding: 0.8rem 1.5rem;
      }
    }
