*{margin:0;padding:0;box-sizing:border-box;font-family:Arial,sans-serif}
body{line-height:1.6;color:#fff;background:#2f3a5e}

header,footer{background:#12385f;color:#fff;text-align:center;padding:1rem}

/* ========== NAVEGACIÓN MEJORADA ========== */
nav {
  background: rgba(10, 14, 39, 0.95);
  backdrop-filter: blur(10px);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 1rem 2rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.nav-menu {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 2rem;
  transition: all 0.3s ease;
}

.nav-menu a {
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  font-size: 1rem;
  transition: color 0.3s ease;
  position: relative;
  padding: 0.5rem 0;
}

.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #00F5A0, #00D9F5);
  transition: width 0.3s ease;
}

.nav-menu a:hover {
  color: #00F5A0;
}

.nav-menu a:hover::after {
  width: 100%;
}

/* Botón hamburguesa - OCULTO en desktop */
.menu-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  position: absolute;
  right: 2rem;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1001;
}

.hamburger {
  width: 28px;
  height: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.hamburger span {
  display: block;
  height: 3px;
  width: 100%;
  background: #00F5A0;
  border-radius: 3px;
  transition: all 0.3s ease;
}

/* Animación del menú hamburguesa cuando está activo */
.menu-toggle.active .hamburger span:nth-child(1) {
  transform: translateY(8.5px) rotate(45deg);
}

.menu-toggle.active .hamburger span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active .hamburger span:nth-child(3) {
  transform: translateY(-8.5px) rotate(-45deg);
}

/* ========== RESPONSIVE - MOBILE ========== */
@media (max-width: 768px) {
  nav {
    padding: 1rem;
  }

  /* Mostrar botón hamburguesa */
  .menu-toggle {
    display: block;
  }

  /* Menú móvil */
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: linear-gradient(135deg, #0A0E27 0%, #1a1f3a 100%);
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding: 80px 20px 20px;
    gap: 0;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.5);
    transition: right 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  }

  /* Menú activo - se desliza desde la derecha */
  .nav-menu.active {
    right: 0;
  }

  .nav-menu li {
    width: 100%;
    text-align: center;
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.3s ease;
  }

  /* Animación de entrada de cada item */
  .nav-menu.active li {
    opacity: 1;
    transform: translateX(0);
  }

  .nav-menu.active li:nth-child(1) { transition-delay: 0.1s; }
  .nav-menu.active li:nth-child(2) { transition-delay: 0.2s; }
  .nav-menu.active li:nth-child(3) { transition-delay: 0.3s; }
  .nav-menu.active li:nth-child(4) { transition-delay: 0.4s; }

  .nav-menu li a {
    display: block;
    padding: 1rem;
    font-size: 1.1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .nav-menu li:last-child a {
    border-bottom: none;
  }

  .nav-menu a::after {
    display: none;
  }

  .nav-menu a:hover {
    background: rgba(0, 245, 160, 0.1);
  }
}

/* Overlay cuando el menú está abierto */
.menu-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(0, 0, 0, 0.7);
  z-index: 999;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.menu-overlay.active {
  display: block;
  opacity: 1;
}

/* ========== RESTO DEL CSS ORIGINAL ========== */
.hero {
  position: relative;
  width: 100%;
  height: 100vh; 
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding: 20px;
  background: linear-gradient(135deg, #0f2027, #203a43, #2c5364);
  color: #fff;
}

.rombos {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
}

.rombos span {
  position: absolute;
  width: 40px;
  height: 40px;
  background: rgba(122, 92, 255, 0.25);
  clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
  animation: viajar 12s linear infinite;
  opacity: 0.6;
}

.rombos span:nth-child(1) { top: 20%; left: 10%; animation-duration: 14s; background: rgba(76,201,240,0.3); }
.rombos span:nth-child(2) { top: 40%; left: 30%; animation-duration: 18s; background: rgba(122,92,255,0.25); }
.rombos span:nth-child(3) { top: 60%; left: 70%; animation-duration: 20s; background: rgba(76,201,240,0.25); }
.rombos span:nth-child(4) { top: 80%; left: 50%; animation-duration: 16s; }
.rombos span:nth-child(5) { top: 10%; left: 80%; animation-duration: 22s; background: rgba(122,92,255,0.35); }
.rombos span:nth-child(6) { top: 75%; left: 20%; animation-duration: 19s; background: rgba(76,201,240,0.28); }
.rombos span:nth-child(7) { top: 55%; left: 90%; animation-duration: 25s; background: rgba(122,92,255,0.2); }
.rombos span:nth-child(8) { top: 35%; left: 60%; animation-duration: 15s; background: rgba(76,201,240,0.35); }
.rombos span:nth-child(9) { top: 85%; left: 40%; animation-duration: 21s; background: rgba(122,92,255,0.3); }

@keyframes viajar {
  0% {
    transform: scale(1) translateY(0) rotate(45deg);
    opacity: 0.8;
  }
  50% {
    transform: scale(0.5) translateY(-300px) rotate(45deg);
    opacity: 0.4;
  }
  100% {
    transform: scale(0.2) translateY(-600px) rotate(45deg);
    opacity: 0;
  }
}

.hero {
  position: relative;
  min-height: 100vh; 
  background: radial-gradient(circle at center, #0d0f1a, #05060c 80%);
  display: flex;
  flex-direction: column; 
  justify-content: center;
  align-items: center;
  text-align: center;
  overflow: hidden;
  color: #fff;
  padding: 0 20px;
  box-sizing: border-box;
}

.hero-content {
  position: relative;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%; 
}

.logo {
  width: 200px;
  max-width: 70%;
  margin-bottom: 20px;
  filter: drop-shadow(0 0 18px rgba(49, 39, 95, 0.8));
}

.hero h1 {
  font-size: 2.2rem;
  margin-bottom: 15px;
  text-shadow: 0 0 12px rgba(255,255,255,0.2);
}

.btn-explorar {
  margin-top: 10px;
  padding: 14px 36px;
  border-radius: 40px;
  background: linear-gradient(90deg, #312666, #21383f);
  color: #fff;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 0 20px rgba(18, 14, 36, 0.6);
}
.btn-explorar:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 0 35px rgba(122,92,255,0.8);
}

.frase {
  margin-top: 20px;
  font-size: 1rem;
  font-style: italic;
  opacity: 0.85;
  max-width: 300px;
}

.hero {
  position: relative; 
  text-align: center;
  padding: 100px 20px;
  height: 100vh; 
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.arrow-down {
  position: absolute;
  bottom: 20px; 
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 15px solid transparent;
  border-right: 15px solid transparent;
  border-top: 20px solid #fff;
  animation: bounce 1.5s infinite;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateX(-50%) translateY(0);
  }
  40% {
    transform: translateX(-50%) translateY(8px);
  }
  60% {
    transform: translateX(-50%) translateY(4px);
  }
}

@media (max-width: 768px) {
  .arrow-down {
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 15px solid #fff;
  }
}
@media (max-width: 480px) {
  .arrow-down {
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-top: 12px solid #fff;
  }
}

.si-svg {
  width: 100%;
  height: auto;
  display: block;
  will-change: transform;
  transform-origin: center;
  animation: si-bounce 1.6s ease-in-out infinite;
}

.scroll-indicator:hover,
.scroll-indicator:focus {
  color: var(--si-color-hover);
  outline: none;
}

.scroll-indicator:focus {
  box-shadow: 0 6px 18px rgba(122,92,255,0.12);
  border-radius: 8px;
  
}


@keyframes si-bounce {
  0%   { transform: translateY(0); }
  50%  { transform: translateY(10%); }
  100% { transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  .si-svg { animation: none; }
}

@media (max-width: 480px) {
  :root { --si-bottom: 30px; --si-size-min: 22px; --si-size-max: 36px; }
}
@media (max-height: 700px) {
  :root { --si-bottom: 28px; }
}

.hero-content h2 {
  font-size: 2.5rem;
  color: #ffffff;
  margin-bottom: 15px;
}

.btn-hero {
  background: #a855f7;
  color: #fff;
  border: none;
  padding: 12px 28px;
  font-size: 1.1rem;
  font-weight: bold;
  border-radius: 8px;
  cursor: pointer;
  transition: 0.3s ease;
}

.btn-hero:hover {
  background: #9333ea;
  transform: scale(1.05);
}

.btn-hero {
  background: linear-gradient(135deg, #6a11cb, #2575fc); 
  color: white;
  font-size: 1.1rem;
  padding: 12px 28px;
  border: none;
  border-radius: 30px;
  cursor: pointer;
  transition: all 0.3s ease-in-out;
  box-shadow: 0px 4px 12px rgba(0,0,0,0.3);
}

.btn-hero:hover {
  transform: scale(1.05);
  background: linear-gradient(135deg, #2575fc, #6a11cb);
}

.hero button {
  background: #c47aff;
  border: none;
  padding: 0.8rem 1.5rem;
  color: #fff;
  font-weight: bold;
  border-radius: 8px;
  cursor: pointer;
  margin-top: 1.5rem;
  transition: background 0.3s;
}
.hero button:hover {
  background: #e6b3ff;
}

@media (max-width: 600px) {
  .hero button {
    margin-top: 7rem;
    font-size: 0.9rem;
    padding: 0.6rem 1rem;
  }
}


@media (min-width: 1024px) {
  .hero button {
    margin-top: 15rem;
    font-size: 1.2rem;
    padding: 1rem 2rem;
  }
}

main{max-width:1200px;margin:2rem auto;padding:0 1rem;text-align:center}
main h2{margin-bottom:2rem;font-size:2rem;color:#fff}

.card-container{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:1.5rem;
  justify-items:center;
}
.card{
  background:rgba(255,255,255,0.1);
  border:1px solid rgba(255,255,255,0.2);
  border-radius:10px;
  padding:1.5rem;
  text-align:center;
  color:#fff;
  width:90%;
  max-width:260px;
  transition:transform .3s ease,background .3s ease
}
.card:hover{transform:translateY(-8px);background:rgba(255,255,255,0.15)}
.card h3{font-size:1.3rem;margin-bottom:1rem}
.card p{font-size:.95rem;margin-bottom:1rem;color:#ddd}
.card a{
  display:inline-block;background:#c47aff;padding:.5rem 1rem;
  color:#fff;text-decoration:none;font-weight:bold;border-radius:5px;
  transition:background .3s
}
.card a:hover{background:#e6b3ff}

/* LOGOS */
.logo-section{text-align:center;margin:2rem 0;padding:1rem}
.logo-section h2{
  font-size:1.8rem;color:#fff;text-align:center;
  animation:fadeSlide 2.5s ease-in-out infinite
}
@keyframes fadeSlide{
  0%{opacity:0;transform:translateY(10px)}
  30%{opacity:1;transform:translateY(0)}
  70%{opacity:1;transform:translateY(0)}
  100%{opacity:0;transform:translateY(-10px)}
}
.logo-slider{overflow:hidden;white-space:nowrap;margin-top:1rem;position:relative}
.logos{display:flex;gap:40px;animation:slide 30s linear infinite}
.logos img{height:50px;vertical-align:middle}
@keyframes slide{0%{transform:translateX(0)}100%{transform:translateX(-50%)}}

.testimonios{text-align:center;padding:3rem 1rem}
.testimonios h2{font-size:2.2rem;margin-bottom:0.5rem}
.testimonios h2 span{color:#ffd700}
.testimonios .subtitulo{font-size:1rem;color:#ddd;margin-bottom:2rem}
.testimonios-container{
  display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
  gap:1.5rem;max-width:1200px;margin:auto
}
.testimonio{
  background:rgba(255,255,255,0.1);border:1px solid rgba(255,255,255,0.2);
  border-radius:10px;padding:1.5rem;
  transition:transform 0.3s ease,background 0.3s ease
}
.testimonio:hover{transform:translateY(-8px);background:rgba(255,255,255,0.15)}
.estrellas{font-size:1.2rem;color:#ffd700;margin-bottom:0.8rem}
.testimonio p{font-style:italic;margin-bottom:1rem}
.testimonio h3{font-weight:bold;margin-bottom:0.2rem}
.testimonio span{font-size:0.9rem;color:#ccc}

/* CONTACTO */
.contacto {
  text-align: center;
  padding: 3rem 1rem;
  background: linear-gradient(135deg, #2f3b5f 0%, #1a2332 100%);
}

.contacto h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: #fff;
}

.contacto-subtitle {
  font-size: 1.1rem;
  color: #e8eaf0;
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.redes {
  margin-top: 3rem;
  display: flex;
  justify-content: center;
  gap: 1.5rem;
}

.redes a {
  font-size: 2rem;
  color: #fff;
  transition: all 0.3s;
  text-decoration: none;
}

.redes a:hover {
  color: #4a90e2;
  transform: translateY(-3px);
}

footer {
  font-size: .9rem;
  padding: 1rem;
  background: #2c3e50;
  color: #fff;
}

/* Responsive */
@media(max-width:992px){
  .card-container{grid-template-columns:repeat(2,1fr);}
}

@media(max-width:480px){
  .hero{height:300px}
  .card-container{grid-template-columns:1fr}
  main h2{font-size:1.4rem}
  .logos img{height:30px}
  .logo-section h2{font-size:1.2rem}
}
/* ====== ACERCA DE ====== */
.acerca {
  min-height: 100vh;
  padding: 120px 20px 60px;
  background: linear-gradient(135deg, #2f3b5f 0%, #1a2332 100%);
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

/* Efecto de brillo sutil en el fondo */
.acerca::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(74, 144, 226, 0.15) 0%, transparent 70%);
  animation: rotate 20s linear infinite;
  pointer-events: none;
}

@keyframes rotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.acerca-container {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
}

.acerca h1 {
  font-size: 2.8rem;
  margin-bottom: 50px;
  font-weight: 700;
  background: linear-gradient(135deg, #ffffff 0%, #a8b8d8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
  display: inline-block;
  filter: drop-shadow(0 4px 8px rgba(255, 255, 255, 0.2));
}

/* Línea decorativa debajo del título con pulso */
.acerca h1::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  height: 3px;
  background: linear-gradient(90deg, transparent, #4a90e2, transparent);
  border-radius: 2px;
  box-shadow: 0 0 20px rgba(74, 144, 226, 0.8);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
    width: 300px;
  }
  50% {
    opacity: 0.6;
    width: 350px;
  }
}

.acerca p {
  font-size: 1.15rem;
  line-height: 1.8;
  margin-bottom: 24px;
  color: #e8eaf0;
  text-align: center;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* Responsive */
@media (max-width: 768px) {
  .acerca h1 {
    font-size: 2rem;
  }
  
  .acerca p {
    font-size: 1rem;
  }
}
/* Contenedor de botones */
.contact-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 40px;
}

/* Estilos base para ambos botones */
.contact-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 32px;
  color: #ffffff;
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 50px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.contact-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
}

.contact-btn:hover::before {
  left: 100%;
}

.contact-btn:hover {
  transform: translateY(-3px);
}

.contact-btn i {
  font-size: 1.4rem;
}

/* WhatsApp */
.whatsapp-btn {
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.4);
}

.whatsapp-btn:hover {
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.6);
}

/* Telegram */
.telegram-btn {
  background: linear-gradient(135deg, #0088cc 0%, #005f8c 100%);
  box-shadow: 0 8px 20px rgba(0, 136, 204, 0.4);
}

.telegram-btn:hover {
  box-shadow: 0 12px 30px rgba(0, 136, 204, 0.6);
}

/* Responsive */
@media (max-width: 768px) {
  .contact-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .contact-btn {
    width: 100%;
    max-width: 300px;
  }
}