
    .chat-tooltip-container {
      position: fixed;
      bottom: 20px;
      right: 20px;
      z-index: 9999;
    }

    #chat-bubble {
      position: relative;
      width: 180px;
      height: 180px;
      background-color: transparent;
      border: none;
      cursor: pointer;
      padding: 0;
      transition: transform 0.3s ease;
    }

    #chat-bubble:hover {
      transform: scale(1.08);
    }

    #chat-bubble img {
      width: 100%;
      height: 100%;
      object-fit: contain;
      background: none;
      animation: bounce-zeek 1.2s ease-in-out infinite;
      animation-delay: 2s;
    }

    @keyframes bounce-zeek {

      0%,
      100% {
        transform: translateY(0);
      }

      50% {
        transform: translateY(-10px);
      }
    }

    /* --- FORMULARIO DE INICIO --- */
#chat-start {
  flex: 1;
  padding: 15px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
}

#chat-start .bienvenida {
  margin-bottom: 12px;
  font-size: 14px;
  color: #333;
}

#chat-start form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

#chat-start input {
  padding: 8px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 14px;
  outline: none;
}

#chat-start input:focus {
  border-color: #0066cc;
  box-shadow: 0 0 3px rgba(0, 102, 204, 0.5);
}

#chat-start button {
  padding: 10px;
  border: none;
  background: #0066cc;
  color: #fff;
  font-weight: bold;
  cursor: pointer;
  border-radius: 6px;
  transition: background 0.2s ease-in-out;
}

#chat-start button:hover {
  background: #004a99;
}

    #chat-widget {
      position: fixed;
      bottom: 90px;
      right: 20px;
      width: 90%;
      max-width: 360px;
      max-height: 520px;
      background: white;
      border: 1px solid #ccc;
      border-radius: 15px;
      box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
      display: none;
      flex-direction: column;
      overflow: hidden;
      z-index: 9999;
      font-family: sans-serif;
    }

    #chat-header {
      background: #ff6600;
      color: white;
      padding: 10px;
      font-weight: bold;
      display: flex;
      align-items: center;
      justify-content: space-between;
    }

    #chat-header img {
      border-radius: 50%;
      width: 35px;
      height: 35px;
      margin-right: 10px;
    }

    #chat-header .chat-title {
      display: flex;
      align-items: center;
      gap: 10px;
    }

    #chat-header .chat-close {
      background: white;
      color: #ff6600;
      border: 2px solid white;
      border-radius: 50%;
      width: 28px;
      height: 28px;
      font-size: 16px;
      font-weight: bold;
      cursor: pointer;
      transition: background 0.3s;
    }

    #chat-header .chat-close:hover {
      background: #ffffffaa;
    }

    #chat-messages {
      flex: 1;
      padding: 10px;
      overflow-y: auto;
      font-size: 14px;
      display: flex;
      flex-direction: column;
      gap: 6px;
    }

    .mensaje {
      padding: 10px 15px;
      border-radius: 15px;
      max-width: 75%;
      word-wrap: break-word;
      line-height: 1.4;
      position: relative;
    }

    .mensaje-bot {
      background-color: #e0f0ff;
      color: #003366;
      align-self: flex-start;
      border-top-left-radius: 0;
    }

    .mensaje-usuario {
      background-color: #d1ffd6;
      color: #004d00;
      align-self: flex-end;
      border-top-right-radius: 0;
    }

    #chat-input {
      display: flex;
      border-top: 1px solid #ccc;
    }

    #chat-input textarea {
      flex: 1;
      padding: 10px;
      border: none;
      outline: none;
      resize: none;
      font-size: 14px;
      font-family: sans-serif;
      line-height: 1.4;
      max-height: 80px;
      overflow-y: auto;
    }

    #chat-input button {
      background: #ff6600;
      color: white;
      border: none;
      padding: 10px 15px;
      cursor: pointer;
    }

    .botones-rapidos {
      display: flex;
      flex-wrap: wrap;
      gap: 5px;
      margin-top: 10px;
    }

    .botones-rapidos button {
      background: #ffe3d0;
      border: none;
      border-radius: 10px;
      padding: 6px 10px;
      font-size: 13px;
      cursor: pointer;
    }

    .botones-rapidos button:hover {
      background: #ffdab3;
    }

    .mensaje-container {
      display: flex;
      align-items: flex-end;
      gap: 8px;
      margin-bottom: 8px;
    }

    .mensaje-container.bot {
      flex-direction: row;
      justify-content: flex-start;
    }

    .mensaje-container.usuario {
      flex-direction: row-reverse;
      text-align: end;
    }

    .avatar img {
      width: 30px;
      height: 30px;
      border-radius: 50%;
    }

    .hora {
      font-size: 10px;
      color: #888;
      margin-top: 5px;
      text-align: right;
    }

    #chat-messages ul {
      list-style-type: disc;
      margin-left: 20px;
      padding-left: 0;
    }

    #chat-messages li {
      margin-bottom: 5px;
    }

    @media (max-width: 480px) {
      #chat-bubble {
        width: 80px;
        height: 80px;
        right: 10px;
      }

      #chat-widget {
        bottom: 100px;
        right: 10px;
        width: calc(100% - 20px);
      }
    }



    .caja {
      opacity: 0;
      transform: translateY(50px);
      transition: all 1s ease;
      padding: 5px;
      border-radius: 8px;
    }

    /* Al activarse la animación */
    .caja.mostrar {
      opacity: 1;
      transform: translateY(0);
    }

    .izquierda {
      transform: translateX(-100px);
    }

    .derecha {
      transform: translateX(100px);
    }

    .desde-arriba {
      transform: translateY(-100px);
    }

    .desde-abajo {
      transform: translateY(100px);
    }

    .desde-escala {
      transform: scale(0.5);
    }

    .fade-blur {
      opacity: 0;
      filter: blur(10px);
      transform: translateY(30px);
      transition: all 0.8s ease;
    }

    .fade-blur.mostrar {
      opacity: 1;
      filter: blur(0);
      transform: translateY(0);
    }

    .zoom-in {
      opacity: 0;
      transform: scale(0.6);
      transition: all 0.6s ease;
    }

    .zoom-in.mostrar {
      opacity: 1;
      transform: scale(1);
    }

    .bounce {
      opacity: 0;
      transform: translateY(100px);
      animation: bounceIn 1s forwards;
    }

    @keyframes bounceIn {
      0% {
        opacity: 0;
        transform: translateY(100px);
      }

      60% {
        opacity: 1;
        transform: translateY(-20px);
      }

      80% {
        transform: translateY(10px);
      }

      100% {
        transform: translateY(0);
      }
    }

    .bounce.mostrar {
      animation-play-state: running;
    }

    .mostrar {
      opacity: 1;
      transform: translateX(0);
    }

    /* Estilos del modal */
    .modal {
      display: none;
      /* Oculto por defecto */
      position: fixed;
      z-index: 1000;
      left: 0;
      top: 0;
      width: 100%;
      height: 100%;
      overflow: auto;
      background-color: rgba(0, 0, 0, 0.7);
    }

    .modal-content {
      background-color: #fff;
      margin: 10%;
      padding: 20px;
      border-radius: 10px;
      width: 60%;
    }

    .close {
      float: right;
      font-size: 24px;
      font-weight: bold;
      cursor: pointer;
    }

    .thumbnail2 {
      margin: 10px;
      cursor: pointer;
    }

    .contenedor-centrado {
      display: flex;
      flex-direction: column;
      align-items: center;
    }

    .imagenes-campus {
      display: flex;
      justify-content: center;
      gap: 40px;
      flex-wrap: wrap;
      margin-top: 30px;
    }

    .single-awesome-project2 {
      max-width: 380px;
    }

    .awesome-img2 img {
      width: 100%;
      height: auto;

    }

    .awesome-img2 img:hover {
      opacity: 0.5;
      transform: scale(1.2)
    }

    .section-headline2 h2 {
      font-size: 32px;
      margin-bottom: 20px;
    }

    /* Responsivo para móviles */
    @media (max-width: 768px) {
      .imagenes-campus {
        flex-direction: column;
        align-items: center;
        gap: 20px;
      }
    }

    .video-fondo {
      position: fixed;
      top: 0;
      left: 0;
      min-width: 100%;
      min-height: 100%;
      object-fit: cover;
      z-index: -2;
    }

    .overlay {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background-color: rgba(0, 0, 0, 0.5);
      z-index: -1;
    }

    .contenido {
      position: relative;
      z-index: 1;
      height: 95vh;
      display: flex;
      align-items: center;
      justify-content: end;
      flex-direction: column;
    }

    .logo {
      width: 300px;
      /* ajusta el tamaño según lo necesites */
      opacity: 0.7;
      /* opacidad de la imagen */
    }

    .texto {
      color: white;
      font-size: 2rem;
      margin-top: 20px;
      text-align: center;
    }


    .filtro-btn {
      background-color: white;
      border: 2px solid #FF7500;
      color: #FF7500;
      padding: 10px 15px;
      margin: 5px;
      font-size: 16px;
      border-radius: 25px;
      cursor: pointer;
      transition: 0.3s ease;
    }

    .filtro-btn:hover,
    .filtro-btn.active {
      background-color: #FF7500;
      color: white;
      box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15);
    }

    .tarjeta-oferta {
      background-color: #fff;
      border-radius: 20px;
      overflow: hidden;
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
      margin-bottom: 30px;
      transition: transform 0.3s ease, box-shadow 0.3s ease;
    }

    .tarjeta-oferta:hover {
      transform: translateY(-5px);
      box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    }

    .img-tarjeta {
      width: 100%;
      height: auto;
      border-top-left-radius: 20px;
      border-top-right-radius: 20px;
    }

    .contenido-tarjeta {
      padding: 20px;
      text-align: center;
    }

    .contenido-tarjeta h4 {
      color: #333;
      margin-bottom: 15px;
      font-size: 1.2rem;
    }

    .btn-tarjeta {
      display: inline-block;
      background-color: #FF7500;
      color: #fff;
      padding: 10px 20px;
      border-radius: 25px;
      text-decoration: none;
      font-weight: bold;
      transition: background 0.3s ease;
    }

    .btn-tarjeta:hover {
      background-color: #e86e25;
    }

    .flip-card {
      background-color: transparent;
      max-width: 625px;
      height: 400px;
      perspective: 1000px;
      margin-bottom: 30px;
    }

    @media (max-width: 767px) {

      .flip-card {
        height: 224px;
      }
    }

    .flip-card-inner {
      position: relative;
      max-width: 100%;
      height: 100%;
      border-radius: 20px;
      transition: transform 0.8s;
      transform-style: preserve-3d;
    }

    .flip-card:hover .flip-card-inner {
      transform: rotateY(180deg);
    }

    .flip-card-front,
    .flip-card-back {
      position: absolute;
      width: 100%;
      height: 100%;
      backface-visibility: hidden;
      border-radius: 20px;
      overflow: hidden;
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    }

    .flip-card-front {
      background: #fff;
    }

    .flip-card-back {
      background: #FF7500;
      color: white;
      transform: rotateY(180deg);
      display: flex;
      align-items: center;
      justify-content: center;
      text-align: center;
      padding: 20px;
    }

    .img-tarjeta {
      width: 100%;
      height: 200px;
      object-fit: cover;
    }

    .contenido-tarjeta h4 {
      margin-top: 15px;
      font-size: 1.2rem;
    }

    .contenido-tarjeta p {
      font-size: 0.95rem;
      margin: 10px 0;
    }

    .btn-tarjeta {
      display: inline-block;
      background-color: white;
      color: #FF7500;
      padding: 10px 20px;
      border-radius: 25px;
      text-decoration: none;
      font-weight: bold;
      margin-top: 15px;
      transition: 0.3s;
    }

    .btn-tarjeta:hover {
      background-color: #f5f5f5;
    }

    .video-container {
      position: relative;
      width: 100%;
      height: 100vh;
      overflow: hidden;
    }

    video {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }

    .texto-inferior {
      position: absolute;
      bottom: 70px;
      left: 50%;
      transform: translateX(-50%);
      background: rgba(0, 0, 0, 0.6);
      color: white;
      padding: 12px 25px;
      font-size: 18px;
      border-radius: 30px;
      font-weight: bold;
      z-index: 10;
      text-align: center;
    }

    /* Estilo adaptado solo para pantallas pequeñas (móviles) */
    @media (max-width: 768px) {
      video {
        height: auto;
        object-fit: contain;
      }

      .video-container {
        height: auto;
      }
    }

    .relleno-hover {
      position: relative;
      overflow: hidden;
      border-radius: 10px;
    }

    .relleno-hover img {
      width: 100%;
      display: block;
      transition: filter 0.4s;
    }

    .relleno-hover .overlay-texto {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background-color: #FF7500;
      opacity: 0;
      display: flex;
      align-items: center;
      justify-content: center;
      color: white;
      font-weight: bold;
      font-size: 1.2rem;
      transition: opacity 0.4s;
      text-align: center;
    }

    .relleno-hover:hover .overlay-texto,
    .relleno-hover:focus-within .overlay-texto {
      opacity: 0.9;
    }