/* Desktop nav default */
.menu-toggle {
  display: none;
}
.mobile-menu {
  display: none;
}
@media (max-width: 900px) {
  .menu-toggle {
    display: flex;
  }
  .mobile-menu {
    display: flex;
  }
  .nav-glass nav:not(.mobile-menu), .nav-glass .cta-btn {
    display: none !important;
  }
}
@media (min-width: 901px) {
  .menu-toggle {
    display: none !important;
  }
  .mobile-menu {
    display: none !important;
  }
  .nav-glass nav {
    display: flex;
  }
}    .modern-header {
      position: fixed;
      top: 0;
      left: 0;
      width: 100vw;
      z-index: 1300;
      background: transparent;
    }
    main, .hero-section, .about-section.glass, .services-section, .projects-section.glass, .contact-section.glass {
      margin-top: 52px !important;
    }
  
  @media (max-width: 600px) {
    .topbar-menu {
      height: 38px;
    }
    .topbar-link {
      font-size: 0.93rem;
      padding: 0.08rem 0.32rem;
    }
@media (min-width: 901px) {
  .menu-toggle {
    display: none !important;
  }
  .mobile-menu {
    display: none !important;
  }
  .nav-glass nav {
    display: flex;
  }
}
    }
  .section-bg-video, .section-video-bg {
    border-radius: 1rem;
  }
  .floating-buttons {
    bottom: 10px;
    right: 10px;
    gap: 7px;
  }
  .float-btn {
    width: 40px;
    height: 40px;
    font-size: 18px;
  }
  .modern-footer {
    font-size: 0.95rem;
    padding: 1rem 0 0.7rem 0;
    border-radius: 1rem 1rem 0 0;
    margin-top: 1.2rem;
  }

/* Botones flotantes de contacto */
.floating-buttons {
  position: fixed;
  bottom: 2.2rem;
  right: 2.2rem;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  z-index: 2000;
}
.float-btn {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  border: none;
  background: linear-gradient(135deg, #00ffb2 0%, #0099b0 100%);
  color: #0a2a36;
  font-size: 2rem;
  box-shadow: 0 2px 12px rgba(0,153,176,0.18);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s, transform 0.2s;
  opacity: 0.92;
}
.float-btn:hover {
  background: linear-gradient(135deg, #0099b0 0%, #0a2a36 100%);
  color: #00ffb2;
  transform: scale(1.08);
}
.float-btn span {
  pointer-events: none;
}
/* Fondo de video para secciones internas */
.section-bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  overflow: hidden;
  border-radius: 1.5rem;
}
.section-video-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0;
  opacity: 0.22;
  filter: blur(0.5px) brightness(0.8);
}
.about-section.glass, .projects-section.glass, .contact-section.glass {
  position: relative;
  overflow: hidden;
}
body {
  margin: 0;
  font-family: 'Segoe UI', Arial, sans-serif;
  background: linear-gradient(135deg, #0099b0 0%, #0a2a36 100%);
  min-height: 100vh;
  color: #fff;
}

/* Loading Screen */
.loading-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #0099b0 0%, #0a2a36 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 1;
  transition: opacity 0.5s ease-out;
}

.loading-content {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.loading-logo {
  height: 120px;
  margin-bottom: 2rem;
  animation: logoPulse 2s infinite;
  filter: drop-shadow(0 4px 16px rgba(0,153,176,0.3));
}

.loading-spinner {
  width: 50px;
  height: 50px;
  border: 4px solid rgba(0, 255, 178, 0.3);
  border-top: 4px solid #00ffb2;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes logoPulse {
  0%, 100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.1);
    opacity: 0.8;
  }
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.loading-screen.hidden {
  opacity: 0;
  pointer-events: none;
}

.modern-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: transparent;
}
.nav-glass {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  padding: 1.2rem 2.5rem;
  background: linear-gradient(90deg, rgba(0,255,178,0.18) 0%, rgba(10,34,54,0.68) 100%);
  border-radius: 0 0 1.5rem 1.5rem;
  box-shadow: 0 2px 16px rgba(0,153,176,0.08);
  backdrop-filter: blur(8px);
}
.logo-modern {
  height: 60px;
  margin-right: 2rem;
}
nav ul {
  list-style: none;
  display: flex;
  gap: 2rem;
  margin: 0;
  padding: 0;
}
nav a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  font-size: 1.1rem;
  transition: color 0.2s;
}
nav a:hover {
  color: #00ffb2;
}
.cta-btn {
  background: #00ffb2;
  color: #0a2a36;
  border: none;
  border-radius: 2rem;
  padding: 0.7rem 1.7rem;
  font-weight: 700;
  font-size: 1.1rem;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
  margin-left: 0;
  box-shadow: 0 2px 8px rgba(0,255,178,0.13);
}
.cta-btn:hover {
  background: #fff;
  color: #0099b0;
}
.cta-btn.big {
  font-size: 1.2rem;
  padding: 1rem 2.5rem;
  margin-top: 2rem;
}

.hero-section {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
}
.hero-video-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  opacity: 0.32;
  filter: blur(0.5px) brightness(0.8);
}
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero-logo {
  height: 180px;
  margin-bottom: 1.5rem;
  filter: drop-shadow(0 4px 16px rgba(0,153,176,0.15));
}
.hero-content h1 {
  font-size: 2.7rem;
  font-weight: 800;
  margin: 0 0 1rem 0;
  color: #fff;
}
.hero-content p {
  font-size: 1.3rem;
  font-weight: 400;
  color: #e6f7fa;
  margin-bottom: 1.5rem;
}

.about-section.glass, .projects-section.glass, .contact-section.glass {
  background: rgba(10,34,54,0.38);
  border-radius: 1.5rem;
  margin: 2.5rem auto;
  max-width: 1100px;
  box-shadow: 0 2px 24px rgba(0,153,176,0.09);
  padding: 2.5rem 2rem;
  backdrop-filter: blur(4px);
}
.about-content {
  text-align: center;
}
.valores-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
  justify-content: center;
  margin-top: 2rem;
}
.valor-card {
  background: #00ffb2;
  color: #0a2a36;
  border-radius: 1rem;
  padding: 0.8rem 1.5rem;
  font-weight: 700;
  font-size: 1.05rem;
  box-shadow: 0 2px 8px rgba(0,255,178,0.13);
}

/* --- EQUIPO --- */
.equipo-section {
  margin-top: 2.9rem;
}

.equipo-titulo {
  font-size: 1.8rem;
  font-weight: 800;
  margin: 0 0 1.4rem;
  color: #e8fff7;
  letter-spacing: 0.02em;
  text-shadow: 0 3px 16px rgba(0, 0, 0, 0.35);
}

.equipo-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(230px, 1fr));
  gap: 1.1rem;
  max-width: 780px;
  margin: 0 auto;
}

.equipo-card {
  position: relative;
  background: linear-gradient(145deg, rgba(8, 39, 62, 0.86) 0%, rgba(3, 24, 41, 0.86) 100%);
  border: 1.5px solid rgba(0, 255, 178, 0.42);
  border-radius: 1.1rem;
  padding: 1.1rem 1.2rem 1.05rem;
  text-align: center;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.26), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  overflow: hidden;
}

.equipo-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 14% 12%, rgba(0, 255, 178, 0.16) 0%, transparent 48%);
  pointer-events: none;
}

.equipo-card::after {
  content: "";
  position: absolute;
  left: 1.2rem;
  right: 1.2rem;
  top: 0;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, #00ffb2 0%, #00c7dc 100%);
  opacity: 0.9;
}

.equipo-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 255, 178, 0.8);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.33), 0 0 0 1px rgba(0, 255, 178, 0.2);
}

.equipo-nombre {
  position: relative;
  z-index: 1;
  color: #f8fffd;
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.05;
  margin-bottom: 0.45rem;
  text-wrap: balance;
}

.equipo-rol {
  position: relative;
  z-index: 1;
  margin: 0 auto;
  max-width: 34ch;
  color: #b8ffe9;
  font-size: 1.28rem;
  font-weight: 600;
  line-height: 1.25;
  text-wrap: balance;
}

@media (max-width: 780px) {
  .equipo-grid {
    grid-template-columns: 1fr;
    max-width: 520px;
  }

  .equipo-titulo {
    font-size: 1.55rem;
  }

  .equipo-nombre {
    font-size: 1.7rem;
  }

  .equipo-rol {
    font-size: 1.12rem;
  }
}

.services-section {
  margin: 2.5rem auto;
  max-width: 1200px;
  text-align: center;
}
.services-section h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
  color: #00ffb2;
}
.services-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2.2rem;
  justify-content: center;
}
.service-card.glass {
  background: rgba(10,34,54,0.7);
  border-radius: 1.5rem;
  box-shadow: 0 2px 24px rgba(0,153,176,0.13);
  padding: 2rem 1.5rem 1.5rem 1.5rem;
  min-width: 280px;
  max-width: 340px;
  flex: 1 1 280px;
  transition: transform 0.3s, box-shadow 0.3s;
  border: 1.5px solid #00ffb2;
  margin-bottom: 1rem;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  animation: sectionPop 1.1s cubic-bezier(.4,0,.2,1);
}
.service-card.glass:hover {
  transform: translateY(-8px) scale(1.03);
  box-shadow: 0 8px 32px rgba(0,255,178,0.18);
  border-color: #0099b0;
}
.service-card h3 {
  color: #00ffb2;
  margin-top: 0;
  font-size: 1.18rem;
  margin-bottom: 0.7rem;
  font-weight: 700;
}
.service-card ul {
  margin: 0 0 1.2rem 0;
  padding-left: 1.2rem;
  font-size: 1.05rem;
  color: #fff;
  line-height: 1.6;
}
.service-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.7rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.1rem;
  background: #00ffb2;
  color: #0a2a36;
  box-shadow: 0 2px 8px rgba(0,255,178,0.13);
}

.projects-section.glass {
  margin: 2.5rem auto;
  text-align: center;
}
.projects-section h2 {
  color: #00ffb2;
  margin-bottom: 2rem;
}
.projects-videos {
  display: flex;
  gap: 2.5rem;
  justify-content: center;
  flex-wrap: wrap;
}
.project-video-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: linear-gradient(120deg, rgba(0,255,178,0.07) 0%, rgba(10,34,54,0.13) 100%);
  transition: background 0.7s cubic-bezier(.77,0,.18,1);
  border-radius: 1rem;
  padding: 1.2rem;
  min-width: 260px;
  max-width: 340px;
  box-shadow: 0 2px 8px rgba(0,255,178,0.13);
}
.project-video {
  width: 100%;
  border-radius: 0.7rem;
  margin-bottom: 1rem;
  background: transparent;
}
.project-desc {
  color: #00ffb2;
  font-weight: 600;
  font-size: 1.08rem;
  text-align: center;
}

.contact-section.glass {
  margin: 2.5rem auto 1.5rem auto;
  text-align: center;
}
.contact-section h2 {
  color: #00ffb2;
  margin-bottom: 1.5rem;
}
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 400px;
  margin: 0 auto 1.5rem auto;
}
.contact-form input, .contact-form textarea {
  border: none;
  border-radius: 0.7rem;
  padding: 0.8rem 1rem;
  font-size: 1rem;
  background: #e6f7fa;
  color: #0a2a36;
  resize: none;
}
.contact-form button {
  background: #00ffb2;
  color: #0a2a36;
  border: none;
  border-radius: 2rem;
  padding: 0.7rem 1.7rem;
  font-weight: 700;
  font-size: 1.1rem;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.contact-form button:hover {
  background: #0099b0;
  color: #fff;
}
.contact-info {
  color: #e6f7fa;
  font-size: 1.08rem;
}
.contact-info a {
  color: #00ffb2;
  text-decoration: none;
  margin: 0 0.5rem;
}
.contact-info a:hover {
  text-decoration: underline;
}

/* Estilos para mensajes del formulario */
.form-message {
  margin: 1rem 0;
  padding: 1rem;
  border-radius: 0.5rem;
  font-weight: 500;
  text-align: center;
  animation: slideInFromTop 0.3s ease-out;
}

.form-message.success {
  background: linear-gradient(135deg, #00ffb2, #0099b0);
  color: #0a2a36;
  border: 2px solid #00ffb2;
}

.form-message.error {
  background: linear-gradient(135deg, #ff6b6b, #ee5a52);
  color: white;
  border: 2px solid #ff4757;
}

@keyframes slideInFromTop {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Mejoras al botón del formulario */
.contact-form button:disabled {
  background: #666;
  color: #ccc;
  cursor: not-allowed;
  transform: none;
}

.contact-form button:disabled:hover {
  background: #666;
  color: #ccc;
}

.modern-footer {
  background: linear-gradient(90deg, rgba(0,255,178,0.13) 0%, rgba(10,34,54,0.7) 100%);
  color: #e6f7fa;
  text-align: center;
  padding: 1.5rem 0 1rem 0;
  border-radius: 1.5rem 1.5rem 0 0;
  margin-top: 2.5rem;
  font-size: 1.05rem;
  box-shadow: 0 -2px 8px rgba(0,153,176,0.04);
  transition: background 0.7s cubic-bezier(.77,0,.18,1);
}
.footer-links {
  margin-top: 0.7rem;
  display: flex;
  justify-content: center;
  gap: 1.5rem;
}
.footer-links a {
  color: #00ffb2;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}
.footer-links a:hover {
  text-decoration: underline;
  color: #0099b0;
}

@media (max-width: 900px) {
  .nav-glass {
    flex-direction: column;
    gap: 1rem;
    padding: 1rem 1rem;
  }
  .logo-modern {
    height: 40px;
    margin-right: 0;
  }
  nav ul {
    gap: 1rem;
  }
  .cta-btn {
    margin-left: 0;
    margin-top: 1rem;
  }
  .services-grid, .valores-grid {
    flex-direction: column;
    gap: 1.2rem;
  }
  .projects-videos {
    flex-direction: column;
    gap: 1.2rem;
  }
}

/* CSS para los botones */

.floating-buttons {
  position: fixed;
  bottom: 20px;
  right: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 9999;
}

.float-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 55px;
  height: 55px;
  border-radius: 50%;
  color: white;
  font-size: 24px;
  text-decoration: none;
  transition: transform 0.3s, background-color 0.3s;
}

.float-btn:hover {
  transform: scale(1.1);
}

 Colores oficiales 
.whatsapp { background: #25D366; }
.email { background: #0078d4; }
.facebook { background: #1877F2; }
.instagram { 
  background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
}
