    body {
      margin: 0;
      font-family: 'Segoe UI', sans-serif;
      background-color: #f9f9f9;
    }

    /* Cintillo superior */
    .top-bar {
      background-color: #FD073C;
      color: white;
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 8px 20px;
      font-size: 0.95em;
      flex-wrap: wrap;
    }

    .top-bar .left {
      display: flex;
      align-items: center;
      gap: 10px;
    }

    .top-bar .left img {
      height: 40px;
    }

    .top-bar .right {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
    }

    .top-bar .right a {
      color: white;
      text-decoration: none;
      transition: color 0.3s ease;
    }

    .top-bar .right a:hover {
      color: #FFD700;
    }

    .ligaInterna{ 
 color:#fff;
}

    /* Menú escritorio */
    .menu {
      display: flex;
      justify-content: center;
      background-color: #ffffff;
      box-shadow: 0 2px 6px rgba(0,0,0,0.1);
      padding: 15px 0;
      position: sticky;
      top: 0;
      z-index: 1000;
    }

    .menu ul {
      list-style: none;
      margin: 0;
      padding: 0;
      display: flex;
      gap: 20px;
    }

    .menu li {
      position: relative;
    }

    .menu a {
      text-decoration: none;
      color: #333;
      padding: 10px 20px;
      border-radius: 8px;
      transition: all 0.3s ease;
      font-weight: 500;
      display: flex;
      align-items: center;
      gap: 8px;
    }

    .menu a:hover {
      background-color: #E0DFFF;
      box-shadow: 0 0 0 2px #6A5ACD inset;
      color: #6A5ACD;
    }

.submenu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #fff;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  border-radius: 8px;
  min-width: 200px;
  z-index: 999;
  padding: 10px 0;
}

.submenu.visible {
  display: block;
}

    .submenu a {
      padding: 10px 20px;
      display: block;
    }


.submenu.visible {
  display: block;
}

    .menu li:hover .submenu {
      display: block;
    }

    /* Ícono menú móvil */
    .mobile-menu-icon {
      display: none;
      font-size: 1.8em;
      cursor: pointer;
      padding: 15px 20px;
      background-color: #fff;
      box-shadow: 0 2px 6px rgba(0,0,0,0.1);
      position: sticky;
      top: 0;
      z-index: 1001;
    }

    /* Menú móvil */
    .mobile-menu {
      position: fixed;
      top: 0;
      left: -100%;
      width: 260px;
      height: 100%;
      background-color: #ffffff;
      box-shadow: 4px 0 12px rgba(0, 0, 0, 0.15);
      transition: left 0.3s ease;
      z-index: 2000;
      padding: 20px;
      border-top-right-radius: 12px;
      border-bottom-right-radius: 12px;
    }

    .mobile-menu.active {
      left: 0;
    }

    .mobile-menu .close-btn {
      text-align: right;
      font-size: 1.5em;
      cursor: pointer;
      margin-bottom: 20px;
    }

    .mobile-menu ul {
      list-style: none;
      padding: 0;
    }

    .mobile-menu li {
      margin-bottom: 15px;
      background-color: #f2f2f2;
      border-radius: 8px;
      box-shadow: 0 2px 6px rgba(0,0,0,0.08);
      padding: 10px 15px;
      transition: background 0.3s ease;
	  position: relative;
    }

    .mobile-menu li:hover {
      background-color: #e0dfff;
    }

    .mobile-menu a {
      text-decoration: none;
      color: #333;
      font-weight: 500;
      display: block;
    }

    .mobile-submenu {
      margin-top: 10px;
      margin-left: 10px;
      font-size: 0.95em;
      display: none;
    }

    .mobile-submenu li {
      background-color: #ffffff;
      box-shadow: none;
      padding: 8px 10px;
      border-radius: 6px;
    }
	/* Encabezado móvil */
.mobile-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 20px;
  height:80px;
  background-color: #ffffff;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.mobile-top {
  width: 100%;
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

.mobile-logo {
  height: 80px;
  margin-right:40px;
}

/* Ícono menú centrado */
.mobile-menu-trigger {
  font-size: 1.8em;
  margin-top: -65px;
  cursor: pointer;
  background-color: #dfd6ef;
  padding: 8px 16px;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  transition: background 0.3s ease;
}

.mobile-menu-trigger:hover {
  background-color: #e0dfff;
}

/* Mostrar solo en móviles */
@media (min-width: 769px) {
  .mobile-header {
    display: none;
  }
}

.footer {
  background-color: var(--purple, #6a1b9a);
  color: #fff;
  padding: 40px 20px;
  font-family: 'Poppins', sans-serif;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 40px;
}

.footer-logo img {
  max-width: 180px;
  margin-bottom: 12px;
}

.footer-logo p {
  font-size: 1rem;
  margin-top: 8px;
  color: #fff0f3;
}

.footer-contact h4,
.footer-links h4 {
  font-size: 1.2em;
  margin-bottom: 12px;
  color: #fff0f3;
}

.footer-contact a,
.footer-links a {
  color: #fff0f3;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.footer-contact a:hover,
.footer-links a:hover {
  color: #ffffff;
}

.footer-social a {
  margin-right: 12px;
  display: inline-block;
}

.footer-bottom {
  text-align: center;
  margin-top: 40px;
  font-size: 0.9em;
  color: #ccc;
}


    body { font-family: sans-serif; background: #f0f0f0; }
    #sugerencias {
      padding: 20px; background: #fff; border: 1px solid #ddd;
      border-radius: 8px; max-width: 800px; margin: 20px auto;
    }
    input, button {
      padding: 10px; font-size: 16px; border: none;
    }
    button { cursor: pointer; border-radius: 4px; }
    #respuestaIA {
      margin-top: 20px; font-style: italic;
      background: #fafafa; padding: 15px;
      border-radius: 8px; border: 1px solid #ccc;
    }
    @keyframes parpadeo {
      0% { opacity: 1; }
      50% { opacity: 0.5; }
      100% { opacity: 1; }
    }
	.modal {
  display: block; /* cámbialo por 'none' y usa JS para activarlo */
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100%;
  background-color: rgba(0,0,0,0.5);
  z-index: 999;
}

.modal-content {
  background-color: #fff;
  margin: 10% auto;
  padding: 20px;
  border-radius: 8px;
  width: 90%;
  max-width: 400px;
  text-align: center;
  box-shadow: 0 0 10px #444;
}
.modal-content button {
  margin-top: 10px;
  padding: 8px 12px;
  font-size: 14px;
}
.redirecciona {
 width:80%;
 text-decoration: underline;
  display: inline-block;
  -webkit-box-sizing: content-box;
  -moz-box-sizing: content-box;
  box-sizing: content-box;
  cursor: pointer;
  padding: 10px 20px;
  border: none;
  -webkit-border-radius: 3px;
  border-radius: 3px color:#3902A0;
  font: normal 16px/normal Tahoma, Geneva, sans-serif;
  color: #fff;
  -o-text-overflow: clip;
  text-overflow: clip;
  background: #FD073C;
  text-shadow: -1px -1px 0 rgba(15,73,168,0.66) ;
  -webkit-transition: all 300ms cubic-bezier(0.42, 0, 0.58, 1);
  -moz-transition: all 300ms cubic-bezier(0.42, 0, 0.58, 1);
  -o-transition: all 300ms cubic-bezier(0.42, 0, 0.58, 1);
  transition: all 300ms cubic-bezier(0.42, 0, 0.58, 1);
  margin-bottom:10px;
}
.contactar {
 width:95%;
 text-decoration: underline;
  display: inline-block;
  -webkit-box-sizing: content-box;
  -moz-box-sizing: content-box;
  box-sizing: content-box;
  cursor: pointer;
  padding: 10px 20px;
  border: none;
  -webkit-border-radius: 13px;
  border-radius: 4px color:#3902A0;
  font: normal 16px/normal Tahoma, Geneva, sans-serif;
  color: #fff;
  -o-text-overflow: clip;
  text-overflow: clip;
  background: #3902A0;
  text-shadow: -1px -1px 0 rgba(15,73,168,0.66);
  -webkit-transition: all 300ms cubic-bezier(0.42, 0, 0.58, 1);
  -moz-transition: all 300ms cubic-bezier(0.42, 0, 0.58, 1);
  -o-transition: all 300ms cubic-bezier(0.42, 0, 0.58, 1);
  transition: all 300ms cubic-bezier(0.42, 0, 0.58, 1);
  margin-bottom:10px;
  text-align:center
}
.paginaweb {
 width:95%;
 text-decoration: underline;
  display: inline-block;
  -webkit-box-sizing: content-box;
  -moz-box-sizing: content-box;
  box-sizing: content-box;
  cursor: pointer;
  padding: 10px 20px;
  border: none;
  -webkit-border-radius: 3px;
  border-radius: 3px color:#3902A0;
  font: normal 16px/normal Tahoma, Geneva, sans-serif;
  color: #fff;
  -o-text-overflow: clip;
  text-overflow: clip;
  background: #1a2e66;
  text-shadow: -1px -1px 0 rgba(15,73,168,0.66) ;
  -webkit-transition: all 300ms cubic-bezier(0.42, 0, 0.58, 1);
  -moz-transition: all 300ms cubic-bezier(0.42, 0, 0.58, 1);
  -o-transition: all 300ms cubic-bezier(0.42, 0, 0.58, 1);
  transition: all 300ms cubic-bezier(0.42, 0, 0.58, 1);
  margin-bottom:10px;
  text-align:center
}

.software {
 width:95%;
 text-decoration: underline;
  display: inline-block;
  -webkit-box-sizing: content-box;
  -moz-box-sizing: content-box;
  box-sizing: content-box;
  cursor: pointer;
  padding: 10px 20px;
  border: none;
  -webkit-border-radius: 3px;
  border-radius: 3px color:#3902A0;
  font: normal 16px/normal Tahoma, Geneva, sans-serif;
  color: #fff;
  -o-text-overflow: clip;
  text-overflow: clip;
  background: #4a90e2;
  text-shadow: -1px -1px 0 rgba(15,73,168,0.66) ;
  -webkit-transition: all 300ms cubic-bezier(0.42, 0, 0.58, 1);
  -moz-transition: all 300ms cubic-bezier(0.42, 0, 0.58, 1);
  -o-transition: all 300ms cubic-bezier(0.42, 0, 0.58, 1);
  transition: all 300ms cubic-bezier(0.42, 0, 0.58, 1);
  margin-bottom:10px;
  text-align:center
}

.perfil {
 width:95%;
 text-decoration: underline;
  display: inline-block;
  -webkit-box-sizing: content-box;
  -moz-box-sizing: content-box;
  box-sizing: content-box;
  cursor: pointer;
  padding: 10px 20px;
  border: none;
  -webkit-border-radius: 3px;
  border-radius: 3px color:#3902A0;
  font: normal 16px/normal Tahoma, Geneva, sans-serif;
  color: #fff;
  -o-text-overflow: clip;
  text-overflow: clip;
  background: #f5a623;
  text-shadow: -1px -1px 0 rgba(15,73,168,0.66) ;
  -webkit-transition: all 300ms cubic-bezier(0.42, 0, 0.58, 1);
  -moz-transition: all 300ms cubic-bezier(0.42, 0, 0.58, 1);
  -o-transition: all 300ms cubic-bezier(0.42, 0, 0.58, 1);
  transition: all 300ms cubic-bezier(0.42, 0, 0.58, 1);
  margin-bottom:10px;
  text-align:center
}