:root {
      --utec-black:  #000000;
      --utec-blue:   #00A9E0;
      --utec-purple: #783F91;
      --sidebar-w:   25%;   /* col-4 base, col-3 en xl */
    }

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

    html, body {
      height: 100%;
      font-family: 'Poppins', sans-serif;
      overflow: hidden;
      background: #000;
    }


    /* ─────────────────────────────────
       LAYOUT
    ───────────────────────────────── */
    .page {
      display: flex;
      height: 100vh;
      width: 100vw;
      position: relative;
    }

    /* ─────────────────────────────────
       VIDEO BACKGROUND (ocupa todo)
    ───────────────────────────────── */
    .video-bg {
      position: fixed;
      inset: 0;
      z-index: 0;
      overflow: hidden;
      background: #0d1b2a; /* fallback color mientras carga */
    }
    .video-bg video {
      position: absolute;
      top: 50%;
      left: 50%;
      /* Cubre toda la pantalla manteniendo ratio 16:9 */
      width: 177.78vh;   /* 100vh * 16/9 */
      height: 56.25vw;   /* 100vw * 9/16 */
      min-width: 100%;
      min-height: 100%;
      transform: translate(-50%, -50%);
      border: 0;
      opacity: .6;
      pointer-events: none;
    }
    /* Overlay sutil encima del video */
    .video-overlay {
      position: fixed;
      inset: 0;
      z-index: 1;
      background: linear-gradient(
        to right,
        rgba(0,0,0,.50) 0%,
        rgba(0,0,0,.10) 60%,
        rgba(0,0,0,.05) 100%
      );
      pointer-events: none;
    }

    /* ─────────────────────────────────
       SIDEBAR
    ───────────────────────────────── */
    .sidebar {
      position: relative;
      z-index: 10;
      width: var(--sidebar-w);
      flex-shrink: 0;
      height: 100vh;
      background: rgba(255,255,255,.97);
      backdrop-filter: blur(12px);
      -webkit-backdrop-filter: blur(12px);
      border-right: 1px solid rgba(255,255,255,.2);
      padding: 36px 24px 28px;
      display: flex;
      flex-direction: column;
    }

    /* Brand */
    .brand {
      max-width: 100px;
    }

    .logo-memoria {
      max-width: 200px;
    }
   

    .sidebar-divider {
      border: none;
      border-top: 1px solid #e8e8e8;
      margin: 22px 0 18px;
    }

    /* Nav */
    .sidebar-nav { list-style: none; flex: 1; }
    .sidebar-nav li {
      border-bottom: 1px solid #eee;
    }
    .sidebar-nav li a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 13px 0;
    font-size: 16px;
    font-weight: 500;
    color: #000;
    text-decoration: none;
    transition: color .18s;
  }
    .sidebar-nav li a:hover { color: var(--utec-blue); }
    .sidebar-nav li a .num {
    font-size: 16px;
    margin-right: 25px;
    }
    .sidebar-nav li a .chevron {
      font-size: 14px;
    }

    /* Logo bottom */
    .sidebar-logo { padding-top: 28px; }
    .sidebar-logo svg { width: 84px; height: auto; }

    /* ─────────────────────────────────
       CONTENT AREA (right of sidebar)
    ───────────────────────────────── */
    .content {
      position: relative;
      z-index: 10;
      flex: 1;
      display: flex;
      flex-direction: column;
      justify-content: flex-end;   /* texto pegado abajo, como en el diseño */
      padding: 0 60px 64px;
      pointer-events: none;        /* deja pasar clicks al video */
    }
    .content > * { pointer-events: auto; }

    /* Textos principales */
    .hero-eyebrow {
      font-size: 12px;
      font-weight: 600;
      letter-spacing: .18em;
      text-transform: uppercase;
      color: var(--utec-blue);
      margin-bottom: 14px;
      opacity: 0;
      animation: fadeUp .7s .3s forwards;
    }

    .hero-title {
      font-size: clamp(52px, 7vw, 88px);
      font-weight: 800;
      line-height: 1.0;
      color: #fff;
      opacity: 0;
      animation: fadeUp .7s .45s forwards;
    }

    .hero-subtitle {
      font-size: 28px;
      font-weight: 300;
      color: rgba(255,255,255,.80);
      margin-bottom: 40px;
      letter-spacing: .04em;
      opacity: 0;
      animation: fadeUp .7s .6s forwards;
    }

    /* CTA button */
    .cta-btn, .btn-pdf {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      background: transparent;
      border: 1.5px solid rgba(255,255,255,.55);
      color: #fff;
      font-family: 'Poppins', sans-serif;
      font-size: 13px;
      font-weight: 600;
      letter-spacing: .06em;
      padding: 13px 28px;
      border-radius: 100px;
      cursor: pointer;
      text-decoration: none;
      transition: background .22s, border-color .22s, transform .18s;
      opacity: 0;
      animation: fadeUp .7s .75s forwards;
    }
    .btn-pdf {
      border: 1.5px solid var(--utec-blue);
      color: var(--utec-blue);
    }
    .cta-btn:hover{
      background: rgba(255,255,255,.12);
      border-color: rgba(255,255,255,.85);
      transform: translateY(-2px);
      color: #fff;
    }

     .btn-pdf:hover {
      background: var(--utec-blue);
      border-color: var(--utec-blue);
      transform: translateY(-2px);
      color: #fff;
    }

    .cta-btn i {
      font-size: 18px;
      color: var(--utec-blue);
    }

    /* ─────────────────────────────────
       ANIMACIONES
    ───────────────────────────────── */
    @keyframes fadeUp {
      from { opacity: 0; transform: translateY(22px); }
      to   { opacity: 1; transform: translateY(0); }
    }

    

    @media (min-width: 1200px) {
      .sidebar { width: 24%; }        /* col-3 en xl */
    }
    @media (max-width: 1199px) {
      .sidebar { width: 28%; }    /* col-4 en lg/md */
    }
    @media (min-width: 1400px) {
      .sidebar { width: 20%; }     
    }
    @media (max-width: 768px) {
      .sidebar { display: none; }
      .content { padding: 0 28px 48px; }
    }



/* Navbar superior */
.mobile-navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 70px;
  background: #fff;
  z-index: 2000;
  display: flex;
  align-items: center;
  border-bottom: 1px solid #eee;
}

.mobile-brand { height: 35px; }

.menu-toggle {
  background: none;
  border: none;
  font-size: 28px;
  cursor: pointer;
  color: #000;
  z-index: 2100;
}

/* Menú Fullscreen */
.mobile-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #fff;
  z-index: 1500;
  display: flex;
  flex-direction: column;
  padding: 100px 40px 40px; /* Espacio para el navbar */
  transform: translateY(-100%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-menu-overlay.active {
  transform: translateY(0);
}

.mobile-menu-content {
  display: flex;
  flex-direction: column;
  height: 100%;
}

/* Ajustes de visibilidad según breakpoint */
@media (max-width: 991px) {
  .sidebar { display: none !important; }
  .content { 
    width: 100%; 
    padding: 0 30px 60px; 
    text-align: left;
  }
  .hero-title { font-size: 48px; }
}

@media (min-width: 992px) {
  .mobile-navbar, .mobile-menu-overlay { display: none !important; }
}